[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#725743: procps 1:3.3.8-2 FTBFS on ia64 and s390x



Am 09.10.2013 10:17, schrieb Craig Small:
> 
> I've got most of these problems sorted out for the s390 (and the
> ia64 but you probably don't care about that).
> 
> I'm stuck at with one of the more obscure ps flags.
> FAIL: ps SCHED_BATCH scheduler
> See [1]
> 
> So.. what does this test do?
>   It compiles [2]
>   Runs the binary as test-schedbatch 18
>   Runs ps --no-header -o comm,cls,nice -a
>   Expects the output to be "test-schedbatch B 18"
> 
> Most of my programs have TS instead of B. On my amd64 I see B
> it looks like this:
> 
> COMMAND         CLS  NI
> bash             TS   0
> test-schedbatch   B  18
> ps               TS   0
> 
> So.. what does an s390 see?
> I tried compiling this small program and got a screenful of error
> messages so I'm stuck.
> 
> 1:
> https://buildd.debian.org/status/fetch.php?pkg=procps&arch=s390x&ver=1%3A3.3.8-2&stamp=1370603323
> 2:
> https://gitorious.org/procps/procps/source/e6a78f2745ca6c7ceed4406d3ce5397e77518b11:testsuite/ps.test/test-schedbatch.c
> 
> 


Sorry Craig, but I can't reproduce your problem here:

I've built procps 3.3.8-2 from sid successfully on a wheezy s390x system
(unpacking orig source + patch and then running debuild)

Here the snippet from the build output:
------8<---------------------------------------------------------
                === ps tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
Running ./ps.test/ps_output.exp ...
Running ./ps.test/ps_personality.exp ...
Running ./ps.test/ps_sched_batch.exp ...

                === ps Summary ===

# of expected passes            9
# of untested testcases         1
WARNING: Couldn't find tool init file
Test Run By mgrimm on Wed Oct  9 11:21:42 2013
Native configuration is s390x-ibm-linux-gnu
------8<---------------------------------------------------------

Manual test seems fine, too:

mgrimm@build:procps-ng-3.3.8> debian/procps/bin/ps -V
procps-ng version 3.3.8
mgrimm@build:procps-ng-3.3.8> ./testsuite/test-schedbatch 18 &!
mgrimm@build:procps-ng-3.3.8> debian/procps/bin/ps --no-header -o comm,cls,nice -a
test-schedbatch   B  18
ps               TS   0



Greetings
Martin


Reply to: