Pull request #74 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb906d1f2ad7dd8056f497b5d100ee100ccbcc27+8f32374c2c41cdb1ba282cfb564c8a7ba9873dae (0f91f9287d113fa7c0d8288a39caf00631edc613) 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-ssh5313670882797060220.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3071276167834963475.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-74/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-74/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16384010411776915642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh11330576099432969984.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-74/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-74/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9833796975801369492.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1716 in /w/workspace/edgexfoundry_device-gpio_PR-74 [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-74 # 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/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8f32374c2c41cdb1ba282cfb564c8a7ba9873dae into PR head commit fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 Merge succeeded, producing fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 Checking out Revision fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 (PR-74) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 # 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 8f32374c2c41cdb1ba282cfb564c8a7ba9873dae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 # timeout=10 > git rev-list --no-walk 35ef57a0a8c9b8f55d8de6105557d9bef0bddb45 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:39:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:39:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:39:03 ========================================================= 21:39:03 EdgeX Global Pipelines Version Info 21:39:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:39:04 ------------------- 21:39:04 stable info: 21:39:04 ------------------- 21:39:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:39:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:39:04 Message: update stable to v1.0.244 21:39:04 ------------------- 21:39:04 experimental info: 21:39:04 ------------------- 21:39:04 Commited By: **** collab-it+edgex@linuxfoundation.org 21:39:04 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:39:04 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb906d1 [Pipeline] echo 21:39:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:05 provisioning config files... 21:39:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/config11656734599935141398tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:05 ---> docker-login.sh 21:39:05 nexus3.edgexfoundry.org:10001 21:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:06 Configure a credential helper to remove this warning. See 21:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:06 21:39:06 Login Succeeded 21:39:06 nexus3.edgexfoundry.org:10002 21:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:06 Configure a credential helper to remove this warning. See 21:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:06 21:39:06 Login Succeeded 21:39:06 nexus3.edgexfoundry.org:10003 21:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:06 Configure a credential helper to remove this warning. See 21:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:06 21:39:06 Login Succeeded 21:39:06 nexus3.edgexfoundry.org:10004 21:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:06 Configure a credential helper to remove this warning. See 21:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:06 21:39:06 Login Succeeded 21:39:06 docker.io 21:39:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:06 Configure a credential helper to remove this warning. See 21:39:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:06 21:39:06 Login Succeeded 21:39:06 ---> docker-login.sh ends [Pipeline] } 21:39:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:39:07 + git rev-list -1 --merges fb906d1f2ad7dd8056f497b5d100ee100ccbcc27~1..fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [Pipeline] echo 21:39:07 -----------> git rev-list -1 --merges fb906d1f2ad7dd8056f497b5d100ee100ccbcc27~1..fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [false] [Pipeline] sh 21:39:07 + git log --format=format:%s -1 fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [Pipeline] echo 21:39:07 ========================================================= 21:39:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:39:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:08 + git log --format=format:%s -1 fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [Pipeline] echo 21:39:08 [semverPrep] GIT_COMMIT: fb906d1f2ad7dd8056f497b5d100ee100ccbcc27, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 21:39:08 [semverPrep] This is not a build commit. [Pipeline] sh 21:39:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:39:08 + grep -v github /etc/ssh/ssh_known_hosts 21:39:08 + [ -e /tmp/ssh_known_hosts ] 21:39:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:39:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:39:08 + sudo tee -a /etc/ssh/ssh_known_hosts 21:39:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:08 21:39:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:09 0.1.4: Pulling from edgex-devops/py-git-semver 21:39:09 b85a868b505f: Pulling fs layer 21:39:09 e2be974225ed: Pulling fs layer 21:39:09 339a4e72a1f5: Pulling fs layer 21:39:09 988bab9f4d93: Pulling fs layer 21:39:09 1469e6f7b9e6: Pulling fs layer 21:39:09 eaf3925da568: Pulling fs layer 21:39:09 bab4dde63d76: Pulling fs layer 21:39:09 bde34c3a00c8: Pulling fs layer 21:39:09 988bab9f4d93: Waiting 21:39:09 eaf3925da568: Waiting 21:39:09 1469e6f7b9e6: Waiting 21:39:09 bab4dde63d76: Waiting 21:39:09 bde34c3a00c8: Waiting 21:39:09 b352a97aabf1: Pulling fs layer 21:39:09 4872d77fe225: Pulling fs layer 21:39:09 5851b861e8e6: Pulling fs layer 21:39:09 4872d77fe225: Waiting 21:39:09 b352a97aabf1: Waiting 21:39:09 5851b861e8e6: Waiting 21:39:09 e2be974225ed: Download complete 21:39:09 988bab9f4d93: Verifying Checksum 21:39:09 988bab9f4d93: Download complete 21:39:09 1469e6f7b9e6: Verifying Checksum 21:39:09 1469e6f7b9e6: Download complete 21:39:09 339a4e72a1f5: Verifying Checksum 21:39:09 339a4e72a1f5: Download complete 21:39:09 eaf3925da568: Verifying Checksum 21:39:09 eaf3925da568: Download complete 21:39:09 bde34c3a00c8: Verifying Checksum 21:39:09 bde34c3a00c8: Download complete 21:39:09 b352a97aabf1: Verifying Checksum 21:39:09 4872d77fe225: Download complete 21:39:09 5851b861e8e6: Verifying Checksum 21:39:09 5851b861e8e6: Download complete 21:39:09 b85a868b505f: Download complete 21:39:09 bab4dde63d76: Verifying Checksum 21:39:09 bab4dde63d76: Download complete 21:39:10 b85a868b505f: Pull complete 21:39:10 e2be974225ed: Pull complete 21:39:11 339a4e72a1f5: Pull complete 21:39:11 988bab9f4d93: Pull complete 21:39:11 1469e6f7b9e6: Pull complete 21:39:11 eaf3925da568: Pull complete 21:39:13 bab4dde63d76: Pull complete 21:39:13 bde34c3a00c8: Pull complete 21:39:13 b352a97aabf1: Pull complete 21:39:13 4872d77fe225: Pull complete 21:39:13 5851b861e8e6: Pull complete 21:39:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:39:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:39:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:13 prd-ubuntu20.04-docker-8c-8g-1716 does not seem to be running inside a container 21:39:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-74 -v /w/workspace/edgexfoundry_device-gpio_PR-74:/w/workspace/edgexfoundry_device-gpio_PR-74:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-74@tmp:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:39:15 $ docker top eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf -eo pid,comm 21:39:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:39:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:39:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:15 [ssh-agent] Looking for ssh-agent implementation... 21:39:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:15 $ docker exec eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf ssh-agent 21:39:15 SSH_AUTH_SOCK=/tmp/ssh-U4OFDQWzABaJ/agent.32 21:39:15 SSH_AGENT_PID=38 21:39:15 Running ssh-add (command line suppressed) 21:39:15 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-74@tmp/private_key_11869194027905511292.key (/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/private_key_11869194027905511292.key) 21:39:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:16 + git tag --points-at HEAD [Pipeline] } 21:39:16 $ docker exec --env ******** --env ******** eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf ssh-agent -k 21:39:16 unset SSH_AUTH_SOCK; 21:39:16 unset SSH_AGENT_PID; 21:39:16 echo Agent pid 38 killed; 21:39:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:39:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:39:16 [ssh-agent] Looking for ssh-agent implementation... 21:39:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:39:16 $ docker exec eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf ssh-agent 21:39:16 SSH_AUTH_SOCK=/tmp/ssh-YfOTn1OiRhfH/agent.70 21:39:16 SSH_AGENT_PID=76 21:39:16 Running ssh-add (command line suppressed) 21:39:16 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-74@tmp/private_key_6079253393992661823.key (/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/private_key_6079253393992661823.key) 21:39:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:39:16 + git semver init 21:39:17 2023-01-10 21:39:17,010 [run_init] DEBUG init version:0.0.0 force:False 21:39:17 2023-01-10 21:39:17,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-74/.semver 21:39:17 2023-01-10 21:39:17,011 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-74/.semver 21:39:17 2023-01-10 21:39:17,011 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-74/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-74, universal_newlines=False, shell=None, istream=None) 21:39:18 2023-01-10 21:39:17,933 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-74/.git/info/exclude 21:39:18 2023-01-10 21:39:17,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-74/.semver/PR-74 with force:False 21:39:18 2023-01-10 21:39:17,933 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-74/.semver/PR-74 21:39:18 2023-01-10 21:39:17,938 [execute] INFO git cat-file --batch-check 21:39:18 2023-01-10 21:39:17,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-74/.semver, universal_newlines=False, shell=None, istream=) 21:39:18 2023-01-10 21:39:17,945 [execute] INFO git cat-file --batch 21:39:18 2023-01-10 21:39:17,945 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-74/.semver, universal_newlines=False, shell=None, istream=) 21:39:18 2023-01-10 21:39:17,950 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-74/.semver/PR-74 21:39:18 0.0.0 [Pipeline] } 21:39:18 $ docker exec --env ******** --env ******** eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf ssh-agent -k 21:39:18 unset SSH_AUTH_SOCK; 21:39:18 unset SSH_AGENT_PID; 21:39:18 echo Agent pid 76 killed; 21:39:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:39:18 + git semver [Pipeline] } 21:39:18 $ docker stop --time=1 eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf 21:39:20 $ docker rm -f --volumes eb16045d981ff0db7683f60514e0d6286b2d961ea23c1fb8f1ff739f75d63cbf [Pipeline] // withDockerContainer [Pipeline] sh 21:39:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:39:20 Stashed 1 file(s) [Pipeline] echo 21:39:20 [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 21:39:20 provisioning config files... 21:39:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/config15976758105828333921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:21 ---> docker-login.sh 21:39:21 nexus3.edgexfoundry.org:10001 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 nexus3.edgexfoundry.org:10002 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 nexus3.edgexfoundry.org:10003 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 nexus3.edgexfoundry.org:10004 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 docker.io 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 ---> docker-login.sh ends [Pipeline] } 21:39:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:39:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:21 ========================================================= 21:39:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:39:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:39:21 Sending build context to Docker daemon 15.98MB 21:39:21 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:39:21 Step 2/12 : FROM ${BASE} AS builder 21:39:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:39:21 213ec9aee27d: Pulling fs layer 21:39:21 4583459ba037: Pulling fs layer 21:39:21 93c1e223e6f2: Pulling fs layer 21:39:21 53926ce57604: Pulling fs layer 21:39:21 21b2b0c7a3f4: Pulling fs layer 21:39:21 22ff95d597cd: Pulling fs layer 21:39:21 12d6caf4c0d1: Pulling fs layer 21:39:21 96b7cbca73a9: Pulling fs layer 21:39:21 a7acece74701: Pulling fs layer 21:39:21 12d6caf4c0d1: Waiting 21:39:21 53926ce57604: Waiting 21:39:21 21b2b0c7a3f4: Waiting 21:39:21 96b7cbca73a9: Waiting 21:39:21 22ff95d597cd: Waiting 21:39:21 a7acece74701: Waiting 21:39:22 93c1e223e6f2: Verifying Checksum 21:39:22 93c1e223e6f2: Download complete 21:39:22 4583459ba037: Verifying Checksum 21:39:22 4583459ba037: Download complete 21:39:22 21b2b0c7a3f4: Download complete 21:39:22 22ff95d597cd: Verifying Checksum 21:39:22 22ff95d597cd: Download complete 21:39:22 213ec9aee27d: Download complete 21:39:22 12d6caf4c0d1: Verifying Checksum 21:39:22 12d6caf4c0d1: Download complete 21:39:22 213ec9aee27d: Pull complete 21:39:22 4583459ba037: Pull complete 21:39:22 93c1e223e6f2: Pull complete 21:39:22 a7acece74701: Verifying Checksum 21:39:23 96b7cbca73a9: Verifying Checksum 21:39:23 96b7cbca73a9: Download complete 21:39:23 53926ce57604: Verifying Checksum 21:39:23 53926ce57604: Download complete 21:39:27 53926ce57604: Pull complete 21:39:27 21b2b0c7a3f4: Pull complete 21:39:27 22ff95d597cd: Pull complete 21:39:27 12d6caf4c0d1: Pull complete 21:39:30 96b7cbca73a9: Pull complete 21:39:30 a7acece74701: Pull complete 21:39:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:39:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:39:30 ---> db6d94c90886 21:39:30 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:39:32 ---> Running in 063901991cd1 21:39:32 Removing intermediate container 063901991cd1 21:39:32 ---> d627279e4fdd 21:39:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:32 ---> Running in 853d2ea5cc0c 21:39:32 Removing intermediate container 853d2ea5cc0c 21:39:32 ---> a90e4e1d2ae9 21:39:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:39:32 ---> Running in 9750bc24436f 21:39:32 Removing intermediate container 9750bc24436f 21:39:32 ---> 8d962038a2e6 21:39:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:39:32 ---> Running in 9666987f2739 21:39:32 Removing intermediate container 9666987f2739 21:39:32 ---> dc443f325102 21:39:32 Step 7/12 : WORKDIR /device-gpio 21:39:32 ---> Running in 79d16f485098 21:39:32 Removing intermediate container 79d16f485098 21:39:32 ---> 5bab5972895b 21:39:32 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:32 ---> Running in bc9a6277d2e1 21:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:39:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:39:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:39:33 (2/4) Installing libedit (20210910.3.1-r0) 21:39:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:39:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:39:33 Executing busybox-1.35.0-r17.trigger 21:39:33 OK: 216 MiB in 55 packages 21:39:34 Removing intermediate container bc9a6277d2e1 21:39:34 ---> 2c5a11155263 21:39:34 Step 9/12 : COPY go.mod vendor* ./ 21:39:34 ---> a4d5575204c1 21:39:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:34 ---> Running in 90ec5b8c950e 21:39:35 Still waiting to schedule task 21:39:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:39:56 Removing intermediate container 90ec5b8c950e 21:39:56 ---> 799ec8293f7f 21:39:56 Step 11/12 : COPY . . 21:39:56 ---> 4b9e3cca6fb3 21:39:56 Step 12/12 : RUN ${MAKE} 21:39:56 ---> Running in c6ecfd95abc0 21:39:56 noop 21:39:56 Removing intermediate container c6ecfd95abc0 21:39:56 ---> df5fb4db7944 21:39:56 Successfully built df5fb4db7944 21:39:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:56 + docker inspect -f . ci-base-image-x86_64 21:39:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:56 prd-ubuntu20.04-docker-8c-8g-1716 does not seem to be running inside a container 21:39:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-74 -v /w/workspace/edgexfoundry_device-gpio_PR-74:/w/workspace/edgexfoundry_device-gpio_PR-74:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-74@tmp:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:56 $ docker top e972861f017982abd85271c82b81c096248861080495f53461ebe3e4941caf0c -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:57 + go version 21:39:57 go version go1.18.7 linux/amd64 [Pipeline] } 21:39:57 $ docker stop --time=1 e972861f017982abd85271c82b81c096248861080495f53461ebe3e4941caf0c 21:39:58 $ docker rm -f --volumes e972861f017982abd85271c82b81c096248861080495f53461ebe3e4941caf0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:58 + docker inspect -f . ci-base-image-x86_64 21:39:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:58 prd-ubuntu20.04-docker-8c-8g-1716 does not seem to be running inside a container 21:39:59 $ 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-74 -v /w/workspace/edgexfoundry_device-gpio_PR-74:/w/workspace/edgexfoundry_device-gpio_PR-74:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-74@tmp:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:39:59 $ docker top 960bfe314150a039ec80200f6af95d27586e7088486f3bcbedeeb358cca3d325 -eo pid,comm [Pipeline] { [Pipeline] sh 21:39:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-74 [Pipeline] fileExists [Pipeline] sh 21:40:00 + make test 21:40:00 go test ./... -coverprofile=coverage.out ./... 21:40:00 ? github.com/edgexfoundry/device-gpio [no test files] 21:40:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:40:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:40:18 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:40:18 go vet ./... 21:40:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:40:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:40:20 ./bin/test-attribution-txt.sh [Pipeline] echo 21:40:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:40:20 $ docker stop --time=1 960bfe314150a039ec80200f6af95d27586e7088486f3bcbedeeb358cca3d325 21:40:22 $ docker rm -f --volumes 960bfe314150a039ec80200f6af95d27586e7088486f3bcbedeeb358cca3d325 [Pipeline] // withDockerContainer [Pipeline] sh 21:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:40:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:40:23 + ls -al . 21:40:23 total 168 21:40:23 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 21:40 . 21:40:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:39 .. 21:40:23 -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 21:39 .dockerignore 21:40:23 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:40 .git 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:39 .github 21:40:23 -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 21:39 .gitignore 21:40:23 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:39 .golangci.yml 21:40:23 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:39 .semver 21:40:23 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 10 21:39 Attribution.txt 21:40:23 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 21:39 CHANGELOG.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 10 21:39 Dockerfile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:39 GOVERNANCE.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 21:39 Jenkinsfile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:39 LICENSE 21:40:23 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 10 21:39 Makefile 21:40:23 -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 21:39 OWNERS.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 21:39 README.md 21:40:23 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:39 VERSION 21:40:23 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:39 bin 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:39 cmd 21:40:23 -rw-r--r-- 1 jenkins jenkins 10 Jan 10 21:40 coverage.out 21:40:23 -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 21:39 go.mod 21:40:23 -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 21:39 go.sum 21:40:23 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:39 internal 21:40:23 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:39 snap 21:40:23 -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:24 + 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=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 --label arch=amd64 --label version=0.0.0 . 21:40:24 Sending build context to Docker daemon 15.98MB 21:40:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:40:24 Step 2/25 : FROM ${BASE} AS builder 21:40:24 ---> df5fb4db7944 21:40:24 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:40:24 ---> Running in f145d542178a 21:40:24 Removing intermediate container f145d542178a 21:40:24 ---> 2dc73259e6ca 21:40:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:40:24 ---> Running in 63ffb985b11b 21:40:24 Removing intermediate container 63ffb985b11b 21:40:24 ---> 4859b455ffc5 21:40:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:40:24 ---> Running in 9ac21c08bbb8 21:40:24 Removing intermediate container 9ac21c08bbb8 21:40:24 ---> a5db499b57c3 21:40:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:40:24 ---> Running in a368ea0faa37 21:40:24 Removing intermediate container a368ea0faa37 21:40:24 ---> e8b723c0f0ae 21:40:24 Step 7/25 : WORKDIR /device-gpio 21:40:24 ---> Running in ce838abd282c 21:40:24 Removing intermediate container ce838abd282c 21:40:24 ---> 963de41784d1 21:40:24 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:40:24 ---> Running in 80d7e07e4ee7 21:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:40:25 OK: 216 MiB in 55 packages 21:40:26 Removing intermediate container 80d7e07e4ee7 21:40:26 ---> a949116cfa50 21:40:26 Step 9/25 : COPY go.mod vendor* ./ 21:40:26 ---> 3b9ebc3542a3 21:40:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:26 ---> Running in 2a7830701de2 21:40:27 Removing intermediate container 2a7830701de2 21:40:27 ---> 77b6ae5e56d8 21:40:27 Step 11/25 : COPY . . 21:40:27 ---> 88269c1f686f 21:40:27 Step 12/25 : RUN ${MAKE} 21:40:27 ---> Running in b7ee1a8e90dd 21:40:27 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 21:40:42 Removing intermediate container b7ee1a8e90dd 21:40:42 ---> 9bd80fe76813 21:40:42 Step 13/25 : FROM alpine:3.16 21:40:42 3.16: Pulling from library/alpine 21:40:42 ca7dd9ec2225: Pulling fs layer 21:40:42 ca7dd9ec2225: Verifying Checksum 21:40:42 ca7dd9ec2225: Download complete 21:40:42 ca7dd9ec2225: Pull complete 21:40:42 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:40:42 Status: Downloaded newer image for alpine:3.16 21:40:42 ---> bfe296a52501 21:40:42 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:40:42 ---> Running in c6a149ade5cf 21:40:42 Removing intermediate container c6a149ade5cf 21:40:42 ---> 1deba691aef1 21:40:42 Step 15/25 : RUN apk add --update --no-cache 21:40:42 ---> Running in 77754e6ecd49 21:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:40:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:40:42 OK: 6 MiB in 14 packages 21:40:42 Removing intermediate container 77754e6ecd49 21:40:42 ---> ae4e828ed11e 21:40:42 Step 16/25 : WORKDIR / 21:40:42 ---> Running in 5272ed420b2c 21:40:42 Removing intermediate container 5272ed420b2c 21:40:42 ---> 5812acec9dd3 21:40:42 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:40:42 ---> c2c36cfd711f 21:40:42 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:40:42 ---> 9886f35b3a6b 21:40:42 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:40:43 ---> 5470533f16f8 21:40:43 Step 20/25 : EXPOSE 59910 21:40:43 ---> Running in 9fd5ef525efb 21:40:43 Removing intermediate container 9fd5ef525efb 21:40:43 ---> f4cb9921c937 21:40:43 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:40:43 ---> Running in 2fe3aa2f50c4 21:40:43 Removing intermediate container 2fe3aa2f50c4 21:40:43 ---> c0058b80a472 21:40:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:40:43 ---> Running in c224449050ea 21:40:43 Removing intermediate container c224449050ea 21:40:43 ---> 7b97ec5ef5cb 21:40:43 Step 23/25 : LABEL arch=amd64 21:40:43 ---> Running in c4e096dd2752 21:40:43 Removing intermediate container c4e096dd2752 21:40:43 ---> 2c6e36a1a638 21:40:43 Step 24/25 : LABEL git_sha=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 21:40:43 ---> Running in cdeebc661891 21:40:43 Removing intermediate container cdeebc661891 21:40:43 ---> 31820c3fece4 21:40:43 Step 25/25 : LABEL version=0.0.0 21:40:43 ---> Running in c51ac5530063 21:40:43 Removing intermediate container c51ac5530063 21:40:43 ---> 28126ccff810 21:40:43 [Warning] One or more build-args [ARCH] were not consumed 21:40:43 Successfully built 28126ccff810 21:40:43 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 21:40:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:44 21:40:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:44 latest: Pulling from edgex-lftools-log-publisher 21:40:44 5eb5b503b376: Pulling fs layer 21:40:44 5c69ac0246d0: Pulling fs layer 21:40:44 ec43610c2a17: Pulling fs layer 21:40:44 3a2ae6a8a46f: Pulling fs layer 21:40:44 33b1e0a273af: Pulling fs layer 21:40:44 5d3b04190fa2: Pulling fs layer 21:40:44 2f39f015ded8: Pulling fs layer 21:40:44 33b1e0a273af: Waiting 21:40:44 3a2ae6a8a46f: Waiting 21:40:44 5d3b04190fa2: Waiting 21:40:44 2f39f015ded8: Waiting 21:40:44 5c69ac0246d0: Download complete 21:40:44 3a2ae6a8a46f: Download complete 21:40:44 33b1e0a273af: Verifying Checksum 21:40:44 33b1e0a273af: Download complete 21:40:44 5d3b04190fa2: Download complete 21:40:44 ec43610c2a17: Verifying Checksum 21:40:44 ec43610c2a17: Download complete 21:40:44 5eb5b503b376: Verifying Checksum 21:40:44 5eb5b503b376: Download complete 21:40:45 2f39f015ded8: Download complete 21:40:45 5eb5b503b376: Pull complete 21:40:46 5c69ac0246d0: Pull complete 21:40:46 ec43610c2a17: Pull complete 21:40:46 3a2ae6a8a46f: Pull complete 21:40:46 33b1e0a273af: Pull complete 21:40:46 5d3b04190fa2: Pull complete 21:40:50 2f39f015ded8: Pull complete 21:40:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:40:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:51 prd-ubuntu20.04-docker-8c-8g-1716 does not seem to be running inside a container 21:40:51 $ 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-74 -v /w/workspace/edgexfoundry_device-gpio_PR-74:/w/workspace/edgexfoundry_device-gpio_PR-74:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-74@tmp:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:40:52 $ docker top c104ab77b4c85d9082e37ee49c9f3d65c9f82125531d8e337056299f45ebd17b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:52 ---> job-cost.sh 21:40:52 lf-activate-venv: SKIPPING 21:40:52 INFO: No Stack... 21:40:53 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:53 INFO: Archiving Costs [Pipeline] sh 21:40:53 + cat /w/workspace/edgexfoundry_device-gpio_PR-74/archives/cost.csv 21:40:53 + cut -d, -f6 [Pipeline] lock 21:40:53 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] 21:40:53 Resource [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] did not exist. Created. 21:40:53 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:54 + echo total: 0.2199999988079071 [Pipeline] stash 21:40:54 Stashed 1 file(s) [Pipeline] } 21:40:54 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:54 $ docker stop --time=1 c104ab77b4c85d9082e37ee49c9f3d65c9f82125531d8e337056299f45ebd17b 21:40:55 $ docker rm -f --volumes c104ab77b4c85d9082e37ee49c9f3d65c9f82125531d8e337056299f45ebd17b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:42:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1719 in /w/workspace/edgexfoundry_device-gpio_PR-74 [Pipeline] { [Pipeline] ws 21:42:03 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 21:42:04 The recommended git tool is: git 21:42:09 using credential edgex-jenkins-ssh 21:42:09 Cloning the remote Git repository 21:42:09 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:42:09 > git init /w/workspace/device-gpio/3 # timeout=10 21:42:09 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:42:09 > git --version # timeout=10 21:42:09 > git --version # 'git version 2.25.1' 21:42:09 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:42:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:42:12 Merging remotes/origin/main commit 8f32374c2c41cdb1ba282cfb564c8a7ba9873dae into PR head commit fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 21:42:12 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:42:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:42:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:42:12 > git config core.sparsecheckout # timeout=10 21:42:12 > git checkout -f fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 # timeout=10 21:42:12 Merge succeeded, producing fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 21:42:12 Checking out Revision fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 (PR-74) 21:42:13 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:42:12 > git remote # timeout=10 21:42:12 > git config --get remote.origin.url # timeout=10 21:42:12 using GIT_SSH to set credentials SSH Credentials for GitHub 21:42:12 > git merge 8f32374c2c41cdb1ba282cfb564c8a7ba9873dae # timeout=10 21:42:12 > git rev-parse HEAD^{commit} # timeout=10 21:42:12 > git config core.sparsecheckout # timeout=10 21:42:12 > git checkout -f fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 # timeout=10 21:42:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:42:14 % Total % Received % Xferd Average Speed Time Time Time Current 21:42:14 Dload Upload Total Spent Left Speed 21:42:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 21:42:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:42:15 + sudo tee /etc/docker/daemon.new 21:42:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:42:15 { 21:42:15 "registry-mirrors": [ 21:42:15 "https://nexus3.edgexfoundry.org:10001" 21:42:15 ], 21:42:15 "bip": "10.250.0.254/24", 21:42:15 "hosts": [ 21:42:15 "tcp://0.0.0.0:5555", 21:42:15 "unix:///var/run/docker.sock" 21:42:15 ], 21:42:15 "mtu": 1458, 21:42:15 "selinux-enabled": true, 21:42:15 "seccomp-profile": "/etc/docker/seccomp.json" 21:42:15 } [Pipeline] sh 21:42:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:42:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:34 provisioning config files... 21:42:34 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config9466035400666640521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:42:34 ---> docker-login.sh 21:42:34 nexus3.edgexfoundry.org:10001 21:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:35 Configure a credential helper to remove this warning. See 21:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:35 21:42:35 Login Succeeded 21:42:35 nexus3.edgexfoundry.org:10002 21:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:35 Configure a credential helper to remove this warning. See 21:42:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:35 21:42:35 Login Succeeded 21:42:35 nexus3.edgexfoundry.org:10003 21:42:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:36 Configure a credential helper to remove this warning. See 21:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:36 21:42:36 Login Succeeded 21:42:36 nexus3.edgexfoundry.org:10004 21:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:36 Configure a credential helper to remove this warning. See 21:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:36 21:42:36 Login Succeeded 21:42:36 docker.io 21:42:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:42:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:42:36 Configure a credential helper to remove this warning. See 21:42:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:42:36 21:42:36 Login Succeeded 21:42:36 ---> docker-login.sh ends [Pipeline] } 21:42:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:42:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:42:37 ========================================================= 21:42:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:42:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:42:37 Sending build context to Docker daemon 8.065MB 21:42:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:42:37 Step 2/12 : FROM ${BASE} AS builder 21:42:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:42:38 9b18e9b68314: Pulling fs layer 21:42:38 35d82f9e3411: Pulling fs layer 21:42:38 e16973657156: Pulling fs layer 21:42:38 fc693d55d65f: Pulling fs layer 21:42:38 7e9fc2657dce: Pulling fs layer 21:42:38 dda99020689f: Pulling fs layer 21:42:38 db1c61fa0a46: Pulling fs layer 21:42:38 891c053d2c06: Pulling fs layer 21:42:38 7e9fc2657dce: Waiting 21:42:38 db1c61fa0a46: Waiting 21:42:38 fc693d55d65f: Waiting 21:42:38 891c053d2c06: Waiting 21:42:38 dda99020689f: Waiting 21:42:38 e16973657156: Verifying Checksum 21:42:38 e16973657156: Download complete 21:42:38 35d82f9e3411: Download complete 21:42:38 7e9fc2657dce: Verifying Checksum 21:42:38 7e9fc2657dce: Download complete 21:42:38 dda99020689f: Download complete 21:42:38 9b18e9b68314: Verifying Checksum 21:42:38 9b18e9b68314: Download complete 21:42:39 9b18e9b68314: Pull complete 21:42:39 891c053d2c06: Verifying Checksum 21:42:39 891c053d2c06: Download complete 21:42:39 35d82f9e3411: Pull complete 21:42:39 e16973657156: Pull complete 21:42:40 db1c61fa0a46: Verifying Checksum 21:42:40 db1c61fa0a46: Download complete 21:42:41 fc693d55d65f: Verifying Checksum 21:42:41 fc693d55d65f: Download complete 21:42:53 fc693d55d65f: Pull complete 21:42:53 7e9fc2657dce: Pull complete 21:42:54 dda99020689f: Pull complete 21:43:02 db1c61fa0a46: Pull complete 21:43:03 891c053d2c06: Pull complete 21:43:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:43:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:43:03 ---> f96f9c87975a 21:43:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:43:04 ---> Running in a02be2684ea0 21:43:04 Removing intermediate container a02be2684ea0 21:43:04 ---> 845f0b4074d9 21:43:04 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:43:04 ---> Running in 3606fb8dff49 21:43:05 Removing intermediate container 3606fb8dff49 21:43:05 ---> 126370919307 21:43:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:43:05 ---> Running in cd8eb3d0e8c9 21:43:05 Removing intermediate container cd8eb3d0e8c9 21:43:05 ---> 9a2c57418469 21:43:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:43:05 ---> Running in 5e65b614c33c 21:43:06 Removing intermediate container 5e65b614c33c 21:43:06 ---> c10debeaf2ea 21:43:06 Step 7/12 : WORKDIR /device-gpio 21:43:06 ---> Running in ebd7912d5d3a 21:43:06 Removing intermediate container ebd7912d5d3a 21:43:06 ---> 2056ecacad4d 21:43:06 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:43:06 ---> Running in 14fe75f230f6 21:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:43:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:43:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:43:09 (2/4) Installing libedit (20210910.3.1-r0) 21:43:09 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:43:09 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:43:09 Executing busybox-1.35.0-r17.trigger 21:43:09 OK: 226 MiB in 55 packages 21:43:10 Removing intermediate container 14fe75f230f6 21:43:10 ---> bf52674886b7 21:43:10 Step 9/12 : COPY go.mod vendor* ./ 21:43:11 ---> 0b237a0693c3 21:43:11 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:43:11 ---> Running in 83c0384f0e15 21:44:19 Removing intermediate container 83c0384f0e15 21:44:19 ---> 3062c3d077c9 21:44:19 Step 11/12 : COPY . . 21:44:19 ---> 433d9331278d 21:44:19 Step 12/12 : RUN ${MAKE} 21:44:19 ---> Running in 105e8b667e10 21:44:19 noop 21:44:19 Removing intermediate container 105e8b667e10 21:44:19 ---> db24f2e3321d 21:44:19 Successfully built db24f2e3321d 21:44:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:19 + docker inspect -f . ci-base-image-arm64 21:44:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:44:19 prd-ubuntu20.04-docker-arm64-4c-16g-1719 does not seem to be running inside a container 21:44:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:44:21 $ docker top 119e0174a26e0d45bc89800b715a454536a4c9d97a7ed78ea3b1cb40204326e3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:22 + go version 21:44:22 go version go1.18.7 linux/arm64 [Pipeline] } 21:44:22 $ docker stop --time=1 119e0174a26e0d45bc89800b715a454536a4c9d97a7ed78ea3b1cb40204326e3 21:44:25 $ docker rm -f --volumes 119e0174a26e0d45bc89800b715a454536a4c9d97a7ed78ea3b1cb40204326e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:44:25 + docker inspect -f . ci-base-image-arm64 21:44:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:44:25 prd-ubuntu20.04-docker-arm64-4c-16g-1719 does not seem to be running inside a container 21:44:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:44:27 $ docker top a8e1b69a5170d6d4c37110f2fd74150087e10efe185d5da4bfd3241627e3222c -eo pid,comm [Pipeline] { [Pipeline] sh 21:44:27 + git config --global --add safe.directory /w/workspace/device-gpio/3 [Pipeline] fileExists [Pipeline] sh 21:44:28 + make test 21:44:28 go test ./... -coverprofile=coverage.out ./... 21:44:30 ? github.com/edgexfoundry/device-gpio [no test files] 21:46:06 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:46:06 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:46:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:06 go vet ./... 21:46:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:16 ./bin/test-attribution-txt.sh [Pipeline] echo 21:46:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:46:16 $ docker stop --time=1 a8e1b69a5170d6d4c37110f2fd74150087e10efe185d5da4bfd3241627e3222c 21:46:18 $ docker rm -f --volumes a8e1b69a5170d6d4c37110f2fd74150087e10efe185d5da4bfd3241627e3222c [Pipeline] // withDockerContainer [Pipeline] sh 21:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:19 Warning: overwriting stash ‘coverage-report’ 21:46:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:46:20 + ls -al . 21:46:20 total 164 21:46:20 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:44 . 21:46:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:42 .. 21:46:20 -rw-rw-r-- 1 jenkins jenkins 120 Jan 10 21:42 .dockerignore 21:46:20 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 21:42 .git 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:42 .github 21:46:20 -rw-rw-r-- 1 jenkins jenkins 343 Jan 10 21:42 .gitignore 21:46:20 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 21:42 .golangci.yml 21:46:20 -rw-rw-r-- 1 jenkins jenkins 9587 Jan 10 21:42 Attribution.txt 21:46:20 -rw-rw-r-- 1 jenkins jenkins 4069 Jan 10 21:42 CHANGELOG.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 1542 Jan 10 21:42 Dockerfile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 21:42 GOVERNANCE.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 657 Jan 10 21:42 Jenkinsfile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 21:42 LICENSE 21:46:20 -rw-rw-r-- 1 jenkins jenkins 1658 Jan 10 21:42 Makefile 21:46:20 -rw-rw-r-- 1 jenkins jenkins 617 Jan 10 21:42 OWNERS.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 11842 Jan 10 21:42 README.md 21:46:20 -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 21:39 VERSION 21:46:20 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 21:42 bin 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:42 cmd 21:46:20 -rw-r--r-- 1 jenkins jenkins 10 Jan 10 21:44 coverage.out 21:46:20 -rw-rw-r-- 1 jenkins jenkins 3400 Jan 10 21:42 go.mod 21:46:20 -rw-rw-r-- 1 jenkins jenkins 44944 Jan 10 21:42 go.sum 21:46:20 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 21:42 internal 21:46:20 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 21:42 snap 21:46:20 -rw-rw-r-- 1 jenkins jenkins 209 Jan 10 21:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:21 + 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=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 --label arch=arm64 --label version=0.0.0 . 21:46:21 Sending build context to Docker daemon 8.066MB 21:46:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:46:21 Step 2/25 : FROM ${BASE} AS builder 21:46:21 ---> db24f2e3321d 21:46:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:46:21 ---> Running in 277254970fa7 21:46:22 Removing intermediate container 277254970fa7 21:46:22 ---> b0ba9952a045 21:46:22 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:46:22 ---> Running in ac18d3b98a53 21:46:22 Removing intermediate container ac18d3b98a53 21:46:22 ---> a3a4dc35af8b 21:46:22 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 21:46:22 ---> Running in 7b0ac25e367f 21:46:23 Removing intermediate container 7b0ac25e367f 21:46:23 ---> 1a1624588cfb 21:46:23 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:46:23 ---> Running in d8d59e3dc4fb 21:46:23 Removing intermediate container d8d59e3dc4fb 21:46:23 ---> 7a26dd6816ad 21:46:23 Step 7/25 : WORKDIR /device-gpio 21:46:23 ---> Running in f626440e83a7 21:46:24 Removing intermediate container f626440e83a7 21:46:24 ---> 001e68f8f070 21:46:24 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:24 ---> Running in b19712b0df4e 21:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:46:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:46:27 OK: 226 MiB in 55 packages 21:46:28 Removing intermediate container b19712b0df4e 21:46:28 ---> e05ad79bae83 21:46:28 Step 9/25 : COPY go.mod vendor* ./ 21:46:28 ---> 061938effe23 21:46:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:28 ---> Running in fa3f0a6d5822 21:46:31 Removing intermediate container fa3f0a6d5822 21:46:31 ---> 3e4d6389292b 21:46:31 Step 11/25 : COPY . . 21:46:33 ---> a6141ee5a3ce 21:46:33 Step 12/25 : RUN ${MAKE} 21:46:33 ---> Running in 09d4d31d0cb0 21:46:36 CGO_ENABLED=0 go build -tags "" -o cmd/device-gpio ./cmd 21:48:12 Removing intermediate container 09d4d31d0cb0 21:48:12 ---> ed002679a721 21:48:12 Step 13/25 : FROM alpine:3.16 21:48:12 3.16: Pulling from library/alpine 21:48:12 6875df1f5354: Pulling fs layer 21:48:12 6875df1f5354: Verifying Checksum 21:48:12 6875df1f5354: Download complete 21:48:12 6875df1f5354: Pull complete 21:48:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 21:48:12 Status: Downloaded newer image for alpine:3.16 21:48:12 ---> 2b4661558fb8 21:48:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:48:12 ---> Running in 9c7cc4b67d32 21:48:13 Removing intermediate container 9c7cc4b67d32 21:48:13 ---> 9b113caf8718 21:48:13 Step 15/25 : RUN apk add --update --no-cache 21:48:13 ---> Running in 30970ee1915c 21:48:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:48:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:48:16 OK: 5 MiB in 14 packages 21:48:16 Removing intermediate container 30970ee1915c 21:48:16 ---> 1c6d8756872d 21:48:16 Step 16/25 : WORKDIR / 21:48:16 ---> Running in c77be6180983 21:48:16 Removing intermediate container c77be6180983 21:48:16 ---> 0c6a6f512ac1 21:48:16 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:48:17 ---> fbb4cc3c5af2 21:48:17 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:48:18 ---> 7fb6376ac714 21:48:18 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:48:19 ---> 3989d1c36b9a 21:48:19 Step 20/25 : EXPOSE 59910 21:48:19 ---> Running in 8f89bc0dfdae 21:48:19 Removing intermediate container 8f89bc0dfdae 21:48:19 ---> 853b7e206046 21:48:19 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:48:20 ---> Running in 5f7a2be67afd 21:48:20 Removing intermediate container 5f7a2be67afd 21:48:20 ---> 6106220a58b0 21:48:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:48:20 ---> Running in 2a80f3db213a 21:48:20 Removing intermediate container 2a80f3db213a 21:48:20 ---> 1daf318e841c 21:48:20 Step 23/25 : LABEL arch=arm64 21:48:20 ---> Running in 09b885809e1b 21:48:21 Removing intermediate container 09b885809e1b 21:48:21 ---> e0309760b48f 21:48:21 Step 24/25 : LABEL git_sha=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 21:48:21 ---> Running in 51401a4d5ee1 21:48:21 Removing intermediate container 51401a4d5ee1 21:48:21 ---> 239629bf0904 21:48:21 Step 25/25 : LABEL version=0.0.0 21:48:21 ---> Running in 7aeaf21e6246 21:48:21 Removing intermediate container 7aeaf21e6246 21:48:21 ---> dcab47ddf2f1 21:48:21 [Warning] One or more build-args [ARCH] were not consumed 21:48:21 Successfully built dcab47ddf2f1 21:48:21 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 21:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:22 21:48:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:48:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:22 arm64: Pulling from edgex-lftools-log-publisher 21:48:22 8998bd30e6a1: Pulling fs layer 21:48:22 04944245beec: Pulling fs layer 21:48:22 699f458cf7ca: Pulling fs layer 21:48:22 765212b225bb: Pulling fs layer 21:48:22 f23df028b6ca: Pulling fs layer 21:48:23 d65c8cfc05b1: Pulling fs layer 21:48:23 2437ff75d9bd: Pulling fs layer 21:48:23 765212b225bb: Waiting 21:48:23 d65c8cfc05b1: Waiting 21:48:23 f23df028b6ca: Waiting 21:48:23 04944245beec: Verifying Checksum 21:48:23 04944245beec: Download complete 21:48:23 765212b225bb: Verifying Checksum 21:48:23 765212b225bb: Download complete 21:48:23 f23df028b6ca: Verifying Checksum 21:48:23 f23df028b6ca: Download complete 21:48:23 d65c8cfc05b1: Verifying Checksum 21:48:23 d65c8cfc05b1: Download complete 21:48:23 699f458cf7ca: Verifying Checksum 21:48:23 699f458cf7ca: Download complete 21:48:23 8998bd30e6a1: Verifying Checksum 21:48:23 8998bd30e6a1: Download complete 21:48:26 2437ff75d9bd: Verifying Checksum 21:48:26 2437ff75d9bd: Download complete 21:48:27 8998bd30e6a1: Pull complete 21:48:28 04944245beec: Pull complete 21:48:29 699f458cf7ca: Pull complete 21:48:30 765212b225bb: Pull complete 21:48:31 f23df028b6ca: Pull complete 21:48:31 d65c8cfc05b1: Pull complete 21:48:46 2437ff75d9bd: Pull complete 21:48:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:48:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:48:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:48:46 prd-ubuntu20.04-docker-arm64-4c-16g-1719 does not seem to be running inside a container 21:48:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:48:49 $ docker top 2e819211b0de103277556fcb47943e500c83c788d8ca59c1fb2b024d69b2cfa0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:48:50 ---> job-cost.sh 21:48:50 lf-activate-venv: SKIPPING 21:48:50 INFO: No Stack... 21:48:51 INFO: Retrieving Pricing Info for: v3-standard-4 21:48:51 INFO: Archiving Costs [Pipeline] sh 21:48:52 + cut -d, -f6 21:48:52 + cat /w/workspace/device-gpio/3/archives/cost.csv [Pipeline] lock 21:48:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] 21:48:52 Resource [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] did not exist. Created. 21:48:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:48:53 /w/workspace/device-gpio/3@tmp/durable-0c4c9fe4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:48:53 + echo total: 0.10999999940395355 [Pipeline] stash 21:48:54 Warning: overwriting stash ‘stack-cost’ 21:48:54 Stashed 1 file(s) [Pipeline] } 21:48:54 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-74-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:48:54 $ docker stop --time=1 2e819211b0de103277556fcb47943e500c83c788d8ca59c1fb2b024d69b2cfa0 21:48:55 $ docker rm -f --volumes 2e819211b0de103277556fcb47943e500c83c788d8ca59c1fb2b024d69b2cfa0 [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 21:48:56 provisioning config files... 21:48:56 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/config5129528664646985753tmp [Pipeline] { [Pipeline] sh 21:48:56 + set +x 21:48:56 + curl -s https://codecov.io/bash 21:48:56 + bash -s -- 21:48:56 21:48:56 _____ _ 21:48:56 / ____| | | 21:48:56 | | ___ __| | ___ ___ _____ __ 21:48:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:48:56 | |___| (_) | (_| | __/ (_| (_) \ V / 21:48:56 \_____\___/ \__,_|\___|\___\___/ \_/ 21:48:56 Bash-1.0.6 21:48:56 21:48:56 21:48:56 ==> git version 2.25.1 found 21:48:56 ==> 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 21:48:56 Release-Date: 2020-01-08 21:48:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:48:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:48:56 ==> Jenkins CI detected. 21:48:56 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-74 21:48:56 project root: . 21:48:56 --> token set from env 21:48:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:48:56 ==> Running gcov in . (disable via -X gcov) 21:48:56 ==> Python coveragepy not found 21:48:56 ==> Searching for coverage reports in: 21:48:56 + . 21:48:56 -> Found 1 reports 21:48:56 ==> Detecting git/mercurial file structure 21:48:56 ==> Reading reports 21:48:56 + ./coverage.out bytes=10 21:48:56 ==> Appending adjustments 21:48:56 https://docs.codecov.io/docs/fixing-reports 21:48:56 + Found adjustments 21:48:56 ==> Gzipping contents 21:48:56 4.0K /tmp/codecov.IKCT6S.gz 21:48:56 ==> Uploading reports 21:48:56 url: https://codecov.io 21:48:56 query: branch=PR-74&commit=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-74%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=74&job=&cmd_args= 21:48:56 -> Pinging Codecov 21:48:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-74&commit=fb906d1f2ad7dd8056f497b5d100ee100ccbcc27&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-74%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=74&job=&cmd_args= 21:48:56 -> Uploading to 21:48:56 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fb906d1f2ad7dd8056f497b5d100ee100ccbcc27/cfc19cb4-b742-4376-b463-babfd7cbf0c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T214856Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e342cbb0d8a1d8751835a4e556baf430c6a57fc52a39e86af230031b4096258 21:48:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:48:56 Dload Upload Total Spent Left Speed 21:48:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 2829 --:--:-- --:--:-- --:--:-- 2829 21:48:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/fb906d1f2ad7dd8056f497b5d100ee100ccbcc27 [Pipeline] } 21:48:57 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 21:48:57 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-74/archives ] 21:48:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-74/archives 21:48:57 total 16 21:48:57 drwxr-xr-x 3 root root 4096 Jan 10 21:40 . 21:48:57 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:40 .. 21:48:57 drwxr-xr-x 2 root root 4096 Jan 10 21:40 cost 21:48:57 -rw-r--r-- 1 root root 82 Jan 10 21:40 cost.csv 21:48:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-74/archives 21:48:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-74/archives 21:48:57 total 16 21:48:57 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 21:40 . 21:48:57 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 21:40 .. 21:48:57 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 21:40 cost 21:48:57 -rw-r--r-- 1 jenkins jenkins 82 Jan 10 21:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:48:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:48:58 ---> package-listing.sh 21:48:58 ++ facter osfamily 21:48:58 ++ tr '[:upper:]' '[:lower:]' 21:48:59 + OS_FAMILY=debian 21:48:59 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-74 21:48:59 + START_PACKAGES=/tmp/packages_start.txt 21:48:59 + END_PACKAGES=/tmp/packages_end.txt 21:48:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:48:59 + PACKAGES=/tmp/packages_start.txt 21:48:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-74 ']' 21:48:59 + PACKAGES=/tmp/packages_end.txt 21:48:59 + case "${OS_FAMILY}" in 21:48:59 + dpkg -l 21:48:59 + grep '^ii' 21:48:59 + '[' -f /tmp/packages_start.txt ']' 21:48:59 + '[' -f /tmp/packages_end.txt ']' 21:48:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:48:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-74 ']' 21:48:59 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-74/archives/ 21:48:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-74/archives/ [Pipeline] echo 21:48:59 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-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:48:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:49:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:49:00 prd-ubuntu20.04-docker-8c-8g-1716 does not seem to be running inside a container 21:49:00 $ 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-74/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-74 -v /w/workspace/edgexfoundry_device-gpio_PR-74:/w/workspace/edgexfoundry_device-gpio_PR-74:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-74@tmp:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:49:00 $ docker top fc43610c3e399d784d53a4d3f94c8df7555660a47b6189cd893dd3ae82bb5f84 -eo pid,comm [Pipeline] { [Pipeline] sh 21:49:00 + touch /tmp/pre-build-complete [Pipeline] sh 21:49:00 + mkdir -p /var/log/sysstat [Pipeline] sh 21:49:01 + ls /var/log/sa-host 21:49:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:49:01 provisioning config files... 21:49:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-74@tmp/config12822501631757043360tmp [Pipeline] { [Pipeline] echo 21:49:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:49:01 ---> create-netrc.sh [Pipeline] } 21:49:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:49:01 ---> python-tools-install.sh [Pipeline] echo 21:49:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:49:02 ---> sudo-logs.sh 21:49:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:49:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:49:02 ---> job-cost.sh 21:49:02 lf-activate-venv: SKIPPING 21:49:02 DEBUG: total: 0.2199999988079071 21:49:02 INFO: Retrieving Stack Cost... 21:49:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:49:03 INFO: Archiving Costs [Pipeline] echo 21:49:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:49:04 ---> logs-deploy.sh 21:49:04 lf-activate-venv: SKIPPING 21:49:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-74/3 21:49:04 INFO: archiving workspace using pattern(s): 21:49:04 Archives upload complete. 21:49:04 INFO: archiving logs to Nexus