Hello!
When I compile with the source code of pbm, I find that e2e-tests is always compiled
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LU4fZL
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf percona-backup-mongodb-1.8.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/percona-backup-mongodb-1.8.1.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd percona-backup-mongodb-1.8.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k7vkut
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd percona-backup-mongodb-1.8.1
+ make -j8
MONGODB_VERSION=4.2 e2e-tests/run-all
+ set -o errexit
+++ dirname e2e-tests/run-all
++ realpath e2e-tests
+ dir=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests
+ export TESTS_BCP_TYPE=logical
+ TESTS_BCP_TYPE=logical
+ /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/run-new-cluster
+++ dirname /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/run-new-cluster
++ realpath /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests
+ test_dir=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests
+ . /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/functions
++ BACKUP_USER=bcp
++ MONGO_PASS=test1234
++ BCP_NAME=
++ COMPOSE_PATH=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/docker-compose.yaml
++ COMPOSE_RS_PATH=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/docker-compose-rs.yaml
++ COMPOSE_SINGLE_PATH=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/docker-compose-single.yaml
++ PBM_TEST_CLEANUP=true
+ MONGO_VERSION=4.2
+ desc 'RUN RESTORE ON NEW CLUSTER TEST'
+ set +o xtrace
-----------------------------------------------------------------------------------
== RUN RESTORE ON NEW CLUSTER TEST
-----------------------------------------------------------------------------------
+ desc 'Start cluster'
+ set +o xtrace
-----------------------------------------------------------------------------------
== Start cluster
-----------------------------------------------------------------------------------
+ start_cluster 4.2
+ local mongo_version=4.2
+ genMongoKey
+ key_file=/root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/keyFile
+ '[' '!' -f /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/keyFile ']'
+ openssl rand -base64 756
+ chmod 400 /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/keyFile
+ echo 'Build agents and tests'
Build agents and tests
+ docker-compose -f /root/rpmbuild/BUILD/percona-backup-mongodb-1.8.1/e2e-tests/docker/docker-compose.yaml build
Building cfg01
Step 1/7 : ARG MONGODB_VERSION=4.2
ERROR: Service 'cfg01' failed to build: Please provide a source image with `from` prior to commit
+ fail restore-on-new-cluster
+ local test=restore-on-new-cluster
+ echo 'test restore-on-new-cluster failed'
test restore-on-new-cluster failed
+ exit 1
make: *** [test] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.k7vkut (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.k7vkut (%build)```