
See <http://river.suse.de/job/yast-migration-master/40/changes> Changes: [lslezak] added missing "require" in a test ------------------------------------------ [...truncated 211 lines...] [ 1s] cycle: ruby2.1 -> ruby-common -> ruby2.1-rubygem-gem2rpm [ 1s] breaking dependency ruby-common -> ruby2.1-rubygem-gem2rpm [ 1s] cycle: libudev-mini1 -> udev-mini [ 1s] breaking dependency udev-mini -> libudev-mini1 [ 1s] cycle: sysconfig -> sysconfig-netconfig [ 1s] breaking dependency sysconfig-netconfig -> sysconfig [ 1s] done [ 2s] [1/215] [2/215] [3/215] [4/215] [5/215] [6/215] [7/215] [8/215] [9/215] [10/215] [11/215] [12/215] [13/215] [14/215] [15/215] [16/215] [17/215] [18/215] [19/215] [20/215] [21/215] [22/215] [23/215] [24/215] [25/215] [26/215] [27/215] [28/215] [29/215] [30/215] [31/215] [32/215] [33/215] [34/215] [35/215] [36/215] [37/215] [38/215] [39/215] [40/215] [41/215] [42/215] [43/215] [44/215] [45/215] [46/215] [47/215] [48/215] [49/215] [50/215] [51/215] [52/215] [53/215] [54/215] [55/215] [56/215] [57/215] [58/215] [59/215] [60/215] [61/215] [62/215] [63/215] [64/215] [65/215] [66/215] [67/215] [68/215] [69/215] [70/215] [71/215] [72/215] [73/215] [74/215] [75/215] [76/215] [77/215] [78/215] [79/215] [80/215] [81/215] [82/215] [83/215] [84/215] [85/215] [86/215] [87/215] [88/215] [89/215] [90/215] [91/215] [92/215] [93/215] [94/215] [95/215] [96/215] [97/215] [98/215] [99/215] [100/215] [101/215] [102/215] [103/215] [104/215] [105/215] [106/215] [107/215] [108/215] [109/215] [110/215] [111/215] [112/215] [113/215] [114/215] [115/215] [116/215] [117/215] [118/215] [119/215] [120/215] [121/215] [122/215] [123/215] [124/215] [125/215] [126/215] [127/215] [128/215] [129/215] [130/215] [131/215] [132/215] [133/215] [134/215] [135/215] [136/215] [137/215] [138/215] [139/215] [140/215] [141/215] [142/215] [143/215] [144/215] [145/215] [146/215] [147/215] [148/215] [149/215] [150/215] [151/215] [152/215] [153/215] [154/215] [155/215] [156/215] [157/215] [158/215] [159/215] [160/215] [161/215] [162/215] [163/215] [164/215] [165/215] [166/215] [167/215] [168/215] [169/215] [170/215] [171/215] [172/215] [173/215] [174/215] [175/215] [176/215] [177/215] [178/215] [179/215] [180/215] [181/215] [182/215] [183/215] [184/215] [185/215] [186/215] [187/215] [188/215] [189/215] [190/215] [191/215] [192/215] [193/215] [194/215] [195/215] [196/215] [197/215] [198/215] [199/215] [200/215] [201/215] [202/215] [203/215] [204/215] [205/215] [206/215] [207/215] [208/215] [209/215] [210/215] [211/215] [212/215] [213/215] [214/215] [215/215] removing nis flags from /var/tmp/build-root-SLE-12-SP1/etc/nsswitch.conf... [ 2s] now finalizing build dir... [ 2s] ----------------------------------------------------------------- [ 2s] I have the following modifications for yast2-migration.spec: [ 2s] 21c21 [ 2s] < Release: 0 [ 2s] --- [ 2s] > Release: 1 [ 2s] 74a75 [ 2s] > %changelog [ 2s] ----------------------------------------------------------------- [ 2s] ----- building yast2-migration.spec (user abuild) [ 2s] ----------------------------------------------------------------- [ 2s] ----------------------------------------------------------------- [ 2s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define '_build_create_debug 1' /home/abuild/rpmbuild/SOURCES/yast2-migration.spec [ 2s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Op3Z7w [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + rm -rf yast2-migration-3.1.2 [ 2s] + /usr/bin/bzip2 -dc /home/abuild/rpmbuild/SOURCES/yast2-migration-3.1.2.tar.bz2 [ 2s] + /bin/tar -xvvf - [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/ [ 2s] -rw-r--r-- jenkins/users 2582 2015-08-11 13:01 yast2-migration-3.1.2/README.md [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/src/ [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/ [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/migration/ [ 2s] -rw-r--r-- jenkins/users 4095 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/migration/main_workflow.rb [ 2s] -rw-r--r-- jenkins/users 3148 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/migration/repository_checker.rb [ 2s] -rw-r--r-- jenkins/users 5998 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/migration/proposal_client.rb [ 2s] -rw-r--r-- jenkins/users 2056 2015-08-11 13:01 yast2-migration-3.1.2/src/lib/migration/proposal_store.rb [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/src/clients/ [ 2s] -rw-r--r-- jenkins/users 65 2015-08-11 13:01 yast2-migration-3.1.2/src/clients/migration.rb [ 2s] -rw-r--r-- jenkins/users 1221 2015-08-11 13:01 yast2-migration-3.1.2/src/clients/migration_proposals.rb [ 2s] -rw-r--r-- jenkins/users 715 2015-08-11 13:01 yast2-migration-3.1.2/src/clients/migration_proposal.rb [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/src/desktop/ [ 2s] -rw-r--r-- jenkins/users 399 2015-08-11 13:01 yast2-migration-3.1.2/src/desktop/migration.desktop [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/package/ [ 2s] -rw-r--r-- jenkins/users 2079 2015-08-11 13:01 yast2-migration-3.1.2/package/yast2-migration.spec [ 2s] -rw-r--r-- jenkins/users 610 2015-08-11 13:01 yast2-migration-3.1.2/package/yast2-migration.changes [ 2s] -rw-r--r-- jenkins/users 16 2015-08-11 13:01 yast2-migration-3.1.2/RPMNAME [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/doc/ [ 2s] -rw-r--r-- jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/doc/.gitkeep [ 2s] -rw-r--r-- jenkins/users 24 2015-08-11 13:01 yast2-migration-3.1.2/.coveralls.yml [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/test/ [ 2s] -rw-r--r-- jenkins/users 1682 2015-08-11 13:01 yast2-migration-3.1.2/test/test_helper.rb [ 2s] -rw-r--r-- jenkins/users 2664 2015-08-11 13:01 yast2-migration-3.1.2/test/main_workflow_test.rb [ 2s] -rw-r--r-- jenkins/users 1296 2015-08-11 13:01 yast2-migration-3.1.2/test/repository_checker_test.rb [ 2s] -rw-r--r-- jenkins/users 2737 2015-08-11 13:01 yast2-migration-3.1.2/test/proposal_store_test.rb [ 2s] drwxr-xr-x jenkins/users 0 2015-08-11 13:01 yast2-migration-3.1.2/test/data/ [ 2s] -rw-r--r-- jenkins/users 4726 2015-08-11 13:01 yast2-migration-3.1.2/test/data/sles12_migration_products.yml [ 2s] -rw-r--r-- jenkins/users 3129 2015-08-11 13:01 yast2-migration-3.1.2/test/migration_proposal_client_test.rb [ 2s] -rw-r--r-- jenkins/users 106 2015-08-11 13:01 yast2-migration-3.1.2/.rubocop.yml [ 2s] -rw-r--r-- jenkins/users 505 2015-08-11 13:01 yast2-migration-3.1.2/.travis.yml [ 2s] -rw-r--r-- jenkins/users 115 2015-08-11 13:01 yast2-migration-3.1.2/.yardopts [ 2s] -rw-r--r-- jenkins/users 3526 2015-08-11 13:01 yast2-migration-3.1.2/CONTRIBUTING.md [ 2s] -rw-r--r-- jenkins/users 285 2015-08-11 13:01 yast2-migration-3.1.2/Rakefile [ 2s] -rw-r--r-- jenkins/users 18042 2015-08-11 13:01 yast2-migration-3.1.2/COPYING [ 2s] + STATUS=0 [ 2s] + '[' 0 -ne 0 ']' [ 2s] + cd yast2-migration-3.1.2 [ 2s] + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 2s] + exit 0 [ 2s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2zZbPb [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64 [ 2s] ++ dirname /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64 [ 2s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 2s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64 [ 2s] + cd yast2-migration-3.1.2 [ 2s] + exit 0 [ 2s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dfdXwQ [ 2s] + umask 022 [ 2s] + cd /home/abuild/rpmbuild/BUILD [ 2s] + cd yast2-migration-3.1.2 [ 2s] + rake install DESTDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64 [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/YaST2/ [ 2s] cp -r 'src/clients' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/YaST2/' [ 2s] cp -r 'src/lib' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/YaST2/' [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/lib/YaST2/ [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/YaST2/schema/autoyast/rnc/ [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/var/adm/fillup-templates/ [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/applications/YaST2/ [ 2s] cp -r 'src/desktop/migration.desktop' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/applications/YaST2/' [ 2s] mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/doc/packages/yast2-migration/ [ 2s] cp -r 'README.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/doc/packages/yast2-migration/' [ 2s] cp -r 'COPYING' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/doc/packages/yast2-migration/' [ 2s] cp -r 'CONTRIBUTING.md' '/home/abuild/rpmbuild/BUILDROOT/yast2-migration-3.1.2-1.x86_64/usr/share/doc/packages/yast2-migration/' [ 2s] + /usr/lib/rpm/find-debuginfo.sh /home/abuild/rpmbuild/BUILD/yast2-migration-3.1.2 [ 2s] + /usr/lib/rpm/brp-compress [ 2s] + /usr/lib/rpm/brp-suse [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-05-permissions [ 2s] setting / to root:root 0755. (wrong owner/group abuild:abuild) [ 2s] setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild) [ 2s] setting /var/adm/ to root:root 0755. (wrong owner/group abuild:abuild) [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-15-strip-debug [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-20-check-la [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink [ 2s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop [ 2s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist [ 3s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-40-rootfs [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-45-tcl [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-50-check-python [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-55-boot-scripts [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-60-hook [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-65-lib64-linux [ 3s] calling /usr/lib/rpm/brp-suse.d/brp-72-extract-appdata [ 3s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.uBicsw [ 3s] + umask 022 [ 3s] + cd /home/abuild/rpmbuild/BUILD [ 3s] + cd yast2-migration-3.1.2 [ 3s] + rake test:unit [ 3s] rspec --color --format doc 'test/main_workflow_test.rb' [ 3s] [ 3s] Migration::MainWorkflow [ 3s] .run [ 3s] pass workflow sequence to Yast sequencer [ 3s] returns :next if clicking next [ 3s] restores repositories when clicking on Cancel [ 3s] [ 3s] Finished in 0.01459 seconds (files took 0.14503 seconds to load) [ 3s] 3 examples, 0 failures [ 3s] [ 3s] rspec --color --format doc 'test/repository_checker_test.rb' [ 3s] [ 3s] Migration::RepositoryChecker [ 3s] #obsolete_product_repos [ 3s] returns repositories containing obsolete products [ 3s] [ 3s] Finished in 0.00243 seconds (files took 0.10518 seconds to load) [ 3s] 1 example, 0 failures [ 3s] [ 3s] rspec --color --format doc 'test/proposal_store_test.rb' [ 3s] [ 3s] Migration::ProposalStore [ 3s] .headline [ 3s] returns a headline [ 3s] .proposal_names [ 3s] returns an update proposal [ 3s] .presentation_order [ 3s] returns a presentation order [ 3s] .help_text [ 3s] returns the right help text [ 3s] .icon [ 3s] returns 'yast-software' [ 3s] .tabs? [ 3s] returns false [ 3s] [ 3s] Finished in 0.0632 seconds (files took 0.1091 seconds to load) [ 3s] 6 examples, 0 failures [ 3s] [ 3s] rspec --color --format doc 'test/migration_proposal_client_test.rb' [ 3s] [ 3s] Migration::ProposalClient [ 3s] #description [ 4s] returns map with "rich_text_title", "menu_title" and "id" keys (FAILED - 1) [ 4s] #ask_user [ 4s] runs the repository manager and returns the user input (FAILED - 2) [ 4s] disables the respective repository when clicking the 'Disable' link in the proposal (FAILED - 3) [ 4s] #make_proposal [ 4s] returns a map with proposal details (FAILED - 4) [ 4s] returns a warning when an obsoleted repository is present (FAILED - 5) [ 4s] [ 4s] Failures: [ 4s] [ 4s] 1) Migration::ProposalClient#description returns map with "rich_text_title", "menu_title" and "id" keys [ 4s] Failure/Error: result = subject.description [ 4s] NameError: [ 4s] component cannot import namespace 'Update' [ 4s] # ./src/lib/migration/proposal_client.rb:33:in `initialize' [ 4s] # ./test/migration_proposal_client_test.rb:26:in `block (3 levels) in <top (required)>' [ 4s] [ 4s] 2) Migration::ProposalClient#ask_user runs the repository manager and returns the user input [ 4s] Failure/Error: expect(subject.ask_user({})).to include("workflow_sequence" => :next) [ 4s] NameError: [ 4s] component cannot import namespace 'Update' [ 4s] # ./src/lib/migration/proposal_client.rb:33:in `initialize' [ 4s] # ./test/migration_proposal_client_test.rb:36:in `block (3 levels) in <top (required)>' [ 4s] [ 4s] 3) Migration::ProposalClient#ask_user disables the respective repository when clicking the 'Disable' link in the proposal [ 4s] Failure/Error: expect(subject.ask_user("chosen_id" => "#{Migration::ProposalClient::LINK_PREFIX}#{repo_id}")) [ 4s] NameError: [ 4s] component cannot import namespace 'Update' [ 4s] # ./src/lib/migration/proposal_client.rb:33:in `initialize' [ 4s] # ./test/migration_proposal_client_test.rb:43:in `block (3 levels) in <top (required)>' [ 4s] [ 4s] 4) Migration::ProposalClient#make_proposal returns a map with proposal details [ 4s] Failure/Error: expect(Yast::Update).to receive(:solve_errors=) [ 4s] NameError: [ 4s] uninitialized constant Yast::Update [ 4s] # ./test/migration_proposal_client_test.rb:54:in `block (3 levels) in <top (required)>' [ 4s] [ 4s] 5) Migration::ProposalClient#make_proposal returns a warning when an obsoleted repository is present [ 4s] Failure/Error: expect(Yast::Update).to receive(:solve_errors=) [ 4s] NameError: [ 4s] uninitialized constant Yast::Update [ 4s] # ./test/migration_proposal_client_test.rb:54:in `block (3 levels) in <top (required)>' [ 4s] [ 4s] Finished in 0.29263 seconds (files took 0.10838 seconds to load) [ 4s] 5 examples, 5 failures [ 4s] [ 4s] Failed examples: [ 4s] [ 4s] rspec ./test/migration_proposal_client_test.rb:25 # Migration::ProposalClient#description returns map with "rich_text_title", "menu_title" and "id" keys [ 4s] rspec ./test/migration_proposal_client_test.rb:33 # Migration::ProposalClient#ask_user runs the repository manager and returns the user input [ 4s] rspec ./test/migration_proposal_client_test.rb:39 # Migration::ProposalClient#ask_user disables the respective repository when clicking the 'Disable' link in the proposal [ 4s] rspec ./test/migration_proposal_client_test.rb:64 # Migration::ProposalClient#make_proposal returns a map with proposal details [ 4s] rspec ./test/migration_proposal_client_test.rb:71 # Migration::ProposalClient#make_proposal returns a warning when an obsoleted repository is present [ 4s] [ 4s] rake aborted! [ 4s] Command failed with status (1): [rspec --color --format doc 'test/migration...] [ 4s] [ 4s] Tasks: TOP => test:unit [ 4s] (See full trace by running task with --trace) [ 4s] error: Bad exit status from /var/tmp/rpm-tmp.uBicsw (%check) [ 4s] [ 4s] [ 4s] RPM build errors: [ 4s] Bad exit status from /var/tmp/rpm-tmp.uBicsw (%check) Building yast2-migration.spec for SLE-12-SP1/x86_64 Getting buildinfo from server and store to <http://river.suse.de/job/yast-migration-master/ws/Devel>:YaST:Head/yast2-migration/.osc/_buildinfo-SLE-12-SP1-x86_64.xml Getting buildconfig from server and store to <http://river.suse.de/job/yast-migration-master/ws/Devel>:YaST:Head/yast2-migration/.osc/_buildconfig-SLE-12-SP1-x86_64 Updating cache of required packages 0.0% cache miss. 215/215 dependencies cached. Skipping verification of package signatures Writing build configuration Running build The buildroot was: /var/tmp/build-root-SLE-12-SP1 rm -rf Devel:YaST:Head rake aborted! Command failed with status (1): [yes | osc -A 'https://api.suse.de/' build ...] Tasks: TOP => osc:sr => osc:commit => osc:build (See full trace by running task with --trace) cleaning Build step 'Execute shell' marked build as failure