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 4d7c1198da1e1851cbac593200b815338be49d76 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-ssh2031461289401755540.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-ssh16267866741558389051.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-ssh14446086655758227016.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-ssh18121839078273727777.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-ssh2826373147119109368.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 Running on prd-ubuntu20.04-docker-8c-8g-7647 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 4d7c1198da1e1851cbac593200b815338be49d76 Merge succeeded, producing 4d7c1198da1e1851cbac593200b815338be49d76 Checking out Revision 4d7c1198da1e1851cbac593200b815338be49d76 (PR-149) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d7c1198da1e1851cbac593200b815338be49d76 # 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 4d7c1198da1e1851cbac593200b815338be49d76 # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git rev-list --no-walk e59432fa1f2eb79e5cef2a7fcb5d5545f2c3caa0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:12:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:12:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:12:16 ========================================================= 03:12:16 EdgeX Global Pipelines Version Info 03:12:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:12:17 ------------------- 03:12:17 stable info: 03:12:17 ------------------- 03:12:17 Commited By: Bill Mahoney bill.mahoney@intel.com 03:12:17 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 03:12:17 Message: update stable to v1.0.248 03:12:17 ------------------- 03:12:17 experimental info: 03:12:17 ------------------- 03:12:17 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:17 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 03:12:17 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d7c1198da1e1851cbac593200b815338be49d76 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d7c119 [Pipeline] echo 03:12:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:18 provisioning config files... 03:12:18 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config4357995162347403300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:18 ---> docker-login.sh 03:12:18 nexus3.edgexfoundry.org:10001 03:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:18 Configure a credential helper to remove this warning. See 03:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:18 03:12:18 Login Succeeded 03:12:18 nexus3.edgexfoundry.org:10002 03:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:18 Configure a credential helper to remove this warning. See 03:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:18 03:12:18 Login Succeeded 03:12:18 nexus3.edgexfoundry.org:10003 03:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:19 Configure a credential helper to remove this warning. See 03:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:19 03:12:19 Login Succeeded 03:12:19 nexus3.edgexfoundry.org:10004 03:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:19 Configure a credential helper to remove this warning. See 03:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:19 03:12:19 Login Succeeded 03:12:19 docker.io 03:12:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:19 Configure a credential helper to remove this warning. See 03:12:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:19 03:12:19 Login Succeeded 03:12:19 ---> docker-login.sh ends [Pipeline] } 03:12:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:19 + git rev-list -1 --merges 4d7c1198da1e1851cbac593200b815338be49d76~1..4d7c1198da1e1851cbac593200b815338be49d76 [Pipeline] echo 03:12:19 -----------> git rev-list -1 --merges 4d7c1198da1e1851cbac593200b815338be49d76~1..4d7c1198da1e1851cbac593200b815338be49d76 4d7c1198da1e1851cbac593200b815338be49d76 [false] [Pipeline] sh 03:12:20 + git log --format=format:%s -1 4d7c1198da1e1851cbac593200b815338be49d76 [Pipeline] echo 03:12:20 ========================================================= 03:12:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:12:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:20 + git log --format=format:%s -1 4d7c1198da1e1851cbac593200b815338be49d76 [Pipeline] echo 03:12:20 [semverPrep] GIT_COMMIT: 4d7c1198da1e1851cbac593200b815338be49d76, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 03:12:20 [semverPrep] This is not a build commit. [Pipeline] sh 03:12:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:20 + grep -v github /etc/ssh/ssh_known_hosts 03:12:20 + [ -e /tmp/ssh_known_hosts ] 03:12:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:12:20 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:12:20 sudo tee -a /etc/ssh/ssh_known_hosts 03:12:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:21 03:12:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:21 0.1.4: Pulling from edgex-devops/py-git-semver 03:12:21 b85a868b505f: Pulling fs layer 03:12:21 e2be974225ed: Pulling fs layer 03:12:21 339a4e72a1f5: Pulling fs layer 03:12:21 988bab9f4d93: Pulling fs layer 03:12:21 1469e6f7b9e6: Pulling fs layer 03:12:21 eaf3925da568: Pulling fs layer 03:12:21 bab4dde63d76: Pulling fs layer 03:12:21 bde34c3a00c8: Pulling fs layer 03:12:21 b352a97aabf1: Pulling fs layer 03:12:21 4872d77fe225: Pulling fs layer 03:12:21 5851b861e8e6: Pulling fs layer 03:12:21 988bab9f4d93: Waiting 03:12:21 bab4dde63d76: Waiting 03:12:21 bde34c3a00c8: Waiting 03:12:21 b352a97aabf1: Waiting 03:12:21 4872d77fe225: Waiting 03:12:21 1469e6f7b9e6: Waiting 03:12:21 eaf3925da568: Waiting 03:12:21 5851b861e8e6: Waiting 03:12:21 e2be974225ed: Verifying Checksum 03:12:21 e2be974225ed: Download complete 03:12:21 988bab9f4d93: Download complete 03:12:21 1469e6f7b9e6: Verifying Checksum 03:12:21 1469e6f7b9e6: Download complete 03:12:21 339a4e72a1f5: Verifying Checksum 03:12:21 339a4e72a1f5: Download complete 03:12:21 eaf3925da568: Verifying Checksum 03:12:21 eaf3925da568: Download complete 03:12:21 bde34c3a00c8: Download complete 03:12:21 b352a97aabf1: Download complete 03:12:21 4872d77fe225: Download complete 03:12:21 5851b861e8e6: Verifying Checksum 03:12:21 5851b861e8e6: Download complete 03:12:21 b85a868b505f: Verifying Checksum 03:12:21 b85a868b505f: Download complete 03:12:22 bab4dde63d76: Verifying Checksum 03:12:22 bab4dde63d76: Download complete 03:12:23 b85a868b505f: Pull complete 03:12:23 e2be974225ed: Pull complete 03:12:23 339a4e72a1f5: Pull complete 03:12:23 988bab9f4d93: Pull complete 03:12:23 1469e6f7b9e6: Pull complete 03:12:24 eaf3925da568: Pull complete 03:12:26 bab4dde63d76: Pull complete 03:12:26 bde34c3a00c8: Pull complete 03:12:26 b352a97aabf1: Pull complete 03:12:26 4872d77fe225: Pull complete 03:12:26 5851b861e8e6: Pull complete 03:12:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:12:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:26 prd-ubuntu20.04-docker-8c-8g-7647 does not seem to be running inside a container 03:12:26 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:12:27 $ docker top e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:27 [ssh-agent] Looking for ssh-agent implementation... 03:12:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:27 $ docker exec e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 ssh-agent 03:12:27 SSH_AUTH_SOCK=/tmp/ssh-850FRLuMWX60/agent.32 03:12:27 SSH_AGENT_PID=38 03:12:27 Running ssh-add (command line suppressed) 03:12:27 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_16177015572014722894.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_16177015572014722894.key) 03:12:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:28 + git tag --points-at HEAD [Pipeline] } 03:12:28 $ docker exec --env ******** --env ******** e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 ssh-agent -k 03:12:28 unset SSH_AUTH_SOCK; 03:12:28 unset SSH_AGENT_PID; 03:12:28 echo Agent pid 38 killed; 03:12:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:28 [ssh-agent] Looking for ssh-agent implementation... 03:12:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:28 $ docker exec e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 ssh-agent 03:12:28 SSH_AUTH_SOCK=/tmp/ssh-IQ3I1WoM5QqD/agent.70 03:12:28 SSH_AGENT_PID=76 03:12:28 Running ssh-add (command line suppressed) 03:12:28 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_7985573873837361626.key (/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/private_key_7985573873837361626.key) 03:12:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:29 + git semver init 03:12:29 2023-04-13 03:12:29,198 [run_init] DEBUG init version:0.0.0 force:False 03:12:29 2023-04-13 03:12:29,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver 03:12:29 2023-04-13 03:12:29,199 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-149/.semver 03:12:29 2023-04-13 03:12:29,199 [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) 03:12:30 2023-04-13 03:12:30,070 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.git/info/exclude 03:12:30 2023-04-13 03:12:30,070 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 with force:False 03:12:30 2023-04-13 03:12:30,071 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 03:12:30 2023-04-13 03:12:30,074 [execute] INFO git cat-file --batch-check 03:12:30 2023-04-13 03:12:30,075 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 03:12:30 2023-04-13 03:12:30,081 [execute] INFO git cat-file --batch 03:12:30 2023-04-13 03:12:30,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-149/.semver, universal_newlines=False, shell=None, istream=) 03:12:30 2023-04-13 03:12:30,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-149/.semver/PR-149 03:12:30 0.0.0 [Pipeline] } 03:12:30 $ docker exec --env ******** --env ******** e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 ssh-agent -k 03:12:30 unset SSH_AUTH_SOCK; 03:12:30 unset SSH_AGENT_PID; 03:12:30 echo Agent pid 76 killed; 03:12:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:30 + git semver [Pipeline] } 03:12:30 $ docker stop --time=1 e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 03:12:32 $ docker rm -f --volumes e52a2da1093104ab1455545d40da43c12df769935ecc2c12a1206771bbbf4285 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:32 Stashed 1 file(s) [Pipeline] echo 03:12:32 [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 03:12:32 provisioning config files... 03:12:32 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config17922756150429358304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:33 ---> docker-login.sh 03:12:33 nexus3.edgexfoundry.org:10001 03:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:33 Configure a credential helper to remove this warning. See 03:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:33 03:12:33 Login Succeeded 03:12:33 nexus3.edgexfoundry.org:10002 03:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:33 Configure a credential helper to remove this warning. See 03:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:33 03:12:33 Login Succeeded 03:12:33 nexus3.edgexfoundry.org:10003 03:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:33 Configure a credential helper to remove this warning. See 03:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:33 03:12:33 Login Succeeded 03:12:33 nexus3.edgexfoundry.org:10004 03:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:33 Configure a credential helper to remove this warning. See 03:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:33 03:12:33 Login Succeeded 03:12:33 docker.io 03:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:33 Configure a credential helper to remove this warning. See 03:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:33 03:12:33 Login Succeeded 03:12:33 ---> docker-login.sh ends [Pipeline] } 03:12:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:33 ========================================================= 03:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:12:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 03:12:34 Sending build context to Docker daemon 16.08MB 03:12:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:12:34 Step 2/12 : FROM ${BASE} AS builder 03:12:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:34 63b65145d645: Pulling fs layer 03:12:34 a2d21d5440eb: Pulling fs layer 03:12:34 935e6c44a52c: Pulling fs layer 03:12:34 94cc34f8dd06: Pulling fs layer 03:12:34 30dea6a524f1: Pulling fs layer 03:12:34 a2aff8979fd8: Pulling fs layer 03:12:34 6808be2612f2: Pulling fs layer 03:12:34 f25807f1079a: Pulling fs layer 03:12:34 30dea6a524f1: Waiting 03:12:34 a2aff8979fd8: Waiting 03:12:34 6808be2612f2: Waiting 03:12:34 f25807f1079a: Waiting 03:12:34 94cc34f8dd06: Waiting 03:12:34 a2d21d5440eb: Verifying Checksum 03:12:34 a2d21d5440eb: Download complete 03:12:34 94cc34f8dd06: Verifying Checksum 03:12:34 94cc34f8dd06: Download complete 03:12:34 30dea6a524f1: Verifying Checksum 03:12:34 30dea6a524f1: Download complete 03:12:34 63b65145d645: Verifying Checksum 03:12:34 63b65145d645: Download complete 03:12:34 a2aff8979fd8: Verifying Checksum 03:12:34 a2aff8979fd8: Download complete 03:12:34 63b65145d645: Pull complete 03:12:34 a2d21d5440eb: Pull complete 03:12:34 f25807f1079a: Verifying Checksum 03:12:34 f25807f1079a: Download complete 03:12:35 935e6c44a52c: Verifying Checksum 03:12:35 935e6c44a52c: Download complete 03:12:35 6808be2612f2: Verifying Checksum 03:12:35 6808be2612f2: Download complete 03:12:38 935e6c44a52c: Pull complete 03:12:38 94cc34f8dd06: Pull complete 03:12:38 30dea6a524f1: Pull complete 03:12:38 a2aff8979fd8: Pull complete 03:12:41 6808be2612f2: Pull complete 03:12:42 f25807f1079a: Pull complete 03:12:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:12:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:12:42 ---> 3b553350e43f 03:12:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:12:43 ---> Running in 59564776bafc 03:12:43 Removing intermediate container 59564776bafc 03:12:43 ---> a2e523e2b962 03:12:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:12:43 ---> Running in b6e7c278bd6e 03:12:43 Removing intermediate container b6e7c278bd6e 03:12:43 ---> a0735fc336e8 03:12:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:12:43 ---> Running in b2568badfe55 03:12:43 Removing intermediate container b2568badfe55 03:12:43 ---> 17baa44e1984 03:12:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:12:44 ---> Running in eb2c947ce3a6 03:12:44 Removing intermediate container eb2c947ce3a6 03:12:44 ---> cccd755a2a4f 03:12:44 Step 7/12 : WORKDIR /device-gpio 03:12:44 ---> Running in 45f9a1f323e2 03:12:44 Removing intermediate container 45f9a1f323e2 03:12:44 ---> f5f65624d3a0 03:12:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:44 ---> Running in e5a2185f6d75 03:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:12:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:12:44 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:12:44 (2/4) Installing libedit (20221030.3.1-r0) 03:12:44 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:12:44 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:12:44 Executing busybox-1.35.0-r29.trigger 03:12:44 OK: 269 MiB in 57 packages 03:12:45 Removing intermediate container e5a2185f6d75 03:12:45 ---> 142d51fd23a7 03:12:45 Step 9/12 : COPY go.mod vendor* ./ 03:12:45 ---> e05af2399ce2 03:12:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:45 ---> Running in adc5cba8bdc8 03:12:47 Still waiting to schedule task 03:12:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:13:17 Removing intermediate container adc5cba8bdc8 03:13:17 ---> 608d017f60dd 03:13:17 Step 11/12 : COPY . . 03:13:17 ---> 2f36c7ba142c 03:13:17 Step 12/12 : RUN ${MAKE} 03:13:17 ---> Running in adf044706ce6 03:13:17 noop 03:13:17 Removing intermediate container adf044706ce6 03:13:17 ---> efef7f2d6274 03:13:17 Successfully built efef7f2d6274 03:13:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:17 + docker inspect -f . ci-base-image-x86_64 03:13:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:18 prd-ubuntu20.04-docker-8c-8g-7647 does not seem to be running inside a container 03:13:18 $ 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 ******** ci-base-image-x86_64 cat 03:13:18 $ docker top e57e127247eda0449b8121e2b8d7d8832508f1746a482a30f25deb68085f540c -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:18 + go version 03:13:18 go version go1.20.2 linux/amd64 [Pipeline] } 03:13:18 $ docker stop --time=1 e57e127247eda0449b8121e2b8d7d8832508f1746a482a30f25deb68085f540c 03:13:20 $ docker rm -f --volumes e57e127247eda0449b8121e2b8d7d8832508f1746a482a30f25deb68085f540c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:20 + docker inspect -f . ci-base-image-x86_64 03:13:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:20 prd-ubuntu20.04-docker-8c-8g-7647 does not seem to be running inside a container 03:13:20 $ 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 ******** ci-base-image-x86_64 cat 03:13:20 $ docker top 9758c709622af0636d2cb3de52609a9a34b03f622c48e0b6ba264ebb7eac1509 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-149 [Pipeline] fileExists [Pipeline] sh 03:13:21 + make test 03:13:21 go test ./... -coverprofile=coverage.out ./... 03:13:26 ? github.com/edgexfoundry/device-gpio [no test files] 03:13:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 03:13:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 03:13:41 go vet ./... 03:13:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:13:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:13:44 ./bin/test-attribution-txt.sh 03:13:44 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 03:13:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:13:44 $ docker stop --time=1 9758c709622af0636d2cb3de52609a9a34b03f622c48e0b6ba264ebb7eac1509 03:13:49 $ docker rm -f --volumes 9758c709622af0636d2cb3de52609a9a34b03f622c48e0b6ba264ebb7eac1509 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:13:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:51 + ls -al . 03:13:51 total 156 03:13:51 drwxrwxr-x 9 jenkins jenkins 4096 Apr 13 03:13 . 03:13:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:12 .. 03:13:51 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 03:12 .dockerignore 03:13:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:12 .git 03:13:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:12 .github 03:13:51 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 03:12 .gitignore 03:13:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 03:12 .golangci.yml 03:13:51 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:12 .semver 03:13:51 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 03:12 Attribution.txt 03:13:51 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 03:12 CHANGELOG.md 03:13:51 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 03:12 Dockerfile 03:13:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:12 GOVERNANCE.md 03:13:51 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 03:12 Jenkinsfile 03:13:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 03:12 LICENSE 03:13:51 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 03:12 Makefile 03:13:51 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 03:12 OWNERS.md 03:13:51 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 03:12 README.md 03:13:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:12 VERSION 03:13:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:12 bin 03:13:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:12 cmd 03:13:51 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 03:13 coverage.out 03:13:51 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 03:12 go.mod 03:13:51 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 03:12 go.sum 03:13:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:12 internal 03:13:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:12 snap 03:13:51 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 03:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:51 + 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=4d7c1198da1e1851cbac593200b815338be49d76 --label arch=amd64 --label version=0.0.0 . 03:13:51 Sending build context to Docker daemon 16.08MB 03:13:51 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:13:51 Step 2/25 : FROM ${BASE} AS builder 03:13:51 ---> efef7f2d6274 03:13:51 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:13:53 ---> Running in bfa4f4f95562 03:13:53 Removing intermediate container bfa4f4f95562 03:13:53 ---> a512daa2ad57 03:13:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:54 ---> Running in 485afb894459 03:13:54 Removing intermediate container 485afb894459 03:13:54 ---> e44e3b571ed2 03:13:54 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:13:54 ---> Running in 3c01d5609437 03:13:54 Removing intermediate container 3c01d5609437 03:13:54 ---> 2a7aae8a4cc8 03:13:54 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:13:54 ---> Running in 32965db2b8f0 03:13:54 Removing intermediate container 32965db2b8f0 03:13:54 ---> 1fbb5f5523da 03:13:54 Step 7/25 : WORKDIR /device-gpio 03:13:54 ---> Running in a9015ec1adbd 03:13:54 Removing intermediate container a9015ec1adbd 03:13:54 ---> 5d16240b7111 03:13:54 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:54 ---> Running in f6a61f3492c8 03:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:13:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:13:56 OK: 269 MiB in 57 packages 03:13:57 Removing intermediate container f6a61f3492c8 03:13:57 ---> 9a280b2c77fa 03:13:57 Step 9/25 : COPY go.mod vendor* ./ 03:13:59 ---> 0a30157a4e86 03:13:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:00 ---> Running in 0736ea22fadb 03:14:03 Removing intermediate container 0736ea22fadb 03:14:03 ---> 0c1a9c3b7699 03:14:03 Step 11/25 : COPY . . 03:14:04 ---> 91749c07155b 03:14:04 Step 12/25 : RUN ${MAKE} 03:14:04 ---> Running in de822f42e741 03:14:04 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 03:14:22 Removing intermediate container de822f42e741 03:14:22 ---> 9c14a91e0a26 03:14:22 Step 13/25 : FROM alpine:3.17 03:14:22 3.17: Pulling from library/alpine 03:14:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8375 in /w/workspace/edgexfoundry_device-gpio_PR-149 [Pipeline] { 03:14:23 f56be85fc22e: Pulling fs layer 03:14:23 f56be85fc22e: Verifying Checksum 03:14:23 f56be85fc22e: Download complete [Pipeline] ws 03:14:23 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 03:14:23 The recommended git tool is: git 03:14:23 f56be85fc22e: Pull complete 03:14:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:14:23 Status: Downloaded newer image for alpine:3.17 03:14:23 ---> 9ed4aefc74f6 03:14:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:14:23 ---> Running in 72b37e20ed4a 03:14:23 Removing intermediate container 72b37e20ed4a 03:14:23 ---> af7a9713f51a 03:14:23 Step 15/25 : RUN apk add --update --no-cache 03:14:23 ---> Running in d2482d6ec6f0 03:14:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:14:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:14:24 OK: 7 MiB in 15 packages 03:14:24 Removing intermediate container d2482d6ec6f0 03:14:24 ---> 102301f13051 03:14:24 Step 16/25 : WORKDIR / 03:14:24 ---> Running in a8bf94c272a1 03:14:24 Removing intermediate container a8bf94c272a1 03:14:24 ---> 29c1a3d031ad 03:14:24 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 03:14:24 ---> 1ceb36a8843e 03:14:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 03:14:24 ---> 3cd459c9f569 03:14:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 03:14:25 ---> 256be2610c37 03:14:25 Step 20/25 : EXPOSE 59910 03:14:25 ---> Running in 67155b62a14a 03:14:25 Removing intermediate container 67155b62a14a 03:14:25 ---> 44c7e5125617 03:14:25 Step 21/25 : ENTRYPOINT ["/device-gpio"] 03:14:25 ---> Running in 1151480c4c84 03:14:25 Removing intermediate container 1151480c4c84 03:14:25 ---> 533c9671362c 03:14:25 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:14:25 ---> Running in 0e7dc37e8bc3 03:14:25 Removing intermediate container 0e7dc37e8bc3 03:14:25 ---> 2c586ddcfc39 03:14:25 Step 23/25 : LABEL arch=amd64 03:14:25 ---> Running in 6fd4931069f9 03:14:25 Removing intermediate container 6fd4931069f9 03:14:25 ---> c1cbc26c9eb9 03:14:25 Step 24/25 : LABEL git_sha=4d7c1198da1e1851cbac593200b815338be49d76 03:14:25 ---> Running in bc826e3b2e23 03:14:25 Removing intermediate container bc826e3b2e23 03:14:25 ---> d55ea5f2cc44 03:14:25 Step 25/25 : LABEL version=0.0.0 03:14:25 ---> Running in cc48819f0656 03:14:25 Removing intermediate container cc48819f0656 03:14:25 ---> 18a6843b9ed5 03:14:25 [Warning] One or more build-args [ARCH] were not consumed 03:14:25 Successfully built 18a6843b9ed5 03:14:25 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 03:14:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:26 03:14:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:26 latest: Pulling from edgex-lftools-log-publisher 03:14:26 5eb5b503b376: Pulling fs layer 03:14:26 5c69ac0246d0: Pulling fs layer 03:14:26 ec43610c2a17: Pulling fs layer 03:14:26 3a2ae6a8a46f: Pulling fs layer 03:14:26 33b1e0a273af: Pulling fs layer 03:14:26 5d3b04190fa2: Pulling fs layer 03:14:26 2f39f015ded8: Pulling fs layer 03:14:26 3a2ae6a8a46f: Waiting 03:14:26 33b1e0a273af: Waiting 03:14:26 5d3b04190fa2: Waiting 03:14:26 5c69ac0246d0: Download complete 03:14:26 3a2ae6a8a46f: Download complete 03:14:26 33b1e0a273af: Verifying Checksum 03:14:26 33b1e0a273af: Download complete 03:14:26 5d3b04190fa2: Verifying Checksum 03:14:26 5d3b04190fa2: Download complete 03:14:26 ec43610c2a17: Verifying Checksum 03:14:26 ec43610c2a17: Download complete 03:14:26 5eb5b503b376: Verifying Checksum 03:14:26 5eb5b503b376: Download complete 03:14:27 2f39f015ded8: Download complete 03:14:28 5eb5b503b376: Pull complete 03:14:28 5c69ac0246d0: Pull complete 03:14:28 using credential edgex-jenkins-ssh 03:14:28 Cloning the remote Git repository 03:14:28 ec43610c2a17: Pull complete 03:14:28 3a2ae6a8a46f: Pull complete 03:14:28 33b1e0a273af: Pull complete 03:14:28 5d3b04190fa2: Pull complete 03:14:28 Cloning repository git@github.com:edgexfoundry/device-gpio.git 03:14:28 > git init /w/workspace/device-gpio/2 # timeout=10 03:14:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:14:28 > git --version # timeout=10 03:14:28 > git --version # 'git version 2.25.1' 03:14:28 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:30 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:14:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:14:31 Merging remotes/origin/main commit f49e5d786ea68b16a14d01a91160d9484d8a22ef into PR head commit 4d7c1198da1e1851cbac593200b815338be49d76 03:14:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 03:14:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 03:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:31 > 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 03:14:31 > git config core.sparsecheckout # timeout=10 03:14:31 > git checkout -f 4d7c1198da1e1851cbac593200b815338be49d76 # timeout=10 03:14:31 > git remote # timeout=10 03:14:32 Merge succeeded, producing 4d7c1198da1e1851cbac593200b815338be49d76 03:14:32 Checking out Revision 4d7c1198da1e1851cbac593200b815338be49d76 (PR-149) 03:14:31 > git config --get remote.origin.url # timeout=10 03:14:31 using GIT_SSH to set credentials SSH Credentials for GitHub 03:14:32 > git merge f49e5d786ea68b16a14d01a91160d9484d8a22ef # timeout=10 03:14:32 > git rev-parse HEAD^{commit} # timeout=10 03:14:32 > git config core.sparsecheckout # timeout=10 03:14:32 > git checkout -f 4d7c1198da1e1851cbac593200b815338be49d76 # timeout=10 03:14:34 2f39f015ded8: Pull complete 03:14:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:14:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:34 prd-ubuntu20.04-docker-8c-8g-7647 does not seem to be running inside a container 03:14:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 03:14:35 Commit message: "feat!: Consume SDK interface changes" 03:14:35 $ docker top 15e69faa87654e3204d20a5520e7a73c49a765e73c66485f91e52c50319e69ef -eo pid,comm 03:14:35 03:14:35 GitHub has been notified of this commit’s build result 03:14:35 [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:36 ---> job-cost.sh 03:14:36 lf-activate-venv: SKIPPING 03:14:36 INFO: No Stack... 03:14:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:14:36 % Total % Received % Xferd Average Speed Time Time Time Current 03:14:36 Dload Upload Total Spent Left Speed 03:14:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 69677 0 --:--:-- --:--:-- --:--:-- 69677 [Pipeline] sh 03:14:37 INFO: Archiving Costs [Pipeline] sh 03:14:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:14:37 + + cat /w/workspace/edgexfoundry_device-gpio_PR-149/archives/cost.csv 03:14:37 cut -d, -f6 [Pipeline] lock 03:14:37 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] 03:14:37 Resource [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] did not exist. Created. 03:14:37 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:14:37 + sudo tee /etc/docker/daemon.new 03:14:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:14:37 { 03:14:37 "registry-mirrors": [ 03:14:37 "https://nexus3.edgexfoundry.org:10001" 03:14:37 ], 03:14:37 "bip": "10.250.0.254/24", 03:14:37 "hosts": [ 03:14:37 "tcp://0.0.0.0:5555", 03:14:37 "unix:///var/run/docker.sock" 03:14:37 ], 03:14:37 "mtu": 1458, 03:14:37 "selinux-enabled": true, 03:14:37 "seccomp-profile": "/etc/docker/seccomp.json" 03:14:37 } [Pipeline] sh 03:14:37 + echo total: 0.4399999976158142 [Pipeline] stash 03:14:37 Stashed 1 file(s) [Pipeline] } 03:14:37 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:14:37 $ docker stop --time=1 15e69faa87654e3204d20a5520e7a73c49a765e73c66485f91e52c50319e69ef 03:14:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 03:14:39 $ docker rm -f --volumes 15e69faa87654e3204d20a5520e7a73c49a765e73c66485f91e52c50319e69ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:14:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:57 provisioning config files... 03:14:57 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config5991428896118227432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:58 ---> docker-login.sh 03:14:58 nexus3.edgexfoundry.org:10001 03:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:58 Configure a credential helper to remove this warning. See 03:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:58 03:14:58 Login Succeeded 03:14:58 nexus3.edgexfoundry.org:10002 03:14:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:58 Configure a credential helper to remove this warning. See 03:14:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:58 03:14:58 Login Succeeded 03:14:58 nexus3.edgexfoundry.org:10003 03:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:59 Configure a credential helper to remove this warning. See 03:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:59 03:14:59 Login Succeeded 03:14:59 nexus3.edgexfoundry.org:10004 03:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:59 Configure a credential helper to remove this warning. See 03:14:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:59 03:14:59 Login Succeeded 03:14:59 docker.io 03:14:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:00 Configure a credential helper to remove this warning. See 03:15:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:00 03:15:00 Login Succeeded 03:15:00 ---> docker-login.sh ends [Pipeline] } 03:15:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:00 ========================================================= 03:15:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:15:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:00 + 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 . 03:15:01 Sending build context to Docker daemon 8.131MB 03:15:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:15:01 Step 2/12 : FROM ${BASE} AS builder 03:15:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:15:01 af6eaf76a39c: Pulling fs layer 03:15:01 55522c791124: Pulling fs layer 03:15:01 ce5c4a1c91eb: Pulling fs layer 03:15:01 169dfbe0d373: Pulling fs layer 03:15:01 e1ff8fa3b103: Pulling fs layer 03:15:01 52ebb69f0ebf: Pulling fs layer 03:15:01 5abe8eddf0d5: Pulling fs layer 03:15:01 e1ff8fa3b103: Waiting 03:15:01 52ebb69f0ebf: Waiting 03:15:01 5abe8eddf0d5: Waiting 03:15:01 169dfbe0d373: Waiting 03:15:01 55522c791124: Verifying Checksum 03:15:01 55522c791124: Download complete 03:15:01 169dfbe0d373: Verifying Checksum 03:15:01 169dfbe0d373: Download complete 03:15:01 e1ff8fa3b103: Verifying Checksum 03:15:01 e1ff8fa3b103: Download complete 03:15:01 af6eaf76a39c: Verifying Checksum 03:15:02 af6eaf76a39c: Pull complete 03:15:02 5abe8eddf0d5: Verifying Checksum 03:15:02 5abe8eddf0d5: Download complete 03:15:03 55522c791124: Pull complete 03:15:04 ce5c4a1c91eb: Download complete 03:15:04 52ebb69f0ebf: Verifying Checksum 03:15:04 52ebb69f0ebf: Download complete 03:15:16 ce5c4a1c91eb: Pull complete 03:15:16 169dfbe0d373: Pull complete 03:15:16 e1ff8fa3b103: Pull complete 03:15:21 52ebb69f0ebf: Pull complete 03:15:23 5abe8eddf0d5: Pull complete 03:15:23 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 03:15:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:15:23 ---> 6cb57ee374ae 03:15:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:15:25 ---> Running in 45a2fb952f79 03:15:25 Removing intermediate container 45a2fb952f79 03:15:25 ---> 7b6260cbb9e7 03:15:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:15:26 ---> Running in 81a951d86b6d 03:15:26 Removing intermediate container 81a951d86b6d 03:15:26 ---> 1f0272847d25 03:15:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:15:26 ---> Running in 07dbcd461a1a 03:15:26 Removing intermediate container 07dbcd461a1a 03:15:26 ---> 984146588b35 03:15:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:15:26 ---> Running in 6e6563eb69ce 03:15:27 Removing intermediate container 6e6563eb69ce 03:15:27 ---> 5af968655727 03:15:27 Step 7/12 : WORKDIR /device-gpio 03:15:27 ---> Running in f0a8aa74aa5d 03:15:27 Removing intermediate container f0a8aa74aa5d 03:15:27 ---> b576927aa1f0 03:15:27 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:15:27 ---> Running in d530b8b5ae71 03:15:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:15:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:15:30 (1/4) Installing openssh-keygen (9.1_p1-r2) 03:15:30 (2/4) Installing libedit (20221030.3.1-r0) 03:15:30 (3/4) Installing openssh-client-common (9.1_p1-r2) 03:15:30 (4/4) Installing openssh-client-default (9.1_p1-r2) 03:15:30 Executing busybox-1.35.0-r29.trigger 03:15:30 OK: 268 MiB in 57 packages 03:15:31 Removing intermediate container d530b8b5ae71 03:15:31 ---> d1c78dbea505 03:15:31 Step 9/12 : COPY go.mod vendor* ./ 03:15:31 ---> 39d82e7af62c 03:15:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:31 ---> Running in 8e68a12a7380 03:16:39 Removing intermediate container 8e68a12a7380 03:16:39 ---> 3864fb6227f9 03:16:39 Step 11/12 : COPY . . 03:16:39 ---> fcfc08ee0e13 03:16:39 Step 12/12 : RUN ${MAKE} 03:16:39 ---> Running in 49e9b0400d35 03:16:39 noop 03:16:39 Removing intermediate container 49e9b0400d35 03:16:39 ---> 0b4074742216 03:16:39 Successfully built 0b4074742216 03:16:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:39 + docker inspect -f . ci-base-image-arm64 03:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:40 prd-ubuntu20.04-docker-arm64-4c-16g-8375 does not seem to be running inside a container 03:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 03:16:41 $ docker top 13c82db81f832576e96134136e4a12ad784c8fbeb179f3514dfe7dc561496695 -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:42 + go version 03:16:42 go version go1.20.2 linux/arm64 [Pipeline] } 03:16:42 $ docker stop --time=1 13c82db81f832576e96134136e4a12ad784c8fbeb179f3514dfe7dc561496695 03:16:43 $ docker rm -f --volumes 13c82db81f832576e96134136e4a12ad784c8fbeb179f3514dfe7dc561496695 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:44 + docker inspect -f . ci-base-image-arm64 03:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:44 prd-ubuntu20.04-docker-arm64-4c-16g-8375 does not seem to be running inside a container 03:16:44 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 03:16:45 $ docker top 1fa02eab3bb977a7293712f78003462b35c25be5367a4bfe54df92fd259a53fa -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:46 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 03:16:46 + make test 03:16:46 go test ./... -coverprofile=coverage.out ./... 03:17:19 ? github.com/edgexfoundry/device-gpio [no test files] 03:19:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 03:19:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 03:19:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:19:10 go vet ./... 03:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:19:32 ./bin/test-attribution-txt.sh 03:19:32 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 03:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:19:33 $ docker stop --time=1 1fa02eab3bb977a7293712f78003462b35c25be5367a4bfe54df92fd259a53fa 03:19:34 $ docker rm -f --volumes 1fa02eab3bb977a7293712f78003462b35c25be5367a4bfe54df92fd259a53fa [Pipeline] // withDockerContainer [Pipeline] sh 03:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:19:36 Warning: overwriting stash ‘coverage-report’ 03:19:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:19:37 + ls -al . 03:19:37 total 152 03:19:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:16 . 03:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:14 .. 03:19:37 -rw-rw-r-- 1 jenkins jenkins 120 Apr 13 03:14 .dockerignore 03:19:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:14 .git 03:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:14 .github 03:19:37 -rw-rw-r-- 1 jenkins jenkins 343 Apr 13 03:14 .gitignore 03:19:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 03:14 .golangci.yml 03:19:37 -rw-rw-r-- 1 jenkins jenkins 9573 Apr 13 03:14 Attribution.txt 03:19:37 -rw-rw-r-- 1 jenkins jenkins 4069 Apr 13 03:14 CHANGELOG.md 03:19:37 -rw-rw-r-- 1 jenkins jenkins 1542 Apr 13 03:14 Dockerfile 03:19:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:14 GOVERNANCE.md 03:19:37 -rw-rw-r-- 1 jenkins jenkins 657 Apr 13 03:14 Jenkinsfile 03:19:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 13 03:14 LICENSE 03:19:37 -rw-rw-r-- 1 jenkins jenkins 1692 Apr 13 03:14 Makefile 03:19:37 -rw-rw-r-- 1 jenkins jenkins 617 Apr 13 03:14 OWNERS.md 03:19:37 -rw-rw-r-- 1 jenkins jenkins 11790 Apr 13 03:14 README.md 03:19:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:12 VERSION 03:19:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:14 bin 03:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:14 cmd 03:19:37 -rw-r--r-- 1 jenkins jenkins 10 Apr 13 03:16 coverage.out 03:19:37 -rw-rw-r-- 1 jenkins jenkins 3269 Apr 13 03:14 go.mod 03:19:37 -rw-rw-r-- 1 jenkins jenkins 31810 Apr 13 03:14 go.sum 03:19:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:14 internal 03:19:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:14 snap 03:19:37 -rw-rw-r-- 1 jenkins jenkins 209 Apr 13 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:37 + 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=4d7c1198da1e1851cbac593200b815338be49d76 --label arch=arm64 --label version=0.0.0 . 03:19:37 Sending build context to Docker daemon 8.132MB 03:19:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:19:38 Step 2/25 : FROM ${BASE} AS builder 03:19:38 ---> 0b4074742216 03:19:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:19:38 ---> Running in ea3ac01dbc96 03:19:38 Removing intermediate container ea3ac01dbc96 03:19:38 ---> a768823e84f8 03:19:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:19:38 ---> Running in 439a18fd7519 03:19:39 Removing intermediate container 439a18fd7519 03:19:39 ---> 5dc5ca24be68 03:19:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 03:19:41 ---> Running in aa92f06ae4df 03:19:41 Removing intermediate container aa92f06ae4df 03:19:41 ---> 1400ac94fa89 03:19:41 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:19:42 ---> Running in fe6d76f6d024 03:19:42 Removing intermediate container fe6d76f6d024 03:19:42 ---> e53de998b119 03:19:42 Step 7/25 : WORKDIR /device-gpio 03:19:42 ---> Running in 5ec529b2b051 03:19:43 Removing intermediate container 5ec529b2b051 03:19:43 ---> 7812d6eb8020 03:19:43 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:19:43 ---> Running in c58557079956 03:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:19:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:19:52 OK: 268 MiB in 57 packages 03:19:52 Removing intermediate container c58557079956 03:19:52 ---> 7f6f78135ee1 03:19:52 Step 9/25 : COPY go.mod vendor* ./ 03:19:53 ---> a956cb7e3b85 03:19:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:19:53 ---> Running in 22bde50508cd 03:19:55 Removing intermediate container 22bde50508cd 03:19:55 ---> 10174bf80dc4 03:19:55 Step 11/25 : COPY . . 03:19:56 ---> 818f4da9aaad 03:19:56 Step 12/25 : RUN ${MAKE} 03:19:56 ---> Running in 65f404b5e644 03:19:57 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 03:22:04 Removing intermediate container 65f404b5e644 03:22:04 ---> 177634eac8c4 03:22:04 Step 13/25 : FROM alpine:3.17 03:22:04 3.17: Pulling from library/alpine 03:22:04 c41833b44d91: Pulling fs layer 03:22:04 c41833b44d91: Verifying Checksum 03:22:04 c41833b44d91: Download complete 03:22:04 c41833b44d91: Pull complete 03:22:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:22:04 Status: Downloaded newer image for alpine:3.17 03:22:04 ---> 51e60588ff2c 03:22:04 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 03:22:04 ---> Running in 01a46751f037 03:22:04 Removing intermediate container 01a46751f037 03:22:04 ---> 1ab7542be707 03:22:04 Step 15/25 : RUN apk add --update --no-cache 03:22:04 ---> Running in 86cfb169c9a3 03:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:22:04 OK: 7 MiB in 15 packages 03:22:04 Removing intermediate container 86cfb169c9a3 03:22:04 ---> 0a81a2a5274d 03:22:04 Step 16/25 : WORKDIR / 03:22:04 ---> Running in f47c9aecb4a5 03:22:04 Removing intermediate container f47c9aecb4a5 03:22:04 ---> 215dea396863 03:22:04 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 03:22:05 ---> 5aa5c46ff54c 03:22:05 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 03:22:06 ---> 7853d24bc9f4 03:22:06 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 03:22:07 ---> ae1664a67609 03:22:07 Step 20/25 : EXPOSE 59910 03:22:07 ---> Running in c326c61b668e 03:22:08 Removing intermediate container c326c61b668e 03:22:08 ---> 3fc1e67bcb8a 03:22:08 Step 21/25 : ENTRYPOINT ["/device-gpio"] 03:22:08 ---> Running in fe70624dea1b 03:22:08 Removing intermediate container fe70624dea1b 03:22:08 ---> f9a7b8c7605c 03:22:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:22:08 ---> Running in f4a83a4f33dc 03:22:08 Removing intermediate container f4a83a4f33dc 03:22:08 ---> c0ba29b662a2 03:22:08 Step 23/25 : LABEL arch=arm64 03:22:08 ---> Running in e058f9f646ae 03:22:08 Removing intermediate container e058f9f646ae 03:22:08 ---> 347cedc0b08d 03:22:08 Step 24/25 : LABEL git_sha=4d7c1198da1e1851cbac593200b815338be49d76 03:22:08 ---> Running in a3920e94ec6e 03:22:09 Removing intermediate container a3920e94ec6e 03:22:09 ---> 50129b46df04 03:22:09 Step 25/25 : LABEL version=0.0.0 03:22:09 ---> Running in b130abf0adc9 03:22:09 Removing intermediate container b130abf0adc9 03:22:09 ---> de24b263edd9 03:22:09 [Warning] One or more build-args [ARCH] were not consumed 03:22:09 Successfully built de24b263edd9 03:22:09 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 03:22:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:10 03:22:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:10 arm64: Pulling from edgex-lftools-log-publisher 03:22:10 8998bd30e6a1: Pulling fs layer 03:22:10 04944245beec: Pulling fs layer 03:22:10 699f458cf7ca: Pulling fs layer 03:22:10 765212b225bb: Pulling fs layer 03:22:10 f23df028b6ca: Pulling fs layer 03:22:10 d65c8cfc05b1: Pulling fs layer 03:22:10 2437ff75d9bd: Pulling fs layer 03:22:10 f23df028b6ca: Waiting 03:22:10 d65c8cfc05b1: Waiting 03:22:10 765212b225bb: Waiting 03:22:10 2437ff75d9bd: Waiting 03:22:10 04944245beec: Verifying Checksum 03:22:10 04944245beec: Download complete 03:22:10 765212b225bb: Download complete 03:22:10 f23df028b6ca: Verifying Checksum 03:22:10 f23df028b6ca: Download complete 03:22:10 d65c8cfc05b1: Verifying Checksum 03:22:10 d65c8cfc05b1: Download complete 03:22:10 699f458cf7ca: Verifying Checksum 03:22:10 699f458cf7ca: Download complete 03:22:11 8998bd30e6a1: Verifying Checksum 03:22:11 8998bd30e6a1: Download complete 03:22:13 2437ff75d9bd: Verifying Checksum 03:22:13 2437ff75d9bd: Download complete 03:22:14 8998bd30e6a1: Pull complete 03:22:15 04944245beec: Pull complete 03:22:16 699f458cf7ca: Pull complete 03:22:16 765212b225bb: Pull complete 03:22:19 f23df028b6ca: Pull complete 03:22:20 d65c8cfc05b1: Pull complete 03:22:35 2437ff75d9bd: Pull complete 03:22:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:22:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:35 prd-ubuntu20.04-docker-arm64-4c-16g-8375 does not seem to be running inside a container 03:22:35 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 03:22:37 $ docker top 0ff6ba9384c78a38a73d7fcde1aa258c43e038be1c3a46e173871ee2f5573739 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:22:38 ---> job-cost.sh 03:22:38 lf-activate-venv: SKIPPING 03:22:38 INFO: No Stack... 03:22:39 INFO: Retrieving Pricing Info for: v3-standard-4 03:22:39 INFO: Archiving Costs [Pipeline] sh 03:22:40 + cut -d, -f6 03:22:40 + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock 03:22:40 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] 03:22:40 Resource [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] did not exist. Created. 03:22:40 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:22:40 /w/workspace/device-gpio/2@tmp/durable-9ae11d08/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:22:41 + echo total: 0.10999999940395355 [Pipeline] stash 03:22:41 Warning: overwriting stash ‘stack-cost’ 03:22:41 Stashed 1 file(s) [Pipeline] } 03:22:41 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-149-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:22:41 $ docker stop --time=1 0ff6ba9384c78a38a73d7fcde1aa258c43e038be1c3a46e173871ee2f5573739 03:22:42 $ docker rm -f --volumes 0ff6ba9384c78a38a73d7fcde1aa258c43e038be1c3a46e173871ee2f5573739 [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 03:22:43 provisioning config files... 03:22:43 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config16342306830060341153tmp [Pipeline] { [Pipeline] sh 03:22:43 + set +x 03:22:43 + curl -s https://codecov.io/bash 03:22:43 + bash -s -- 03:22:43 03:22:43 _____ _ 03:22:43 / ____| | | 03:22:43 | | ___ __| | ___ ___ _____ __ 03:22:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:22:43 | |___| (_) | (_| | __/ (_| (_) \ V / 03:22:43 \_____\___/ \__,_|\___|\___\___/ \_/ 03:22:43 Bash-1.0.6 03:22:43 03:22:43 03:22:43 ==> git version 2.25.1 found 03:22:43 ==> 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 03:22:43 Release-Date: 2020-01-08 03:22:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:22:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:22:43 ==> Jenkins CI detected. 03:22:43 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-149 03:22:43 project root: . 03:22:43 --> token set from env 03:22:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:22:43 ==> Running gcov in . (disable via -X gcov) 03:22:43 ==> Python coveragepy not found 03:22:43 ==> Searching for coverage reports in: 03:22:43 + . 03:22:43 -> Found 1 reports 03:22:43 ==> Detecting git/mercurial file structure 03:22:43 ==> Reading reports 03:22:43 + ./coverage.out bytes=10 03:22:43 ==> Appending adjustments 03:22:43 https://docs.codecov.io/docs/fixing-reports 03:22:43 + Found adjustments 03:22:43 ==> Gzipping contents 03:22:43 4.0K /tmp/codecov.gJTeoA.gz 03:22:43 ==> Uploading reports 03:22:43 url: https://codecov.io 03:22:43 query: branch=PR-149&commit=4d7c1198da1e1851cbac593200b815338be49d76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 03:22:43 -> Pinging Codecov 03:22:43 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=4d7c1198da1e1851cbac593200b815338be49d76&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-149%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=149&job=&cmd_args= 03:22:43 -> Uploading to 03:22:43 https://storage.googleapis.com/codecov/v4/raw/2023-04-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/4d7c1198da1e1851cbac593200b815338be49d76/e1253881-fc9d-45c1-9fac-63af0e62b214.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230413T032243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55147b4c6543debdfff84c1b985caff023316bd8279efb60e2774bce42549cd4 03:22:44 % Total % Received % Xferd Average Speed Time Time Time Current 03:22:44 Dload Upload Total Spent Left Speed 03:22:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 716 0 0 100 716 0 2830 --:--:-- --:--:-- --:--:-- 2830 03:22:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/4d7c1198da1e1851cbac593200b815338be49d76 [Pipeline] } 03:22:44 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 03:22:44 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-149/archives ] 03:22:44 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 03:22:44 total 16 03:22:44 drwxr-xr-x 3 root root 4096 Apr 13 03:14 . 03:22:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:14 .. 03:22:44 drwxr-xr-x 2 root root 4096 Apr 13 03:14 cost 03:22:44 -rw-r--r-- 1 root root 84 Apr 13 03:14 cost.csv 03:22:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-149/archives 03:22:44 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-149/archives 03:22:44 total 16 03:22:44 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:14 . 03:22:44 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:14 .. 03:22:44 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:14 cost 03:22:44 -rw-r--r-- 1 jenkins jenkins 84 Apr 13 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:22:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:22:46 ---> package-listing.sh 03:22:46 ++ facter osfamily 03:22:46 ++ tr '[:upper:]' '[:lower:]' 03:22:46 + OS_FAMILY=debian 03:22:46 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-149 03:22:46 + START_PACKAGES=/tmp/packages_start.txt 03:22:46 + END_PACKAGES=/tmp/packages_end.txt 03:22:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:22:46 + PACKAGES=/tmp/packages_start.txt 03:22:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 03:22:46 + PACKAGES=/tmp/packages_end.txt 03:22:46 + case "${OS_FAMILY}" in 03:22:46 + dpkg -l 03:22:46 + grep '^ii' 03:22:46 + '[' -f /tmp/packages_start.txt ']' 03:22:46 + '[' -f /tmp/packages_end.txt ']' 03:22:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:22:46 + '[' /w/workspace/edgexfoundry_device-gpio_PR-149 ']' 03:22:46 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ 03:22:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-149/archives/ [Pipeline] echo 03:22:46 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 03:22:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:47 prd-ubuntu20.04-docker-8c-8g-7647 does not seem to be running inside a container 03:22:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:22:48 $ docker top 59ce0882c5c774317efcd824c6254b4220aeb6b4453cfa57d5227ed1a1894677 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:48 + touch /tmp/pre-build-complete [Pipeline] sh 03:22:48 + mkdir -p /var/log/sysstat [Pipeline] sh 03:22:49 + ls /var/log/sa-host 03:22:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:22:49 provisioning config files... 03:22:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-149@tmp/config10200254385884435084tmp [Pipeline] { [Pipeline] echo 03:22:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:22:49 ---> create-netrc.sh [Pipeline] } 03:22:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:22:49 ---> python-tools-install.sh [Pipeline] echo 03:22:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:22:50 ---> sudo-logs.sh 03:22:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:22:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:22:50 ---> job-cost.sh 03:22:50 lf-activate-venv: SKIPPING 03:22:50 DEBUG: total: 0.4399999976158142 03:22:50 INFO: Retrieving Stack Cost... 03:22:50 INFO: Retrieving Pricing Info for: v3-standard-8 03:22:51 INFO: Archiving Costs [Pipeline] echo 03:22:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:22:51 ---> logs-deploy.sh 03:22:51 lf-activate-venv: SKIPPING 03:22:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-149/2 03:22:51 INFO: archiving workspace using pattern(s): 03:22:52 Archives upload complete. 03:22:52 INFO: archiving logs to Nexus