#121 CI fails to build systemd package
Closed by bgoncalv. Opened by plautrba.

I've enable Fedora CI for systemd in https://src.fedoraproject.org/rpms/systemd/pull-request/30 but it fails to build systemd package:

[2020-06-30T08:51:23.682Z] + /tmp/koji_build_pr.sh
[2020-06-30T08:51:23.688Z] + '[' -z systemd ']'
[2020-06-30T08:51:23.688Z] + '[' -z 30 ']'
[2020-06-30T08:51:23.688Z] + '[' -z 07c9dbfcff174b319e5f3da57ddac9b2 ']'
[2020-06-30T08:51:23.688Z] + '[' -z bpeck/jenkins-continuous-infra.apps.ci.centos.org@FEDORAPROJECT.ORG ']'
[2020-06-30T08:51:23.688Z] + '[' -z https://src.fedoraproject.org ']'
[2020-06-30T08:51:23.688Z] ++ pwd
[2020-06-30T08:51:23.688Z] + CURRENTDIR=/workDir/workspace/fedora-rawhide-pr-pipeline
[2020-06-30T08:51:23.688Z] + '[' /workDir/workspace/fedora-rawhide-pr-pipeline == / ']'
[2020-06-30T08:51:23.688Z] + KOJI_PARAMS=
[2020-06-30T08:51:23.688Z] + RPMDIR=/workDir/workspace/fedora-rawhide-pr-pipeline/systemd_repo
[2020-06-30T08:51:23.688Z] + LOGDIR=/workDir/workspace/fedora-rawhide-pr-pipeline/logs
[2020-06-30T08:51:23.688Z] + rm -rf '/workDir/workspace/fedora-rawhide-pr-pipeline/logs/*'
[2020-06-30T08:51:23.688Z] + mkdir -p /workDir/workspace/fedora-rawhide-pr-pipeline/logs
[2020-06-30T08:51:23.688Z] + rm -rf systemd
[2020-06-30T08:51:23.688Z] + git clone https://src.fedoraproject.org/rpms/systemd.git
[2020-06-30T08:51:23.688Z] Cloning into 'systemd'...
[2020-06-30T08:51:26.210Z] + '[' 0 '!=' 0 ']'
[2020-06-30T08:51:26.210Z] + pushd systemd
[2020-06-30T08:51:26.210Z] /workDir/workspace/fedora-rawhide-pr-pipeline/systemd /workDir/workspace/fedora-rawhide-pr-pipeline
[2020-06-30T08:51:26.210Z] + git checkout master
[2020-06-30T08:51:26.210Z] Already on 'master'
[2020-06-30T08:51:26.210Z] Your branch is up to date with 'origin/master'.
[2020-06-30T08:51:26.210Z] + git fetch -fu origin refs/pull/30/head:pr
[2020-06-30T08:51:26.465Z] From https://src.fedoraproject.org/rpms/systemd
[2020-06-30T08:51:26.465Z]  * [new ref]         refs/pull/30/head -> pr
[2020-06-30T08:51:26.465Z] + git -c 'user.name=Fedora CI' -c user.email=ci@lists.fedoraproject.org merge pr -m 'Fedora CI pipeline'
[2020-06-30T08:51:26.465Z] Updating 6eb8bcd..1829684
[2020-06-30T08:51:26.465Z] Fast-forward (no commit created; -m option ignored)
[2020-06-30T08:51:26.465Z]  0001-Fix-build-with-httpd-0.9.71.patch             |  67 ++++++++++
[2020-06-30T08:51:26.465Z]  ...Don-t-mark-as-redundant-if-deps-are-relev.patch | 144 ---------------------
[2020-06-30T08:51:26.465Z]  ...-allow-the-test-to-pass-on-non-amd64-arch.patch |  25 ++++
[2020-06-30T08:51:26.465Z]  sources                                            |   2 +-
[2020-06-30T08:51:26.465Z]  systemd.spec                                       |  20 +--
[2020-06-30T08:51:26.465Z]  tests/test-reboot.yml                              |  47 +++++++
[2020-06-30T08:51:26.465Z]  tests/tests.yml                                    |   1 +
[2020-06-30T08:51:26.465Z]  use-bfq-scheduler.patch                            |  19 ++-
[2020-06-30T08:51:26.465Z]  8 files changed, 160 insertions(+), 165 deletions(-)
[2020-06-30T08:51:26.465Z]  create mode 100644 0001-Fix-build-with-httpd-0.9.71.patch
[2020-06-30T08:51:26.465Z]  delete mode 100644 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch
[2020-06-30T08:51:26.465Z]  create mode 100644 0001-test-repart-allow-the-test-to-pass-on-non-amd64-arch.patch
[2020-06-30T08:51:26.465Z]  create mode 100644 tests/test-reboot.yml
[2020-06-30T08:51:26.465Z]  create mode 100644 tests/tests.yml
[2020-06-30T08:51:26.465Z] ++ rpm -q --define 'dist .fc33' --queryformat '%{name}-%{version}-%{release}\n' --specfile systemd.spec
[2020-06-30T08:51:26.465Z] ++ awk NR==1
[2020-06-30T08:51:26.465Z] error: Unable to open /root/rpmbuild/SOURCES/triggers.systemd: No such file or directory
[2020-06-30T08:51:26.465Z] error: query of specfile systemd.spec failed, can't parse
[2020-06-30T08:51:26.465Z] + truenvr=

According to @bgoncalv --define "_sourcedir $PWD" seems to fix the problem


PR https://github.com/CentOS-PaaS-SIG/upstream-fedora-pipeline/pull/236

this issue should be fixed now.

Please reopen in case you still see the problem.

Metadata Update from @bgoncalv:
- Issue status updated to: Closed (was: Open)

Metadata