Pull request #36 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 farshidtz for edgexfoundry/device-gpio Obtained Jenkinsfile from fa9dcd43b6ceed1f7e2e456345328e5facdd917c+5481a4acbe2c9cded44f119138c580c35965cafd (43d6f394a7a858ebc4662df7302a6e396839b72c) 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-ssh17986361466710113621.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh4487870793151678726.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-36/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-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7822015322807858734.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13117484644755565583.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-36/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-36/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18411555714749180829.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-63417 in /w/workspace/edgexfoundry_device-gpio_PR-36 [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-36 # 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 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit fa9dcd43b6ceed1f7e2e456345328e5facdd917c Merge succeeded, producing fa9dcd43b6ceed1f7e2e456345328e5facdd917c Checking out Revision fa9dcd43b6ceed1f7e2e456345328e5facdd917c (PR-36) > 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/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa9dcd43b6ceed1f7e2e456345328e5facdd917c # 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 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 Commit message: "docs: Move snap env injection to Kamakura" > git rev-list --no-walk cbea0cc5b91bdd2af06f02603e0207ecc70549e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:37:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:37:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:37:21 ========================================================= 15:37:21 EdgeX Global Pipelines Version Info 15:37:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:37:21 ------------------- 15:37:21 stable info: 15:37:21 ------------------- 15:37:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:37:21 Message: update stable to v1.0.230 15:37:22 ------------------- 15:37:22 experimental info: 15:37:22 ------------------- 15:37:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:37:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:37:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:37:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa9dcd43b6ceed1f7e2e456345328e5facdd917c [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa9dcd4 [Pipeline] echo 15:37:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:37:23 provisioning config files... 15:37:23 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config421273082721393371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:23 ---> docker-login.sh 15:37:23 nexus3.edgexfoundry.org:10001 15:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:23 Configure a credential helper to remove this warning. See 15:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:23 15:37:23 Login Succeeded 15:37:23 nexus3.edgexfoundry.org:10002 15:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:24 Configure a credential helper to remove this warning. See 15:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:24 15:37:24 Login Succeeded 15:37:24 nexus3.edgexfoundry.org:10003 15:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:24 Configure a credential helper to remove this warning. See 15:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:24 15:37:24 Login Succeeded 15:37:24 nexus3.edgexfoundry.org:10004 15:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:24 Configure a credential helper to remove this warning. See 15:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:24 15:37:24 Login Succeeded 15:37:24 docker.io 15:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:24 Configure a credential helper to remove this warning. See 15:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:24 15:37:24 Login Succeeded 15:37:24 ---> docker-login.sh ends [Pipeline] } 15:37:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:37:25 + git rev-list -1 --merges fa9dcd43b6ceed1f7e2e456345328e5facdd917c~1..fa9dcd43b6ceed1f7e2e456345328e5facdd917c [Pipeline] echo 15:37:25 -----------> git rev-list -1 --merges fa9dcd43b6ceed1f7e2e456345328e5facdd917c~1..fa9dcd43b6ceed1f7e2e456345328e5facdd917c fa9dcd43b6ceed1f7e2e456345328e5facdd917c [false] [Pipeline] sh 15:37:25 + git log --format=format:%s -1 fa9dcd43b6ceed1f7e2e456345328e5facdd917c [Pipeline] echo 15:37:25 ========================================================= 15:37:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:37:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:25 + git log --format=format:%s -1 fa9dcd43b6ceed1f7e2e456345328e5facdd917c [Pipeline] echo 15:37:25 [semverPrep] GIT_COMMIT: fa9dcd43b6ceed1f7e2e456345328e5facdd917c, Commit Message: docs: Move snap env injection to Kamakura [Pipeline] echo 15:37:25 [semverPrep] This is not a build commit. [Pipeline] sh 15:37:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:37:26 + grep -v github /etc/ssh/ssh_known_hosts 15:37:26 + [ -e /tmp/ssh_known_hosts ] 15:37:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:37:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:37:26 + sudo tee -a /etc/ssh/ssh_known_hosts 15:37:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:37:26 15:37:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:37:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:37:26 latest: Pulling from edgex-devops/py-git-semver 15:37:26 1fe172e4850f: Pulling fs layer 15:37:26 caf521ccaac6: Pulling fs layer 15:37:26 3ead6fa29328: Pulling fs layer 15:37:26 5c2a1cbceb83: Pulling fs layer 15:37:26 a8d5f1318db7: Pulling fs layer 15:37:26 c427282e49a2: Pulling fs layer 15:37:26 1827001aaf11: Pulling fs layer 15:37:26 0714d37db230: Pulling fs layer 15:37:26 ac28cf19c067: Pulling fs layer 15:37:26 ca983d60f3e2: Pulling fs layer 15:37:26 9f894cec8388: Pulling fs layer 15:37:26 ac28cf19c067: Waiting 15:37:26 ca983d60f3e2: Waiting 15:37:26 0714d37db230: Waiting 15:37:26 c427282e49a2: Waiting 15:37:26 9f894cec8388: Waiting 15:37:26 1827001aaf11: Waiting 15:37:26 5c2a1cbceb83: Waiting 15:37:26 a8d5f1318db7: Waiting 15:37:26 caf521ccaac6: Download complete 15:37:26 5c2a1cbceb83: Verifying Checksum 15:37:26 5c2a1cbceb83: Download complete 15:37:26 a8d5f1318db7: Verifying Checksum 15:37:26 a8d5f1318db7: Download complete 15:37:26 c427282e49a2: Verifying Checksum 15:37:26 c427282e49a2: Download complete 15:37:27 3ead6fa29328: Verifying Checksum 15:37:27 3ead6fa29328: Download complete 15:37:27 0714d37db230: Verifying Checksum 15:37:27 0714d37db230: Download complete 15:37:27 ac28cf19c067: Download complete 15:37:27 ca983d60f3e2: Download complete 15:37:27 9f894cec8388: Download complete 15:37:27 1fe172e4850f: Verifying Checksum 15:37:27 1fe172e4850f: Download complete 15:37:27 1827001aaf11: Verifying Checksum 15:37:27 1827001aaf11: Download complete 15:37:28 1fe172e4850f: Pull complete 15:37:28 caf521ccaac6: Pull complete 15:37:29 3ead6fa29328: Pull complete 15:37:29 5c2a1cbceb83: Pull complete 15:37:29 a8d5f1318db7: Pull complete 15:37:29 c427282e49a2: Pull complete 15:37:31 1827001aaf11: Pull complete 15:37:31 0714d37db230: Pull complete 15:37:31 ac28cf19c067: Pull complete 15:37:32 ca983d60f3e2: Pull complete 15:37:32 9f894cec8388: Pull complete 15:37:32 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:37:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:37:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:37:32 prd-ubuntu20.04-docker-8c-8g-63417 does not seem to be running inside a container 15:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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 15:37:33 $ docker top bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 -eo pid,comm 15:37:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:37:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:37:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:33 [ssh-agent] Looking for ssh-agent implementation... 15:37:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:33 $ docker exec bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 ssh-agent 15:37:34 SSH_AUTH_SOCK=/tmp/ssh-NeYPvNezTzge/agent.32 15:37:34 SSH_AGENT_PID=38 15:37:34 Running ssh-add (command line suppressed) 15:37:34 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_536818693119937181.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_536818693119937181.key) 15:37:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:37:34 + git tag --points-at HEAD [Pipeline] } 15:37:34 $ docker exec --env ******** --env ******** bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 ssh-agent -k 15:37:34 unset SSH_AUTH_SOCK; 15:37:34 unset SSH_AGENT_PID; 15:37:34 echo Agent pid 38 killed; 15:37:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:37:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:37:34 [ssh-agent] Looking for ssh-agent implementation... 15:37:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:37:34 $ docker exec bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 ssh-agent 15:37:34 SSH_AUTH_SOCK=/tmp/ssh-EvnBVeMHURZr/agent.71 15:37:34 SSH_AGENT_PID=78 15:37:34 Running ssh-add (command line suppressed) 15:37:35 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_6790716191507675546.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_6790716191507675546.key) 15:37:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:37:35 + git semver init 15:37:35 2022-05-12 15:37:35,615 [run_init] DEBUG init version:0.0.0 force:False 15:37:35 2022-05-12 15:37:35,615 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver 15:37:35 2022-05-12 15:37:35,616 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-36/.semver 15:37:35 2022-05-12 15:37:35,616 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-36/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36, universal_newlines=False, shell=None, istream=None) 15:37:36 2022-05-12 15:37:36,554 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.git/info/exclude 15:37:36 2022-05-12 15:37:36,555 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 with force:False 15:37:36 2022-05-12 15:37:36,555 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 15:37:36 2022-05-12 15:37:36,560 [execute] INFO git cat-file --batch-check 15:37:36 2022-05-12 15:37:36,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 15:37:36 2022-05-12 15:37:36,568 [execute] INFO git cat-file --batch 15:37:36 2022-05-12 15:37:36,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 15:37:36 2022-05-12 15:37:36,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 15:37:36 0.0.0 [Pipeline] } 15:37:36 $ docker exec --env ******** --env ******** bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 ssh-agent -k 15:37:36 unset SSH_AUTH_SOCK; 15:37:36 unset SSH_AGENT_PID; 15:37:36 echo Agent pid 78 killed; 15:37:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:37:37 + git semver [Pipeline] } 15:37:37 $ docker stop --time=1 bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 15:37:39 $ docker rm -f bb286507600de907e1562f2ffc2197d9d880fe7c82e31a4400ce894a2cad9226 [Pipeline] // withDockerContainer [Pipeline] sh 15:37:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:37:39 Stashed 1 file(s) [Pipeline] echo 15:37:39 [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 15:37:39 provisioning config files... 15:37:39 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config5836520356296266253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:37:40 ---> docker-login.sh 15:37:40 nexus3.edgexfoundry.org:10001 15:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:40 Configure a credential helper to remove this warning. See 15:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:40 15:37:40 Login Succeeded 15:37:40 nexus3.edgexfoundry.org:10002 15:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:40 Configure a credential helper to remove this warning. See 15:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:40 15:37:40 Login Succeeded 15:37:40 nexus3.edgexfoundry.org:10003 15:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:40 Configure a credential helper to remove this warning. See 15:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:40 15:37:40 Login Succeeded 15:37:40 nexus3.edgexfoundry.org:10004 15:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:40 Configure a credential helper to remove this warning. See 15:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:40 15:37:40 Login Succeeded 15:37:40 docker.io 15:37:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:37:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:37:40 Configure a credential helper to remove this warning. See 15:37:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:37:40 15:37:40 Login Succeeded 15:37:40 ---> docker-login.sh ends [Pipeline] } 15:37:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:37:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:37:41 ========================================================= 15:37:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:37:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:37:41 + 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 . 15:37:41 Sending build context to Docker daemon 15.66MB 15:37:41 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:37:41 Step 2/11 : FROM ${BASE} AS builder 15:37:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:37:41 59bf1c3509f3: Pulling fs layer 15:37:41 666ba61612fd: Pulling fs layer 15:37:41 8ed8ca486205: Pulling fs layer 15:37:41 4fe6c5a15a65: Pulling fs layer 15:37:41 22a0e8bec74d: Pulling fs layer 15:37:41 ca2b28591e48: Pulling fs layer 15:37:41 a51346096db8: Pulling fs layer 15:37:41 daebc70d1ce1: Pulling fs layer 15:37:41 0e18a0eac166: Pulling fs layer 15:37:41 ca2b28591e48: Waiting 15:37:41 a51346096db8: Waiting 15:37:41 4fe6c5a15a65: Waiting 15:37:41 22a0e8bec74d: Waiting 15:37:41 daebc70d1ce1: Waiting 15:37:41 8ed8ca486205: Verifying Checksum 15:37:41 8ed8ca486205: Download complete 15:37:41 666ba61612fd: Verifying Checksum 15:37:41 666ba61612fd: Download complete 15:37:41 22a0e8bec74d: Download complete 15:37:41 ca2b28591e48: Verifying Checksum 15:37:41 ca2b28591e48: Download complete 15:37:41 59bf1c3509f3: Verifying Checksum 15:37:41 59bf1c3509f3: Download complete 15:37:41 a51346096db8: Verifying Checksum 15:37:41 a51346096db8: Download complete 15:37:41 daebc70d1ce1: Verifying Checksum 15:37:41 daebc70d1ce1: Download complete 15:37:41 59bf1c3509f3: Pull complete 15:37:41 666ba61612fd: Pull complete 15:37:41 8ed8ca486205: Pull complete 15:37:42 4fe6c5a15a65: Download complete 15:37:42 0e18a0eac166: Verifying Checksum 15:37:42 0e18a0eac166: Download complete 15:37:46 4fe6c5a15a65: Pull complete 15:37:46 22a0e8bec74d: Pull complete 15:37:46 ca2b28591e48: Pull complete 15:37:46 a51346096db8: Pull complete 15:37:46 daebc70d1ce1: Pull complete 15:37:49 0e18a0eac166: Pull complete 15:37:49 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:37:49 ---> f018257e8ee9 15:37:49 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:37:51 ---> Running in 5d334e5de91d 15:37:51 Removing intermediate container 5d334e5de91d 15:37:51 ---> 0469c2e84727 15:37:51 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:37:51 ---> Running in fc57b1a1fdfc 15:37:51 Removing intermediate container fc57b1a1fdfc 15:37:51 ---> fd00f7fffcfc 15:37:51 Step 5/11 : WORKDIR /device-gpio 15:37:51 ---> Running in 06f9079a5994 15:37:51 Removing intermediate container 06f9079a5994 15:37:51 ---> daae31481a4c 15:37:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:51 ---> Running in 4307760a0e8d 15:37:52 Removing intermediate container 4307760a0e8d 15:37:52 ---> 508067928a8f 15:37:52 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:52 ---> Running in 6fc6603f285d 15:37:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:37:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:37:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:37:53 (2/4) Installing libedit (20210910.3.1-r0) 15:37:53 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:37:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:37:54 Executing busybox-1.34.1-r3.trigger 15:37:54 OK: 224 MiB in 56 packages 15:37:54 Removing intermediate container 6fc6603f285d 15:37:54 ---> fa2d6cff9e5d 15:37:54 Step 8/11 : COPY go.mod vendor* ./ 15:37:54 ---> f75bf8e53508 15:37:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:54 ---> Running in 1d59e8210f2e 15:37:54 Still waiting to schedule task 15:37:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63411’ is offline 15:38:12 Removing intermediate container 1d59e8210f2e 15:38:12 ---> 32c83c8f7159 15:38:12 Step 10/11 : COPY . . 15:38:12 ---> de2073073ffb 15:38:12 Step 11/11 : RUN ${MAKE} 15:38:12 ---> Running in 3cfa60d69bb7 15:38:13 Removing intermediate container 3cfa60d69bb7 15:38:13 ---> 1ee9046b69c8 15:38:13 [Warning] One or more build-args [MAKE] were not consumed 15:38:13 Successfully built 1ee9046b69c8 15:38:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:38:13 + docker inspect -f . ci-base-image-x86_64 15:38:13 . [Pipeline] withDockerContainer 15:38:13 prd-ubuntu20.04-docker-8c-8g-63417 does not seem to be running inside a container 15:38:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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 15:38:14 $ docker top 9c694d44db48a0754f841833368307f018f2d8f9be9f983cc9a5393c4323e0ec -eo pid,comm [Pipeline] { [Pipeline] sh 15:38:14 + go version 15:38:14 go version go1.17.6 linux/amd64 [Pipeline] } 15:38:14 $ docker stop --time=1 9c694d44db48a0754f841833368307f018f2d8f9be9f983cc9a5393c4323e0ec 15:38:16 $ docker rm -f 9c694d44db48a0754f841833368307f018f2d8f9be9f983cc9a5393c4323e0ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:38:16 + docker inspect -f . ci-base-image-x86_64 15:38:16 . [Pipeline] withDockerContainer 15:38:16 prd-ubuntu20.04-docker-8c-8g-63417 does not seem to be running inside a container 15:38:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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 15:38:17 $ docker top 4176a28f6de5370383e5cb00c47e21586a07d41cec7d0c3a4a0daf43bc788621 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:38:17 + make test 15:38:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:38:17 ? github.com/edgexfoundry/device-gpio [no test files] 15:38:27 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:38:27 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:38:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:38:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:38:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:38:38 ./bin/test-attribution-txt.sh [Pipeline] echo 15:38:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:38:38 $ docker stop --time=1 4176a28f6de5370383e5cb00c47e21586a07d41cec7d0c3a4a0daf43bc788621 15:38:40 $ docker rm -f 4176a28f6de5370383e5cb00c47e21586a07d41cec7d0c3a4a0daf43bc788621 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:38:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:38:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:38:41 + ls -al . 15:38:41 total 172 15:38:41 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:38 . 15:38:41 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:37 .. 15:38:41 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:37 .dockerignore 15:38:41 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:37 .git 15:38:41 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:37 .github 15:38:41 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:37 .gitignore 15:38:41 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:37 .golangci.yml 15:38:41 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:37 .semver 15:38:41 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:37 Attribution.txt 15:38:41 -rw-rw-r-- 1 jenkins jenkins 2846 May 12 15:37 CHANGELOG.md 15:38:41 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:37 Dockerfile 15:38:41 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:37 GOVERNANCE.md 15:38:41 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:37 Jenkinsfile 15:38:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:37 LICENSE 15:38:41 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:37 Makefile 15:38:41 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:37 OWNERS.md 15:38:41 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:37 README.md 15:38:41 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:37 VERSION 15:38:41 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:37 bin 15:38:41 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:37 cmd 15:38:41 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:38 coverage.out 15:38:41 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:37 go.mod 15:38:41 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:37 go.sum 15:38:41 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:37 internal 15:38:41 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:37 snap 15:38:41 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:37 version.go [Pipeline] isUnix [Pipeline] sh 15:38:42 + 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=fa9dcd43b6ceed1f7e2e456345328e5facdd917c --label arch=amd64 --label version=0.0.0 . 15:38:42 Sending build context to Docker daemon 15.67MB 15:38:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:38:42 Step 2/25 : FROM ${BASE} AS builder 15:38:42 ---> 1ee9046b69c8 15:38:42 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:38:42 ---> Running in 772bc7d76e7f 15:38:42 Removing intermediate container 772bc7d76e7f 15:38:42 ---> 02f11fd05fbe 15:38:42 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:38:43 ---> Running in 3b82242eb206 15:38:43 Removing intermediate container 3b82242eb206 15:38:43 ---> 139320fe86d5 15:38:43 Step 5/25 : WORKDIR /device-gpio 15:38:43 ---> Running in b07e7509bf01 15:38:43 Removing intermediate container b07e7509bf01 15:38:43 ---> 969e270917f7 15:38:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:43 ---> Running in bb0fbcdb6883 15:38:44 Removing intermediate container bb0fbcdb6883 15:38:44 ---> 04a2e07107d2 15:38:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:38:44 ---> Running in 3a1a73b8d2fb 15:38:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:46 OK: 224 MiB in 56 packages 15:38:46 Removing intermediate container 3a1a73b8d2fb 15:38:46 ---> ddb49eb8ab8e 15:38:46 Step 8/25 : COPY go.mod vendor* ./ 15:38:46 ---> 46510b2d144d 15:38:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:38:46 ---> Running in 3817c4bedfe3 15:38:47 Removing intermediate container 3817c4bedfe3 15:38:47 ---> fbd301950429 15:38:47 Step 10/25 : COPY . . 15:38:47 ---> 3d769cec46ee 15:38:47 Step 11/25 : RUN ${MAKE} 15:38:47 ---> Running in e68255e8c7f4 15:38:48 Removing intermediate container e68255e8c7f4 15:38:48 ---> 8880f5d02fb3 15:38:48 Step 12/25 : FROM alpine:3.15 15:38:48 3.15: Pulling from library/alpine 15:38:49 df9b9388f04a: Pulling fs layer 15:38:49 df9b9388f04a: Verifying Checksum 15:38:49 df9b9388f04a: Download complete 15:38:49 df9b9388f04a: Pull complete 15:38:49 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:38:49 Status: Downloaded newer image for alpine:3.15 15:38:49 ---> 0ac33e5f5afa 15:38:49 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:38:49 ---> Running in d139a4fd491d 15:38:49 Removing intermediate container d139a4fd491d 15:38:49 ---> 95201bc9f248 15:38:49 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:38:49 ---> Running in 5a2b1ddcc6b6 15:38:50 Removing intermediate container 5a2b1ddcc6b6 15:38:50 ---> 6b4766253de7 15:38:50 Step 15/25 : RUN apk add --update --no-cache zeromq 15:38:50 ---> Running in 1abeab7c8c55 15:38:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:38:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:38:51 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:38:51 (2/5) Installing libsodium (1.0.18-r0) 15:38:51 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:38:51 (4/5) Installing libzmq (4.3.4-r0) 15:38:51 (5/5) Installing zeromq (4.3.4-r0) 15:38:52 Executing busybox-1.34.1-r5.trigger 15:38:52 OK: 8 MiB in 19 packages 15:38:52 Removing intermediate container 1abeab7c8c55 15:38:52 ---> 3681cff9ec39 15:38:52 Step 16/25 : WORKDIR / 15:38:52 ---> Running in 44bacb056bd3 15:38:52 Removing intermediate container 44bacb056bd3 15:38:52 ---> c2aeb6687ab3 15:38:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:38:52 ---> 6a3eb9743b42 15:38:52 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:38:52 ---> 58d9018697cb 15:38:52 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:38:53 ---> 9ffd83654571 15:38:53 Step 20/25 : EXPOSE 59910 15:38:53 ---> Running in 3a2ea43c147f 15:38:53 Removing intermediate container 3a2ea43c147f 15:38:53 ---> 98d0ab54850e 15:38:53 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:38:53 ---> Running in ef2db60fa6a0 15:38:53 Removing intermediate container ef2db60fa6a0 15:38:53 ---> 24610af602bb 15:38:53 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:38:53 ---> Running in da420874d6da 15:38:53 Removing intermediate container da420874d6da 15:38:53 ---> 39f6bb0ca460 15:38:53 Step 23/25 : LABEL arch=amd64 15:38:53 ---> Running in d0b3c19b1f74 15:38:53 Removing intermediate container d0b3c19b1f74 15:38:53 ---> 2becc91c28c7 15:38:53 Step 24/25 : LABEL git_sha=fa9dcd43b6ceed1f7e2e456345328e5facdd917c 15:38:53 ---> Running in 3c58ec0cfd7c 15:38:53 Removing intermediate container 3c58ec0cfd7c 15:38:53 ---> 26e6663d38de 15:38:53 Step 25/25 : LABEL version=0.0.0 15:38:53 ---> Running in 15660148abf7 15:38:53 Removing intermediate container 15660148abf7 15:38:53 ---> 0b323ad499f6 15:38:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:38:53 Successfully built 0b323ad499f6 15:38:53 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 15:38:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:54 15:38:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:38:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:38:54 latest: Pulling from edgex-lftools-log-publisher 15:38:54 5eb5b503b376: Pulling fs layer 15:38:54 5c69ac0246d0: Pulling fs layer 15:38:54 ec43610c2a17: Pulling fs layer 15:38:54 3a2ae6a8a46f: Pulling fs layer 15:38:54 33b1e0a273af: Pulling fs layer 15:38:54 5d3b04190fa2: Pulling fs layer 15:38:54 2f39f015ded8: Pulling fs layer 15:38:54 3a2ae6a8a46f: Waiting 15:38:54 33b1e0a273af: Waiting 15:38:54 5d3b04190fa2: Waiting 15:38:54 2f39f015ded8: Waiting 15:38:54 5c69ac0246d0: Verifying Checksum 15:38:54 5c69ac0246d0: Download complete 15:38:54 3a2ae6a8a46f: Download complete 15:38:54 33b1e0a273af: Verifying Checksum 15:38:54 33b1e0a273af: Download complete 15:38:54 5d3b04190fa2: Verifying Checksum 15:38:54 5d3b04190fa2: Download complete 15:38:54 ec43610c2a17: Verifying Checksum 15:38:54 ec43610c2a17: Download complete 15:38:54 5eb5b503b376: Verifying Checksum 15:38:54 5eb5b503b376: Download complete 15:38:55 2f39f015ded8: Download complete 15:38:56 5eb5b503b376: Pull complete 15:38:56 5c69ac0246d0: Pull complete 15:38:57 ec43610c2a17: Pull complete 15:38:57 3a2ae6a8a46f: Pull complete 15:38:57 33b1e0a273af: Pull complete 15:38:57 5d3b04190fa2: Pull complete 15:39:01 2f39f015ded8: Pull complete 15:39:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:39:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:39:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:39:01 prd-ubuntu20.04-docker-8c-8g-63417 does not seem to be running inside a container 15:39:01 $ 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-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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 15:39:03 $ docker top cee8e1d0893212d1125b6abf43cebeaf2c0db69911ebc9ca5aa410da882b2fe3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:04 ---> job-cost.sh 15:39:04 lf-activate-venv: SKIPPING 15:39:04 INFO: No Stack... 15:39:04 INFO: Retrieving Pricing Info for: v3-standard-8 15:39:04 INFO: Archiving Costs [Pipeline] sh 15:39:05 + cat /w/workspace/edgexfoundry_device-gpio_PR-36/archives/cost.csv 15:39:05 + cut -d, -f6 [Pipeline] lock 15:39:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] 15:39:05 Resource [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] did not exist. Created. 15:39:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:39:05 + echo total: 0.2199999988079071 [Pipeline] stash 15:39:05 Stashed 1 file(s) [Pipeline] } 15:39:05 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:39:05 $ docker stop --time=1 cee8e1d0893212d1125b6abf43cebeaf2c0db69911ebc9ca5aa410da882b2fe3 15:39:06 $ docker rm -f cee8e1d0893212d1125b6abf43cebeaf2c0db69911ebc9ca5aa410da882b2fe3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:39:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63419 in /w/workspace/edgexfoundry_device-gpio_PR-36 [Pipeline] { [Pipeline] ws 15:39:28 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 15:39:29 The recommended git tool is: git 15:39:35 using credential edgex-jenkins-ssh 15:39:35 Cloning the remote Git repository 15:39:35 Cloning repository git@github.com:edgexfoundry/device-gpio.git 15:39:36 > git init /w/workspace/device-gpio/2 # timeout=10 15:39:36 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:39:36 > git --version # timeout=10 15:39:36 > git --version # 'git version 2.25.1' 15:39:36 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:38 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit fa9dcd43b6ceed1f7e2e456345328e5facdd917c 15:39:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:39:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:39:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:39:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:39:37 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:39:38 > git config core.sparsecheckout # timeout=10 15:39:38 > git checkout -f fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 15:39:38 Merge succeeded, producing fa9dcd43b6ceed1f7e2e456345328e5facdd917c 15:39:38 Checking out Revision fa9dcd43b6ceed1f7e2e456345328e5facdd917c (PR-36) 15:39:38 > git remote # timeout=10 15:39:38 > git config --get remote.origin.url # timeout=10 15:39:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:39:38 > git merge 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 15:39:38 > git rev-parse HEAD^{commit} # timeout=10 15:39:38 > git config core.sparsecheckout # timeout=10 15:39:38 > git checkout -f fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 15:39:42 Commit message: "docs: Move snap env injection to Kamakura" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:39:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:39:43 % Total % Received % Xferd Average Speed Time Time Time Current 15:39:43 Dload Upload Total Spent Left Speed 15:39:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99521 0 --:--:-- --:--:-- --:--:-- 99521 [Pipeline] sh 15:39:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:39:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:39:44 + sudo tee /etc/docker/daemon.new 15:39:44 { 15:39:44 "registry-mirrors": [ 15:39:44 "https://nexus3.edgexfoundry.org:10001" 15:39:44 ], 15:39:44 "bip": "10.250.0.254/24", 15:39:44 "hosts": [ 15:39:44 "tcp://0.0.0.0:5555", 15:39:44 "unix:///var/run/docker.sock" 15:39:44 ], 15:39:44 "mtu": 1458, 15:39:44 "selinux-enabled": true, 15:39:44 "seccomp-profile": "/etc/docker/seccomp.json" 15:39:44 } [Pipeline] sh 15:39:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:39:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:03 provisioning config files... 15:40:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config6378374952536300419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:40:04 ---> docker-login.sh 15:40:04 nexus3.edgexfoundry.org:10001 15:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:04 Configure a credential helper to remove this warning. See 15:40:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:04 15:40:04 Login Succeeded 15:40:04 nexus3.edgexfoundry.org:10002 15:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:05 Configure a credential helper to remove this warning. See 15:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:05 15:40:05 Login Succeeded 15:40:05 nexus3.edgexfoundry.org:10003 15:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:05 Configure a credential helper to remove this warning. See 15:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:05 15:40:05 Login Succeeded 15:40:05 nexus3.edgexfoundry.org:10004 15:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:06 Configure a credential helper to remove this warning. See 15:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:06 15:40:06 Login Succeeded 15:40:06 docker.io 15:40:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:40:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:40:06 Configure a credential helper to remove this warning. See 15:40:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:40:06 15:40:06 Login Succeeded 15:40:06 ---> docker-login.sh ends [Pipeline] } 15:40:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:40:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:40:07 ========================================================= 15:40:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:40:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:40:07 + 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 . 15:40:08 Sending build context to Docker daemon 7.909MB 15:40:08 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:40:08 Step 2/11 : FROM ${BASE} AS builder 15:40:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:40:08 9b3977197b4f: Pulling fs layer 15:40:08 1a89e8eeedd5: Pulling fs layer 15:40:08 94645a83ff95: Pulling fs layer 15:40:08 3f3a8bcf1eab: Pulling fs layer 15:40:08 0c92f367c5e7: Pulling fs layer 15:40:08 3096ccb668a1: Pulling fs layer 15:40:08 e8cf19c19ddd: Pulling fs layer 15:40:08 a4caa8a26152: Pulling fs layer 15:40:08 3f3a8bcf1eab: Waiting 15:40:08 0c92f367c5e7: Waiting 15:40:08 3096ccb668a1: Waiting 15:40:08 e8cf19c19ddd: Waiting 15:40:08 a4caa8a26152: Waiting 15:40:08 94645a83ff95: Verifying Checksum 15:40:08 94645a83ff95: Download complete 15:40:08 1a89e8eeedd5: Verifying Checksum 15:40:08 1a89e8eeedd5: Download complete 15:40:08 0c92f367c5e7: Verifying Checksum 15:40:08 0c92f367c5e7: Download complete 15:40:08 3096ccb668a1: Verifying Checksum 15:40:08 3096ccb668a1: Download complete 15:40:08 9b3977197b4f: Download complete 15:40:08 e8cf19c19ddd: Verifying Checksum 15:40:08 e8cf19c19ddd: Download complete 15:40:09 9b3977197b4f: Pull complete 15:40:09 1a89e8eeedd5: Pull complete 15:40:10 94645a83ff95: Pull complete 15:40:10 a4caa8a26152: Verifying Checksum 15:40:10 a4caa8a26152: Download complete 15:40:11 3f3a8bcf1eab: Verifying Checksum 15:40:11 3f3a8bcf1eab: Download complete 15:40:23 3f3a8bcf1eab: Pull complete 15:40:23 0c92f367c5e7: Pull complete 15:40:23 3096ccb668a1: Pull complete 15:40:23 e8cf19c19ddd: Pull complete 15:40:30 a4caa8a26152: Pull complete 15:40:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:40:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:40:30 ---> 725f1c02e7f9 15:40:30 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:40:30 ---> Running in d8a0f05b6d4c 15:40:31 Removing intermediate container d8a0f05b6d4c 15:40:31 ---> a874c62aef21 15:40:31 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:40:31 ---> Running in c292781ffe3b 15:40:31 Removing intermediate container c292781ffe3b 15:40:31 ---> 85eeb0792549 15:40:31 Step 5/11 : WORKDIR /device-gpio 15:40:31 ---> Running in ee29acae98c3 15:40:31 Removing intermediate container ee29acae98c3 15:40:31 ---> ccb534852938 15:40:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:40:31 ---> Running in b4c1cdf83ee2 15:40:33 Removing intermediate container b4c1cdf83ee2 15:40:33 ---> 00467f9e4f7f 15:40:33 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:40:33 ---> Running in 668334e79277 15:40:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:40:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:40:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:40:36 (2/4) Installing libedit (20210910.3.1-r0) 15:40:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:40:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:40:36 Executing busybox-1.34.1-r3.trigger 15:40:37 OK: 224 MiB in 56 packages 15:40:38 Removing intermediate container 668334e79277 15:40:38 ---> 1a918f97e0e1 15:40:38 Step 8/11 : COPY go.mod vendor* ./ 15:40:39 ---> 87e711958d02 15:40:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:40:39 ---> Running in 112b24e6e10e 15:41:35 Removing intermediate container 112b24e6e10e 15:41:35 ---> c49bbab2488b 15:41:35 Step 10/11 : COPY . . 15:41:35 ---> 7d1b07d2a3b6 15:41:35 Step 11/11 : RUN ${MAKE} 15:41:35 ---> Running in f00195090a79 15:41:36 Removing intermediate container f00195090a79 15:41:36 ---> b843f9b0aa7c 15:41:36 [Warning] One or more build-args [MAKE] were not consumed 15:41:36 Successfully built b843f9b0aa7c 15:41:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:41:36 + docker inspect -f . ci-base-image-arm64 15:41:36 . [Pipeline] withDockerContainer 15:41:37 prd-ubuntu20.04-docker-arm64-4c-16g-63419 does not seem to be running inside a container 15:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:41:38 $ docker top 0edbf79cc37df4c6f7c57e7803ccefed55d29e427423ccef556944258d6c2263 -eo pid,comm [Pipeline] { [Pipeline] sh 15:41:39 + go version 15:41:39 go version go1.17.6 linux/arm64 [Pipeline] } 15:41:39 $ docker stop --time=1 0edbf79cc37df4c6f7c57e7803ccefed55d29e427423ccef556944258d6c2263 15:41:41 $ docker rm -f 0edbf79cc37df4c6f7c57e7803ccefed55d29e427423ccef556944258d6c2263 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:41:41 + docker inspect -f . ci-base-image-arm64 15:41:41 . [Pipeline] withDockerContainer 15:41:41 prd-ubuntu20.04-docker-arm64-4c-16g-63419 does not seem to be running inside a container 15:41:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:41:43 $ docker top a99b83df4c39b685cf2669d1792382e455a4874a4319a90e0d756abc2b6190d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:41:44 + make test 15:41:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:41:45 ? github.com/edgexfoundry/device-gpio [no test files] 15:43:07 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:43:07 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:43:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:43:07 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:43:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:43:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:43:26 ./bin/test-attribution-txt.sh [Pipeline] echo 15:43:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:43:29 $ docker stop --time=1 a99b83df4c39b685cf2669d1792382e455a4874a4319a90e0d756abc2b6190d6 15:43:31 $ docker rm -f a99b83df4c39b685cf2669d1792382e455a4874a4319a90e0d756abc2b6190d6 [Pipeline] // withDockerContainer [Pipeline] sh 15:43:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:43:32 Warning: overwriting stash ‘coverage-report’ 15:43:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:43:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:43:33 + ls -al . 15:43:33 total 168 15:43:33 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:43 . 15:43:33 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:39 .. 15:43:33 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:39 .dockerignore 15:43:33 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:39 .git 15:43:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:39 .github 15:43:33 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:39 .gitignore 15:43:33 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:39 .golangci.yml 15:43:33 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:39 Attribution.txt 15:43:33 -rw-rw-r-- 1 jenkins jenkins 2846 May 12 15:39 CHANGELOG.md 15:43:33 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:39 Dockerfile 15:43:33 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:39 GOVERNANCE.md 15:43:33 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:39 Jenkinsfile 15:43:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:39 LICENSE 15:43:33 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:39 Makefile 15:43:33 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:39 OWNERS.md 15:43:33 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:39 README.md 15:43:33 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:37 VERSION 15:43:33 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:39 bin 15:43:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:39 cmd 15:43:33 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:41 coverage.out 15:43:33 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:39 go.mod 15:43:33 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:39 go.sum 15:43:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:39 internal 15:43:33 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:39 snap 15:43:33 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:39 version.go [Pipeline] isUnix [Pipeline] sh 15:43:33 + 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=fa9dcd43b6ceed1f7e2e456345328e5facdd917c --label arch=arm64 --label version=0.0.0 . 15:43:34 Sending build context to Docker daemon 7.91MB 15:43:34 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:43:34 Step 2/25 : FROM ${BASE} AS builder 15:43:34 ---> b843f9b0aa7c 15:43:34 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:43:34 ---> Running in f84cdd2d1dfb 15:43:34 Removing intermediate container f84cdd2d1dfb 15:43:34 ---> 8a58cdb97b70 15:43:34 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:43:34 ---> Running in df50ffbc89f6 15:43:34 Removing intermediate container df50ffbc89f6 15:43:34 ---> 163e384c3c5b 15:43:34 Step 5/25 : WORKDIR /device-gpio 15:43:35 ---> Running in 906ffad4308c 15:43:35 Removing intermediate container 906ffad4308c 15:43:35 ---> f945472e3c8f 15:43:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:35 ---> Running in 7db43e3e1a51 15:43:37 Removing intermediate container 7db43e3e1a51 15:43:37 ---> 7b1d7a5578a4 15:43:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:43:37 ---> Running in 899d1ff6e7f9 15:43:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:43:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:43:40 OK: 224 MiB in 56 packages 15:43:40 Removing intermediate container 899d1ff6e7f9 15:43:40 ---> 70b109c51dd9 15:43:40 Step 8/25 : COPY go.mod vendor* ./ 15:43:41 ---> 439ed0f5f1cf 15:43:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:41 ---> Running in 07f628b97de7 15:43:43 Removing intermediate container 07f628b97de7 15:43:43 ---> e63711614845 15:43:43 Step 10/25 : COPY . . 15:43:44 ---> 2df7f2313160 15:43:44 Step 11/25 : RUN ${MAKE} 15:43:44 ---> Running in 0847b8db4dea 15:43:45 Removing intermediate container 0847b8db4dea 15:43:45 ---> 0cf267e71302 15:43:45 Step 12/25 : FROM alpine:3.15 15:43:46 3.15: Pulling from library/alpine 15:43:46 9981e73032c8: Pulling fs layer 15:43:47 9981e73032c8: Verifying Checksum 15:43:47 9981e73032c8: Download complete 15:43:47 9981e73032c8: Pull complete 15:43:47 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:43:47 Status: Downloaded newer image for alpine:3.15 15:43:47 ---> 3fb3c9af89a9 15:43:47 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:43:47 ---> Running in 259aaa6623c8 15:43:47 Removing intermediate container 259aaa6623c8 15:43:47 ---> 264cef7a2ec2 15:43:47 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:43:47 ---> Running in 8160eb0a9d7d 15:43:49 Removing intermediate container 8160eb0a9d7d 15:43:49 ---> 57ba94e84b7e 15:43:49 Step 15/25 : RUN apk add --update --no-cache zeromq 15:43:49 ---> Running in b27a2dd2dc0e 15:43:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:43:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:43:52 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:43:52 (2/5) Installing libsodium (1.0.18-r0) 15:43:52 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:43:52 (4/5) Installing libzmq (4.3.4-r0) 15:43:52 (5/5) Installing zeromq (4.3.4-r0) 15:43:53 Executing busybox-1.34.1-r5.trigger 15:43:53 OK: 8 MiB in 19 packages 15:43:54 Removing intermediate container b27a2dd2dc0e 15:43:54 ---> 7e59dd368faa 15:43:54 Step 16/25 : WORKDIR / 15:43:54 ---> Running in 8f3fec3d8fdd 15:43:54 Removing intermediate container 8f3fec3d8fdd 15:43:54 ---> d401a7db6a7c 15:43:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:43:54 ---> 93217d5f1910 15:43:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:43:55 ---> b2a1489b5b00 15:43:55 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:43:56 ---> 74fdeb6fbd00 15:43:56 Step 20/25 : EXPOSE 59910 15:43:56 ---> Running in 067b50a1812f 15:43:56 Removing intermediate container 067b50a1812f 15:43:56 ---> c13c565bd513 15:43:56 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:43:56 ---> Running in 66a8e9880aa0 15:43:57 Removing intermediate container 66a8e9880aa0 15:43:57 ---> a054054313a8 15:43:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:43:57 ---> Running in 31b70e6e2d7f 15:43:57 Removing intermediate container 31b70e6e2d7f 15:43:57 ---> 9e01fc8f180d 15:43:57 Step 23/25 : LABEL arch=arm64 15:43:57 ---> Running in 6c8489601c08 15:43:57 Removing intermediate container 6c8489601c08 15:43:57 ---> 8aceb4a40d5e 15:43:57 Step 24/25 : LABEL git_sha=fa9dcd43b6ceed1f7e2e456345328e5facdd917c 15:43:57 ---> Running in 3e788ef81d76 15:43:58 Removing intermediate container 3e788ef81d76 15:43:58 ---> 21f54ff76507 15:43:58 Step 25/25 : LABEL version=0.0.0 15:43:58 ---> Running in ea39e3a53838 15:43:58 Removing intermediate container ea39e3a53838 15:43:58 ---> 1c860e657d45 15:43:58 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:43:58 Successfully built 1c860e657d45 15:43:58 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 15:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:59 15:43:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:43:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:43:59 arm64: Pulling from edgex-lftools-log-publisher 15:43:59 8998bd30e6a1: Pulling fs layer 15:43:59 04944245beec: Pulling fs layer 15:43:59 699f458cf7ca: Pulling fs layer 15:43:59 765212b225bb: Pulling fs layer 15:43:59 f23df028b6ca: Pulling fs layer 15:43:59 d65c8cfc05b1: Pulling fs layer 15:43:59 2437ff75d9bd: Pulling fs layer 15:43:59 765212b225bb: Waiting 15:43:59 f23df028b6ca: Waiting 15:43:59 d65c8cfc05b1: Waiting 15:43:59 2437ff75d9bd: Waiting 15:43:59 04944245beec: Verifying Checksum 15:43:59 04944245beec: Download complete 15:43:59 765212b225bb: Download complete 15:43:59 f23df028b6ca: Verifying Checksum 15:43:59 f23df028b6ca: Download complete 15:43:59 d65c8cfc05b1: Verifying Checksum 15:43:59 d65c8cfc05b1: Download complete 15:44:00 699f458cf7ca: Verifying Checksum 15:44:00 699f458cf7ca: Download complete 15:44:00 8998bd30e6a1: Download complete 15:44:02 2437ff75d9bd: Verifying Checksum 15:44:02 2437ff75d9bd: Download complete 15:44:04 8998bd30e6a1: Pull complete 15:44:04 04944245beec: Pull complete 15:44:06 699f458cf7ca: Pull complete 15:44:06 765212b225bb: Pull complete 15:44:07 f23df028b6ca: Pull complete 15:44:07 d65c8cfc05b1: Pull complete 15:44:23 2437ff75d9bd: Pull complete 15:44:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:44:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:44:23 prd-ubuntu20.04-docker-arm64-4c-16g-63419 does not seem to be running inside a container 15:44:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:44:25 $ docker top 2cc020febc25d3080245805ca7869ddc8b762b9d3a65c8574f4a307d9faab293 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:26 ---> job-cost.sh 15:44:26 lf-activate-venv: SKIPPING 15:44:26 INFO: No Stack... 15:44:27 INFO: Retrieving Pricing Info for: v3-standard-4 15:44:27 INFO: Archiving Costs [Pipeline] sh 15:44:28 + cat /w/workspace/device-gpio/2/archives/cost.csv 15:44:28 + cut -d, -f6 [Pipeline] lock 15:44:28 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] 15:44:28 Resource [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] did not exist. Created. 15:44:28 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:44:29 /w/workspace/device-gpio/2@tmp/durable-69686ea7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:44:30 + echo total: 0.10999999940395355 [Pipeline] stash 15:44:30 Warning: overwriting stash ‘stack-cost’ 15:44:30 Stashed 1 file(s) [Pipeline] } 15:44:30 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:44:30 $ docker stop --time=1 2cc020febc25d3080245805ca7869ddc8b762b9d3a65c8574f4a307d9faab293 15:44:31 $ docker rm -f 2cc020febc25d3080245805ca7869ddc8b762b9d3a65c8574f4a307d9faab293 [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 15:44:32 provisioning config files... 15:44:32 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config734297693508841386tmp [Pipeline] { [Pipeline] sh 15:44:32 + set +x 15:44:32 + curl -s https://codecov.io/bash 15:44:32 + bash -s -- 15:44:32 15:44:32 _____ _ 15:44:32 / ____| | | 15:44:32 | | ___ __| | ___ ___ _____ __ 15:44:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:44:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:44:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:44:32 Bash-1.0.6 15:44:32 15:44:32 15:44:32 ==> git version 2.25.1 found 15:44:32 ==> 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 15:44:32 Release-Date: 2020-01-08 15:44:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:44:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:44:32 ==> Jenkins CI detected. 15:44:32 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-36 15:44:32 project root: . 15:44:32 --> token set from env 15:44:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:44:32 ==> Running gcov in . (disable via -X gcov) 15:44:32 ==> Python coveragepy not found 15:44:32 ==> Searching for coverage reports in: 15:44:32 + . 15:44:32 -> Found 1 reports 15:44:32 ==> Detecting git/mercurial file structure 15:44:32 ==> Reading reports 15:44:32 + ./coverage.out bytes=10 15:44:32 ==> Appending adjustments 15:44:32 https://docs.codecov.io/docs/fixing-reports 15:44:32 + Found adjustments 15:44:32 ==> Gzipping contents 15:44:32 4.0K /tmp/codecov.T1FbIz.gz 15:44:32 ==> Uploading reports 15:44:32 url: https://codecov.io 15:44:32 query: branch=PR-36&commit=fa9dcd43b6ceed1f7e2e456345328e5facdd917c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 15:44:32 -> Pinging Codecov 15:44:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-36&commit=fa9dcd43b6ceed1f7e2e456345328e5facdd917c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 15:44:33 -> Uploading to 15:44:33 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/fa9dcd43b6ceed1f7e2e456345328e5facdd917c/69cda02b-6ac4-4f3a-aaf5-8079fc1cd3d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T154432Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20ddea1c4d5cc1093c723271adbe601e5833b74cb52514927c1b3bbebf079681 15:44:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:44:33 Dload Upload Total Spent Left Speed 15:44:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3649 --:--:-- --:--:-- --:--:-- 3649 15:44:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/fa9dcd43b6ceed1f7e2e456345328e5facdd917c [Pipeline] } 15:44:33 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 15:44:34 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-36/archives ] 15:44:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:44:34 total 16 15:44:34 drwxr-xr-x 3 root root 4096 May 12 15:39 . 15:44:34 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:39 .. 15:44:34 drwxr-xr-x 2 root root 4096 May 12 15:39 cost 15:44:34 -rw-r--r-- 1 root root 81 May 12 15:39 cost.csv 15:44:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:44:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:44:34 total 16 15:44:34 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:39 . 15:44:34 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:39 .. 15:44:34 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:39 cost 15:44:34 -rw-r--r-- 1 jenkins jenkins 81 May 12 15:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:44:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:44:35 ---> package-listing.sh 15:44:35 ++ facter osfamily 15:44:35 ++ tr '[:upper:]' '[:lower:]' 15:44:35 + OS_FAMILY=debian 15:44:35 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-36 15:44:35 + START_PACKAGES=/tmp/packages_start.txt 15:44:35 + END_PACKAGES=/tmp/packages_end.txt 15:44:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:44:35 + PACKAGES=/tmp/packages_start.txt 15:44:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 15:44:35 + PACKAGES=/tmp/packages_end.txt 15:44:35 + case "${OS_FAMILY}" in 15:44:35 + dpkg -l 15:44:35 + grep '^ii' 15:44:35 + '[' -f /tmp/packages_start.txt ']' 15:44:35 + '[' -f /tmp/packages_end.txt ']' 15:44:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:44:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 15:44:35 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ 15:44:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ [Pipeline] echo 15:44:35 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-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:44:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:44:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:44:36 . [Pipeline] withDockerContainer 15:44:36 prd-ubuntu20.04-docker-8c-8g-63417 does not seem to be running inside a container 15:44:36 $ 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-36/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-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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 15:44:36 $ docker top 7e75f6f848d6095b1f9ce3b0cd31b382c733be883f278cfad317d16f7f306c82 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:36 + touch /tmp/pre-build-complete [Pipeline] sh 15:44:37 + mkdir -p /var/log/sysstat [Pipeline] sh 15:44:37 + ls /var/log/sa-host 15:44:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:37 provisioning config files... 15:44:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config5269539722872896364tmp [Pipeline] { [Pipeline] echo 15:44:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:44:37 ---> create-netrc.sh [Pipeline] } 15:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:44:38 ---> python-tools-install.sh [Pipeline] echo 15:44:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:44:38 ---> sudo-logs.sh 15:44:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:44:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:44:38 ---> job-cost.sh 15:44:38 lf-activate-venv: SKIPPING 15:44:38 DEBUG: total: 0.2199999988079071 15:44:38 INFO: Retrieving Stack Cost... 15:44:39 INFO: Retrieving Pricing Info for: v3-standard-8 15:44:39 INFO: Archiving Costs [Pipeline] echo 15:44:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:44:40 ---> logs-deploy.sh 15:44:40 lf-activate-venv: SKIPPING 15:44:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-36/2 15:44:40 INFO: archiving workspace using pattern(s): 15:44:40 Archives upload complete. 15:44:41 INFO: archiving logs to Nexus 15:44:41 ---> uname -a: 15:44:41 Linux prd-ubuntu20-04-docker-8c-8g-63417 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 15:44:41 15:44:41 15:44:41 ---> lscpu: 15:44:41 Architecture: x86_64 15:44:41 CPU op-mode(s): 32-bit, 64-bit 15:44:41 Byte Order: Little Endian 15:44:41 Address sizes: 40 bits physical, 48 bits virtual 15:44:41 CPU(s): 8 15:44:41 On-line CPU(s) list: 0-7 15:44:41 Thread(s) per core: 1 15:44:41 Core(s) per socket: 1 15:44:41 Socket(s): 8 15:44:41 NUMA node(s): 1 15:44:41 Vendor ID: AuthenticAMD 15:44:41 CPU family: 23 15:44:41 Model: 49 15:44:41 Model name: AMD EPYC-Rome Processor 15:44:41 Stepping: 0 15:44:41 CPU MHz: 2799.998 15:44:41 BogoMIPS: 5599.99 15:44:41 Virtualization: AMD-V 15:44:41 Hypervisor vendor: KVM 15:44:41 Virtualization type: full 15:44:41 L1d cache: 256 KiB 15:44:41 L1i cache: 256 KiB 15:44:41 L2 cache: 4 MiB 15:44:41 L3 cache: 128 MiB 15:44:41 NUMA node0 CPU(s): 0-7 15:44:41 Vulnerability Itlb multihit: Not affected 15:44:41 Vulnerability L1tf: Not affected 15:44:41 Vulnerability Mds: Not affected 15:44:41 Vulnerability Meltdown: Not affected 15:44:41 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:44:41 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:44:41 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:44:41 Vulnerability Srbds: Not affected 15:44:41 Vulnerability Tsx async abort: Not affected 15:44:41 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 15:44:41 15:44:41 15:44:41 ---> nproc: 15:44:41 8 15:44:41 15:44:41