Pull request #489 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-c Obtained Jenkinsfile from 4fd424d7e53b82d3c5a3241ef1d9ef709407805f+753c0e66273d645c82de476ca0a438ee98891f55 (7d63e608d280830dd1488e98e54e6fe95dd057c1) 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-ssh8062950076175501439.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11163978325153021431.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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/device-sdk-c/branches/PR-489/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/device-sdk-c/branches/PR-489/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11110910234185286616.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/device-sdk-c/branches/PR-489/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9797133318439669120.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18359623887680664065.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/device-sdk-c/branches/PR-489/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/device-sdk-c/branches/PR-489/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17679722631000122249.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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 ========================================================= [edgeXBuildCApp] RAW Config: [project:device-sdk-c, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine, pushImage:false] ========================================================= [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 ========================================================= [edgeXBuildCApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-c-settings PROJECT: device-sdk-c USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build DOCKER_FILE_PATH: scripts/Dockerfile.alpine DOCKER_BUILD_FILE_PATH: scripts/Dockerfile.alpine-base DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15386 in /w/workspace/edgexfoundry_device-sdk-c_PR-489 [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/device-sdk-c.git > git init /w/workspace/edgexfoundry_device-sdk-c_PR-489 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.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/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.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/device-sdk-c.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 4fd424d7e53b82d3c5a3241ef1d9ef709407805f Merge succeeded, producing 4fd424d7e53b82d3c5a3241ef1d9ef709407805f Checking out Revision 4fd424d7e53b82d3c5a3241ef1d9ef709407805f (PR-489) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f # 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 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f # timeout=10 Commit message: "ci: move to alpine 3.18 base" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:24:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:24:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:24:37 ========================================================= 23:24:37 EdgeX Global Pipelines Version Info 23:24:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:24:38 ------------------- 23:24:38 stable info: 23:24:38 ------------------- 23:24:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:24:38 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:24:38 Message: update stable to v1.0.254 23:24:38 ------------------- 23:24:38 experimental info: 23:24:38 ------------------- 23:24:38 Commited By: **** collab-it+edgex@linuxfoundation.org 23:24:38 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 23:24:38 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:24:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-c-settings [Pipeline] echo 23:24:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-c [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-489 [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-489 [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-489 [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4fd424d7e53b82d3c5a3241ef1d9ef709407805f [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4fd424d [Pipeline] echo 23:24:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:39 provisioning config files... 23:24:39 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config9486864539923667186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:40 ---> docker-login.sh 23:24:40 nexus3.edgexfoundry.org:10001 23:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:40 Configure a credential helper to remove this warning. See 23:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:40 23:24:40 Login Succeeded 23:24:40 nexus3.edgexfoundry.org:10002 23:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:40 Configure a credential helper to remove this warning. See 23:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:40 23:24:40 Login Succeeded 23:24:40 nexus3.edgexfoundry.org:10003 23:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:40 Configure a credential helper to remove this warning. See 23:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:40 23:24:40 Login Succeeded 23:24:40 nexus3.edgexfoundry.org:10004 23:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:40 Configure a credential helper to remove this warning. See 23:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:40 23:24:40 Login Succeeded 23:24:40 docker.io 23:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:41 Configure a credential helper to remove this warning. See 23:24:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:41 23:24:41 Login Succeeded 23:24:41 ---> docker-login.sh ends [Pipeline] } 23:24:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 23:24:41 + git rev-list -1 --merges 4fd424d7e53b82d3c5a3241ef1d9ef709407805f~1..4fd424d7e53b82d3c5a3241ef1d9ef709407805f [Pipeline] echo 23:24:41 -----------> git rev-list -1 --merges 4fd424d7e53b82d3c5a3241ef1d9ef709407805f~1..4fd424d7e53b82d3c5a3241ef1d9ef709407805f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f [false] [Pipeline] sh 23:24:42 + git log --format=format:%s -1 4fd424d7e53b82d3c5a3241ef1d9ef709407805f [Pipeline] echo 23:24:42 ========================================================= 23:24:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:24:42 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:24:42 + git rev-list -1 --merges 4fd424d7e53b82d3c5a3241ef1d9ef709407805f~1..4fd424d7e53b82d3c5a3241ef1d9ef709407805f [Pipeline] echo 23:24:42 -----------> git rev-list -1 --merges 4fd424d7e53b82d3c5a3241ef1d9ef709407805f~1..4fd424d7e53b82d3c5a3241ef1d9ef709407805f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f [false] [Pipeline] sh 23:24:43 + git log --format=format:%s -1 4fd424d7e53b82d3c5a3241ef1d9ef709407805f [Pipeline] echo 23:24:43 ========================================================= 23:24:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:24:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 23:24:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:24:43 + grep -v github /etc/ssh/ssh_known_hosts 23:24:43 + [ -e /tmp/ssh_known_hosts ] 23:24:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:24:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:24:43 + sudo tee -a /etc/ssh/ssh_known_hosts 23:24:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:44 23:24:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:44 0.1.4: Pulling from edgex-devops/py-git-semver 23:24:44 b85a868b505f: Pulling fs layer 23:24:44 e2be974225ed: Pulling fs layer 23:24:44 339a4e72a1f5: Pulling fs layer 23:24:44 988bab9f4d93: Pulling fs layer 23:24:44 1469e6f7b9e6: Pulling fs layer 23:24:44 eaf3925da568: Pulling fs layer 23:24:44 bab4dde63d76: Pulling fs layer 23:24:44 bde34c3a00c8: Pulling fs layer 23:24:44 b352a97aabf1: Pulling fs layer 23:24:44 4872d77fe225: Pulling fs layer 23:24:44 5851b861e8e6: Pulling fs layer 23:24:44 988bab9f4d93: Waiting 23:24:44 1469e6f7b9e6: Waiting 23:24:44 eaf3925da568: Waiting 23:24:44 bab4dde63d76: Waiting 23:24:44 bde34c3a00c8: Waiting 23:24:44 b352a97aabf1: Waiting 23:24:44 4872d77fe225: Waiting 23:24:44 5851b861e8e6: Waiting 23:24:44 e2be974225ed: Verifying Checksum 23:24:44 e2be974225ed: Download complete 23:24:44 988bab9f4d93: Verifying Checksum 23:24:44 988bab9f4d93: Download complete 23:24:44 339a4e72a1f5: Verifying Checksum 23:24:44 339a4e72a1f5: Download complete 23:24:44 1469e6f7b9e6: Verifying Checksum 23:24:44 1469e6f7b9e6: Download complete 23:24:44 eaf3925da568: Download complete 23:24:44 bde34c3a00c8: Download complete 23:24:44 b352a97aabf1: Verifying Checksum 23:24:44 b352a97aabf1: Download complete 23:24:44 4872d77fe225: Verifying Checksum 23:24:44 4872d77fe225: Download complete 23:24:44 5851b861e8e6: Verifying Checksum 23:24:44 5851b861e8e6: Download complete 23:24:44 b85a868b505f: Verifying Checksum 23:24:44 b85a868b505f: Download complete 23:24:45 bab4dde63d76: Verifying Checksum 23:24:45 bab4dde63d76: Download complete 23:24:45 b85a868b505f: Pull complete 23:24:45 e2be974225ed: Pull complete 23:24:46 339a4e72a1f5: Pull complete 23:24:46 988bab9f4d93: Pull complete 23:24:46 1469e6f7b9e6: Pull complete 23:24:46 eaf3925da568: Pull complete 23:24:48 bab4dde63d76: Pull complete 23:24:48 bde34c3a00c8: Pull complete 23:24:48 b352a97aabf1: Pull complete 23:24:48 4872d77fe225: Pull complete 23:24:48 5851b861e8e6: Pull complete 23:24:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:24:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:24:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:48 prd-ubuntu20.04-docker-8c-8g-15386 does not seem to be running inside a container 23:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-c_PR-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:24:50 $ docker top aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f -eo pid,comm 23:24:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:24:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:24:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:51 [ssh-agent] Looking for ssh-agent implementation... 23:24:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:51 $ docker exec aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f ssh-agent 23:24:51 SSH_AUTH_SOCK=/tmp/ssh-vJEPMljvOapM/agent.32 23:24:51 SSH_AGENT_PID=38 23:24:51 Running ssh-add (command line suppressed) 23:24:51 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_17972873929406721804.key (/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_17972873929406721804.key) 23:24:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:51 + git tag --points-at HEAD [Pipeline] } 23:24:51 $ docker exec --env ******** --env ******** aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f ssh-agent -k 23:24:51 unset SSH_AUTH_SOCK; 23:24:51 unset SSH_AGENT_PID; 23:24:51 echo Agent pid 38 killed; 23:24:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:24:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:24:51 [ssh-agent] Looking for ssh-agent implementation... 23:24:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:24:52 $ docker exec aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f ssh-agent 23:24:52 SSH_AUTH_SOCK=/tmp/ssh-zF93YzoouCG5/agent.70 23:24:52 SSH_AGENT_PID=76 23:24:52 Running ssh-add (command line suppressed) 23:24:52 Identity added: /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_3890316488967553838.key (/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/private_key_3890316488967553838.key) 23:24:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:24:52 + git semver init 23:24:52 2023-10-30 23:24:52,831 [run_init] DEBUG init version:0.0.0 force:False 23:24:52 2023-10-30 23:24:52,832 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver 23:24:52 2023-10-30 23:24:52,833 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-c.git /w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver 23:24:52 2023-10-30 23:24:52,834 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-c.git', '/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489, universal_newlines=False, shell=None, istream=None) 23:24:53 2023-10-30 23:24:53,666 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.git/info/exclude 23:24:53 2023-10-30 23:24:53,667 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 with force:False 23:24:53 2023-10-30 23:24:53,667 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 23:24:53 2023-10-30 23:24:53,672 [execute] INFO git cat-file --batch-check 23:24:53 2023-10-30 23:24:53,673 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver, universal_newlines=False, shell=None, istream=) 23:24:53 2023-10-30 23:24:53,680 [execute] INFO git cat-file --batch 23:24:53 2023-10-30 23:24:53,681 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver, universal_newlines=False, shell=None, istream=) 23:24:53 2023-10-30 23:24:53,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-c_PR-489/.semver/PR-489 23:24:53 0.0.0 [Pipeline] } 23:24:53 $ docker exec --env ******** --env ******** aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f ssh-agent -k 23:24:53 unset SSH_AUTH_SOCK; 23:24:53 unset SSH_AGENT_PID; 23:24:53 echo Agent pid 76 killed; 23:24:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:24:54 + git semver [Pipeline] } 23:24:54 $ docker stop --time=1 aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f 23:24:55 $ docker rm -f --volumes aea3997e6fee293d76e3283f8a365a1498f2d9291cf5c152ef241a316cff0c8f [Pipeline] // withDockerContainer [Pipeline] sh 23:24:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:24:56 Stashed 1 file(s) [Pipeline] echo 23:24:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:24:57 provisioning config files... 23:24:57 copy managed file [device-sdk-c-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config14458003585060533845tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:24:57 ---> docker-login.sh 23:24:57 nexus3.edgexfoundry.org:10001 23:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:57 Configure a credential helper to remove this warning. See 23:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:57 23:24:57 Login Succeeded 23:24:57 nexus3.edgexfoundry.org:10002 23:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:57 Configure a credential helper to remove this warning. See 23:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:57 23:24:57 Login Succeeded 23:24:57 nexus3.edgexfoundry.org:10003 23:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:57 Configure a credential helper to remove this warning. See 23:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:57 23:24:57 Login Succeeded 23:24:57 nexus3.edgexfoundry.org:10004 23:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:57 Configure a credential helper to remove this warning. See 23:24:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:57 23:24:57 Login Succeeded 23:24:57 docker.io 23:24:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:24:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:24:58 Configure a credential helper to remove this warning. See 23:24:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:24:58 23:24:58 Login Succeeded 23:24:58 ---> docker-login.sh ends [Pipeline] } 23:24:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:58 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 23:24:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:24:58 ========================================================= 23:24:58 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 23:24:58 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:58 + docker build -t ci-base-image-x86_64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest . 23:24:58 Sending build context to Docker daemon 4.926MB 23:24:58 Step 1/21 : ARG BASE=alpine:3.18 23:24:58 Step 2/21 : FROM ${BASE} as builder 23:24:58 latest: Pulling from edgex-devops/edgex-gcc-base 23:24:58 96526aa774ef: Pulling fs layer 23:24:58 da60e534fd72: Pulling fs layer 23:24:58 96526aa774ef: Verifying Checksum 23:24:58 96526aa774ef: Download complete 23:24:59 96526aa774ef: Pull complete 23:24:59 da60e534fd72: Verifying Checksum 23:24:59 da60e534fd72: Download complete 23:25:03 da60e534fd72: Pull complete 23:25:03 Digest: sha256:86f282524b252fca782185160d82ec4889448d07d1475dd6b76f2052073facff 23:25:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest 23:25:03 ---> 6605166a5db4 23:25:03 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:25:03 ---> Running in dfd11cbdfe60 23:25:03 Connecting to iotech.jfrog.io (34.246.139.145:443) 23:25:04 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:25:04 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:25:04 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:25:04 Removing intermediate container dfd11cbdfe60 23:25:04 ---> 9ed2375d1534 23:25:04 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 23:25:04 ---> Running in a04e6fb32bf1 23:25:05 Removing intermediate container a04e6fb32bf1 23:25:05 ---> eb330106d033 23:25:05 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:25:05 ---> Running in 71f6b7131c98 23:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:25:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:25:05 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/x86_64/APKINDEX.tar.gz 23:25:06 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:25:06 ERROR: unable to select packages: 23:25:06 paho-mqtt-c-dev-1.3 (no such package): 23:25:06 required by: world[paho-mqtt-c-dev-1.3] 23:25:06 The command '/bin/sh -c apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:07 23:25:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:08 latest: Pulling from edgex-lftools-log-publisher 23:25:08 5eb5b503b376: Pulling fs layer 23:25:08 5c69ac0246d0: Pulling fs layer 23:25:08 ec43610c2a17: Pulling fs layer 23:25:08 3a2ae6a8a46f: Pulling fs layer 23:25:08 33b1e0a273af: Pulling fs layer 23:25:08 5d3b04190fa2: Pulling fs layer 23:25:08 2f39f015ded8: Pulling fs layer 23:25:08 33b1e0a273af: Waiting 23:25:08 5d3b04190fa2: Waiting 23:25:08 3a2ae6a8a46f: Waiting 23:25:08 2f39f015ded8: Waiting 23:25:08 5c69ac0246d0: Verifying Checksum 23:25:08 5c69ac0246d0: Download complete 23:25:08 3a2ae6a8a46f: Verifying Checksum 23:25:08 3a2ae6a8a46f: Download complete 23:25:08 33b1e0a273af: Verifying Checksum 23:25:08 33b1e0a273af: Download complete 23:25:08 5d3b04190fa2: Verifying Checksum 23:25:08 5d3b04190fa2: Download complete 23:25:08 ec43610c2a17: Verifying Checksum 23:25:08 ec43610c2a17: Download complete 23:25:08 5eb5b503b376: Verifying Checksum 23:25:08 5eb5b503b376: Download complete 23:25:09 2f39f015ded8: Download complete 23:25:09 5eb5b503b376: Pull complete 23:25:09 5c69ac0246d0: Pull complete 23:25:10 ec43610c2a17: Pull complete 23:25:10 3a2ae6a8a46f: Pull complete 23:25:10 33b1e0a273af: Pull complete 23:25:10 5d3b04190fa2: Pull complete 23:25:11 Still waiting to schedule task 23:25:11 Executor slot already in use 23:25:11 ‘prd-centos7-blackbox-4c-2g-12692’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu18.04-docker-8c-8g-15374’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu18.04-docker-8c-8g-15376’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu18.04-docker-8c-8g-15379’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-8c-8g-13647’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-8c-8g-15367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-8c-8g-15387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-8c-8g-15388’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-8c-8g-15389’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 23:25:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15378’ is offline 23:25:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15384’ is offline 23:25:14 2f39f015ded8: Pull complete 23:25:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:25:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:25:15 prd-ubuntu20.04-docker-8c-8g-15386 does not seem to be running inside a container 23:25:15 $ 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_device-sdk-c_PR-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:25:16 $ docker top ee92358831ba479662f4a8bb459c366f750fca6b22ea4ba652cc9d751ef5e5ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:16 ---> job-cost.sh 23:25:16 lf-activate-venv: SKIPPING 23:25:16 INFO: No Stack... 23:25:17 INFO: Retrieving Pricing Info for: v3-standard-8 23:25:17 INFO: Archiving Costs [Pipeline] sh 23:25:18 + cat /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/cost.csv 23:25:18 + cut -d, -f6 [Pipeline] lock 23:25:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] 23:25:18 Resource [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] did not exist. Created. 23:25:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:25:18 + echo total: 0.2199999988079071 [Pipeline] stash 23:25:18 Stashed 1 file(s) [Pipeline] } 23:25:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:25:18 $ docker stop --time=1 ee92358831ba479662f4a8bb459c366f750fca6b22ea4ba652cc9d751ef5e5ec 23:25:19 $ docker rm -f --volumes ee92358831ba479662f4a8bb459c366f750fca6b22ea4ba652cc9d751ef5e5ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:20 Failed in branch amd64 23:27:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15390 in /w/workspace/edgexfoundry_device-sdk-c_PR-489 [Pipeline] { [Pipeline] ws 23:27:53 Running in /w/workspace/device-sdk-c/1 [Pipeline] { [Pipeline] checkout 23:27:53 Selected Git installation does not exist. Using Default 23:27:53 The recommended git tool is: NONE 23:28:00 using credential edgex-jenkins-ssh 23:28:00 Cloning the remote Git repository 23:28:00 Cloning repository git@github.com:edgexfoundry/device-sdk-c.git 23:28:00 > git init /w/workspace/device-sdk-c/1 # timeout=10 23:28:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:28:00 > git --version # timeout=10 23:28:00 > git --version # 'git version 2.25.1' 23:28:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:28:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:28:03 Merging remotes/origin/main commit 753c0e66273d645c82de476ca0a438ee98891f55 into PR head commit 4fd424d7e53b82d3c5a3241ef1d9ef709407805f 23:28:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-c.git # timeout=10 23:28:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-c.git 23:28:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-c.git +refs/pull/489/head:refs/remotes/origin/PR-489 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:28:03 > git config core.sparsecheckout # timeout=10 23:28:04 > git checkout -f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f # timeout=10 23:28:04 Merge succeeded, producing 4fd424d7e53b82d3c5a3241ef1d9ef709407805f 23:28:04 Checking out Revision 4fd424d7e53b82d3c5a3241ef1d9ef709407805f (PR-489) 23:28:04 > git remote # timeout=10 23:28:04 > git config --get remote.origin.url # timeout=10 23:28:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:28:04 > git merge 753c0e66273d645c82de476ca0a438ee98891f55 # timeout=10 23:28:04 > git rev-parse HEAD^{commit} # timeout=10 23:28:04 > git config core.sparsecheckout # timeout=10 23:28:04 > git checkout -f 4fd424d7e53b82d3c5a3241ef1d9ef709407805f # timeout=10 23:28:08 Commit message: "ci: move to alpine 3.18 base" 23:28:08 > git --version # timeout=10 23:28:08 > git --version # 'git version 2.25.1' 23:28:08 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:28:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:09 Dload Upload Total Spent Left Speed 23:28:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 23:28:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:28:10 + sudo tee /etc/docker/daemon.new 23:28:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:28:10 { 23:28:10 "registry-mirrors": [ 23:28:10 "https://nexus3.edgexfoundry.org:10001" 23:28:10 ], 23:28:10 "bip": "10.250.0.254/24", 23:28:10 "hosts": [ 23:28:10 "tcp://0.0.0.0:5555", 23:28:10 "unix:///var/run/docker.sock" 23:28:10 ], 23:28:10 "mtu": 1458, 23:28:10 "selinux-enabled": true, 23:28:10 "seccomp-profile": "/etc/docker/seccomp.json" 23:28:10 } [Pipeline] sh 23:28:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:28:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:30 provisioning config files... 23:28:30 copy managed file [device-sdk-c-settings] to file:/w/workspace/device-sdk-c/1@tmp/config17939321846545695941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:30 ---> docker-login.sh 23:28:30 nexus3.edgexfoundry.org:10001 23:28:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:30 Configure a credential helper to remove this warning. See 23:28:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:30 23:28:30 Login Succeeded 23:28:30 nexus3.edgexfoundry.org:10002 23:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:31 Configure a credential helper to remove this warning. See 23:28:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:31 23:28:31 Login Succeeded 23:28:31 nexus3.edgexfoundry.org:10003 23:28:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:31 Configure a credential helper to remove this warning. See 23:28:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:31 23:28:31 Login Succeeded 23:28:31 nexus3.edgexfoundry.org:10004 23:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:32 Configure a credential helper to remove this warning. See 23:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:32 23:28:32 Login Succeeded 23:28:32 docker.io 23:28:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:28:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:28:32 Configure a credential helper to remove this warning. See 23:28:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:28:32 23:28:32 Login Succeeded 23:28:32 ---> docker-login.sh ends [Pipeline] } 23:28:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:33 [prepBaseBuildImage] Generating new image with name: ci-base-image-arm64 [Pipeline] echo 23:28:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:28:33 ========================================================= 23:28:33 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest] 23:28:33 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:33 + docker build -t ci-base-image-arm64 -f scripts/Dockerfile.alpine-base --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest . 23:28:38 Sending build context to Docker daemon 2.952MB 23:28:38 Step 1/21 : ARG BASE=alpine:3.18 23:28:38 Step 2/21 : FROM ${BASE} as builder 23:28:38 latest: Pulling from edgex-devops/edgex-gcc-base-arm64 23:28:38 579b34f0a95b: Pulling fs layer 23:28:38 e71477ac5e1b: Pulling fs layer 23:28:38 579b34f0a95b: Verifying Checksum 23:28:38 579b34f0a95b: Download complete 23:28:38 579b34f0a95b: Pull complete 23:28:40 e71477ac5e1b: Verifying Checksum 23:28:40 e71477ac5e1b: Download complete 23:28:52 e71477ac5e1b: Pull complete 23:28:52 Digest: sha256:d6da9bdca73313daf4d05ece6476ab4dbe9e0e950a139422d865873582b0d46d 23:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base-arm64:latest 23:28:52 ---> 2b552cad5dd9 23:28:52 Step 3/21 : RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 23:28:52 ---> Running in a02c573b2f3a 23:28:54 Connecting to iotech.jfrog.io (34.247.22.236:443) 23:28:54 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 23:28:54 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 23:28:54 '/etc/apk/keys/alpine.dev.rsa.pub' saved 23:28:55 Removing intermediate container a02c573b2f3a 23:28:55 ---> 0498f5c0ec3d 23:28:55 Step 4/21 : RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main' >> /etc/apk/repositories 23:28:55 ---> Running in 8a8fdcee538f 23:28:57 Removing intermediate container 8a8fdcee538f 23:28:57 ---> 2a3f6dfe1bb8 23:28:57 Step 5/21 : RUN apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev 23:28:57 ---> Running in db1018a351ae 23:28:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:28:59 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.18/main/aarch64/APKINDEX.tar.gz 23:29:00 WARNING: This apk-tools is OLD! Some packages might not function properly. 23:29:00 ERROR: unable to select packages: 23:29:00 paho-mqtt-c-dev-1.3 (no such package): 23:29:00 required by: world[paho-mqtt-c-dev-1.3] 23:29:01 The command '/bin/sh -c apk add --update --no-cache binutils gcc libc-dev make git cmake yaml-dev curl-dev libmicrohttpd-dev util-linux-dev ncurses-dev libcbor-dev paho-mqtt-c-dev-1.3 iotech-iot-1.5-dev hiredis-dev' returned a non-zero code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:02 23:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:06 arm64: Pulling from edgex-lftools-log-publisher 23:29:06 8998bd30e6a1: Pulling fs layer 23:29:06 04944245beec: Pulling fs layer 23:29:06 699f458cf7ca: Pulling fs layer 23:29:06 765212b225bb: Pulling fs layer 23:29:06 f23df028b6ca: Pulling fs layer 23:29:06 d65c8cfc05b1: Pulling fs layer 23:29:06 2437ff75d9bd: Pulling fs layer 23:29:06 765212b225bb: Waiting 23:29:06 f23df028b6ca: Waiting 23:29:06 2437ff75d9bd: Waiting 23:29:06 d65c8cfc05b1: Waiting 23:29:06 04944245beec: Verifying Checksum 23:29:06 04944245beec: Download complete 23:29:06 765212b225bb: Verifying Checksum 23:29:06 765212b225bb: Download complete 23:29:06 f23df028b6ca: Verifying Checksum 23:29:06 f23df028b6ca: Download complete 23:29:06 d65c8cfc05b1: Verifying Checksum 23:29:06 d65c8cfc05b1: Download complete 23:29:07 699f458cf7ca: Verifying Checksum 23:29:07 699f458cf7ca: Download complete 23:29:07 8998bd30e6a1: Verifying Checksum 23:29:07 8998bd30e6a1: Download complete 23:29:10 2437ff75d9bd: Download complete 23:29:12 8998bd30e6a1: Pull complete 23:29:12 04944245beec: Pull complete 23:29:14 699f458cf7ca: Pull complete 23:29:14 765212b225bb: Pull complete 23:29:15 f23df028b6ca: Pull complete 23:29:15 d65c8cfc05b1: Pull complete 23:29:34 2437ff75d9bd: Pull complete 23:29:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:34 prd-ubuntu20.04-docker-arm64-4c-16g-15390 does not seem to be running inside a container 23:29: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/device-sdk-c/1 -v /w/workspace/device-sdk-c/1:/w/workspace/device-sdk-c/1:rw,z -v /w/workspace/device-sdk-c/1@tmp:/w/workspace/device-sdk-c/1@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:29:37 $ docker top f73962d7247d8cd64ee30215a4ee7656412d7acd8fa9a7f0cbb49b8eb17be7f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:38 ---> job-cost.sh 23:29:38 lf-activate-venv: SKIPPING 23:29:38 INFO: No Stack... 23:29:39 INFO: Retrieving Pricing Info for: v3-standard-4 23:29:40 INFO: Archiving Costs [Pipeline] sh 23:29:40 + cat /w/workspace/device-sdk-c/1/archives/cost.csv 23:29:40 + cut -d, -f6 [Pipeline] lock 23:29:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] 23:29:40 Resource [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] did not exist. Created. 23:29:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:41 /w/workspace/device-sdk-c/1@tmp/durable-f012e9bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:29:42 + echo total: 0.10999999940395355 [Pipeline] stash 23:29:42 Warning: overwriting stash ‘stack-cost’ 23:29:42 Stashed 1 file(s) [Pipeline] } 23:29:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-c-PR-489-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:43 $ docker stop --time=1 f73962d7247d8cd64ee30215a4ee7656412d7acd8fa9a7f0cbb49b8eb17be7f9 23:29:44 $ docker rm -f --volumes f73962d7247d8cd64ee30215a4ee7656412d7acd8fa9a7f0cbb49b8eb17be7f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:29:45 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:29:46 + [ -d /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives ] 23:29:46 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives 23:29:46 total 16 23:29:46 drwxr-xr-x 3 root root 4096 Oct 30 23:25 . 23:29:46 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 23:25 .. 23:29:46 drwxr-xr-x 2 root root 4096 Oct 30 23:25 cost 23:29:46 -rw-r--r-- 1 root root 83 Oct 30 23:25 cost.csv 23:29:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives 23:29:46 + ls -al /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives 23:29:46 total 16 23:29:46 drwxr-xr-x 3 jenkins jenkins 4096 Oct 30 23:25 . 23:29:46 drwxrwxr-x 10 jenkins jenkins 4096 Oct 30 23:25 .. 23:29:46 drwxr-xr-x 2 jenkins jenkins 4096 Oct 30 23:25 cost 23:29:46 -rw-r--r-- 1 jenkins jenkins 83 Oct 30 23:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:29:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:47 ---> package-listing.sh 23:29:47 ++ facter osfamily 23:29:47 ++ tr '[:upper:]' '[:lower:]' 23:29:48 + OS_FAMILY=debian 23:29:48 + workspace=/w/workspace/edgexfoundry_device-sdk-c_PR-489 23:29:48 + START_PACKAGES=/tmp/packages_start.txt 23:29:48 + END_PACKAGES=/tmp/packages_end.txt 23:29:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:48 + PACKAGES=/tmp/packages_start.txt 23:29:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-489 ']' 23:29:48 + PACKAGES=/tmp/packages_end.txt 23:29:48 + case "${OS_FAMILY}" in 23:29:48 + dpkg -l 23:29:48 + grep '^ii' 23:29:48 + '[' -f /tmp/packages_start.txt ']' 23:29:48 + '[' -f /tmp/packages_end.txt ']' 23:29:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:48 + '[' /w/workspace/edgexfoundry_device-sdk-c_PR-489 ']' 23:29:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/ 23:29:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-c_PR-489/archives/ [Pipeline] echo 23:29:48 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_device-sdk-c_PR-489/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:29:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:49 prd-ubuntu20.04-docker-8c-8g-15386 does not seem to be running inside a container 23:29:49 $ 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_device-sdk-c_PR-489/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-c_PR-489 -v /w/workspace/edgexfoundry_device-sdk-c_PR-489:/w/workspace/edgexfoundry_device-sdk-c_PR-489:rw,z -v /w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp:/w/workspace/edgexfoundry_device-sdk-c_PR-489@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:49 $ docker top a7389f17c41ccd998edeacae66e1a3702023e837b1381e8fed0b5769018f7051 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:49 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:50 + mkdir -p /var/log/sysstat [Pipeline] sh 23:29:50 + ls /var/log/sa-host 23:29:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:50 provisioning config files... 23:29:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-c_PR-489@tmp/config862549165759652596tmp [Pipeline] { [Pipeline] echo 23:29:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:50 ---> create-netrc.sh [Pipeline] } 23:29:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:29:51 ---> python-tools-install.sh [Pipeline] echo 23:29:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:51 ---> sudo-logs.sh 23:29:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:29:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:52 ---> job-cost.sh 23:29:52 lf-activate-venv: SKIPPING 23:29:52 DEBUG: total: 0.2199999988079071 23:29:52 INFO: Retrieving Stack Cost... 23:29:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:52 INFO: Archiving Costs [Pipeline] echo 23:29:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:53 ---> logs-deploy.sh 23:29:53 lf-activate-venv: SKIPPING 23:29:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-c/PR-489/1 23:29:53 INFO: archiving workspace using pattern(s): 23:29:53 Archives upload complete. 23:29:54 INFO: archiving logs to Nexus 23:29:54 ---> uname -a: 23:29:54 Linux prd-ubuntu20-04-docker-8c-8g-15386 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 23:29:54 23:29:54 23:29:54 ---> lscpu: 23:29:54 Architecture: x86_64 23:29:54 CPU op-mode(s): 32-bit, 64-bit 23:29:54 Byte Order: Little Endian 23:29:54 Address sizes: 40 bits physical, 48 bits virtual 23:29:54 CPU(s): 8 23:29:54 On-line CPU(s) list: 0-7 23:29:54 Thread(s) per core: 1 23:29:54 Core(s) per socket: 1 23:29:54 Socket(s): 8 23:29:54 NUMA node(s): 1 23:29:54 Vendor ID: AuthenticAMD 23:29:54 CPU family: 23 23:29:54 Model: 49 23:29:54 Model name: AMD EPYC-Rome Processor 23:29:54 Stepping: 0 23:29:54 CPU MHz: 2800.000 23:29:54 BogoMIPS: 5600.00 23:29:54 Virtualization: AMD-V 23:29:54 Hypervisor vendor: KVM 23:29:54 Virtualization type: full 23:29:54 L1d cache: 256 KiB 23:29:54 L1i cache: 256 KiB 23:29:54 L2 cache: 4 MiB 23:29:54 L3 cache: 128 MiB 23:29:54 NUMA node0 CPU(s): 0-7 23:29:54 Vulnerability Itlb multihit: Not affected 23:29:54 Vulnerability L1tf: Not affected 23:29:54 Vulnerability Mds: Not affected 23:29:54 Vulnerability Meltdown: Not affected 23:29:54 Vulnerability Mmio stale data: Not affected 23:29:54 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 23:29:54 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 23:29:54 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 23:29:54 Vulnerability Srbds: Not affected 23:29:54 Vulnerability Tsx async abort: Not affected 23:29:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 23:29:54 23:29:54 23:29:54 ---> nproc: 23:29:54 8 23:29:54 23:29:54