Mailinglist Archive: yast-devel (65 mails)

< Previous Next >
Re: [yast-devel] Re: [yast-commit] Build failed in Jenkins: yast-autoinstallation-master #153
On Tue, 05 May 2015 17:26:24 +0100
Imobach González Sosa <igonzalezsosa@xxxxxxx> wrote:

Hi all,

It seems that these tests are failing because xsltproc is not
available (provided by libxslt-tools). Here comes the relevant
section:

[ 34s] 1) #<Yast::AutoinstClassClass:0x00000000ae8378>
#MergeClasses executes xsltproc and returns a hash with info about
the result [ 34s] Failure/Error: expect(out).to eq({ 'exit' => 0,
'stderr' => '', 'stdout' => '' }) [ 34s]
[ 34s] expected: {"exit"=>0, "stderr"=>"", "stdout"=>""}
[ 34s] got: {"exit"=>127,
"stderr"=>"sh: /usr/bin/xsltproc: No such file or directory\n",
"stdout"=>""} [ 34s] [ 34s] (compared using ==)
[ 34s]
[ 34s] Diff:
[ 34s] @@ -1,4 +1,4 @@
[ 34s] -"exit" => 0,
[ 34s] -"stderr" => "",
[ 34s] +"exit" => 127,
[ 34s] +"stderr" => "sh: /usr/bin/xsltproc: No such file or
directory\n", [ 34s] "stdout" => "",
[ 34s] # ./AutoinstClass_test.rb:252:in `block (3 levels) in
<top (required)>' [ 34s] # ./AutoinstClass_test.rb:238:in
`block (3 levels) in <top (required)>' [ 34s]
[ 34s] 2) #<Yast::AutoinstClassClass:0x00000000ae8378>
#MergeClasses when all elements must be merged merges elements from
profile and configuration [ 34s] Failure/Error:
let(:output_xml) { File.read(output_path) } [ 34s]
Errno::ENOENT: [ 34s] No such file or directory @
rb_sysopen
- /home/abuild/rpmbuild/BUILD/autoyast2-3.1.76/tmp/output.xml
[ 34s] # ./AutoinstClass_test.rb:220:in `read' [ 34s]
# ./AutoinstClass_test.rb:220:in `block (3 levels) in <top
(required)>' [ 34s] # ./AutoinstClass_test.rb:262:in `block
(4 levels) in <top (required)>' [ 34s]
# ./AutoinstClass_test.rb:238:in `block (3 levels) in <top
(required)>' [ 34s] [ 34s] 3)
#<Yast::AutoinstClassClass:0x00000000ae8378> #MergeClasses when
some elements are not intended to be merged does not merge those
elements [ 34s] Failure/Error: let(:output_xml)
{ File.read(output_path) } [ 34s] Errno::ENOENT:
[ 34s] No such file or directory @ rb_sysopen
- /home/abuild/rpmbuild/BUILD/autoyast2-3.1.76/tmp/output.xml
[ 34s] # ./AutoinstClass_test.rb:220:in `read' [ 34s]
# ./AutoinstClass_test.rb:220:in `block (3 levels) in <top
(required)>' [ 34s] # ./AutoinstClass_test.rb:281:in `block
(4 levels) in <top (required)>' [ 34s]
# ./AutoinstClass_test.rb:238:in `block (3 levels) in <top
(required)>' [ 34s] [ 34s] Finished in 0.10792 seconds (files
took 0.60881 seconds to load) [ 34s] 28 examples, 3 failures
[ 34s] [ 34s] Failed examples:


If it failed in jenkins it means, that it missing in build requires. If
it fail on your pc, then it is problem with missing dependency.

Josef
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups