Branch indexing 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+e602fd7d654e8598d334cfcbfc0e6f43d27ef328 (0b90511d906bf65b45e9c21ae949db591be9edbc) 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-ssh14016151130184643106.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-ssh12410772655606727664.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-ssh6030720946278019096.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-ssh13040632372877383331.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-ssh17659775246627908673.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63580 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 e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit fa9dcd43b6ceed1f7e2e456345328e5facdd917c Merge succeeded, producing d0291c35392230542ab1bdec802b1704d019761f Checking out Revision d0291c35392230542ab1bdec802b1704d019761f (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 e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d0291c35392230542ab1bdec802b1704d019761f # timeout=10 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" > git rev-list --no-walk fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:23 ========================================================= 09:20:23 EdgeX Global Pipelines Version Info 09:20:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:24 ------------------- 09:20:24 stable info: 09:20:24 ------------------- 09:20:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:24 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:20:24 Message: update stable to v1.0.230 09:20:24 ------------------- 09:20:24 experimental info: 09:20:24 ------------------- 09:20:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:24 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:20:24 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:20:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d0291c35392230542ab1bdec802b1704d019761f [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d0291c3 [Pipeline] echo 09:20:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:25 provisioning config files... 09:20:25 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config952644617569370449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:25 ---> docker-login.sh 09:20:25 nexus3.edgexfoundry.org:10001 09:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:26 Configure a credential helper to remove this warning. See 09:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:26 09:20:26 Login Succeeded 09:20:26 nexus3.edgexfoundry.org:10002 09:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:26 Configure a credential helper to remove this warning. See 09:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:26 09:20:26 Login Succeeded 09:20:26 nexus3.edgexfoundry.org:10003 09:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:26 Configure a credential helper to remove this warning. See 09:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:26 09:20:26 Login Succeeded 09:20:26 nexus3.edgexfoundry.org:10004 09:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:26 Configure a credential helper to remove this warning. See 09:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:26 09:20:26 Login Succeeded 09:20:26 docker.io 09:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:27 Configure a credential helper to remove this warning. See 09:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:27 09:20:27 Login Succeeded 09:20:27 ---> docker-login.sh ends [Pipeline] } 09:20:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:20:27 + git rev-list -1 --merges d0291c35392230542ab1bdec802b1704d019761f~1..d0291c35392230542ab1bdec802b1704d019761f [Pipeline] echo 09:20:27 -----------> git rev-list -1 --merges d0291c35392230542ab1bdec802b1704d019761f~1..d0291c35392230542ab1bdec802b1704d019761f d0291c35392230542ab1bdec802b1704d019761f 09:20:27 d0291c35392230542ab1bdec802b1704d019761f [false] [Pipeline] sh 09:20:27 + git log --format=format:%s -1 d0291c35392230542ab1bdec802b1704d019761f [Pipeline] echo 09:20:27 ========================================================= 09:20:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:20:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:28 + git log --format=format:%s -1 d0291c35392230542ab1bdec802b1704d019761f [Pipeline] echo 09:20:28 [semverPrep] GIT_COMMIT: d0291c35392230542ab1bdec802b1704d019761f, Commit Message: Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD [Pipeline] echo 09:20:28 [semverPrep] This is not a build commit. [Pipeline] sh 09:20:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:28 + grep -v github /etc/ssh/ssh_known_hosts 09:20:28 + [ -e /tmp/ssh_known_hosts ] 09:20:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:20:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:20:28 + sudo tee -a /etc/ssh/ssh_known_hosts 09:20:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:20:29 09:20:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:20:29 latest: Pulling from edgex-devops/py-git-semver 09:20:29 1fe172e4850f: Pulling fs layer 09:20:29 caf521ccaac6: Pulling fs layer 09:20:29 3ead6fa29328: Pulling fs layer 09:20:29 5c2a1cbceb83: Pulling fs layer 09:20:29 a8d5f1318db7: Pulling fs layer 09:20:29 c427282e49a2: Pulling fs layer 09:20:29 1827001aaf11: Pulling fs layer 09:20:29 0714d37db230: Pulling fs layer 09:20:29 ac28cf19c067: Pulling fs layer 09:20:29 ca983d60f3e2: Pulling fs layer 09:20:29 9f894cec8388: Pulling fs layer 09:20:29 c427282e49a2: Waiting 09:20:29 1827001aaf11: Waiting 09:20:29 0714d37db230: Waiting 09:20:29 ac28cf19c067: Waiting 09:20:29 9f894cec8388: Waiting 09:20:29 5c2a1cbceb83: Waiting 09:20:29 a8d5f1318db7: Waiting 09:20:29 ca983d60f3e2: Waiting 09:20:29 caf521ccaac6: Verifying Checksum 09:20:29 caf521ccaac6: Download complete 09:20:29 5c2a1cbceb83: Download complete 09:20:29 3ead6fa29328: Verifying Checksum 09:20:29 3ead6fa29328: Download complete 09:20:29 c427282e49a2: Verifying Checksum 09:20:29 c427282e49a2: Download complete 09:20:29 a8d5f1318db7: Verifying Checksum 09:20:29 a8d5f1318db7: Download complete 09:20:29 0714d37db230: Verifying Checksum 09:20:29 0714d37db230: Download complete 09:20:29 ac28cf19c067: Download complete 09:20:29 ca983d60f3e2: Verifying Checksum 09:20:29 ca983d60f3e2: Download complete 09:20:29 9f894cec8388: Verifying Checksum 09:20:29 9f894cec8388: Download complete 09:20:29 1fe172e4850f: Download complete 09:20:29 1827001aaf11: Verifying Checksum 09:20:29 1827001aaf11: Download complete 09:20:31 1fe172e4850f: Pull complete 09:20:31 caf521ccaac6: Pull complete 09:20:31 3ead6fa29328: Pull complete 09:20:31 5c2a1cbceb83: Pull complete 09:20:32 a8d5f1318db7: Pull complete 09:20:32 c427282e49a2: Pull complete 09:20:35 1827001aaf11: Pull complete 09:20:35 0714d37db230: Pull complete 09:20:35 ac28cf19c067: Pull complete 09:20:35 ca983d60f3e2: Pull complete 09:20:35 9f894cec8388: Pull complete 09:20:35 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:20:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:20:35 prd-ubuntu20.04-docker-8c-8g-63580 does not seem to be running inside a container 09:20:35 $ 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 09:20:38 $ docker top 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 -eo pid,comm 09:20:38 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). 09:20:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:20:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:38 [ssh-agent] Looking for ssh-agent implementation... 09:20:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:38 $ docker exec 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 ssh-agent 09:20:38 SSH_AUTH_SOCK=/tmp/ssh-qFuf6RpOoueI/agent.32 09:20:38 SSH_AGENT_PID=38 09:20:38 Running ssh-add (command line suppressed) 09:20:38 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_1822984496791089310.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_1822984496791089310.key) 09:20:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:39 + git tag --points-at HEAD [Pipeline] } 09:20:39 $ docker exec --env ******** --env ******** 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 ssh-agent -k 09:20:39 unset SSH_AUTH_SOCK; 09:20:39 unset SSH_AGENT_PID; 09:20:39 echo Agent pid 38 killed; 09:20:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:20:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:20:39 [ssh-agent] Looking for ssh-agent implementation... 09:20:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:20:39 $ docker exec 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 ssh-agent 09:20:39 SSH_AUTH_SOCK=/tmp/ssh-Ra7B6ijEezjM/agent.72 09:20:39 SSH_AGENT_PID=78 09:20:39 Running ssh-add (command line suppressed) 09:20:39 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_2815659252973012207.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_2815659252973012207.key) 09:20:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:20:40 + git semver init 09:20:40 2022-05-13 09:20:40,263 [run_init] DEBUG init version:0.0.0 force:False 09:20:40 2022-05-13 09:20:40,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver 09:20:40 2022-05-13 09:20:40,264 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-36/.semver 09:20:40 2022-05-13 09:20:40,265 [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) 09:20:41 2022-05-13 09:20:41,192 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.git/info/exclude 09:20:41 2022-05-13 09:20:41,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 with force:False 09:20:41 2022-05-13 09:20:41,193 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 09:20:41 2022-05-13 09:20:41,197 [execute] INFO git cat-file --batch-check 09:20:41 2022-05-13 09:20:41,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 09:20:41 2022-05-13 09:20:41,204 [execute] INFO git cat-file --batch 09:20:41 2022-05-13 09:20:41,204 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 09:20:41 2022-05-13 09:20:41,210 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 09:20:41 0.0.0 [Pipeline] } 09:20:41 $ docker exec --env ******** --env ******** 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 ssh-agent -k 09:20:41 unset SSH_AUTH_SOCK; 09:20:41 unset SSH_AGENT_PID; 09:20:41 echo Agent pid 78 killed; 09:20:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:20:41 + git semver [Pipeline] } 09:20:41 $ docker stop --time=1 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 09:20:43 $ docker rm -f 7bf1f8f595f1404fd69cfd9bc98f167ced8a655892f5019ed225a4481f6e32c3 [Pipeline] // withDockerContainer [Pipeline] sh 09:20:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:20:43 Stashed 1 file(s) [Pipeline] echo 09:20:43 [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 09:20:44 provisioning config files... 09:20:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config1926811868607751667tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:44 ---> docker-login.sh 09:20:44 nexus3.edgexfoundry.org:10001 09:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:44 Configure a credential helper to remove this warning. See 09:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:44 09:20:44 Login Succeeded 09:20:44 nexus3.edgexfoundry.org:10002 09:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:44 Configure a credential helper to remove this warning. See 09:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:44 09:20:44 Login Succeeded 09:20:44 nexus3.edgexfoundry.org:10003 09:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:44 Configure a credential helper to remove this warning. See 09:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:44 09:20:44 Login Succeeded 09:20:44 nexus3.edgexfoundry.org:10004 09:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:44 Configure a credential helper to remove this warning. See 09:20:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:44 09:20:44 Login Succeeded 09:20:44 docker.io 09:20:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:45 Configure a credential helper to remove this warning. See 09:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:45 09:20:45 Login Succeeded 09:20:45 ---> docker-login.sh ends [Pipeline] } 09:20:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:20:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:20:45 ========================================================= 09:20:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:20:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:20:45 + 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 . 09:20:45 Sending build context to Docker daemon 15.67MB 09:20:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:20:45 Step 2/12 : FROM ${BASE} AS builder 09:20:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:20:46 59bf1c3509f3: Pulling fs layer 09:20:46 666ba61612fd: Pulling fs layer 09:20:46 8ed8ca486205: Pulling fs layer 09:20:46 4fe6c5a15a65: Pulling fs layer 09:20:46 22a0e8bec74d: Pulling fs layer 09:20:46 ca2b28591e48: Pulling fs layer 09:20:46 22a0e8bec74d: Waiting 09:20:46 a51346096db8: Pulling fs layer 09:20:46 daebc70d1ce1: Pulling fs layer 09:20:46 0e18a0eac166: Pulling fs layer 09:20:46 ca2b28591e48: Waiting 09:20:46 daebc70d1ce1: Waiting 09:20:46 0e18a0eac166: Waiting 09:20:46 a51346096db8: Waiting 09:20:46 4fe6c5a15a65: Waiting 09:20:46 8ed8ca486205: Download complete 09:20:46 666ba61612fd: Download complete 09:20:46 22a0e8bec74d: Verifying Checksum 09:20:46 22a0e8bec74d: Download complete 09:20:46 59bf1c3509f3: Verifying Checksum 09:20:46 59bf1c3509f3: Download complete 09:20:46 ca2b28591e48: Download complete 09:20:46 a51346096db8: Verifying Checksum 09:20:46 a51346096db8: Download complete 09:20:46 daebc70d1ce1: Verifying Checksum 09:20:46 daebc70d1ce1: Download complete 09:20:46 59bf1c3509f3: Pull complete 09:20:46 666ba61612fd: Pull complete 09:20:46 8ed8ca486205: Pull complete 09:20:46 0e18a0eac166: Download complete 09:20:46 4fe6c5a15a65: Download complete 09:20:51 4fe6c5a15a65: Pull complete 09:20:51 22a0e8bec74d: Pull complete 09:20:51 ca2b28591e48: Pull complete 09:20:51 a51346096db8: Pull complete 09:20:51 daebc70d1ce1: Pull complete 09:20:53 0e18a0eac166: Pull complete 09:20:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:20:53 ---> f018257e8ee9 09:20:53 Step 3/12 : ARG MAKE="make build" 09:20:55 ---> Running in 282e1b6792b1 09:20:55 Removing intermediate container 282e1b6792b1 09:20:55 ---> 1e22189548b4 09:20:55 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:20:55 ---> Running in 8927372782a7 09:20:55 Removing intermediate container 8927372782a7 09:20:55 ---> 6f0ace797c7d 09:20:55 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:20:55 ---> Running in db77612135bc 09:20:55 Removing intermediate container db77612135bc 09:20:55 ---> 91557e96c2bc 09:20:55 Step 6/12 : WORKDIR /device-gpio 09:20:55 ---> Running in 16e9e5d7749f 09:20:55 Removing intermediate container 16e9e5d7749f 09:20:55 ---> 837c43758427 09:20:55 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:20:55 ---> Running in 9042b049d3a3 09:20:56 Removing intermediate container 9042b049d3a3 09:20:56 ---> 71b23fa1949c 09:20:56 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:20:56 ---> Running in b59cf2b9fb31 09:20:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:20:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:20:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:20:58 (2/4) Installing libedit (20210910.3.1-r0) 09:20:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:20:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:20:58 Executing busybox-1.34.1-r3.trigger 09:20:58 OK: 224 MiB in 56 packages 09:20:59 Still waiting to schedule task 09:20:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:20:59 Removing intermediate container b59cf2b9fb31 09:20:59 ---> eb0a62e16b5f 09:20:59 Step 9/12 : COPY go.mod vendor* ./ 09:20:59 ---> 0a6eeaa29a8a 09:20:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:20:59 ---> Running in cdb039de717b 09:21:26 Removing intermediate container cdb039de717b 09:21:26 ---> 257ef8c70c59 09:21:26 Step 11/12 : COPY . . 09:21:26 ---> b49fef4c6eeb 09:21:26 Step 12/12 : RUN ${MAKE} 09:21:26 ---> Running in b1b923b24605 09:21:26 noop 09:21:26 Removing intermediate container b1b923b24605 09:21:26 ---> 6103d89afc32 09:21:26 Successfully built 6103d89afc32 09:21:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:21:26 + docker inspect -f . ci-base-image-x86_64 09:21:26 . [Pipeline] withDockerContainer 09:21:26 prd-ubuntu20.04-docker-8c-8g-63580 does not seem to be running inside a container 09:21:26 $ 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 09:21:26 $ docker top ac9bc7fe5556d3eb4710aeb2268a12395bafbb3851201aff2bfd210ce8b2c665 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:27 + go version 09:21:27 go version go1.17.6 linux/amd64 [Pipeline] } 09:21:27 $ docker stop --time=1 ac9bc7fe5556d3eb4710aeb2268a12395bafbb3851201aff2bfd210ce8b2c665 09:21:28 $ docker rm -f ac9bc7fe5556d3eb4710aeb2268a12395bafbb3851201aff2bfd210ce8b2c665 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:29 + docker inspect -f . ci-base-image-x86_64 09:21:29 . [Pipeline] withDockerContainer 09:21:29 prd-ubuntu20.04-docker-8c-8g-63580 does not seem to be running inside a container 09:21:29 $ 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 09:21:29 $ docker top c5821abd69c9489d9d66ed3ba1e14858e338dd4d8f1406a3f37e938b36f35cfa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:21:30 + make test 09:21:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:21:30 ? github.com/edgexfoundry/device-gpio [no test files] 09:21:40 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:21:40 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:21:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:21:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:21:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:21:49 ./bin/test-attribution-txt.sh [Pipeline] echo 09:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:21:49 $ docker stop --time=1 c5821abd69c9489d9d66ed3ba1e14858e338dd4d8f1406a3f37e938b36f35cfa 09:21:51 $ docker rm -f c5821abd69c9489d9d66ed3ba1e14858e338dd4d8f1406a3f37e938b36f35cfa [Pipeline] // withDockerContainer [Pipeline] sh 09:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:21:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:21:53 + ls -al . 09:21:53 total 172 09:21:53 drwxrwxr-x 9 jenkins jenkins 4096 May 13 09:21 . 09:21:53 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:20 .. 09:21:53 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:20 .dockerignore 09:21:53 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:20 .git 09:21:53 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 .github 09:21:53 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:20 .gitignore 09:21:53 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:20 .golangci.yml 09:21:53 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:20 .semver 09:21:53 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:20 Attribution.txt 09:21:53 -rw-rw-r-- 1 jenkins jenkins 2846 May 13 09:20 CHANGELOG.md 09:21:53 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:20 Dockerfile 09:21:53 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:20 GOVERNANCE.md 09:21:53 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:20 Jenkinsfile 09:21:53 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:20 LICENSE 09:21:53 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:20 Makefile 09:21:53 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:20 OWNERS.md 09:21:53 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:20 README.md 09:21:53 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:20 VERSION 09:21:53 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:20 bin 09:21:53 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 cmd 09:21:53 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:21 coverage.out 09:21:53 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:20 go.mod 09:21:53 -rw-rw-r-- 1 jenkins jenkins 46962 May 13 09:20 go.sum 09:21:53 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 internal 09:21:53 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 snap 09:21:53 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:20 version.go [Pipeline] isUnix [Pipeline] sh 09:21:53 + 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=d0291c35392230542ab1bdec802b1704d019761f --label arch=amd64 --label version=0.0.0 . 09:21:53 Sending build context to Docker daemon 15.67MB 09:21:53 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:21:53 Step 2/26 : FROM ${BASE} AS builder 09:21:53 ---> 6103d89afc32 09:21:53 Step 3/26 : ARG MAKE="make build" 09:21:53 ---> Running in 238ae41c654c 09:21:53 Removing intermediate container 238ae41c654c 09:21:53 ---> 5d1f12d5ffac 09:21:53 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:53 ---> Running in 5ebed2c2a6fb 09:21:53 Removing intermediate container 5ebed2c2a6fb 09:21:53 ---> e7b6fe76b4dd 09:21:53 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:21:53 ---> Running in 89892d070820 09:21:53 Removing intermediate container 89892d070820 09:21:53 ---> 881d43751c69 09:21:53 Step 6/26 : WORKDIR /device-gpio 09:21:53 ---> Running in 7e7a6ef2635f 09:21:54 Removing intermediate container 7e7a6ef2635f 09:21:54 ---> 2fc6cb8109f3 09:21:54 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:54 ---> Running in e0001728721c 09:21:54 Removing intermediate container e0001728721c 09:21:54 ---> 5688f2c41690 09:21:54 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:54 ---> Running in 53906893dfa4 09:21:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:21:56 OK: 224 MiB in 56 packages 09:21:56 Removing intermediate container 53906893dfa4 09:21:56 ---> 9f4413bf5662 09:21:56 Step 9/26 : COPY go.mod vendor* ./ 09:21:56 ---> 29c859ce3315 09:21:56 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:56 ---> Running in ea46b447c7fc 09:21:57 Removing intermediate container ea46b447c7fc 09:21:57 ---> a5c277835ba3 09:21:57 Step 11/26 : COPY . . 09:21:57 ---> ed51782cb4ef 09:21:57 Step 12/26 : RUN ${MAKE} 09:21:57 ---> Running in f73d9303e015 09:21:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:22:20 Removing intermediate container f73d9303e015 09:22:20 ---> 7cd804d35fb9 09:22:20 Step 13/26 : FROM alpine:3.15 09:22:20 3.15: Pulling from library/alpine 09:22:20 df9b9388f04a: Pulling fs layer 09:22:20 df9b9388f04a: Download complete 09:22:20 df9b9388f04a: Pull complete 09:22:20 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:22:20 Status: Downloaded newer image for alpine:3.15 09:22:20 ---> 0ac33e5f5afa 09:22:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:20 ---> Running in 5faea5a47999 09:22:20 Removing intermediate container 5faea5a47999 09:22:20 ---> 5b5d15426c6e 09:22:20 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:20 ---> Running in cb0addf51feb 09:22:20 Removing intermediate container cb0addf51feb 09:22:20 ---> 3e4b92446a37 09:22:20 Step 16/26 : RUN apk add --update --no-cache zeromq 09:22:20 ---> Running in 3a6aa9213c2a 09:22:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:20 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:22:20 (2/5) Installing libsodium (1.0.18-r0) 09:22:20 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:20 (4/5) Installing libzmq (4.3.4-r0) 09:22:20 (5/5) Installing zeromq (4.3.4-r0) 09:22:20 Executing busybox-1.34.1-r5.trigger 09:22:20 OK: 8 MiB in 19 packages 09:22:20 Removing intermediate container 3a6aa9213c2a 09:22:20 ---> e7c4bf5bf831 09:22:20 Step 17/26 : WORKDIR / 09:22:20 ---> Running in 18148caacefa 09:22:21 Removing intermediate container 18148caacefa 09:22:21 ---> ce7a1190394f 09:22:21 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:21 ---> a9c7a0206704 09:22:21 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:22:21 ---> ac9f238eecde 09:22:21 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:22:22 ---> b452030b2dc6 09:22:22 Step 21/26 : EXPOSE 59910 09:22:22 ---> Running in b8cd803c9986 09:22:22 Removing intermediate container b8cd803c9986 09:22:22 ---> dc9699b6649c 09:22:22 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:22:22 ---> Running in 3dcdb393ba51 09:22:22 Removing intermediate container 3dcdb393ba51 09:22:22 ---> 80728e3c5427 09:22:22 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:22 ---> Running in 068d401954a0 09:22:22 Removing intermediate container 068d401954a0 09:22:22 ---> 6444e801736f 09:22:22 Step 24/26 : LABEL arch=amd64 09:22:22 ---> Running in ee06f1183a5e 09:22:22 Removing intermediate container ee06f1183a5e 09:22:22 ---> a336922f63ba 09:22:22 Step 25/26 : LABEL git_sha=d0291c35392230542ab1bdec802b1704d019761f 09:22:22 ---> Running in c62bfaea38ab 09:22:22 Removing intermediate container c62bfaea38ab 09:22:22 ---> e876dede6d44 09:22:22 Step 26/26 : LABEL version=0.0.0 09:22:22 ---> Running in e687d425d526 09:22:22 Removing intermediate container e687d425d526 09:22:22 ---> 231083ceb8de 09:22:22 [Warning] One or more build-args [ARCH] were not consumed 09:22:22 Successfully built 231083ceb8de 09:22:22 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 09:22:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:23 09:22:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:22:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:23 latest: Pulling from edgex-lftools-log-publisher 09:22:23 5eb5b503b376: Pulling fs layer 09:22:23 5c69ac0246d0: Pulling fs layer 09:22:23 ec43610c2a17: Pulling fs layer 09:22:23 3a2ae6a8a46f: Pulling fs layer 09:22:23 33b1e0a273af: Pulling fs layer 09:22:23 5d3b04190fa2: Pulling fs layer 09:22:23 2f39f015ded8: Pulling fs layer 09:22:23 33b1e0a273af: Waiting 09:22:23 5d3b04190fa2: Waiting 09:22:23 2f39f015ded8: Waiting 09:22:23 3a2ae6a8a46f: Waiting 09:22:23 5c69ac0246d0: Verifying Checksum 09:22:23 5c69ac0246d0: Download complete 09:22:23 3a2ae6a8a46f: Verifying Checksum 09:22:23 3a2ae6a8a46f: Download complete 09:22:23 33b1e0a273af: Verifying Checksum 09:22:23 33b1e0a273af: Download complete 09:22:23 5d3b04190fa2: Verifying Checksum 09:22:23 5d3b04190fa2: Download complete 09:22:23 ec43610c2a17: Verifying Checksum 09:22:23 ec43610c2a17: Download complete 09:22:24 5eb5b503b376: Verifying Checksum 09:22:24 5eb5b503b376: Download complete 09:22:24 2f39f015ded8: Download complete 09:22:25 5eb5b503b376: Pull complete 09:22:25 5c69ac0246d0: Pull complete 09:22:25 ec43610c2a17: Pull complete 09:22:25 3a2ae6a8a46f: Pull complete 09:22:25 33b1e0a273af: Pull complete 09:22:26 5d3b04190fa2: Pull complete 09:22:30 2f39f015ded8: Pull complete 09:22:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:22:30 prd-ubuntu20.04-docker-8c-8g-63580 does not seem to be running inside a container 09:22:30 $ 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 09:22:32 $ docker top 9ec348baf8ab3aea6f512a4fb3c7dbdd88a9e1e54f8dd39dec4e597f4f29c19e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:32 ---> job-cost.sh 09:22:32 lf-activate-venv: SKIPPING 09:22:32 INFO: No Stack... 09:22:33 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:33 INFO: Archiving Costs [Pipeline] sh 09:22:33 + cat /w/workspace/edgexfoundry_device-gpio_PR-36/archives/cost.csv 09:22:33 + cut -d, -f6 [Pipeline] lock 09:22:33 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] 09:22:34 Resource [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] did not exist. Created. 09:22:34 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:34 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:34 Stashed 1 file(s) [Pipeline] } 09:22:34 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:34 $ docker stop --time=1 9ec348baf8ab3aea6f512a4fb3c7dbdd88a9e1e54f8dd39dec4e597f4f29c19e 09:22:35 $ docker rm -f 9ec348baf8ab3aea6f512a4fb3c7dbdd88a9e1e54f8dd39dec4e597f4f29c19e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:22:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63583 in /w/workspace/edgexfoundry_device-gpio_PR-36 [Pipeline] { [Pipeline] ws 09:22:39 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 09:22:40 The recommended git tool is: git 09:22:46 using credential edgex-jenkins-ssh 09:22:46 Cloning the remote Git repository 09:22:46 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:22:46 > git init /w/workspace/device-gpio/3 # timeout=10 09:22:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:22:46 > git --version # timeout=10 09:22:46 > git --version # 'git version 2.25.1' 09:22:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:22:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:22:48 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:22:48 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:22:48 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:48 > 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 09:22:49 Merging remotes/origin/main commit e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit fa9dcd43b6ceed1f7e2e456345328e5facdd917c 09:22:49 Merge succeeded, producing cdea0f705998ce8fc5cfb0406a7289ad3f0d6493 09:22:49 Checking out Revision cdea0f705998ce8fc5cfb0406a7289ad3f0d6493 (PR-36) 09:22:49 > git config core.sparsecheckout # timeout=10 09:22:49 > git checkout -f fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 09:22:49 > git remote # timeout=10 09:22:49 > git config --get remote.origin.url # timeout=10 09:22:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:22:49 > git merge e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 09:22:49 > git rev-parse HEAD^{commit} # timeout=10 09:22:49 > git config core.sparsecheckout # timeout=10 09:22:49 > git checkout -f cdea0f705998ce8fc5cfb0406a7289ad3f0d6493 # timeout=10 09:22:54 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" 09:22:54 > git rev-list --no-walk fa9dcd43b6ceed1f7e2e456345328e5facdd917c # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:22:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:22:54 % Total % Received % Xferd Average Speed Time Time Time Current 09:22:54 Dload Upload Total Spent Left Speed 09:22:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11929 100 11929 0 0 47716 0 --:--:-- --:--:-- --:--:-- 47716 [Pipeline] sh 09:22:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:22:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:22:55 + sudo tee /etc/docker/daemon.new 09:22:55 { 09:22:55 "registry-mirrors": [ 09:22:55 "https://nexus3.edgexfoundry.org:10001" 09:22:55 ], 09:22:55 "bip": "10.250.0.254/24", 09:22:55 "hosts": [ 09:22:55 "tcp://0.0.0.0:5555", 09:22:55 "unix:///var/run/docker.sock" 09:22:55 ], 09:22:55 "mtu": 1458, 09:22:55 "selinux-enabled": true, 09:22:55 "seccomp-profile": "/etc/docker/seccomp.json" 09:22:55 } [Pipeline] sh 09:22:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:22:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:14 provisioning config files... 09:23:14 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config9147689987159596157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:15 ---> docker-login.sh 09:23:15 nexus3.edgexfoundry.org:10001 09:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:16 Configure a credential helper to remove this warning. See 09:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:16 09:23:16 Login Succeeded 09:23:16 nexus3.edgexfoundry.org:10002 09:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:17 Configure a credential helper to remove this warning. See 09:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:17 09:23:17 Login Succeeded 09:23:17 nexus3.edgexfoundry.org:10003 09:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:17 Configure a credential helper to remove this warning. See 09:23:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:17 09:23:17 Login Succeeded 09:23:17 nexus3.edgexfoundry.org:10004 09:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:18 Configure a credential helper to remove this warning. See 09:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:18 09:23:18 Login Succeeded 09:23:18 docker.io 09:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:23:18 Configure a credential helper to remove this warning. See 09:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:23:18 09:23:18 Login Succeeded 09:23:18 ---> docker-login.sh ends [Pipeline] } 09:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:23:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:23:19 ========================================================= 09:23:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:23:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:23:19 + 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 . 09:23:19 Sending build context to Docker daemon 7.914MB 09:23:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:23:19 Step 2/12 : FROM ${BASE} AS builder 09:23:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:23:19 9b3977197b4f: Pulling fs layer 09:23:19 1a89e8eeedd5: Pulling fs layer 09:23:19 94645a83ff95: Pulling fs layer 09:23:19 3f3a8bcf1eab: Pulling fs layer 09:23:19 0c92f367c5e7: Pulling fs layer 09:23:19 3096ccb668a1: Pulling fs layer 09:23:19 e8cf19c19ddd: Pulling fs layer 09:23:19 a4caa8a26152: Pulling fs layer 09:23:19 3096ccb668a1: Waiting 09:23:19 3f3a8bcf1eab: Waiting 09:23:19 0c92f367c5e7: Waiting 09:23:19 e8cf19c19ddd: Waiting 09:23:19 a4caa8a26152: Waiting 09:23:19 94645a83ff95: Verifying Checksum 09:23:19 94645a83ff95: Download complete 09:23:19 1a89e8eeedd5: Verifying Checksum 09:23:19 1a89e8eeedd5: Download complete 09:23:20 0c92f367c5e7: Download complete 09:23:20 9b3977197b4f: Verifying Checksum 09:23:20 3096ccb668a1: Download complete 09:23:20 e8cf19c19ddd: Verifying Checksum 09:23:20 e8cf19c19ddd: Download complete 09:23:20 9b3977197b4f: Pull complete 09:23:21 1a89e8eeedd5: Pull complete 09:23:21 94645a83ff95: Pull complete 09:23:22 a4caa8a26152: Verifying Checksum 09:23:22 a4caa8a26152: Download complete 09:23:22 3f3a8bcf1eab: Verifying Checksum 09:23:22 3f3a8bcf1eab: Download complete 09:23:35 3f3a8bcf1eab: Pull complete 09:23:35 0c92f367c5e7: Pull complete 09:23:35 3096ccb668a1: Pull complete 09:23:35 e8cf19c19ddd: Pull complete 09:23:42 a4caa8a26152: Pull complete 09:23:42 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:23:42 ---> 725f1c02e7f9 09:23:42 Step 3/12 : ARG MAKE="make build" 09:23:42 ---> Running in b66ec185f51c 09:23:42 Removing intermediate container b66ec185f51c 09:23:42 ---> 353f12e1dd2c 09:23:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:23:42 ---> Running in e295ed04753e 09:23:43 Removing intermediate container e295ed04753e 09:23:43 ---> 0679dcbcad10 09:23:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:23:43 ---> Running in e65db82bd8e6 09:23:43 Removing intermediate container e65db82bd8e6 09:23:43 ---> 81c4a08836b0 09:23:43 Step 6/12 : WORKDIR /device-gpio 09:23:43 ---> Running in f6288c892ae5 09:23:44 Removing intermediate container f6288c892ae5 09:23:44 ---> 99da14c83f07 09:23:44 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:44 ---> Running in 29af7d2034a3 09:23:47 Removing intermediate container 29af7d2034a3 09:23:47 ---> 303df57d195b 09:23:47 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:23:47 ---> Running in 5e756e29f445 09:23:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:23:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:23:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:23:50 (2/4) Installing libedit (20210910.3.1-r0) 09:23:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:23:50 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:23:50 Executing busybox-1.34.1-r3.trigger 09:23:50 OK: 224 MiB in 56 packages 09:23:51 Removing intermediate container 5e756e29f445 09:23:51 ---> ab5033b1b775 09:23:51 Step 9/12 : COPY go.mod vendor* ./ 09:23:51 ---> 04037f7b3619 09:23:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:23:51 ---> Running in a256dd8227ec 09:24:48 Removing intermediate container a256dd8227ec 09:24:48 ---> 70347965292d 09:24:48 Step 11/12 : COPY . . 09:24:48 ---> fd66cbe004de 09:24:48 Step 12/12 : RUN ${MAKE} 09:24:48 ---> Running in 55ce91fbc5aa 09:24:48 noop 09:24:49 Removing intermediate container 55ce91fbc5aa 09:24:49 ---> 2d7d47de3123 09:24:49 Successfully built 2d7d47de3123 09:24:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:24:49 + docker inspect -f . ci-base-image-arm64 09:24:49 . [Pipeline] withDockerContainer 09:24:49 prd-ubuntu20.04-docker-arm64-4c-16g-63583 does not seem to be running inside a container 09:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:24:51 $ docker top 813a9b17cbb415ba1626db717776ce965f2bd63ab0b224a5cb32743165920e93 -eo pid,comm [Pipeline] { [Pipeline] sh 09:24:52 + go version 09:24:52 go version go1.17.6 linux/arm64 [Pipeline] } 09:24:52 $ docker stop --time=1 813a9b17cbb415ba1626db717776ce965f2bd63ab0b224a5cb32743165920e93 09:24:54 $ docker rm -f 813a9b17cbb415ba1626db717776ce965f2bd63ab0b224a5cb32743165920e93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:24:54 + docker inspect -f . ci-base-image-arm64 09:24:54 . [Pipeline] withDockerContainer 09:24:54 prd-ubuntu20.04-docker-arm64-4c-16g-63583 does not seem to be running inside a container 09:24:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:24:56 $ docker top 5d30362a10c171162999adf071fe2faca89d9df8b6a8baf8c1dfefa44879d2fe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:24:57 + make test 09:24:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:24:58 ? github.com/edgexfoundry/device-gpio [no test files] 09:26:35 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:26:35 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:26:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:26:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:26:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:26:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:26:50 ./bin/test-attribution-txt.sh [Pipeline] echo 09:26:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:26:54 $ docker stop --time=1 5d30362a10c171162999adf071fe2faca89d9df8b6a8baf8c1dfefa44879d2fe 09:26:55 $ docker rm -f 5d30362a10c171162999adf071fe2faca89d9df8b6a8baf8c1dfefa44879d2fe [Pipeline] // withDockerContainer [Pipeline] sh 09:26:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:56 Warning: overwriting stash ‘coverage-report’ 09:26:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:26:58 + ls -al . 09:26:58 total 168 09:26:58 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:26 . 09:26:58 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:22 .. 09:26:58 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:22 .dockerignore 09:26:58 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:22 .git 09:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:22 .github 09:26:58 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:22 .gitignore 09:26:58 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:22 .golangci.yml 09:26:58 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:22 Attribution.txt 09:26:58 -rw-rw-r-- 1 jenkins jenkins 2846 May 13 09:22 CHANGELOG.md 09:26:58 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:22 Dockerfile 09:26:58 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:22 GOVERNANCE.md 09:26:58 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:22 Jenkinsfile 09:26:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:22 LICENSE 09:26:58 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:22 Makefile 09:26:58 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:22 OWNERS.md 09:26:58 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:22 README.md 09:26:58 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:20 VERSION 09:26:58 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:22 bin 09:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:22 cmd 09:26:58 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:24 coverage.out 09:26:58 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:22 go.mod 09:26:58 -rw-rw-r-- 1 jenkins jenkins 46962 May 13 09:22 go.sum 09:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:22 internal 09:26:58 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:22 snap 09:26:58 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:22 version.go [Pipeline] isUnix [Pipeline] sh 09:26:58 + 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=cdea0f705998ce8fc5cfb0406a7289ad3f0d6493 --label arch=arm64 --label version=0.0.0 . 09:26:58 Sending build context to Docker daemon 7.916MB 09:26:58 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:26:58 Step 2/26 : FROM ${BASE} AS builder 09:26:58 ---> 2d7d47de3123 09:26:58 Step 3/26 : ARG MAKE="make build" 09:26:58 ---> Running in 5256e6927d18 09:26:59 Removing intermediate container 5256e6927d18 09:26:59 ---> 79f5465d946e 09:26:59 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:26:59 ---> Running in a8c8825463be 09:26:59 Removing intermediate container a8c8825463be 09:26:59 ---> acc21112bef3 09:26:59 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:26:59 ---> Running in 358836f6d7ec 09:27:00 Removing intermediate container 358836f6d7ec 09:27:00 ---> 5af738df44cc 09:27:00 Step 6/26 : WORKDIR /device-gpio 09:27:00 ---> Running in fe0031acc10f 09:27:00 Removing intermediate container fe0031acc10f 09:27:00 ---> 4581410c6a9e 09:27:00 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:27:00 ---> Running in ba6561dde7a0 09:27:02 Removing intermediate container ba6561dde7a0 09:27:02 ---> 860a43b6602b 09:27:02 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:27:02 ---> Running in eb309d6a71c4 09:27:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:27:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:27:05 OK: 224 MiB in 56 packages 09:27:05 Removing intermediate container eb309d6a71c4 09:27:05 ---> 2c79d0b70267 09:27:05 Step 9/26 : COPY go.mod vendor* ./ 09:27:06 ---> 0120d828c3ab 09:27:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:27:06 ---> Running in 665168d831dd 09:27:08 Removing intermediate container 665168d831dd 09:27:08 ---> b8ad6afeb876 09:27:08 Step 11/26 : COPY . . 09:27:09 ---> 31c7639faa7e 09:27:09 Step 12/26 : RUN ${MAKE} 09:27:09 ---> Running in 1b0d3422d9d0 09:27:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:29:32 Removing intermediate container 1b0d3422d9d0 09:29:32 ---> 8decc553d619 09:29:32 Step 13/26 : FROM alpine:3.15 09:29:32 3.15: Pulling from library/alpine 09:29:32 9981e73032c8: Pulling fs layer 09:29:32 9981e73032c8: Verifying Checksum 09:29:32 9981e73032c8: Download complete 09:29:32 9981e73032c8: Pull complete 09:29:32 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:29:32 Status: Downloaded newer image for alpine:3.15 09:29:32 ---> 3fb3c9af89a9 09:29:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:29:32 ---> Running in 1a12533a5fe8 09:29:32 Removing intermediate container 1a12533a5fe8 09:29:32 ---> 49c76811525c 09:29:32 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:32 ---> Running in e09855240cd5 09:29:32 Removing intermediate container e09855240cd5 09:29:32 ---> f7f823a82798 09:29:32 Step 16/26 : RUN apk add --update --no-cache zeromq 09:29:32 ---> Running in 57fce41df574 09:29:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:29:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:29:32 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:29:32 (2/5) Installing libsodium (1.0.18-r0) 09:29:32 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:29:32 (4/5) Installing libzmq (4.3.4-r0) 09:29:32 (5/5) Installing zeromq (4.3.4-r0) 09:29:32 Executing busybox-1.34.1-r5.trigger 09:29:32 OK: 8 MiB in 19 packages 09:29:32 Removing intermediate container 57fce41df574 09:29:32 ---> ef3b399cd918 09:29:32 Step 17/26 : WORKDIR / 09:29:32 ---> Running in 545d260fd483 09:29:32 Removing intermediate container 545d260fd483 09:29:32 ---> ea0b713e5726 09:29:32 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:29:32 ---> 1b662ebcaf30 09:29:32 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:29:32 ---> a7b5b2e2b51b 09:29:32 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:29:32 ---> eb8fb6fab78f 09:29:32 Step 21/26 : EXPOSE 59910 09:29:32 ---> Running in 8845eebc54c0 09:29:32 Removing intermediate container 8845eebc54c0 09:29:32 ---> 13474c32d7e8 09:29:32 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:29:32 ---> Running in e272d85a80f0 09:29:32 Removing intermediate container e272d85a80f0 09:29:32 ---> e5232189d730 09:29:32 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:29:33 ---> Running in 5afca7638cfa 09:29:33 Removing intermediate container 5afca7638cfa 09:29:33 ---> 865dd7281566 09:29:33 Step 24/26 : LABEL arch=arm64 09:29:33 ---> Running in a8f07ebd6159 09:29:33 Removing intermediate container a8f07ebd6159 09:29:33 ---> 5bdb9653454b 09:29:33 Step 25/26 : LABEL git_sha=cdea0f705998ce8fc5cfb0406a7289ad3f0d6493 09:29:33 ---> Running in 366c03910903 09:29:34 Removing intermediate container 366c03910903 09:29:34 ---> e91914f8b84e 09:29:34 Step 26/26 : LABEL version=0.0.0 09:29:34 ---> Running in d309d72f0739 09:29:34 Removing intermediate container d309d72f0739 09:29:34 ---> 6ceb1d2cf2f5 09:29:34 [Warning] One or more build-args [ARCH] were not consumed 09:29:34 Successfully built 6ceb1d2cf2f5 09:29:34 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 09:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:35 09:29:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:29:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:35 arm64: Pulling from edgex-lftools-log-publisher 09:29:35 8998bd30e6a1: Pulling fs layer 09:29:35 04944245beec: Pulling fs layer 09:29:35 699f458cf7ca: Pulling fs layer 09:29:35 765212b225bb: Pulling fs layer 09:29:35 f23df028b6ca: Pulling fs layer 09:29:35 d65c8cfc05b1: Pulling fs layer 09:29:35 2437ff75d9bd: Pulling fs layer 09:29:35 d65c8cfc05b1: Waiting 09:29:35 765212b225bb: Waiting 09:29:35 f23df028b6ca: Waiting 09:29:35 2437ff75d9bd: Waiting 09:29:35 04944245beec: Verifying Checksum 09:29:35 04944245beec: Download complete 09:29:35 765212b225bb: Verifying Checksum 09:29:35 765212b225bb: Download complete 09:29:35 f23df028b6ca: Verifying Checksum 09:29:35 f23df028b6ca: Download complete 09:29:36 d65c8cfc05b1: Verifying Checksum 09:29:36 d65c8cfc05b1: Download complete 09:29:36 699f458cf7ca: Verifying Checksum 09:29:36 699f458cf7ca: Download complete 09:29:36 8998bd30e6a1: Verifying Checksum 09:29:36 8998bd30e6a1: Download complete 09:29:38 2437ff75d9bd: Verifying Checksum 09:29:38 2437ff75d9bd: Download complete 09:29:40 8998bd30e6a1: Pull complete 09:29:41 04944245beec: Pull complete 09:29:42 699f458cf7ca: Pull complete 09:29:42 765212b225bb: Pull complete 09:29:43 f23df028b6ca: Pull complete 09:29:43 d65c8cfc05b1: Pull complete 09:29:59 2437ff75d9bd: Pull complete 09:29:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:29:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:29:59 prd-ubuntu20.04-docker-arm64-4c-16g-63583 does not seem to be running inside a container 09:29:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:30:02 $ docker top ba8bec2f81d1b154a9464e13574606ed1fd184d043d53074af736ade35268d38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:30:03 ---> job-cost.sh 09:30:03 lf-activate-venv: SKIPPING 09:30:03 INFO: No Stack... 09:30:03 INFO: Retrieving Pricing Info for: v3-standard-4 09:30:04 INFO: Archiving Costs [Pipeline] sh 09:30:05 + cat /w/workspace/device-gpio/3/archives/cost.csv 09:30:05 + cut -d, -f6 [Pipeline] lock 09:30:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] 09:30:05 Resource [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] did not exist. Created. 09:30:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:30:05 /w/workspace/device-gpio/3@tmp/durable-9acae7f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:30:06 + echo total: 0.10999999940395355 [Pipeline] stash 09:30:06 Warning: overwriting stash ‘stack-cost’ 09:30:06 Stashed 1 file(s) [Pipeline] } 09:30:06 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:30:06 $ docker stop --time=1 ba8bec2f81d1b154a9464e13574606ed1fd184d043d53074af736ade35268d38 09:30:08 $ docker rm -f ba8bec2f81d1b154a9464e13574606ed1fd184d043d53074af736ade35268d38 [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 09:30:08 provisioning config files... 09:30:08 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config7276079428933653532tmp [Pipeline] { [Pipeline] sh 09:30:09 + set +x 09:30:09 + curl -s https://codecov.io/bash 09:30:09 + bash -s -- 09:30:09 09:30:09 _____ _ 09:30:09 / ____| | | 09:30:09 | | ___ __| | ___ ___ _____ __ 09:30:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:30:09 | |___| (_) | (_| | __/ (_| (_) \ V / 09:30:09 \_____\___/ \__,_|\___|\___\___/ \_/ 09:30:09 Bash-1.0.6 09:30:09 09:30:09 09:30:09 ==> git version 2.25.1 found 09:30:09 ==> 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 09:30:09 Release-Date: 2020-01-08 09:30:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:30:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:30:09 ==> Jenkins CI detected. 09:30:09 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-36 09:30:09 project root: . 09:30:09 --> token set from env 09:30:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:30:09 ==> Running gcov in . (disable via -X gcov) 09:30:09 ==> Python coveragepy not found 09:30:09 ==> Searching for coverage reports in: 09:30:09 + . 09:30:09 -> Found 1 reports 09:30:09 ==> Detecting git/mercurial file structure 09:30:09 ==> Reading reports 09:30:09 + ./coverage.out bytes=10 09:30:09 ==> Appending adjustments 09:30:09 https://docs.codecov.io/docs/fixing-reports 09:30:09 + Found adjustments 09:30:09 ==> Gzipping contents 09:30:09 4.0K /tmp/codecov.4Kgl0M.gz 09:30:09 ==> Uploading reports 09:30:09 url: https://codecov.io 09:30:09 query: branch=PR-36&commit=d0291c35392230542ab1bdec802b1704d019761f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 09:30:09 -> Pinging Codecov 09:30:09 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=d0291c35392230542ab1bdec802b1704d019761f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 09:30:09 -> Uploading to 09:30:09 https://storage.googleapis.com/codecov/v4/raw/2022-05-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/d0291c35392230542ab1bdec802b1704d019761f/2032814e-aa6c-42a4-92f8-c0f41944ee0c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T093009Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e45046681c936645817a5e9e7ae33bfaf9009760220dee6a9df95e0fef96304d 09:30:09 % Total % Received % Xferd Average Speed Time Time Time Current 09:30:09 Dload Upload Total Spent Left Speed 09:30:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3617 --:--:-- --:--:-- --:--:-- 3617 09:30:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/d0291c35392230542ab1bdec802b1704d019761f [Pipeline] } 09:30:09 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 09:30:10 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-36/archives ] 09:30:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 09:30:10 total 16 09:30:10 drwxr-xr-x 3 root root 4096 May 13 09:22 . 09:30:10 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:22 .. 09:30:10 drwxr-xr-x 2 root root 4096 May 13 09:22 cost 09:30:10 -rw-r--r-- 1 root root 81 May 13 09:22 cost.csv 09:30:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-36/archives 09:30:10 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 09:30:10 total 16 09:30:10 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:22 . 09:30:10 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:22 .. 09:30:10 drwxr-xr-x 2 jenkins jenkins 4096 May 13 09:22 cost 09:30:10 -rw-r--r-- 1 jenkins jenkins 81 May 13 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:30:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:30:11 ---> package-listing.sh 09:30:11 ++ facter osfamily 09:30:11 ++ tr '[:upper:]' '[:lower:]' 09:30:12 + OS_FAMILY=debian 09:30:12 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-36 09:30:12 + START_PACKAGES=/tmp/packages_start.txt 09:30:12 + END_PACKAGES=/tmp/packages_end.txt 09:30:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:30:12 + PACKAGES=/tmp/packages_start.txt 09:30:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 09:30:12 + PACKAGES=/tmp/packages_end.txt 09:30:12 + case "${OS_FAMILY}" in 09:30:12 + dpkg -l 09:30:12 + grep '^ii' 09:30:12 + '[' -f /tmp/packages_start.txt ']' 09:30:12 + '[' -f /tmp/packages_end.txt ']' 09:30:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:30:12 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 09:30:12 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ 09:30:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ [Pipeline] echo 09:30:12 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 09:30:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:30:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:30:13 . [Pipeline] withDockerContainer 09:30:13 prd-ubuntu20.04-docker-8c-8g-63580 does not seem to be running inside a container 09:30:13 $ 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 09:30:13 $ docker top 877631c7ef37e4a9246533f1f1ecaaa9b64eb10ca1e01bee80c9e914dc13b2ce -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:13 + touch /tmp/pre-build-complete [Pipeline] sh 09:30:14 + mkdir -p /var/log/sysstat [Pipeline] sh 09:30:14 + ls /var/log/sa-host 09:30:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:14 provisioning config files... 09:30:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config4288143136344572110tmp [Pipeline] { [Pipeline] echo 09:30:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:30:14 ---> create-netrc.sh [Pipeline] } 09:30:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:30:15 ---> python-tools-install.sh [Pipeline] echo 09:30:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:30:15 ---> sudo-logs.sh 09:30:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:30:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:30:15 ---> job-cost.sh 09:30:15 lf-activate-venv: SKIPPING 09:30:15 DEBUG: total: 0.2199999988079071 09:30:15 INFO: Retrieving Stack Cost... 09:30:16 INFO: Retrieving Pricing Info for: v3-standard-8 09:30:16 INFO: Archiving Costs [Pipeline] echo 09:30:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:30:16 ---> logs-deploy.sh 09:30:16 lf-activate-venv: SKIPPING 09:30:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-36/3 09:30:16 INFO: archiving workspace using pattern(s): 09:30:17 Archives upload complete. 09:30:17 INFO: archiving logs to Nexus