Build: #2 failed

Job: api_archive failed

Stages & jobs

  1. Build

  2. Test

  3. Coverage report

Build log

The build generated 88 lines of output. Download or view full build log.

30-Jun-2022 20:46:30 Build Bamboo-specs - op-worker - api_archive #2 (BAM-PROV-APIARC-2) started building on agent bamboo-agent-os-06 (2), bamboo version: 8.1.2
30-Jun-2022 20:46:30 Remote agent on 10.87.23.19 (10.87.23.19:22)
30-Jun-2022 20:46:30 Build working directory is /home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC
30-Jun-2022 20:46:30 Executing build Bamboo-specs - op-worker - api_archive #2 (BAM-PROV-APIARC-2)
30-Jun-2022 20:46:30 Skipping task 'Source Code Checkout' because of unfulfilled condition. Reason: Variable fake.var exists
30-Jun-2022 20:46:30 Preparing artifact 'op_worker.tar.gz' for use at /home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC (location: )
30-Jun-2022 20:46:30 Artifact 'op_worker.tar.gz' prepared in 455.5 ms at /home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC/op_worker.tar.gz
30-Jun-2022 20:46:30 Running pre-build action: Build Log Labeller Pre Build Action
30-Jun-2022 20:46:30 Running pre-build action: VCS Version Collector
30-Jun-2022 20:46:30 Skipping task 'Source Code Checkout' because of unfulfilled condition. Reason: Variable fake.var exists
30-Jun-2022 20:46:30 All conditions for task 'Pull surefire artifact and unpack it' were met. Conditions: Variable bamboo.buildNumber matches pattern 2|3
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoHostname} with S3
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoPort} with 10161
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoUsername} with ubuntu
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.branchSrc} with feature/VFS-9519-auto-quarantine-test-cases-for-new-branches
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.planRepository.name} with op-worker
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.shortJobName} with api_archive
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoHostname} with S3
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoPort} with 10161
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.artifactRepoUsername} with ubuntu
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.branchSrc} with feature/VFS-9519-auto-quarantine-test-cases-for-new-branches
30-Jun-2022 20:46:30
Substituting variable: ${bamboo.planRepository.name} with op-worker
30-Jun-2022 20:46:30 Starting task 'Pull surefire artifact and unpack it' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
30-Jun-2022 20:46:30
Beginning to execute external process for build 'Bamboo-specs - op-worker - api_archive #2 (BAM-PROV-APIARC-2)'
... running command line:
/bin/sh /home/bamboo/bamboo-agent-home/temp/BAM-PROV-APIARC-2-ScriptBuildTask-7377144899094907355.sh
... in: /home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC
30-Jun-2022 20:46:30 fatal: No names found, cannot describe anything.
30-Jun-2022 20:46:30 fatal: No names found, cannot describe anything.
30-Jun-2022 20:46:30 git submodule sync --recursive
30-Jun-2022 20:46:30 dirname: missing operand
30-Jun-2022 20:46:30 Try 'dirname --help' for more information.
30-Jun-2022 20:46:30 git submodule update --init --recursive
30-Jun-2022 20:46:30 Submodule 'bamboos' (ssh://git@git.onedata.org:7999/vfs/bamboos.git) registered for path 'bamboos'
30-Jun-2022 20:46:30 Submodule 'one-env' (ssh://git@git.onedata.org:7999/vfs/one-env.git) registered for path 'one-env'
30-Jun-2022 20:46:30 Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC/op_worker/bamboos'...
30-Jun-2022 20:46:32 Cloning into '/mnt/storage/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC/op_worker/one-env'...
30-Jun-2022 20:46:32 Submodule path 'bamboos': checked out '5f6ce4234a75d150e8c9bfd60054d6a96bfcc3c1'
30-Jun-2022 20:46:32 Submodule path 'one-env': checked out 'ad414cb55d16e88dc0d2271bc8d0e73440a6f06b'
30-Jun-2022 20:46:32 ./bamboos/artifacts/pull_artifact.py --hostname S3 --port 10161 --username ubuntu --branch feature/VFS-9519-auto-quarantine-test-cases-for-new-branches --plan op-worker --artifact surefire_api_archive.tar.gz
30-Jun-2022 20:46:34 usage: pull_artifact.py [-h] --hostname HOSTNAME --port PORT --username
30-Jun-2022 20:46:34                         USERNAME --branch BRANCH --plan PLAN [--s3-url S3_URL]
30-Jun-2022 20:46:34                         [--s3-bucket S3_BUCKET]
30-Jun-2022 20:46:34                         [--default-branch DEFAULT_BRANCH]
30-Jun-2022 20:46:34 pull_artifact.py: error: unrecognized arguments: --artifact surefire_api_archive.tar.gz
30-Jun-2022 20:46:34 tar (child): surefire_api_archive.tar.gz: Cannot open: No such file or directory
30-Jun-2022 20:46:34 tar (child): Error is not recoverable: exiting now
30-Jun-2022 20:46:34 tar: Child returned status 2
30-Jun-2022 20:46:34 tar: Error is not recoverable: exiting now
30-Jun-2022 20:46:34 Failing task since return code of [/bin/sh /home/bamboo/bamboo-agent-home/temp/BAM-PROV-APIARC-2-ScriptBuildTask-7377144899094907355.sh] was 2 while expected 0
30-Jun-2022 20:46:34 Finished task 'Pull surefire artifact and unpack it' with result: Failed
30-Jun-2022 20:46:34 Starting task 'Parse test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
30-Jun-2022 20:46:34 Parsing test results under /home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC...
30-Jun-2022 20:46:34 Failing task since test cases were expected but none were found.
30-Jun-2022 20:46:34 Finished task 'Parse test results' with result: Failed
30-Jun-2022 20:46:34 Skipping task 'Save cover and test results' because of unfulfilled condition. Reason: Variable bamboo.buildNumber matches pattern [4-9]|.{2,}
30-Jun-2022 20:46:34 Skipping task 'Push surefire artifact' because of unfulfilled condition. Reason: Variable bamboo.buildNumber matches pattern [4-9]|.{2,}
30-Jun-2022 20:46:34 Skipping task 'Pack test logs' because of unfulfilled condition. Reason: Variable bamboo.buildNumber matches pattern [4-9]|.{2,}
30-Jun-2022 20:46:34 Skipping task 'Clear env' because of unfulfilled condition. Reason: Variable bamboo.buildNumber matches pattern [4-9]|.{2,}
30-Jun-2022 20:46:34 Running post build plugin 'Docker Container Cleanup'
30-Jun-2022 20:46:34 Running post build plugin 'NCover Results Collector'
30-Jun-2022 20:46:34 Running post build plugin 'Build Results Label Collector'
30-Jun-2022 20:46:34 Running post build plugin 'Clover Results Collector'
30-Jun-2022 20:46:34 Running post build plugin 'npm Cache Cleanup'
30-Jun-2022 20:46:34 Running post build plugin 'Artifact Copier'
30-Jun-2022 20:46:34 Publishing an artifact: cover_ct_api_archive.tar.gz
30-Jun-2022 20:46:34
Substituting variable: ${bamboo.shortJobName} with api_archive
30-Jun-2022 20:46:34 Failing as no matching files has been found and empty artifacts are not allowed.
30-Jun-2022 20:46:34 Unable to publish artifact [cover_ct_api_archive.tar.gz]:
30-Jun-2022 20:46:34 The artifact hasn't been successfully published after 11.30 ms
30-Jun-2022 20:46:34 Publishing an artifact: ct_logs_${bamboo.shortJobName}.tar.gz
30-Jun-2022 20:46:34
Substituting variable: ${bamboo.shortJobName} with api_archive
30-Jun-2022 20:46:34
Substituting variable: ${bamboo.shortJobName} with api_archive
30-Jun-2022 20:46:34 Failing as no matching files has been found and empty artifacts are not allowed.
30-Jun-2022 20:46:34 Unable to publish artifact [ct_logs_api_archive.tar.gz]:
30-Jun-2022 20:46:34 The artifact hasn't been successfully published after 18.58 ms
30-Jun-2022 20:46:34 Successfully removed working directory at '/home/bamboo/bamboo-agent-home/xml-data/build-dir/BAM-PROV-APIARC'
30-Jun-2022 20:46:34 Finalising the build...
30-Jun-2022 20:46:34 Stopping timer.
30-Jun-2022 20:46:34 Build BAM-PROV-APIARC-2 completed.
30-Jun-2022 20:46:34 Running on server: post build plugin 'NCover Results Collector'
30-Jun-2022 20:46:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
30-Jun-2022 20:46:34 Running on server: post build plugin 'Build Labeller'
30-Jun-2022 20:46:34 Running on server: post build plugin 'Clover Delta Calculator'
30-Jun-2022 20:46:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
30-Jun-2022 20:46:34 All post build plugins have finished
30-Jun-2022 20:46:34 Generating build results summary...
30-Jun-2022 20:46:34 Saving build results to disk...
30-Jun-2022 20:46:34 Store variable context...
30-Jun-2022 20:46:34 Indexing build results...
30-Jun-2022 20:46:34 Finished building BAM-PROV-APIARC-2.