Pull request #29 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 MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 rather than 10f0327ef8d8e798711ea3bacfc48645c5536e32 Obtained Jenkinsfile from cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 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-ssh10632991596458334115.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh12642554827428288043.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-29/workspace@libs/edgex-global-pipelines/.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-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7468479355388036745.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh7521213286136907962.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-29/workspace@libs/lf-pipelines/.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-29/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10687078526744663880.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-47177 in /w/workspace/edgexfoundry_device-gpio_PR-29 [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-29 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit 10f0327ef8d8e798711ea3bacfc48645c5536e32 Merge succeeded, producing 10f0327ef8d8e798711ea3bacfc48645c5536e32 Checking out Revision 10f0327ef8d8e798711ea3bacfc48645c5536e32 (PR-29) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10f0327ef8d8e798711ea3bacfc48645c5536e32 # 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 cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 10f0327ef8d8e798711ea3bacfc48645c5536e32 # timeout=10 Commit message: "build(deps): Bump go1.16 to 1.17 in /snap/local/hooks" > git rev-list --no-walk 9001f00ff560a99327d95cf303812f00311271eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:25:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:25:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:25:06 ========================================================= 10:25:06 EdgeX Global Pipelines Version Info 10:25:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:25:06 ------------------- 10:25:06 stable info: 10:25:06 ------------------- 10:25:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:25:06 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 10:25:06 Message: update stable to v1.0.227 10:25:07 ------------------- 10:25:07 experimental info: 10:25:07 ------------------- 10:25:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:25:07 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 10:25:07 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-29 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-29 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-29 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10f0327ef8d8e798711ea3bacfc48645c5536e32 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10f0327 [Pipeline] echo 10:25:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:07 provisioning config files... 10:25:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config4456962654398980593tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:08 ---> docker-login.sh 10:25:08 nexus3.edgexfoundry.org:10001 10:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:08 Configure a credential helper to remove this warning. See 10:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:08 10:25:08 Login Succeeded 10:25:08 nexus3.edgexfoundry.org:10002 10:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:08 Configure a credential helper to remove this warning. See 10:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:08 10:25:08 Login Succeeded 10:25:08 nexus3.edgexfoundry.org:10003 10:25:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:08 Configure a credential helper to remove this warning. See 10:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:08 10:25:08 Login Succeeded 10:25:08 nexus3.edgexfoundry.org:10004 10:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:09 Configure a credential helper to remove this warning. See 10:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:09 10:25:09 Login Succeeded 10:25:09 docker.io 10:25:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:09 Configure a credential helper to remove this warning. See 10:25:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:09 10:25:09 Login Succeeded 10:25:09 ---> docker-login.sh ends [Pipeline] } 10:25:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:25:10 + git rev-list -1 --merges 10f0327ef8d8e798711ea3bacfc48645c5536e32~1..10f0327ef8d8e798711ea3bacfc48645c5536e32 [Pipeline] echo 10:25:10 -----------> git rev-list -1 --merges 10f0327ef8d8e798711ea3bacfc48645c5536e32~1..10f0327ef8d8e798711ea3bacfc48645c5536e32 10f0327ef8d8e798711ea3bacfc48645c5536e32 [false] [Pipeline] sh 10:25:10 + git log --format=format:%s -1 10f0327ef8d8e798711ea3bacfc48645c5536e32 [Pipeline] echo 10:25:10 ========================================================= 10:25:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:25:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:10 + git log --format=format:%s -1 10f0327ef8d8e798711ea3bacfc48645c5536e32 [Pipeline] echo 10:25:10 [semverPrep] GIT_COMMIT: 10f0327ef8d8e798711ea3bacfc48645c5536e32, Commit Message: build(deps): Bump go1.16 to 1.17 in /snap/local/hooks [Pipeline] echo 10:25:10 [semverPrep] This is not a build commit. [Pipeline] sh 10:25:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:25:11 + grep -v github /etc/ssh/ssh_known_hosts 10:25:11 + [ -e /tmp/ssh_known_hosts ] 10:25:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:25:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:25:11 + sudo tee -a /etc/ssh/ssh_known_hosts 10:25:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:25:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:25:11 10:25:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:25:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:25:11 latest: Pulling from edgex-devops/py-git-semver 10:25:11 1fe172e4850f: Pulling fs layer 10:25:11 caf521ccaac6: Pulling fs layer 10:25:11 3ead6fa29328: Pulling fs layer 10:25:11 5c2a1cbceb83: Pulling fs layer 10:25:11 a8d5f1318db7: Pulling fs layer 10:25:11 c427282e49a2: Pulling fs layer 10:25:11 1827001aaf11: Pulling fs layer 10:25:11 0714d37db230: Pulling fs layer 10:25:11 ac28cf19c067: Pulling fs layer 10:25:11 ca983d60f3e2: Pulling fs layer 10:25:11 9f894cec8388: Pulling fs layer 10:25:11 1827001aaf11: Waiting 10:25:11 ac28cf19c067: Waiting 10:25:11 ca983d60f3e2: Waiting 10:25:11 9f894cec8388: Waiting 10:25:11 a8d5f1318db7: Waiting 10:25:11 c427282e49a2: Waiting 10:25:11 5c2a1cbceb83: Waiting 10:25:11 0714d37db230: Waiting 10:25:11 caf521ccaac6: Verifying Checksum 10:25:11 5c2a1cbceb83: Download complete 10:25:11 a8d5f1318db7: Verifying Checksum 10:25:11 a8d5f1318db7: Download complete 10:25:12 c427282e49a2: Download complete 10:25:12 3ead6fa29328: Verifying Checksum 10:25:12 3ead6fa29328: Download complete 10:25:12 0714d37db230: Download complete 10:25:12 ac28cf19c067: Verifying Checksum 10:25:12 ac28cf19c067: Download complete 10:25:12 ca983d60f3e2: Verifying Checksum 10:25:12 ca983d60f3e2: Download complete 10:25:12 9f894cec8388: Verifying Checksum 10:25:12 9f894cec8388: Download complete 10:25:12 1fe172e4850f: Verifying Checksum 10:25:12 1fe172e4850f: Download complete 10:25:12 1827001aaf11: Verifying Checksum 10:25:12 1827001aaf11: Download complete 10:25:13 1fe172e4850f: Pull complete 10:25:13 caf521ccaac6: Pull complete 10:25:14 3ead6fa29328: Pull complete 10:25:14 5c2a1cbceb83: Pull complete 10:25:14 a8d5f1318db7: Pull complete 10:25:14 c427282e49a2: Pull complete 10:25:17 1827001aaf11: Pull complete 10:25:17 0714d37db230: Pull complete 10:25:17 ac28cf19c067: Pull complete 10:25:17 ca983d60f3e2: Pull complete 10:25:17 9f894cec8388: Pull complete 10:25:17 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:25:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:25:17 prd-ubuntu20.04-docker-8c-8g-47177 does not seem to be running inside a container 10:25:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:25:18 $ docker top 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:25:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:25:18 [ssh-agent] Looking for ssh-agent implementation... 10:25:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:25:18 $ docker exec 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 ssh-agent 10:25:18 SSH_AUTH_SOCK=/tmp/ssh-chEMNKlg7tUg/agent.33 10:25:18 SSH_AGENT_PID=39 10:25:18 Running ssh-add (command line suppressed) 10:25:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_1177688706734688804.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_1177688706734688804.key) 10:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:25:19 + git tag --points-at HEAD [Pipeline] } 10:25:19 $ docker exec --env ******** --env ******** 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 ssh-agent -k 10:25:19 unset SSH_AUTH_SOCK; 10:25:19 unset SSH_AGENT_PID; 10:25:19 echo Agent pid 39 killed; 10:25:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:25:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:25:19 [ssh-agent] Looking for ssh-agent implementation... 10:25:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:25:19 $ docker exec 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 ssh-agent 10:25:19 SSH_AUTH_SOCK=/tmp/ssh-neT08Mj6peHK/agent.72 10:25:19 SSH_AGENT_PID=78 10:25:19 Running ssh-add (command line suppressed) 10:25:19 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_3753688307982434762.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_3753688307982434762.key) 10:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:25:20 + git semver init 10:25:20 2022-05-10 10:25:20,444 [run_init] DEBUG init version:0.0.0 force:False 10:25:20 2022-05-10 10:25:20,445 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver 10:25:20 2022-05-10 10:25:20,446 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-29/.semver 10:25:20 2022-05-10 10:25:20,446 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-29/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29, universal_newlines=False, shell=None, istream=None) 10:25:21 2022-05-10 10:25:21,397 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.git/info/exclude 10:25:21 2022-05-10 10:25:21,397 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 with force:False 10:25:21 2022-05-10 10:25:21,398 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 10:25:21 2022-05-10 10:25:21,402 [execute] INFO git cat-file --batch-check 10:25:21 2022-05-10 10:25:21,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 10:25:21 2022-05-10 10:25:21,408 [execute] INFO git cat-file --batch 10:25:21 2022-05-10 10:25:21,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 10:25:21 2022-05-10 10:25:21,414 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 10:25:21 0.0.0 [Pipeline] } 10:25:21 $ docker exec --env ******** --env ******** 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 ssh-agent -k 10:25:21 unset SSH_AUTH_SOCK; 10:25:21 unset SSH_AGENT_PID; 10:25:21 echo Agent pid 78 killed; 10:25:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:25:21 + git semver [Pipeline] } 10:25:22 $ docker stop --time=1 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 10:25:23 $ docker rm -f 516d7a625f865768a92a5d3f1302cc2363f898015d959a4ec5d8601192303f35 [Pipeline] // withDockerContainer [Pipeline] sh 10:25:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:25:24 Stashed 1 file(s) [Pipeline] echo 10:25:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:24 provisioning config files... 10:25:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config7126541674172118620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47518 in /w/workspace/edgexfoundry_device-gpio_PR-29 [Pipeline] { [Pipeline] ws 10:25:24 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 10:25:24 ---> docker-login.sh 10:25:24 nexus3.edgexfoundry.org:10001 10:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:24 Configure a credential helper to remove this warning. See 10:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:24 10:25:24 Login Succeeded 10:25:24 nexus3.edgexfoundry.org:10002 10:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:24 The recommended git tool is: git 10:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:24 Configure a credential helper to remove this warning. See 10:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:24 10:25:24 Login Succeeded 10:25:24 nexus3.edgexfoundry.org:10003 10:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:24 Configure a credential helper to remove this warning. See 10:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:24 10:25:24 Login Succeeded 10:25:24 nexus3.edgexfoundry.org:10004 10:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:25 Configure a credential helper to remove this warning. See 10:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:25 10:25:25 Login Succeeded 10:25:25 docker.io 10:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:25 Configure a credential helper to remove this warning. See 10:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:25 10:25:25 Login Succeeded 10:25:25 ---> docker-login.sh ends [Pipeline] } 10:25:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:25:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:25:25 ========================================================= 10:25:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:25:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:25:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:25:26 Sending build context to Docker daemon 15.6MB 10:25:26 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:25:26 Step 2/11 : FROM ${BASE} AS builder 10:25:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:25:26 59bf1c3509f3: Pulling fs layer 10:25:26 666ba61612fd: Pulling fs layer 10:25:26 8ed8ca486205: Pulling fs layer 10:25:26 4fe6c5a15a65: Pulling fs layer 10:25:26 22a0e8bec74d: Pulling fs layer 10:25:26 ca2b28591e48: Pulling fs layer 10:25:26 a51346096db8: Pulling fs layer 10:25:26 daebc70d1ce1: Pulling fs layer 10:25:26 0e18a0eac166: Pulling fs layer 10:25:26 a51346096db8: Waiting 10:25:26 daebc70d1ce1: Waiting 10:25:26 0e18a0eac166: Waiting 10:25:26 ca2b28591e48: Waiting 10:25:26 4fe6c5a15a65: Waiting 10:25:26 22a0e8bec74d: Waiting 10:25:26 8ed8ca486205: Download complete 10:25:26 666ba61612fd: Verifying Checksum 10:25:26 666ba61612fd: Download complete 10:25:26 22a0e8bec74d: Verifying Checksum 10:25:26 22a0e8bec74d: Download complete 10:25:26 ca2b28591e48: Download complete 10:25:26 a51346096db8: Download complete 10:25:26 59bf1c3509f3: Verifying Checksum 10:25:26 59bf1c3509f3: Download complete 10:25:26 daebc70d1ce1: Verifying Checksum 10:25:26 daebc70d1ce1: Download complete 10:25:26 59bf1c3509f3: Pull complete 10:25:26 666ba61612fd: Pull complete 10:25:26 8ed8ca486205: Pull complete 10:25:27 0e18a0eac166: Verifying Checksum 10:25:27 4fe6c5a15a65: Verifying Checksum 10:25:27 4fe6c5a15a65: Download complete 10:25:29 using credential edgex-jenkins-ssh 10:25:29 Cloning the remote Git repository 10:25:29 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:25:29 > git init /w/workspace/device-gpio/2 # timeout=10 10:25:29 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:25:29 > git --version # timeout=10 10:25:29 > git --version # 'git version 2.25.1' 10:25:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:25:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:25:31 4fe6c5a15a65: Pull complete 10:25:31 22a0e8bec74d: Pull complete 10:25:31 ca2b28591e48: Pull complete 10:25:31 a51346096db8: Pull complete 10:25:31 daebc70d1ce1: Pull complete 10:25:32 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit 10f0327ef8d8e798711ea3bacfc48645c5536e32 10:25:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:25:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:25:31 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:25:31 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:25:31 using GIT_SSH to set credentials SSH Credentials for GitHub 10:25:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:25:32 Merge succeeded, producing 10f0327ef8d8e798711ea3bacfc48645c5536e32 10:25:32 Checking out Revision 10f0327ef8d8e798711ea3bacfc48645c5536e32 (PR-29) 10:25:32 > git config core.sparsecheckout # timeout=10 10:25:32 > git checkout -f 10f0327ef8d8e798711ea3bacfc48645c5536e32 # timeout=10 10:25:32 > git remote # timeout=10 10:25:32 > git config --get remote.origin.url # timeout=10 10:25:32 using GIT_SSH to set credentials SSH Credentials for GitHub 10:25:32 > git merge cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 10:25:32 > git rev-parse HEAD^{commit} # timeout=10 10:25:32 > git config core.sparsecheckout # timeout=10 10:25:32 > git checkout -f 10f0327ef8d8e798711ea3bacfc48645c5536e32 # timeout=10 10:25:34 0e18a0eac166: Pull complete 10:25:34 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:25:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:25:34 ---> f018257e8ee9 10:25:34 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:25:34 ---> Running in 0bf88a28112e 10:25:35 Removing intermediate container 0bf88a28112e 10:25:35 ---> 0575b473decc 10:25:35 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:25:35 ---> Running in f665f5be0e06 10:25:35 Removing intermediate container f665f5be0e06 10:25:35 ---> 85a7a474fc3d 10:25:35 Step 5/11 : WORKDIR /device-gpio 10:25:35 ---> Running in 5715a1138f25 10:25:35 Removing intermediate container 5715a1138f25 10:25:35 ---> 14effe2aa1c1 10:25:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:25:35 ---> Running in e9f247c9cf6a 10:25:36 Removing intermediate container e9f247c9cf6a 10:25:36 ---> db797d14f2b1 10:25:36 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:25:36 ---> Running in 346aa99f58ca 10:25:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:25:36 Commit message: "build(deps): Bump go1.16 to 1.17 in /snap/local/hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:25:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:25:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:25:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:25:37 % Total % Received % Xferd Average Speed Time Time Time Current 10:25:37 Dload Upload Total Spent Left Speed 10:25:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85201 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 10:25:37 (2/4) Installing libedit (20210910.3.1-r0) 10:25:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:25:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:25:38 Executing busybox-1.34.1-r3.trigger 10:25:38 OK: 224 MiB in 56 packages 10:25:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:25:38 Removing intermediate container 346aa99f58ca 10:25:38 ---> 20b766573f67 10:25:38 Step 8/11 : COPY go.mod vendor* ./ 10:25:38 + sudo tee /etc/docker/daemon.new 10:25:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:25:38 { 10:25:38 "registry-mirrors": [ 10:25:38 "https://nexus3.edgexfoundry.org:10001" 10:25:38 ], 10:25:38 "bip": "10.250.0.254/24", 10:25:38 "hosts": [ 10:25:38 "tcp://0.0.0.0:5555", 10:25:38 "unix:///var/run/docker.sock" 10:25:38 ], 10:25:38 "mtu": 1458, 10:25:38 "selinux-enabled": true, 10:25:38 "seccomp-profile": "/etc/docker/seccomp.json" 10:25:38 } [Pipeline] sh 10:25:38 ---> a8d52fb2e9c2 10:25:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:25:38 ---> Running in 2496c33b3258 10:25:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:25:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:25:57 provisioning config files... 10:25:57 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config8845014739405181057tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:25:57 ---> docker-login.sh 10:25:57 nexus3.edgexfoundry.org:10001 10:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:58 Configure a credential helper to remove this warning. See 10:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:58 10:25:58 Login Succeeded 10:25:58 nexus3.edgexfoundry.org:10002 10:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:59 Configure a credential helper to remove this warning. See 10:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:59 10:25:59 Login Succeeded 10:25:59 nexus3.edgexfoundry.org:10003 10:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:25:59 Configure a credential helper to remove this warning. See 10:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:25:59 10:25:59 Login Succeeded 10:25:59 nexus3.edgexfoundry.org:10004 10:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:00 Configure a credential helper to remove this warning. See 10:26:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:00 10:26:00 Login Succeeded 10:26:00 docker.io 10:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:01 Configure a credential helper to remove this warning. See 10:26:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:01 10:26:01 Login Succeeded 10:26:01 ---> docker-login.sh ends [Pipeline] } 10:26:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:01 ========================================================= 10:26:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:26:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:26:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:26:02 Sending build context to Docker daemon 7.874MB 10:26:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 10:26:02 Step 2/11 : FROM ${BASE} AS builder 10:26:02 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:26:02 9b3977197b4f: Pulling fs layer 10:26:02 1a89e8eeedd5: Pulling fs layer 10:26:02 94645a83ff95: Pulling fs layer 10:26:02 3f3a8bcf1eab: Pulling fs layer 10:26:02 0c92f367c5e7: Pulling fs layer 10:26:02 3096ccb668a1: Pulling fs layer 10:26:02 e8cf19c19ddd: Pulling fs layer 10:26:02 a4caa8a26152: Pulling fs layer 10:26:02 3096ccb668a1: Waiting 10:26:02 e8cf19c19ddd: Waiting 10:26:02 a4caa8a26152: Waiting 10:26:02 3f3a8bcf1eab: Waiting 10:26:02 0c92f367c5e7: Waiting 10:26:02 94645a83ff95: Download complete 10:26:02 1a89e8eeedd5: Verifying Checksum 10:26:02 1a89e8eeedd5: Download complete 10:26:02 0c92f367c5e7: Verifying Checksum 10:26:02 0c92f367c5e7: Download complete 10:26:02 9b3977197b4f: Verifying Checksum 10:26:02 9b3977197b4f: Download complete 10:26:02 3096ccb668a1: Download complete 10:26:02 e8cf19c19ddd: Download complete 10:26:03 9b3977197b4f: Pull complete 10:26:04 1a89e8eeedd5: Pull complete 10:26:04 94645a83ff95: Pull complete 10:26:04 a4caa8a26152: Verifying Checksum 10:26:04 a4caa8a26152: Download complete 10:26:05 3f3a8bcf1eab: Verifying Checksum 10:26:05 3f3a8bcf1eab: Download complete 10:26:10 Removing intermediate container 2496c33b3258 10:26:10 ---> fc0d041446bd 10:26:10 Step 10/11 : COPY . . 10:26:10 ---> aab00e304a58 10:26:10 Step 11/11 : RUN ${MAKE} 10:26:10 ---> Running in 07a1dbecc914 10:26:10 Removing intermediate container 07a1dbecc914 10:26:10 ---> d845719a033a 10:26:10 [Warning] One or more build-args [MAKE] were not consumed 10:26:10 Successfully built d845719a033a 10:26:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:26:11 + docker inspect -f . ci-base-image-x86_64 10:26:11 . [Pipeline] withDockerContainer 10:26:11 prd-ubuntu20.04-docker-8c-8g-47177 does not seem to be running inside a container 10:26:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 ******** ci-base-image-x86_64 cat 10:26:11 $ docker top 68f3aba2c4a6ba8fe6f2c532cce72ca0f9b5ca03ef9ebc178d9d746466b9be18 -eo pid,comm [Pipeline] { [Pipeline] sh 10:26:11 + go version 10:26:11 go version go1.17.6 linux/amd64 [Pipeline] } 10:26:11 $ docker stop --time=1 68f3aba2c4a6ba8fe6f2c532cce72ca0f9b5ca03ef9ebc178d9d746466b9be18 10:26:13 $ docker rm -f 68f3aba2c4a6ba8fe6f2c532cce72ca0f9b5ca03ef9ebc178d9d746466b9be18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:26:13 + docker inspect -f . ci-base-image-x86_64 10:26:13 . [Pipeline] withDockerContainer 10:26:13 prd-ubuntu20.04-docker-8c-8g-47177 does not seem to be running inside a container 10:26:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 ******** ci-base-image-x86_64 cat 10:26:14 $ docker top b4ebc8e8004efe3fbe01509959f221cde6760bc0d7d8e25bd0fd62cc96f514b8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:26:14 + make test 10:26:14 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:26:14 ? github.com/edgexfoundry/device-gpio [no test files] 10:26:17 3f3a8bcf1eab: Pull complete 10:26:17 0c92f367c5e7: Pull complete 10:26:17 3096ccb668a1: Pull complete 10:26:17 e8cf19c19ddd: Pull complete 10:26:21 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:26:21 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:26:24 a4caa8a26152: Pull complete 10:26:24 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:26:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:26:24 ---> 725f1c02e7f9 10:26:24 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:26:24 ---> Running in b132ad8ef789 10:26:24 Removing intermediate container b132ad8ef789 10:26:24 ---> 0dd7aa888de3 10:26:24 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 10:26:24 ---> Running in f4c4190dc1b0 10:26:25 Removing intermediate container f4c4190dc1b0 10:26:25 ---> 208a2b6ba999 10:26:25 Step 5/11 : WORKDIR /device-gpio 10:26:25 ---> Running in 8d3e8dd565a9 10:26:25 Removing intermediate container 8d3e8dd565a9 10:26:25 ---> 9af1d324aa0e 10:26:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:25 ---> Running in 4821fda71a14 10:26:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:26:27 Removing intermediate container 4821fda71a14 10:26:27 ---> b1e72547438a 10:26:27 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:27 ---> Running in 247e5f2a513b 10:26:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:26:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:26:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:26:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:26:30 ./bin/test-attribution-txt.sh [Pipeline] echo 10:26:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:26:30 $ docker stop --time=1 b4ebc8e8004efe3fbe01509959f221cde6760bc0d7d8e25bd0fd62cc96f514b8 10:26:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:26:30 (2/4) Installing libedit (20210910.3.1-r0) 10:26:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:26:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:26:30 Executing busybox-1.34.1-r3.trigger 10:26:30 OK: 224 MiB in 56 packages 10:26:31 Removing intermediate container 247e5f2a513b 10:26:31 ---> ce43ab933ef8 10:26:31 Step 8/11 : COPY go.mod vendor* ./ 10:26:31 $ docker rm -f b4ebc8e8004efe3fbe01509959f221cde6760bc0d7d8e25bd0fd62cc96f514b8 [Pipeline] // withDockerContainer [Pipeline] sh 10:26:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:26:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 10:26:32 ---> 9b5fa188d427 10:26:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:32 ---> Running in d790faa4368e [Pipeline] sh 10:26:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:26:33 + ls -al . 10:26:33 total 192 10:26:33 drwxrwxr-x 9 jenkins jenkins 4096 May 10 10:26 . 10:26:33 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:25 .. 10:26:33 -rw-rw-r-- 1 jenkins jenkins 120 May 10 10:25 .dockerignore 10:26:33 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:25 .git 10:26:33 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 .github 10:26:33 -rw-rw-r-- 1 jenkins jenkins 343 May 10 10:25 .gitignore 10:26:33 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:25 .golangci.yml 10:26:33 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:25 .semver 10:26:33 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 10:25 Attribution.txt 10:26:33 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 10:25 CHANGELOG.md 10:26:33 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 10:25 Dockerfile 10:26:33 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:25 GOVERNANCE.md 10:26:33 -rw-rw-r-- 1 jenkins jenkins 657 May 10 10:25 Jenkinsfile 10:26:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:25 LICENSE 10:26:33 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 10:25 Makefile 10:26:33 -rw-rw-r-- 1 jenkins jenkins 617 May 10 10:25 OWNERS.md 10:26:33 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 10:25 README.md 10:26:33 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:25 VERSION 10:26:33 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:25 bin 10:26:33 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 cmd 10:26:33 -rw-r--r-- 1 jenkins jenkins 10 May 10 10:26 coverage.out 10:26:33 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 10:25 go.mod 10:26:33 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 10:25 go.sum 10:26:33 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 internal 10:26:33 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 snap 10:26:33 -rw-rw-r-- 1 jenkins jenkins 209 May 10 10:25 version.go [Pipeline] isUnix [Pipeline] sh 10:26:33 + 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=10f0327ef8d8e798711ea3bacfc48645c5536e32 --label arch=amd64 --label version=0.0.0 . 10:26:33 Sending build context to Docker daemon 15.6MB 10:26:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:26:33 Step 2/25 : FROM ${BASE} AS builder 10:26:33 ---> d845719a033a 10:26:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:26:34 ---> Running in 4521418a8b66 10:26:34 Removing intermediate container 4521418a8b66 10:26:34 ---> da372ff25666 10:26:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:26:34 ---> Running in 8650125dc3ed 10:26:34 Removing intermediate container 8650125dc3ed 10:26:34 ---> 089c2cdab9ef 10:26:34 Step 5/25 : WORKDIR /device-gpio 10:26:34 ---> Running in 02fd12618fba 10:26:34 Removing intermediate container 02fd12618fba 10:26:34 ---> fcfeda999b57 10:26:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:34 ---> Running in f53976ee256a 10:26:34 Removing intermediate container f53976ee256a 10:26:34 ---> 3c301391aac9 10:26:34 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:26:34 ---> Running in 3c0bd17b1a1b 10:26:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:26:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:26:36 OK: 224 MiB in 56 packages 10:26:36 Removing intermediate container 3c0bd17b1a1b 10:26:36 ---> feb8ccdc15cd 10:26:36 Step 8/25 : COPY go.mod vendor* ./ 10:26:36 ---> 3700b679d955 10:26:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:26:36 ---> Running in 1f97c0d5e4e5 10:26:37 Removing intermediate container 1f97c0d5e4e5 10:26:37 ---> f93dd34cfc14 10:26:37 Step 10/25 : COPY . . 10:26:38 ---> 5332bb532e88 10:26:38 Step 11/25 : RUN ${MAKE} 10:26:38 ---> Running in 9cd90f068c32 10:26:38 Removing intermediate container 9cd90f068c32 10:26:38 ---> 0f17f7147281 10:26:38 Step 12/25 : FROM alpine:3.15 10:26:39 3.15: Pulling from library/alpine 10:26:39 df9b9388f04a: Pulling fs layer 10:26:39 df9b9388f04a: Verifying Checksum 10:26:39 df9b9388f04a: Pull complete 10:26:39 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:26:39 Status: Downloaded newer image for alpine:3.15 10:26:39 ---> 0ac33e5f5afa 10:26:39 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:26:40 ---> Running in 1b9df78add08 10:26:40 Removing intermediate container 1b9df78add08 10:26:40 ---> ef594fcc0061 10:26:40 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:26:40 ---> Running in a5768a3c0e83 10:26:40 Removing intermediate container a5768a3c0e83 10:26:40 ---> 3ff3bc653ff5 10:26:40 Step 15/25 : RUN apk add --update --no-cache zeromq 10:26:40 ---> Running in 433c3a93ddff 10:26:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:26:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:26:42 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:26:42 (2/5) Installing libsodium (1.0.18-r0) 10:26:42 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:26:42 (4/5) Installing libzmq (4.3.4-r0) 10:26:42 (5/5) Installing zeromq (4.3.4-r0) 10:26:42 Executing busybox-1.34.1-r5.trigger 10:26:42 OK: 8 MiB in 19 packages 10:26:42 Removing intermediate container 433c3a93ddff 10:26:42 ---> e13f77c6cf52 10:26:42 Step 16/25 : WORKDIR / 10:26:43 ---> Running in af1a4edb7d37 10:26:43 Removing intermediate container af1a4edb7d37 10:26:43 ---> d80e6034ee35 10:26:43 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:26:43 ---> 65e5ae6d1c76 10:26:43 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:26:43 ---> 9d93d2165ba9 10:26:43 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:26:43 ---> 018c36d89d4f 10:26:43 Step 20/25 : EXPOSE 59910 10:26:43 ---> Running in 0813dbd15830 10:26:43 Removing intermediate container 0813dbd15830 10:26:43 ---> 2eca94e2a005 10:26:43 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:26:43 ---> Running in 2296462f758b 10:26:43 Removing intermediate container 2296462f758b 10:26:43 ---> bd8432d25283 10:26:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:26:43 ---> Running in 7acc72ea082c 10:26:43 Removing intermediate container 7acc72ea082c 10:26:43 ---> 66e8821fc7bc 10:26:43 Step 23/25 : LABEL arch=amd64 10:26:43 ---> Running in c04939ee077a 10:26:44 Removing intermediate container c04939ee077a 10:26:44 ---> 0c5f27179cea 10:26:44 Step 24/25 : LABEL git_sha=10f0327ef8d8e798711ea3bacfc48645c5536e32 10:26:44 ---> Running in f17f571a33e6 10:26:44 Removing intermediate container f17f571a33e6 10:26:44 ---> 8729cd927599 10:26:44 Step 25/25 : LABEL version=0.0.0 10:26:44 ---> Running in 6de18c8c2786 10:26:44 Removing intermediate container 6de18c8c2786 10:26:44 ---> 53b6c5166447 10:26:44 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:26:44 Successfully built 53b6c5166447 10:26:44 Successfully tagged device-gpio:latest [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] sh 10:26:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:44 10:26:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:26:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:45 latest: Pulling from edgex-lftools-log-publisher 10:26:45 5eb5b503b376: Pulling fs layer 10:26:45 5c69ac0246d0: Pulling fs layer 10:26:45 ec43610c2a17: Pulling fs layer 10:26:45 3a2ae6a8a46f: Pulling fs layer 10:26:45 33b1e0a273af: Pulling fs layer 10:26:45 5d3b04190fa2: Pulling fs layer 10:26:45 3a2ae6a8a46f: Waiting 10:26:45 2f39f015ded8: Pulling fs layer 10:26:45 5d3b04190fa2: Waiting 10:26:45 33b1e0a273af: Waiting 10:26:45 2f39f015ded8: Waiting 10:26:45 5c69ac0246d0: Verifying Checksum 10:26:45 5c69ac0246d0: Download complete 10:26:45 3a2ae6a8a46f: Verifying Checksum 10:26:45 3a2ae6a8a46f: Download complete 10:26:45 33b1e0a273af: Verifying Checksum 10:26:45 33b1e0a273af: Download complete 10:26:45 5d3b04190fa2: Verifying Checksum 10:26:45 5d3b04190fa2: Download complete 10:26:45 ec43610c2a17: Verifying Checksum 10:26:45 ec43610c2a17: Download complete 10:26:45 5eb5b503b376: Download complete 10:26:45 2f39f015ded8: Download complete 10:26:46 5eb5b503b376: Pull complete 10:26:46 5c69ac0246d0: Pull complete 10:26:47 ec43610c2a17: Pull complete 10:26:47 3a2ae6a8a46f: Pull complete 10:26:47 33b1e0a273af: Pull complete 10:26:47 5d3b04190fa2: Pull complete 10:26:53 2f39f015ded8: Pull complete 10:26:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:26:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:26:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:26:53 prd-ubuntu20.04-docker-8c-8g-47177 does not seem to be running inside a container 10:26:53 $ 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-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@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 10:26:54 $ docker top 2978f927d6aa2ebfb02125975c458ed5af26aab4e0c70ee4cb290cef166aebaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:55 ---> job-cost.sh 10:26:55 lf-activate-venv: SKIPPING 10:26:55 INFO: No Stack... 10:26:56 INFO: Retrieving Pricing Info for: v3-standard-8 10:26:56 INFO: Archiving Costs [Pipeline] sh 10:26:56 + cat /w/workspace/edgexfoundry_device-gpio_PR-29/archives/cost.csv 10:26:56 + cut -d, -f6 [Pipeline] lock 10:26:56 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] 10:26:56 Resource [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] did not exist. Created. 10:26:56 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:26:57 + echo total: 0.2199999988079071 [Pipeline] stash 10:26:57 Stashed 1 file(s) [Pipeline] } 10:26:57 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:26:57 $ docker stop --time=1 2978f927d6aa2ebfb02125975c458ed5af26aab4e0c70ee4cb290cef166aebaf 10:26:58 $ docker rm -f 2978f927d6aa2ebfb02125975c458ed5af26aab4e0c70ee4cb290cef166aebaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:27:54 Removing intermediate container d790faa4368e 10:27:54 ---> bcb19f5d470a 10:27:54 Step 10/11 : COPY . . 10:27:54 ---> fff1b0d9b8d9 10:27:54 Step 11/11 : RUN ${MAKE} 10:27:54 ---> Running in b852443ea16b 10:27:54 Removing intermediate container b852443ea16b 10:27:54 ---> c696f02f3731 10:27:54 [Warning] One or more build-args [MAKE] were not consumed 10:27:54 Successfully built c696f02f3731 10:27:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:27:54 + docker inspect -f . ci-base-image-arm64 10:27:54 . [Pipeline] withDockerContainer 10:27:54 prd-ubuntu20.04-docker-arm64-4c-16g-47518 does not seem to be running inside a container 10:27:54 $ 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 ******** ci-base-image-arm64 cat 10:27:56 $ docker top 4eddaf232b9174ecb08195ba72d457c5bb9eef3b0fb885c48e1c9af568a5d20d -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:57 + go version 10:27:57 go version go1.17.6 linux/arm64 [Pipeline] } 10:27:57 $ docker stop --time=1 4eddaf232b9174ecb08195ba72d457c5bb9eef3b0fb885c48e1c9af568a5d20d 10:27:58 $ docker rm -f 4eddaf232b9174ecb08195ba72d457c5bb9eef3b0fb885c48e1c9af568a5d20d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:59 + docker inspect -f . ci-base-image-arm64 10:27:59 . [Pipeline] withDockerContainer 10:27:59 prd-ubuntu20.04-docker-arm64-4c-16g-47518 does not seem to be running inside a container 10:27:59 $ 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 ******** ci-base-image-arm64 cat 10:28:00 $ docker top a357bab874338f890609631896a16c0303a99f5a0e1b5fcacff4b252eaf1f55b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:28:01 + make test 10:28:01 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:28:03 ? github.com/edgexfoundry/device-gpio [no test files] 10:28:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:28:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:28:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:28:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:29:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:29:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:29:10 ./bin/test-attribution-txt.sh [Pipeline] echo 10:29:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:29:11 $ docker stop --time=1 a357bab874338f890609631896a16c0303a99f5a0e1b5fcacff4b252eaf1f55b 10:29:12 $ docker rm -f a357bab874338f890609631896a16c0303a99f5a0e1b5fcacff4b252eaf1f55b [Pipeline] // withDockerContainer [Pipeline] sh 10:29:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:29:13 Warning: overwriting stash ‘coverage-report’ 10:29:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:29:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:29:14 + ls -al . 10:29:14 total 188 10:29:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:29 . 10:29:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:25 .. 10:29:14 -rw-rw-r-- 1 jenkins jenkins 120 May 10 10:25 .dockerignore 10:29:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:25 .git 10:29:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 .github 10:29:14 -rw-rw-r-- 1 jenkins jenkins 343 May 10 10:25 .gitignore 10:29:14 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:25 .golangci.yml 10:29:14 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 10:25 Attribution.txt 10:29:14 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 10:25 CHANGELOG.md 10:29:14 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 10:25 Dockerfile 10:29:14 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:25 GOVERNANCE.md 10:29:14 -rw-rw-r-- 1 jenkins jenkins 657 May 10 10:25 Jenkinsfile 10:29:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:25 LICENSE 10:29:14 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 10:25 Makefile 10:29:14 -rw-rw-r-- 1 jenkins jenkins 617 May 10 10:25 OWNERS.md 10:29:14 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 10:25 README.md 10:29:14 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:25 VERSION 10:29:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:25 bin 10:29:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 cmd 10:29:14 -rw-r--r-- 1 jenkins jenkins 10 May 10 10:28 coverage.out 10:29:14 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 10:25 go.mod 10:29:14 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 10:25 go.sum 10:29:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 internal 10:29:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:25 snap 10:29:14 -rw-rw-r-- 1 jenkins jenkins 209 May 10 10:25 version.go [Pipeline] isUnix [Pipeline] sh 10:29:15 + 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=10f0327ef8d8e798711ea3bacfc48645c5536e32 --label arch=arm64 --label version=0.0.0 . 10:29:15 Sending build context to Docker daemon 7.875MB 10:29:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:29:15 Step 2/25 : FROM ${BASE} AS builder 10:29:15 ---> c696f02f3731 10:29:15 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:29:15 ---> Running in a45655529003 10:29:16 Removing intermediate container a45655529003 10:29:16 ---> 7c9374107131 10:29:16 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 10:29:16 ---> Running in 6239d5caa65b 10:29:16 Removing intermediate container 6239d5caa65b 10:29:16 ---> 8aaf799d356d 10:29:16 Step 5/25 : WORKDIR /device-gpio 10:29:16 ---> Running in 497213dedc50 10:29:17 Removing intermediate container 497213dedc50 10:29:17 ---> ca6d4bebb8b6 10:29:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:29:17 ---> Running in f17b07dbe59c 10:29:19 Removing intermediate container f17b07dbe59c 10:29:19 ---> 63480191db8c 10:29:19 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:29:19 ---> Running in 5d6299263748 10:29:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:29:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:29:21 OK: 224 MiB in 56 packages 10:29:22 Removing intermediate container 5d6299263748 10:29:22 ---> 3fa9d2bea3f4 10:29:22 Step 8/25 : COPY go.mod vendor* ./ 10:29:22 ---> ac6fe542b043 10:29:22 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:29:23 ---> Running in d29baf13e7d3 10:29:25 Removing intermediate container d29baf13e7d3 10:29:25 ---> d452d59f4c6d 10:29:25 Step 10/25 : COPY . . 10:29:26 ---> 11f35d200ef5 10:29:26 Step 11/25 : RUN ${MAKE} 10:29:26 ---> Running in b5e643a23c9c 10:29:28 Removing intermediate container b5e643a23c9c 10:29:28 ---> 76d92e63b6f1 10:29:28 Step 12/25 : FROM alpine:3.15 10:29:28 3.15: Pulling from library/alpine 10:29:29 9981e73032c8: Pulling fs layer 10:29:29 9981e73032c8: Verifying Checksum 10:29:29 9981e73032c8: Pull complete 10:29:29 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 10:29:29 Status: Downloaded newer image for alpine:3.15 10:29:29 ---> 3fb3c9af89a9 10:29:29 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:29:29 ---> Running in 60518e3e545f 10:29:30 Removing intermediate container 60518e3e545f 10:29:30 ---> d9fbee11c7ff 10:29:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:29:30 ---> Running in 1582b130d534 10:29:32 Removing intermediate container 1582b130d534 10:29:32 ---> 5ef2f101d36b 10:29:32 Step 15/25 : RUN apk add --update --no-cache zeromq 10:29:32 ---> Running in f620dc2ccd94 10:29:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:29:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:29:34 (1/5) Installing libgcc (10.3.1_git20211027-r0) 10:29:34 (2/5) Installing libsodium (1.0.18-r0) 10:29:34 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 10:29:34 (4/5) Installing libzmq (4.3.4-r0) 10:29:35 (5/5) Installing zeromq (4.3.4-r0) 10:29:35 Executing busybox-1.34.1-r5.trigger 10:29:35 OK: 8 MiB in 19 packages 10:29:36 Removing intermediate container f620dc2ccd94 10:29:36 ---> a0eda041fc1b 10:29:36 Step 16/25 : WORKDIR / 10:29:36 ---> Running in 535095f72110 10:29:36 Removing intermediate container 535095f72110 10:29:36 ---> d4fae4207ff2 10:29:36 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 10:29:37 ---> f87252d0a3cb 10:29:37 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 10:29:37 ---> eba0559a6d1e 10:29:37 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 10:29:38 ---> 652b413ebced 10:29:38 Step 20/25 : EXPOSE 59910 10:29:38 ---> Running in 62d8904d8246 10:29:38 Removing intermediate container 62d8904d8246 10:29:38 ---> f6cdb3f5c81a 10:29:38 Step 21/25 : ENTRYPOINT ["/device-gpio"] 10:29:38 ---> Running in d7c9984454f8 10:29:39 Removing intermediate container d7c9984454f8 10:29:39 ---> f53305cd24c4 10:29:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:29:39 ---> Running in 7134521d93ec 10:29:39 Removing intermediate container 7134521d93ec 10:29:39 ---> d4cc0553937e 10:29:39 Step 23/25 : LABEL arch=arm64 10:29:39 ---> Running in fbb91811fd2b 10:29:39 Removing intermediate container fbb91811fd2b 10:29:39 ---> 51ab9d6f9ea5 10:29:39 Step 24/25 : LABEL git_sha=10f0327ef8d8e798711ea3bacfc48645c5536e32 10:29:39 ---> Running in b2ed3bdcb8dd 10:29:40 Removing intermediate container b2ed3bdcb8dd 10:29:40 ---> fed906d355ac 10:29:40 Step 25/25 : LABEL version=0.0.0 10:29:40 ---> Running in 092845f62e5a 10:29:40 Removing intermediate container 092845f62e5a 10:29:40 ---> 5a3bf0595877 10:29:40 [Warning] One or more build-args [ARCH MAKE] were not consumed 10:29:40 Successfully built 5a3bf0595877 10:29:40 Successfully tagged device-gpio-arm64:latest [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] sh 10:29:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:40 10:29:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:29:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:29:41 arm64: Pulling from edgex-lftools-log-publisher 10:29:41 8998bd30e6a1: Pulling fs layer 10:29:41 04944245beec: Pulling fs layer 10:29:41 699f458cf7ca: Pulling fs layer 10:29:41 765212b225bb: Pulling fs layer 10:29:41 f23df028b6ca: Pulling fs layer 10:29:41 d65c8cfc05b1: Pulling fs layer 10:29:41 2437ff75d9bd: Pulling fs layer 10:29:41 765212b225bb: Waiting 10:29:41 f23df028b6ca: Waiting 10:29:41 d65c8cfc05b1: Waiting 10:29:41 2437ff75d9bd: Waiting 10:29:41 04944245beec: Verifying Checksum 10:29:41 04944245beec: Download complete 10:29:41 765212b225bb: Download complete 10:29:41 f23df028b6ca: Verifying Checksum 10:29:41 f23df028b6ca: Download complete 10:29:41 d65c8cfc05b1: Verifying Checksum 10:29:41 d65c8cfc05b1: Download complete 10:29:41 699f458cf7ca: Verifying Checksum 10:29:41 699f458cf7ca: Download complete 10:29:42 8998bd30e6a1: Verifying Checksum 10:29:42 8998bd30e6a1: Download complete 10:29:44 2437ff75d9bd: Verifying Checksum 10:29:44 2437ff75d9bd: Download complete 10:29:46 8998bd30e6a1: Pull complete 10:29:47 04944245beec: Pull complete 10:29:48 699f458cf7ca: Pull complete 10:29:48 765212b225bb: Pull complete 10:29:49 f23df028b6ca: Pull complete 10:29:50 d65c8cfc05b1: Pull complete 10:30:05 2437ff75d9bd: Pull complete 10:30:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:30:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:30:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:30:05 prd-ubuntu20.04-docker-arm64-4c-16g-47518 does not seem to be running inside a container 10:30:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:30:08 $ docker top ccc6dcd3e7c806b71206c36548b7d2277e54bf8645324e7e71801a8a0f31c854 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:30:09 ---> job-cost.sh 10:30:09 lf-activate-venv: SKIPPING 10:30:09 INFO: No Stack... 10:30:09 INFO: Retrieving Pricing Info for: v3-standard-4 10:30:10 INFO: Archiving Costs [Pipeline] sh 10:30:11 + cut -d, -f6 10:30:11 + cat /w/workspace/device-gpio/2/archives/cost.csv [Pipeline] lock 10:30:11 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] 10:30:11 Resource [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] did not exist. Created. 10:30:11 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:30:12 /w/workspace/device-gpio/2@tmp/durable-5ade1f8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:30:12 + echo total: 0.10999999940395355 [Pipeline] stash 10:30:12 Warning: overwriting stash ‘stack-cost’ 10:30:13 Stashed 1 file(s) [Pipeline] } 10:30:13 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:30:13 $ docker stop --time=1 ccc6dcd3e7c806b71206c36548b7d2277e54bf8645324e7e71801a8a0f31c854 10:30:14 $ docker rm -f ccc6dcd3e7c806b71206c36548b7d2277e54bf8645324e7e71801a8a0f31c854 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:30:15 provisioning config files... 10:30:15 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config938498940579020336tmp [Pipeline] { [Pipeline] sh 10:30:15 + set +x 10:30:15 + curl -s https://codecov.io/bash 10:30:15 + bash -s -- 10:30:15 10:30:15 _____ _ 10:30:15 / ____| | | 10:30:15 | | ___ __| | ___ ___ _____ __ 10:30:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:30:15 | |___| (_) | (_| | __/ (_| (_) \ V / 10:30:15 \_____\___/ \__,_|\___|\___\___/ \_/ 10:30:15 Bash-1.0.6 10:30:15 10:30:15 10:30:15 ==> git version 2.25.1 found 10:30:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:30:15 Release-Date: 2020-01-08 10:30:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:30:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:30:15 ==> Jenkins CI detected. 10:30:15 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-29 10:30:15 project root: . 10:30:15 --> token set from env 10:30:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:30:15 ==> Running gcov in . (disable via -X gcov) 10:30:15 ==> Python coveragepy not found 10:30:15 ==> Searching for coverage reports in: 10:30:15 + . 10:30:15 -> Found 1 reports 10:30:15 ==> Detecting git/mercurial file structure 10:30:15 ==> Reading reports 10:30:15 + ./coverage.out bytes=10 10:30:15 ==> Appending adjustments 10:30:15 https://docs.codecov.io/docs/fixing-reports 10:30:15 + Found adjustments 10:30:15 ==> Gzipping contents 10:30:15 4.0K /tmp/codecov.GZjdod.gz 10:30:15 ==> Uploading reports 10:30:15 url: https://codecov.io 10:30:15 query: branch=PR-29&commit=10f0327ef8d8e798711ea3bacfc48645c5536e32&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 10:30:15 -> Pinging Codecov 10:30:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-29&commit=10f0327ef8d8e798711ea3bacfc48645c5536e32&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 10:30:15 -> Uploading to 10:30:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/10f0327ef8d8e798711ea3bacfc48645c5536e32/36b7034d-cf33-4186-87ce-b67da20e8fea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T103015Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e4c7d0ce4dcc555aa18b4beb3ce4c85d1a3ddcca91c1a571f474d5ba73ffca5d 10:30:15 % Total % Received % Xferd Average Speed Time Time Time Current 10:30:15 Dload Upload Total Spent Left Speed 10:30:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3980 --:--:-- --:--:-- --:--:-- 3980 10:30:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/10f0327ef8d8e798711ea3bacfc48645c5536e32 [Pipeline] } 10:30:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:30:16 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-29/archives ] 10:30:16 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:30:16 total 16 10:30:16 drwxr-xr-x 3 root root 4096 May 10 10:26 . 10:30:16 drwxrwxr-x 10 jenkins jenkins 4096 May 10 10:26 .. 10:30:16 drwxr-xr-x 2 root root 4096 May 10 10:26 cost 10:30:16 -rw-r--r-- 1 root root 82 May 10 10:26 cost.csv 10:30:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:30:16 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 10:30:16 total 16 10:30:16 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:26 . 10:30:16 drwxrwxr-x 10 jenkins jenkins 4096 May 10 10:26 .. 10:30:16 drwxr-xr-x 2 jenkins jenkins 4096 May 10 10:26 cost 10:30:16 -rw-r--r-- 1 jenkins jenkins 82 May 10 10:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:30:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:30:18 ---> package-listing.sh 10:30:18 ++ facter osfamily 10:30:18 ++ tr '[:upper:]' '[:lower:]' 10:30:18 + OS_FAMILY=debian 10:30:18 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-29 10:30:18 + START_PACKAGES=/tmp/packages_start.txt 10:30:18 + END_PACKAGES=/tmp/packages_end.txt 10:30:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:30:18 + PACKAGES=/tmp/packages_start.txt 10:30:18 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 10:30:18 + PACKAGES=/tmp/packages_end.txt 10:30:18 + case "${OS_FAMILY}" in 10:30:18 + dpkg -l 10:30:18 + grep '^ii' 10:30:18 + '[' -f /tmp/packages_start.txt ']' 10:30:18 + '[' -f /tmp/packages_end.txt ']' 10:30:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:30:18 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 10:30:18 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ 10:30:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ [Pipeline] echo 10:30:18 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-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:30:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:30:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:30:19 . [Pipeline] withDockerContainer 10:30:19 prd-ubuntu20.04-docker-8c-8g-47177 does not seem to be running inside a container 10:30:19 $ 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-29/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-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:30:19 $ docker top add135651da03d2de26ebed42b1b79787a467bfdba6273df0530d1ed7a9e2da2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:30:19 + touch /tmp/pre-build-complete [Pipeline] sh 10:30:20 + mkdir -p /var/log/sysstat [Pipeline] sh 10:30:20 + ls /var/log/sa-host 10:30:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:30:20 provisioning config files... 10:30:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config5653358028969281579tmp [Pipeline] { [Pipeline] echo 10:30:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:30:21 ---> create-netrc.sh [Pipeline] } 10:30:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:30:21 ---> python-tools-install.sh [Pipeline] echo 10:30:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:30:21 ---> sudo-logs.sh 10:30:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:30:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:30:22 ---> job-cost.sh 10:30:22 lf-activate-venv: SKIPPING 10:30:22 DEBUG: total: 0.2199999988079071 10:30:22 INFO: Retrieving Stack Cost... 10:30:22 INFO: Retrieving Pricing Info for: v3-standard-8 10:30:22 INFO: Archiving Costs [Pipeline] echo 10:30:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:30:23 ---> logs-deploy.sh 10:30:23 lf-activate-venv: SKIPPING 10:30:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-29/2 10:30:23 INFO: archiving workspace using pattern(s): 10:30:24 Archives upload complete. 10:30:24 INFO: archiving logs to Nexus