Pull request #149 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-gpio Loading trusted files from base branch main at f49e5d786ea68b16a14d01a91160d9484d8a22ef rather than a494769951fba69c697a18dd391bc03c5230f9f6 Obtained Jenkinsfile from f49e5d786ea68b16a14d01a91160d9484d8a22ef 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-ssh17033409799188354548.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6743481927028440699.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16874678510016993945.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh4074699146185480006.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-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1365100154224042747.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 ‘prd-ubuntu20.04-docker-8c-8g-8393’ Running on prd-ubuntu20.04-docker-8c-8g-8395 in /w/workspace/edgexfoundry_device-gpio_PR-149 [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-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f49e5d786ea68b16a14d01a91160d9484d8a22ef into PR head commit a494769951fba69c697a18dd391bc03c5230f9f6 Merge succeeded, producing a494769951fba69c697a18dd391bc03c5230f9f6 Checking out Revision a494769951fba69c697a18dd391bc03c5230f9f6 (PR-149) > git config core.sparsecheckout # timeout=10 > git checkout -f a494769951fba69c697a18dd391bc03c5230f9f6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a494769951fba69c697a18dd391bc03c5230f9f6 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk 4d7c1198da1e1851cbac593200b815338be49d76 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:05 ========================================================= 06:15:05 EdgeX Global Pipelines Version Info 06:15:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:06 ------------------- 06:15:06 stable info: 06:15:06 ------------------- 06:15:06 Commited By: Bill Mahoney bill.mahoney@intel.com 06:15:06 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:15:06 Message: update stable to v1.0.248 06:15:06 ------------------- 06:15:06 experimental info: 06:15:06 ------------------- 06:15:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:06 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:15:06 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 06:15:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 06:15:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a494769951fba69c697a18dd391bc03c5230f9f6 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a494769 [Pipeline] echo 06:15:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:07 provisioning config files... 06:15:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config9269973239108882578tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:07 ---> docker-login.sh 06:15:07 nexus3.edgexfoundry.org:10001 06:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:07 Configure a credential helper to remove this warning. See 06:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:07 06:15:07 Login Succeeded 06:15:07 nexus3.edgexfoundry.org:10002 06:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:08 Configure a credential helper to remove this warning. See 06:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:08 06:15:08 Login Succeeded 06:15:08 nexus3.edgexfoundry.org:10003 06:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:08 Configure a credential helper to remove this warning. See 06:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:08 06:15:08 Login Succeeded 06:15:08 nexus3.edgexfoundry.org:10004 06:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:08 Configure a credential helper to remove this warning. See 06:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:08 06:15:08 Login Succeeded 06:15:08 docker.io 06:15:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:08 Configure a credential helper to remove this warning. See 06:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:08 06:15:08 Login Succeeded 06:15:08 ---> docker-login.sh ends [Pipeline] } 06:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:15:09 + git rev-list -1 --merges a494769951fba69c697a18dd391bc03c5230f9f6~1..a494769951fba69c697a18dd391bc03c5230f9f6 [Pipeline] echo 06:15:09 -----------> git rev-list -1 --merges a494769951fba69c697a18dd391bc03c5230f9f6~1..a494769951fba69c697a18dd391bc03c5230f9f6 a494769951fba69c697a18dd391bc03c5230f9f6 [false] [Pipeline] sh 06:15:09 + git log --format=format:%s -1 a494769951fba69c697a18dd391bc03c5230f9f6 [Pipeline] echo 06:15:09 ========================================================= 06:15:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:15:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:09 + git log --format=format:%s -1 a494769951fba69c697a18dd391bc03c5230f9f6 [Pipeline] echo 06:15:09 [semverPrep] GIT_COMMIT: a494769951fba69c697a18dd391bc03c5230f9f6, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 06:15:09 [semverPrep] This is not a build commit. [Pipeline] sh 06:15:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:10 + grep -v github /etc/ssh/ssh_known_hosts 06:15:10 + [ -e /tmp/ssh_known_hosts ] 06:15:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:15:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:15:10 + sudo tee -a /etc/ssh/ssh_known_hosts 06:15:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:10 06:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:10 0.1.4: Pulling from edgex-devops/py-git-semver 06:15:10 b85a868b505f: Pulling fs layer 06:15:10 e2be974225ed: Pulling fs layer 06:15:10 339a4e72a1f5: Pulling fs layer 06:15:10 988bab9f4d93: Pulling fs layer 06:15:10 1469e6f7b9e6: Pulling fs layer 06:15:10 eaf3925da568: Pulling fs layer 06:15:10 bab4dde63d76: Pulling fs layer 06:15:10 bde34c3a00c8: Pulling fs layer 06:15:10 b352a97aabf1: Pulling fs layer 06:15:10 4872d77fe225: Pulling fs layer 06:15:10 5851b861e8e6: Pulling fs layer 06:15:10 bab4dde63d76: Waiting 06:15:10 4872d77fe225: Waiting 06:15:10 bde34c3a00c8: Waiting 06:15:10 b352a97aabf1: Waiting 06:15:10 5851b861e8e6: Waiting 06:15:10 eaf3925da568: Waiting 06:15:10 988bab9f4d93: Waiting 06:15:10 1469e6f7b9e6: Waiting 06:15:10 e2be974225ed: Download complete 06:15:10 988bab9f4d93: Verifying Checksum 06:15:10 988bab9f4d93: Download complete 06:15:10 1469e6f7b9e6: Verifying Checksum 06:15:10 1469e6f7b9e6: Download complete 06:15:10 339a4e72a1f5: Verifying Checksum 06:15:10 339a4e72a1f5: Download complete 06:15:11 bde34c3a00c8: Download complete 06:15:11 b352a97aabf1: Download complete 06:15:11 4872d77fe225: Download complete 06:15:11 5851b861e8e6: Verifying Checksum 06:15:11 5851b861e8e6: Download complete 06:15:11 b85a868b505f: Download complete 06:15:11 bab4dde63d76: Verifying Checksum 06:15:11 bab4dde63d76: Download complete 06:15:12 b85a868b505f: Pull complete 06:15:12 e2be974225ed: Pull complete 06:15:12 339a4e72a1f5: Pull complete 06:15:12 988bab9f4d93: Pull complete 06:15:13 1469e6f7b9e6: Pull complete 06:15:13 eaf3925da568: Pull complete 06:15:15 bab4dde63d76: Pull complete 06:15:15 bde34c3a00c8: Pull complete 06:15:15 b352a97aabf1: Pull complete 06:15:15 4872d77fe225: Pull complete 06:15:15 5851b861e8e6: Pull complete 06:15:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:15:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:15 prd-ubuntu20.04-docker-8c-8g-8395 does not seem to be running inside a container 06:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@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-devops/py-git-semver:0.1.4 cat 06:15:19 $ docker top f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a -eo pid,comm 06:15:19 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). 06:15:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:19 [ssh-agent] Looking for ssh-agent implementation... 06:15:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:19 $ docker exec f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a ssh-agent 06:15:19 SSH_AUTH_SOCK=/tmp/ssh-NYxlMHdRu4OA/agent.32 06:15:19 SSH_AGENT_PID=39 06:15:19 Running ssh-add (command line suppressed) 06:15:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_2622073369367391760.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_2622073369367391760.key) 06:15:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:19 + git tag --points-at HEAD [Pipeline] } 06:15:19 $ docker exec --env ******** --env ******** f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a ssh-agent -k 06:15:19 unset SSH_AUTH_SOCK; 06:15:19 unset SSH_AGENT_PID; 06:15:19 echo Agent pid 39 killed; 06:15:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:19 [ssh-agent] Looking for ssh-agent implementation... 06:15:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:20 $ docker exec f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a ssh-agent 06:15:20 SSH_AUTH_SOCK=/tmp/ssh-b7AS4Oc1ZUtM/agent.71 06:15:20 SSH_AGENT_PID=77 06:15:20 Running ssh-add (command line suppressed) 06:15:20 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_9602186281955210809.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_9602186281955210809.key) 06:15:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:20 + git semver init 06:15:20 2023-04-13 06:15:20,733 [run_init] DEBUG init version:0.0.0 force:False 06:15:20 2023-04-13 06:15:20,733 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver 06:15:20 2023-04-13 06:15:20,734 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-149/.semver 06:15:20 2023-04-13 06:15:20,734 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-149/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149, universal_newlines=False, shell=None, istream=None) 06:15:21 2023-04-13 06:15:21,654 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.git/info/exclude 06:15:21 2023-04-13 06:15:21,654 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 with force:False 06:15:21 2023-04-13 06:15:21,654 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 06:15:21 2023-04-13 06:15:21,658 [execute] INFO git cat-file --batch-check 06:15:21 2023-04-13 06:15:21,659 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 06:15:21 2023-04-13 06:15:21,664 [execute] INFO git cat-file --batch 06:15:21 2023-04-13 06:15:21,665 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 06:15:21 2023-04-13 06:15:21,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 06:15:21 0.0.0 [Pipeline] } 06:15:21 $ docker exec --env ******** --env ******** f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a ssh-agent -k 06:15:21 unset SSH_AUTH_SOCK; 06:15:21 unset SSH_AGENT_PID; 06:15:21 echo Agent pid 77 killed; 06:15:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:22 + git semver [Pipeline] } 06:15:22 $ docker stop --time=1 f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a 06:15:23 $ docker rm -f --volumes f8c4df8d7bd80ad126f559ee85ec2489ea7a1ef6f2d2b01c5026fbe8ab2b345a [Pipeline] // withDockerContainer [Pipeline] sh 06:15:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:24 Stashed 1 file(s) [Pipeline] echo 06:15:24 [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 06:15:24 provisioning config files... 06:15:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config2126535640150597480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:24 ---> docker-login.sh 06:15:24 nexus3.edgexfoundry.org:10001 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10002 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10003 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 nexus3.edgexfoundry.org:10004 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:24 Configure a credential helper to remove this warning. See 06:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:24 06:15:24 Login Succeeded 06:15:24 docker.io 06:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:25 Configure a credential helper to remove this warning. See 06:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:25 06:15:25 Login Succeeded 06:15:25 ---> docker-login.sh ends [Pipeline] } 06:15:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:25 ========================================================= 06:15:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:15:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:25 + 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 . 06:15:25 Sending build context to Docker daemon 16.08MB 06:15:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:15:25 Step 2/12 : FROM ${BASE} AS builder 06:15:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:25 63b65145d645: Pulling fs layer 06:15:25 a2d21d5440eb: Pulling fs layer 06:15:25 935e6c44a52c: Pulling fs layer 06:15:25 94cc34f8dd06: Pulling fs layer 06:15:25 30dea6a524f1: Pulling fs layer 06:15:25 a2aff8979fd8: Pulling fs layer 06:15:25 6808be2612f2: Pulling fs layer 06:15:25 f25807f1079a: Pulling fs layer 06:15:25 94cc34f8dd06: Waiting 06:15:25 6808be2612f2: Waiting 06:15:25 f25807f1079a: Waiting 06:15:25 30dea6a524f1: Waiting 06:15:25 a2aff8979fd8: Waiting 06:15:25 a2d21d5440eb: Download complete 06:15:25 94cc34f8dd06: Verifying Checksum 06:15:25 94cc34f8dd06: Download complete 06:15:25 30dea6a524f1: Verifying Checksum 06:15:25 30dea6a524f1: Download complete 06:15:25 63b65145d645: Verifying Checksum 06:15:25 63b65145d645: Download complete 06:15:25 a2aff8979fd8: Verifying Checksum 06:15:25 a2aff8979fd8: Download complete 06:15:25 63b65145d645: Pull complete 06:15:26 a2d21d5440eb: Pull complete 06:15:26 f25807f1079a: Verifying Checksum 06:15:26 f25807f1079a: Download complete 06:15:26 935e6c44a52c: Verifying Checksum 06:15:26 935e6c44a52c: Download complete 06:15:26 6808be2612f2: Verifying Checksum 06:15:26 6808be2612f2: Download complete 06:15:29 935e6c44a52c: Pull complete 06:15:29 94cc34f8dd06: Pull complete 06:15:29 30dea6a524f1: Pull complete 06:15:29 a2aff8979fd8: Pull complete 06:15:32 6808be2612f2: Pull complete 06:15:33 f25807f1079a: Pull complete 06:15:33 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:15:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:15:33 ---> 3b553350e43f 06:15:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:15:39 Still waiting to schedule task 06:15:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8394’ 06:15:39 ---> Running in 19a68cbac0eb 06:15:39 Removing intermediate container 19a68cbac0eb 06:15:39 ---> 3eef5e55d5e9 06:15:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:15:39 ---> Running in 47acb9e42021 06:15:39 Removing intermediate container 47acb9e42021 06:15:39 ---> ef659faae9c4 06:15:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:15:39 ---> Running in 169caf6118f5 06:15:39 Removing intermediate container 169caf6118f5 06:15:39 ---> 367666c808fe 06:15:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:15:39 ---> Running in e15d917cd4bd 06:15:39 Removing intermediate container e15d917cd4bd 06:15:39 ---> 59b349262349 06:15:39 Step 7/12 : WORKDIR /device-gpio 06:15:39 ---> Running in 2d5c639ef3fb 06:15:39 Removing intermediate container 2d5c639ef3fb 06:15:39 ---> b599ec0d3193 06:15:39 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:15:39 ---> Running in 0e3f6277696d 06:15:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:15:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:15:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:15:40 (2/4) Installing libedit (20221030.3.1-r0) 06:15:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:15:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:15:40 Executing busybox-1.35.0-r29.trigger 06:15:40 OK: 269 MiB in 57 packages 06:15:40 Removing intermediate container 0e3f6277696d 06:15:40 ---> 98568d0a1d3b 06:15:40 Step 9/12 : COPY go.mod vendor* ./ 06:15:40 ---> b541046544fd 06:15:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:41 ---> Running in 34065a361301 06:16:13 Removing intermediate container 34065a361301 06:16:13 ---> 5a1f95b6fb79 06:16:13 Step 11/12 : COPY . . 06:16:13 ---> de0eadf813ce 06:16:13 Step 12/12 : RUN ${MAKE} 06:16:13 ---> Running in 199393ebf13c 06:16:13 noop 06:16:14 Removing intermediate container 199393ebf13c 06:16:14 ---> 5cc7560fe2ee 06:16:14 Successfully built 5cc7560fe2ee 06:16:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:14 + docker inspect -f . ci-base-image-x86_64 06:16:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:14 prd-ubuntu20.04-docker-8c-8g-8395 does not seem to be running inside a container 06:16:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:14 $ docker top 84e2d4456df33f8c473dd7d9219df86ccdb39907545207cb3da71bcd5d1522f3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:15 + go version 06:16:15 go version go1.20.2 linux/amd64 [Pipeline] } 06:16:15 $ docker stop --time=1 84e2d4456df33f8c473dd7d9219df86ccdb39907545207cb3da71bcd5d1522f3 06:16:16 $ docker rm -f --volumes 84e2d4456df33f8c473dd7d9219df86ccdb39907545207cb3da71bcd5d1522f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:16 + docker inspect -f . ci-base-image-x86_64 06:16:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:16 prd-ubuntu20.04-docker-8c-8g-8395 does not seem to be running inside a container 06:16:16 $ 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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:16:17 $ docker top 569c2adfff155bc5e66dffb4c08bed95c6209695b152f30025833a5678301439 -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-149 [Pipeline] fileExists [Pipeline] sh 06:16:17 + make test 06:16:17 go test ./... -coverprofile=coverage.out ./... 06:16:23 ? github.com/edgexfoundry/device-gpio [no test files] 06:16:33 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:16:33 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:16:38 go vet ./... 06:16:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:42 ./bin/test-attribution-txt.sh 06:16:42 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:42 $ docker stop --time=1 569c2adfff155bc5e66dffb4c08bed95c6209695b152f30025833a5678301439 06:16:45 $ docker rm -f --volumes 569c2adfff155bc5e66dffb4c08bed95c6209695b152f30025833a5678301439 [Pipeline] // withDockerContainer [Pipeline] sh 06:16:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:47 + ls -al . 06:16:47 total 156 06:16:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 06:16 . 06:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:15 .. 06:16:47 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 06:15 .dockerignore 06:16:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:15 .git 06:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:15 .github 06:16:47 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 06:15 .gitignore 06:16:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:15 .golangci.yml 06:16:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:15 .semver 06:16:47 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 06:15 Attribution.txt 06:16:47 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 06:15 CHANGELOG.md 06:16:47 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 06:15 Dockerfile 06:16:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:15 GOVERNANCE.md 06:16:47 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 06:15 Jenkinsfile 06:16:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:15 LICENSE 06:16:47 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 06:15 Makefile 06:16:47 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 06:15 OWNERS.md 06:16:47 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 06:15 README.md 06:16:47 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:15 VERSION 06:16:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:15 bin 06:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:15 cmd 06:16:47 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 06:16 coverage.out 06:16:47 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 06:15 go.mod 06:16:47 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 06:15 go.sum 06:16:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:15 internal 06:16:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:15 snap 06:16:47 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:47 + 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=a494769951fba69c697a18dd391bc03c5230f9f6 --label arch=amd64 --label version=0.0.0 . 06:16:47 Sending build context to Docker daemon 16.08MB 06:16:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:16:47 Step 2/25 : FROM ${BASE} AS builder 06:16:47 ---> 5cc7560fe2ee 06:16:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:16:47 ---> Running in 095162a750d6 06:16:47 Removing intermediate container 095162a750d6 06:16:47 ---> 7336550dcba4 06:16:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:16:47 ---> Running in a87203a07de0 06:16:47 Removing intermediate container a87203a07de0 06:16:47 ---> 4dd705154769 06:16:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:16:47 ---> Running in b0e5e4504264 06:16:47 Removing intermediate container b0e5e4504264 06:16:47 ---> bccef2772192 06:16:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:16:47 ---> Running in 8b8cabf58eee 06:16:47 Removing intermediate container 8b8cabf58eee 06:16:47 ---> 16ad7bbfd339 06:16:47 Step 7/25 : WORKDIR /device-gpio 06:16:47 ---> Running in c219f6b1a13d 06:16:48 Removing intermediate container c219f6b1a13d 06:16:48 ---> d105f4cb7459 06:16:48 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:16:48 ---> Running in 9415a271b539 06:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:16:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:16:48 OK: 269 MiB in 57 packages 06:16:49 Removing intermediate container 9415a271b539 06:16:49 ---> 4a8a3f06091c 06:16:49 Step 9/25 : COPY go.mod vendor* ./ 06:16:49 ---> 9e883d751c4b 06:16:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:49 ---> Running in 45434da65c68 06:16:49 Removing intermediate container 45434da65c68 06:16:49 ---> ab2c3ac71ee1 06:16:49 Step 11/25 : COPY . . 06:16:50 ---> 8a21c2a9d061 06:16:50 Step 12/25 : RUN ${MAKE} 06:16:50 ---> Running in dfa441bd87ce 06:16:50 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 06:17:12 Removing intermediate container dfa441bd87ce 06:17:12 ---> 5a6772ba050b 06:17:12 Step 13/25 : FROM alpine:3.17 06:17:12 3.17: Pulling from library/alpine 06:17:12 f56be85fc22e: Pulling fs layer 06:17:12 f56be85fc22e: Verifying Checksum 06:17:12 f56be85fc22e: Download complete 06:17:12 f56be85fc22e: Pull complete 06:17:12 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:17:12 Status: Downloaded newer image for alpine:3.17 06:17:12 ---> 9ed4aefc74f6 06:17:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:17:12 ---> Running in b425c7c53a63 06:17:12 Removing intermediate container b425c7c53a63 06:17:12 ---> f3899cde3b9c 06:17:12 Step 15/25 : RUN apk add --update --no-cache 06:17:12 ---> Running in bb167a5cd755 06:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:17:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:17:12 OK: 7 MiB in 15 packages 06:17:12 Removing intermediate container bb167a5cd755 06:17:12 ---> 4bc955dac077 06:17:12 Step 16/25 : WORKDIR / 06:17:12 ---> Running in b9159e9b0fe5 06:17:12 Removing intermediate container b9159e9b0fe5 06:17:12 ---> fc4182f6d015 06:17:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:17:12 ---> c570a6789b9a 06:17:12 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:17:12 ---> 717fcb6a5511 06:17:12 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:17:12 ---> 2d6c632f1f00 06:17:12 Step 20/25 : EXPOSE 59910 06:17:12 ---> Running in 0f29a66db03f 06:17:12 Removing intermediate container 0f29a66db03f 06:17:12 ---> df6a220466d9 06:17:12 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:17:12 ---> Running in 7b3389bec7d0 06:17:12 Removing intermediate container 7b3389bec7d0 06:17:12 ---> 8754f9593d6a 06:17:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:17:12 ---> Running in 45be85f56174 06:17:12 Removing intermediate container 45be85f56174 06:17:12 ---> 79ec6b16d1a1 06:17:12 Step 23/25 : LABEL arch=amd64 06:17:12 ---> Running in 47fd37074e24 06:17:12 Removing intermediate container 47fd37074e24 06:17:12 ---> af89917434f7 06:17:12 Step 24/25 : LABEL git_sha=a494769951fba69c697a18dd391bc03c5230f9f6 06:17:12 ---> Running in 8a2710c58abc 06:17:12 Removing intermediate container 8a2710c58abc 06:17:12 ---> f119bd72352c 06:17:12 Step 25/25 : LABEL version=0.0.0 06:17:12 ---> Running in 64f8d22428db 06:17:12 Removing intermediate container 64f8d22428db 06:17:12 ---> a2d262bc9867 06:17:12 [Warning] One or more build-args [ARCH] were not consumed 06:17:12 Successfully built a2d262bc9867 06:17:12 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 06:17:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:13 06:17:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:13 latest: Pulling from edgex-lftools-log-publisher 06:17:13 5eb5b503b376: Pulling fs layer 06:17:13 5c69ac0246d0: Pulling fs layer 06:17:13 ec43610c2a17: Pulling fs layer 06:17:13 3a2ae6a8a46f: Pulling fs layer 06:17:13 33b1e0a273af: Pulling fs layer 06:17:13 5d3b04190fa2: Pulling fs layer 06:17:13 2f39f015ded8: Pulling fs layer 06:17:13 3a2ae6a8a46f: Waiting 06:17:13 33b1e0a273af: Waiting 06:17:13 2f39f015ded8: Waiting 06:17:13 5d3b04190fa2: Waiting 06:17:13 5c69ac0246d0: Verifying Checksum 06:17:13 5c69ac0246d0: Download complete 06:17:13 3a2ae6a8a46f: Verifying Checksum 06:17:13 3a2ae6a8a46f: Download complete 06:17:13 ec43610c2a17: Verifying Checksum 06:17:13 ec43610c2a17: Download complete 06:17:13 33b1e0a273af: Verifying Checksum 06:17:13 33b1e0a273af: Download complete 06:17:13 5d3b04190fa2: Verifying Checksum 06:17:13 5d3b04190fa2: Download complete 06:17:13 5eb5b503b376: Verifying Checksum 06:17:13 5eb5b503b376: Download complete 06:17:14 2f39f015ded8: Verifying Checksum 06:17:14 2f39f015ded8: Download complete 06:17:15 5eb5b503b376: Pull complete 06:17:15 5c69ac0246d0: Pull complete 06:17:15 ec43610c2a17: Pull complete 06:17:15 3a2ae6a8a46f: Pull complete 06:17:15 33b1e0a273af: Pull complete 06:17:15 5d3b04190fa2: Pull complete 06:17:20 2f39f015ded8: Pull complete 06:17:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:20 prd-ubuntu20.04-docker-8c-8g-8395 does not seem to be running inside a container 06:17:20 $ 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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:17:24 $ docker top 0c8263a09fb437fbbfbb859df4ac5c2b6c88a0be4a12a4679937d4360e7538a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:24 ---> job-cost.sh 06:17:24 lf-activate-venv: SKIPPING 06:17:24 INFO: No Stack... 06:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:24 INFO: Archiving Costs [Pipeline] sh 06:17:25 + cat /w/workspace/edgexfoundry_device-gpio_PR-149/archives/cost.csv 06:17:25 + cut -d, -f6 [Pipeline] lock 06:17:25 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] 06:17:25 Resource [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] did not exist. Created. 06:17:25 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:25 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:25 Stashed 1 file(s) [Pipeline] } 06:17:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:25 $ docker stop --time=1 0c8263a09fb437fbbfbb859df4ac5c2b6c88a0be4a12a4679937d4360e7538a5 06:17:26 $ docker rm -f --volumes 0c8263a09fb437fbbfbb859df4ac5c2b6c88a0be4a12a4679937d4360e7538a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:18:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8397 in /w/workspace/edgexfoundry_device-gpio_PR-149 [Pipeline] { [Pipeline] ws 06:18:09 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 06:18:09 The recommended git tool is: git 06:18:17 using credential edgex-jenkins-ssh 06:18:17 Cloning the remote Git repository 06:18:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 06:18:18 > git init /w/workspace/device-gpio/3 # timeout=10 06:18:18 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:18:18 > git --version # timeout=10 06:18:18 > git --version # 'git version 2.25.1' 06:18:18 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:20 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:18:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:18:22 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 06:18:23 Merging remotes/origin/main commit f49e5d786ea68b16a14d01a91160d9484d8a22ef into PR head commit a494769951fba69c697a18dd391bc03c5230f9f6 06:18:23 Merge succeeded, producing a494769951fba69c697a18dd391bc03c5230f9f6 06:18:23 Checking out Revision a494769951fba69c697a18dd391bc03c5230f9f6 (PR-149) 06:18:22 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 06:18:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:18:23 > git config core.sparsecheckout # timeout=10 06:18:23 > git checkout -f a494769951fba69c697a18dd391bc03c5230f9f6 # timeout=10 06:18:23 > git remote # timeout=10 06:18:23 > git config --get remote.origin.url # timeout=10 06:18:23 using GIT_SSH to set credentials SSH Credentials for GitHub 06:18:23 > git merge f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 06:18:23 > git rev-parse HEAD^{commit} # timeout=10 06:18:23 > git config core.sparsecheckout # timeout=10 06:18:23 > git checkout -f a494769951fba69c697a18dd391bc03c5230f9f6 # timeout=10 06:18:27 Commit message: "feat!: Consume SDK interface changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:18:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:18:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:18:28 Dload Upload Total Spent Left Speed 06:18:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 06:18:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:18:29 + sudo tee /etc/docker/daemon.new 06:18:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:18:29 { 06:18:29 "registry-mirrors": [ 06:18:29 "https://nexus3.edgexfoundry.org:10001" 06:18:29 ], 06:18:29 "bip": "10.250.0.254/24", 06:18:29 "hosts": [ 06:18:29 "tcp://0.0.0.0:5555", 06:18:29 "unix:///var/run/docker.sock" 06:18:29 ], 06:18:29 "mtu": 1458, 06:18:29 "selinux-enabled": true, 06:18:29 "seccomp-profile": "/etc/docker/seccomp.json" 06:18:29 } [Pipeline] sh 06:18:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:18:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:48 provisioning config files... 06:18:48 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config7123843906706637192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:48 ---> docker-login.sh 06:18:48 nexus3.edgexfoundry.org:10001 06:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:49 Configure a credential helper to remove this warning. See 06:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:49 06:18:49 Login Succeeded 06:18:49 nexus3.edgexfoundry.org:10002 06:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:49 Configure a credential helper to remove this warning. See 06:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:49 06:18:49 Login Succeeded 06:18:49 nexus3.edgexfoundry.org:10003 06:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:50 Configure a credential helper to remove this warning. See 06:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:50 06:18:50 Login Succeeded 06:18:50 nexus3.edgexfoundry.org:10004 06:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:50 Configure a credential helper to remove this warning. See 06:18:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:50 06:18:50 Login Succeeded 06:18:50 docker.io 06:18:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:51 Configure a credential helper to remove this warning. See 06:18:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:51 06:18:51 Login Succeeded 06:18:51 ---> docker-login.sh ends [Pipeline] } 06:18:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:51 ========================================================= 06:18:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:18:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:51 + 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 . 06:18:51 Sending build context to Docker daemon 8.131MB 06:18:51 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:18:51 Step 2/12 : FROM ${BASE} AS builder 06:18:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:52 af6eaf76a39c: Pulling fs layer 06:18:52 55522c791124: Pulling fs layer 06:18:52 ce5c4a1c91eb: Pulling fs layer 06:18:52 169dfbe0d373: Pulling fs layer 06:18:52 e1ff8fa3b103: Pulling fs layer 06:18:52 52ebb69f0ebf: Pulling fs layer 06:18:52 5abe8eddf0d5: Pulling fs layer 06:18:52 169dfbe0d373: Waiting 06:18:52 52ebb69f0ebf: Waiting 06:18:52 5abe8eddf0d5: Waiting 06:18:52 e1ff8fa3b103: Waiting 06:18:52 55522c791124: Download complete 06:18:52 169dfbe0d373: Verifying Checksum 06:18:52 169dfbe0d373: Download complete 06:18:52 e1ff8fa3b103: Verifying Checksum 06:18:52 e1ff8fa3b103: Download complete 06:18:52 af6eaf76a39c: Verifying Checksum 06:18:52 af6eaf76a39c: Download complete 06:18:53 af6eaf76a39c: Pull complete 06:18:53 5abe8eddf0d5: Verifying Checksum 06:18:53 5abe8eddf0d5: Download complete 06:18:53 55522c791124: Pull complete 06:18:54 ce5c4a1c91eb: Verifying Checksum 06:18:54 ce5c4a1c91eb: Download complete 06:18:54 52ebb69f0ebf: Verifying Checksum 06:18:54 52ebb69f0ebf: Download complete 06:19:04 ce5c4a1c91eb: Pull complete 06:19:04 169dfbe0d373: Pull complete 06:19:04 e1ff8fa3b103: Pull complete 06:19:14 52ebb69f0ebf: Pull complete 06:19:15 5abe8eddf0d5: Pull complete 06:19:15 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:19:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:19:15 ---> 6cb57ee374ae 06:19:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:19:17 ---> Running in 098a94fc90eb 06:19:17 Removing intermediate container 098a94fc90eb 06:19:17 ---> baa8622babdb 06:19:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:19:17 ---> Running in 0c3271f17951 06:19:17 Removing intermediate container 0c3271f17951 06:19:17 ---> 636c668de9da 06:19:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:19:17 ---> Running in dbe1c67a1ce7 06:19:18 Removing intermediate container dbe1c67a1ce7 06:19:18 ---> acbbfcd8806e 06:19:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:19:18 ---> Running in 731e4139abee 06:19:18 Removing intermediate container 731e4139abee 06:19:18 ---> 0327469ef24b 06:19:18 Step 7/12 : WORKDIR /device-gpio 06:19:18 ---> Running in b19d4bed000c 06:19:19 Removing intermediate container b19d4bed000c 06:19:19 ---> c943405b9f9c 06:19:19 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:19:19 ---> Running in e54d00e949ad 06:19:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:19:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:19:22 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:19:22 (2/4) Installing libedit (20221030.3.1-r0) 06:19:22 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:19:22 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:19:22 Executing busybox-1.35.0-r29.trigger 06:19:22 OK: 268 MiB in 57 packages 06:19:22 Removing intermediate container e54d00e949ad 06:19:22 ---> ca9059fcc520 06:19:22 Step 9/12 : COPY go.mod vendor* ./ 06:19:23 ---> 28dc55a6aef8 06:19:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:23 ---> Running in b0c8a82ad624 06:20:31 Removing intermediate container b0c8a82ad624 06:20:31 ---> c9543d251932 06:20:31 Step 11/12 : COPY . . 06:20:31 ---> ac01db3026b5 06:20:31 Step 12/12 : RUN ${MAKE} 06:20:31 ---> Running in 690b41b760e5 06:20:31 noop 06:20:31 Removing intermediate container 690b41b760e5 06:20:31 ---> cc837bb6d28f 06:20:31 Successfully built cc837bb6d28f 06:20:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:31 + docker inspect -f . ci-base-image-arm64 06:20:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:32 prd-ubuntu20.04-docker-arm64-4c-16g-8397 does not seem to be running inside a container 06:20:32 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:33 $ docker top fe4ed2289a558892e98da9b553f8e6e4f379247e46d56f60a126b81874f5e495 -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:34 + go version 06:20:34 go version go1.20.2 linux/arm64 [Pipeline] } 06:20:34 $ docker stop --time=1 fe4ed2289a558892e98da9b553f8e6e4f379247e46d56f60a126b81874f5e495 06:20:35 $ docker rm -f --volumes fe4ed2289a558892e98da9b553f8e6e4f379247e46d56f60a126b81874f5e495 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:36 + docker inspect -f . ci-base-image-arm64 06:20:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:36 prd-ubuntu20.04-docker-arm64-4c-16g-8397 does not seem to be running inside a container 06:20:36 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:20:37 $ docker top caf462063c2c6b90882189c125f038b8f4341d7aadc444676374ce8c3bc3b7be -eo pid,comm [Pipeline] { [Pipeline] sh 06:20:38 + git config --global --add safe.directory /w/workspace/device-gpio/3 [Pipeline] fileExists [Pipeline] sh 06:20:38 + make test 06:20:39 go test ./... -coverprofile=coverage.out ./... 06:21:17 ? github.com/edgexfoundry/device-gpio [no test files] 06:23:09 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 06:23:09 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 06:23:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:23:09 go vet ./... 06:23:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:23:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:23:27 ./bin/test-attribution-txt.sh 06:23:27 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 06:23:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:23:27 $ docker stop --time=1 caf462063c2c6b90882189c125f038b8f4341d7aadc444676374ce8c3bc3b7be 06:23:29 $ docker rm -f --volumes caf462063c2c6b90882189c125f038b8f4341d7aadc444676374ce8c3bc3b7be [Pipeline] // withDockerContainer [Pipeline] sh 06:23:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:23:30 Warning: overwriting stash ‘coverage-report’ 06:23:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:23:32 + ls -al . 06:23:32 total 152 06:23:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:20 . 06:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:18 .. 06:23:32 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 06:18 .dockerignore 06:23:32 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 06:18 .git 06:23:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:18 .github 06:23:32 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 06:18 .gitignore 06:23:32 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 06:18 .golangci.yml 06:23:32 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 06:18 Attribution.txt 06:23:32 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 06:18 CHANGELOG.md 06:23:32 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 06:18 Dockerfile 06:23:32 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 06:18 GOVERNANCE.md 06:23:32 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 06:18 Jenkinsfile 06:23:32 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 06:18 LICENSE 06:23:32 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 06:18 Makefile 06:23:32 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 06:18 OWNERS.md 06:23:32 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 06:18 README.md 06:23:32 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 06:15 VERSION 06:23:32 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 06:18 bin 06:23:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:18 cmd 06:23:32 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 06:20 coverage.out 06:23:32 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 06:18 go.mod 06:23:32 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 06:18 go.sum 06:23:32 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 06:18 internal 06:23:32 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 06:18 snap 06:23:32 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 06:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:32 + 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=a494769951fba69c697a18dd391bc03c5230f9f6 --label arch=arm64 --label version=0.0.0 . 06:23:32 Sending build context to Docker daemon 8.132MB 06:23:32 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:23:32 Step 2/25 : FROM ${BASE} AS builder 06:23:32 ---> cc837bb6d28f 06:23:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:23:33 ---> Running in fc88939ee73b 06:23:33 Removing intermediate container fc88939ee73b 06:23:33 ---> 5479532b05c6 06:23:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:23:33 ---> Running in 115f69fb4bac 06:23:33 Removing intermediate container 115f69fb4bac 06:23:33 ---> aef629ecee41 06:23:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 06:23:33 ---> Running in 1aa27ebc64da 06:23:34 Removing intermediate container 1aa27ebc64da 06:23:34 ---> 42d40cfb52c0 06:23:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:23:34 ---> Running in 9c77add90378 06:23:34 Removing intermediate container 9c77add90378 06:23:34 ---> ceb3556c4c2b 06:23:34 Step 7/25 : WORKDIR /device-gpio 06:23:34 ---> Running in d4af59d6a878 06:23:34 Removing intermediate container d4af59d6a878 06:23:34 ---> 173ba6766692 06:23:34 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:23:35 ---> Running in ac8b7d3485de 06:23:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:23:38 OK: 268 MiB in 57 packages 06:23:41 Removing intermediate container ac8b7d3485de 06:23:41 ---> 1e18f3d99b68 06:23:41 Step 9/25 : COPY go.mod vendor* ./ 06:23:41 ---> 481b48fcf660 06:23:41 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:23:41 ---> Running in 41b4289d350f 06:23:44 Removing intermediate container 41b4289d350f 06:23:44 ---> dfed86765f85 06:23:44 Step 11/25 : COPY . . 06:23:45 ---> 5ebd01a00bc3 06:23:45 Step 12/25 : RUN ${MAKE} 06:23:45 ---> Running in bbef63bc33c3 06:23:46 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 06:26:23 Removing intermediate container bbef63bc33c3 06:26:23 ---> 302317754cc0 06:26:23 Step 13/25 : FROM alpine:3.17 06:26:23 3.17: Pulling from library/alpine 06:26:23 c41833b44d91: Pulling fs layer 06:26:23 c41833b44d91: Verifying Checksum 06:26:23 c41833b44d91: Download complete 06:26:23 c41833b44d91: Pull complete 06:26:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:26:23 Status: Downloaded newer image for alpine:3.17 06:26:23 ---> 51e60588ff2c 06:26:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 06:26:23 ---> Running in 06d3cfdf2203 06:26:23 Removing intermediate container 06d3cfdf2203 06:26:23 ---> aeff84b6bc9b 06:26:23 Step 15/25 : RUN apk add --update --no-cache 06:26:23 ---> Running in 61a6297d8f8c 06:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:26:23 OK: 7 MiB in 15 packages 06:26:23 Removing intermediate container 61a6297d8f8c 06:26:23 ---> e60e855a1a63 06:26:23 Step 16/25 : WORKDIR / 06:26:23 ---> Running in af3ffebbb28c 06:26:23 Removing intermediate container af3ffebbb28c 06:26:23 ---> 232411200969 06:26:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 06:26:23 ---> 02274b0b347a 06:26:23 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 06:26:23 ---> 1c82230ca0eb 06:26:23 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 06:26:23 ---> a1c9e61a12f8 06:26:23 Step 20/25 : EXPOSE 59910 06:26:23 ---> Running in 9cd8d9511b47 06:26:23 Removing intermediate container 9cd8d9511b47 06:26:23 ---> beb0d7066d40 06:26:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 06:26:23 ---> Running in c40117d99bc9 06:26:23 Removing intermediate container c40117d99bc9 06:26:23 ---> 5d561d733db0 06:26:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:26:23 ---> Running in 4fecee0d44eb 06:26:23 Removing intermediate container 4fecee0d44eb 06:26:23 ---> e42ac3bcf211 06:26:23 Step 23/25 : LABEL arch=arm64 06:26:23 ---> Running in 6dddd8303879 06:26:23 Removing intermediate container 6dddd8303879 06:26:23 ---> 61160313d500 06:26:23 Step 24/25 : LABEL git_sha=a494769951fba69c697a18dd391bc03c5230f9f6 06:26:23 ---> Running in 3dfbf5188d32 06:26:23 Removing intermediate container 3dfbf5188d32 06:26:23 ---> a16751f2e065 06:26:23 Step 25/25 : LABEL version=0.0.0 06:26:23 ---> Running in 1a0c5ca9a172 06:26:23 Removing intermediate container 1a0c5ca9a172 06:26:23 ---> 390d4e9998bd 06:26:23 [Warning] One or more build-args [ARCH] were not consumed 06:26:23 Successfully built 390d4e9998bd 06:26:23 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 06:26:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:23 06:26:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:24 arm64: Pulling from edgex-lftools-log-publisher 06:26:24 8998bd30e6a1: Pulling fs layer 06:26:24 04944245beec: Pulling fs layer 06:26:24 699f458cf7ca: Pulling fs layer 06:26:24 765212b225bb: Pulling fs layer 06:26:24 f23df028b6ca: Pulling fs layer 06:26:24 d65c8cfc05b1: Pulling fs layer 06:26:24 2437ff75d9bd: Pulling fs layer 06:26:24 f23df028b6ca: Waiting 06:26:24 765212b225bb: Waiting 06:26:24 d65c8cfc05b1: Waiting 06:26:24 2437ff75d9bd: Waiting 06:26:24 04944245beec: Verifying Checksum 06:26:24 04944245beec: Download complete 06:26:24 765212b225bb: Verifying Checksum 06:26:24 765212b225bb: Download complete 06:26:24 f23df028b6ca: Verifying Checksum 06:26:24 f23df028b6ca: Download complete 06:26:24 d65c8cfc05b1: Verifying Checksum 06:26:24 d65c8cfc05b1: Download complete 06:26:24 699f458cf7ca: Verifying Checksum 06:26:24 699f458cf7ca: Download complete 06:26:25 8998bd30e6a1: Verifying Checksum 06:26:25 8998bd30e6a1: Download complete 06:26:27 2437ff75d9bd: Verifying Checksum 06:26:27 2437ff75d9bd: Download complete 06:26:29 8998bd30e6a1: Pull complete 06:26:29 04944245beec: Pull complete 06:26:31 699f458cf7ca: Pull complete 06:26:31 765212b225bb: Pull complete 06:26:35 f23df028b6ca: Pull complete 06:26:35 d65c8cfc05b1: Pull complete 06:26:50 2437ff75d9bd: Pull complete 06:26:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:26:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:26:50 prd-ubuntu20.04-docker-arm64-4c-16g-8397 does not seem to be running inside a container 06:26:50 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:26:53 $ docker top 28da5522e6d25821bb32c6604b33a1a027e5e98d544256b9321b662e17431d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:54 ---> job-cost.sh 06:26:54 lf-activate-venv: SKIPPING 06:26:54 INFO: No Stack... 06:26:54 INFO: Retrieving Pricing Info for: v3-standard-4 06:26:55 INFO: Archiving Costs [Pipeline] sh 06:26:56 + cat /w/workspace/device-gpio/3/archives/cost.csv 06:26:56 + cut -d, -f6 [Pipeline] lock 06:26:56 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] 06:26:56 Resource [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] did not exist. Created. 06:26:56 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:26:56 /w/workspace/device-gpio/3@tmp/durable-e9d40e74/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:26:57 + echo total: 0.10999999940395355 [Pipeline] stash 06:26:57 Warning: overwriting stash ‘stack-cost’ 06:26:57 Stashed 1 file(s) [Pipeline] } 06:26:57 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-3-stack-cost] [Pipeline] // lock [Pipeline] } 06:26:57 $ docker stop --time=1 28da5522e6d25821bb32c6604b33a1a027e5e98d544256b9321b662e17431d29 06:26:59 $ docker rm -f --volumes 28da5522e6d25821bb32c6604b33a1a027e5e98d544256b9321b662e17431d29 [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 06:26:59 provisioning config files... 06:26:59 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config5043308589722331979tmp [Pipeline] { [Pipeline] sh 06:26:59 + set +x 06:26:59 + curl -s https://codecov.io/bash 06:26:59 + bash -s -- 06:26:59 06:26:59 _____ _ 06:26:59 / ____| | | 06:26:59 | | ___ __| | ___ ___ _____ __ 06:26:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:26:59 | |___| (_) | (_| | __/ (_| (_) \ V / 06:26:59 \_____\___/ \__,_|\___|\___\___/ \_/ 06:26:59 Bash-1.0.6 06:26:59 06:26:59 06:26:59 ==> git version 2.25.1 found 06:26:59 ==> 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 06:26:59 Release-Date: 2020-01-08 06:26:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:26:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:26:59 ==> Jenkins CI detected. 06:26:59 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-149 06:26:59 project root: . 06:26:59 --> token set from env 06:26:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:26:59 ==> Running gcov in . (disable via -X gcov) 06:26:59 ==> Python coveragepy not found 06:26:59 ==> Searching for coverage reports in: 06:26:59 + . 06:27:00 -> Found 1 reports 06:27:00 ==> Detecting git/mercurial file structure 06:27:00 ==> Reading reports 06:27:00 + ./coverage.out bytes=10 06:27:00 ==> Appending adjustments 06:27:00 https://docs.codecov.io/docs/fixing-reports 06:27:00 + Found adjustments 06:27:00 ==> Gzipping contents 06:27:00 4.0K /tmp/codecov.B4b01A.gz 06:27:00 ==> Uploading reports 06:27:00 url: https://codecov.io 06:27:00 query: branch=PR-149&commit=a494769951fba69c697a18dd391bc03c5230f9f6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 06:27:00 -> Pinging Codecov 06:27:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-149&commit=a494769951fba69c697a18dd391bc03c5230f9f6&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 06:27:00 -> Uploading to 06:27:00 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/a494769951fba69c697a18dd391bc03c5230f9f6/50799ed2-5ca1-4b3b-b89c-054573b9bae9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T062700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d6ebe7ccc5b91fcff6c55d86848eadfe7d73efb64443dbfa0d32b564f0409c6 06:27:00 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:00 Dload Upload Total Spent Left Speed 06:27:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 3154 --:--:-- --:--:-- --:--:-- 3154 06:27:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/a494769951fba69c697a18dd391bc03c5230f9f6 [Pipeline] } 06:27:00 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 06:27:01 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-149/archives ] 06:27:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 06:27:01 total 16 06:27:01 drwxr-xr-x 3 root root 4096 Apr 13 06:17 . 06:27:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:17 .. 06:27:01 drwxr-xr-x 2 root root 4096 Apr 13 06:17 cost 06:27:01 -rw-r--r-- 1 root root 83 Apr 13 06:17 cost.csv 06:27:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-149/archives 06:27:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 06:27:01 total 16 06:27:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 06:17 . 06:27:01 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 06:17 .. 06:27:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 06:17 cost 06:27:01 -rw-r--r-- 1 jenkins jenkins 83 Apr 13 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:27:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:27:02 ---> package-listing.sh 06:27:02 ++ facter osfamily 06:27:02 ++ tr '[:upper:]' '[:lower:]' 06:27:02 + OS_FAMILY=debian 06:27:02 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-149 06:27:02 + START_PACKAGES=/tmp/packages_start.txt 06:27:02 + END_PACKAGES=/tmp/packages_end.txt 06:27:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:27:02 + PACKAGES=/tmp/packages_start.txt 06:27:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 06:27:02 + PACKAGES=/tmp/packages_end.txt 06:27:02 + case "${OS_FAMILY}" in 06:27:02 + dpkg -l 06:27:02 + grep '^ii' 06:27:02 + '[' -f /tmp/packages_start.txt ']' 06:27:02 + '[' -f /tmp/packages_end.txt ']' 06:27:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:27:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 06:27:02 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ 06:27:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ [Pipeline] echo 06:27:02 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-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:27:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:27:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:03 prd-ubuntu20.04-docker-8c-8g-8395 does not seem to be running inside a container 06:27:03 $ 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-149/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-149 -v /w/workspace/edgexfoundry_device-gpio_PR-149:/w/workspace/edgexfoundry_device-gpio_PR-149:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-149@tmp:/w/workspace/edgexfoundry_device-gpio_PR-149@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:27:03 $ docker top a9e83608e8ba72708f5906ccf484dabe1d09ea371676de9f5025c96941f75394 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:03 + touch /tmp/pre-build-complete [Pipeline] sh 06:27:04 + mkdir -p /var/log/sysstat [Pipeline] sh 06:27:04 + ls /var/log/sa-host 06:27:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:04 provisioning config files... 06:27:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config3058357460855357393tmp [Pipeline] { [Pipeline] echo 06:27:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:27:04 ---> create-netrc.sh [Pipeline] } 06:27:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:27:05 ---> python-tools-install.sh [Pipeline] echo 06:27:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:27:05 ---> sudo-logs.sh 06:27:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:27:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:27:05 ---> job-cost.sh 06:27:05 lf-activate-venv: SKIPPING 06:27:05 DEBUG: total: 0.2199999988079071 06:27:05 INFO: Retrieving Stack Cost... 06:27:06 INFO: Retrieving Pricing Info for: v3-standard-8 06:27:06 INFO: Archiving Costs [Pipeline] echo 06:27:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:27:06 ---> logs-deploy.sh 06:27:06 lf-activate-venv: SKIPPING 06:27:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-149/3 06:27:06 INFO: archiving workspace using pattern(s): 06:27:07 Archives upload complete. 06:27:07 INFO: archiving logs to Nexus