LTP-realtime run_c_files.sh: too few arguments (at least two)

Bug #1252788 reported by Mike Holmes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linaro-networking
Fix Released
Low
Ciprian Barbu

Bug Description

There are a number of test cases that are not being called correctly

/opt/ltp/testcases/realtime/scripts/run_c_files.sh: too few arguments (at least two)

http://validation.linaro.org/scheduler/job/86554/log_file#L_59_488

Changed in linaro-networking:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Mike Holmes (mike-holmes) wrote :
Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

In stand-alone testing during data gathering for the LCA14 RT presentation I noticed this happening during ltp-realtime tests.
The problem is in the test directories in the respective run_auto.sh scripts. run_c_files.sh is now expecting to be passed a profile selector as its first parameter. The run_auto.sh scripts for the offending tests are lacking the profile selector setup and are not passing this to the run_c_files.sh script. The 'default' profile in the 'profiles' subdirectory also needs to be updated to contain information about these tests. I did not have time to do a proper correction of these issues, but adding the 'default' profile selector to the run_auto.sh scripts in the 'realtime/func' tests did resolve the issue of run_c_files.sh aborting and allowed the tests to do a single run iteration with no pass/fail criteria.

Changed in linaro-networking:
assignee: nobody → Hongbo Zhang (hongbo-zhang)
Revision history for this message
Gary S. Robertson (gary-robertson) wrote :

See files changed per my previous comment in the following links:

http://people.linaro.org/~gary.robertson/LCA14/test-scripts/ltp-realtime-be-scripts.tbz

http://people.linaro.org/~gary.robertson/LCA14/test-scripts/ltp-realtime-scripts.tbz

These files correct the problem with missing arguments but dont use the 'profile' capability to best advantage for each of the tests. To see what was changed you should diff these scripts against those built into the OE rootfs (LE and BE) which LNG is using in their testing.

Revision history for this message
Ciprian Barbu (ciprian-barbu) wrote :
Revision history for this message
Mike Holmes (mike-holmes) wrote :

Patch merged in Linaro, Ciprain are there any upstream updates ?

Changed in linaro-networking:
assignee: Hongbo Zhang (hongbo-zhang) → nobody
assignee: nobody → Ciprian Barbu (ciprian-barbu)
Revision history for this message
Ciprian Barbu (ciprian-barbu) wrote :

I haven't received a reply to my patch and I don't see the change in the repo. I will send a reminder to the mailing list.

Revision history for this message
Hongbo Zhang (hongbo-zhang) wrote : Re: [Bug 1252788] Re: LTP-realtime run_c_files.sh: too few arguments (at least two)

Glad to see Ciprian make patch for the bug which was assigned to me before,
thanks.
I didn't have time to handle the bugs in my hand during the past days, and
will try to spend time slots on them since this week.

On 21 March 2014 18:30, Ciprian Barbu <email address hidden> wrote:

> I haven't received a reply to my patch and I don't see the change in the
> repo. I will send a reminder to the mailing list.
>
> --
> You received this bug notification because you are a member of Linaro
> Networking Group, which is subscribed to linaro-networking.
> Matching subscriptions: LNG all
> https://bugs.launchpad.net/bugs/1252788
>
> Title:
> LTP-realtime run_c_files.sh: too few arguments (at least two)
>
> Status in Linaro networking Group:
> Confirmed
>
> Bug description:
>
> There are a number of test cases that are not being called correctly
>
> /opt/ltp/testcases/realtime/scripts/run_c_files.sh: too few arguments
> (at least two)
>
> http://validation.linaro.org/scheduler/job/86554/log_file#L_59_488
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linaro-networking/+bug/1252788/+subscriptions
>

Revision history for this message
Ciprian Barbu (ciprian-barbu) wrote :
Changed in linaro-networking:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.