Build failed in Jenkins: yast-yast-registration-master #143
See https://ci.opensuse.org/job/yast-yast-registration-master/143/display/redire... Changes: [dgonzalez] Adapt test for working well with Ruby 3 [dgonzalez] Bump version and update changelog [dgonzalez] Make Rubocop happy ------------------------------------------ [...truncated 142.60 KB...] [ 123s] returns credentials parameter from URL [ 123s] returns nil if the URL misses credentials parameter [ 123s] raises URI::InvalidURIError when URL is invalid [ 123s] .reset_registration_url [ 123s] resets cached URL [ 123s] .slp_discovery [ 123s] returns SLP services excluding SUSE Manager services [ 123s] .slp_discovery_feedback [ 123s] runs SLP discovery with progress message [ 123s] .boot_reg_url [ 123s] when a URL was given through Linuxrc [ 123s] returns that URL [ 123s] when no URL was given through Linuxrc [ 123s] returns nil [ 123s] [ 123s] Registration::Widgets::RegistrationCode [ 123s] has help text [ 123s] initialization [ 123s] when a previous registration code exists [ 123s] initializes the widget with it [ 123s] when no previous registration code exists [ 123s] initializes the widget with custom url if exists [ 123s] initializes the widget with the cmdline boot url if no custom url [ 123s] validation [ 123s] reports an error in case of a url but not valid one [ 123s] store [ 123s] when the value is empty or not an URL [ 123s] stores the current value [ 123s] stores as the custom url the default one [ 123s] tries to register to the default url [ 123s] when the value is a valid URL [ 123s] stores the custom url and an empty registration code [ 123s] tries to register to the given URL [ 123s] #register [ 123s] skips registration if empty and returns false [ 123s] skips registration if already registered and returns false [ 123s] skips registration if not base product, reports and error and returns false [ 123s] returns false if registration fails [ 123s] saves the state of the system registration if success and returns true [ 123s] [ 123s] Registration::UI::WizardClient [ 123s] #main [ 123s] opens a wizard dialog if it is missing [ 123s] uses the current wizard dialog if it exists [ 123s] #run [ 123s] calls run_sequence() method [ 123s] returns :abort and show error when an exception is raised [ 123s] #run_sequence [ 123s] raises NotImplementedError exception [ 123s] [ 123s] Finished in 3.91 seconds (files took 2.12 seconds to load) [ 123s] 665 examples, 0 failures [ 123s] [ 123s] + RPM_EC=0 [ 123s] ++ jobs -p [ 123s] + exit 0 [ 123s] Processing files: yast2-registration-4.4.17-1.noarch [ 123s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5uLd3R [ 123s] + umask 022 [ 123s] + cd /home/abuild/rpmbuild/BUILD [ 123s] + cd yast2-registration-4.4.17 [ 123s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/yast2-registration-4.4.17-1.x86_64/usr/share/licenses/yast2-registration [ 123s] + export LC_ALL=C [ 123s] + LC_ALL=C [ 123s] + export LICENSEDIR [ 123s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/yast2-registration-4.4.17-1.x86_64/usr/share/licenses/yast2-registration [ 123s] + cp -pr COPYING /home/abuild/rpmbuild/BUILDROOT/yast2-registration-4.4.17-1.x86_64/usr/share/licenses/yast2-registration [ 123s] + RPM_EC=0 [ 123s] ++ jobs -p [ 123s] + exit 0 [ 124s] Provides: application() application(org.opensuse.yast.SCC.AddExtensions.desktop) application(org.opensuse.yast.SCC.desktop) metainfo() metainfo(org.opensuse.yast.SCC.AddExtensions.metainfo.xml) metainfo(org.opensuse.yast.SCC.metainfo.xml) yast2-registration = 4.4.17-1 [ 124s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 124s] Requires: /bin/sh /usr/bin/env [ 124s] Conflicts: autoyast2 < 4.3.23 [ 124s] Supplements: autoyast(suse_register) [ 124s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/yast2-registration-4.4.17-1.x86_64 [ 124s] Wrote: /home/abuild/rpmbuild/SRPMS/yast2-registration-4.4.17-1.src.rpm [ 124s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/yast2-registration-4.4.17-1.noarch.rpm [ 125s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7JeRl0 [ 125s] + umask 022 [ 125s] + cd /home/abuild/rpmbuild/BUILD [ 125s] + cd yast2-registration-4.4.17 [ 125s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/yast2-registration-4.4.17-1.x86_64 [ 125s] + RPM_EC=0 [ 125s] ++ jobs -p [ 125s] + exit 0 [ 125s] unknown keyword in config: repourl: [ 125s] unknown keyword in config: registryurl: [ 125s] unknown keyword in config: repourl: [ 125s] unknown keyword in config: registryurl: [ 125s] ... checking for files with abuild user/group [ 125s] ... running 00-check-install-rpms [ 125s] ... installing all built rpms [ 125s] Verifying packages... [ 125s] Preparing packages... [ 125s] yast2-registration-4.4.17-1.noarch [ 127s] ... running 50-check-binary-kernel-log [ 127s] ... running 50-check-core-files [ 127s] ... running 50-check-debuginfo [ 127s] ... testing for empty debuginfo packages [ 127s] ... running 50-check-filelist [ 127s] ... checking filelist [ 127s] ... running 50-check-gconf-scriptlets [ 127s] ... testing GConf scriptlet presence [ 127s] ... running 50-check-installtest [ 127s] ... testing for pre/postinstall scripts that are not idempotent [ 127s] ... running 50-check-invalid-provides [ 127s] ... running 50-check-invalid-requires [ 127s] ... running 50-check-kernel-build-id [ 127s] ... running 50-check-lanana [ 127s] ... running 50-check-libtool-deps [ 127s] ... testing devel dependencies required by libtool .la files [ 127s] (can be skipped by "skip-check-libtool-deps" anywhere in spec) [ 127s] ... running 50-check-packaged-twice [ 127s] ... running 50-check-permissions [ 127s] ... testing for modified permissions [ 127s] ... running 98-revert-uname-hack [ 127s] ... running 99-check-remove-rpms [ 127s] ... removing all built rpms [ 127s] (order: reverse yast2-registration) [ 128s] [ 128s] RPMLINT report: [ 128s] =============== [ 129s] script (stdin) does not appear to have a #! interpreter line; [ 129s] you may get strange results [ 129s] ============================ rpmlint session starts ============================ [ 129s] rpmlint: 2.2.0 [ 129s] configuration: [ 129s] /opt/testing/lib64/python3.8/site-packages/rpmlint/configdefaults.toml [ 129s] /opt/testing/share/rpmlint/cron-whitelist.toml [ 129s] /opt/testing/share/rpmlint/dbus-services.toml [ 129s] /opt/testing/share/rpmlint/device-files-whitelist.toml [ 129s] /opt/testing/share/rpmlint/licenses.toml [ 129s] /opt/testing/share/rpmlint/opensuse.toml [ 129s] /opt/testing/share/rpmlint/pam-modules.toml [ 129s] /opt/testing/share/rpmlint/permissions-whitelist.toml [ 129s] /opt/testing/share/rpmlint/pie-executables.toml [ 129s] /opt/testing/share/rpmlint/polkit-rules-whitelist.toml [ 129s] /opt/testing/share/rpmlint/scoring.toml [ 129s] /opt/testing/share/rpmlint/security.toml [ 129s] /opt/testing/share/rpmlint/users-groups.toml [ 129s] /opt/testing/share/rpmlint/world-writable-whitelist.toml [ 129s] checks: 39, packages: 2 [ 129s] [ 129s] yast2-registration.noarch: E: standard-dir-owned-by-package /usr/share/icons [ 129s] This package owns a directory that is part of the standard hierarchy, which [ 129s] can lead to default directory permissions or ownerships being changed to [ 129s] something non-standard. [ 129s] [ 129s] yast2-registration.noarch: W: potential-bashisms /usr/share/YaST2/data/registration/registration_rollback.sh [ 129s] checkbashisms reported potential bashisms in a /bin/sh shell script, you might [ 129s] want to manually check this script for bashisms. [ 129s] [ 129s] yast2-registration.noarch: E: env-script-interpreter (Badness: 9) /usr/lib/YaST2/bin/install_ssl_certificates /usr/bin/env ruby [ 129s] This script uses 'env' as an interpreter. For the rpm runtime dependency [ 129s] detection to work, the shebang #!/usr/bin/env <interpreter> needs to be [ 129s] patched into #!/usr/bin/<interpreter> otherwise the package dependency [ 129s] generator merely adds a dependency on /usr/bin/env rather than the actual [ 129s] interpreter /usr/bin/<interpreter>. Alternatively, if the file should not be [ 129s] executed, then ensure that it is not marked as executable or don't install it [ 129s] in a path that is reserved for executables. [ 129s] [ 129s] yast2-registration.noarch: W: desktopfile-without-binary /usr/share/applications/YaST2/org.opensuse.yast.SCC.AddExtensions.desktop /usr/bin/xdg-su [ 129s] yast2-registration.noarch: W: desktopfile-without-binary /usr/share/applications/YaST2/org.opensuse.yast.SCC.desktop /usr/bin/xdg-su [ 129s] The .desktop file is for a file not present in the package. You should check [ 129s] the requires or see if this is not a error. [ 129s] [ 129s] 2 packages and 0 specfiles checked; 2 errors, 3 warnings, 10 badness; has taken 0.5 s [ 129s] [ 129s] [ 129s] yast-jenkins finished "build yast2-registration.spec" at Mon Feb 28 10:01:33 UTC 2022. [ 129s] /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/SRPMS/yast2-registration-4.4.17-1.src.rpm /var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/RPMS/noarch/yast2-registration-4.4.17-1.noarch.rpm rm -rf YaST:Head osc -A 'https://api.opensuse.org/' --traceback checkout 'YaST:Head' yast2-registration cleaning A YaST:Head A YaST:Head/yast2-registration A YaST:Head/yast2-registration/yast2-registration-4.4.16.tar.bz2 A YaST:Head/yast2-registration/yast2-registration.changes A YaST:Head/yast2-registration/yast2-registration.spec At revision 242f0c411f8513e54e9c2879f77bdc4e. /usr/lib/obs/service/format_spec_file --outdir . rm https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration/yast2-registration-4.4.16.tar.bz2 rm https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration/yast2-registration.spec rm https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration/yast2-registration.changes cp package/yast2-registration-4.4.17.tar.bz2 https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration cp package/yast2-registration.spec https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration cp package/yast2-registration.changes https://ci.opensuse.org/job/yast-yast-registration-master/ws/YaST:Head/yast2-registration osc -A 'https://api.opensuse.org/' addremove D yast2-registration-4.4.16.tar.bz2 A yast2-registration-4.4.17.tar.bz2 submitting package... osc -A https://api.opensuse.org/ commit -m - Adapt test code for work with Ruby >= 3 (related to bsc#1193192) - 4.4.17 Deleting yast2-registration-4.4.16.tar.bz2 Sending yast2-registration.changes Sending yast2-registration.spec Sending yast2-registration-4.4.17.tar.bz2 Transmitting file data ... Committed revision 326. rm -rf YaST:Head osc -A 'https://api.opensuse.org/' --traceback checkout 'YaST:Head' yast2-registration New package submitted to YaST:Head cleaning A YaST:Head A YaST:Head/yast2-registration A YaST:Head/yast2-registration/yast2-registration-4.4.17.tar.bz2 A YaST:Head/yast2-registration/yast2-registration.changes A YaST:Head/yast2-registration/yast2-registration.spec At revision 745fefe61cc175c73b58573e42c41fbc. osc -A 'https://api.opensuse.org/' cat 'openSUSE:Factory' 'yast2-registration' 'yast2-registration.spec' > /tmp/yast-rake20220228-27844-1sna9sa osc -A https://api.opensuse.org/ service wait YaST:Head yast2-registration Version has been changed in *.spec file Waiting for the server side service... Request: https://api.opensuse.org/source/YaST:Head/yast2-registration?cmd=waitservice Headers: Date: Mon, 28 Feb 2022 10:01:42 GMT Server: Apache Vary: accept-language,accept-charset Strict-Transport-Security: max-age=31536000 Upgrade: h2 Connection: Upgrade, close Accept-Ranges: bytes Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 Content-Language: en Server returned an error: HTTP Error 502: Bad Gateway The service for project 'YaST:Head' package 'yast2-registration' failed rm -rf YaST:Head rake aborted! Command failed with status (1): [osc -A https://api.opensuse.org/ service w...] Tasks: TOP => osc:sr (See full trace by running task with --trace) cleaning Result: PID 27841 exited with value 1 Scanning for a pull request... Found pull request #567 Adding comment ":x: Public Jenkins [job #143](https://ci.opensuse.org/job/yast-yast-registration-master/143/) failed" to pull request https://github.com/yast/yast-registration/pull/567 Sending Net::HTTP::Post request to https://api.github.com/repos/yast/yast-registration/issues/567/comments... OK Success Build step 'Execute shell' marked build as failure Not sending mail to unregistered user dgonzalez@suse.de
participants (1)
-
admin@opensuse.org