Pull request #188 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of FelixTing for edgexfoundry/device-gpio Obtained Jenkinsfile from 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb+ff16a83fb79151c0064e67c7d63c34566d8a7cb4 (820d4dc72e7607e5c1e36826573da40870d87173) 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-ssh11769239042901166735.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16537093895531597439.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-188/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-188/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14105524305353855279.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh271133363064245494.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-188/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-188/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4704612789559024808.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4529 in /w/workspace/edgexfoundry_device-gpio_PR-188 [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-188 # 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 Merging remotes/origin/main commit ff16a83fb79151c0064e67c7d63c34566d8a7cb4 into PR head commit 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb Merge succeeded, producing 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb Checking out Revision 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb (PR-188) > 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/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb # 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 ff16a83fb79151c0064e67c7d63c34566d8a7cb4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb # timeout=10 Commit message: "build: move SDK to v3.1.0-dev.16" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:39:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:39:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:39:12 ========================================================= 07:39:12 EdgeX Global Pipelines Version Info 07:39:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:39:12 ------------------- 07:39:12 stable info: 07:39:12 ------------------- 07:39:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:39:12 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:39:12 Message: update stable to v1.0.253 > git rev-list --no-walk 83fa8f362cef2a76cbfc7b40af84bdb6627824ed # timeout=10 07:39:13 ------------------- 07:39:13 experimental info: 07:39:13 ------------------- 07:39:13 Commited By: **** collab-it+edgex@linuxfoundation.org 07:39:13 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 07:39:13 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-188 [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-188 [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-188 [Pipeline] echo 07:39:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [Pipeline] echo 07:39:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5bfd04d [Pipeline] echo 07:39:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:39:14 provisioning config files... 07:39:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/config10786918417634372117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:14 ---> docker-login.sh 07:39:14 nexus3.edgexfoundry.org:10001 07:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:14 Configure a credential helper to remove this warning. See 07:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:14 07:39:14 Login Succeeded 07:39:14 nexus3.edgexfoundry.org:10002 07:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:14 Configure a credential helper to remove this warning. See 07:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:14 07:39:14 Login Succeeded 07:39:14 nexus3.edgexfoundry.org:10003 07:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:14 Configure a credential helper to remove this warning. See 07:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:14 07:39:14 Login Succeeded 07:39:14 nexus3.edgexfoundry.org:10004 07:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:14 Configure a credential helper to remove this warning. See 07:39:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:14 07:39:14 Login Succeeded 07:39:14 docker.io 07:39:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:15 Configure a credential helper to remove this warning. See 07:39:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:15 07:39:15 Login Succeeded 07:39:15 ---> docker-login.sh ends [Pipeline] } 07:39:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:39:15 + git rev-list -1 --merges 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb~1..5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [Pipeline] echo 07:39:15 -----------> git rev-list -1 --merges 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb~1..5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [false] [Pipeline] sh 07:39:15 + git log --format=format:%s -1 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [Pipeline] echo 07:39:15 ========================================================= 07:39:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:39:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:39:16 + git log --format=format:%s -1 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [Pipeline] echo 07:39:16 [semverPrep] GIT_COMMIT: 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb, Commit Message: build: move SDK to v3.1.0-dev.16 [Pipeline] echo 07:39:16 [semverPrep] This is not a build commit. [Pipeline] sh 07:39:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:39:16 + grep -v github /etc/ssh/ssh_known_hosts 07:39:16 + [ -e /tmp/ssh_known_hosts ] 07:39:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:39:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:39:16 + sudo tee -a /etc/ssh/ssh_known_hosts 07:39:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:39:16 07:39:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:39:17 0.1.4: Pulling from edgex-devops/py-git-semver 07:39:17 b85a868b505f: Pulling fs layer 07:39:17 e2be974225ed: Pulling fs layer 07:39:17 339a4e72a1f5: Pulling fs layer 07:39:17 988bab9f4d93: Pulling fs layer 07:39:17 1469e6f7b9e6: Pulling fs layer 07:39:17 eaf3925da568: Pulling fs layer 07:39:17 bab4dde63d76: Pulling fs layer 07:39:17 bde34c3a00c8: Pulling fs layer 07:39:17 b352a97aabf1: Pulling fs layer 07:39:17 4872d77fe225: Pulling fs layer 07:39:17 5851b861e8e6: Pulling fs layer 07:39:17 988bab9f4d93: Waiting 07:39:17 1469e6f7b9e6: Waiting 07:39:17 eaf3925da568: Waiting 07:39:17 bab4dde63d76: Waiting 07:39:17 bde34c3a00c8: Waiting 07:39:17 b352a97aabf1: Waiting 07:39:17 4872d77fe225: Waiting 07:39:17 5851b861e8e6: Waiting 07:39:17 e2be974225ed: Download complete 07:39:17 988bab9f4d93: Verifying Checksum 07:39:17 988bab9f4d93: Download complete 07:39:17 1469e6f7b9e6: Verifying Checksum 07:39:17 1469e6f7b9e6: Download complete 07:39:17 eaf3925da568: Download complete 07:39:17 339a4e72a1f5: Verifying Checksum 07:39:17 339a4e72a1f5: Download complete 07:39:17 bde34c3a00c8: Verifying Checksum 07:39:17 bde34c3a00c8: Download complete 07:39:17 b352a97aabf1: Download complete 07:39:17 4872d77fe225: Verifying Checksum 07:39:17 4872d77fe225: Download complete 07:39:17 5851b861e8e6: Download complete 07:39:17 b85a868b505f: Verifying Checksum 07:39:17 b85a868b505f: Download complete 07:39:17 bab4dde63d76: Verifying Checksum 07:39:17 bab4dde63d76: Download complete 07:39:18 b85a868b505f: Pull complete 07:39:18 e2be974225ed: Pull complete 07:39:19 339a4e72a1f5: Pull complete 07:39:19 988bab9f4d93: Pull complete 07:39:19 1469e6f7b9e6: Pull complete 07:39:19 eaf3925da568: Pull complete 07:39:21 bab4dde63d76: Pull complete 07:39:21 bde34c3a00c8: Pull complete 07:39:21 b352a97aabf1: Pull complete 07:39:21 4872d77fe225: Pull complete 07:39:21 5851b861e8e6: Pull complete 07:39:21 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:39:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:39:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:39:21 prd-ubuntu20.04-docker-8c-8g-4529 does not seem to be running inside a container 07:39:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-188 -v /w/workspace/edgexfoundry_device-gpio_PR-188:/w/workspace/edgexfoundry_device-gpio_PR-188:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-188@tmp:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:39:25 $ docker top 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 -eo pid,comm 07:39:25 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). 07:39:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:39:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:25 [ssh-agent] Looking for ssh-agent implementation... 07:39:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:25 $ docker exec 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 ssh-agent 07:39:25 SSH_AUTH_SOCK=/tmp/ssh-LlHDGkAmVBls/agent.33 07:39:25 SSH_AGENT_PID=39 07:39:25 Running ssh-add (command line suppressed) 07:39:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-188@tmp/private_key_3199366001053176481.key (/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/private_key_3199366001053176481.key) 07:39:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:26 + git tag --points-at HEAD [Pipeline] } 07:39:26 $ docker exec --env ******** --env ******** 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 ssh-agent -k 07:39:26 unset SSH_AUTH_SOCK; 07:39:26 unset SSH_AGENT_PID; 07:39:26 echo Agent pid 39 killed; 07:39:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:39:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:39:26 [ssh-agent] Looking for ssh-agent implementation... 07:39:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:39:26 $ docker exec 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 ssh-agent 07:39:26 SSH_AUTH_SOCK=/tmp/ssh-TpggoWl687oS/agent.72 07:39:26 SSH_AGENT_PID=78 07:39:26 Running ssh-add (command line suppressed) 07:39:26 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-188@tmp/private_key_2720782177365924084.key (/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/private_key_2720782177365924084.key) 07:39:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:39:26 + git semver init 07:39:27 2023-08-25 07:39:27,126 [run_init] DEBUG init version:0.0.0 force:False 07:39:27 2023-08-25 07:39:27,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-188/.semver 07:39:27 2023-08-25 07:39:27,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-188/.semver 07:39:27 2023-08-25 07:39:27,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-188/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-188, universal_newlines=False, shell=None, istream=None) 07:39:28 2023-08-25 07:39:28,047 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-188/.git/info/exclude 07:39:28 2023-08-25 07:39:28,048 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-188/.semver/PR-188 with force:False 07:39:28 2023-08-25 07:39:28,048 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-188/.semver/PR-188 07:39:28 2023-08-25 07:39:28,051 [execute] INFO git cat-file --batch-check 07:39:28 2023-08-25 07:39:28,052 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-188/.semver, universal_newlines=False, shell=None, istream=) 07:39:28 2023-08-25 07:39:28,057 [execute] INFO git cat-file --batch 07:39:28 2023-08-25 07:39:28,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-188/.semver, universal_newlines=False, shell=None, istream=) 07:39:28 2023-08-25 07:39:28,062 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-188/.semver/PR-188 07:39:28 0.0.0 [Pipeline] } 07:39:28 $ docker exec --env ******** --env ******** 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 ssh-agent -k 07:39:28 unset SSH_AUTH_SOCK; 07:39:28 unset SSH_AGENT_PID; 07:39:28 echo Agent pid 78 killed; 07:39:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:39:28 + git semver [Pipeline] } 07:39:28 $ docker stop --time=1 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 07:39:30 $ docker rm -f --volumes 7e5d00f2ee116e03790f4cb2fde96a86c7e68bd5ad6e8cdfef066788e9cf5b18 [Pipeline] // withDockerContainer [Pipeline] sh 07:39:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:39:30 Stashed 1 file(s) [Pipeline] echo 07:39:30 [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 07:39:30 provisioning config files... 07:39:30 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/config15416063741617548215tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:39:31 ---> docker-login.sh 07:39:31 nexus3.edgexfoundry.org:10001 07:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 nexus3.edgexfoundry.org:10002 07:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 nexus3.edgexfoundry.org:10003 07:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 nexus3.edgexfoundry.org:10004 07:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 docker.io 07:39:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:39:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:39:31 Configure a credential helper to remove this warning. See 07:39:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:39:31 07:39:31 Login Succeeded 07:39:31 ---> docker-login.sh ends [Pipeline] } 07:39:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:39:31 ========================================================= 07:39:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:39:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:39:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:39:32 Sending build context to Docker daemon 16.06MB 07:39:32 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:39:32 Step 2/12 : FROM ${BASE} AS builder 07:39:32 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:39:32 4db1b89c0bd1: Pulling fs layer 07:39:32 6911f1a30b25: Pulling fs layer 07:39:32 e194b8c5c2a9: Pulling fs layer 07:39:32 6863d3e3a2b1: Pulling fs layer 07:39:32 ec0bb842ea78: Pulling fs layer 07:39:32 40a00589a448: Pulling fs layer 07:39:32 6c08303d61cc: Pulling fs layer 07:39:32 798269fcf238: Pulling fs layer 07:39:32 6863d3e3a2b1: Waiting 07:39:32 798269fcf238: Waiting 07:39:32 6c08303d61cc: Waiting 07:39:32 40a00589a448: Waiting 07:39:32 6911f1a30b25: Download complete 07:39:32 6863d3e3a2b1: Download complete 07:39:32 ec0bb842ea78: Download complete 07:39:32 4db1b89c0bd1: Verifying Checksum 07:39:32 4db1b89c0bd1: Download complete 07:39:32 40a00589a448: Verifying Checksum 07:39:32 40a00589a448: Download complete 07:39:32 4db1b89c0bd1: Pull complete 07:39:32 6911f1a30b25: Pull complete 07:39:32 798269fcf238: Verifying Checksum 07:39:32 798269fcf238: Download complete 07:39:32 e194b8c5c2a9: Verifying Checksum 07:39:32 e194b8c5c2a9: Download complete 07:39:33 6c08303d61cc: Verifying Checksum 07:39:33 6c08303d61cc: Download complete 07:39:36 e194b8c5c2a9: Pull complete 07:39:36 6863d3e3a2b1: Pull complete 07:39:36 ec0bb842ea78: Pull complete 07:39:36 40a00589a448: Pull complete 07:39:38 6c08303d61cc: Pull complete 07:39:39 798269fcf238: Pull complete 07:39:39 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 07:39:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:39:39 ---> ec979cd7f677 07:39:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:39:44 ---> Running in e275be8e6a00 07:39:44 Removing intermediate container e275be8e6a00 07:39:44 ---> ee9b551b84f3 07:39:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:39:44 ---> Running in c143a6846052 07:39:44 Removing intermediate container c143a6846052 07:39:44 ---> 5b6862a5c5b2 07:39:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:39:44 ---> Running in 8b9a80d760e0 07:39:44 Removing intermediate container 8b9a80d760e0 07:39:44 ---> 6ec2660a6b35 07:39:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:39:44 ---> Running in 4fd38b5cf40e 07:39:44 Removing intermediate container 4fd38b5cf40e 07:39:44 ---> 5521f7827458 07:39:44 Step 7/12 : WORKDIR /device-gpio 07:39:44 ---> Running in 71f5e229a94c 07:39:44 Removing intermediate container 71f5e229a94c 07:39:44 ---> 521eb248540b 07:39:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:39:44 ---> Running in 445d72e05ac4 07:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:39:45 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:39:45 (2/4) Installing libedit (20221030.3.1-r0) 07:39:45 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:39:45 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:39:45 Executing busybox-1.35.0-r29.trigger 07:39:45 OK: 269 MiB in 57 packages 07:39:45 Removing intermediate container 445d72e05ac4 07:39:45 ---> 4c6db2d3ec3e 07:39:45 Step 9/12 : COPY go.mod vendor* ./ 07:39:45 Still waiting to schedule task 07:39:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:39:45 ---> e69aad75a9c2 07:39:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:39:45 ---> Running in 70c6f29eaccc 07:40:12 Removing intermediate container 70c6f29eaccc 07:40:12 ---> 360ab415a768 07:40:12 Step 11/12 : COPY . . 07:40:13 ---> f10c02bd7e37 07:40:13 Step 12/12 : RUN ${MAKE} 07:40:13 ---> Running in a79f318f1dc4 07:40:13 noop 07:40:13 Removing intermediate container a79f318f1dc4 07:40:13 ---> 77ab807a523d 07:40:13 Successfully built 77ab807a523d 07:40:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:14 + docker inspect -f . ci-base-image-x86_64 07:40:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:14 prd-ubuntu20.04-docker-8c-8g-4529 does not seem to be running inside a container 07:40:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-188 -v /w/workspace/edgexfoundry_device-gpio_PR-188:/w/workspace/edgexfoundry_device-gpio_PR-188:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-188@tmp:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:40:14 $ docker top eeaf2bea981fa4171287e9d90ab9a1d2d22abe01d38bdc4fd9cb09db2f952bea -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:14 + go version 07:40:14 go version go1.20.6 linux/amd64 [Pipeline] } 07:40:14 $ docker stop --time=1 eeaf2bea981fa4171287e9d90ab9a1d2d22abe01d38bdc4fd9cb09db2f952bea 07:40:16 $ docker rm -f --volumes eeaf2bea981fa4171287e9d90ab9a1d2d22abe01d38bdc4fd9cb09db2f952bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:16 + docker inspect -f . ci-base-image-x86_64 07:40:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:40:16 prd-ubuntu20.04-docker-8c-8g-4529 does not seem to be running inside a container 07:40:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-188 -v /w/workspace/edgexfoundry_device-gpio_PR-188:/w/workspace/edgexfoundry_device-gpio_PR-188:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-188@tmp:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:40:17 $ docker top 72fc30459db34fe0083d8cd43442690ec1da0314b3abbee2bcce1f534942b21d -eo pid,comm [Pipeline] { [Pipeline] sh 07:40:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-188 [Pipeline] fileExists [Pipeline] sh 07:40:17 + make test 07:40:17 go test ./... -coverprofile=coverage.out ./... 07:40:23 ? github.com/edgexfoundry/device-gpio [no test files] 07:40:32 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:40:32 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:40:38 go vet ./... 07:40:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:40:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:40:42 ./bin/test-attribution-txt.sh [Pipeline] echo 07:40:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:40:42 $ docker stop --time=1 72fc30459db34fe0083d8cd43442690ec1da0314b3abbee2bcce1f534942b21d 07:40:45 $ docker rm -f --volumes 72fc30459db34fe0083d8cd43442690ec1da0314b3abbee2bcce1f534942b21d [Pipeline] // withDockerContainer [Pipeline] sh 07:40:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:40:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:40:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:40:46 + ls -al . 07:40:46 total 168 07:40:46 drwxrwxr-x 9 jenkins jenkins 4096 Aug 25 07:40 . 07:40:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:39 .. 07:40:46 -rw-rw-r-- 1 jenkins jenkins 120 Aug 25 07:39 .dockerignore 07:40:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:39 .git 07:40:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 .github 07:40:46 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 07:39 .gitignore 07:40:46 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:39 .golangci.yml 07:40:46 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:39 .semver 07:40:46 -rw-rw-r-- 1 jenkins jenkins 10671 Aug 25 07:39 Attribution.txt 07:40:46 -rw-rw-r-- 1 jenkins jenkins 6184 Aug 25 07:39 CHANGELOG.md 07:40:46 -rw-rw-r-- 1 jenkins jenkins 1542 Aug 25 07:39 Dockerfile 07:40:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:39 GOVERNANCE.md 07:40:46 -rw-rw-r-- 1 jenkins jenkins 657 Aug 25 07:39 Jenkinsfile 07:40:46 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:39 LICENSE 07:40:46 -rw-rw-r-- 1 jenkins jenkins 1923 Aug 25 07:39 Makefile 07:40:46 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 07:39 OWNERS.md 07:40:46 -rw-rw-r-- 1 jenkins jenkins 12293 Aug 25 07:39 README.md 07:40:46 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:39 VERSION 07:40:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:39 bin 07:40:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 cmd 07:40:46 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 07:40 coverage.out 07:40:46 -rw-rw-r-- 1 jenkins jenkins 3696 Aug 25 07:39 go.mod 07:40:46 -rw-rw-r-- 1 jenkins jenkins 34022 Aug 25 07:39 go.sum 07:40:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:39 internal 07:40:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:39 snap 07:40:46 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 07:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:40:46 + 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=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb --label arch=amd64 --label version=0.0.0 . 07:40:46 Sending build context to Docker daemon 16.06MB 07:40:46 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:40:46 Step 2/25 : FROM ${BASE} AS builder 07:40:46 ---> 77ab807a523d 07:40:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:40:47 ---> Running in bee0430c7e11 07:40:47 Removing intermediate container bee0430c7e11 07:40:47 ---> 4a0596f224e4 07:40:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:40:47 ---> Running in c90543f4ef79 07:40:47 Removing intermediate container c90543f4ef79 07:40:47 ---> 4ede748582e7 07:40:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:40:47 ---> Running in ab5cf971a079 07:40:47 Removing intermediate container ab5cf971a079 07:40:47 ---> d60d6327066f 07:40:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:40:47 ---> Running in bfa63f4d2325 07:40:47 Removing intermediate container bfa63f4d2325 07:40:47 ---> f91b6b072e29 07:40:47 Step 7/25 : WORKDIR /device-gpio 07:40:47 ---> Running in 20a9eaef3579 07:40:47 Removing intermediate container 20a9eaef3579 07:40:47 ---> 0f8ddba52247 07:40:47 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:40:47 ---> Running in 16e78400f61b 07:40:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:40:48 OK: 269 MiB in 57 packages 07:40:48 Removing intermediate container 16e78400f61b 07:40:48 ---> 0667456e5d9d 07:40:48 Step 9/25 : COPY go.mod vendor* ./ 07:40:48 ---> ed43be101b94 07:40:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:40:48 ---> Running in 143861c2e315 07:40:49 Removing intermediate container 143861c2e315 07:40:49 ---> 008c8d4fd1e2 07:40:49 Step 11/25 : COPY . . 07:40:49 ---> f9bd83b682a8 07:40:49 Step 12/25 : RUN ${MAKE} 07:40:49 ---> Running in 2e1d5d6fd2b2 07:40:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 07:41:12 Removing intermediate container 2e1d5d6fd2b2 07:41:12 ---> f99ac3f6f31b 07:41:12 Step 13/25 : FROM alpine:3.17 07:41:12 3.17: Pulling from library/alpine 07:41:12 9398808236ff: Pulling fs layer 07:41:12 9398808236ff: Verifying Checksum 07:41:12 9398808236ff: Download complete 07:41:12 9398808236ff: Pull complete 07:41:12 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:41:12 Status: Downloaded newer image for alpine:3.17 07:41:12 ---> 1e0b8b5322fc 07:41:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:41:12 ---> Running in 0505826e5f36 07:41:12 Removing intermediate container 0505826e5f36 07:41:12 ---> 184501b2fe78 07:41:12 Step 15/25 : RUN apk add --update --no-cache 07:41:12 ---> Running in 34bd342670e4 07:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:41:12 OK: 7 MiB in 15 packages 07:41:13 Removing intermediate container 34bd342670e4 07:41:13 ---> 2eecc0230c15 07:41:13 Step 16/25 : WORKDIR / 07:41:13 ---> Running in c06c230d2998 07:41:13 Removing intermediate container c06c230d2998 07:41:13 ---> ef79bbb659c5 07:41:13 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:41:13 ---> 68f2212628dc 07:41:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:41:13 ---> 430b15faf403 07:41:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:41:14 ---> 94df79f17d42 07:41:14 Step 20/25 : EXPOSE 59910 07:41:14 ---> Running in d62ea2930941 07:41:14 Removing intermediate container d62ea2930941 07:41:14 ---> a05bcc8f6406 07:41:14 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:41:14 ---> Running in f8ec03a25e73 07:41:14 Removing intermediate container f8ec03a25e73 07:41:14 ---> 0b7d14552035 07:41:14 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:41:14 ---> Running in e76ab2013336 07:41:14 Removing intermediate container e76ab2013336 07:41:14 ---> 4791e6dfc56b 07:41:14 Step 23/25 : LABEL arch=amd64 07:41:14 ---> Running in 9546e502a67e 07:41:14 Removing intermediate container 9546e502a67e 07:41:14 ---> 5c7042cf572e 07:41:14 Step 24/25 : LABEL git_sha=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb 07:41:14 ---> Running in 7892904b04c3 07:41:14 Removing intermediate container 7892904b04c3 07:41:14 ---> 2cfc86475139 07:41:14 Step 25/25 : LABEL version=0.0.0 07:41:14 ---> Running in 5a05d55e6af2 07:41:14 Removing intermediate container 5a05d55e6af2 07:41:14 ---> 4a2bb2d9f75a 07:41:14 [Warning] One or more build-args [ARCH] were not consumed 07:41:14 Successfully built 4a2bb2d9f75a 07:41:14 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 07:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:14 07:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:15 latest: Pulling from edgex-lftools-log-publisher 07:41:15 5eb5b503b376: Pulling fs layer 07:41:15 5c69ac0246d0: Pulling fs layer 07:41:15 ec43610c2a17: Pulling fs layer 07:41:15 3a2ae6a8a46f: Pulling fs layer 07:41:15 33b1e0a273af: Pulling fs layer 07:41:15 5d3b04190fa2: Pulling fs layer 07:41:15 2f39f015ded8: Pulling fs layer 07:41:15 2f39f015ded8: Waiting 07:41:15 3a2ae6a8a46f: Waiting 07:41:15 5d3b04190fa2: Waiting 07:41:15 5c69ac0246d0: Verifying Checksum 07:41:15 5c69ac0246d0: Download complete 07:41:15 3a2ae6a8a46f: Download complete 07:41:15 33b1e0a273af: Verifying Checksum 07:41:15 33b1e0a273af: Download complete 07:41:15 5d3b04190fa2: Verifying Checksum 07:41:15 5d3b04190fa2: Download complete 07:41:15 ec43610c2a17: Verifying Checksum 07:41:15 ec43610c2a17: Download complete 07:41:15 5eb5b503b376: Verifying Checksum 07:41:15 5eb5b503b376: Download complete 07:41:16 2f39f015ded8: Download complete 07:41:16 5eb5b503b376: Pull complete 07:41:16 5c69ac0246d0: Pull complete 07:41:17 ec43610c2a17: Pull complete 07:41:17 3a2ae6a8a46f: Pull complete 07:41:17 33b1e0a273af: Pull complete 07:41:17 5d3b04190fa2: Pull complete 07:41:21 2f39f015ded8: Pull complete 07:41:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:41:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:41:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:41:21 prd-ubuntu20.04-docker-8c-8g-4529 does not seem to be running inside a container 07:41:21 $ 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-188 -v /w/workspace/edgexfoundry_device-gpio_PR-188:/w/workspace/edgexfoundry_device-gpio_PR-188:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-188@tmp:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:41:25 $ docker top 3c8eee093f1d7174f88fbe9b121750debe539de1afa960e09c4c6465565c747d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:41:26 ---> job-cost.sh 07:41:26 lf-activate-venv: SKIPPING 07:41:26 INFO: No Stack... 07:41:26 INFO: Retrieving Pricing Info for: v3-standard-8 07:41:26 INFO: Archiving Costs [Pipeline] sh 07:41:26 + cat /w/workspace/edgexfoundry_device-gpio_PR-188/archives/cost.csv 07:41:26 + cut -d, -f6 [Pipeline] lock 07:41:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] 07:41:26 Resource [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] did not exist. Created. 07:41:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:41:27 + echo total: 0.2199999988079071 [Pipeline] stash 07:41:27 Stashed 1 file(s) [Pipeline] } 07:41:27 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:41:27 $ docker stop --time=1 3c8eee093f1d7174f88fbe9b121750debe539de1afa960e09c4c6465565c747d 07:41:28 $ docker rm -f --volumes 3c8eee093f1d7174f88fbe9b121750debe539de1afa960e09c4c6465565c747d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:42:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4532 in /w/workspace/edgexfoundry_device-gpio_PR-188 [Pipeline] { [Pipeline] ws 07:42:44 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 07:42:44 The recommended git tool is: git 07:42:51 using credential edgex-jenkins-ssh 07:42:51 Cloning the remote Git repository 07:42:51 Cloning repository git@github.com:edgexfoundry/device-gpio.git 07:42:51 > git init /w/workspace/device-gpio/2 # timeout=10 07:42:51 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:42:51 > git --version # timeout=10 07:42:51 > git --version # 'git version 2.25.1' 07:42:51 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:42:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:42:55 Merging remotes/origin/main commit ff16a83fb79151c0064e67c7d63c34566d8a7cb4 into PR head commit 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb 07:42:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 07:42:54 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 07:42:54 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/188/head:refs/remotes/origin/PR-188 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:42:55 > git config core.sparsecheckout # timeout=10 07:42:55 > git checkout -f 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb # timeout=10 07:42:55 > git remote # timeout=10 07:42:55 > git config --get remote.origin.url # timeout=10 07:42:55 using GIT_SSH to set credentials SSH Credentials for GitHub 07:42:55 > git merge ff16a83fb79151c0064e67c7d63c34566d8a7cb4 # timeout=10 07:42:55 > git rev-parse HEAD^{commit} # timeout=10 07:42:55 Merge succeeded, producing 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb 07:42:55 Checking out Revision 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb (PR-188) 07:42:55 > git config core.sparsecheckout # timeout=10 07:42:55 > git checkout -f 5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb # timeout=10 07:42:58 Commit message: "build: move SDK to v3.1.0-dev.16" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:42:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:42:59 % Total % Received % Xferd Average Speed Time Time Time Current 07:42:59 Dload Upload Total Spent Left Speed 07:42:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 07:43:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:43:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:43:00 + sudo tee /etc/docker/daemon.new 07:43:00 { 07:43:00 "registry-mirrors": [ 07:43:00 "https://nexus3.edgexfoundry.org:10001" 07:43:00 ], 07:43:00 "bip": "10.250.0.254/24", 07:43:00 "hosts": [ 07:43:00 "tcp://0.0.0.0:5555", 07:43:00 "unix:///var/run/docker.sock" 07:43:00 ], 07:43:00 "mtu": 1458, 07:43:00 "selinux-enabled": true, 07:43:00 "seccomp-profile": "/etc/docker/seccomp.json" 07:43:00 } [Pipeline] sh 07:43:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:43:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:43:19 provisioning config files... 07:43:19 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8596714056655746474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:43:20 ---> docker-login.sh 07:43:20 nexus3.edgexfoundry.org:10001 07:43:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:21 Configure a credential helper to remove this warning. See 07:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:21 07:43:21 Login Succeeded 07:43:21 nexus3.edgexfoundry.org:10002 07:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:21 Configure a credential helper to remove this warning. See 07:43:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:21 07:43:21 Login Succeeded 07:43:21 nexus3.edgexfoundry.org:10003 07:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:22 Configure a credential helper to remove this warning. See 07:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:22 07:43:22 Login Succeeded 07:43:22 nexus3.edgexfoundry.org:10004 07:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:22 Configure a credential helper to remove this warning. See 07:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:22 07:43:22 Login Succeeded 07:43:22 docker.io 07:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:43:22 Configure a credential helper to remove this warning. See 07:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:43:22 07:43:22 Login Succeeded 07:43:22 ---> docker-login.sh ends [Pipeline] } 07:43:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:43:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:43:23 ========================================================= 07:43:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:43:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:43:23 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:43:23 Sending build context to Docker daemon 8.104MB 07:43:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:43:24 Step 2/12 : FROM ${BASE} AS builder 07:43:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:43:24 edb6bdbacee9: Pulling fs layer 07:43:24 5f9638ab2659: Pulling fs layer 07:43:24 8d51d6327a98: Pulling fs layer 07:43:24 8b374f2dd631: Pulling fs layer 07:43:24 ec14aa9079de: Pulling fs layer 07:43:24 2f466654f4bb: Pulling fs layer 07:43:24 554e91adad29: Pulling fs layer 07:43:24 ec14aa9079de: Waiting 07:43:24 8b374f2dd631: Waiting 07:43:24 2f466654f4bb: Waiting 07:43:24 554e91adad29: Waiting 07:43:24 5f9638ab2659: Download complete 07:43:24 8b374f2dd631: Verifying Checksum 07:43:24 8b374f2dd631: Download complete 07:43:24 ec14aa9079de: Verifying Checksum 07:43:24 ec14aa9079de: Download complete 07:43:24 edb6bdbacee9: Verifying Checksum 07:43:24 edb6bdbacee9: Download complete 07:43:25 edb6bdbacee9: Pull complete 07:43:26 554e91adad29: Verifying Checksum 07:43:26 554e91adad29: Download complete 07:43:26 5f9638ab2659: Pull complete 07:43:27 8d51d6327a98: Verifying Checksum 07:43:27 8d51d6327a98: Download complete 07:43:27 2f466654f4bb: Verifying Checksum 07:43:27 2f466654f4bb: Download complete 07:43:39 8d51d6327a98: Pull complete 07:43:39 8b374f2dd631: Pull complete 07:43:39 ec14aa9079de: Pull complete 07:43:46 2f466654f4bb: Pull complete 07:43:49 554e91adad29: Pull complete 07:43:49 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 07:43:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:43:49 ---> 1e15ea492957 07:43:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:43:51 ---> Running in b4d59c3b563c 07:43:51 Removing intermediate container b4d59c3b563c 07:43:51 ---> d08106553227 07:43:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:43:51 ---> Running in 81b4ca1db2fd 07:43:52 Removing intermediate container 81b4ca1db2fd 07:43:52 ---> dedf071a3c61 07:43:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:43:52 ---> Running in e3b7e3c8d9ce 07:43:52 Removing intermediate container e3b7e3c8d9ce 07:43:52 ---> 9cd90079b950 07:43:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:43:52 ---> Running in 0efb4935b1db 07:43:52 Removing intermediate container 0efb4935b1db 07:43:52 ---> eaac78370389 07:43:52 Step 7/12 : WORKDIR /device-gpio 07:43:53 ---> Running in 06447f8dd7a4 07:43:53 Removing intermediate container 06447f8dd7a4 07:43:53 ---> 1664e457d87e 07:43:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:43:53 ---> Running in e9954b88bc64 07:43:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:43:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:43:56 (1/4) Installing openssh-keygen (9.1_p1-r4) 07:43:56 (2/4) Installing libedit (20221030.3.1-r0) 07:43:56 (3/4) Installing openssh-client-common (9.1_p1-r4) 07:43:56 (4/4) Installing openssh-client-default (9.1_p1-r4) 07:43:56 Executing busybox-1.35.0-r29.trigger 07:43:56 OK: 268 MiB in 57 packages 07:43:57 Removing intermediate container e9954b88bc64 07:43:57 ---> 926236193cd7 07:43:57 Step 9/12 : COPY go.mod vendor* ./ 07:43:58 ---> f13488478d09 07:43:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:43:58 ---> Running in 46dd63122048 07:45:20 Removing intermediate container 46dd63122048 07:45:20 ---> f25156b8c00c 07:45:20 Step 11/12 : COPY . . 07:45:20 ---> 43bd50076220 07:45:20 Step 12/12 : RUN ${MAKE} 07:45:20 ---> Running in ef5ab8f398dc 07:45:20 noop 07:45:20 Removing intermediate container ef5ab8f398dc 07:45:20 ---> 7ca4e8840207 07:45:20 Successfully built 7ca4e8840207 07:45:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:20 + docker inspect -f . ci-base-image-arm64 07:45:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:20 prd-ubuntu20.04-docker-arm64-4c-16g-4532 does not seem to be running inside a container 07:45:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:45:22 $ docker top f4acc8fc204e4628801c9885de2cee09558059a6c073a1b07cd01f7a25570817 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:23 + go version 07:45:23 go version go1.20.6 linux/arm64 [Pipeline] } 07:45:23 $ docker stop --time=1 f4acc8fc204e4628801c9885de2cee09558059a6c073a1b07cd01f7a25570817 07:45:26 $ docker rm -f --volumes f4acc8fc204e4628801c9885de2cee09558059a6c073a1b07cd01f7a25570817 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:45:26 + docker inspect -f . ci-base-image-arm64 07:45:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:45:27 prd-ubuntu20.04-docker-arm64-4c-16g-4532 does not seem to be running inside a container 07:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:45:28 $ docker top 8d5b6a8758a0beae6bef9f83a13c3a1df5d64e3426e4ec7bb8279ae728e97087 -eo pid,comm [Pipeline] { [Pipeline] sh 07:45:29 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 07:45:30 + make test 07:45:30 go test ./... -coverprofile=coverage.out ./... 07:46:08 ? github.com/edgexfoundry/device-gpio [no test files] 07:48:31 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 07:48:31 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 07:48:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:48:31 go vet ./... 07:48:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:48:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:48:57 ./bin/test-attribution-txt.sh [Pipeline] echo 07:48:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:48:57 $ docker stop --time=1 8d5b6a8758a0beae6bef9f83a13c3a1df5d64e3426e4ec7bb8279ae728e97087 07:48:59 $ docker rm -f --volumes 8d5b6a8758a0beae6bef9f83a13c3a1df5d64e3426e4ec7bb8279ae728e97087 [Pipeline] // withDockerContainer [Pipeline] sh 07:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:49:00 Warning: overwriting stash ‘coverage-report’ 07:49:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:49:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:49:02 + ls -al . 07:49:02 total 164 07:49:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:45 . 07:49:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:42 .. 07:49:02 -rw-rw-r-- 1 jenkins jenkins 120 Aug 25 07:42 .dockerignore 07:49:02 drwxrwxr-x 8 jenkins jenkins 4096 Aug 25 07:42 .git 07:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:42 .github 07:49:02 -rw-rw-r-- 1 jenkins jenkins 343 Aug 25 07:42 .gitignore 07:49:02 -rw-rw-r-- 1 jenkins jenkins 41 Aug 25 07:42 .golangci.yml 07:49:02 -rw-rw-r-- 1 jenkins jenkins 10671 Aug 25 07:42 Attribution.txt 07:49:02 -rw-rw-r-- 1 jenkins jenkins 6184 Aug 25 07:42 CHANGELOG.md 07:49:02 -rw-rw-r-- 1 jenkins jenkins 1542 Aug 25 07:42 Dockerfile 07:49:02 -rw-rw-r-- 1 jenkins jenkins 677 Aug 25 07:42 GOVERNANCE.md 07:49:02 -rw-rw-r-- 1 jenkins jenkins 657 Aug 25 07:42 Jenkinsfile 07:49:02 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 25 07:42 LICENSE 07:49:02 -rw-rw-r-- 1 jenkins jenkins 1923 Aug 25 07:42 Makefile 07:49:02 -rw-rw-r-- 1 jenkins jenkins 617 Aug 25 07:42 OWNERS.md 07:49:02 -rw-rw-r-- 1 jenkins jenkins 12293 Aug 25 07:42 README.md 07:49:02 -rw-rw-r-- 1 jenkins jenkins 5 Aug 25 07:39 VERSION 07:49:02 drwxrwxr-x 2 jenkins jenkins 4096 Aug 25 07:42 bin 07:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:42 cmd 07:49:02 -rw-r--r-- 1 jenkins jenkins 10 Aug 25 07:45 coverage.out 07:49:02 -rw-rw-r-- 1 jenkins jenkins 3696 Aug 25 07:42 go.mod 07:49:02 -rw-rw-r-- 1 jenkins jenkins 34022 Aug 25 07:42 go.sum 07:49:02 drwxrwxr-x 3 jenkins jenkins 4096 Aug 25 07:42 internal 07:49:02 drwxrwxr-x 4 jenkins jenkins 4096 Aug 25 07:42 snap 07:49:02 -rw-rw-r-- 1 jenkins jenkins 209 Aug 25 07:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:49:02 + 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=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb --label arch=arm64 --label version=0.0.0 . 07:49:02 Sending build context to Docker daemon 8.105MB 07:49:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 07:49:02 Step 2/25 : FROM ${BASE} AS builder 07:49:02 ---> 7ca4e8840207 07:49:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 07:49:02 ---> Running in bdb6be3453b3 07:49:03 Removing intermediate container bdb6be3453b3 07:49:03 ---> ed1eb946f483 07:49:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:49:03 ---> Running in 17705aec18db 07:49:03 Removing intermediate container 17705aec18db 07:49:03 ---> 222a1b39f1d7 07:49:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 07:49:03 ---> Running in a95e3b9d52ad 07:49:04 Removing intermediate container a95e3b9d52ad 07:49:04 ---> 9d4418550a27 07:49:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 07:49:04 ---> Running in d0acb1d60da3 07:49:04 Removing intermediate container d0acb1d60da3 07:49:04 ---> 5e454aec3482 07:49:04 Step 7/25 : WORKDIR /device-gpio 07:49:04 ---> Running in 9d58d757d718 07:49:04 Removing intermediate container 9d58d757d718 07:49:04 ---> 88a094e8a1cd 07:49:04 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:49:04 ---> Running in dca0206e3ada 07:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:49:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:49:07 OK: 268 MiB in 57 packages 07:49:08 Removing intermediate container dca0206e3ada 07:49:08 ---> 9974fba9ef94 07:49:08 Step 9/25 : COPY go.mod vendor* ./ 07:49:08 ---> b82f5e92fc94 07:49:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:49:08 ---> Running in f27c9fd4d297 07:49:11 Removing intermediate container f27c9fd4d297 07:49:11 ---> 3cdde7ced0f0 07:49:11 Step 11/25 : COPY . . 07:49:11 ---> 1dbd1d137696 07:49:11 Step 12/25 : RUN ${MAKE} 07:49:11 ---> Running in 560ea73e20c6 07:49:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.16" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 07:51:50 Removing intermediate container 560ea73e20c6 07:51:50 ---> 4da185d5024a 07:51:50 Step 13/25 : FROM alpine:3.17 07:51:50 3.17: Pulling from library/alpine 07:51:50 4060ece20d7a: Pulling fs layer 07:51:50 4060ece20d7a: Verifying Checksum 07:51:50 4060ece20d7a: Download complete 07:51:50 4060ece20d7a: Pull complete 07:51:50 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 07:51:50 Status: Downloaded newer image for alpine:3.17 07:51:50 ---> 8650cd65339b 07:51:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 07:51:50 ---> Running in 37a6337c97f6 07:51:50 Removing intermediate container 37a6337c97f6 07:51:50 ---> 4813998957b7 07:51:50 Step 15/25 : RUN apk add --update --no-cache 07:51:50 ---> Running in 6b611be1f3a5 07:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:51:50 OK: 7 MiB in 15 packages 07:51:50 Removing intermediate container 6b611be1f3a5 07:51:50 ---> d306d3106be4 07:51:50 Step 16/25 : WORKDIR / 07:51:50 ---> Running in d4502268c9d1 07:51:50 Removing intermediate container d4502268c9d1 07:51:50 ---> f4290c2c0028 07:51:50 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 07:51:50 ---> 30df19afa531 07:51:50 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 07:51:50 ---> 10cf53271cfe 07:51:50 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 07:51:52 ---> 26e889a12946 07:51:52 Step 20/25 : EXPOSE 59910 07:51:52 ---> Running in 97f630a31610 07:51:52 Removing intermediate container 97f630a31610 07:51:52 ---> 307e39058137 07:51:52 Step 21/25 : ENTRYPOINT ["/device-gpio"] 07:51:52 ---> Running in f5a7c59c462c 07:51:53 Removing intermediate container f5a7c59c462c 07:51:53 ---> d4e67518092d 07:51:53 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:51:53 ---> Running in bfae4e87a6b5 07:51:53 Removing intermediate container bfae4e87a6b5 07:51:53 ---> 83ad199ceb06 07:51:53 Step 23/25 : LABEL arch=arm64 07:51:53 ---> Running in 43c084b8090f 07:51:53 Removing intermediate container 43c084b8090f 07:51:53 ---> dd26ab969314 07:51:53 Step 24/25 : LABEL git_sha=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb 07:51:53 ---> Running in 47d33c166bca 07:51:54 Removing intermediate container 47d33c166bca 07:51:54 ---> f8a6d77e875b 07:51:54 Step 25/25 : LABEL version=0.0.0 07:51:54 ---> Running in 0925a771669c 07:51:54 Removing intermediate container 0925a771669c 07:51:54 ---> 45e686b6c7f9 07:51:54 [Warning] One or more build-args [ARCH] were not consumed 07:51:54 Successfully built 45e686b6c7f9 07:51:54 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 07:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:55 07:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:51:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:51:55 arm64: Pulling from edgex-lftools-log-publisher 07:51:55 8998bd30e6a1: Pulling fs layer 07:51:55 04944245beec: Pulling fs layer 07:51:55 699f458cf7ca: Pulling fs layer 07:51:55 765212b225bb: Pulling fs layer 07:51:55 f23df028b6ca: Pulling fs layer 07:51:55 d65c8cfc05b1: Pulling fs layer 07:51:55 2437ff75d9bd: Pulling fs layer 07:51:55 f23df028b6ca: Waiting 07:51:55 d65c8cfc05b1: Waiting 07:51:55 2437ff75d9bd: Waiting 07:51:55 765212b225bb: Waiting 07:51:55 04944245beec: Verifying Checksum 07:51:55 04944245beec: Download complete 07:51:55 765212b225bb: Verifying Checksum 07:51:55 765212b225bb: Download complete 07:51:55 f23df028b6ca: Download complete 07:51:55 d65c8cfc05b1: Verifying Checksum 07:51:55 d65c8cfc05b1: Download complete 07:51:56 699f458cf7ca: Verifying Checksum 07:51:56 699f458cf7ca: Download complete 07:51:56 8998bd30e6a1: Verifying Checksum 07:51:56 8998bd30e6a1: Download complete 07:51:58 2437ff75d9bd: Verifying Checksum 07:51:58 2437ff75d9bd: Download complete 07:52:00 8998bd30e6a1: Pull complete 07:52:00 04944245beec: Pull complete 07:52:02 699f458cf7ca: Pull complete 07:52:02 765212b225bb: Pull complete 07:52:03 f23df028b6ca: Pull complete 07:52:03 d65c8cfc05b1: Pull complete 07:52:18 2437ff75d9bd: Pull complete 07:52:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:52:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:52:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:18 prd-ubuntu20.04-docker-arm64-4c-16g-4532 does not seem to be running inside a container 07:52:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:52:21 $ docker top c711aa4cee7fe69a95ad4db26a698139b6760dc71f725d2af1c3c5e8f429b5e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:22 ---> job-cost.sh 07:52:22 lf-activate-venv: SKIPPING 07:52:22 INFO: No Stack... 07:52:23 INFO: Retrieving Pricing Info for: v3-standard-4 07:52:23 INFO: Archiving Costs [Pipeline] sh 07:52:24 + cat /w/workspace/device-gpio/2/archives/cost.csv 07:52:24 + cut -d, -f6 [Pipeline] lock 07:52:24 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] 07:52:24 Resource [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] did not exist. Created. 07:52:24 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:25 /w/workspace/device-gpio/2@tmp/durable-b31587f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:52:25 + echo total: 0.10999999940395355 [Pipeline] stash 07:52:25 Warning: overwriting stash ‘stack-cost’ 07:52:25 Stashed 1 file(s) [Pipeline] } 07:52:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-188-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:25 $ docker stop --time=1 c711aa4cee7fe69a95ad4db26a698139b6760dc71f725d2af1c3c5e8f429b5e3 07:52:27 $ docker rm -f --volumes c711aa4cee7fe69a95ad4db26a698139b6760dc71f725d2af1c3c5e8f429b5e3 [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 07:52:27 provisioning config files... 07:52:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/config5874229572481168872tmp [Pipeline] { [Pipeline] sh 07:52:28 + set +x 07:52:28 + + bash -s -- 07:52:28 curl -s https://codecov.io/bash 07:52:28 07:52:28 _____ _ 07:52:28 / ____| | | 07:52:28 | | ___ __| | ___ ___ _____ __ 07:52:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:52:28 | |___| (_) | (_| | __/ (_| (_) \ V / 07:52:28 \_____\___/ \__,_|\___|\___\___/ \_/ 07:52:28 Bash-1.0.6 07:52:28 07:52:28 07:52:28 ==> git version 2.25.1 found 07:52:28 ==> 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 07:52:28 Release-Date: 2020-01-08 07:52:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:52:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:52:28 ==> Jenkins CI detected. 07:52:28 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-188 07:52:28 project root: . 07:52:28 --> token set from env 07:52:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:52:28 ==> Running gcov in . (disable via -X gcov) 07:52:28 ==> Python coveragepy not found 07:52:28 ==> Searching for coverage reports in: 07:52:28 + . 07:52:28 -> Found 1 reports 07:52:28 ==> Detecting git/mercurial file structure 07:52:28 ==> Reading reports 07:52:28 + ./coverage.out bytes=10 07:52:28 ==> Appending adjustments 07:52:28 https://docs.codecov.io/docs/fixing-reports 07:52:28 + Found adjustments 07:52:28 ==> Gzipping contents 07:52:28 4.0K /tmp/codecov.r5bBci.gz 07:52:28 ==> Uploading reports 07:52:28 url: https://codecov.io 07:52:28 query: branch=PR-188&commit=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-188%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=188&job=&cmd_args= 07:52:28 -> Pinging Codecov 07:52:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-188&commit=5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-188%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=188&job=&cmd_args= 07:52:28 -> Uploading to 07:52:28 https://storage.googleapis.com/codecov/v4/raw/2023-08-25/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb/42bfa1ad-be1f-414e-9a83-10d47f163c84.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230825%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230825T075228Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3eb95d18e4acf2f57e80f12ef619989d3c1c470816d643734c39ffcded7e21d9 07:52:28 % Total % Received % Xferd Average Speed Time Time Time Current 07:52:28 Dload Upload Total Spent Left Speed 07:52:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 4067 --:--:-- --:--:-- --:--:-- 4067 07:52:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/5bfd04dbb1d892ce53d1d77b6e8e18b62b5479bb [Pipeline] } 07:52:28 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 07:52:29 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-188/archives ] 07:52:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-188/archives 07:52:29 total 16 07:52:29 drwxr-xr-x 3 root root 4096 Aug 25 07:41 . 07:52:29 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:41 .. 07:52:29 drwxr-xr-x 2 root root 4096 Aug 25 07:41 cost 07:52:29 -rw-r--r-- 1 root root 83 Aug 25 07:41 cost.csv 07:52:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-188/archives 07:52:29 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-188/archives 07:52:29 total 16 07:52:29 drwxr-xr-x 3 jenkins jenkins 4096 Aug 25 07:41 . 07:52:29 drwxrwxr-x 10 jenkins jenkins 4096 Aug 25 07:41 .. 07:52:29 drwxr-xr-x 2 jenkins jenkins 4096 Aug 25 07:41 cost 07:52:29 -rw-r--r-- 1 jenkins jenkins 83 Aug 25 07:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:52:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:52:31 ---> package-listing.sh 07:52:31 ++ facter osfamily 07:52:31 ++ tr '[:upper:]' '[:lower:]' 07:52:31 + OS_FAMILY=debian 07:52:31 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-188 07:52:31 + START_PACKAGES=/tmp/packages_start.txt 07:52:31 + END_PACKAGES=/tmp/packages_end.txt 07:52:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:52:31 + PACKAGES=/tmp/packages_start.txt 07:52:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-188 ']' 07:52:31 + PACKAGES=/tmp/packages_end.txt 07:52:31 + case "${OS_FAMILY}" in 07:52:31 + dpkg -l 07:52:31 + grep '^ii' 07:52:31 + '[' -f /tmp/packages_start.txt ']' 07:52:31 + '[' -f /tmp/packages_end.txt ']' 07:52:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:52:31 + '[' /w/workspace/edgexfoundry_device-gpio_PR-188 ']' 07:52:31 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-188/archives/ 07:52:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-188/archives/ [Pipeline] echo 07:52:31 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-188/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:52:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:52:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:52:31 prd-ubuntu20.04-docker-8c-8g-4529 does not seem to be running inside a container 07:52:31 $ 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-188/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-188 -v /w/workspace/edgexfoundry_device-gpio_PR-188:/w/workspace/edgexfoundry_device-gpio_PR-188:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-188@tmp:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:52:32 $ docker top c0cd320cc7c4706543799b90ca8a47a1885a371eb2fe62ceb891ef18d42a4814 -eo pid,comm [Pipeline] { [Pipeline] sh 07:52:33 + touch /tmp/pre-build-complete [Pipeline] sh 07:52:35 + mkdir -p /var/log/sysstat [Pipeline] sh 07:52:38 + ls /var/log/sa-host 07:52:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:52:38 provisioning config files... 07:52:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-188@tmp/config8578986471253046545tmp [Pipeline] { [Pipeline] echo 07:52:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:52:45 ---> create-netrc.sh [Pipeline] } 07:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:52:45 ---> python-tools-install.sh [Pipeline] echo 07:52:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:52:46 ---> sudo-logs.sh 07:52:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:52:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:52:46 ---> job-cost.sh 07:52:46 lf-activate-venv: SKIPPING 07:52:46 DEBUG: total: 0.2199999988079071 07:52:46 INFO: Retrieving Stack Cost... 07:52:46 INFO: Retrieving Pricing Info for: v3-standard-8 07:52:47 INFO: Archiving Costs [Pipeline] echo 07:52:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:52:47 ---> logs-deploy.sh 07:52:47 lf-activate-venv: SKIPPING 07:52:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-188/2 07:52:47 INFO: archiving workspace using pattern(s): 07:52:48 Archives upload complete. 07:52:48 INFO: archiving logs to Nexus