Pull request #178 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9c2535dd5201ef8d0ae31179b02a132955c85bbe+63e68652b6ad95590cced61db99912ada0ba9712 (f360d1b831d9e537a8aed3aa5bb8bbe84152fc33) 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-ssh2826871331486963098.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7119711910093717423.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 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-178/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18021987224597689170.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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 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-ssh7487321716055137619.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-178/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9398932259146373563.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.20 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-15686 in /w/workspace/edgexfoundry_device-gpio_PR-178 [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-178 # 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 Merging remotes/origin/main commit 63e68652b6ad95590cced61db99912ada0ba9712 into PR head commit 9c2535dd5201ef8d0ae31179b02a132955c85bbe > 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/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c2535dd5201ef8d0ae31179b02a132955c85bbe # timeout=10 Merge succeeded, producing 9c2535dd5201ef8d0ae31179b02a132955c85bbe Checking out Revision 9c2535dd5201ef8d0ae31179b02a132955c85bbe (PR-178) Commit message: "build(snap): Add kamakura for epoch 0" > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 63e68652b6ad95590cced61db99912ada0ba9712 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9c2535dd5201ef8d0ae31179b02a132955c85bbe # timeout=10 > git rev-list --no-walk 2e97ce2de3b13501839de8a66209f85404221ea9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:28:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:28:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:28:15 ========================================================= 10:28:15 EdgeX Global Pipelines Version Info 10:28:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:28:16 ------------------- 10:28:16 stable info: 10:28:16 ------------------- 10:28:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:28:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:28:16 Message: update stable to v1.0.249 10:28:17 ------------------- 10:28:17 experimental info: 10:28:17 ------------------- 10:28:17 Commited By: **** collab-it+edgex@linuxfoundation.org 10:28:17 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 10:28:17 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-178 [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-178 [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-178 [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9c2535dd5201ef8d0ae31179b02a132955c85bbe [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9c2535d [Pipeline] echo 10:28:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:28:17 provisioning config files... 10:28:17 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config8577908935240052494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:18 ---> docker-login.sh 10:28:18 nexus3.edgexfoundry.org:10001 10:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:18 Configure a credential helper to remove this warning. See 10:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:18 10:28:18 Login Succeeded 10:28:18 nexus3.edgexfoundry.org:10002 10:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:18 Configure a credential helper to remove this warning. See 10:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:18 10:28:18 Login Succeeded 10:28:18 nexus3.edgexfoundry.org:10003 10:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:18 Configure a credential helper to remove this warning. See 10:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:18 10:28:18 Login Succeeded 10:28:18 nexus3.edgexfoundry.org:10004 10:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:18 Configure a credential helper to remove this warning. See 10:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:18 10:28:18 Login Succeeded 10:28:18 docker.io 10:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:19 Configure a credential helper to remove this warning. See 10:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:19 10:28:19 Login Succeeded 10:28:19 ---> docker-login.sh ends [Pipeline] } 10:28:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:28:19 + git rev-list -1 --merges 9c2535dd5201ef8d0ae31179b02a132955c85bbe~1..9c2535dd5201ef8d0ae31179b02a132955c85bbe [Pipeline] echo 10:28:19 -----------> git rev-list -1 --merges 9c2535dd5201ef8d0ae31179b02a132955c85bbe~1..9c2535dd5201ef8d0ae31179b02a132955c85bbe 9c2535dd5201ef8d0ae31179b02a132955c85bbe [false] [Pipeline] sh 10:28:19 + git log --format=format:%s -1 9c2535dd5201ef8d0ae31179b02a132955c85bbe [Pipeline] echo 10:28:19 ========================================================= 10:28:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:28:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:28:20 + git log --format=format:%s -1 9c2535dd5201ef8d0ae31179b02a132955c85bbe [Pipeline] echo 10:28:20 [semverPrep] GIT_COMMIT: 9c2535dd5201ef8d0ae31179b02a132955c85bbe, Commit Message: build(snap): Add kamakura for epoch 0 [Pipeline] echo 10:28:20 [semverPrep] This is not a build commit. [Pipeline] sh 10:28:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:28:20 + grep -v github /etc/ssh/ssh_known_hosts 10:28:20 + [ -e /tmp/ssh_known_hosts ] 10:28:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:28:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:28:20 + sudo tee -a /etc/ssh/ssh_known_hosts 10:28:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:28:20 10:28:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:28:21 0.1.4: Pulling from edgex-devops/py-git-semver 10:28:21 b85a868b505f: Pulling fs layer 10:28:21 e2be974225ed: Pulling fs layer 10:28:21 339a4e72a1f5: Pulling fs layer 10:28:21 988bab9f4d93: Pulling fs layer 10:28:21 1469e6f7b9e6: Pulling fs layer 10:28:21 eaf3925da568: Pulling fs layer 10:28:21 bab4dde63d76: Pulling fs layer 10:28:21 bde34c3a00c8: Pulling fs layer 10:28:21 b352a97aabf1: Pulling fs layer 10:28:21 4872d77fe225: Pulling fs layer 10:28:21 5851b861e8e6: Pulling fs layer 10:28:21 bab4dde63d76: Waiting 10:28:21 bde34c3a00c8: Waiting 10:28:21 988bab9f4d93: Waiting 10:28:21 1469e6f7b9e6: Waiting 10:28:21 4872d77fe225: Waiting 10:28:21 eaf3925da568: Waiting 10:28:21 b352a97aabf1: Waiting 10:28:21 e2be974225ed: Verifying Checksum 10:28:21 e2be974225ed: Download complete 10:28:21 988bab9f4d93: Download complete 10:28:21 339a4e72a1f5: Verifying Checksum 10:28:21 339a4e72a1f5: Download complete 10:28:21 1469e6f7b9e6: Verifying Checksum 10:28:21 1469e6f7b9e6: Download complete 10:28:21 eaf3925da568: Download complete 10:28:21 bde34c3a00c8: Verifying Checksum 10:28:21 bde34c3a00c8: Download complete 10:28:21 b352a97aabf1: Download complete 10:28:21 4872d77fe225: Download complete 10:28:21 5851b861e8e6: Download complete 10:28:21 b85a868b505f: Verifying Checksum 10:28:21 b85a868b505f: Download complete 10:28:21 bab4dde63d76: Verifying Checksum 10:28:21 bab4dde63d76: Download complete 10:28:22 b85a868b505f: Pull complete 10:28:23 e2be974225ed: Pull complete 10:28:23 339a4e72a1f5: Pull complete 10:28:23 988bab9f4d93: Pull complete 10:28:23 1469e6f7b9e6: Pull complete 10:28:23 eaf3925da568: Pull complete 10:28:25 bab4dde63d76: Pull complete 10:28:25 bde34c3a00c8: Pull complete 10:28:25 b352a97aabf1: Pull complete 10:28:25 4872d77fe225: Pull complete 10:28:25 5851b861e8e6: Pull complete 10:28:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:28:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:28:25 prd-ubuntu20.04-docker-8c-8g-15686 does not seem to be running inside a container 10:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:28:28 $ docker top c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 -eo pid,comm 10:28:28 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). 10:28:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:28:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:28 [ssh-agent] Looking for ssh-agent implementation... 10:28:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:28 $ docker exec c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 ssh-agent 10:28:28 SSH_AUTH_SOCK=/tmp/ssh-2mkkxGolV4pr/agent.34 10:28:28 SSH_AGENT_PID=40 10:28:28 Running ssh-add (command line suppressed) 10:28:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_17954969733232673905.key (/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_17954969733232673905.key) 10:28:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:28 + git tag --points-at HEAD [Pipeline] } 10:28:28 $ docker exec --env ******** --env ******** c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 ssh-agent -k 10:28:28 unset SSH_AUTH_SOCK; 10:28:28 unset SSH_AGENT_PID; 10:28:28 echo Agent pid 40 killed; 10:28:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:28:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:28:28 [ssh-agent] Looking for ssh-agent implementation... 10:28:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:28:29 $ docker exec c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 ssh-agent 10:28:29 SSH_AUTH_SOCK=/tmp/ssh-V8jBR72ExldD/agent.73 10:28:29 SSH_AGENT_PID=79 10:28:29 Running ssh-add (command line suppressed) 10:28:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_16053756044651417657.key (/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/private_key_16053756044651417657.key) 10:28:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:28:29 + git semver init 10:28:29 2023-05-16 10:28:29,744 [run_init] DEBUG init version:0.0.0 force:False 10:28:29 2023-05-16 10:28:29,745 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver 10:28:29 2023-05-16 10:28:29,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-178/.semver 10:28:29 2023-05-16 10:28:29,746 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-178/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178, universal_newlines=False, shell=None, istream=None) 10:28:30 2023-05-16 10:28:30,690 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-178/.git/info/exclude 10:28:30 2023-05-16 10:28:30,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 with force:False 10:28:30 2023-05-16 10:28:30,691 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 10:28:30 2023-05-16 10:28:30,695 [execute] INFO git cat-file --batch-check 10:28:30 2023-05-16 10:28:30,695 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178/.semver, universal_newlines=False, shell=None, istream=) 10:28:30 2023-05-16 10:28:30,701 [execute] INFO git cat-file --batch 10:28:30 2023-05-16 10:28:30,701 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-178/.semver, universal_newlines=False, shell=None, istream=) 10:28:30 2023-05-16 10:28:30,705 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-178/.semver/PR-178 10:28:30 0.0.0 [Pipeline] } 10:28:30 $ docker exec --env ******** --env ******** c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 ssh-agent -k 10:28:30 unset SSH_AUTH_SOCK; 10:28:30 unset SSH_AGENT_PID; 10:28:30 echo Agent pid 79 killed; 10:28:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:28:31 + git semver [Pipeline] } 10:28:31 $ docker stop --time=1 c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 10:28:32 $ docker rm -f --volumes c66d1ea1b87744e958f02eb97488317528705dd572da0aa56fc708619eb27055 [Pipeline] // withDockerContainer [Pipeline] sh 10:28:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:28:33 Stashed 1 file(s) [Pipeline] echo 10:28:33 [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 10:28:33 provisioning config files... 10:28:33 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config14066838293866001303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:33 ---> docker-login.sh 10:28:33 nexus3.edgexfoundry.org:10001 10:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:33 Configure a credential helper to remove this warning. See 10:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:33 10:28:33 Login Succeeded 10:28:33 nexus3.edgexfoundry.org:10002 10:28:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:33 Configure a credential helper to remove this warning. See 10:28:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:33 10:28:33 Login Succeeded 10:28:33 nexus3.edgexfoundry.org:10003 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 nexus3.edgexfoundry.org:10004 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 docker.io 10:28:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:28:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:28:34 Configure a credential helper to remove this warning. See 10:28:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:28:34 10:28:34 Login Succeeded 10:28:34 ---> docker-login.sh ends [Pipeline] } 10:28:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:28:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:28:34 ========================================================= 10:28:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:28:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:28:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:28:34 Sending build context to Docker daemon 16.14MB 10:28:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:28:34 Step 2/12 : FROM ${BASE} AS builder 10:28:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:28:34 f56be85fc22e: Pulling fs layer 10:28:34 85791d961cd3: Pulling fs layer 10:28:34 d694b5ae8c79: Pulling fs layer 10:28:34 9f32a84ed3da: Pulling fs layer 10:28:34 4d19c01a9841: Pulling fs layer 10:28:34 9325e15d5711: Pulling fs layer 10:28:34 556b6ee489ea: Pulling fs layer 10:28:34 c5a4b2cf53e6: Pulling fs layer 10:28:34 4d19c01a9841: Waiting 10:28:34 9325e15d5711: Waiting 10:28:34 556b6ee489ea: Waiting 10:28:34 c5a4b2cf53e6: Waiting 10:28:34 9f32a84ed3da: Waiting 10:28:34 85791d961cd3: Download complete 10:28:34 9f32a84ed3da: Verifying Checksum 10:28:34 9f32a84ed3da: Download complete 10:28:34 4d19c01a9841: Verifying Checksum 10:28:34 4d19c01a9841: Download complete 10:28:34 f56be85fc22e: Verifying Checksum 10:28:34 f56be85fc22e: Download complete 10:28:34 9325e15d5711: Verifying Checksum 10:28:34 f56be85fc22e: Pull complete 10:28:35 85791d961cd3: Pull complete 10:28:35 c5a4b2cf53e6: Verifying Checksum 10:28:35 c5a4b2cf53e6: Download complete 10:28:35 d694b5ae8c79: Verifying Checksum 10:28:35 d694b5ae8c79: Download complete 10:28:36 556b6ee489ea: Verifying Checksum 10:28:36 556b6ee489ea: Download complete 10:28:39 d694b5ae8c79: Pull complete 10:28:39 9f32a84ed3da: Pull complete 10:28:39 4d19c01a9841: Pull complete 10:28:39 9325e15d5711: Pull complete 10:28:41 556b6ee489ea: Pull complete 10:28:42 c5a4b2cf53e6: Pull complete 10:28:42 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 10:28:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:28:42 ---> c4be618373d6 10:28:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:28:47 ---> Running in a494ef85d992 10:28:47 Removing intermediate container a494ef85d992 10:28:47 ---> 87e54950c357 10:28:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:28:47 ---> Running in 28ab62f29462 10:28:47 Removing intermediate container 28ab62f29462 10:28:47 ---> a197f5e6d400 10:28:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:28:47 ---> Running in 13bc870c85a2 10:28:47 Removing intermediate container 13bc870c85a2 10:28:47 ---> 4dcf71805de7 10:28:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:28:47 ---> Running in e73fb6e2d8c9 10:28:47 Removing intermediate container e73fb6e2d8c9 10:28:47 ---> 3f4fc456a540 10:28:47 Step 7/12 : WORKDIR /device-gpio 10:28:47 ---> Running in b3d56cb697b4 10:28:47 Removing intermediate container b3d56cb697b4 10:28:47 ---> 3c69cacc782f 10:28:47 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:28:47 ---> Running in fdf5e04c1920 10:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:28:48 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:28:48 (2/4) Installing libedit (20221030.3.1-r0) 10:28:48 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:28:48 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:28:48 Executing busybox-1.35.0-r29.trigger 10:28:48 OK: 269 MiB in 57 packages 10:28:48 Still waiting to schedule task 10:28:48 ‘prd-centos7-blackbox-4c-2g-15339’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:28:48 ‘prd-centos7-blackbox-4c-2g-15340’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:28:48 ‘prd-ubuntu20.04-docker-8c-8g-15557’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:28:48 ‘prd-ubuntu20.04-docker-8c-8g-15558’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:28:48 ‘prd-ubuntu20.04-docker-8c-8g-15561’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15670’ is offline 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15673’ is offline 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15674’ is offline 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15687’ is offline 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15688’ is offline 10:28:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15689’ is offline 10:28:48 Removing intermediate container fdf5e04c1920 10:28:48 ---> 6eb8a0f70192 10:28:48 Step 9/12 : COPY go.mod vendor* ./ 10:28:48 ---> f1a0c6d30e19 10:28:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:48 ---> Running in dfb7800cab42 10:29:15 Removing intermediate container dfb7800cab42 10:29:15 ---> 811a415f50dd 10:29:15 Step 11/12 : COPY . . 10:29:15 ---> 8291aa99c971 10:29:15 Step 12/12 : RUN ${MAKE} 10:29:15 ---> Running in 66644cfe4089 10:29:15 noop 10:29:15 Removing intermediate container 66644cfe4089 10:29:15 ---> 06dd09d9811e 10:29:15 Successfully built 06dd09d9811e 10:29:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:15 + docker inspect -f . ci-base-image-x86_64 10:29:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:15 prd-ubuntu20.04-docker-8c-8g-15686 does not seem to be running inside a container 10:29:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 ******** ci-base-image-x86_64 cat 10:29:16 $ docker top b6a81cb8ef626673d087295beecc084324f5dc90bd5c482e74e2b640785871af -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:16 + go version 10:29:16 go version go1.20.2 linux/amd64 [Pipeline] } 10:29:16 $ docker stop --time=1 b6a81cb8ef626673d087295beecc084324f5dc90bd5c482e74e2b640785871af 10:29:17 $ docker rm -f --volumes b6a81cb8ef626673d087295beecc084324f5dc90bd5c482e74e2b640785871af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:18 + docker inspect -f . ci-base-image-x86_64 10:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:29:18 prd-ubuntu20.04-docker-8c-8g-15686 does not seem to be running inside a container 10:29:18 $ 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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 ******** ci-base-image-x86_64 cat 10:29:24 $ docker top c548b0e2705be201750983d89f5d37d904a80bf095b9f9bae87bd07f1209ef2f -eo pid,comm [Pipeline] { [Pipeline] sh 10:29:24 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-178 [Pipeline] fileExists [Pipeline] sh 10:29:25 + make test 10:29:25 go test ./... -coverprofile=coverage.out ./... 10:29:30 ? github.com/edgexfoundry/device-gpio [no test files] 10:29:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:29:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:29:45 go vet ./... 10:29:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:48 ./bin/test-attribution-txt.sh [Pipeline] echo 10:29:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:29:48 $ docker stop --time=1 c548b0e2705be201750983d89f5d37d904a80bf095b9f9bae87bd07f1209ef2f 10:29:51 $ docker rm -f --volumes c548b0e2705be201750983d89f5d37d904a80bf095b9f9bae87bd07f1209ef2f [Pipeline] // withDockerContainer [Pipeline] sh 10:29:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:29:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:52 + ls -al . 10:29:52 total 156 10:29:52 drwxrwxr-x 9 jenkins jenkins 4096 May 16 10:29 . 10:29:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:28 .. 10:29:52 -rw-rw-r-- 1 jenkins jenkins 120 May 16 10:28 .dockerignore 10:29:52 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:28 .git 10:29:52 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:28 .github 10:29:52 -rw-rw-r-- 1 jenkins jenkins 343 May 16 10:28 .gitignore 10:29:52 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:28 .golangci.yml 10:29:52 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:28 .semver 10:29:52 -rw-rw-r-- 1 jenkins jenkins 9702 May 16 10:28 Attribution.txt 10:29:52 -rw-rw-r-- 1 jenkins jenkins 4069 May 16 10:28 CHANGELOG.md 10:29:52 -rw-rw-r-- 1 jenkins jenkins 1542 May 16 10:28 Dockerfile 10:29:52 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:28 GOVERNANCE.md 10:29:52 -rw-rw-r-- 1 jenkins jenkins 657 May 16 10:28 Jenkinsfile 10:29:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:28 LICENSE 10:29:52 -rw-rw-r-- 1 jenkins jenkins 1692 May 16 10:28 Makefile 10:29:52 -rw-rw-r-- 1 jenkins jenkins 617 May 16 10:28 OWNERS.md 10:29:52 -rw-rw-r-- 1 jenkins jenkins 11790 May 16 10:28 README.md 10:29:52 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:28 VERSION 10:29:52 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:28 bin 10:29:52 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:28 cmd 10:29:52 -rw-r--r-- 1 jenkins jenkins 10 May 16 10:29 coverage.out 10:29:52 -rw-rw-r-- 1 jenkins jenkins 3269 May 16 10:28 go.mod 10:29:52 -rw-rw-r-- 1 jenkins jenkins 31585 May 16 10:28 go.sum 10:29:52 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:28 internal 10:29:52 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:28 snap 10:29:52 -rw-rw-r-- 1 jenkins jenkins 209 May 16 10:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:29:52 + 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=9c2535dd5201ef8d0ae31179b02a132955c85bbe --label arch=amd64 --label version=0.0.0 . 10:29:52 Sending build context to Docker daemon 16.14MB 10:29:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:29:52 Step 2/25 : FROM ${BASE} AS builder 10:29:52 ---> 06dd09d9811e 10:29:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:29:53 ---> Running in ac587a886381 10:29:53 Removing intermediate container ac587a886381 10:29:53 ---> fda16f7e4110 10:29:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:29:53 ---> Running in 2bb54dc0aa9c 10:29:53 Removing intermediate container 2bb54dc0aa9c 10:29:53 ---> 619b6b7ce6e8 10:29:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:29:53 ---> Running in 10f0b4a9c0b6 10:29:53 Removing intermediate container 10f0b4a9c0b6 10:29:53 ---> 206d4e9a32f5 10:29:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:29:53 ---> Running in 8d75f7afb01a 10:29:53 Removing intermediate container 8d75f7afb01a 10:29:53 ---> 1de9fc42bac3 10:29:53 Step 7/25 : WORKDIR /device-gpio 10:29:53 ---> Running in 8dd522453385 10:29:53 Removing intermediate container 8dd522453385 10:29:53 ---> bad146cf23a4 10:29:53 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:53 ---> Running in cf29c58330c9 10:29:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:29:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:29:54 OK: 269 MiB in 57 packages 10:29:54 Removing intermediate container cf29c58330c9 10:29:54 ---> 92cf1eb7b030 10:29:54 Step 9/25 : COPY go.mod vendor* ./ 10:29:54 ---> b3fb46c6464d 10:29:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:54 ---> Running in a197152c6e2a 10:29:55 Removing intermediate container a197152c6e2a 10:29:55 ---> 0361815d904c 10:29:55 Step 11/25 : COPY . . 10:29:55 ---> 2993d3b18c5d 10:29:55 Step 12/25 : RUN ${MAKE} 10:29:55 ---> Running in 14f0a133da18 10:29:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 10:30:14 Removing intermediate container 14f0a133da18 10:30:14 ---> 500b83662415 10:30:14 Step 13/25 : FROM alpine:3.17 10:30:14 3.17: Pulling from library/alpine 10:30:14 f56be85fc22e: Already exists 10:30:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:30:14 Status: Downloaded newer image for alpine:3.17 10:30:14 ---> 9ed4aefc74f6 10:30:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:30:14 ---> Running in 68beb88c96f5 10:30:14 Removing intermediate container 68beb88c96f5 10:30:14 ---> 43878e892d3b 10:30:14 Step 15/25 : RUN apk add --update --no-cache 10:30:14 ---> Running in f59dda1200bf 10:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:30:14 OK: 7 MiB in 15 packages 10:30:15 Removing intermediate container f59dda1200bf 10:30:15 ---> 7a1138cdb518 10:30:15 Step 16/25 : WORKDIR / 10:30:15 ---> Running in 8df69a6f2cd8 10:30:15 Removing intermediate container 8df69a6f2cd8 10:30:15 ---> c34840c0a903 10:30:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:30:15 ---> 5c3732b2ac61 10:30:15 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:30:15 ---> f37fdf783d38 10:30:15 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:30:16 ---> 60da62f95fcf 10:30:16 Step 20/25 : EXPOSE 59910 10:30:16 ---> Running in 7bccc8036863 10:30:16 Removing intermediate container 7bccc8036863 10:30:16 ---> 71449fe63163 10:30:16 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:30:16 ---> Running in aa28d2a11d32 10:30:16 Removing intermediate container aa28d2a11d32 10:30:16 ---> c1c1f66e1af4 10:30:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:30:16 ---> Running in 8b5de5d322c4 10:30:16 Removing intermediate container 8b5de5d322c4 10:30:16 ---> 13516c011044 10:30:16 Step 23/25 : LABEL arch=amd64 10:30:16 ---> Running in 879b3c3c9a2a 10:30:16 Removing intermediate container 879b3c3c9a2a 10:30:16 ---> fbc161c4c197 10:30:16 Step 24/25 : LABEL git_sha=9c2535dd5201ef8d0ae31179b02a132955c85bbe 10:30:16 ---> Running in 8411e7f136f1 10:30:16 Removing intermediate container 8411e7f136f1 10:30:16 ---> 3390e0a52d65 10:30:16 Step 25/25 : LABEL version=0.0.0 10:30:16 ---> Running in b443a9086bc6 10:30:16 Removing intermediate container b443a9086bc6 10:30:16 ---> a5405092e7a7 10:30:16 [Warning] One or more build-args [ARCH] were not consumed 10:30:16 Successfully built a5405092e7a7 10:30:16 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 10:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:17 10:30:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:30:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:17 latest: Pulling from edgex-lftools-log-publisher 10:30:17 5eb5b503b376: Pulling fs layer 10:30:17 5c69ac0246d0: Pulling fs layer 10:30:17 ec43610c2a17: Pulling fs layer 10:30:17 3a2ae6a8a46f: Pulling fs layer 10:30:17 33b1e0a273af: Pulling fs layer 10:30:17 5d3b04190fa2: Pulling fs layer 10:30:17 2f39f015ded8: Pulling fs layer 10:30:17 3a2ae6a8a46f: Waiting 10:30:17 33b1e0a273af: Waiting 10:30:17 2f39f015ded8: Waiting 10:30:17 5d3b04190fa2: Waiting 10:30:17 5c69ac0246d0: Verifying Checksum 10:30:17 5c69ac0246d0: Download complete 10:30:17 3a2ae6a8a46f: Verifying Checksum 10:30:17 3a2ae6a8a46f: Download complete 10:30:17 33b1e0a273af: Verifying Checksum 10:30:17 33b1e0a273af: Download complete 10:30:17 ec43610c2a17: Verifying Checksum 10:30:17 ec43610c2a17: Download complete 10:30:17 5d3b04190fa2: Download complete 10:30:17 5eb5b503b376: Verifying Checksum 10:30:17 5eb5b503b376: Download complete 10:30:18 2f39f015ded8: Download complete 10:30:19 5eb5b503b376: Pull complete 10:30:19 5c69ac0246d0: Pull complete 10:30:19 ec43610c2a17: Pull complete 10:30:19 3a2ae6a8a46f: Pull complete 10:30:19 33b1e0a273af: Pull complete 10:30:19 5d3b04190fa2: Pull complete 10:30:24 2f39f015ded8: Pull complete 10:30:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:30:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:30:24 prd-ubuntu20.04-docker-8c-8g-15686 does not seem to be running inside a container 10:30:24 $ 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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 10:30:28 $ docker top 4133dbc8f490ccf10357bbc3e5dd313603ac614814a8d0303f44b386118a0582 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:29 ---> job-cost.sh 10:30:29 lf-activate-venv: SKIPPING 10:30:29 INFO: No Stack... 10:30:29 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:29 INFO: Archiving Costs [Pipeline] sh 10:30:30 + cat /w/workspace/edgexfoundry_device-gpio_PR-178/archives/cost.csv 10:30:30 + cut -d, -f6 [Pipeline] lock 10:30:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] 10:30:30 Resource [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] did not exist. Created. 10:30:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:30 + echo total: 0.2199999988079071 [Pipeline] stash 10:30:30 Stashed 1 file(s) [Pipeline] } 10:30:30 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:30 $ docker stop --time=1 4133dbc8f490ccf10357bbc3e5dd313603ac614814a8d0303f44b386118a0582 10:30:31 $ docker rm -f --volumes 4133dbc8f490ccf10357bbc3e5dd313603ac614814a8d0303f44b386118a0582 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:30:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15690 in /w/workspace/edgexfoundry_device-gpio_PR-178 [Pipeline] { [Pipeline] ws 10:30:48 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 10:30:48 The recommended git tool is: git 10:30:58 using credential edgex-jenkins-ssh 10:30:58 Cloning the remote Git repository 10:30:58 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:30:58 > git init /w/workspace/device-gpio/3 # timeout=10 10:30:58 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:30:58 > git --version # timeout=10 10:30:58 > git --version # 'git version 2.25.1' 10:30:58 using GIT_SSH to set credentials SSH Credentials for GitHub 10:30:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:31:05 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:31:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:31:07 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:31:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:31:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/178/head:refs/remotes/origin/PR-178 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:31:07 Merging remotes/origin/main commit 63e68652b6ad95590cced61db99912ada0ba9712 into PR head commit 9c2535dd5201ef8d0ae31179b02a132955c85bbe 10:31:08 Merge succeeded, producing 9c2535dd5201ef8d0ae31179b02a132955c85bbe 10:31:08 Checking out Revision 9c2535dd5201ef8d0ae31179b02a132955c85bbe (PR-178) 10:31:08 Commit message: "build(snap): Add kamakura for epoch 0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:31:07 > git config core.sparsecheckout # timeout=10 10:31:07 > git checkout -f 9c2535dd5201ef8d0ae31179b02a132955c85bbe # timeout=10 10:31:07 > git remote # timeout=10 10:31:07 > git config --get remote.origin.url # timeout=10 10:31:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:31:07 > git merge 63e68652b6ad95590cced61db99912ada0ba9712 # timeout=10 10:31:08 > git rev-parse HEAD^{commit} # timeout=10 10:31:08 > git config core.sparsecheckout # timeout=10 10:31:08 > git checkout -f 9c2535dd5201ef8d0ae31179b02a132955c85bbe # timeout=10 10:31:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:31:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:31:09 Dload Upload Total Spent Left Speed 10:31:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 10:31:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:31:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:31:10 + sudo tee /etc/docker/daemon.new 10:31:10 { 10:31:10 "registry-mirrors": [ 10:31:10 "https://nexus3.edgexfoundry.org:10001" 10:31:10 ], 10:31:10 "bip": "10.250.0.254/24", 10:31:10 "hosts": [ 10:31:10 "tcp://0.0.0.0:5555", 10:31:10 "unix:///var/run/docker.sock" 10:31:10 ], 10:31:10 "mtu": 1458, 10:31:10 "selinux-enabled": true, 10:31:10 "seccomp-profile": "/etc/docker/seccomp.json" 10:31:10 } [Pipeline] sh 10:31:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:31:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:31:29 provisioning config files... 10:31:29 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config8315842743516399349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:31:30 ---> docker-login.sh 10:31:30 nexus3.edgexfoundry.org:10001 10:31:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:30 Configure a credential helper to remove this warning. See 10:31:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:30 10:31:30 Login Succeeded 10:31:30 nexus3.edgexfoundry.org:10002 10:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:31 Configure a credential helper to remove this warning. See 10:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:31 10:31:31 Login Succeeded 10:31:31 nexus3.edgexfoundry.org:10003 10:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:31 Configure a credential helper to remove this warning. See 10:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:31 10:31:31 Login Succeeded 10:31:31 nexus3.edgexfoundry.org:10004 10:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:32 Configure a credential helper to remove this warning. See 10:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:32 10:31:32 Login Succeeded 10:31:32 docker.io 10:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:31:32 Configure a credential helper to remove this warning. See 10:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:31:32 10:31:32 Login Succeeded 10:31:32 ---> docker-login.sh ends [Pipeline] } 10:31:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:31:33 ========================================================= 10:31:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:31:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:31:33 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 10:31:33 Sending build context to Docker daemon 8.157MB 10:31:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:31:34 Step 2/12 : FROM ${BASE} AS builder 10:31:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:31:34 c41833b44d91: Pulling fs layer 10:31:34 ed15518f5707: Pulling fs layer 10:31:34 feae8fd75edb: Pulling fs layer 10:31:34 242c74f7c9fa: Pulling fs layer 10:31:34 3cdef696dda3: Pulling fs layer 10:31:34 2ced38df9373: Pulling fs layer 10:31:34 58f1dce35555: Pulling fs layer 10:31:34 242c74f7c9fa: Waiting 10:31:34 3cdef696dda3: Waiting 10:31:34 2ced38df9373: Waiting 10:31:34 58f1dce35555: Waiting 10:31:34 ed15518f5707: Verifying Checksum 10:31:34 ed15518f5707: Download complete 10:31:34 242c74f7c9fa: Verifying Checksum 10:31:34 242c74f7c9fa: Download complete 10:31:34 3cdef696dda3: Verifying Checksum 10:31:34 3cdef696dda3: Download complete 10:31:34 c41833b44d91: Verifying Checksum 10:31:35 58f1dce35555: Verifying Checksum 10:31:35 58f1dce35555: Download complete 10:31:36 feae8fd75edb: Verifying Checksum 10:31:36 feae8fd75edb: Download complete 10:31:36 c41833b44d91: Pull complete 10:31:37 2ced38df9373: Verifying Checksum 10:31:37 2ced38df9373: Download complete 10:31:37 ed15518f5707: Pull complete 10:31:49 feae8fd75edb: Pull complete 10:31:49 242c74f7c9fa: Pull complete 10:31:50 3cdef696dda3: Pull complete 10:31:58 2ced38df9373: Pull complete 10:32:00 58f1dce35555: Pull complete 10:32:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 10:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:32:00 ---> fadd8f120f05 10:32:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:32:02 ---> Running in 70cd6360dbf4 10:32:02 Removing intermediate container 70cd6360dbf4 10:32:02 ---> 1a615603f69f 10:32:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:32:02 ---> Running in 0ad734b413ec 10:32:03 Removing intermediate container 0ad734b413ec 10:32:03 ---> 17f4fb7b7d25 10:32:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:32:03 ---> Running in a955351f7b0d 10:32:03 Removing intermediate container a955351f7b0d 10:32:03 ---> 0ef2386bc632 10:32:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:32:03 ---> Running in 7dc1c558b550 10:32:04 Removing intermediate container 7dc1c558b550 10:32:04 ---> 8defa73a57b1 10:32:04 Step 7/12 : WORKDIR /device-gpio 10:32:04 ---> Running in 6ac0527f0e39 10:32:04 Removing intermediate container 6ac0527f0e39 10:32:04 ---> b352003c0488 10:32:04 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:32:04 ---> Running in d2167e8f3798 10:32:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:32:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:32:08 (1/4) Installing openssh-keygen (9.1_p1-r3) 10:32:08 (2/4) Installing libedit (20221030.3.1-r0) 10:32:08 (3/4) Installing openssh-client-common (9.1_p1-r3) 10:32:08 (4/4) Installing openssh-client-default (9.1_p1-r3) 10:32:08 Executing busybox-1.35.0-r29.trigger 10:32:08 OK: 268 MiB in 57 packages 10:32:08 Removing intermediate container d2167e8f3798 10:32:08 ---> 455e2a391407 10:32:08 Step 9/12 : COPY go.mod vendor* ./ 10:32:09 ---> 0b87c1f6fcb2 10:32:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:32:09 ---> Running in 99aad542c85f 10:33:17 Removing intermediate container 99aad542c85f 10:33:17 ---> c3c4a651e62a 10:33:17 Step 11/12 : COPY . . 10:33:17 ---> 9519525bd758 10:33:17 Step 12/12 : RUN ${MAKE} 10:33:17 ---> Running in dd8411806e8b 10:33:17 noop 10:33:17 Removing intermediate container dd8411806e8b 10:33:17 ---> f3b94073e297 10:33:17 Successfully built f3b94073e297 10:33:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:17 + docker inspect -f . ci-base-image-arm64 10:33:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:18 prd-ubuntu20.04-docker-arm64-4c-16g-15690 does not seem to be running inside a container 10:33:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 10:33:21 $ docker top 982271ec48220b35a3a574836e2e849168fb540aa2d67cb370ffe41e82dd6e27 -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:22 + go version 10:33:22 go version go1.20.2 linux/arm64 [Pipeline] } 10:33:22 $ docker stop --time=1 982271ec48220b35a3a574836e2e849168fb540aa2d67cb370ffe41e82dd6e27 10:33:24 $ docker rm -f --volumes 982271ec48220b35a3a574836e2e849168fb540aa2d67cb370ffe41e82dd6e27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:33:24 + docker inspect -f . ci-base-image-arm64 10:33:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:33:25 prd-ubuntu20.04-docker-arm64-4c-16g-15690 does not seem to be running inside a container 10:33:25 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 10:33:26 $ docker top e443d3a9ffddcaa0b9b434b34f61733d2b8875e12614c1a47f842220bb1d577d -eo pid,comm [Pipeline] { [Pipeline] sh 10:33:27 + git config --global --add safe.directory /w/workspace/device-gpio/3 [Pipeline] fileExists [Pipeline] sh 10:33:28 + make test 10:33:28 go test ./... -coverprofile=coverage.out ./... 10:34:07 ? github.com/edgexfoundry/device-gpio [no test files] 10:36:13 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:36:13 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:36:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:36:13 go vet ./... 10:36:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:36:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:36:46 ./bin/test-attribution-txt.sh [Pipeline] echo 10:36:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:36:46 $ docker stop --time=1 e443d3a9ffddcaa0b9b434b34f61733d2b8875e12614c1a47f842220bb1d577d 10:36:48 $ docker rm -f --volumes e443d3a9ffddcaa0b9b434b34f61733d2b8875e12614c1a47f842220bb1d577d [Pipeline] // withDockerContainer [Pipeline] sh 10:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:36:49 Warning: overwriting stash ‘coverage-report’ 10:36:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:36:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:36:50 + ls -al . 10:36:50 total 152 10:36:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:33 . 10:36:50 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:30 .. 10:36:50 -rw-rw-r-- 1 jenkins jenkins 120 May 16 10:31 .dockerignore 10:36:50 drwxrwxr-x 8 jenkins jenkins 4096 May 16 10:31 .git 10:36:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:31 .github 10:36:50 -rw-rw-r-- 1 jenkins jenkins 343 May 16 10:31 .gitignore 10:36:50 -rw-rw-r-- 1 jenkins jenkins 41 May 16 10:31 .golangci.yml 10:36:50 -rw-rw-r-- 1 jenkins jenkins 9702 May 16 10:31 Attribution.txt 10:36:50 -rw-rw-r-- 1 jenkins jenkins 4069 May 16 10:31 CHANGELOG.md 10:36:50 -rw-rw-r-- 1 jenkins jenkins 1542 May 16 10:31 Dockerfile 10:36:50 -rw-rw-r-- 1 jenkins jenkins 677 May 16 10:31 GOVERNANCE.md 10:36:50 -rw-rw-r-- 1 jenkins jenkins 657 May 16 10:31 Jenkinsfile 10:36:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 16 10:31 LICENSE 10:36:50 -rw-rw-r-- 1 jenkins jenkins 1692 May 16 10:31 Makefile 10:36:50 -rw-rw-r-- 1 jenkins jenkins 617 May 16 10:31 OWNERS.md 10:36:50 -rw-rw-r-- 1 jenkins jenkins 11790 May 16 10:31 README.md 10:36:50 -rw-rw-r-- 1 jenkins jenkins 5 May 16 10:28 VERSION 10:36:50 drwxrwxr-x 2 jenkins jenkins 4096 May 16 10:31 bin 10:36:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:31 cmd 10:36:50 -rw-r--r-- 1 jenkins jenkins 10 May 16 10:33 coverage.out 10:36:50 -rw-rw-r-- 1 jenkins jenkins 3269 May 16 10:31 go.mod 10:36:50 -rw-rw-r-- 1 jenkins jenkins 31585 May 16 10:31 go.sum 10:36:50 drwxrwxr-x 3 jenkins jenkins 4096 May 16 10:31 internal 10:36:50 drwxrwxr-x 4 jenkins jenkins 4096 May 16 10:31 snap 10:36:50 -rw-rw-r-- 1 jenkins jenkins 209 May 16 10:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:36:50 + 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=9c2535dd5201ef8d0ae31179b02a132955c85bbe --label arch=arm64 --label version=0.0.0 . 10:36:51 Sending build context to Docker daemon 8.158MB 10:36:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 10:36:51 Step 2/25 : FROM ${BASE} AS builder 10:36:51 ---> f3b94073e297 10:36:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 10:36:51 ---> Running in d702b6969c8b 10:36:51 Removing intermediate container d702b6969c8b 10:36:51 ---> bf5aee866588 10:36:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:36:51 ---> Running in 5d5e9c7b1304 10:36:52 Removing intermediate container 5d5e9c7b1304 10:36:52 ---> 0ac6947e2f71 10:36:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 10:36:52 ---> Running in 2df02998c2ee 10:36:52 Removing intermediate container 2df02998c2ee 10:36:52 ---> 6fa1c69d30a7 10:36:52 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 10:36:52 ---> Running in ed7c9979994c 10:36:52 Removing intermediate container ed7c9979994c 10:36:52 ---> 735cc1ee5858 10:36:52 Step 7/25 : WORKDIR /device-gpio 10:36:53 ---> Running in 93851c4ba221 10:36:53 Removing intermediate container 93851c4ba221 10:36:53 ---> be0d2e9de29b 10:36:53 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:36:53 ---> Running in 62683c02205e 10:36:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:36:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:36:56 OK: 268 MiB in 57 packages 10:36:57 Removing intermediate container 62683c02205e 10:36:57 ---> 6be320e598eb 10:36:57 Step 9/25 : COPY go.mod vendor* ./ 10:36:57 ---> 4463140f862d 10:36:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:36:57 ---> Running in 6dc440a63cc1 10:37:00 Removing intermediate container 6dc440a63cc1 10:37:00 ---> dad8a0a9f553 10:37:00 Step 11/25 : COPY . . 10:37:01 ---> 390edb94d96d 10:37:01 Step 12/25 : RUN ${MAKE} 10:37:01 ---> Running in 340be4450046 10:37:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 10:39:39 Removing intermediate container 340be4450046 10:39:39 ---> 8dc6dc739cf3 10:39:39 Step 13/25 : FROM alpine:3.17 10:39:39 3.17: Pulling from library/alpine 10:39:39 c41833b44d91: Already exists 10:39:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:39:39 Status: Downloaded newer image for alpine:3.17 10:39:39 ---> 51e60588ff2c 10:39:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:39:39 ---> Running in d917c5e81c2f 10:39:39 Removing intermediate container d917c5e81c2f 10:39:39 ---> 62501b4526e3 10:39:39 Step 15/25 : RUN apk add --update --no-cache 10:39:39 ---> Running in 8f3cc4c9e990 10:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:39:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:39:39 OK: 7 MiB in 15 packages 10:39:39 Removing intermediate container 8f3cc4c9e990 10:39:39 ---> 52f051c7931c 10:39:39 Step 16/25 : WORKDIR / 10:39:39 ---> Running in 30885e3527b8 10:39:39 Removing intermediate container 30885e3527b8 10:39:39 ---> 08bb275efe35 10:39:39 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:39:39 ---> 099ac003207b 10:39:39 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:39:39 ---> 644e636b38d8 10:39:39 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:39:39 ---> e1a5b11402ca 10:39:39 Step 20/25 : EXPOSE 59910 10:39:39 ---> Running in e406de9c9aa3 10:39:39 Removing intermediate container e406de9c9aa3 10:39:39 ---> 99a54c9084e5 10:39:39 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:39:39 ---> Running in d457e0559526 10:39:39 Removing intermediate container d457e0559526 10:39:39 ---> 627436e31ded 10:39:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:39:39 ---> Running in 31bf04b8dee4 10:39:39 Removing intermediate container 31bf04b8dee4 10:39:39 ---> 31ce7cd90007 10:39:39 Step 23/25 : LABEL arch=arm64 10:39:39 ---> Running in bcf640e453ca 10:39:39 Removing intermediate container bcf640e453ca 10:39:39 ---> 7b1d4e0eea48 10:39:39 Step 24/25 : LABEL git_sha=9c2535dd5201ef8d0ae31179b02a132955c85bbe 10:39:39 ---> Running in a8c661f2100b 10:39:39 Removing intermediate container a8c661f2100b 10:39:39 ---> 50c2607a76ad 10:39:39 Step 25/25 : LABEL version=0.0.0 10:39:39 ---> Running in 64c097d7a760 10:39:39 Removing intermediate container 64c097d7a760 10:39:39 ---> 311bbdb80e58 10:39:39 [Warning] One or more build-args [ARCH] were not consumed 10:39:39 Successfully built 311bbdb80e58 10:39:39 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 10:39:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:39:39 10:39:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:39:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:39:39 arm64: Pulling from edgex-lftools-log-publisher 10:39:39 8998bd30e6a1: Pulling fs layer 10:39:39 04944245beec: Pulling fs layer 10:39:39 699f458cf7ca: Pulling fs layer 10:39:39 765212b225bb: Pulling fs layer 10:39:39 f23df028b6ca: Pulling fs layer 10:39:39 d65c8cfc05b1: Pulling fs layer 10:39:39 2437ff75d9bd: Pulling fs layer 10:39:39 f23df028b6ca: Waiting 10:39:39 d65c8cfc05b1: Waiting 10:39:39 2437ff75d9bd: Waiting 10:39:39 765212b225bb: Waiting 10:39:40 04944245beec: Verifying Checksum 10:39:40 04944245beec: Download complete 10:39:40 765212b225bb: Verifying Checksum 10:39:40 765212b225bb: Download complete 10:39:40 f23df028b6ca: Verifying Checksum 10:39:40 f23df028b6ca: Download complete 10:39:40 d65c8cfc05b1: Verifying Checksum 10:39:40 d65c8cfc05b1: Download complete 10:39:40 699f458cf7ca: Verifying Checksum 10:39:40 8998bd30e6a1: Verifying Checksum 10:39:40 8998bd30e6a1: Download complete 10:39:43 2437ff75d9bd: Verifying Checksum 10:39:43 2437ff75d9bd: Download complete 10:39:44 8998bd30e6a1: Pull complete 10:39:44 04944245beec: Pull complete 10:39:46 699f458cf7ca: Pull complete 10:39:46 765212b225bb: Pull complete 10:39:47 f23df028b6ca: Pull complete 10:39:47 d65c8cfc05b1: Pull complete 10:39:59 2437ff75d9bd: Pull complete 10:40:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:40:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:00 prd-ubuntu20.04-docker-arm64-4c-16g-15690 does not seem to be running inside a container 10:40:00 $ 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/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@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 10:40:03 $ docker top 32319f43ed385daac5285df2fa3ce2f17c571d5149c456943cb5654659e7e82a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:40:03 ---> job-cost.sh 10:40:03 lf-activate-venv: SKIPPING 10:40:03 INFO: No Stack... 10:40:04 INFO: Retrieving Pricing Info for: v3-standard-4 10:40:05 INFO: Archiving Costs [Pipeline] sh 10:40:05 + cat /w/workspace/device-gpio/3/archives/cost.csv 10:40:05 + cut -d, -f6 [Pipeline] lock 10:40:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] 10:40:05 Resource [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] did not exist. Created. 10:40:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:40:06 /w/workspace/device-gpio/3@tmp/durable-2f2f7643/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:40:07 + echo total: 0.10999999940395355 [Pipeline] stash 10:40:07 Warning: overwriting stash ‘stack-cost’ 10:40:07 Stashed 1 file(s) [Pipeline] } 10:40:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-178-3-stack-cost] [Pipeline] // lock [Pipeline] } 10:40:07 $ docker stop --time=1 32319f43ed385daac5285df2fa3ce2f17c571d5149c456943cb5654659e7e82a 10:40:08 $ docker rm -f --volumes 32319f43ed385daac5285df2fa3ce2f17c571d5149c456943cb5654659e7e82a [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 10:40:09 provisioning config files... 10:40:09 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config17684087060030526195tmp [Pipeline] { [Pipeline] sh 10:40:09 + set +x 10:40:09 + curl -s https://codecov.io/bash 10:40:09 + bash -s -- 10:40:09 10:40:09 _____ _ 10:40:09 / ____| | | 10:40:09 | | ___ __| | ___ ___ _____ __ 10:40:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:40:09 | |___| (_) | (_| | __/ (_| (_) \ V / 10:40:09 \_____\___/ \__,_|\___|\___\___/ \_/ 10:40:09 Bash-1.0.6 10:40:09 10:40:09 10:40:09 ==> git version 2.25.1 found 10:40:09 ==> 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 10:40:09 Release-Date: 2020-01-08 10:40:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:40:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:40:09 ==> Jenkins CI detected. 10:40:09 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-178 10:40:09 project root: . 10:40:09 --> token set from env 10:40:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:40:09 ==> Running gcov in . (disable via -X gcov) 10:40:09 ==> Python coveragepy not found 10:40:09 ==> Searching for coverage reports in: 10:40:09 + . 10:40:09 -> Found 1 reports 10:40:09 ==> Detecting git/mercurial file structure 10:40:09 ==> Reading reports 10:40:09 + ./coverage.out bytes=10 10:40:09 ==> Appending adjustments 10:40:09 https://docs.codecov.io/docs/fixing-reports 10:40:09 + Found adjustments 10:40:09 ==> Gzipping contents 10:40:09 4.0K /tmp/codecov.HcTv7E.gz 10:40:09 ==> Uploading reports 10:40:09 url: https://codecov.io 10:40:09 query: branch=PR-178&commit=9c2535dd5201ef8d0ae31179b02a132955c85bbe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-178%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=178&job=&cmd_args= 10:40:09 -> Pinging Codecov 10:40:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-178&commit=9c2535dd5201ef8d0ae31179b02a132955c85bbe&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-178%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=178&job=&cmd_args= 10:40:09 -> Uploading to 10:40:09 https://storage.googleapis.com/codecov/v4/raw/2023-05-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9c2535dd5201ef8d0ae31179b02a132955c85bbe/5c1837b2-d1b4-4e62-a5b9-3feb340e3e5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230516%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230516T104009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e8e09dd83e9759666706aa5f79b1326524d6c1a327af91c7e783c2ad7bdef24 10:40:09 % Total % Received % Xferd Average Speed Time Time Time Current 10:40:09 Dload Upload Total Spent Left Speed 10:40:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3399 --:--:-- --:--:-- --:--:-- 3399 10:40:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9c2535dd5201ef8d0ae31179b02a132955c85bbe [Pipeline] } 10:40:10 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 10:40:10 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-178/archives ] 10:40:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:40:10 total 16 10:40:10 drwxr-xr-x 3 root root 4096 May 16 10:30 . 10:40:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:30 .. 10:40:10 drwxr-xr-x 2 root root 4096 May 16 10:30 cost 10:40:10 -rw-r--r-- 1 root root 83 May 16 10:30 cost.csv 10:40:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:40:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-178/archives 10:40:10 total 16 10:40:10 drwxr-xr-x 3 jenkins jenkins 4096 May 16 10:30 . 10:40:10 drwxrwxr-x 10 jenkins jenkins 4096 May 16 10:30 .. 10:40:10 drwxr-xr-x 2 jenkins jenkins 4096 May 16 10:30 cost 10:40:10 -rw-r--r-- 1 jenkins jenkins 83 May 16 10:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:40:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:40:11 ---> package-listing.sh 10:40:11 ++ facter osfamily 10:40:11 ++ tr '[:upper:]' '[:lower:]' 10:40:12 + OS_FAMILY=debian 10:40:12 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-178 10:40:12 + START_PACKAGES=/tmp/packages_start.txt 10:40:12 + END_PACKAGES=/tmp/packages_end.txt 10:40:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:40:12 + PACKAGES=/tmp/packages_start.txt 10:40:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-178 ']' 10:40:12 + PACKAGES=/tmp/packages_end.txt 10:40:12 + case "${OS_FAMILY}" in 10:40:12 + dpkg -l 10:40:12 + grep '^ii' 10:40:12 + '[' -f /tmp/packages_start.txt ']' 10:40:12 + '[' -f /tmp/packages_end.txt ']' 10:40:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:40:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-178 ']' 10:40:12 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-178/archives/ 10:40:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-178/archives/ [Pipeline] echo 10:40:12 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-178/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:40:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:40:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:40:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:40:13 prd-ubuntu20.04-docker-8c-8g-15686 does not seem to be running inside a container 10:40:13 $ 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-178/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-178 -v /w/workspace/edgexfoundry_device-gpio_PR-178:/w/workspace/edgexfoundry_device-gpio_PR-178:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-178@tmp:/w/workspace/edgexfoundry_device-gpio_PR-178@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:40:13 $ docker top cafc13cfc827fe8446ff698ebe1b31354e3565d9dbb3f128d4328d7132ef9fbe -eo pid,comm [Pipeline] { [Pipeline] sh 10:40:13 + touch /tmp/pre-build-complete [Pipeline] sh 10:40:13 + mkdir -p /var/log/sysstat [Pipeline] sh 10:40:14 + ls /var/log/sa-host 10:40:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:40:14 provisioning config files... 10:40:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-178@tmp/config1996820513603712726tmp [Pipeline] { [Pipeline] echo 10:40:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:40:14 ---> create-netrc.sh [Pipeline] } 10:40:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:40:14 ---> python-tools-install.sh [Pipeline] echo 10:40:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:40:15 ---> sudo-logs.sh 10:40:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:40:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:40:15 ---> job-cost.sh 10:40:15 lf-activate-venv: SKIPPING 10:40:15 DEBUG: total: 0.2199999988079071 10:40:15 INFO: Retrieving Stack Cost... 10:40:15 INFO: Retrieving Pricing Info for: v3-standard-8 10:40:16 INFO: Archiving Costs [Pipeline] echo 10:40:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:40:16 ---> logs-deploy.sh 10:40:16 lf-activate-venv: SKIPPING 10:40:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-178/3 10:40:16 INFO: archiving workspace using pattern(s): 10:40:17 Archives upload complete. 10:40:17 INFO: archiving logs to Nexus