Pull request #15 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2b696d00987dcbee946fcb64ee5205bd93b2b64+f58e8642700982be8554d9f031b2fff0d14b416f (ee9500d9c7575949da9e8c879917fa1127c5d4a4) 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-ssh853415470225798557.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-ssh17496723461603624312.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/device-can/branches/PR-15/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-can/branches/PR-15/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7446826416624961096.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-can/branches/PR-15/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5037714342507507908.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-ssh5805384974268098859.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-can/branches/PR-15/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-can/branches/PR-15/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7359622253712390006.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 ========================================================= [edgeXBuildCApp] RAW Config: [project:device-can, dockerBuildFilePath:scripts/Dockerfile.alpine-base, dockerFilePath:scripts/Dockerfile.alpine] ========================================================= [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-can-settings PROJECT: device-can 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-can DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true 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 Running on prd-ubuntu20.04-docker-8c-8g-4559 in /w/workspace/edgexfoundry_device-can_PR-15 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-can.git > git init /w/workspace/edgexfoundry_device-can_PR-15 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.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-can.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f58e8642700982be8554d9f031b2fff0d14b416f into PR head commit c2b696d00987dcbee946fcb64ee5205bd93b2b64 > git config remote.origin.url git@github.com:edgexfoundry/device-can.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-can.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-can.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-can.git +refs/pull/15/head:refs/remotes/origin/PR-15 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2b696d00987dcbee946fcb64ee5205bd93b2b64 # 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 f58e8642700982be8554d9f031b2fff0d14b416f # timeout=10 Merge succeeded, producing c2b696d00987dcbee946fcb64ee5205bd93b2b64 Checking out Revision c2b696d00987dcbee946fcb64ee5205bd93b2b64 (PR-15) Commit message: "fix: scripts/Dockerfile.alpine-base to reduce vulnerabilities" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f6201a7a3d6e66e18b8eca84a9a3a23cb614281a > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2b696d00987dcbee946fcb64ee5205bd93b2b64 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:30 ========================================================= 02:44:30 EdgeX Global Pipelines Version Info 02:44:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:44:31 ------------------- 02:44:31 stable info: 02:44:31 ------------------- 02:44:31 Commited By: Ginny Guan ginny@iotechsys.com 02:44:31 Commit SHA: f6201a7a3d6e66e18b8eca84a9a3a23cb614281a 02:44:31 Message: update stable to v1.0.274 02:44:32 ------------------- 02:44:32 experimental info: 02:44:32 ------------------- 02:44:32 Commited By: Ginny Guan ginny@iotechsys.com 02:44:32 Commit SHA: 274fe4ad960081a284537894dddd28d0c782a18e 02:44:32 Message: update experimental to testing [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-can-settings [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-can [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = scripts/Dockerfile.alpine [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = scripts/Dockerfile.alpine-base [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-can [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-15 [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-15 [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-15 [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2b696d00987dcbee946fcb64ee5205bd93b2b64 [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2b696d [Pipeline] echo 02:44:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:33 provisioning config files... 02:44:33 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-15@tmp/config15434255420208463389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:34 ---> ****-login.sh 02:44:34 nexus3.edgexfoundry.org:10001 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 02:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.****.com/go/credential-store/ 02:44:34 02:44:34 Login Succeeded 02:44:34 nexus3.edgexfoundry.org:10002 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 02:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.****.com/go/credential-store/ 02:44:34 02:44:34 Login Succeeded 02:44:34 nexus3.edgexfoundry.org:10003 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 02:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.****.com/go/credential-store/ 02:44:34 02:44:34 Login Succeeded 02:44:34 nexus3.edgexfoundry.org:10004 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 02:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.****.com/go/credential-store/ 02:44:34 02:44:34 Login Succeeded 02:44:34 ****.io 02:44:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:34 02:44:34 WARNING! Your credentials are stored unencrypted in '/home/jenkins/.****/config.json'. 02:44:34 Configure a credential helper to remove this warning. See 02:44:34 https://docs.****.com/go/credential-store/ 02:44:34 02:44:34 Login Succeeded 02:44:34 ---> ****-login.sh ends [Pipeline] } 02:44:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build LTS Release Image) [Pipeline] sh 02:44:35 + git rev-list -1 --merges c2b696d00987dcbee946fcb64ee5205bd93b2b64~1..c2b696d00987dcbee946fcb64ee5205bd93b2b64 [Pipeline] echo 02:44:35 -----------> git rev-list -1 --merges c2b696d00987dcbee946fcb64ee5205bd93b2b64~1..c2b696d00987dcbee946fcb64ee5205bd93b2b64 c2b696d00987dcbee946fcb64ee5205bd93b2b64 [false] [Pipeline] sh 02:44:35 + git log --format=format:%s -1 c2b696d00987dcbee946fcb64ee5205bd93b2b64 [Pipeline] echo 02:44:36 ========================================================= 02:44:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:44:36 ========================================================= Stage "Build LTS Release Image" skipped due to when conditional [Pipeline] getContext [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) Stage "amd64" skipped due to when conditional [Pipeline] getContext [Pipeline] } Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:44:36 + git rev-list -1 --merges c2b696d00987dcbee946fcb64ee5205bd93b2b64~1..c2b696d00987dcbee946fcb64ee5205bd93b2b64 [Pipeline] echo 02:44:36 -----------> git rev-list -1 --merges c2b696d00987dcbee946fcb64ee5205bd93b2b64~1..c2b696d00987dcbee946fcb64ee5205bd93b2b64 c2b696d00987dcbee946fcb64ee5205bd93b2b64 [false] [Pipeline] sh 02:44:37 + git log --format=format:%s -1 c2b696d00987dcbee946fcb64ee5205bd93b2b64 [Pipeline] echo 02:44:37 ========================================================= 02:44:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:44:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] sh 02:44:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:37 + grep -v github /etc/ssh/ssh_known_hosts 02:44:37 + [ -e /tmp/ssh_known_hosts ] 02:44:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:44:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:44:37 + sudo tee -a /etc/ssh/ssh_known_hosts 02:44:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:38 02:44:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:38 0.1.4: Pulling from edgex-devops/py-git-semver 02:44:38 3dae71ba6b94: Pulling fs layer 02:44:38 6bf1a483ea7c: Pulling fs layer 02:44:38 f5dfc541a4d3: Pulling fs layer 02:44:38 461d9e800cba: Pulling fs layer 02:44:38 80192f66455f: Pulling fs layer 02:44:38 2e8e34ca0e6c: Pulling fs layer 02:44:38 a29436f7fd5d: Pulling fs layer 02:44:38 923cac83aea3: Pulling fs layer 02:44:38 25ad8b0a4227: Pulling fs layer 02:44:38 db01528c6b51: Pulling fs layer 02:44:38 80192f66455f: Waiting 02:44:38 28988de357af: Pulling fs layer 02:44:38 461d9e800cba: Waiting 02:44:38 2e8e34ca0e6c: Waiting 02:44:38 a29436f7fd5d: Waiting 02:44:38 25ad8b0a4227: Waiting 02:44:38 923cac83aea3: Waiting 02:44:38 db01528c6b51: Waiting 02:44:38 28988de357af: Waiting 02:44:38 6bf1a483ea7c: Verifying Checksum 02:44:38 6bf1a483ea7c: Download complete 02:44:38 461d9e800cba: Download complete 02:44:39 80192f66455f: Verifying Checksum 02:44:39 80192f66455f: Download complete 02:44:39 f5dfc541a4d3: Verifying Checksum 02:44:39 f5dfc541a4d3: Download complete 02:44:39 3dae71ba6b94: Verifying Checksum 02:44:39 3dae71ba6b94: Download complete 02:44:39 923cac83aea3: Verifying Checksum 02:44:39 923cac83aea3: Download complete 02:44:39 25ad8b0a4227: Verifying Checksum 02:44:39 25ad8b0a4227: Download complete 02:44:39 db01528c6b51: Download complete 02:44:39 28988de357af: Verifying Checksum 02:44:39 28988de357af: Download complete 02:44:39 a29436f7fd5d: Verifying Checksum 02:44:39 a29436f7fd5d: Download complete 02:44:39 2e8e34ca0e6c: Verifying Checksum 02:44:39 2e8e34ca0e6c: Download complete 02:44:40 3dae71ba6b94: Pull complete 02:44:40 6bf1a483ea7c: Pull complete 02:44:41 f5dfc541a4d3: Pull complete 02:44:41 461d9e800cba: Pull complete 02:44:41 80192f66455f: Pull complete 02:44:44 2e8e34ca0e6c: Pull complete 02:44:45 a29436f7fd5d: Pull complete 02:44:45 923cac83aea3: Pull complete 02:44:45 25ad8b0a4227: Pull complete 02:44:45 db01528c6b51: Pull complete 02:44:45 28988de357af: Pull complete 02:44:45 Digest: sha256:195353f5eb8266bfc5d09c70327cc406fe11db141ac9a5f04734cd23bce6a248 02:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:44:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:45 prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container 02:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-can_PR-15 -v /w/workspace/edgexfoundry_device-can_PR-15:/w/workspace/edgexfoundry_device-can_PR-15:rw,z -v /w/workspace/edgexfoundry_device-can_PR-15@tmp:/w/workspace/edgexfoundry_device-can_PR-15@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-devops/py-git-semver:0.1.4 cat 02:44:48 $ docker top 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 -eo pid,comm 02:44:48 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). 02:44:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:48 [ssh-agent] Looking for ssh-agent implementation... 02:44:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:49 $ docker exec 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 ssh-agent 02:44:49 SSH_AUTH_SOCK=/tmp/ssh-dg1S4JJaxTDf/agent.32 02:44:49 SSH_AGENT_PID=39 02:44:49 Running ssh-add (command line suppressed) 02:44:49 Identity added: /w/workspace/edgexfoundry_device-can_PR-15@tmp/private_key_16725457474502960914.key (/w/workspace/edgexfoundry_device-can_PR-15@tmp/private_key_16725457474502960914.key) 02:44:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:49 + git tag --points-at HEAD [Pipeline] } 02:44:49 $ docker exec --env ******** --env ******** 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 ssh-agent -k 02:44:49 unset SSH_AUTH_SOCK; 02:44:49 unset SSH_AGENT_PID; 02:44:49 echo Agent pid 39 killed; 02:44:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:49 [ssh-agent] Looking for ssh-agent implementation... 02:44:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:49 $ docker exec 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 ssh-agent 02:44:50 SSH_AUTH_SOCK=/tmp/ssh-67UFJwWX43oe/agent.72 02:44:50 SSH_AGENT_PID=78 02:44:50 Running ssh-add (command line suppressed) 02:44:50 Identity added: /w/workspace/edgexfoundry_device-can_PR-15@tmp/private_key_16699766933059978251.key (/w/workspace/edgexfoundry_device-can_PR-15@tmp/private_key_16699766933059978251.key) 02:44:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:50 + git semver init 02:44:50 2025-07-05 02:44:50,707 [is_cygwin_git] DEBUG Failed checking if running in CYGWIN due to: FileNotFoundError(2, 'No such file or directory') 02:44:50 2025-07-05 02:44:50,711 [run_init] DEBUG init version:0.0.0 force:False 02:44:50 2025-07-05 02:44:50,712 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-can_PR-15/.semver 02:44:50 2025-07-05 02:44:50,713 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-can.git /w/workspace/edgexfoundry_device-can_PR-15/.semver 02:44:50 2025-07-05 02:44:50,713 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-can.git', '/w/workspace/edgexfoundry_device-can_PR-15/.semver'], cwd=/w/workspace/edgexfoundry_device-can_PR-15, stdin=None, shell=False, universal_newlines=False) 02:44:51 2025-07-05 02:44:51,271 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-can_PR-15/.git/info/exclude 02:44:51 2025-07-05 02:44:51,271 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-can_PR-15/.semver/PR-15 with force:False 02:44:51 2025-07-05 02:44:51,271 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-can_PR-15/.semver/PR-15 02:44:51 2025-07-05 02:44:51,275 [execute] INFO git cat-file --batch-check 02:44:51 2025-07-05 02:44:51,276 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-can_PR-15/.semver, stdin=, shell=False, universal_newlines=False) 02:44:51 2025-07-05 02:44:51,280 [execute] INFO git cat-file --batch 02:44:51 2025-07-05 02:44:51,280 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-can_PR-15/.semver, stdin=, shell=False, universal_newlines=False) 02:44:51 2025-07-05 02:44:51,285 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-can_PR-15/.semver/PR-15 02:44:51 0.0.0 [Pipeline] } 02:44:51 $ docker exec --env ******** --env ******** 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 ssh-agent -k 02:44:51 unset SSH_AUTH_SOCK; 02:44:51 unset SSH_AGENT_PID; 02:44:51 echo Agent pid 78 killed; 02:44:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:51 + git semver [Pipeline] } 02:44:52 $ docker stop --time=1 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 02:44:53 $ docker rm -f --volumes 31a65a9f3b1a615ae405c309fbf2c33e47c190ac20b0e7d918161d00168527b3 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:54 Stashed 1 file(s) [Pipeline] echo 02:44:54 [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) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "arm64" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:55 provisioning config files... 02:44:55 copy managed file [device-can-settings] to file:/w/workspace/edgexfoundry_device-can_PR-15@tmp/config17191493477842639560tmp [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] libraryResource [Pipeline] sh 02:44:55 ---> ****-login.sh 02:44:55 nexus3.edgexfoundry.org:10001 02:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:55 Login Succeeded 02:44:55 nexus3.edgexfoundry.org:10002 02:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:55 Login Succeeded 02:44:55 nexus3.edgexfoundry.org:10003 02:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:55 Login Succeeded 02:44:55 nexus3.edgexfoundry.org:10004 02:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:55 Login Succeeded 02:44:55 ****.io 02:44:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:56 Login Succeeded 02:44:56 ---> ****-login.sh ends [Pipeline] } 02:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:44:56 [prepBaseBuildImage] Generating new image with name: ci-base-image-x86_64 [Pipeline] echo 02:44:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:44:56 ========================================================= 02:44:56 [edgeXBuildCApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-gcc-base:latest] 02:44:56 ========================================================= [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:56 + 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 . 02:44:57 #0 building with "default" instance using docker driver 02:44:57 02:44:57 #1 [internal] load build definition from Dockerfile.alpine-base 02:44:57 #1 transferring dockerfile: 1.88kB done 02:44:57 #1 DONE 0.0s 02:44:57 02:44:57 #2 [internal] load metadata for docker.io/library/alpine:3.21.3 02:44:57 #2 DONE 0.1s 02:44:57 02:44:57 #3 [internal] load .dockerignore 02:44:57 #3 transferring context: 2B done 02:44:57 #3 DONE 0.0s 02:44:57 02:44:57 #4 [internal] load build context 02:44:57 #4 transferring context: 23.10kB done 02:44:57 #4 DONE 0.0s 02:44:57 02:44:57 #5 [ 1/11] FROM docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c 02:44:57 #5 resolve docker.io/library/alpine:3.21.3@sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c 0.0s done 02:44:57 #5 sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 3.64MB / 3.64MB 0.1s 02:44:57 #5 sha256:a8560b36e8b8210634f77d9f7f9efd7ffa463e380b75e2e74aff4511df3ef88c 9.22kB / 9.22kB done 02:44:57 #5 sha256:1c4eef651f65e2f7daee7ee785882ac164b02b78fb74503052a26dc061c90474 1.02kB / 1.02kB done 02:44:57 #5 sha256:aded1e1a5b3705116fa0a92ba074a5e0b0031647d9c315983ccba2ee5428ec8b 581B / 581B done 02:44:57 #5 sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 3.64MB / 3.64MB 0.1s done 02:44:57 #5 extracting sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 02:44:58 #5 extracting sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 0.1s done 02:44:58 #5 DONE 0.3s 02:44:58 02:44:58 #6 [ 2/11] RUN wget https://iotech.jfrog.io/artifactory/api/security/keypair/public/repositories/alpine-release -O /etc/apk/keys/alpine.dev.rsa.pub 02:44:58 #6 0.255 Connecting to iotech.jfrog.io (34.247.22.236:443) 02:44:58 #6 0.683 saving to '/etc/apk/keys/alpine.dev.rsa.pub' 02:44:58 #6 0.683 alpine.dev.rsa.pub 100% |********************************| 451 0:00:00 ETA 02:44:58 #6 0.683 '/etc/apk/keys/alpine.dev.rsa.pub' saved 02:44:58 #6 DONE 0.8s 02:44:58 02:44:58 #7 [ 3/11] RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 02:44:58 #7 DONE 0.3s 02:44:59 02:44:59 #8 [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 02:44:59 #8 0.227 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz 02:45:01 #8 2.806 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz 02:45:01 #8 2.954 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 02:45:02 #8 3.557 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:45:02 #8 3.572 ERROR: unable to select packages: 02:45:02 #8 3.572 libexecinfo-dev (no such package): 02:45:02 #8 3.572 required by: world[libexecinfo-dev] 02:45:02 #8 ERROR: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 1 02:45:02 ------ 02:45:02 > [ 4/11] RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev: 02:45:02 0.227 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz 02:45:02 2.806 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz 02:45:02 2.954 fetch https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main/x86_64/APKINDEX.tar.gz 02:45:02 3.557 WARNING: This apk-tools is OLD! Some packages might not function properly. 02:45:02 3.572 ERROR: unable to select packages: 02:45:02 3.572 libexecinfo-dev (no such package): 02:45:02 3.572 required by: world[libexecinfo-dev] 02:45:02 ------ 02:45:02 Dockerfile.alpine-base:26 02:45:02 -------------------- 02:45:02 24 | RUN echo 'https://iotech.jfrog.io/artifactory/alpine-release/v3.16/main' >> /etc/apk/repositories 02:45:02 25 | 02:45:02 26 | >>> RUN apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev 02:45:02 27 | # Ensure using latest versions of all installed packages to avoid any recent CVEs 02:45:02 28 | RUN apk --no-cache upgrade 02:45:02 -------------------- 02:45:02 ERROR: failed to solve: process "/bin/sh -c apk add --update --no-cache build-base git gcc cmake make linux-headers yaml-dev libmicrohttpd-dev curl-dev util-linux-dev ncurses-dev iotech-paho-mqtt-c-dev-1.3 hiredis-dev libcbor-dev iotech-iot-1.5-dev dumb-init libexecinfo-dev" did not complete successfully: exit code: 1 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [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] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:04 02:45:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:04 latest: Pulling from edgex-lftools-log-publisher 02:45:04 5eb5b503b376: Pulling fs layer 02:45:04 5c69ac0246d0: Pulling fs layer 02:45:04 ec43610c2a17: Pulling fs layer 02:45:04 3a2ae6a8a46f: Pulling fs layer 02:45:04 33b1e0a273af: Pulling fs layer 02:45:04 5d3b04190fa2: Pulling fs layer 02:45:04 2f39f015ded8: Pulling fs layer 02:45:04 33b1e0a273af: Waiting 02:45:04 5d3b04190fa2: Waiting 02:45:04 2f39f015ded8: Waiting 02:45:04 3a2ae6a8a46f: Waiting 02:45:04 5c69ac0246d0: Download complete 02:45:04 3a2ae6a8a46f: Verifying Checksum 02:45:04 3a2ae6a8a46f: Download complete 02:45:04 33b1e0a273af: Verifying Checksum 02:45:04 33b1e0a273af: Download complete 02:45:04 5d3b04190fa2: Verifying Checksum 02:45:04 5d3b04190fa2: Download complete 02:45:04 ec43610c2a17: Verifying Checksum 02:45:04 ec43610c2a17: Download complete 02:45:04 5eb5b503b376: Verifying Checksum 02:45:04 5eb5b503b376: Download complete 02:45:05 2f39f015ded8: Download complete 02:45:06 5eb5b503b376: Pull complete 02:45:06 5c69ac0246d0: Pull complete 02:45:06 ec43610c2a17: Pull complete 02:45:06 3a2ae6a8a46f: Pull complete 02:45:06 33b1e0a273af: Pull complete 02:45:06 5d3b04190fa2: Pull complete 02:45:12 2f39f015ded8: Pull complete 02:45:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:12 prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container 02:45:12 $ 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-can_PR-15 -v /w/workspace/edgexfoundry_device-can_PR-15:/w/workspace/edgexfoundry_device-can_PR-15:rw,z -v /w/workspace/edgexfoundry_device-can_PR-15@tmp:/w/workspace/edgexfoundry_device-can_PR-15@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:45:14 $ docker top ef72bc5d3d2b82252fc1a1cf731e266e1e9c7529981d00968040c0d4601b2e35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:15 ---> job-cost.sh 02:45:15 lf-activate-venv: SKIPPING 02:45:15 INFO: No Stack... 02:45:15 INFO: Retrieving Pricing Info for: v3-standard-8 02:45:15 INFO: Archiving Costs [Pipeline] sh 02:45:16 + cat /w/workspace/edgexfoundry_device-can_PR-15/archives/cost.csv 02:45:16 + cut -d, -f6 [Pipeline] lock 02:45:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-can-PR-15-1-stack-cost] 02:45:16 Resource [jenkins-edgexfoundry-device-can-PR-15-1-stack-cost] did not exist. Created. 02:45:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-can-PR-15-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:45:16 + echo total: 0.2199999988079071 [Pipeline] stash 02:45:16 Stashed 1 file(s) [Pipeline] } 02:45:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-can-PR-15-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:45:16 $ docker stop --time=1 ef72bc5d3d2b82252fc1a1cf731e266e1e9c7529981d00968040c0d4601b2e35 02:45:17 $ docker rm -f --volumes ef72bc5d3d2b82252fc1a1cf731e266e1e9c7529981d00968040c0d4601b2e35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:45:18 Failed in branch amd64 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:45:19 + [ -d /w/workspace/edgexfoundry_device-can_PR-15/archives ] 02:45:19 + ls -al /w/workspace/edgexfoundry_device-can_PR-15/archives 02:45:19 total 16 02:45:19 drwxr-xr-x 3 root root 4096 Jul 5 02:45 . 02:45:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 5 02:45 .. 02:45:19 drwxr-xr-x 2 root root 4096 Jul 5 02:45 cost 02:45:19 -rw-r--r-- 1 root root 80 Jul 5 02:45 cost.csv 02:45:19 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-can_PR-15/archives 02:45:19 + ls -al /w/workspace/edgexfoundry_device-can_PR-15/archives 02:45:19 total 16 02:45:19 drwxr-xr-x 3 jenkins jenkins 4096 Jul 5 02:45 . 02:45:19 drwxrwxr-x 9 jenkins jenkins 4096 Jul 5 02:45 .. 02:45:19 drwxr-xr-x 2 jenkins jenkins 4096 Jul 5 02:45 cost 02:45:19 -rw-r--r-- 1 jenkins jenkins 80 Jul 5 02:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:45:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:45:20 ---> package-listing.sh 02:45:20 ++ facter osfamily 02:45:20 ++ tr '[:upper:]' '[:lower:]' 02:45:20 + OS_FAMILY=debian 02:45:20 + workspace=/w/workspace/edgexfoundry_device-can_PR-15 02:45:20 + START_PACKAGES=/tmp/packages_start.txt 02:45:20 + END_PACKAGES=/tmp/packages_end.txt 02:45:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:45:20 + PACKAGES=/tmp/packages_start.txt 02:45:20 + '[' /w/workspace/edgexfoundry_device-can_PR-15 ']' 02:45:20 + PACKAGES=/tmp/packages_end.txt 02:45:20 + case "${OS_FAMILY}" in 02:45:20 + dpkg -l 02:45:20 + grep '^ii' 02:45:20 + '[' -f /tmp/packages_start.txt ']' 02:45:20 + '[' -f /tmp/packages_end.txt ']' 02:45:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:45:20 + '[' /w/workspace/edgexfoundry_device-can_PR-15 ']' 02:45:20 + mkdir -p /w/workspace/edgexfoundry_device-can_PR-15/archives/ 02:45:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-can_PR-15/archives/ [Pipeline] echo 02:45:20 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-can_PR-15/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:45:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:45:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:22 prd-ubuntu20.04-docker-8c-8g-4559 does not seem to be running inside a container 02:45:22 $ 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-can_PR-15/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-can_PR-15 -v /w/workspace/edgexfoundry_device-can_PR-15:/w/workspace/edgexfoundry_device-can_PR-15:rw,z -v /w/workspace/edgexfoundry_device-can_PR-15@tmp:/w/workspace/edgexfoundry_device-can_PR-15@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-lftools-log-publisher:latest cat 02:45:22 $ docker top 95bc9da30936e8d33e991e2586fe004cf527db81d815970cafa987e9291f03d6 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:22 + touch /tmp/pre-build-complete [Pipeline] sh 02:45:22 + mkdir -p /var/log/sysstat [Pipeline] sh 02:45:23 + ls /var/log/sa-host 02:45:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:45:23 provisioning config files... 02:45:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-can_PR-15@tmp/config17086688733715509200tmp [Pipeline] { [Pipeline] echo 02:45:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:45:23 ---> create-netrc.sh [Pipeline] } 02:45:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:45:24 ---> python-tools-install.sh [Pipeline] echo 02:45:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:45:24 ---> sudo-logs.sh 02:45:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:45:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:45:25 ---> job-cost.sh 02:45:25 lf-activate-venv: SKIPPING 02:45:25 DEBUG: total: 0.2199999988079071 02:45:25 INFO: Retrieving Stack Cost... 02:45:25 INFO: Retrieving Pricing Info for: v3-standard-8 02:45:25 INFO: Archiving Costs [Pipeline] echo 02:45:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:45:25 ---> logs-deploy.sh 02:45:25 lf-activate-venv: SKIPPING 02:45:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-can/PR-15/1 02:45:25 INFO: archiving workspace using pattern(s): 02:45:26 Archives upload complete. 02:45:26 INFO: archiving logs to Nexus