Pull request #196 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-gpio Obtained Jenkinsfile from 22c81a833baec478a9c4b4462af826b36bf753df+55c1d344d8db4a0ebfd83c23655690c476512767 (9052fcb5d76301217cfeb64b0e077f592a0a0741) 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-ssh910358336886111922.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-ssh4033101590999717026.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-gpio/branches/PR-196/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-gpio/branches/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8229557024754262587.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-gpio/branches/PR-196/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8161503434304838825.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-ssh6136459758509170485.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-gpio/branches/PR-196/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-gpio/branches/PR-196/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7781624040676418437.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 ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [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 ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6728’ Running on prd-ubuntu20.04-docker-8c-8g-6733 in /w/workspace/edgexfoundry_device-gpio_PR-196 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-196 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.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-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.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-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55c1d344d8db4a0ebfd83c23655690c476512767 into PR head commit 22c81a833baec478a9c4b4462af826b36bf753df Merge succeeded, producing 22c81a833baec478a9c4b4462af826b36bf753df Checking out Revision 22c81a833baec478a9c4b4462af826b36bf753df (PR-196) > git config core.sparsecheckout # timeout=10 > git checkout -f 22c81a833baec478a9c4b4462af826b36bf753df # 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 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 22c81a833baec478a9c4b4462af826b36bf753df # timeout=10 Commit message: "ci: add automated release workflow on tag creation" 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 17:22:17 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:22:17 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:22:17 ========================================================= 17:22:17 EdgeX Global Pipelines Version Info 17:22:17 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:22:18 ------------------- 17:22:18 stable info: 17:22:18 ------------------- 17:22:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:22:18 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:22:18 Message: update stable to v1.0.254 17:22:19 ------------------- 17:22:19 experimental info: 17:22:19 ------------------- 17:22:19 Commited By: **** collab-it+edgex@linuxfoundation.org 17:22:19 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:22:19 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:22:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-196 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-196 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-196 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 22c81a833baec478a9c4b4462af826b36bf753df [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 22c81a8 [Pipeline] echo 17:22:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:20 provisioning config files... 17:22:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/config16445522522585634382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:21 ---> docker-login.sh 17:22:21 nexus3.edgexfoundry.org:10001 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10002 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10003 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 nexus3.edgexfoundry.org:10004 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:21 Configure a credential helper to remove this warning. See 17:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:21 17:22:21 Login Succeeded 17:22:21 docker.io 17:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:22 Configure a credential helper to remove this warning. See 17:22:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:22 17:22:22 Login Succeeded 17:22:22 ---> docker-login.sh ends [Pipeline] } 17:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:22:22 + git rev-list -1 --merges 22c81a833baec478a9c4b4462af826b36bf753df~1..22c81a833baec478a9c4b4462af826b36bf753df [Pipeline] echo 17:22:22 -----------> git rev-list -1 --merges 22c81a833baec478a9c4b4462af826b36bf753df~1..22c81a833baec478a9c4b4462af826b36bf753df 22c81a833baec478a9c4b4462af826b36bf753df [false] [Pipeline] sh 17:22:23 + git log --format=format:%s -1 22c81a833baec478a9c4b4462af826b36bf753df [Pipeline] echo 17:22:23 ========================================================= 17:22:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:22:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:23 + git log --format=format:%s -1 22c81a833baec478a9c4b4462af826b36bf753df [Pipeline] echo 17:22:23 [semverPrep] GIT_COMMIT: 22c81a833baec478a9c4b4462af826b36bf753df, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo 17:22:23 [semverPrep] This is not a build commit. [Pipeline] sh 17:22:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:22:24 + grep -v github /etc/ssh/ssh_known_hosts 17:22:24 + [ -e /tmp/ssh_known_hosts ] 17:22:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:22:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:22:24 + sudo tee -a /etc/ssh/ssh_known_hosts 17:22:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:24 17:22:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:25 0.1.4: Pulling from edgex-devops/py-git-semver 17:22:25 b85a868b505f: Pulling fs layer 17:22:25 e2be974225ed: Pulling fs layer 17:22:25 339a4e72a1f5: Pulling fs layer 17:22:25 988bab9f4d93: Pulling fs layer 17:22:25 1469e6f7b9e6: Pulling fs layer 17:22:25 eaf3925da568: Pulling fs layer 17:22:25 bab4dde63d76: Pulling fs layer 17:22:25 bde34c3a00c8: Pulling fs layer 17:22:25 b352a97aabf1: Pulling fs layer 17:22:25 4872d77fe225: Pulling fs layer 17:22:25 5851b861e8e6: Pulling fs layer 17:22:25 988bab9f4d93: Waiting 17:22:25 1469e6f7b9e6: Waiting 17:22:25 eaf3925da568: Waiting 17:22:25 bab4dde63d76: Waiting 17:22:25 bde34c3a00c8: Waiting 17:22:25 b352a97aabf1: Waiting 17:22:25 4872d77fe225: Waiting 17:22:25 5851b861e8e6: Waiting 17:22:25 e2be974225ed: Download complete 17:22:25 988bab9f4d93: Download complete 17:22:25 1469e6f7b9e6: Verifying Checksum 17:22:25 1469e6f7b9e6: Download complete 17:22:25 b85a868b505f: Download complete 17:22:25 bde34c3a00c8: Verifying Checksum 17:22:25 bde34c3a00c8: Download complete 17:22:25 b352a97aabf1: Verifying Checksum 17:22:25 b352a97aabf1: Download complete 17:22:25 4872d77fe225: Download complete 17:22:25 5851b861e8e6: Download complete 17:22:25 339a4e72a1f5: Verifying Checksum 17:22:25 339a4e72a1f5: Download complete 17:22:25 bab4dde63d76: Verifying Checksum 17:22:25 bab4dde63d76: Download complete 17:22:26 b85a868b505f: Pull complete 17:22:27 e2be974225ed: Pull complete 17:22:27 339a4e72a1f5: Pull complete 17:22:27 988bab9f4d93: Pull complete 17:22:27 1469e6f7b9e6: Pull complete 17:22:27 eaf3925da568: Pull complete 17:22:29 bab4dde63d76: Pull complete 17:22:29 bde34c3a00c8: Pull complete 17:22:29 b352a97aabf1: Pull complete 17:22:30 4872d77fe225: Pull complete 17:22:30 5851b861e8e6: Pull complete 17:22:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:22:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:30 prd-ubuntu20.04-docker-8c-8g-6733 does not seem to be running inside a container 17:22:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-196 -v /w/workspace/edgexfoundry_device-gpio_PR-196:/w/workspace/edgexfoundry_device-gpio_PR-196:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-196@tmp:/w/workspace/edgexfoundry_device-gpio_PR-196@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:22:32 $ docker top 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 -eo pid,comm 17:22:33 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). 17:22:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:22:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:33 [ssh-agent] Looking for ssh-agent implementation... 17:22:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:33 $ docker exec 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 ssh-agent 17:22:33 SSH_AUTH_SOCK=/tmp/ssh-cTnNKpY0WnZr/agent.32 17:22:33 SSH_AGENT_PID=38 17:22:33 Running ssh-add (command line suppressed) 17:22:33 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-196@tmp/private_key_4181335921750151872.key (/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/private_key_4181335921750151872.key) 17:22:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:33 + git tag --points-at HEAD [Pipeline] } 17:22:33 $ docker exec --env ******** --env ******** 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 ssh-agent -k 17:22:33 unset SSH_AUTH_SOCK; 17:22:33 unset SSH_AGENT_PID; 17:22:33 echo Agent pid 38 killed; 17:22:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:22:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:22:34 [ssh-agent] Looking for ssh-agent implementation... 17:22:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:22:34 $ docker exec 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 ssh-agent 17:22:34 SSH_AUTH_SOCK=/tmp/ssh-TbTAJJnUZ1oA/agent.70 17:22:34 SSH_AGENT_PID=76 17:22:34 Running ssh-add (command line suppressed) 17:22:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-196@tmp/private_key_14621260612250141967.key (/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/private_key_14621260612250141967.key) 17:22:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:22:34 + git semver init 17:22:35 2023-09-20 17:22:34,961 [run_init] DEBUG init version:0.0.0 force:False 17:22:35 2023-09-20 17:22:34,962 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-196/.semver 17:22:35 2023-09-20 17:22:34,962 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-196/.semver 17:22:35 2023-09-20 17:22:34,963 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-196/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-196, universal_newlines=False, shell=None, istream=None) 17:22:35 2023-09-20 17:22:35,887 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-196/.git/info/exclude 17:22:35 2023-09-20 17:22:35,888 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-196/.semver/PR-196 with force:False 17:22:35 2023-09-20 17:22:35,888 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-196/.semver/PR-196 17:22:35 2023-09-20 17:22:35,892 [execute] INFO git cat-file --batch-check 17:22:35 2023-09-20 17:22:35,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-196/.semver, universal_newlines=False, shell=None, istream=) 17:22:35 2023-09-20 17:22:35,899 [execute] INFO git cat-file --batch 17:22:35 2023-09-20 17:22:35,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-196/.semver, universal_newlines=False, shell=None, istream=) 17:22:35 2023-09-20 17:22:35,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-196/.semver/PR-196 17:22:35 0.0.0 [Pipeline] } 17:22:35 $ docker exec --env ******** --env ******** 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 ssh-agent -k 17:22:36 unset SSH_AUTH_SOCK; 17:22:36 unset SSH_AGENT_PID; 17:22:36 echo Agent pid 76 killed; 17:22:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:22:36 + git semver [Pipeline] } 17:22:36 $ docker stop --time=1 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 17:22:38 $ docker rm -f --volumes 56fc843c42d0fd402112c696584e2e2b9dbf5a1312899153699904ce3d59e2e4 [Pipeline] // withDockerContainer [Pipeline] sh 17:22:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:22:39 Stashed 1 file(s) [Pipeline] echo 17:22:39 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [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 17:22:39 provisioning config files... 17:22:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/config8386161854066158763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:40 ---> docker-login.sh 17:22:40 nexus3.edgexfoundry.org:10001 17:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:40 Configure a credential helper to remove this warning. See 17:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:40 17:22:40 Login Succeeded 17:22:40 nexus3.edgexfoundry.org:10002 17:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:40 Configure a credential helper to remove this warning. See 17:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:40 17:22:40 Login Succeeded 17:22:40 nexus3.edgexfoundry.org:10003 17:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:40 Configure a credential helper to remove this warning. See 17:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:40 17:22:40 Login Succeeded 17:22:40 nexus3.edgexfoundry.org:10004 17:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:40 Configure a credential helper to remove this warning. See 17:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:40 17:22:40 Login Succeeded 17:22:40 docker.io 17:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:40 Configure a credential helper to remove this warning. See 17:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:40 17:22:40 Login Succeeded 17:22:40 ---> docker-login.sh ends [Pipeline] } 17:22:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:22:40 ========================================================= 17:22:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:22:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:22:41 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:22:41 Sending build context to Docker daemon 16.12MB 17:22:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:22:41 Step 2/12 : FROM ${BASE} AS builder 17:22:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:41 7264a8db6415: Pulling fs layer 17:22:41 c4d48a809fc2: Pulling fs layer 17:22:41 4f1c88b9dad5: Pulling fs layer 17:22:41 ad3a456e5733: Pulling fs layer 17:22:41 33e27b845d1e: Pulling fs layer 17:22:41 c68163c4e522: Pulling fs layer 17:22:41 50da416c3ac9: Pulling fs layer 17:22:41 23d2d4c4bb30: Pulling fs layer 17:22:41 33e27b845d1e: Waiting 17:22:41 c68163c4e522: Waiting 17:22:41 23d2d4c4bb30: Waiting 17:22:41 50da416c3ac9: Waiting 17:22:41 c4d48a809fc2: Download complete 17:22:41 ad3a456e5733: Verifying Checksum 17:22:41 ad3a456e5733: Download complete 17:22:41 33e27b845d1e: Verifying Checksum 17:22:41 33e27b845d1e: Download complete 17:22:41 7264a8db6415: Verifying Checksum 17:22:41 7264a8db6415: Download complete 17:22:41 c68163c4e522: Verifying Checksum 17:22:41 c68163c4e522: Download complete 17:22:41 7264a8db6415: Pull complete 17:22:41 c4d48a809fc2: Pull complete 17:22:41 23d2d4c4bb30: Verifying Checksum 17:22:41 23d2d4c4bb30: Download complete 17:22:42 4f1c88b9dad5: Download complete 17:22:42 50da416c3ac9: Verifying Checksum 17:22:42 50da416c3ac9: Download complete 17:22:45 4f1c88b9dad5: Pull complete 17:22:45 ad3a456e5733: Pull complete 17:22:45 33e27b845d1e: Pull complete 17:22:45 c68163c4e522: Pull complete 17:22:47 50da416c3ac9: Pull complete 17:22:48 23d2d4c4bb30: Pull complete 17:22:48 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:22:48 ---> 0786185ac409 17:22:48 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:22:52 ---> Running in e99fc03db807 17:22:52 Removing intermediate container e99fc03db807 17:22:52 ---> 07811fd6f9e2 17:22:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:52 ---> Running in 7505597e7592 17:22:52 Removing intermediate container 7505597e7592 17:22:52 ---> fc7d3d93fa21 17:22:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:22:52 ---> Running in 797e84b88331 17:22:52 Removing intermediate container 797e84b88331 17:22:52 ---> 10e9d9c41a93 17:22:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:22:52 ---> Running in fcb18a0f8641 17:22:52 Removing intermediate container fcb18a0f8641 17:22:52 ---> c4882857e3a0 17:22:52 Step 7/12 : WORKDIR /device-gpio 17:22:52 ---> Running in 72fac29e9a80 17:22:52 Removing intermediate container 72fac29e9a80 17:22:52 ---> c3bffb44d5d3 17:22:52 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:52 ---> Running in 3f713b12aa39 17:22:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:22:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:22:53 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:22:53 (2/4) Installing libedit (20221030.3.1-r1) 17:22:53 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:22:53 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:22:53 Executing busybox-1.36.1-r2.trigger 17:22:53 OK: 268 MiB in 56 packages 17:22:53 Removing intermediate container 3f713b12aa39 17:22:53 ---> 81a1e81ca8a5 17:22:53 Step 9/12 : COPY go.mod vendor* ./ 17:22:54 ---> c70431f450ff 17:22:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:54 ---> Running in 4cbb49bdc38f 17:22:54 Still waiting to schedule task 17:22:54 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6729’ 17:23:32 Removing intermediate container 4cbb49bdc38f 17:23:32 ---> 1ac3d2bf361c 17:23:32 Step 11/12 : COPY . . 17:23:32 ---> e692189f5ec0 17:23:32 Step 12/12 : RUN ${MAKE} 17:23:32 ---> Running in f086b6aca44f 17:23:32 noop 17:23:32 Removing intermediate container f086b6aca44f 17:23:32 ---> 03dfd573c2e4 17:23:32 Successfully built 03dfd573c2e4 17:23:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:33 + docker inspect -f . ci-base-image-x86_64 17:23:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:33 prd-ubuntu20.04-docker-8c-8g-6733 does not seem to be running inside a container 17:23:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-196 -v /w/workspace/edgexfoundry_device-gpio_PR-196:/w/workspace/edgexfoundry_device-gpio_PR-196:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-196@tmp:/w/workspace/edgexfoundry_device-gpio_PR-196@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:23:33 $ docker top cd88609eec4fd2ec9dd848b1be5cbad0d93b0ee312aae1a8d79452f19282b2a2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:34 + go version 17:23:34 go version go1.21.0 linux/amd64 [Pipeline] } 17:23:34 $ docker stop --time=1 cd88609eec4fd2ec9dd848b1be5cbad0d93b0ee312aae1a8d79452f19282b2a2 17:23:35 $ docker rm -f --volumes cd88609eec4fd2ec9dd848b1be5cbad0d93b0ee312aae1a8d79452f19282b2a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:36 + docker inspect -f . ci-base-image-x86_64 17:23:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:36 prd-ubuntu20.04-docker-8c-8g-6733 does not seem to be running inside a container 17:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-196 -v /w/workspace/edgexfoundry_device-gpio_PR-196:/w/workspace/edgexfoundry_device-gpio_PR-196:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-196@tmp:/w/workspace/edgexfoundry_device-gpio_PR-196@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:23:36 $ docker top c377db8d8c58a2682f6bdaff4fa18000331b6097f4e28566d2c0ef5651daa61a -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-196 [Pipeline] fileExists [Pipeline] sh 17:23:37 + make test 17:23:37 go test ./... -coverprofile=coverage.out ./... 17:23:38 ? github.com/edgexfoundry/device-gpio [no test files] 17:23:48 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:23:48 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:23:53 go vet ./... 17:23:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:56 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:56 $ docker stop --time=1 c377db8d8c58a2682f6bdaff4fa18000331b6097f4e28566d2c0ef5651daa61a 17:24:00 $ docker rm -f --volumes c377db8d8c58a2682f6bdaff4fa18000331b6097f4e28566d2c0ef5651daa61a [Pipeline] // withDockerContainer [Pipeline] sh 17:24:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:24:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:24:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:24:02 + ls -al . 17:24:02 total 168 17:24:02 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:23 . 17:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 .. 17:24:02 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 17:22 .dockerignore 17:24:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:23 .git 17:24:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 .github 17:24:02 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:22 .gitignore 17:24:02 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:22 .golangci.yml 17:24:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:22 .semver 17:24:02 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 17:22 Attribution.txt 17:24:02 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 17:22 CHANGELOG.md 17:24:02 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 17:22 Dockerfile 17:24:02 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:22 GOVERNANCE.md 17:24:02 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 17:22 Jenkinsfile 17:24:02 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:22 LICENSE 17:24:02 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 17:22 Makefile 17:24:02 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:22 OWNERS.md 17:24:02 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 17:22 README.md 17:24:02 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION 17:24:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:22 bin 17:24:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 cmd 17:24:02 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:23 coverage.out 17:24:02 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 17:22 go.mod 17:24:02 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 17:22 go.sum 17:24:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:22 internal 17:24:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:22 snap 17:24:02 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:02 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=22c81a833baec478a9c4b4462af826b36bf753df --label arch=amd64 --label version=0.0.0 . 17:24:02 Sending build context to Docker daemon 16.12MB 17:24:02 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:24:02 Step 2/25 : FROM ${BASE} AS builder 17:24:02 ---> 03dfd573c2e4 17:24:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:24:03 ---> Running in fa6cae8674ce 17:24:03 Removing intermediate container fa6cae8674ce 17:24:03 ---> 59ff09d954ce 17:24:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:24:03 ---> Running in ed1e18ff4d1a 17:24:03 Removing intermediate container ed1e18ff4d1a 17:24:03 ---> ed5fc8998c3d 17:24:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:24:03 ---> Running in 80185e41e396 17:24:03 Removing intermediate container 80185e41e396 17:24:03 ---> 4e65839151b1 17:24:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:24:03 ---> Running in 12c34c76b19d 17:24:03 Removing intermediate container 12c34c76b19d 17:24:03 ---> 83f2777ddb69 17:24:03 Step 7/25 : WORKDIR /device-gpio 17:24:03 ---> Running in 02983df79d00 17:24:03 Removing intermediate container 02983df79d00 17:24:03 ---> 5dbd5be07515 17:24:03 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:24:03 ---> Running in 95c2c49d4f0f 17:24:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:24:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:24:04 OK: 268 MiB in 56 packages 17:24:04 Removing intermediate container 95c2c49d4f0f 17:24:04 ---> 4c41ee67216f 17:24:04 Step 9/25 : COPY go.mod vendor* ./ 17:24:04 ---> 97986512138b 17:24:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:04 ---> Running in fd095e2699b9 17:24:05 Removing intermediate container fd095e2699b9 17:24:05 ---> f1f2a4717cad 17:24:05 Step 11/25 : COPY . . 17:24:06 ---> 5e1b7af527b7 17:24:06 Step 12/25 : RUN ${MAKE} 17:24:06 ---> Running in 74168dea2714 17:24:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 17:24:28 Removing intermediate container 74168dea2714 17:24:28 ---> 239f7f02364d 17:24:28 Step 13/25 : FROM alpine:3.18 17:24:28 3.18: Pulling from library/alpine 17:24:28 7264a8db6415: Already exists 17:24:28 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:24:28 Status: Downloaded newer image for alpine:3.18 17:24:28 ---> 7e01a0d0a1dc 17:24:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:24:28 ---> Running in 360d2994c6cb 17:24:28 Removing intermediate container 360d2994c6cb 17:24:28 ---> 42bdd2ec501f 17:24:28 Step 15/25 : RUN apk add --update --no-cache 17:24:28 ---> Running in 0966714a4427 17:24:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:24:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:24:28 OK: 7 MiB in 15 packages 17:24:28 Removing intermediate container 0966714a4427 17:24:28 ---> 1a2746881333 17:24:28 Step 16/25 : WORKDIR / 17:24:28 ---> Running in b01871c51974 17:24:28 Removing intermediate container b01871c51974 17:24:28 ---> be3e353df27e 17:24:28 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:24:28 ---> 224bc0475fe0 17:24:28 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:24:28 ---> 1ac6a5e711b2 17:24:28 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:24:29 ---> b780f6aed443 17:24:29 Step 20/25 : EXPOSE 59910 17:24:29 ---> Running in d3cd9a270e54 17:24:30 Removing intermediate container d3cd9a270e54 17:24:30 ---> dcc791420a33 17:24:30 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:24:30 ---> Running in 1f04550c43d5 17:24:30 Removing intermediate container 1f04550c43d5 17:24:30 ---> d964734c72d0 17:24:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:24:30 ---> Running in 15fcb73550ba 17:24:30 Removing intermediate container 15fcb73550ba 17:24:30 ---> 159ee857ce41 17:24:30 Step 23/25 : LABEL arch=amd64 17:24:30 ---> Running in 1f9f0505e5c8 17:24:30 Removing intermediate container 1f9f0505e5c8 17:24:30 ---> 9af628bba533 17:24:30 Step 24/25 : LABEL git_sha=22c81a833baec478a9c4b4462af826b36bf753df 17:24:30 ---> Running in 67965dc2782e 17:24:30 Removing intermediate container 67965dc2782e 17:24:30 ---> 9f9e6de6c503 17:24:30 Step 25/25 : LABEL version=0.0.0 17:24:30 ---> Running in 6ff4a4a73b46 17:24:30 Removing intermediate container 6ff4a4a73b46 17:24:30 ---> f288fd32359d 17:24:30 [Warning] One or more build-args [ARCH] were not consumed 17:24:30 Successfully built f288fd32359d 17:24:30 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:31 17:24:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:31 latest: Pulling from edgex-lftools-log-publisher 17:24:31 5eb5b503b376: Pulling fs layer 17:24:31 5c69ac0246d0: Pulling fs layer 17:24:31 ec43610c2a17: Pulling fs layer 17:24:31 3a2ae6a8a46f: Pulling fs layer 17:24:31 33b1e0a273af: Pulling fs layer 17:24:31 5d3b04190fa2: Pulling fs layer 17:24:31 2f39f015ded8: Pulling fs layer 17:24:31 2f39f015ded8: Waiting 17:24:31 33b1e0a273af: Waiting 17:24:31 5d3b04190fa2: Waiting 17:24:31 3a2ae6a8a46f: Waiting 17:24:31 5c69ac0246d0: Verifying Checksum 17:24:31 5c69ac0246d0: Download complete 17:24:31 3a2ae6a8a46f: Verifying Checksum 17:24:31 3a2ae6a8a46f: Download complete 17:24:31 33b1e0a273af: Verifying Checksum 17:24:31 33b1e0a273af: Download complete 17:24:31 ec43610c2a17: Verifying Checksum 17:24:31 ec43610c2a17: Download complete 17:24:32 5eb5b503b376: Verifying Checksum 17:24:32 5eb5b503b376: Download complete 17:24:32 2f39f015ded8: Download complete 17:24:33 5eb5b503b376: Pull complete 17:24:33 5c69ac0246d0: Pull complete 17:24:33 ec43610c2a17: Pull complete 17:24:33 3a2ae6a8a46f: Pull complete 17:24:34 33b1e0a273af: Pull complete 17:24:34 5d3b04190fa2: Pull complete 17:24:38 2f39f015ded8: Pull complete 17:24:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:24:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:24:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:38 prd-ubuntu20.04-docker-8c-8g-6733 does not seem to be running inside a container 17:24:38 $ 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-gpio_PR-196 -v /w/workspace/edgexfoundry_device-gpio_PR-196:/w/workspace/edgexfoundry_device-gpio_PR-196:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-196@tmp:/w/workspace/edgexfoundry_device-gpio_PR-196@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:24:43 $ docker top c391466d416810c0a128eb7dc2cf982e263a00981b6defccfe786a3617a21881 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:24:43 ---> job-cost.sh 17:24:43 lf-activate-venv: SKIPPING 17:24:43 INFO: No Stack... 17:24:43 INFO: Retrieving Pricing Info for: v3-standard-8 17:24:44 INFO: Archiving Costs [Pipeline] sh 17:24:44 + cat /w/workspace/edgexfoundry_device-gpio_PR-196/archives/cost.csv 17:24:44 + cut -d, -f6 [Pipeline] lock 17:24:44 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] 17:24:44 Resource [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] did not exist. Created. 17:24:44 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:24:44 + echo total: 0.2199999988079071 [Pipeline] stash 17:24:44 Stashed 1 file(s) [Pipeline] } 17:24:44 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:24:44 $ docker stop --time=1 c391466d416810c0a128eb7dc2cf982e263a00981b6defccfe786a3617a21881 17:24:46 $ docker rm -f --volumes c391466d416810c0a128eb7dc2cf982e263a00981b6defccfe786a3617a21881 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6744 in /w/workspace/edgexfoundry_device-gpio_PR-196 [Pipeline] { [Pipeline] ws 17:25:52 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 17:25:52 The recommended git tool is: git 17:25:59 using credential edgex-jenkins-ssh 17:25:59 Cloning the remote Git repository 17:25:59 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:25:59 > git init /w/workspace/device-gpio/1 # timeout=10 17:26:00 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:26:00 > git --version # timeout=10 17:26:00 > git --version # 'git version 2.25.1' 17:26:00 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:02 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:26:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:26:03 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:26:03 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:26:03 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/196/head:refs/remotes/origin/PR-196 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:26:04 Merging remotes/origin/main commit 55c1d344d8db4a0ebfd83c23655690c476512767 into PR head commit 22c81a833baec478a9c4b4462af826b36bf753df 17:26:04 Merge succeeded, producing 22c81a833baec478a9c4b4462af826b36bf753df 17:26:04 Checking out Revision 22c81a833baec478a9c4b4462af826b36bf753df (PR-196) 17:26:04 > git config core.sparsecheckout # timeout=10 17:26:04 > git checkout -f 22c81a833baec478a9c4b4462af826b36bf753df # timeout=10 17:26:04 > git remote # timeout=10 17:26:04 > git config --get remote.origin.url # timeout=10 17:26:04 using GIT_SSH to set credentials SSH Credentials for GitHub 17:26:04 > git merge 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 17:26:04 > git rev-parse HEAD^{commit} # timeout=10 17:26:04 > git config core.sparsecheckout # timeout=10 17:26:05 > git checkout -f 22c81a833baec478a9c4b4462af826b36bf753df # timeout=10 17:26:08 Commit message: "ci: add automated release workflow on tag creation" 17:26:08 > git --version # timeout=10 17:26:08 > git --version # 'git version 2.25.1' 17:26:08 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:26:10 % Total % Received % Xferd Average Speed Time Time Time Current 17:26:10 Dload Upload Total Spent Left Speed 17:26:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 17:26:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:26:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:26:11 + sudo tee /etc/docker/daemon.new 17:26:11 { 17:26:11 "registry-mirrors": [ 17:26:11 "https://nexus3.edgexfoundry.org:10001" 17:26:11 ], 17:26:11 "bip": "10.250.0.254/24", 17:26:11 "hosts": [ 17:26:11 "tcp://0.0.0.0:5555", 17:26:11 "unix:///var/run/docker.sock" 17:26:11 ], 17:26:11 "mtu": 1458, 17:26:11 "selinux-enabled": true, 17:26:11 "seccomp-profile": "/etc/docker/seccomp.json" 17:26:11 } [Pipeline] sh 17:26:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:26:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:30 provisioning config files... 17:26:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5901157445090823325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:30 ---> docker-login.sh 17:26:30 nexus3.edgexfoundry.org:10001 17:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:31 Configure a credential helper to remove this warning. See 17:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:31 17:26:31 Login Succeeded 17:26:31 nexus3.edgexfoundry.org:10002 17:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:32 Configure a credential helper to remove this warning. See 17:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:32 17:26:32 Login Succeeded 17:26:32 nexus3.edgexfoundry.org:10003 17:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:32 Configure a credential helper to remove this warning. See 17:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:32 17:26:32 Login Succeeded 17:26:32 nexus3.edgexfoundry.org:10004 17:26:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:32 Configure a credential helper to remove this warning. See 17:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:32 17:26:32 Login Succeeded 17:26:32 docker.io 17:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:26:33 Configure a credential helper to remove this warning. See 17:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:26:33 17:26:33 Login Succeeded 17:26:33 ---> docker-login.sh ends [Pipeline] } 17:26:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:26:34 ========================================================= 17:26:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:26:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:35 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:26:35 Sending build context to Docker daemon 8.131MB 17:26:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:26:35 Step 2/12 : FROM ${BASE} AS builder 17:26:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:26:35 9fda8d8052c6: Pulling fs layer 17:26:35 5d54e960e981: Pulling fs layer 17:26:35 c4a7e357bf2a: Pulling fs layer 17:26:35 f0e02332f6b5: Pulling fs layer 17:26:35 cefa15bbcfad: Pulling fs layer 17:26:35 17808c966233: Pulling fs layer 17:26:35 f4c1fc716caa: Pulling fs layer 17:26:35 f0e02332f6b5: Waiting 17:26:35 cefa15bbcfad: Waiting 17:26:35 17808c966233: Waiting 17:26:35 f4c1fc716caa: Waiting 17:26:35 5d54e960e981: Download complete 17:26:35 f0e02332f6b5: Verifying Checksum 17:26:35 f0e02332f6b5: Download complete 17:26:35 cefa15bbcfad: Verifying Checksum 17:26:35 cefa15bbcfad: Download complete 17:26:35 9fda8d8052c6: Verifying Checksum 17:26:35 9fda8d8052c6: Download complete 17:26:36 f4c1fc716caa: Verifying Checksum 17:26:36 f4c1fc716caa: Download complete 17:26:36 9fda8d8052c6: Pull complete 17:26:37 5d54e960e981: Pull complete 17:26:37 c4a7e357bf2a: Verifying Checksum 17:26:37 c4a7e357bf2a: Download complete 17:26:38 17808c966233: Verifying Checksum 17:26:38 17808c966233: Download complete 17:26:48 c4a7e357bf2a: Pull complete 17:26:48 f0e02332f6b5: Pull complete 17:26:49 cefa15bbcfad: Pull complete 17:26:55 17808c966233: Pull complete 17:26:56 f4c1fc716caa: Pull complete 17:26:56 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:26:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:26:56 ---> ea914061e18c 17:26:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:26:59 ---> Running in 35b01a9b17ec 17:27:00 Removing intermediate container 35b01a9b17ec 17:27:00 ---> 4129e5dcbf5b 17:27:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:27:00 ---> Running in 0406dc83ca62 17:27:00 Removing intermediate container 0406dc83ca62 17:27:00 ---> 4e0b9b5532fb 17:27:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:27:00 ---> Running in fdd0f7748b9c 17:27:01 Removing intermediate container fdd0f7748b9c 17:27:01 ---> 507cdaae0b71 17:27:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:27:01 ---> Running in e97bb55abae0 17:27:01 Removing intermediate container e97bb55abae0 17:27:01 ---> e645b04b1df0 17:27:01 Step 7/12 : WORKDIR /device-gpio 17:27:01 ---> Running in 789bf954a1da 17:27:02 Removing intermediate container 789bf954a1da 17:27:02 ---> 20f561014500 17:27:02 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:27:02 ---> Running in bfa31f3c2a79 17:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:27:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:27:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 17:27:05 (2/4) Installing libedit (20221030.3.1-r1) 17:27:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 17:27:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 17:27:05 Executing busybox-1.36.1-r2.trigger 17:27:05 OK: 270 MiB in 56 packages 17:27:06 Removing intermediate container bfa31f3c2a79 17:27:06 ---> 7211061298a3 17:27:06 Step 9/12 : COPY go.mod vendor* ./ 17:27:07 ---> e6d556fca478 17:27:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:27:07 ---> Running in 1419ecc5dd4a 17:28:29 Removing intermediate container 1419ecc5dd4a 17:28:29 ---> 40e4fd6fc1e5 17:28:29 Step 11/12 : COPY . . 17:28:29 ---> 1321d0500fbb 17:28:29 Step 12/12 : RUN ${MAKE} 17:28:29 ---> Running in 03bc4ed5c3bc 17:28:29 noop 17:28:29 Removing intermediate container 03bc4ed5c3bc 17:28:29 ---> e6e6dbad86c8 17:28:29 Successfully built e6e6dbad86c8 17:28:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:30 + docker inspect -f . ci-base-image-arm64 17:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:30 prd-ubuntu20.04-docker-arm64-4c-16g-6744 does not seem to be running inside a container 17:28:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:31 $ docker top a376ad3049566e3ceafce9d62c6719c75c24f67d02a0acc72e56a7bf5f3384aa -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:32 + go version 17:28:32 go version go1.21.0 linux/arm64 [Pipeline] } 17:28:32 $ docker stop --time=1 a376ad3049566e3ceafce9d62c6719c75c24f67d02a0acc72e56a7bf5f3384aa 17:28:34 $ docker rm -f --volumes a376ad3049566e3ceafce9d62c6719c75c24f67d02a0acc72e56a7bf5f3384aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:35 + docker inspect -f . ci-base-image-arm64 17:28:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:28:35 prd-ubuntu20.04-docker-arm64-4c-16g-6744 does not seem to be running inside a container 17:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:28:37 $ docker top 837e3fe909d8418643ad3f2ecaa45740cdd296744a6f6170059522e0e2e6522e -eo pid,comm [Pipeline] { [Pipeline] sh 17:28:38 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 17:28:39 + make test 17:28:39 go test ./... -coverprofile=coverage.out ./... 17:28:44 ? github.com/edgexfoundry/device-gpio [no test files] 17:31:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:31:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:31:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:31:06 go vet ./... 17:31:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:31:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:31:45 ./bin/test-attribution-txt.sh [Pipeline] echo 17:31:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:31:45 $ docker stop --time=1 837e3fe909d8418643ad3f2ecaa45740cdd296744a6f6170059522e0e2e6522e 17:31:47 $ docker rm -f --volumes 837e3fe909d8418643ad3f2ecaa45740cdd296744a6f6170059522e0e2e6522e [Pipeline] // withDockerContainer [Pipeline] sh 17:31:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:49 Warning: overwriting stash ‘coverage-report’ 17:31:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:31:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:50 + ls -al . 17:31:50 total 164 17:31:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:28 . 17:31:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 .. 17:31:50 -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 17:26 .dockerignore 17:31:50 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:26 .git 17:31:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 .github 17:31:50 -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:26 .gitignore 17:31:50 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:26 .golangci.yml 17:31:50 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 17:26 Attribution.txt 17:31:50 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 17:26 CHANGELOG.md 17:31:50 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 17:26 Dockerfile 17:31:50 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:26 GOVERNANCE.md 17:31:50 -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 17:26 Jenkinsfile 17:31:50 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:26 LICENSE 17:31:50 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 17:26 Makefile 17:31:50 -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:26 OWNERS.md 17:31:50 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 17:26 README.md 17:31:50 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:22 VERSION 17:31:50 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:26 bin 17:31:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 cmd 17:31:50 -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:28 coverage.out 17:31:50 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 17:26 go.mod 17:31:50 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 17:26 go.sum 17:31:50 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:26 internal 17:31:50 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:26 snap 17:31:50 -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:51 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=22c81a833baec478a9c4b4462af826b36bf753df --label arch=arm64 --label version=0.0.0 . 17:31:51 Sending build context to Docker daemon 8.132MB 17:31:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 17:31:51 Step 2/25 : FROM ${BASE} AS builder 17:31:51 ---> e6e6dbad86c8 17:31:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:31:51 ---> Running in 4711111039ff 17:31:52 Removing intermediate container 4711111039ff 17:31:52 ---> 58c0266802c5 17:31:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:31:52 ---> Running in 4b0677e34e4e 17:31:52 Removing intermediate container 4b0677e34e4e 17:31:52 ---> 7441f2d65c33 17:31:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:31:52 ---> Running in 5627702c07df 17:31:53 Removing intermediate container 5627702c07df 17:31:53 ---> 0683cc052431 17:31:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:31:53 ---> Running in 9fad2ebbc245 17:31:53 Removing intermediate container 9fad2ebbc245 17:31:53 ---> 549e72e826ec 17:31:53 Step 7/25 : WORKDIR /device-gpio 17:31:53 ---> Running in 44d023cdea07 17:31:54 Removing intermediate container 44d023cdea07 17:31:54 ---> 8f3295a5b97a 17:31:54 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:54 ---> Running in dba710dc6373 17:31:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:31:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:31:57 OK: 270 MiB in 56 packages 17:31:58 Removing intermediate container dba710dc6373 17:31:58 ---> 79e5b8b21a8b 17:31:58 Step 9/25 : COPY go.mod vendor* ./ 17:31:59 ---> 3b9e040593bc 17:31:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:31:59 ---> Running in 2df2eca5f214 17:32:02 Removing intermediate container 2df2eca5f214 17:32:02 ---> 41d3116cdf19 17:32:02 Step 11/25 : COPY . . 17:32:03 ---> d679186f22ad 17:32:03 Step 12/25 : RUN ${MAKE} 17:32:03 ---> Running in 3cd4e43be3de 17:32:04 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 17:34:28 Removing intermediate container 3cd4e43be3de 17:34:28 ---> b9a61dedc521 17:34:28 Step 13/25 : FROM alpine:3.18 17:34:28 3.18: Pulling from library/alpine 17:34:28 9fda8d8052c6: Already exists 17:34:28 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:34:28 Status: Downloaded newer image for alpine:3.18 17:34:28 ---> f6648c04cd6c 17:34:28 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:34:28 ---> Running in 130f5d893304 17:34:28 Removing intermediate container 130f5d893304 17:34:28 ---> 729e75ab18d7 17:34:28 Step 15/25 : RUN apk add --update --no-cache 17:34:28 ---> Running in 0423d03eb795 17:34:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:34:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:34:31 OK: 8 MiB in 15 packages 17:34:32 Removing intermediate container 0423d03eb795 17:34:32 ---> 25aab73f29e6 17:34:32 Step 16/25 : WORKDIR / 17:34:32 ---> Running in 871973e0b070 17:34:32 Removing intermediate container 871973e0b070 17:34:32 ---> aafc7f90adf7 17:34:32 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:34:33 ---> ad829b046e65 17:34:33 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:34:33 ---> 9309bbda2151 17:34:33 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:34:35 ---> 852ccfec19a7 17:34:35 Step 20/25 : EXPOSE 59910 17:34:35 ---> Running in 3509235673ec 17:34:36 Removing intermediate container 3509235673ec 17:34:36 ---> 73ccb4f0e30e 17:34:36 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:34:36 ---> Running in c4cb84586d83 17:34:36 Removing intermediate container c4cb84586d83 17:34:36 ---> aa8e651a9fb0 17:34:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:34:36 ---> Running in 2de01ac5dff1 17:34:37 Removing intermediate container 2de01ac5dff1 17:34:37 ---> 800cce5b0536 17:34:37 Step 23/25 : LABEL arch=arm64 17:34:37 ---> Running in b82920d706a5 17:34:37 Removing intermediate container b82920d706a5 17:34:37 ---> 46cbd6e5e1c3 17:34:37 Step 24/25 : LABEL git_sha=22c81a833baec478a9c4b4462af826b36bf753df 17:34:37 ---> Running in 7dad2644ed83 17:34:37 Removing intermediate container 7dad2644ed83 17:34:37 ---> b4b485fbd572 17:34:37 Step 25/25 : LABEL version=0.0.0 17:34:37 ---> Running in a89921b514db 17:34:38 Removing intermediate container a89921b514db 17:34:38 ---> 545fc59d25a3 17:34:38 [Warning] One or more build-args [ARCH] were not consumed 17:34:38 Successfully built 545fc59d25a3 17:34:38 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:39 17:34:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:34:39 arm64: Pulling from edgex-lftools-log-publisher 17:34:39 8998bd30e6a1: Pulling fs layer 17:34:39 04944245beec: Pulling fs layer 17:34:39 699f458cf7ca: Pulling fs layer 17:34:39 765212b225bb: Pulling fs layer 17:34:39 f23df028b6ca: Pulling fs layer 17:34:39 d65c8cfc05b1: Pulling fs layer 17:34:39 2437ff75d9bd: Pulling fs layer 17:34:39 765212b225bb: Waiting 17:34:39 f23df028b6ca: Waiting 17:34:39 d65c8cfc05b1: Waiting 17:34:39 2437ff75d9bd: Waiting 17:34:39 04944245beec: Verifying Checksum 17:34:39 04944245beec: Download complete 17:34:39 765212b225bb: Verifying Checksum 17:34:39 765212b225bb: Download complete 17:34:39 f23df028b6ca: Verifying Checksum 17:34:39 f23df028b6ca: Download complete 17:34:39 d65c8cfc05b1: Verifying Checksum 17:34:39 d65c8cfc05b1: Download complete 17:34:40 699f458cf7ca: Verifying Checksum 17:34:40 699f458cf7ca: Download complete 17:34:40 8998bd30e6a1: Verifying Checksum 17:34:40 8998bd30e6a1: Download complete 17:34:43 2437ff75d9bd: Verifying Checksum 17:34:43 2437ff75d9bd: Download complete 17:34:45 8998bd30e6a1: Pull complete 17:34:45 04944245beec: Pull complete 17:34:47 699f458cf7ca: Pull complete 17:34:47 765212b225bb: Pull complete 17:34:47 f23df028b6ca: Pull complete 17:34:47 d65c8cfc05b1: Pull complete 17:35:03 2437ff75d9bd: Pull complete 17:35:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:35:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:35:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:03 prd-ubuntu20.04-docker-arm64-4c-16g-6744 does not seem to be running inside a container 17:35:03 $ 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-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:35:06 $ docker top f27870a386d0671a23dbd9d843e099123456ae5592363611d057c3fc459db14a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:35:07 ---> job-cost.sh 17:35:07 lf-activate-venv: SKIPPING 17:35:07 INFO: No Stack... 17:35:08 INFO: Retrieving Pricing Info for: v3-standard-4 17:35:09 INFO: Archiving Costs [Pipeline] sh 17:35:09 + cat /w/workspace/device-gpio/1/archives/cost.csv 17:35:09 + cut -d, -f6 [Pipeline] lock 17:35:10 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] 17:35:10 Resource [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] did not exist. Created. 17:35:10 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:35:10 /w/workspace/device-gpio/1@tmp/durable-5cabfa80/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:35:11 + echo total: 0.10999999940395355 [Pipeline] stash 17:35:11 Warning: overwriting stash ‘stack-cost’ 17:35:11 Stashed 1 file(s) [Pipeline] } 17:35:11 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-196-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:35:11 $ docker stop --time=1 f27870a386d0671a23dbd9d843e099123456ae5592363611d057c3fc459db14a 17:35:13 $ docker rm -f --volumes f27870a386d0671a23dbd9d843e099123456ae5592363611d057c3fc459db14a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:35:14 provisioning config files... 17:35:14 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/config8122398009991164997tmp [Pipeline] { [Pipeline] sh 17:35:14 + set +x 17:35:14 + bash -s -- 17:35:14 + curl -s https://codecov.io/bash 17:35:14 17:35:14 _____ _ 17:35:14 / ____| | | 17:35:14 | | ___ __| | ___ ___ _____ __ 17:35:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:35:14 | |___| (_) | (_| | __/ (_| (_) \ V / 17:35:14 \_____\___/ \__,_|\___|\___\___/ \_/ 17:35:14 Bash-1.0.6 17:35:14 17:35:14 17:35:14 ==> git version 2.25.1 found 17:35:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:35:14 Release-Date: 2020-01-08 17:35:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:35:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:35:14 ==> Jenkins CI detected. 17:35:14 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-196 17:35:14 project root: . 17:35:14 --> token set from env 17:35:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:35:14 ==> Running gcov in . (disable via -X gcov) 17:35:14 ==> Python coveragepy not found 17:35:14 ==> Searching for coverage reports in: 17:35:14 + . 17:35:14 -> Found 1 reports 17:35:14 ==> Detecting git/mercurial file structure 17:35:14 ==> Reading reports 17:35:14 + ./coverage.out bytes=10 17:35:14 ==> Appending adjustments 17:35:14 https://docs.codecov.io/docs/fixing-reports 17:35:14 + Found adjustments 17:35:14 ==> Gzipping contents 17:35:14 4.0K /tmp/codecov.TNKg1E.gz 17:35:14 ==> Uploading reports 17:35:14 url: https://codecov.io 17:35:14 query: branch=PR-196&commit=22c81a833baec478a9c4b4462af826b36bf753df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=196&job=&cmd_args= 17:35:14 -> Pinging Codecov 17:35:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-196&commit=22c81a833baec478a9c4b4462af826b36bf753df&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-196%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=196&job=&cmd_args= 17:35:14 -> Uploading to 17:35:14 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/22c81a833baec478a9c4b4462af826b36bf753df/3370061c-13e2-47f6-a86c-69ade02db9d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32100cfb4a3e2d43f26837131268862ef5194b1e50e72dc6acb8752a71562eb9 17:35:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:35:14 Dload Upload Total Spent Left Speed 17:35:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3638 --:--:-- --:--:-- --:--:-- 3638 17:35:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/22c81a833baec478a9c4b4462af826b36bf753df [Pipeline] } 17:35:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:35:17 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-196/archives ] 17:35:17 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-196/archives 17:35:17 total 16 17:35:17 drwxr-xr-x 3 root root 4096 Sep 20 17:24 . 17:35:17 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. 17:35:17 drwxr-xr-x 2 root root 4096 Sep 20 17:24 cost 17:35:17 -rw-r--r-- 1 root root 83 Sep 20 17:24 cost.csv 17:35:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-196/archives 17:35:17 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-196/archives 17:35:17 total 16 17:35:17 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:24 . 17:35:17 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:24 .. 17:35:17 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:24 cost 17:35:17 -rw-r--r-- 1 jenkins jenkins 83 Sep 20 17:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:35:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:18 ---> package-listing.sh 17:35:18 ++ tr '[:upper:]' '[:lower:]' 17:35:18 ++ facter osfamily 17:35:18 + OS_FAMILY=debian 17:35:18 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-196 17:35:18 + START_PACKAGES=/tmp/packages_start.txt 17:35:18 + END_PACKAGES=/tmp/packages_end.txt 17:35:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:18 + PACKAGES=/tmp/packages_start.txt 17:35:18 + '[' /w/workspace/edgexfoundry_device-gpio_PR-196 ']' 17:35:18 + PACKAGES=/tmp/packages_end.txt 17:35:18 + case "${OS_FAMILY}" in 17:35:18 + dpkg -l 17:35:18 + grep '^ii' 17:35:18 + '[' -f /tmp/packages_start.txt ']' 17:35:18 + '[' -f /tmp/packages_end.txt ']' 17:35:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:18 + '[' /w/workspace/edgexfoundry_device-gpio_PR-196 ']' 17:35:18 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-196/archives/ 17:35:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-196/archives/ [Pipeline] echo 17:35:18 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-gpio_PR-196/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:35:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:35:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:35:19 prd-ubuntu20.04-docker-8c-8g-6733 does not seem to be running inside a container 17:35:19 $ 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-gpio_PR-196/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-gpio_PR-196 -v /w/workspace/edgexfoundry_device-gpio_PR-196:/w/workspace/edgexfoundry_device-gpio_PR-196:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-196@tmp:/w/workspace/edgexfoundry_device-gpio_PR-196@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:35:19 $ docker top 809b071e164ca2bacf5b7f79bca50cac313733fc2ea880e0a1678b2bed7c8dea -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:20 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:20 + mkdir -p /var/log/sysstat [Pipeline] sh 17:35:20 + ls /var/log/sa-host 17:35:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:21 provisioning config files... 17:35:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-196@tmp/config12601708778397173716tmp [Pipeline] { [Pipeline] echo 17:35:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:21 ---> create-netrc.sh [Pipeline] } 17:35:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:35:21 ---> python-tools-install.sh [Pipeline] echo 17:35:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:22 ---> sudo-logs.sh 17:35:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:35:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:22 ---> job-cost.sh 17:35:22 lf-activate-venv: SKIPPING 17:35:22 DEBUG: total: 0.2199999988079071 17:35:22 INFO: Retrieving Stack Cost... 17:35:23 INFO: Retrieving Pricing Info for: v3-standard-8 17:35:24 INFO: Archiving Costs [Pipeline] echo 17:35:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:24 ---> logs-deploy.sh 17:35:24 lf-activate-venv: SKIPPING 17:35:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-196/1 17:35:24 INFO: archiving workspace using pattern(s): 17:35:25 Archives upload complete. 17:35:25 INFO: archiving logs to Nexus