From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.toke.dk X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.4 Received: from mail.toke.dk by mail.toke.dk with LMTP id 9EEND6dGel7N1woAOr1fkg (envelope-from ) for ; Tue, 24 Mar 2020 18:43:03 +0100 Authentication-Results: mail.toke.dk; none (SPF check N/A for local connections - client-ip=77.235.54.103; helo=web6.sd.eurovps.com; envelope-from=flent-users-bounces@flent.org; receiver=) Authentication-Results: mail.toke.dk; dkim=fail reason="signature verification failed" (1024-bit key) header.d=github.com header.i=@github.com header.b=Kul14mYu Received: from web6.sd.eurovps.com (web6.sd.eurovps.com [77.235.54.103]) by mail.toke.dk (Postfix) with ESMTPS id 222CF71CC70 for ; Tue, 24 Mar 2020 18:43:01 +0100 (CET) Received: from [::1] (port=54998 helo=web6.sd.eurovps.com) by web6.sd.eurovps.com with esmtp (Exim 4.93) (envelope-from ) id 1jGnZq-004i1H-NW; Tue, 24 Mar 2020 19:42:58 +0200 Received: from out-14.smtp.github.com ([192.30.254.197]:56717) by web6.sd.eurovps.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jGnZi-004hw6-Qn for flent-users@flent.org; Tue, 24 Mar 2020 19:42:57 +0200 Date: Tue, 24 Mar 2020 10:42:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1585071730; bh=jN4ekFDQndTPUWpnH3JrfF7YqR8t1wqKQ5CJkY1k3XQ=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=Kul14mYu9Qkd/4GmxXaHoPvwrRjL8qhTpmqTd36p9U2ixqyRwVB8+X2HI9H9g+/9M pXYju2rC7iOnUPcBkuFkKseU1LqqLZB1+uRxOi+vPCkZN2d2LYiC7WXlRSjUwLqTgK lmSK164MfXbCwyyZL+e4EiSAwsn8+8SoYAFDkMCo= From: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= To: tohojo/flent Message-ID: In-Reply-To: References: Mime-Version: 1.0 Precedence: list X-GitHub-Sender: tohojo X-GitHub-Recipient: flent-users X-GitHub-Reason: subscribed X-Auto-Response-Suppress: All X-GitHub-Recipient-Address: flent-users@flent.org Subject: Re: [Flent-users] [tohojo/flent] Customized test displaying error (#203) X-BeenThere: flent-users@flent.org X-Mailman-Version: 2.1.29 List-Id: Flent discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: tohojo/flent Cc: Subscribed Content-Type: multipart/mixed; boundary="===============6746012120689108334==" Errors-To: flent-users-bounces@flent.org Sender: "Flent-users" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - web6.sd.eurovps.com X-AntiAbuse: Original Domain - toke.dk X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - flent.org X-Get-Message-Sender-Via: web6.sd.eurovps.com: acl_c_authenticated_local_user: mailman/mailman X-Authenticated-Sender: web6.sd.eurovps.com: mailman@flent.org --===============6746012120689108334== Content-Type: multipart/alternative; boundary="--==_mimepart_5e7a467225990_3fbd3fa347acd96831494f"; charset=UTF-8 Content-Transfer-Encoding: 7bit ----==_mimepart_5e7a467225990_3fbd3fa347acd96831494f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit olg33 writes: > Hi, > > I just received from a a colleague that is no longer with us a > customized test file (.conf) to run bandwidth tests with DSCP marks > for different types of services. It worked fine in his VM (Ubuntu > 18.06). Now, once I imported the same file on directory > /usr/share/flent/flent/tests of my VM and run the test, it displays > the following alarm: > >> ERROR: Unable to load JSON from 'FILE_NAME.conf' : Expecting value: >line 1 column 1 (char 0) This indicates that it's trying to load the test file as a data file. Are you passing the full test filename to Flent? You should just use the test name (without the .conf part) and it should pick up the file. Also, note that Flent now lets you specify per-flow DSCP marks as test parameters when you launch a test, so your custom file may not be needed anymore. If it is, though, I'll be happy to consider it for inclusion into the repository (if it's at least minimally applicable outside of your environment). -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/tohojo/flent/issues/203#issuecomment-603399701 ----==_mimepart_5e7a467225990_3fbd3fa347acd96831494f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

olg33 <notifications@github.com> writes:

> Hi,
>
> I just received from a a colleague that is no longer with us a
> customized test file (.conf) to run bandwidth tests with DSCP marks
> for different types of services. It worked fine in his VM (Ubuntu
> 18.06). Now, once I imported the same file on directory
> /usr/share/flent/flent/tests of my VM and run the test, it displays
> the following alarm:
>
>> ERROR: Unable to load JSON from 'FILE_NAME.conf' : Expecting value:
>line 1 column 1 (char 0)

This indicates that it's trying to load the test file as a data file.
Are you passing the full test filename to Flent? You should just use the
test name (without the .conf part) and it should pick up the file.

Also, note that Flent now lets you specify per-flow DSCP marks as test
parameters when you launch a test, so your custom file may not be needed
anymore. If it is, though, I'll be happy to consider it for inclusion
into the repository (if it's at least minimally applicable outside of
your environment).


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

----==_mimepart_5e7a467225990_3fbd3fa347acd96831494f-- --===============6746012120689108334== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Flent-users mailing list Flent-users@flent.org http://flent.org/mailman/listinfo/flent-users_flent.org --===============6746012120689108334==--