Pull request #73 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44fe99e3a6d84cd547f622a825364de243199e37+2f4064f3f360ef7b23297cccadfc545ed317a0b4 (97c96194fcc67c4d40708f6521e6569fdd7d95c3) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12362084626539089096.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9041684844240455311.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/git-semver/branches/PR-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/git-semver/branches/PR-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3608279023690410677.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/git-semver/branches/PR-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh156189864279561291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f6201a7a3d6e66e18b8eca84a9a3a23cb614281a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f6201a7a3d6e66e18b8eca84a9a3a23cb614281a # timeout=10 Commit message: "Merge pull request #471 from jinlinGuan/fix-multi-arch" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10999733850792260170.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/git-semver/branches/PR-73/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/git-semver/branches/PR-73/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6803950554425249509.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildDocker] RAW Config: [project:py-git-semver, mavenSettings:git-semver-settings, dockerImageName:py-git-semver, dockerNamespace:edgex-devops, dockerNexusRepo:snapshots, dockerTags:[0.1.4], releaseBranchOverride:python] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildDocker] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: git-semver-settings PROJECT: py-git-semver USE_SEMVER: false DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: py-git-semver DOCKER_REGISTRY_NAMESPACE: edgex-devops DOCKER_NEXUS_REPO: snapshots DOCKER_PUSH_LATEST: true PUSH_DOCKER_IMAGE: true ARCHIVE_IMAGE: false ARCHIVE_NAME: py-git-semver-archive.tar.gz SEMVER_BUMP_LEVEL: pre BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-devops@lists.edgexfoundry.org RELEASE_BRANCH_OVERRIDE: python DOCKER_CUSTOM_TAGS: 0.1.4 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1302 in /w/workspace/edgexfoundry_git-semver_PR-73 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/git-semver.git > git init /w/workspace/edgexfoundry_git-semver_PR-73 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2f4064f3f360ef7b23297cccadfc545ed317a0b4 into PR head commit 44fe99e3a6d84cd547f622a825364de243199e37 Merge succeeded, producing 44fe99e3a6d84cd547f622a825364de243199e37 Checking out Revision 44fe99e3a6d84cd547f622a825364de243199e37 (PR-73) Commit message: "fix: Dockerfile to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44fe99e3a6d84cd547f622a825364de243199e37 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 2f4064f3f360ef7b23297cccadfc545ed317a0b4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44fe99e3a6d84cd547f622a825364de243199e37 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:24:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:24:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:24:11 ========================================================= 06:24:11 EdgeX Global Pipelines Version Info 06:24:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:24:12 ------------------- 06:24:12 stable info: 06:24:12 ------------------- 06:24:12 Commited By: Ginny Guan ginny@iotechsys.com 06:24:12 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 06:24:12 Message: update stable to v1.0.274 06:24:12 ------------------- 06:24:12 experimental info: 06:24:12 ------------------- 06:24:12 Commited By: Ginny Guan ginny@iotechsys.com 06:24:12 Commit SHA: d23c20eb9a5ec3463b7c8c72fdbb28744bcccce8 06:24:12 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 06:24:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = git-semver-settings [Pipeline] echo 06:24:12 [edgeXSetupEnvironment]: set envvar PROJECT = py-git-semver [Pipeline] echo 06:24:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 06:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:24:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = py-git-semver [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = py-git-semver-archive.tar.gz [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = python [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 0.1.4 [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-73 [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-73 [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-73 [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44fe99e3a6d84cd547f622a825364de243199e37 [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44fe99e [Pipeline] echo 06:24:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:13 provisioning config files... 06:24:13 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-73@tmp/config15463738577731731810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:14 ---> ****-login.sh 06:24:14 nexus3.edgexfoundry.org:10001 06:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:14 Configure a credential helper to remove this warning. See 06:24:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:14 06:24:14 Login Succeeded 06:24:14 nexus3.edgexfoundry.org:10002 06:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:14 Configure a credential helper to remove this warning. See 06:24:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:14 06:24:14 Login Succeeded 06:24:14 nexus3.edgexfoundry.org:10003 06:24:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:14 Configure a credential helper to remove this warning. See 06:24:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:14 06:24:14 Login Succeeded 06:24:14 nexus3.edgexfoundry.org:10004 06:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:15 Configure a credential helper to remove this warning. See 06:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:15 06:24:15 Login Succeeded 06:24:15 ****.io 06:24:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:15 Configure a credential helper to remove this warning. See 06:24:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:15 06:24:15 Login Succeeded 06:24:15 ---> ****-login.sh ends [Pipeline] } 06:24:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) Stage "Semver Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Docker Image) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:24:16 provisioning config files... 06:24:16 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-73@tmp/config806146531430341515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:16 ---> ****-login.sh 06:24:16 nexus3.edgexfoundry.org:10001 06:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:16 Configure a credential helper to remove this warning. See 06:24:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:16 06:24:16 Login Succeeded 06:24:16 nexus3.edgexfoundry.org:10002 06:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:16 Configure a credential helper to remove this warning. See 06:24:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:16 06:24:16 Login Succeeded 06:24:16 nexus3.edgexfoundry.org:10003 06:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:16 Configure a credential helper to remove this warning. See 06:24:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:16 06:24:16 Login Succeeded 06:24:16 nexus3.edgexfoundry.org:10004 06:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:16 Configure a credential helper to remove this warning. See 06:24:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:16 06:24:16 Login Succeeded 06:24:16 ****.io 06:24:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:24:17 Configure a credential helper to remove this warning. See 06:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:24:17 06:24:17 Login Succeeded 06:24:17 ---> ****-login.sh ends [Pipeline] } 06:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:24:18 + ls -al . 06:24:18 total 64 06:24:18 drwxrwxr-x 6 jenkins jenkins 4096 May 11 06:24 . 06:24:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:24 .. 06:24:18 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:24 .git 06:24:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:24 .github 06:24:18 -rw-rw-r-- 1 jenkins jenkins 1056 May 11 06:24 .gitignore 06:24:18 -rw-rw-r-- 1 jenkins jenkins 1222 May 11 06:24 Dockerfile 06:24:18 -rw-rw-r-- 1 jenkins jenkins 869 May 11 06:24 Jenkinsfile 06:24:18 -rw-rw-r-- 1 jenkins jenkins 5651 May 11 06:24 README.md 06:24:18 -rw-rw-r-- 1 jenkins jenkins 2488 May 11 06:24 build.py 06:24:18 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:24 docs 06:24:18 -rw-rw-r-- 1 jenkins jenkins 275 May 11 06:24 entrypoint.sh 06:24:18 -rw-rw-r-- 1 jenkins jenkins 83 May 11 06:24 pyproject.toml 06:24:18 -rw-rw-r-- 1 jenkins jenkins 32 May 11 06:24 requirements.txt 06:24:18 -rw-rw-r-- 1 jenkins jenkins 2628 May 11 06:24 setup.py 06:24:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:19 + docker build -t edgex-devops/py-git-semver -f Dockerfile --build-arg ARCH=amd64 --label git_sha=44fe99e3a6d84cd547f622a825364de243199e37 --label arch=amd64 . 06:24:19 Sending build context to Docker daemon 447.5kB 06:24:19 Step 1/20 : FROM python:3.13.2-slim AS build-image 06:24:19 3.13.2-slim: Pulling from library/python 06:24:19 8a628cdd7ccc: Pulling fs layer 06:24:19 2c672e0471fb: Pulling fs layer 06:24:19 e1860f6e4e05: Pulling fs layer 06:24:19 9b226e61ce4a: Pulling fs layer 06:24:19 2c672e0471fb: Verifying Checksum 06:24:19 2c672e0471fb: Download complete 06:24:19 e1860f6e4e05: Verifying Checksum 06:24:19 e1860f6e4e05: Download complete 06:24:19 9b226e61ce4a: Verifying Checksum 06:24:19 9b226e61ce4a: Download complete 06:24:19 8a628cdd7ccc: Verifying Checksum 06:24:19 8a628cdd7ccc: Download complete 06:24:20 8a628cdd7ccc: Pull complete 06:24:21 2c672e0471fb: Pull complete 06:24:21 e1860f6e4e05: Pull complete 06:24:21 9b226e61ce4a: Pull complete 06:24:21 Digest: sha256:6b3223eb4d93718828223966ad316909c39813dee3ee9395204940500792b740 06:24:21 Status: Downloaded newer image for python:3.13.2-slim 06:24:21 ---> 126799e6232b 06:24:21 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 06:24:22 ---> Running in 2f4b3f610296 06:24:22 Removing intermediate container 2f4b3f610296 06:24:22 ---> 081515853b21 06:24:22 Step 3/20 : ENV GIT_PYTHON_TRACE 1 06:24:22 ---> Running in 311fdee458a4 06:24:22 Removing intermediate container 311fdee458a4 06:24:22 ---> 70767e65e830 06:24:22 Step 4/20 : WORKDIR /code 06:24:22 ---> Running in e535ab029d7f 06:24:22 Removing intermediate container e535ab029d7f 06:24:22 ---> 5802c18849fc 06:24:22 Step 5/20 : COPY . /code/ 06:24:23 ---> f6fae161bd54 06:24:23 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 06:24:23 ---> Running in 1decb1245f09 06:24:23 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 06:24:23 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 06:24:23 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 06:24:23 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB] 06:24:23 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [512 B] 06:24:23 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [258 kB] 06:24:24 Fetched 9305 kB in 1s (8287 kB/s) 06:24:25 Reading package lists... 06:24:25 Reading package lists... 06:24:25 Building dependency tree... 06:24:25 Reading state information... 06:24:25 Package netcat is a virtual package provided by: 06:24:25 netcat-openbsd 1.219-1 06:24:25 netcat-traditional 1.10-47 06:24:25 06:24:25 E: Package 'netcat' has no installation candidate 06:24:25 The command '/bin/sh -c apt-get update && apt-get install -y ssh netcat git' returned a non-zero code: 100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:26 06:24:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:24:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:27 latest: Pulling from edgex-lftools-log-publisher 06:24:27 5eb5b503b376: Pulling fs layer 06:24:27 5c69ac0246d0: Pulling fs layer 06:24:27 ec43610c2a17: Pulling fs layer 06:24:27 3a2ae6a8a46f: Pulling fs layer 06:24:27 33b1e0a273af: Pulling fs layer 06:24:27 5d3b04190fa2: Pulling fs layer 06:24:27 2f39f015ded8: Pulling fs layer 06:24:27 33b1e0a273af: Waiting 06:24:27 3a2ae6a8a46f: Waiting 06:24:27 2f39f015ded8: Waiting 06:24:27 5d3b04190fa2: Waiting 06:24:27 5c69ac0246d0: Download complete 06:24:27 3a2ae6a8a46f: Verifying Checksum 06:24:27 3a2ae6a8a46f: Download complete 06:24:27 33b1e0a273af: Download complete 06:24:27 5d3b04190fa2: Verifying Checksum 06:24:27 5d3b04190fa2: Download complete 06:24:27 ec43610c2a17: Verifying Checksum 06:24:27 ec43610c2a17: Download complete 06:24:27 5eb5b503b376: Verifying Checksum 06:24:27 5eb5b503b376: Download complete 06:24:28 2f39f015ded8: Download complete 06:24:28 5eb5b503b376: Pull complete 06:24:29 5c69ac0246d0: Pull complete 06:24:29 ec43610c2a17: Pull complete 06:24:29 3a2ae6a8a46f: Pull complete 06:24:29 33b1e0a273af: Pull complete 06:24:29 5d3b04190fa2: Pull complete 06:24:31 Still waiting to schedule task 06:24:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:24:34 2f39f015ded8: Pull complete 06:24:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:24:34 prd-ubuntu20.04-docker-8c-8g-1302 does not seem to be running inside a container 06:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_git-semver_PR-73 -v /w/workspace/edgexfoundry_git-semver_PR-73:/w/workspace/edgexfoundry_git-semver_PR-73:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-73@tmp:/w/workspace/edgexfoundry_git-semver_PR-73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:24:36 $ docker top 235fc4e543aae13b571fda550318e170a06bc72e96d4ecfdf83bc9a0207a78ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:24:36 ---> job-cost.sh 06:24:36 lf-activate-venv: SKIPPING 06:24:36 INFO: No Stack... 06:24:37 INFO: Retrieving Pricing Info for: v3-standard-8 06:24:37 INFO: Archiving Costs [Pipeline] sh 06:24:37 + cat /w/workspace/edgexfoundry_git-semver_PR-73/archives/cost.csv 06:24:37 + cut -d, -f6 [Pipeline] lock 06:24:37 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] 06:24:37 Resource [jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] did not exist. Created. 06:24:37 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:24:38 + echo total: 0.2199999988079071 [Pipeline] stash 06:24:38 Stashed 1 file(s) [Pipeline] } 06:24:38 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:24:38 $ docker stop --time=1 235fc4e543aae13b571fda550318e170a06bc72e96d4ecfdf83bc9a0207a78ca 06:24:39 $ docker rm -f --volumes 235fc4e543aae13b571fda550318e170a06bc72e96d4ecfdf83bc9a0207a78ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:24:40 Failed in branch amd64 06:26:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1303 in /w/workspace/edgexfoundry_git-semver_PR-73 [Pipeline] { [Pipeline] checkout 06:26:15 Selected Git installation does not exist. Using Default 06:26:15 The recommended git tool is: NONE 06:26:19 using credential edgex-jenkins-ssh 06:26:19 Cloning the remote Git repository 06:26:19 Cloning repository git@github.com:edgexfoundry/git-semver.git 06:26:20 > git init /w/workspace/edgexfoundry_git-semver_PR-73 # timeout=10 06:26:20 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git 06:26:20 > git --version # timeout=10 06:26:20 > git --version # 'git version 2.25.1' 06:26:20 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:20 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 06:26:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:22 Merging remotes/origin/main commit 2f4064f3f360ef7b23297cccadfc545ed317a0b4 into PR head commit 44fe99e3a6d84cd547f622a825364de243199e37 06:26:22 Merge succeeded, producing 44fe99e3a6d84cd547f622a825364de243199e37 06:26:22 Checking out Revision 44fe99e3a6d84cd547f622a825364de243199e37 (PR-73) 06:26:21 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 06:26:21 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git 06:26:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:26:22 > git config core.sparsecheckout # timeout=10 06:26:22 > git checkout -f 44fe99e3a6d84cd547f622a825364de243199e37 # timeout=10 06:26:22 > git remote # timeout=10 06:26:22 > git config --get remote.origin.url # timeout=10 06:26:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:22 > git merge 2f4064f3f360ef7b23297cccadfc545ed317a0b4 # timeout=10 06:26:22 > git rev-parse HEAD^{commit} # timeout=10 06:26:22 > git config core.sparsecheckout # timeout=10 06:26:22 > git checkout -f 44fe99e3a6d84cd547f622a825364de243199e37 # timeout=10 06:26:23 Commit message: "fix: Dockerfile to reduce vulnerabilities" 06:26:23 > git --version # timeout=10 06:26:23 > git --version # 'git version 2.25.1' 06:26:23 fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:26:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:26:28 Dload Upload Total Spent Left Speed 06:26:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 87265 0 --:--:-- --:--:-- --:--:-- 87265 [Pipeline] sh 06:26:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:26:29 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 06:26:29 /etc/docker/daemon.json 06:26:29 { 06:26:29 "registry-mirrors": [ 06:26:29 "https://nexus3.edgexfoundry.org:10001" 06:26:29 ], 06:26:29 "bip": "10.250.0.254/24", 06:26:29 "hosts": [ 06:26:29 "tcp://0.0.0.0:5555", 06:26:29 "unix:///var/run/docker.sock" 06:26:29 ], 06:26:29 "mtu": 1458, 06:26:29 "selinux-enabled": true, 06:26:29 "seccomp-profile": "/etc/docker/seccomp.json" 06:26:29 } [Pipeline] sh 06:26:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:26:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:26:48 provisioning config files... 06:26:48 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-73@tmp/config5360457375943717599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:48 ---> ****-login.sh 06:26:48 nexus3.edgexfoundry.org:10001 06:26:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:49 Configure a credential helper to remove this warning. See 06:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:49 06:26:49 Login Succeeded 06:26:49 nexus3.edgexfoundry.org:10002 06:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:49 Configure a credential helper to remove this warning. See 06:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:49 06:26:49 Login Succeeded 06:26:49 nexus3.edgexfoundry.org:10003 06:26:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:49 Configure a credential helper to remove this warning. See 06:26:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:49 06:26:49 Login Succeeded 06:26:49 nexus3.edgexfoundry.org:10004 06:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:50 Configure a credential helper to remove this warning. See 06:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:50 06:26:50 Login Succeeded 06:26:50 ****.io 06:26:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:26:50 Configure a credential helper to remove this warning. See 06:26:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:26:50 06:26:50 Login Succeeded 06:26:50 ---> ****-login.sh ends [Pipeline] } 06:26:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:26:51 + ls -al . 06:26:51 total 64 06:26:51 drwxrwxr-x 6 jenkins jenkins 4096 May 11 06:26 . 06:26:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:26 .. 06:26:51 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:26 .git 06:26:51 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:26 .github 06:26:51 -rw-rw-r-- 1 jenkins jenkins 1056 May 11 06:26 .gitignore 06:26:51 -rw-rw-r-- 1 jenkins jenkins 1222 May 11 06:26 Dockerfile 06:26:51 -rw-rw-r-- 1 jenkins jenkins 869 May 11 06:26 Jenkinsfile 06:26:51 -rw-rw-r-- 1 jenkins jenkins 5651 May 11 06:26 README.md 06:26:51 -rw-rw-r-- 1 jenkins jenkins 2488 May 11 06:26 build.py 06:26:51 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:26 docs 06:26:51 -rw-rw-r-- 1 jenkins jenkins 275 May 11 06:26 entrypoint.sh 06:26:51 -rw-rw-r-- 1 jenkins jenkins 83 May 11 06:26 pyproject.toml 06:26:51 -rw-rw-r-- 1 jenkins jenkins 32 May 11 06:26 requirements.txt 06:26:51 -rw-rw-r-- 1 jenkins jenkins 2628 May 11 06:26 setup.py 06:26:51 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:26 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:52 + docker build -t edgex-devops/py-git-semver-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=44fe99e3a6d84cd547f622a825364de243199e37 --label arch=arm64 . 06:26:52 Sending build context to Docker daemon 447.5kB 06:26:52 Step 1/20 : FROM python:3.13.2-slim AS build-image 06:26:53 3.13.2-slim: Pulling from library/python 06:26:53 16c9c4a8e9ee: Pulling fs layer 06:26:53 f5c3e456f51e: Pulling fs layer 06:26:53 adc54e92deb2: Pulling fs layer 06:26:53 2b8323ca012e: Pulling fs layer 06:26:53 2b8323ca012e: Waiting 06:26:53 f5c3e456f51e: Verifying Checksum 06:26:53 f5c3e456f51e: Download complete 06:26:53 2b8323ca012e: Verifying Checksum 06:26:53 2b8323ca012e: Download complete 06:26:53 adc54e92deb2: Verifying Checksum 06:26:53 adc54e92deb2: Download complete 06:26:53 16c9c4a8e9ee: Download complete 06:26:58 16c9c4a8e9ee: Pull complete 06:26:58 f5c3e456f51e: Pull complete 06:27:01 adc54e92deb2: Pull complete 06:27:01 2b8323ca012e: Pull complete 06:27:01 Digest: sha256:6b3223eb4d93718828223966ad316909c39813dee3ee9395204940500792b740 06:27:01 Status: Downloaded newer image for python:3.13.2-slim 06:27:01 ---> 08549194f96a 06:27:01 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 06:27:01 ---> Running in 9edffff9a532 06:27:02 Removing intermediate container 9edffff9a532 06:27:02 ---> 4650865c9a28 06:27:02 Step 3/20 : ENV GIT_PYTHON_TRACE 1 06:27:02 ---> Running in 0ca55d2a945d 06:27:02 Removing intermediate container 0ca55d2a945d 06:27:02 ---> 66600c5a2bbc 06:27:02 Step 4/20 : WORKDIR /code 06:27:02 ---> Running in ea558d27f608 06:27:03 Removing intermediate container ea558d27f608 06:27:03 ---> 62624661cc5c 06:27:03 Step 5/20 : COPY . /code/ 06:27:03 ---> a62b32223f00 06:27:03 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 06:27:03 ---> Running in 647dcb6b3ce8 06:27:05 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 06:27:05 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 06:27:05 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 06:27:05 Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8692 kB] 06:27:05 Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [512 B] 06:27:05 Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [254 kB] 06:27:08 Fetched 9201 kB in 3s (2718 kB/s) 06:27:11 Reading package lists... 06:27:14 Reading package lists... 06:27:15 Building dependency tree... 06:27:15 Reading state information... 06:27:15 Package netcat is a virtual package provided by: 06:27:15 netcat-openbsd 1.219-1 06:27:15 netcat-traditional 1.10-47 06:27:15 06:27:15 E: Package 'netcat' has no installation candidate 06:27:16 The command '/bin/sh -c apt-get update && apt-get install -y ssh netcat git' returned a non-zero code: 100 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Image) Stage "Archive Image" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:17 06:27:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:17 arm64: Pulling from edgex-lftools-log-publisher 06:27:17 8998bd30e6a1: Pulling fs layer 06:27:17 04944245beec: Pulling fs layer 06:27:17 699f458cf7ca: Pulling fs layer 06:27:17 765212b225bb: Pulling fs layer 06:27:17 f23df028b6ca: Pulling fs layer 06:27:17 d65c8cfc05b1: Pulling fs layer 06:27:17 2437ff75d9bd: Pulling fs layer 06:27:17 765212b225bb: Waiting 06:27:17 f23df028b6ca: Waiting 06:27:17 d65c8cfc05b1: Waiting 06:27:17 2437ff75d9bd: Waiting 06:27:17 04944245beec: Verifying Checksum 06:27:17 04944245beec: Download complete 06:27:17 765212b225bb: Verifying Checksum 06:27:17 765212b225bb: Download complete 06:27:17 f23df028b6ca: Verifying Checksum 06:27:17 f23df028b6ca: Download complete 06:27:17 d65c8cfc05b1: Verifying Checksum 06:27:17 d65c8cfc05b1: Download complete 06:27:18 699f458cf7ca: Verifying Checksum 06:27:18 699f458cf7ca: Download complete 06:27:18 8998bd30e6a1: Verifying Checksum 06:27:18 8998bd30e6a1: Download complete 06:27:21 2437ff75d9bd: Verifying Checksum 06:27:21 2437ff75d9bd: Download complete 06:27:22 8998bd30e6a1: Pull complete 06:27:23 04944245beec: Pull complete 06:27:24 699f458cf7ca: Pull complete 06:27:25 765212b225bb: Pull complete 06:27:26 f23df028b6ca: Pull complete 06:27:26 d65c8cfc05b1: Pull complete 06:27:44 2437ff75d9bd: Pull complete 06:27:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:27:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:44 prd-ubuntu20.04-docker-arm64-4c-16g-1303 does not seem to be running inside a container 06:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_git-semver_PR-73 -v /w/workspace/edgexfoundry_git-semver_PR-73:/w/workspace/edgexfoundry_git-semver_PR-73:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-73@tmp:/w/workspace/edgexfoundry_git-semver_PR-73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:27:47 $ docker top a2def2b3749db1e9430ea7274aa5f255c6426afc2bc161476da6b8b3f36b3cc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:47 ---> job-cost.sh 06:27:48 lf-activate-venv: SKIPPING 06:27:48 INFO: No Stack... 06:27:48 INFO: Retrieving Pricing Info for: v3-standard-4 06:27:49 INFO: Archiving Costs [Pipeline] sh 06:27:49 + cat /w/workspace/edgexfoundry_git-semver_PR-73/archives/cost.csv 06:27:49 + cut -d, -f6 [Pipeline] lock 06:27:50 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] 06:27:50 Resource [jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] did not exist. Created. 06:27:50 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:27:50 /w/workspace/edgexfoundry_git-semver_PR-73@tmp/durable-42e6fab5/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:27:51 + echo total: 0.10999999940395355 [Pipeline] stash 06:27:51 Warning: overwriting stash ‘stack-cost’ 06:27:51 Stashed 1 file(s) [Pipeline] } 06:27:51 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-PR-73-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:27:51 $ docker stop --time=1 a2def2b3749db1e9430ea7274aa5f255c6426afc2bc161476da6b8b3f36b3cc9 06:27:53 $ docker rm -f --volumes a2def2b3749db1e9430ea7274aa5f255c6426afc2bc161476da6b8b3f36b3cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:27:53 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:27:55 + [ -d /w/workspace/edgexfoundry_git-semver_PR-73/archives ] 06:27:55 + ls -al /w/workspace/edgexfoundry_git-semver_PR-73/archives 06:27:55 total 16 06:27:55 drwxr-xr-x 3 root root 4096 May 11 06:24 . 06:27:55 drwxrwxr-x 7 jenkins jenkins 4096 May 11 06:24 .. 06:27:55 drwxr-xr-x 2 root root 4096 May 11 06:24 cost 06:27:55 -rw-r--r-- 1 root root 80 May 11 06:24 cost.csv 06:27:55 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_git-semver_PR-73/archives 06:27:55 + ls -al /w/workspace/edgexfoundry_git-semver_PR-73/archives 06:27:55 total 16 06:27:55 drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:24 . 06:27:55 drwxrwxr-x 7 jenkins jenkins 4096 May 11 06:24 .. 06:27:55 drwxr-xr-x 2 jenkins jenkins 4096 May 11 06:24 cost 06:27:55 -rw-r--r-- 1 jenkins jenkins 80 May 11 06:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:27:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:27:56 ---> package-listing.sh 06:27:56 ++ facter osfamily 06:27:56 ++ tr '[:upper:]' '[:lower:]' 06:27:56 + OS_FAMILY=debian 06:27:56 + workspace=/w/workspace/edgexfoundry_git-semver_PR-73 06:27:56 + START_PACKAGES=/tmp/packages_start.txt 06:27:56 + END_PACKAGES=/tmp/packages_end.txt 06:27:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:27:56 + PACKAGES=/tmp/packages_start.txt 06:27:56 + '[' /w/workspace/edgexfoundry_git-semver_PR-73 ']' 06:27:56 + PACKAGES=/tmp/packages_end.txt 06:27:56 + case "${OS_FAMILY}" in 06:27:56 + dpkg -l 06:27:56 + grep '^ii' 06:27:56 + '[' -f /tmp/packages_start.txt ']' 06:27:56 + '[' -f /tmp/packages_end.txt ']' 06:27:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:27:56 + '[' /w/workspace/edgexfoundry_git-semver_PR-73 ']' 06:27:56 + mkdir -p /w/workspace/edgexfoundry_git-semver_PR-73/archives/ 06:27:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_git-semver_PR-73/archives/ [Pipeline] echo 06:27:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_git-semver_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:27:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:57 prd-ubuntu20.04-docker-8c-8g-1302 does not seem to be running inside a container 06:27:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_git-semver_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_git-semver_PR-73 -v /w/workspace/edgexfoundry_git-semver_PR-73:/w/workspace/edgexfoundry_git-semver_PR-73:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-73@tmp:/w/workspace/edgexfoundry_git-semver_PR-73@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:27:58 $ docker top 56c699771f86ad5f8f17c706bc1fc8d70e33a46a6d3ffbab01840b9d3fb36f88 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:58 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:58 + mkdir -p /var/log/sysstat [Pipeline] sh 06:27:59 + ls /var/log/sa-host 06:27:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:59 provisioning config files... 06:27:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-73@tmp/config7572932782707414030tmp [Pipeline] { [Pipeline] echo 06:27:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:59 ---> create-netrc.sh [Pipeline] } 06:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:28:00 ---> python-tools-install.sh [Pipeline] echo 06:28:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:28:00 ---> sudo-logs.sh 06:28:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:28:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:28:00 ---> job-cost.sh 06:28:00 lf-activate-venv: SKIPPING 06:28:00 DEBUG: total: 0.2199999988079071 06:28:00 INFO: Retrieving Stack Cost... 06:28:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:28:01 INFO: Archiving Costs [Pipeline] echo 06:28:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:28:01 ---> logs-deploy.sh 06:28:01 lf-activate-venv: SKIPPING 06:28:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/git-semver/PR-73/1 06:28:01 INFO: archiving workspace using pattern(s): 06:28:02 Archives upload complete. 06:28:02 INFO: archiving logs to Nexus