Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9369f9608d64b15c9777934bfb76e5ace2fc64e8+e602fd7d654e8598d334cfcbfc0e6f43d27ef328 (86d0ee7329a66ab849c5ba8748f15bce73ce47a3) 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-ssh1474224910642466952.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-ssh14971913895085548541.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-33/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-33/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7315672527174352798.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-ssh5585510259104132534.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-33/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-33/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15879201109336967360.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-63582 in /w/workspace/edgexfoundry_device-gpio_PR-33 [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-33 # 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 9369f9608d64b15c9777934bfb76e5ace2fc64e8 Merge succeeded, producing efa79f27271e735d2916db8e898e3d82df727909 Checking out Revision efa79f27271e735d2916db8e898e3d82df727909 (PR-33) > 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/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9369f9608d64b15c9777934bfb76e5ace2fc64e8 # 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 efa79f27271e735d2916db8e898e3d82df727909 # timeout=10 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" > git rev-list --no-walk 9369f9608d64b15c9777934bfb76e5ace2fc64e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:21:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:21:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:21:18 ========================================================= 09:21:18 EdgeX Global Pipelines Version Info 09:21:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:21:19 ------------------- 09:21:19 stable info: 09:21:19 ------------------- 09:21:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:21:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:21:19 Message: update stable to v1.0.230 09:21:19 ------------------- 09:21:19 experimental info: 09:21:19 ------------------- 09:21:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:21:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:21:19 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:21:19 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-33 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-33 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-33 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = efa79f27271e735d2916db8e898e3d82df727909 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = efa79f2 [Pipeline] echo 09:21:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:20 provisioning config files... 09:21:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config2834390710338648698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:20 ---> docker-login.sh 09:21:20 nexus3.edgexfoundry.org:10001 09:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:20 Configure a credential helper to remove this warning. See 09:21:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:20 09:21:20 Login Succeeded 09:21:20 nexus3.edgexfoundry.org:10002 09:21:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:21 Configure a credential helper to remove this warning. See 09:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:21 09:21:21 Login Succeeded 09:21:21 nexus3.edgexfoundry.org:10003 09:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:21 Configure a credential helper to remove this warning. See 09:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:21 09:21:21 Login Succeeded 09:21:21 nexus3.edgexfoundry.org:10004 09:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:21 Configure a credential helper to remove this warning. See 09:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:21 09:21:21 Login Succeeded 09:21:21 docker.io 09:21:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:21 Configure a credential helper to remove this warning. See 09:21:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:21 09:21:21 Login Succeeded 09:21:21 ---> docker-login.sh ends [Pipeline] } 09:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:21:22 + git rev-list -1 --merges efa79f27271e735d2916db8e898e3d82df727909~1..efa79f27271e735d2916db8e898e3d82df727909 [Pipeline] echo 09:21:22 -----------> git rev-list -1 --merges efa79f27271e735d2916db8e898e3d82df727909~1..efa79f27271e735d2916db8e898e3d82df727909 efa79f27271e735d2916db8e898e3d82df727909 09:21:22 efa79f27271e735d2916db8e898e3d82df727909 [false] [Pipeline] sh 09:21:22 + git log --format=format:%s -1 efa79f27271e735d2916db8e898e3d82df727909 [Pipeline] echo 09:21:22 ========================================================= 09:21:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:21:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:22 + git log --format=format:%s -1 efa79f27271e735d2916db8e898e3d82df727909 [Pipeline] echo 09:21:22 [semverPrep] GIT_COMMIT: efa79f27271e735d2916db8e898e3d82df727909, Commit Message: Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD [Pipeline] echo 09:21:22 [semverPrep] This is not a build commit. [Pipeline] sh 09:21:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:21:23 + grep -v github /etc/ssh/ssh_known_hosts 09:21:23 + [ -e /tmp/ssh_known_hosts ] 09:21:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:21:23 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 09:21:23 tee -a /etc/ssh/ssh_known_hosts 09:21:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:21:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:21:23 09:21:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:21:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:21:23 latest: Pulling from edgex-devops/py-git-semver 09:21:23 1fe172e4850f: Pulling fs layer 09:21:23 caf521ccaac6: Pulling fs layer 09:21:23 3ead6fa29328: Pulling fs layer 09:21:23 5c2a1cbceb83: Pulling fs layer 09:21:23 a8d5f1318db7: Pulling fs layer 09:21:23 c427282e49a2: Pulling fs layer 09:21:23 1827001aaf11: Pulling fs layer 09:21:23 0714d37db230: Pulling fs layer 09:21:23 ac28cf19c067: Pulling fs layer 09:21:23 ca983d60f3e2: Pulling fs layer 09:21:23 9f894cec8388: Pulling fs layer 09:21:23 5c2a1cbceb83: Waiting 09:21:23 a8d5f1318db7: Waiting 09:21:23 1827001aaf11: Waiting 09:21:23 0714d37db230: Waiting 09:21:23 9f894cec8388: Waiting 09:21:23 ca983d60f3e2: Waiting 09:21:23 c427282e49a2: Waiting 09:21:23 caf521ccaac6: Verifying Checksum 09:21:23 caf521ccaac6: Download complete 09:21:23 5c2a1cbceb83: Verifying Checksum 09:21:23 5c2a1cbceb83: Download complete 09:21:23 a8d5f1318db7: Verifying Checksum 09:21:23 a8d5f1318db7: Download complete 09:21:24 c427282e49a2: Verifying Checksum 09:21:24 c427282e49a2: Download complete 09:21:24 3ead6fa29328: Verifying Checksum 09:21:24 3ead6fa29328: Download complete 09:21:24 0714d37db230: Verifying Checksum 09:21:24 0714d37db230: Download complete 09:21:24 ac28cf19c067: Download complete 09:21:24 ca983d60f3e2: Download complete 09:21:24 9f894cec8388: Download complete 09:21:24 1fe172e4850f: Verifying Checksum 09:21:24 1fe172e4850f: Download complete 09:21:24 1827001aaf11: Verifying Checksum 09:21:24 1827001aaf11: Download complete 09:21:25 1fe172e4850f: Pull complete 09:21:25 caf521ccaac6: Pull complete 09:21:26 3ead6fa29328: Pull complete 09:21:26 5c2a1cbceb83: Pull complete 09:21:26 a8d5f1318db7: Pull complete 09:21:26 c427282e49a2: Pull complete 09:21:28 1827001aaf11: Pull complete 09:21:28 0714d37db230: Pull complete 09:21:28 ac28cf19c067: Pull complete 09:21:28 ca983d60f3e2: Pull complete 09:21:28 9f894cec8388: Pull complete 09:21:28 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:21:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:21:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:21:28 prd-ubuntu20.04-docker-8c-8g-63582 does not seem to be running inside a container 09:21:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:21:29 $ docker top 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 -eo pid,comm 09:21:30 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:21:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:30 [ssh-agent] Looking for ssh-agent implementation... 09:21:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:30 $ docker exec 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 ssh-agent 09:21:30 SSH_AUTH_SOCK=/tmp/ssh-HB34nLPJ7bzk/agent.33 09:21:30 SSH_AGENT_PID=39 09:21:30 Running ssh-add (command line suppressed) 09:21:30 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_6107096605315110478.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_6107096605315110478.key) 09:21:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:30 + git tag --points-at HEAD [Pipeline] } 09:21:30 $ docker exec --env ******** --env ******** 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 ssh-agent -k 09:21:30 unset SSH_AUTH_SOCK; 09:21:30 unset SSH_AGENT_PID; 09:21:30 echo Agent pid 39 killed; 09:21:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:21:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:30 [ssh-agent] Looking for ssh-agent implementation... 09:21:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:31 $ docker exec 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 ssh-agent 09:21:31 SSH_AUTH_SOCK=/tmp/ssh-3GcSNTH9g3Tm/agent.72 09:21:31 SSH_AGENT_PID=78 09:21:31 Running ssh-add (command line suppressed) 09:21:31 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_1199572868857672609.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_1199572868857672609.key) 09:21:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:31 + git semver init 09:21:31 2022-05-13 09:21:31,794 [run_init] DEBUG init version:0.0.0 force:False 09:21:31 2022-05-13 09:21:31,794 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver 09:21:31 2022-05-13 09:21:31,795 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-33/.semver 09:21:31 2022-05-13 09:21:31,795 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-33/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33, universal_newlines=False, shell=None, istream=None) 09:21:32 2022-05-13 09:21:32,713 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.git/info/exclude 09:21:32 2022-05-13 09:21:32,713 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 with force:False 09:21:32 2022-05-13 09:21:32,713 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 09:21:32 2022-05-13 09:21:32,717 [execute] INFO git cat-file --batch-check 09:21:32 2022-05-13 09:21:32,718 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) 09:21:32 2022-05-13 09:21:32,725 [execute] INFO git cat-file --batch 09:21:32 2022-05-13 09:21:32,725 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) 09:21:32 2022-05-13 09:21:32,731 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 09:21:32 0.0.0 [Pipeline] } 09:21:32 $ docker exec --env ******** --env ******** 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 ssh-agent -k 09:21:32 unset SSH_AUTH_SOCK; 09:21:32 unset SSH_AGENT_PID; 09:21:32 echo Agent pid 78 killed; 09:21:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:33 + git semver [Pipeline] } 09:21:33 $ docker stop --time=1 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 09:21:34 $ docker rm -f 27f28c339bae7e1358a9296969c795d638ac097e76d5342698557af1c7555ab6 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:35 Stashed 1 file(s) [Pipeline] echo 09:21:35 [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:21:35 provisioning config files... 09:21:35 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config5076158715336773028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:35 ---> docker-login.sh 09:21:35 nexus3.edgexfoundry.org:10001 09:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:35 Configure a credential helper to remove this warning. See 09:21:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:35 09:21:35 Login Succeeded 09:21:35 nexus3.edgexfoundry.org:10002 09:21:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:36 Configure a credential helper to remove this warning. See 09:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:36 09:21:36 Login Succeeded 09:21:36 nexus3.edgexfoundry.org:10003 09:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:36 Configure a credential helper to remove this warning. See 09:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:36 09:21:36 Login Succeeded 09:21:36 nexus3.edgexfoundry.org:10004 09:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:36 Configure a credential helper to remove this warning. See 09:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:36 09:21:36 Login Succeeded 09:21:36 docker.io 09:21:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:36 Configure a credential helper to remove this warning. See 09:21:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:36 09:21:36 Login Succeeded 09:21:36 ---> docker-login.sh ends [Pipeline] } 09:21:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:36 ========================================================= 09:21:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:21:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:37 + 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:21:37 Sending build context to Docker daemon 15.66MB 09:21:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:21:37 Step 2/12 : FROM ${BASE} AS builder 09:21:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:37 59bf1c3509f3: Pulling fs layer 09:21:37 666ba61612fd: Pulling fs layer 09:21:37 8ed8ca486205: Pulling fs layer 09:21:37 4fe6c5a15a65: Pulling fs layer 09:21:37 22a0e8bec74d: Pulling fs layer 09:21:37 ca2b28591e48: Pulling fs layer 09:21:37 a51346096db8: Pulling fs layer 09:21:37 daebc70d1ce1: Pulling fs layer 09:21:37 0e18a0eac166: Pulling fs layer 09:21:37 22a0e8bec74d: Waiting 09:21:37 a51346096db8: Waiting 09:21:37 daebc70d1ce1: Waiting 09:21:37 4fe6c5a15a65: Waiting 09:21:37 8ed8ca486205: Verifying Checksum 09:21:37 8ed8ca486205: Download complete 09:21:37 666ba61612fd: Verifying Checksum 09:21:37 666ba61612fd: Download complete 09:21:37 22a0e8bec74d: Verifying Checksum 09:21:37 22a0e8bec74d: Download complete 09:21:37 59bf1c3509f3: Verifying Checksum 09:21:37 59bf1c3509f3: Download complete 09:21:37 ca2b28591e48: Verifying Checksum 09:21:37 ca2b28591e48: Download complete 09:21:37 a51346096db8: Verifying Checksum 09:21:37 a51346096db8: Download complete 09:21:37 daebc70d1ce1: Verifying Checksum 09:21:37 daebc70d1ce1: Download complete 09:21:37 59bf1c3509f3: Pull complete 09:21:37 666ba61612fd: Pull complete 09:21:37 8ed8ca486205: Pull complete 09:21:37 0e18a0eac166: Verifying Checksum 09:21:37 0e18a0eac166: Download complete 09:21:38 4fe6c5a15a65: Verifying Checksum 09:21:38 4fe6c5a15a65: Download complete 09:21:42 4fe6c5a15a65: Pull complete 09:21:42 22a0e8bec74d: Pull complete 09:21:42 ca2b28591e48: Pull complete 09:21:42 a51346096db8: Pull complete 09:21:42 daebc70d1ce1: Pull complete 09:21:44 0e18a0eac166: Pull complete 09:21:44 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:21:44 ---> f018257e8ee9 09:21:44 Step 3/12 : ARG MAKE="make build" 09:21:45 ---> Running in 1c0ead40bdbe 09:21:45 Removing intermediate container 1c0ead40bdbe 09:21:45 ---> fa9c1def7aef 09:21:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:45 ---> Running in 96f4bce3e462 09:21:45 Removing intermediate container 96f4bce3e462 09:21:45 ---> ca55cb0d3d31 09:21:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:21:45 ---> Running in e9f4ce9abd74 09:21:45 Removing intermediate container e9f4ce9abd74 09:21:45 ---> 67cea299a4aa 09:21:45 Step 6/12 : WORKDIR /device-gpio 09:21:45 ---> Running in 97c34831c1ad 09:21:45 Removing intermediate container 97c34831c1ad 09:21:45 ---> ca9504e7b528 09:21:45 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:45 ---> Running in cd2fd55267de 09:21:46 Removing intermediate container cd2fd55267de 09:21:46 ---> b6881aab99c7 09:21:46 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:46 ---> Running in 7a97700eff8b 09:21:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:21:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:21:47 (2/4) Installing libedit (20210910.3.1-r0) 09:21:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:21:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:21:48 Executing busybox-1.34.1-r3.trigger 09:21:48 OK: 224 MiB in 56 packages 09:21:48 Removing intermediate container 7a97700eff8b 09:21:48 ---> 5c102525774d 09:21:48 Step 9/12 : COPY go.mod vendor* ./ 09:21:48 ---> 636ede56f28c 09:21:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:48 ---> Running in ca06dee79e0f 09:21:50 Still waiting to schedule task 09:21:50 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63583’ is offline 09:22:06 Removing intermediate container ca06dee79e0f 09:22:06 ---> 752577f3fc91 09:22:06 Step 11/12 : COPY . . 09:22:06 ---> 6c2ab60358fe 09:22:06 Step 12/12 : RUN ${MAKE} 09:22:06 ---> Running in a24a739c8a60 09:22:06 noop 09:22:06 Removing intermediate container a24a739c8a60 09:22:06 ---> 7b0bdbf55751 09:22:06 Successfully built 7b0bdbf55751 09:22:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:22:07 + docker inspect -f . ci-base-image-x86_64 09:22:07 . [Pipeline] withDockerContainer 09:22:07 prd-ubuntu20.04-docker-8c-8g-63582 does not seem to be running inside a container 09:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** ci-base-image-x86_64 cat 09:22:07 $ docker top fd34ec5a6b77673904348cf50fb55bc229111e6c508dbddc22b3f499cae8504c -eo pid,comm [Pipeline] { [Pipeline] sh 09:22:08 + go version 09:22:08 go version go1.17.6 linux/amd64 [Pipeline] } 09:22:08 $ docker stop --time=1 fd34ec5a6b77673904348cf50fb55bc229111e6c508dbddc22b3f499cae8504c 09:22:09 $ docker rm -f fd34ec5a6b77673904348cf50fb55bc229111e6c508dbddc22b3f499cae8504c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:22:09 + docker inspect -f . ci-base-image-x86_64 09:22:09 . [Pipeline] withDockerContainer 09:22:09 prd-ubuntu20.04-docker-8c-8g-63582 does not seem to be running inside a container 09:22:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** ci-base-image-x86_64 cat 09:22:10 $ docker top 99b9b7b27c6a20daafdf2967c6b1fb6c0e1221febbb27ce0c9bce36c32b7b516 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:22:10 + make test 09:22:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:22:10 ? github.com/edgexfoundry/device-gpio [no test files] 09:22:21 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:22:21 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:22:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:22:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:22:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:22:29 ./bin/test-attribution-txt.sh [Pipeline] echo 09:22:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:22:29 $ docker stop --time=1 99b9b7b27c6a20daafdf2967c6b1fb6c0e1221febbb27ce0c9bce36c32b7b516 09:22:31 $ docker rm -f 99b9b7b27c6a20daafdf2967c6b1fb6c0e1221febbb27ce0c9bce36c32b7b516 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:22:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:22:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:33 + ls -al . 09:22:33 total 172 09:22:33 drwxrwxr-x 9 jenkins jenkins 4096 May 13 09:22 . 09:22:33 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:21 .. 09:22:33 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:21 .dockerignore 09:22:33 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:21 .git 09:22:33 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:21 .github 09:22:33 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:21 .gitignore 09:22:33 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:21 .golangci.yml 09:22:33 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:21 .semver 09:22:33 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:21 Attribution.txt 09:22:33 -rw-rw-r-- 1 jenkins jenkins 3081 May 13 09:21 CHANGELOG.md 09:22:33 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:21 Dockerfile 09:22:33 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:21 GOVERNANCE.md 09:22:33 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:21 Jenkinsfile 09:22:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:21 LICENSE 09:22:33 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:21 Makefile 09:22:33 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:21 OWNERS.md 09:22:33 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:21 README.md 09:22:33 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:21 VERSION 09:22:33 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:21 bin 09:22:33 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:21 cmd 09:22:33 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:22 coverage.out 09:22:33 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:21 go.mod 09:22:33 -rw-rw-r-- 1 jenkins jenkins 47228 May 13 09:21 go.sum 09:22:33 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:21 internal 09:22:33 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:21 snap 09:22:33 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:21 version.go [Pipeline] isUnix [Pipeline] sh 09:22:33 + docker build -t device-gpio -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=efa79f27271e735d2916db8e898e3d82df727909 --label arch=amd64 --label version=0.0.0 . 09:22:33 Sending build context to Docker daemon 15.66MB 09:22:33 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:22:33 Step 2/26 : FROM ${BASE} AS builder 09:22:33 ---> 7b0bdbf55751 09:22:33 Step 3/26 : ARG MAKE="make build" 09:22:33 ---> Running in 09dc9154f681 09:22:33 Removing intermediate container 09dc9154f681 09:22:33 ---> 19f510c00c23 09:22:33 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:33 ---> Running in 1703d9e7e7a3 09:22:33 Removing intermediate container 1703d9e7e7a3 09:22:33 ---> 3a3a9d2ade09 09:22:33 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:22:33 ---> Running in c28779c7a61a 09:22:34 Removing intermediate container c28779c7a61a 09:22:34 ---> 29e2be7e7c22 09:22:34 Step 6/26 : WORKDIR /device-gpio 09:22:34 ---> Running in 0201a3115ad7 09:22:34 Removing intermediate container 0201a3115ad7 09:22:34 ---> 6290d7d8aaaf 09:22:34 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:34 ---> Running in e2e0d576c9df 09:22:35 Removing intermediate container e2e0d576c9df 09:22:35 ---> 3e6d83117f8e 09:22:35 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:35 ---> Running in b648bb52330d 09:22:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:36 OK: 224 MiB in 56 packages 09:22:36 Removing intermediate container b648bb52330d 09:22:36 ---> 338f6f501ba2 09:22:36 Step 9/26 : COPY go.mod vendor* ./ 09:22:36 ---> c2ead70ac838 09:22:36 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:36 ---> Running in 6c2ce2cd1677 09:22:37 Removing intermediate container 6c2ce2cd1677 09:22:37 ---> 9d9cd6683ccc 09:22:37 Step 11/26 : COPY . . 09:22:37 ---> 85bc264aa6f4 09:22:37 Step 12/26 : RUN ${MAKE} 09:22:37 ---> Running in ea2ed73dbf41 09:22:38 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:23:00 Removing intermediate container ea2ed73dbf41 09:23:00 ---> 78a31751c292 09:23:00 Step 13/26 : FROM alpine:3.15 09:23:00 3.15: Pulling from library/alpine 09:23:00 df9b9388f04a: Pulling fs layer 09:23:00 df9b9388f04a: Download complete 09:23:00 df9b9388f04a: Pull complete 09:23:00 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:23:00 Status: Downloaded newer image for alpine:3.15 09:23:00 ---> 0ac33e5f5afa 09:23:00 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:23:00 ---> Running in b347334857c4 09:23:00 Removing intermediate container b347334857c4 09:23:00 ---> 8b329ff5eada 09:23:00 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:23:00 ---> Running in ccae3da2a9a8 09:23:00 Removing intermediate container ccae3da2a9a8 09:23:00 ---> 55a2af7390fc 09:23:00 Step 16/26 : RUN apk add --update --no-cache zeromq 09:23:00 ---> Running in 0079c73cc389 09:23:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:23:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:23:00 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:23:01 (2/5) Installing libsodium (1.0.18-r0) 09:23:01 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:23:01 (4/5) Installing libzmq (4.3.4-r0) 09:23:01 (5/5) Installing zeromq (4.3.4-r0) 09:23:01 Executing busybox-1.34.1-r5.trigger 09:23:01 OK: 8 MiB in 19 packages 09:23:01 Removing intermediate container 0079c73cc389 09:23:01 ---> fdadc425a98d 09:23:01 Step 17/26 : WORKDIR / 09:23:02 ---> Running in 6c21e821ccef 09:23:02 Removing intermediate container 6c21e821ccef 09:23:02 ---> 5c0fd7092f7f 09:23:02 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:23:02 ---> d82a9cd22007 09:23:02 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:23:02 ---> b6cda61b540e 09:23:02 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:23:03 ---> 9c40b7c02bef 09:23:03 Step 21/26 : EXPOSE 59910 09:23:03 ---> Running in e05fcef7cc1f 09:23:03 Removing intermediate container e05fcef7cc1f 09:23:03 ---> 77ebf3d7d32e 09:23:03 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:23:04 ---> Running in be9203e31d5c 09:23:04 Removing intermediate container be9203e31d5c 09:23:04 ---> 6b8b55d7374b 09:23:04 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:23:04 ---> Running in f5d15b8affc2 09:23:04 Removing intermediate container f5d15b8affc2 09:23:04 ---> b2f719978bef 09:23:04 Step 24/26 : LABEL arch=amd64 09:23:04 ---> Running in f7faf3999875 09:23:04 Removing intermediate container f7faf3999875 09:23:04 ---> bb0cc092e28c 09:23:04 Step 25/26 : LABEL git_sha=efa79f27271e735d2916db8e898e3d82df727909 09:23:04 ---> Running in 9a01f106531f 09:23:05 Removing intermediate container 9a01f106531f 09:23:05 ---> d335da40b70f 09:23:05 Step 26/26 : LABEL version=0.0.0 09:23:05 ---> Running in 8d1dde5441fa 09:23:05 Removing intermediate container 8d1dde5441fa 09:23:05 ---> 896b576ff873 09:23:05 [Warning] One or more build-args [ARCH] were not consumed 09:23:05 Successfully built 896b576ff873 09:23:05 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:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:06 09:23:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:23:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:06 latest: Pulling from edgex-lftools-log-publisher 09:23:06 5eb5b503b376: Pulling fs layer 09:23:06 5c69ac0246d0: Pulling fs layer 09:23:06 ec43610c2a17: Pulling fs layer 09:23:06 3a2ae6a8a46f: Pulling fs layer 09:23:06 33b1e0a273af: Pulling fs layer 09:23:06 5d3b04190fa2: Pulling fs layer 09:23:06 2f39f015ded8: Pulling fs layer 09:23:06 3a2ae6a8a46f: Waiting 09:23:06 33b1e0a273af: Waiting 09:23:06 5d3b04190fa2: Waiting 09:23:06 2f39f015ded8: Waiting 09:23:06 5c69ac0246d0: Download complete 09:23:06 3a2ae6a8a46f: Verifying Checksum 09:23:06 3a2ae6a8a46f: Download complete 09:23:06 33b1e0a273af: Verifying Checksum 09:23:06 33b1e0a273af: Download complete 09:23:06 5d3b04190fa2: Verifying Checksum 09:23:06 5d3b04190fa2: Download complete 09:23:06 ec43610c2a17: Verifying Checksum 09:23:06 ec43610c2a17: Download complete 09:23:06 5eb5b503b376: Verifying Checksum 09:23:06 5eb5b503b376: Download complete 09:23:07 2f39f015ded8: Download complete 09:23:07 5eb5b503b376: Pull complete 09:23:08 5c69ac0246d0: Pull complete 09:23:08 ec43610c2a17: Pull complete 09:23:08 3a2ae6a8a46f: Pull complete 09:23:08 33b1e0a273af: Pull complete 09:23:08 5d3b04190fa2: Pull complete 09:23:13 2f39f015ded8: Pull complete 09:23:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:23:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:23:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:23:13 prd-ubuntu20.04-docker-8c-8g-63582 does not seem to be running inside a container 09:23:13 $ 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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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-lftools-log-publisher:latest cat 09:23:15 $ docker top c0218911e21b1b1a67fe527eb025049a60cb00e98cb9a14498dd58b45b70f11f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:15 ---> job-cost.sh 09:23:15 lf-activate-venv: SKIPPING 09:23:15 INFO: No Stack... 09:23:15 INFO: Retrieving Pricing Info for: v3-standard-8 09:23:16 INFO: Archiving Costs [Pipeline] sh 09:23:16 + cat /w/workspace/edgexfoundry_device-gpio_PR-33/archives/cost.csv 09:23:16 + cut -d, -f6 [Pipeline] lock 09:23:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] 09:23:16 Resource [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] did not exist. Created. 09:23:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:23:16 + echo total: 0.2199999988079071 [Pipeline] stash 09:23:16 Stashed 1 file(s) [Pipeline] } 09:23:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:23:16 $ docker stop --time=1 c0218911e21b1b1a67fe527eb025049a60cb00e98cb9a14498dd58b45b70f11f 09:23:18 $ docker rm -f c0218911e21b1b1a67fe527eb025049a60cb00e98cb9a14498dd58b45b70f11f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:24:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63585 in /w/workspace/edgexfoundry_device-gpio_PR-33 [Pipeline] { [Pipeline] ws 09:24:37 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 09:24:37 The recommended git tool is: git 09:24:44 using credential edgex-jenkins-ssh 09:24:44 Cloning the remote Git repository 09:24:44 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:24:44 > git init /w/workspace/device-gpio/3 # timeout=10 09:24:44 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:24:44 > git --version # timeout=10 09:24:44 > git --version # 'git version 2.25.1' 09:24:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:24:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:24:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:24:46 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:24:46 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:24:46 using GIT_SSH to set credentials SSH Credentials for GitHub 09:24:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:24:46 Merging remotes/origin/main commit e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit 9369f9608d64b15c9777934bfb76e5ace2fc64e8 09:24:47 Merge succeeded, producing c69da45861d7fc33fb7192663e70f51f6792c813 09:24:47 Checking out Revision c69da45861d7fc33fb7192663e70f51f6792c813 (PR-33) 09:24:46 > git config core.sparsecheckout # timeout=10 09:24:46 > git checkout -f 9369f9608d64b15c9777934bfb76e5ace2fc64e8 # timeout=10 09:24:46 > git remote # timeout=10 09:24:46 > git config --get remote.origin.url # timeout=10 09:24:47 using GIT_SSH to set credentials SSH Credentials for GitHub 09:24:47 > git merge e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 09:24:47 > git rev-parse HEAD^{commit} # timeout=10 09:24:47 > git config core.sparsecheckout # timeout=10 09:24:47 > git checkout -f c69da45861d7fc33fb7192663e70f51f6792c813 # timeout=10 09:24:51 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" 09:24:51 > git rev-list --no-walk 9369f9608d64b15c9777934bfb76e5ace2fc64e8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:24:52 % Total % Received % Xferd Average Speed Time Time Time Current 09:24:52 Dload Upload Total Spent Left Speed 09:24:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11929 100 11929 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh 09:24:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:24:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:24:53 + sudo tee /etc/docker/daemon.new 09:24:53 { 09:24:53 "registry-mirrors": [ 09:24:53 "https://nexus3.edgexfoundry.org:10001" 09:24:53 ], 09:24:53 "bip": "10.250.0.254/24", 09:24:53 "hosts": [ 09:24:53 "tcp://0.0.0.0:5555", 09:24:53 "unix:///var/run/docker.sock" 09:24:53 ], 09:24:53 "mtu": 1458, 09:24:53 "selinux-enabled": true, 09:24:53 "seccomp-profile": "/etc/docker/seccomp.json" 09:24:53 } [Pipeline] sh 09:24:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:24:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:12 provisioning config files... 09:25:12 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config1811320950295087733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:12 ---> docker-login.sh 09:25:12 nexus3.edgexfoundry.org:10001 09:25:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:13 Configure a credential helper to remove this warning. See 09:25:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:13 09:25:13 Login Succeeded 09:25:13 nexus3.edgexfoundry.org:10002 09:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:14 Configure a credential helper to remove this warning. See 09:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:14 09:25:14 Login Succeeded 09:25:14 nexus3.edgexfoundry.org:10003 09:25:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:14 Configure a credential helper to remove this warning. See 09:25:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:14 09:25:14 Login Succeeded 09:25:14 nexus3.edgexfoundry.org:10004 09:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:15 Configure a credential helper to remove this warning. See 09:25:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:15 09:25:15 Login Succeeded 09:25:15 docker.io 09:25:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:25:16 Configure a credential helper to remove this warning. See 09:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:25:16 09:25:16 Login Succeeded 09:25:16 ---> docker-login.sh ends [Pipeline] } 09:25:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:25:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:25:16 ========================================================= 09:25:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:25:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:25:16 + 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:25:17 Sending build context to Docker daemon 7.904MB 09:25:17 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:25:17 Step 2/12 : FROM ${BASE} AS builder 09:25:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:25:17 9b3977197b4f: Pulling fs layer 09:25:17 1a89e8eeedd5: Pulling fs layer 09:25:17 94645a83ff95: Pulling fs layer 09:25:17 3f3a8bcf1eab: Pulling fs layer 09:25:17 0c92f367c5e7: Pulling fs layer 09:25:17 3096ccb668a1: Pulling fs layer 09:25:17 e8cf19c19ddd: Pulling fs layer 09:25:17 a4caa8a26152: Pulling fs layer 09:25:17 3096ccb668a1: Waiting 09:25:17 e8cf19c19ddd: Waiting 09:25:17 3f3a8bcf1eab: Waiting 09:25:17 a4caa8a26152: Waiting 09:25:17 0c92f367c5e7: Waiting 09:25:17 94645a83ff95: Verifying Checksum 09:25:17 94645a83ff95: Download complete 09:25:17 1a89e8eeedd5: Verifying Checksum 09:25:17 1a89e8eeedd5: Download complete 09:25:17 0c92f367c5e7: Verifying Checksum 09:25:17 0c92f367c5e7: Download complete 09:25:17 3096ccb668a1: Verifying Checksum 09:25:17 3096ccb668a1: Download complete 09:25:17 9b3977197b4f: Download complete 09:25:17 e8cf19c19ddd: Verifying Checksum 09:25:17 e8cf19c19ddd: Download complete 09:25:18 9b3977197b4f: Pull complete 09:25:19 1a89e8eeedd5: Pull complete 09:25:19 94645a83ff95: Pull complete 09:25:19 a4caa8a26152: Verifying Checksum 09:25:19 a4caa8a26152: Download complete 09:25:20 3f3a8bcf1eab: Download complete 09:25:32 3f3a8bcf1eab: Pull complete 09:25:32 0c92f367c5e7: Pull complete 09:25:32 3096ccb668a1: Pull complete 09:25:32 e8cf19c19ddd: Pull complete 09:25:39 a4caa8a26152: Pull complete 09:25:39 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:25:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:25:39 ---> 725f1c02e7f9 09:25:39 Step 3/12 : ARG MAKE="make build" 09:25:39 ---> Running in ff0a43f86f76 09:25:40 Removing intermediate container ff0a43f86f76 09:25:40 ---> 0ffd28f20ddf 09:25:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:40 ---> Running in cbd614a4b9c2 09:25:40 Removing intermediate container cbd614a4b9c2 09:25:40 ---> 55a36c3f5cba 09:25:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:25:40 ---> Running in 684e58a216ec 09:25:41 Removing intermediate container 684e58a216ec 09:25:41 ---> bf43fb2bea9a 09:25:41 Step 6/12 : WORKDIR /device-gpio 09:25:41 ---> Running in ab6e1d70f52c 09:25:41 Removing intermediate container ab6e1d70f52c 09:25:41 ---> 607ffb87aa80 09:25:41 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:41 ---> Running in 379b187e199d 09:25:44 Removing intermediate container 379b187e199d 09:25:44 ---> 627619a77f4c 09:25:44 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:44 ---> Running in 9c18d0f5443a 09:25:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:25:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:25:47 (2/4) Installing libedit (20210910.3.1-r0) 09:25:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:25:47 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:25:47 Executing busybox-1.34.1-r3.trigger 09:25:47 OK: 224 MiB in 56 packages 09:25:48 Removing intermediate container 9c18d0f5443a 09:25:48 ---> 9e04ad20fe38 09:25:48 Step 9/12 : COPY go.mod vendor* ./ 09:25:48 ---> 54d81116a187 09:25:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:49 ---> Running in b5ab20650b15 09:26:57 Removing intermediate container b5ab20650b15 09:26:57 ---> e5d2904fe519 09:26:57 Step 11/12 : COPY . . 09:26:57 ---> f03ae5f64b6a 09:26:57 Step 12/12 : RUN ${MAKE} 09:26:57 ---> Running in ef20ee50d45e 09:26:57 noop 09:26:57 Removing intermediate container ef20ee50d45e 09:26:57 ---> 1cfef16352ec 09:26:57 Successfully built 1cfef16352ec 09:26:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:26:57 + docker inspect -f . ci-base-image-arm64 09:26:57 . [Pipeline] withDockerContainer 09:26:57 prd-ubuntu20.04-docker-arm64-4c-16g-63585 does not seem to be running inside a container 09:26:58 $ 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 ******** ci-base-image-arm64 cat 09:26:59 $ docker top eeacbe44c9e63738d2bf022177f30932e18a6cf37d81e7ed8c650b7c8f81a11a -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:00 + go version 09:27:00 go version go1.17.6 linux/arm64 [Pipeline] } 09:27:00 $ docker stop --time=1 eeacbe44c9e63738d2bf022177f30932e18a6cf37d81e7ed8c650b7c8f81a11a 09:27:02 $ docker rm -f eeacbe44c9e63738d2bf022177f30932e18a6cf37d81e7ed8c650b7c8f81a11a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:27:02 + docker inspect -f . ci-base-image-arm64 09:27:02 . [Pipeline] withDockerContainer 09:27:03 prd-ubuntu20.04-docker-arm64-4c-16g-63585 does not seem to be running inside a container 09:27:03 $ 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 ******** ci-base-image-arm64 cat 09:27:04 $ docker top 3569fa2b700e7ae9591cc61d6b2bcf2fa7b1c74d36d3f939b286964a9e1e5de8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:27:05 + make test 09:27:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:27:07 ? github.com/edgexfoundry/device-gpio [no test files] 09:28:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:28:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:28:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:28:44 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:29:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:29:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:29:02 ./bin/test-attribution-txt.sh [Pipeline] echo 09:29:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:29:04 $ docker stop --time=1 3569fa2b700e7ae9591cc61d6b2bcf2fa7b1c74d36d3f939b286964a9e1e5de8 09:29:06 $ docker rm -f 3569fa2b700e7ae9591cc61d6b2bcf2fa7b1c74d36d3f939b286964a9e1e5de8 [Pipeline] // withDockerContainer [Pipeline] sh 09:29:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:29:07 Warning: overwriting stash ‘coverage-report’ 09:29:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:29:08 + ls -al . 09:29:08 total 168 09:29:08 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:29 . 09:29:08 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:24 .. 09:29:08 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:24 .dockerignore 09:29:08 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:24 .git 09:29:08 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:24 .github 09:29:08 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:24 .gitignore 09:29:08 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:24 .golangci.yml 09:29:08 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:24 Attribution.txt 09:29:08 -rw-rw-r-- 1 jenkins jenkins 3081 May 13 09:24 CHANGELOG.md 09:29:08 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:24 Dockerfile 09:29:08 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:24 GOVERNANCE.md 09:29:08 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:24 Jenkinsfile 09:29:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:24 LICENSE 09:29:08 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:24 Makefile 09:29:08 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:24 OWNERS.md 09:29:08 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:24 README.md 09:29:08 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:21 VERSION 09:29:08 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:24 bin 09:29:08 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:24 cmd 09:29:08 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:27 coverage.out 09:29:08 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:24 go.mod 09:29:08 -rw-rw-r-- 1 jenkins jenkins 47228 May 13 09:24 go.sum 09:29:08 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:24 internal 09:29:08 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:24 snap 09:29:08 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:24 version.go [Pipeline] isUnix [Pipeline] sh 09:29:09 + 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=c69da45861d7fc33fb7192663e70f51f6792c813 --label arch=arm64 --label version=0.0.0 . 09:29:09 Sending build context to Docker daemon 7.905MB 09:29:09 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:29:09 Step 2/26 : FROM ${BASE} AS builder 09:29:09 ---> 1cfef16352ec 09:29:09 Step 3/26 : ARG MAKE="make build" 09:29:09 ---> Running in df41bdce963c 09:29:10 Removing intermediate container df41bdce963c 09:29:10 ---> 8aeede1dee5c 09:29:10 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:29:10 ---> Running in f7b249f95065 09:29:10 Removing intermediate container f7b249f95065 09:29:10 ---> 432276328371 09:29:10 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:29:10 ---> Running in 7ba414cdda50 09:29:10 Removing intermediate container 7ba414cdda50 09:29:10 ---> 3432e28a2318 09:29:10 Step 6/26 : WORKDIR /device-gpio 09:29:10 ---> Running in 6230997d0573 09:29:11 Removing intermediate container 6230997d0573 09:29:11 ---> 62e3210fb459 09:29:11 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:29:11 ---> Running in 81e1089a3178 09:29:13 Removing intermediate container 81e1089a3178 09:29:13 ---> e41b7e394fb5 09:29:13 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:29:13 ---> Running in 248ba543a281 09:29:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:29:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:29:15 OK: 224 MiB in 56 packages 09:29:16 Removing intermediate container 248ba543a281 09:29:16 ---> 1c95afb6e4c8 09:29:16 Step 9/26 : COPY go.mod vendor* ./ 09:29:17 ---> a749fa9b53cd 09:29:17 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:29:17 ---> Running in 91ae2358a4b7 09:29:19 Removing intermediate container 91ae2358a4b7 09:29:19 ---> 926a2c579142 09:29:19 Step 11/26 : COPY . . 09:29:20 ---> faf3bbdf620b 09:29:20 Step 12/26 : RUN ${MAKE} 09:29:20 ---> Running in e4f58d8fa868 09:29:21 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:31:28 Removing intermediate container e4f58d8fa868 09:31:28 ---> 759196acb1bd 09:31:28 Step 13/26 : FROM alpine:3.15 09:31:28 3.15: Pulling from library/alpine 09:31:28 9981e73032c8: Pulling fs layer 09:31:28 9981e73032c8: Verifying Checksum 09:31:28 9981e73032c8: Download complete 09:31:28 9981e73032c8: Pull complete 09:31:28 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:31:28 Status: Downloaded newer image for alpine:3.15 09:31:28 ---> 3fb3c9af89a9 09:31:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:31:28 ---> Running in 6a0cd63bf008 09:31:28 Removing intermediate container 6a0cd63bf008 09:31:28 ---> cf0efa94ef6d 09:31:28 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:28 ---> Running in 1aa3fa4a6009 09:31:29 Removing intermediate container 1aa3fa4a6009 09:31:29 ---> e571dded75e2 09:31:29 Step 16/26 : RUN apk add --update --no-cache zeromq 09:31:29 ---> Running in 0d244c6fdfe0 09:31:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:31:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:31:31 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:31:32 (2/5) Installing libsodium (1.0.18-r0) 09:31:32 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:31:32 (4/5) Installing libzmq (4.3.4-r0) 09:31:32 (5/5) Installing zeromq (4.3.4-r0) 09:31:32 Executing busybox-1.34.1-r5.trigger 09:31:32 OK: 8 MiB in 19 packages 09:31:33 Removing intermediate container 0d244c6fdfe0 09:31:33 ---> 7d70fbd2e6a6 09:31:33 Step 17/26 : WORKDIR / 09:31:33 ---> Running in e553d90d7c4d 09:31:33 Removing intermediate container e553d90d7c4d 09:31:33 ---> ba422935a41a 09:31:33 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:31:34 ---> 6efdb48eb194 09:31:34 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:31:34 ---> 3c4fa97cac90 09:31:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:31:36 ---> 5a6a97d0fc02 09:31:36 Step 21/26 : EXPOSE 59910 09:31:36 ---> Running in 8e08ffebe282 09:31:36 Removing intermediate container 8e08ffebe282 09:31:36 ---> 7b8a43d23ac9 09:31:36 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:31:36 ---> Running in 9358e8546d52 09:31:36 Removing intermediate container 9358e8546d52 09:31:36 ---> ef8a06f5705a 09:31:36 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:36 ---> Running in 014233da0e73 09:31:37 Removing intermediate container 014233da0e73 09:31:37 ---> 9cd661093bb5 09:31:37 Step 24/26 : LABEL arch=arm64 09:31:37 ---> Running in db79902498ec 09:31:37 Removing intermediate container db79902498ec 09:31:37 ---> e0a7bb7c9ba7 09:31:37 Step 25/26 : LABEL git_sha=c69da45861d7fc33fb7192663e70f51f6792c813 09:31:37 ---> Running in 88a6a9e74d58 09:31:37 Removing intermediate container 88a6a9e74d58 09:31:37 ---> 75d3e2e89d93 09:31:37 Step 26/26 : LABEL version=0.0.0 09:31:37 ---> Running in 8090a294a346 09:31:38 Removing intermediate container 8090a294a346 09:31:38 ---> 8df78bed4bfd 09:31:38 [Warning] One or more build-args [ARCH] were not consumed 09:31:38 Successfully built 8df78bed4bfd 09:31:38 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:31:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:38 09:31:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:31:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:39 arm64: Pulling from edgex-lftools-log-publisher 09:31:39 8998bd30e6a1: Pulling fs layer 09:31:39 04944245beec: Pulling fs layer 09:31:39 699f458cf7ca: Pulling fs layer 09:31:39 765212b225bb: Pulling fs layer 09:31:39 f23df028b6ca: Pulling fs layer 09:31:39 d65c8cfc05b1: Pulling fs layer 09:31:39 2437ff75d9bd: Pulling fs layer 09:31:39 f23df028b6ca: Waiting 09:31:39 d65c8cfc05b1: Waiting 09:31:39 2437ff75d9bd: Waiting 09:31:39 765212b225bb: Waiting 09:31:39 04944245beec: Verifying Checksum 09:31:39 04944245beec: Download complete 09:31:39 765212b225bb: Download complete 09:31:39 f23df028b6ca: Verifying Checksum 09:31:39 f23df028b6ca: Download complete 09:31:39 d65c8cfc05b1: Verifying Checksum 09:31:39 d65c8cfc05b1: Download complete 09:31:39 699f458cf7ca: Verifying Checksum 09:31:39 699f458cf7ca: Download complete 09:31:40 8998bd30e6a1: Download complete 09:31:42 2437ff75d9bd: Verifying Checksum 09:31:42 2437ff75d9bd: Download complete 09:31:44 8998bd30e6a1: Pull complete 09:31:44 04944245beec: Pull complete 09:31:46 699f458cf7ca: Pull complete 09:31:46 765212b225bb: Pull complete 09:31:47 f23df028b6ca: Pull complete 09:31:47 d65c8cfc05b1: Pull complete 09:32:02 2437ff75d9bd: Pull complete 09:32:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:32:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:32:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:32:03 prd-ubuntu20.04-docker-arm64-4c-16g-63585 does not seem to be running inside a container 09:32:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:32:05 $ docker top f1024ad8515ff18d1a74e6b77e6455df84b8c1a73f169dffe541d5adb57f33d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:06 ---> job-cost.sh 09:32:06 lf-activate-venv: SKIPPING 09:32:06 INFO: No Stack... 09:32:07 INFO: Retrieving Pricing Info for: v3-standard-4 09:32:07 INFO: Archiving Costs [Pipeline] sh 09:32:08 + cat /w/workspace/device-gpio/3/archives/cost.csv 09:32:08 + cut -d, -f6 [Pipeline] lock 09:32:08 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] 09:32:08 Resource [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] did not exist. Created. 09:32:08 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:32:09 /w/workspace/device-gpio/3@tmp/durable-9981cc16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:32:09 + echo total: 0.10999999940395355 [Pipeline] stash 09:32:09 Warning: overwriting stash ‘stack-cost’ 09:32:09 Stashed 1 file(s) [Pipeline] } 09:32:09 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:32:09 $ docker stop --time=1 f1024ad8515ff18d1a74e6b77e6455df84b8c1a73f169dffe541d5adb57f33d5 09:32:11 $ docker rm -f f1024ad8515ff18d1a74e6b77e6455df84b8c1a73f169dffe541d5adb57f33d5 [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:32:11 provisioning config files... 09:32:11 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config7152135345436719846tmp [Pipeline] { [Pipeline] sh 09:32:12 + set +x 09:32:12 + curl -s https://codecov.io/bash 09:32:12 + bash -s -- 09:32:12 09:32:12 _____ _ 09:32:12 / ____| | | 09:32:12 | | ___ __| | ___ ___ _____ __ 09:32:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:32:12 | |___| (_) | (_| | __/ (_| (_) \ V / 09:32:12 \_____\___/ \__,_|\___|\___\___/ \_/ 09:32:12 Bash-1.0.6 09:32:12 09:32:12 09:32:12 ==> git version 2.25.1 found 09:32:12 ==> 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:32:12 Release-Date: 2020-01-08 09:32:12 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:32:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:32:12 ==> Jenkins CI detected. 09:32:12 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-33 09:32:12 project root: . 09:32:12 --> token set from env 09:32:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:32:12 ==> Running gcov in . (disable via -X gcov) 09:32:12 ==> Python coveragepy not found 09:32:12 ==> Searching for coverage reports in: 09:32:12 + . 09:32:12 -> Found 1 reports 09:32:12 ==> Detecting git/mercurial file structure 09:32:12 ==> Reading reports 09:32:12 + ./coverage.out bytes=10 09:32:12 ==> Appending adjustments 09:32:12 https://docs.codecov.io/docs/fixing-reports 09:32:12 + Found adjustments 09:32:12 ==> Gzipping contents 09:32:12 4.0K /tmp/codecov.M6XAuj.gz 09:32:12 ==> Uploading reports 09:32:12 url: https://codecov.io 09:32:12 query: branch=PR-33&commit=efa79f27271e735d2916db8e898e3d82df727909&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= 09:32:12 -> Pinging Codecov 09:32:12 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-33&commit=efa79f27271e735d2916db8e898e3d82df727909&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= 09:32:12 -> Uploading to 09:32:12 https://storage.googleapis.com/codecov/v4/raw/2022-05-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/efa79f27271e735d2916db8e898e3d82df727909/da3ad752-cefc-4104-846b-d740d47a7402.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T093212Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ad40044b56954078f7939ad1a71a23639b9af1c9283b12062c39b6c29bd86dfe 09:32:12 % Total % Received % Xferd Average Speed Time Time Time Current 09:32:12 Dload Upload Total Spent Left Speed 09:32:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 4098 --:--:-- --:--:-- --:--:-- 4078 100 832 0 0 100 832 0 2919 --:--:-- --:--:-- --:--:-- 2919 09:32:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/efa79f27271e735d2916db8e898e3d82df727909 [Pipeline] } 09:32:12 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:32:13 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-33/archives ] 09:32:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives 09:32:13 total 16 09:32:13 drwxr-xr-x 3 root root 4096 May 13 09:23 . 09:32:13 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:23 .. 09:32:13 drwxr-xr-x 2 root root 4096 May 13 09:23 cost 09:32:13 -rw-r--r-- 1 root root 81 May 13 09:23 cost.csv 09:32:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-33/archives 09:32:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives 09:32:13 total 16 09:32:13 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:23 . 09:32:13 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:23 .. 09:32:13 drwxr-xr-x 2 jenkins jenkins 4096 May 13 09:23 cost 09:32:13 -rw-r--r-- 1 jenkins jenkins 81 May 13 09:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:32:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:32:14 ---> package-listing.sh 09:32:14 ++ facter osfamily 09:32:14 ++ tr '[:upper:]' '[:lower:]' 09:32:15 + OS_FAMILY=debian 09:32:15 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-33 09:32:15 + START_PACKAGES=/tmp/packages_start.txt 09:32:15 + END_PACKAGES=/tmp/packages_end.txt 09:32:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:32:15 + PACKAGES=/tmp/packages_start.txt 09:32:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' 09:32:15 + PACKAGES=/tmp/packages_end.txt 09:32:15 + case "${OS_FAMILY}" in 09:32:15 + dpkg -l 09:32:15 + grep '^ii' 09:32:15 + '[' -f /tmp/packages_start.txt ']' 09:32:15 + '[' -f /tmp/packages_end.txt ']' 09:32:15 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:32:15 + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' 09:32:15 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ 09:32:15 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ [Pipeline] echo 09:32:15 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-33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:32:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:32:15 . [Pipeline] withDockerContainer 09:32:16 prd-ubuntu20.04-docker-8c-8g-63582 does not seem to be running inside a container 09:32:16 $ 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-33/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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:32:16 $ docker top a03c699ed512128bd1907a1857834faf1bf5982de70a0f62249150cbded0acc4 -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:16 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:16 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:17 + ls /var/log/sa-host 09:32:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:17 provisioning config files... 09:32:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config7338440152549886106tmp [Pipeline] { [Pipeline] echo 09:32:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:17 ---> create-netrc.sh [Pipeline] } 09:32:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:17 ---> python-tools-install.sh [Pipeline] echo 09:32:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:18 ---> sudo-logs.sh 09:32:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:32:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:18 ---> job-cost.sh 09:32:18 lf-activate-venv: SKIPPING 09:32:18 DEBUG: total: 0.2199999988079071 09:32:18 INFO: Retrieving Stack Cost... 09:32:19 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:19 INFO: Archiving Costs [Pipeline] echo 09:32:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:19 ---> logs-deploy.sh 09:32:19 lf-activate-venv: SKIPPING 09:32:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-33/3 09:32:19 INFO: archiving workspace using pattern(s): 09:32:20 Archives upload complete. 09:32:20 INFO: archiving logs to Nexus