Pull request #71 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d25c4d6e16ee293499ce10e76baafdd94aa3fcc1+2f4064f3f360ef7b23297cccadfc545ed317a0b4 (7b1b6b17872fa90230a0f15938697b04eada32b2) 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-ssh8202371435954384502.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-ssh1028983265051140741.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-71/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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3698571129713406829.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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9291289284658582649.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-ssh2299359810927965503.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-71/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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4757935441041829576.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 ‘prd-ubuntu20.04-docker-8c-8g-44755’ is offline Running on prd-ubuntu20.04-docker-8c-8g-44756 in /w/workspace/edgexfoundry_git-semver_PR-71 [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-71 # 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 > 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/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2f4064f3f360ef7b23297cccadfc545ed317a0b4 into PR head commit d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 Merge succeeded, producing d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 Checking out Revision d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 (PR-71) 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 core.sparsecheckout # timeout=10 > git checkout -f d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 # 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 d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:53 ========================================================= 04:22:53 EdgeX Global Pipelines Version Info 04:22:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:54 ------------------- 04:22:54 stable info: 04:22:54 ------------------- 04:22:54 Commited By: Ginny Guan ginny@iotechsys.com 04:22:54 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 04:22:54 Message: update stable to v1.0.274 04:22:54 ------------------- 04:22:54 experimental info: 04:22:54 ------------------- 04:22:54 Commited By: Ginny Guan ginny@iotechsys.com 04:22:54 Commit SHA: f9e1acd20bf9d5af03fdddd8a6974859fa1a2472 04:22:54 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 04:22:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = git-semver-settings [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar PROJECT = py-git-semver [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = false [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = py-git-semver [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = edgex-devops [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = snapshots [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_PUSH_LATEST = true [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar ARCHIVE_IMAGE = false [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar ARCHIVE_NAME = py-git-semver-archive.tar.gz [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar RELEASE_BRANCH_OVERRIDE = python [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar DOCKER_CUSTOM_TAGS = 0.1.4 [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 04:22:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 04:22:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 [Pipeline] echo 04:22:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d25c4d6 [Pipeline] echo 04:22:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:56 provisioning config files... 04:22:56 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-71@tmp/config4788742372129403587tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:56 ---> ****-login.sh 04:22:56 nexus3.edgexfoundry.org:10001 04:22:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:57 Configure a credential helper to remove this warning. See 04:22:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:57 04:22:57 Login Succeeded 04:22:57 nexus3.edgexfoundry.org:10002 04:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:57 Configure a credential helper to remove this warning. See 04:22:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:57 04:22:57 Login Succeeded 04:22:57 nexus3.edgexfoundry.org:10003 04:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:57 Configure a credential helper to remove this warning. See 04:22:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:57 04:22:57 Login Succeeded 04:22:57 nexus3.edgexfoundry.org:10004 04:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:57 Configure a credential helper to remove this warning. See 04:22:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:57 04:22:57 Login Succeeded 04:22:57 ****.io 04:22:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:57 Configure a credential helper to remove this warning. See 04:22:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:57 04:22:57 Login Succeeded 04:22:57 ---> ****-login.sh ends [Pipeline] } 04:22:57 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 04:22:58 provisioning config files... 04:22:58 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-71@tmp/config7146431066212014170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:59 ---> ****-login.sh 04:22:59 nexus3.edgexfoundry.org:10001 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 nexus3.edgexfoundry.org:10002 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 nexus3.edgexfoundry.org:10003 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 nexus3.edgexfoundry.org:10004 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 ****.io 04:22:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:59 Configure a credential helper to remove this warning. See 04:22:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:59 04:22:59 Login Succeeded 04:22:59 ---> ****-login.sh ends [Pipeline] } 04:22:59 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 04:23:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:01 + ls -al . 04:23:01 total 64 04:23:01 drwxrwxr-x 6 jenkins jenkins 4096 Apr 11 04:22 . 04:23:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 04:22 .. 04:23:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 04:22 .git 04:23:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 04:22 .github 04:23:01 -rw-rw-r-- 1 jenkins jenkins 1056 Apr 11 04:22 .gitignore 04:23:01 -rw-rw-r-- 1 jenkins jenkins 1222 Apr 11 04:22 Dockerfile 04:23:01 -rw-rw-r-- 1 jenkins jenkins 869 Apr 11 04:22 Jenkinsfile 04:23:01 -rw-rw-r-- 1 jenkins jenkins 5651 Apr 11 04:22 README.md 04:23:01 -rw-rw-r-- 1 jenkins jenkins 2488 Apr 11 04:22 build.py 04:23:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 04:22 docs 04:23:01 -rw-rw-r-- 1 jenkins jenkins 275 Apr 11 04:22 entrypoint.sh 04:23:01 -rw-rw-r-- 1 jenkins jenkins 83 Apr 11 04:22 pyproject.toml 04:23:01 -rw-rw-r-- 1 jenkins jenkins 32 Apr 11 04:22 requirements.txt 04:23:01 -rw-rw-r-- 1 jenkins jenkins 2628 Apr 11 04:22 setup.py 04:23:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 04:22 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:01 + docker build -t edgex-devops/py-git-semver -f Dockerfile --build-arg ARCH=amd64 --label git_sha=d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 --label arch=amd64 . 04:23:01 Sending build context to Docker daemon 440.8kB 04:23:01 Step 1/20 : FROM python:3.13.2-slim AS build-image 04:23:02 3.13.2-slim: Pulling from library/python 04:23:02 8a628cdd7ccc: Pulling fs layer 04:23:02 2c672e0471fb: Pulling fs layer 04:23:02 e1860f6e4e05: Pulling fs layer 04:23:02 9b226e61ce4a: Pulling fs layer 04:23:02 9b226e61ce4a: Waiting 04:23:02 2c672e0471fb: Download complete 04:23:02 e1860f6e4e05: Verifying Checksum 04:23:02 e1860f6e4e05: Download complete 04:23:02 9b226e61ce4a: Download complete 04:23:02 8a628cdd7ccc: Verifying Checksum 04:23:02 8a628cdd7ccc: Download complete 04:23:03 8a628cdd7ccc: Pull complete 04:23:03 2c672e0471fb: Pull complete 04:23:04 e1860f6e4e05: Pull complete 04:23:04 9b226e61ce4a: Pull complete 04:23:04 Digest: sha256:6b3223eb4d93718828223966ad316909c39813dee3ee9395204940500792b740 04:23:04 Status: Downloaded newer image for python:3.13.2-slim 04:23:04 ---> 126799e6232b 04:23:04 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 04:23:05 ---> Running in 0fb1277dd927 04:23:05 Removing intermediate container 0fb1277dd927 04:23:05 ---> 3de3881d37fd 04:23:05 Step 3/20 : ENV GIT_PYTHON_TRACE 1 04:23:05 ---> Running in c51b1f6617a4 04:23:05 Removing intermediate container c51b1f6617a4 04:23:05 ---> 0f02b0447851 04:23:05 Step 4/20 : WORKDIR /code 04:23:05 ---> Running in e1b3d5557b91 04:23:05 Removing intermediate container e1b3d5557b91 04:23:05 ---> 4f74a48b3fc0 04:23:05 Step 5/20 : COPY . /code/ 04:23:05 ---> 5ff4c6efa451 04:23:05 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 04:23:05 ---> Running in 7a51800f5f40 04:23:05 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 04:23:05 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 04:23:05 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 04:23:06 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8792 kB] 04:23:06 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [512 B] 04:23:06 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [252 kB] 04:23:07 Fetched 9300 kB in 1s (8090 kB/s) 04:23:07 Reading package lists... 04:23:08 Reading package lists... 04:23:08 Building dependency tree... 04:23:08 Reading state information... 04:23:08 Package netcat is a virtual package provided by: 04:23:08 netcat-openbsd 1.219-1 04:23:08 netcat-traditional 1.10-47 04:23:08 04:23:08 E: Package 'netcat' has no installation candidate 04:23:08 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 04:23:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:10 04:23:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:10 latest: Pulling from edgex-lftools-log-publisher 04:23:10 5eb5b503b376: Pulling fs layer 04:23:10 5c69ac0246d0: Pulling fs layer 04:23:10 ec43610c2a17: Pulling fs layer 04:23:10 3a2ae6a8a46f: Pulling fs layer 04:23:10 33b1e0a273af: Pulling fs layer 04:23:10 5d3b04190fa2: Pulling fs layer 04:23:10 2f39f015ded8: Pulling fs layer 04:23:10 3a2ae6a8a46f: Waiting 04:23:10 33b1e0a273af: Waiting 04:23:10 5d3b04190fa2: Waiting 04:23:10 2f39f015ded8: Waiting 04:23:10 5c69ac0246d0: Verifying Checksum 04:23:10 5c69ac0246d0: Download complete 04:23:10 3a2ae6a8a46f: Verifying Checksum 04:23:10 3a2ae6a8a46f: Download complete 04:23:10 33b1e0a273af: Verifying Checksum 04:23:10 33b1e0a273af: Download complete 04:23:10 ec43610c2a17: Verifying Checksum 04:23:10 ec43610c2a17: Download complete 04:23:10 5d3b04190fa2: Verifying Checksum 04:23:10 5d3b04190fa2: Download complete 04:23:10 5eb5b503b376: Verifying Checksum 04:23:10 5eb5b503b376: Download complete 04:23:11 2f39f015ded8: Download complete 04:23:12 5eb5b503b376: Pull complete 04:23:12 5c69ac0246d0: Pull complete 04:23:12 ec43610c2a17: Pull complete 04:23:12 3a2ae6a8a46f: Pull complete 04:23:12 33b1e0a273af: Pull complete 04:23:12 5d3b04190fa2: Pull complete 04:23:13 Still waiting to schedule task 04:23:13 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:23:17 2f39f015ded8: Pull complete 04:23:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:23:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:17 prd-ubuntu20.04-docker-8c-8g-44756 does not seem to be running inside a container 04:23:17 $ 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-71 -v /w/workspace/edgexfoundry_git-semver_PR-71:/w/workspace/edgexfoundry_git-semver_PR-71:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-71@tmp:/w/workspace/edgexfoundry_git-semver_PR-71@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 04:23:19 $ docker top 15b230c247764b0ccbbe6a348d9b17f698c3a8703337167cccfca8577ef07093 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:19 ---> job-cost.sh 04:23:19 lf-activate-venv: SKIPPING 04:23:19 INFO: No Stack... 04:23:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:20 INFO: Archiving Costs [Pipeline] sh 04:23:20 + cat /w/workspace/edgexfoundry_git-semver_PR-71/archives/cost.csv 04:23:20 + cut -d, -f6 [Pipeline] lock 04:23:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] 04:23:20 Resource [jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] did not exist. Created. 04:23:20 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:23:21 Stashed 1 file(s) [Pipeline] } 04:23:21 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:21 $ docker stop --time=1 15b230c247764b0ccbbe6a348d9b17f698c3a8703337167cccfca8577ef07093 04:23:22 $ docker rm -f --volumes 15b230c247764b0ccbbe6a348d9b17f698c3a8703337167cccfca8577ef07093 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:23:23 Failed in branch amd64 04:24:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44757 in /w/workspace/edgexfoundry_git-semver_PR-71 [Pipeline] { [Pipeline] checkout 04:24:44 Selected Git installation does not exist. Using Default 04:24:44 The recommended git tool is: NONE 04:24:48 using credential edgex-jenkins-ssh 04:24:48 Cloning the remote Git repository 04:24:49 Cloning repository git@github.com:edgexfoundry/git-semver.git 04:24:49 > git init /w/workspace/edgexfoundry_git-semver_PR-71 # timeout=10 04:24:49 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git 04:24:49 > git --version # timeout=10 04:24:49 > git --version # 'git version 2.25.1' 04:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:49 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 04:24:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:24:51 Merging remotes/origin/main commit 2f4064f3f360ef7b23297cccadfc545ed317a0b4 into PR head commit d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 04:24:51 Merge succeeded, producing d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 04:24:51 Checking out Revision d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 (PR-71) 04:24:50 > git config remote.origin.url git@github.com:edgexfoundry/git-semver.git # timeout=10 04:24:50 Fetching upstream changes from git@github.com:edgexfoundry/git-semver.git 04:24:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/git-semver.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:24:51 > git config core.sparsecheckout # timeout=10 04:24:51 > git checkout -f d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 # timeout=10 04:24:51 > git remote # timeout=10 04:24:51 > git config --get remote.origin.url # timeout=10 04:24:51 using GIT_SSH to set credentials SSH Credentials for GitHub 04:24:51 > git merge 2f4064f3f360ef7b23297cccadfc545ed317a0b4 # timeout=10 04:24:51 > git rev-parse HEAD^{commit} # timeout=10 04:24:51 > git config core.sparsecheckout # timeout=10 04:24:51 > git checkout -f d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 # timeout=10 04:24:52 Commit message: "fix: Dockerfile to reduce vulnerabilities" 04:24:52 > git --version # timeout=10 04:24:52 > git --version # 'git version 2.25.1' 04:24:52 fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:24:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:24:57 Dload Upload Total Spent Left Speed 04:24:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12828 86 11015 0 0 93347 0 --:--:-- --:--:-- --:--:-- 92563 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 04:24:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:24:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:24:57 + sudo tee /etc/docker/daemon.new 04:24:57 { 04:24:57 "registry-mirrors": [ 04:24:57 "https://nexus3.edgexfoundry.org:10001" 04:24:57 ], 04:24:57 "bip": "10.250.0.254/24", 04:24:57 "hosts": [ 04:24:57 "tcp://0.0.0.0:5555", 04:24:57 "unix:///var/run/docker.sock" 04:24:57 ], 04:24:57 "mtu": 1458, 04:24:57 "selinux-enabled": true, 04:24:57 "seccomp-profile": "/etc/docker/seccomp.json" 04:24:57 } [Pipeline] sh 04:24:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:24:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:17 provisioning config files... 04:25:17 copy managed file [git-semver-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-71@tmp/config17177498511537546060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:17 ---> ****-login.sh 04:25:17 nexus3.edgexfoundry.org:10001 04:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:18 Configure a credential helper to remove this warning. See 04:25:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:18 04:25:18 Login Succeeded 04:25:18 nexus3.edgexfoundry.org:10002 04:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:18 Configure a credential helper to remove this warning. See 04:25:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:18 04:25:18 Login Succeeded 04:25:18 nexus3.edgexfoundry.org:10003 04:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:18 Configure a credential helper to remove this warning. See 04:25:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:18 04:25:18 Login Succeeded 04:25:18 nexus3.edgexfoundry.org:10004 04:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:19 Configure a credential helper to remove this warning. See 04:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:19 04:25:19 Login Succeeded 04:25:19 ****.io 04:25:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:19 Configure a credential helper to remove this warning. See 04:25:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:19 04:25:19 Login Succeeded 04:25:19 ---> ****-login.sh ends [Pipeline] } 04:25:19 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 04:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:21 + ls -al . 04:25:21 total 64 04:25:21 drwxrwxr-x 6 jenkins jenkins 4096 Apr 11 04:24 . 04:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 04:24 .. 04:25:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 04:24 .git 04:25:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 04:24 .github 04:25:21 -rw-rw-r-- 1 jenkins jenkins 1056 Apr 11 04:24 .gitignore 04:25:21 -rw-rw-r-- 1 jenkins jenkins 1222 Apr 11 04:24 Dockerfile 04:25:21 -rw-rw-r-- 1 jenkins jenkins 869 Apr 11 04:24 Jenkinsfile 04:25:21 -rw-rw-r-- 1 jenkins jenkins 5651 Apr 11 04:24 README.md 04:25:21 -rw-rw-r-- 1 jenkins jenkins 2488 Apr 11 04:24 build.py 04:25:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 04:24 docs 04:25:21 -rw-rw-r-- 1 jenkins jenkins 275 Apr 11 04:24 entrypoint.sh 04:25:21 -rw-rw-r-- 1 jenkins jenkins 83 Apr 11 04:24 pyproject.toml 04:25:21 -rw-rw-r-- 1 jenkins jenkins 32 Apr 11 04:24 requirements.txt 04:25:21 -rw-rw-r-- 1 jenkins jenkins 2628 Apr 11 04:24 setup.py 04:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 04:24 src [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:21 + docker build -t edgex-devops/py-git-semver-arm64 -f Dockerfile --build-arg ARCH=arm64 --label git_sha=d25c4d6e16ee293499ce10e76baafdd94aa3fcc1 --label arch=arm64 . 04:25:22 Sending build context to Docker daemon 440.8kB 04:25:22 Step 1/20 : FROM python:3.13.2-slim AS build-image 04:25:22 3.13.2-slim: Pulling from library/python 04:25:22 16c9c4a8e9ee: Pulling fs layer 04:25:22 f5c3e456f51e: Pulling fs layer 04:25:22 adc54e92deb2: Pulling fs layer 04:25:22 2b8323ca012e: Pulling fs layer 04:25:22 2b8323ca012e: Waiting 04:25:22 f5c3e456f51e: Verifying Checksum 04:25:22 f5c3e456f51e: Download complete 04:25:22 2b8323ca012e: Verifying Checksum 04:25:22 2b8323ca012e: Download complete 04:25:22 adc54e92deb2: Verifying Checksum 04:25:22 adc54e92deb2: Download complete 04:25:23 16c9c4a8e9ee: Download complete 04:25:28 16c9c4a8e9ee: Pull complete 04:25:28 f5c3e456f51e: Pull complete 04:25:30 adc54e92deb2: Pull complete 04:25:30 2b8323ca012e: Pull complete 04:25:30 Digest: sha256:6b3223eb4d93718828223966ad316909c39813dee3ee9395204940500792b740 04:25:30 Status: Downloaded newer image for python:3.13.2-slim 04:25:30 ---> 08549194f96a 04:25:30 Step 2/20 : ENV PYTHONDONTWRITEBYTECODE 1 04:25:31 ---> Running in 4193e27b2af5 04:25:31 Removing intermediate container 4193e27b2af5 04:25:31 ---> 2211d4de5719 04:25:31 Step 3/20 : ENV GIT_PYTHON_TRACE 1 04:25:31 ---> Running in 32a7ad727919 04:25:31 Removing intermediate container 32a7ad727919 04:25:31 ---> e6679c9575ae 04:25:31 Step 4/20 : WORKDIR /code 04:25:32 ---> Running in 68c9dda3b221 04:25:32 Removing intermediate container 68c9dda3b221 04:25:32 ---> 7e4e651d0b8b 04:25:32 Step 5/20 : COPY . /code/ 04:25:33 ---> 23f2103def0d 04:25:33 Step 6/20 : RUN apt-get update && apt-get install -y ssh netcat git 04:25:33 ---> Running in 8820e6c7f57b 04:25:34 Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB] 04:25:34 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] 04:25:34 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 04:25:34 Get:4 http://deb.debian.org/debian bookworm/main arm64 Packages [8692 kB] 04:25:34 Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages [512 B] 04:25:35 Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [248 kB] 04:25:37 Fetched 9195 kB in 3s (2703 kB/s) 04:25:41 Reading package lists... 04:25:43 Reading package lists... 04:25:44 Building dependency tree... 04:25:44 Reading state information... 04:25:44 Package netcat is a virtual package provided by: 04:25:44 netcat-openbsd 1.219-1 04:25:44 netcat-traditional 1.10-47 04:25:44 04:25:44 E: Package 'netcat' has no installation candidate 04:25:45 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 04:25:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:25:46 04:25:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:25:47 arm64: Pulling from edgex-lftools-log-publisher 04:25:47 8998bd30e6a1: Pulling fs layer 04:25:47 04944245beec: Pulling fs layer 04:25:47 699f458cf7ca: Pulling fs layer 04:25:47 765212b225bb: Pulling fs layer 04:25:47 f23df028b6ca: Pulling fs layer 04:25:47 d65c8cfc05b1: Pulling fs layer 04:25:47 2437ff75d9bd: Pulling fs layer 04:25:47 d65c8cfc05b1: Waiting 04:25:47 765212b225bb: Waiting 04:25:47 04944245beec: Verifying Checksum 04:25:47 04944245beec: Download complete 04:25:47 765212b225bb: Verifying Checksum 04:25:47 f23df028b6ca: Verifying Checksum 04:25:47 f23df028b6ca: Download complete 04:25:47 d65c8cfc05b1: Verifying Checksum 04:25:47 d65c8cfc05b1: Download complete 04:25:47 699f458cf7ca: Verifying Checksum 04:25:47 699f458cf7ca: Download complete 04:25:47 8998bd30e6a1: Verifying Checksum 04:25:47 8998bd30e6a1: Download complete 04:25:50 2437ff75d9bd: Download complete 04:25:52 8998bd30e6a1: Pull complete 04:25:53 04944245beec: Pull complete 04:25:54 699f458cf7ca: Pull complete 04:25:54 765212b225bb: Pull complete 04:25:55 f23df028b6ca: Pull complete 04:25:55 d65c8cfc05b1: Pull complete 04:26:14 2437ff75d9bd: Pull complete 04:26:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:26:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:14 prd-ubuntu20.04-docker-arm64-4c-16g-44757 does not seem to be running inside a container 04:26:14 $ 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-71 -v /w/workspace/edgexfoundry_git-semver_PR-71:/w/workspace/edgexfoundry_git-semver_PR-71:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-71@tmp:/w/workspace/edgexfoundry_git-semver_PR-71@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 04:26:17 $ docker top 83e56c22906c77412b842f9c095548202f9a530ec1a28154f0bce6d8f2b7f6f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:17 ---> job-cost.sh 04:26:17 lf-activate-venv: SKIPPING 04:26:17 INFO: No Stack... 04:26:18 INFO: Retrieving Pricing Info for: v3-standard-4 04:26:19 INFO: Archiving Costs [Pipeline] sh 04:26:19 + cut -d, -f6 04:26:19 + cat /w/workspace/edgexfoundry_git-semver_PR-71/archives/cost.csv [Pipeline] lock 04:26:19 Trying to acquire lock on [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] 04:26:19 Resource [jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] did not exist. Created. 04:26:19 Lock acquired on [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:20 /w/workspace/edgexfoundry_git-semver_PR-71@tmp/durable-53df600b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:26:21 + echo total: 0.10999999940395355 [Pipeline] stash 04:26:21 Warning: overwriting stash ‘stack-cost’ 04:26:21 Stashed 1 file(s) [Pipeline] } 04:26:21 Lock released on resource [Resource: jenkins-edgexfoundry-git-semver-PR-71-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:26:21 $ docker stop --time=1 83e56c22906c77412b842f9c095548202f9a530ec1a28154f0bce6d8f2b7f6f3 04:26:23 $ docker rm -f --volumes 83e56c22906c77412b842f9c095548202f9a530ec1a28154f0bce6d8f2b7f6f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:24 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 04:26:25 + [ -d /w/workspace/edgexfoundry_git-semver_PR-71/archives ] 04:26:25 + ls -al /w/workspace/edgexfoundry_git-semver_PR-71/archives 04:26:25 total 16 04:26:25 drwxr-xr-x 3 root root 4096 Apr 11 04:23 . 04:26:25 drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 04:23 .. 04:26:25 drwxr-xr-x 2 root root 4096 Apr 11 04:23 cost 04:26:25 -rw-r--r-- 1 root root 80 Apr 11 04:23 cost.csv 04:26:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_git-semver_PR-71/archives 04:26:25 + ls -al /w/workspace/edgexfoundry_git-semver_PR-71/archives 04:26:25 total 16 04:26:25 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 04:23 . 04:26:25 drwxrwxr-x 7 jenkins jenkins 4096 Apr 11 04:23 .. 04:26:25 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 04:23 cost 04:26:25 -rw-r--r-- 1 jenkins jenkins 80 Apr 11 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:26:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:26:26 ---> package-listing.sh 04:26:26 ++ facter osfamily 04:26:26 ++ tr '[:upper:]' '[:lower:]' 04:26:27 + OS_FAMILY=debian 04:26:27 + workspace=/w/workspace/edgexfoundry_git-semver_PR-71 04:26:27 + START_PACKAGES=/tmp/packages_start.txt 04:26:27 + END_PACKAGES=/tmp/packages_end.txt 04:26:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:26:27 + PACKAGES=/tmp/packages_start.txt 04:26:27 + '[' /w/workspace/edgexfoundry_git-semver_PR-71 ']' 04:26:27 + PACKAGES=/tmp/packages_end.txt 04:26:27 + case "${OS_FAMILY}" in 04:26:27 + dpkg -l 04:26:27 + grep '^ii' 04:26:27 + '[' -f /tmp/packages_start.txt ']' 04:26:27 + '[' -f /tmp/packages_end.txt ']' 04:26:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:26:27 + '[' /w/workspace/edgexfoundry_git-semver_PR-71 ']' 04:26:27 + mkdir -p /w/workspace/edgexfoundry_git-semver_PR-71/archives/ 04:26:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_git-semver_PR-71/archives/ [Pipeline] echo 04:26:27 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:26:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:28 prd-ubuntu20.04-docker-8c-8g-44756 does not seem to be running inside a container 04:26:28 $ 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-71/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-71 -v /w/workspace/edgexfoundry_git-semver_PR-71:/w/workspace/edgexfoundry_git-semver_PR-71:rw,z -v /w/workspace/edgexfoundry_git-semver_PR-71@tmp:/w/workspace/edgexfoundry_git-semver_PR-71@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 04:26:28 $ docker top 6ce3734a4a4029f14f8278b58887f5d129fd58344f89cfee9abb139421816e10 -eo pid,comm [Pipeline] { [Pipeline] sh 04:26:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:26:29 + mkdir -p /var/log/sysstat [Pipeline] sh 04:26:29 + ls /var/log/sa-host 04:26:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:29 provisioning config files... 04:26:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_git-semver_PR-71@tmp/config12346601890922082271tmp [Pipeline] { [Pipeline] echo 04:26:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:26:30 ---> create-netrc.sh [Pipeline] } 04:26:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:26:30 ---> python-tools-install.sh [Pipeline] echo 04:26:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:26:31 ---> sudo-logs.sh 04:26:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:26:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:26:31 ---> job-cost.sh 04:26:31 lf-activate-venv: SKIPPING 04:26:31 DEBUG: total: 0.2199999988079071 04:26:31 INFO: Retrieving Stack Cost... 04:26:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:26:32 INFO: Archiving Costs [Pipeline] echo 04:26:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:26:32 ---> logs-deploy.sh 04:26:32 lf-activate-venv: SKIPPING 04:26:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/git-semver/PR-71/1 04:26:32 INFO: archiving workspace using pattern(s): 04:26:33 Archives upload complete. 04:26:33 INFO: archiving logs to Nexus