Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d1e45647831632f392309fec7e951ddbd326ffce+e602fd7d654e8598d334cfcbfc0e6f43d27ef328 (07c1b8fb1b38bb9b25b83c32bc895614429b3f1a) 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-ssh8844252953446186399.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-ssh6072121696412456698.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-35/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-35/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1554248947500391276.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-ssh17023035190673844936.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-35/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-35/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5873896473898301361.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-63581 in /w/workspace/edgexfoundry_device-gpio_PR-35 [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-35 # 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 d1e45647831632f392309fec7e951ddbd326ffce Merge succeeded, producing 2e3ad077977b53572ac1a5bedce8c97909948262 Checking out Revision 2e3ad077977b53572ac1a5bedce8c97909948262 (PR-35) > 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/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d1e45647831632f392309fec7e951ddbd326ffce # 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 2e3ad077977b53572ac1a5bedce8c97909948262 # timeout=10 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" > git rev-list --no-walk d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:20:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:20:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:20:51 ========================================================= 09:20:51 EdgeX Global Pipelines Version Info 09:20:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:20:51 ------------------- 09:20:51 stable info: 09:20:51 ------------------- 09:20:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:51 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:20:51 Message: update stable to v1.0.230 09:20:52 ------------------- 09:20:52 experimental info: 09:20:52 ------------------- 09:20:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:20:52 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 09:20:52 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:20:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-35 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-35 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-35 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e3ad077977b53572ac1a5bedce8c97909948262 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e3ad07 [Pipeline] echo 09:20:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:20:53 provisioning config files... 09:20:53 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config4317879759867850375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:20:53 ---> docker-login.sh 09:20:53 nexus3.edgexfoundry.org:10001 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 nexus3.edgexfoundry.org:10002 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 nexus3.edgexfoundry.org:10003 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 nexus3.edgexfoundry.org:10004 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:54 Configure a credential helper to remove this warning. See 09:20:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:54 09:20:54 Login Succeeded 09:20:54 docker.io 09:20:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:20:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:20:55 Configure a credential helper to remove this warning. See 09:20:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:20:55 09:20:55 Login Succeeded 09:20:55 ---> docker-login.sh ends [Pipeline] } 09:20:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:20:55 + git rev-list -1 --merges 2e3ad077977b53572ac1a5bedce8c97909948262~1..2e3ad077977b53572ac1a5bedce8c97909948262 [Pipeline] echo 09:20:55 -----------> git rev-list -1 --merges 2e3ad077977b53572ac1a5bedce8c97909948262~1..2e3ad077977b53572ac1a5bedce8c97909948262 2e3ad077977b53572ac1a5bedce8c97909948262 09:20:55 2e3ad077977b53572ac1a5bedce8c97909948262 [false] [Pipeline] sh 09:20:55 + git log --format=format:%s -1 2e3ad077977b53572ac1a5bedce8c97909948262 [Pipeline] echo 09:20:55 ========================================================= 09:20:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:20:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:20:56 + git log --format=format:%s -1 2e3ad077977b53572ac1a5bedce8c97909948262 [Pipeline] echo 09:20:56 [semverPrep] GIT_COMMIT: 2e3ad077977b53572ac1a5bedce8c97909948262, Commit Message: Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD [Pipeline] echo 09:20:56 [semverPrep] This is not a build commit. [Pipeline] sh 09:20:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:20:56 + grep -v github /etc/ssh/ssh_known_hosts 09:20:56 + [ -e /tmp/ssh_known_hosts ] 09:20:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:20:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:20:56 + sudo tee -a /etc/ssh/ssh_known_hosts 09:20:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:20:56 09:20:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:20:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:20:57 latest: Pulling from edgex-devops/py-git-semver 09:20:57 1fe172e4850f: Pulling fs layer 09:20:57 caf521ccaac6: Pulling fs layer 09:20:57 3ead6fa29328: Pulling fs layer 09:20:57 5c2a1cbceb83: Pulling fs layer 09:20:57 a8d5f1318db7: Pulling fs layer 09:20:57 c427282e49a2: Pulling fs layer 09:20:57 1827001aaf11: Pulling fs layer 09:20:57 0714d37db230: Pulling fs layer 09:20:57 ac28cf19c067: Pulling fs layer 09:20:57 ca983d60f3e2: Pulling fs layer 09:20:57 9f894cec8388: Pulling fs layer 09:20:57 a8d5f1318db7: Waiting 09:20:57 1827001aaf11: Waiting 09:20:57 5c2a1cbceb83: Waiting 09:20:57 0714d37db230: Waiting 09:20:57 c427282e49a2: Waiting 09:20:57 ca983d60f3e2: Waiting 09:20:57 9f894cec8388: Waiting 09:20:57 ac28cf19c067: Waiting 09:20:57 caf521ccaac6: Verifying Checksum 09:20:57 caf521ccaac6: Download complete 09:20:57 5c2a1cbceb83: Verifying Checksum 09:20:57 5c2a1cbceb83: Download complete 09:20:57 a8d5f1318db7: Verifying Checksum 09:20:57 a8d5f1318db7: Download complete 09:20:57 c427282e49a2: Download complete 09:20:57 3ead6fa29328: Verifying Checksum 09:20:57 3ead6fa29328: Download complete 09:20:57 0714d37db230: Verifying Checksum 09:20:57 0714d37db230: Download complete 09:20:57 ac28cf19c067: Verifying Checksum 09:20:57 ac28cf19c067: Download complete 09:20:57 ca983d60f3e2: Verifying Checksum 09:20:57 ca983d60f3e2: Download complete 09:20:57 9f894cec8388: Download complete 09:20:57 1fe172e4850f: Verifying Checksum 09:20:57 1fe172e4850f: Download complete 09:20:57 1827001aaf11: Verifying Checksum 09:20:57 1827001aaf11: Download complete 09:20:59 1fe172e4850f: Pull complete 09:20:59 caf521ccaac6: Pull complete 09:20:59 3ead6fa29328: Pull complete 09:20:59 5c2a1cbceb83: Pull complete 09:20:59 a8d5f1318db7: Pull complete 09:20:59 c427282e49a2: Pull complete 09:21:01 1827001aaf11: Pull complete 09:21:02 0714d37db230: Pull complete 09:21:02 ac28cf19c067: Pull complete 09:21:02 ca983d60f3e2: Pull complete 09:21:02 9f894cec8388: Pull complete 09:21:02 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:21:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:21:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:21:02 prd-ubuntu20.04-docker-8c-8g-63581 does not seem to be running inside a container 09:21:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:21:04 $ docker top 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 -eo pid,comm 09:21:04 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:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:21:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:04 [ssh-agent] Looking for ssh-agent implementation... 09:21:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:04 $ docker exec 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 ssh-agent 09:21:04 SSH_AUTH_SOCK=/tmp/ssh-TWbMtaUTI7YC/agent.34 09:21:04 SSH_AGENT_PID=41 09:21:04 Running ssh-add (command line suppressed) 09:21:04 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_8734658417697984187.key (/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_8734658417697984187.key) 09:21:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:05 + git tag --points-at HEAD [Pipeline] } 09:21:05 $ docker exec --env ******** --env ******** 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 ssh-agent -k 09:21:05 unset SSH_AUTH_SOCK; 09:21:05 unset SSH_AGENT_PID; 09:21:05 echo Agent pid 41 killed; 09:21:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:21:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:21:05 [ssh-agent] Looking for ssh-agent implementation... 09:21:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:21:05 $ docker exec 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 ssh-agent 09:21:05 SSH_AUTH_SOCK=/tmp/ssh-XMyUpud5cVEi/agent.73 09:21:05 SSH_AGENT_PID=79 09:21:05 Running ssh-add (command line suppressed) 09:21:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_4629459143708554883.key (/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/private_key_4629459143708554883.key) 09:21:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:21:06 + git semver init 09:21:06 2022-05-13 09:21:06,252 [run_init] DEBUG init version:0.0.0 force:False 09:21:06 2022-05-13 09:21:06,253 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver 09:21:06 2022-05-13 09:21:06,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-35/.semver 09:21:06 2022-05-13 09:21:06,254 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-35/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35, universal_newlines=False, shell=None, istream=None) 09:21:07 2022-05-13 09:21:07,215 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-35/.git/info/exclude 09:21:07 2022-05-13 09:21:07,215 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 with force:False 09:21:07 2022-05-13 09:21:07,215 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 09:21:07 2022-05-13 09:21:07,218 [execute] INFO git cat-file --batch-check 09:21:07 2022-05-13 09:21:07,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35/.semver, universal_newlines=False, shell=None, istream=) 09:21:07 2022-05-13 09:21:07,224 [execute] INFO git cat-file --batch 09:21:07 2022-05-13 09:21:07,224 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-35/.semver, universal_newlines=False, shell=None, istream=) 09:21:07 2022-05-13 09:21:07,230 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-35/.semver/PR-35 09:21:07 0.0.0 [Pipeline] } 09:21:07 $ docker exec --env ******** --env ******** 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 ssh-agent -k 09:21:07 unset SSH_AUTH_SOCK; 09:21:07 unset SSH_AGENT_PID; 09:21:07 echo Agent pid 79 killed; 09:21:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:21:07 + git semver [Pipeline] } 09:21:08 $ docker stop --time=1 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 09:21:09 $ docker rm -f 3e7b4124658bc2b61778228154a77d514f4f7b924c4404e1fbac57eafa1589b1 [Pipeline] // withDockerContainer [Pipeline] sh 09:21:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:21:09 Stashed 1 file(s) [Pipeline] echo 09:21:09 [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:10 provisioning config files... 09:21:10 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config6055114500863133327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:10 ---> docker-login.sh 09:21:10 nexus3.edgexfoundry.org:10001 09:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:10 Configure a credential helper to remove this warning. See 09:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:10 09:21:10 Login Succeeded 09:21:10 nexus3.edgexfoundry.org:10002 09:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:10 Configure a credential helper to remove this warning. See 09:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:10 09:21:10 Login Succeeded 09:21:10 nexus3.edgexfoundry.org:10003 09:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:10 Configure a credential helper to remove this warning. See 09:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:10 09:21:10 Login Succeeded 09:21:10 nexus3.edgexfoundry.org:10004 09:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:10 Configure a credential helper to remove this warning. See 09:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:10 09:21:10 Login Succeeded 09:21:10 docker.io 09:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:11 Configure a credential helper to remove this warning. See 09:21:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:11 09:21:11 Login Succeeded 09:21:11 ---> docker-login.sh ends [Pipeline] } 09:21:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:11 ========================================================= 09:21:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:21:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:21:11 + 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:11 Sending build context to Docker daemon 15.66MB 09:21:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:21:11 Step 2/12 : FROM ${BASE} AS builder 09:21:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:21:11 59bf1c3509f3: Pulling fs layer 09:21:11 666ba61612fd: Pulling fs layer 09:21:11 8ed8ca486205: Pulling fs layer 09:21:11 4fe6c5a15a65: Pulling fs layer 09:21:11 22a0e8bec74d: Pulling fs layer 09:21:11 ca2b28591e48: Pulling fs layer 09:21:11 a51346096db8: Pulling fs layer 09:21:11 daebc70d1ce1: Pulling fs layer 09:21:11 0e18a0eac166: Pulling fs layer 09:21:11 daebc70d1ce1: Waiting 09:21:11 0e18a0eac166: Waiting 09:21:11 ca2b28591e48: Waiting 09:21:11 a51346096db8: Waiting 09:21:11 4fe6c5a15a65: Waiting 09:21:11 8ed8ca486205: Download complete 09:21:11 666ba61612fd: Download complete 09:21:11 22a0e8bec74d: Verifying Checksum 09:21:11 22a0e8bec74d: Download complete 09:21:11 ca2b28591e48: Verifying Checksum 09:21:11 ca2b28591e48: Download complete 09:21:11 59bf1c3509f3: Verifying Checksum 09:21:11 59bf1c3509f3: Download complete 09:21:11 a51346096db8: Verifying Checksum 09:21:11 a51346096db8: Download complete 09:21:11 daebc70d1ce1: Verifying Checksum 09:21:11 daebc70d1ce1: Download complete 09:21:11 59bf1c3509f3: Pull complete 09:21:12 666ba61612fd: Pull complete 09:21:12 8ed8ca486205: Pull complete 09:21:12 0e18a0eac166: Verifying Checksum 09:21:12 0e18a0eac166: Download complete 09:21:12 4fe6c5a15a65: Verifying Checksum 09:21:12 4fe6c5a15a65: Download complete 09:21:16 4fe6c5a15a65: Pull complete 09:21:16 22a0e8bec74d: Pull complete 09:21:16 ca2b28591e48: Pull complete 09:21:16 a51346096db8: Pull complete 09:21:16 daebc70d1ce1: Pull complete 09:21:18 0e18a0eac166: Pull complete 09:21:18 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:21:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:21:18 ---> f018257e8ee9 09:21:18 Step 3/12 : ARG MAKE="make build" 09:21:20 ---> Running in b621647e8b23 09:21:20 Removing intermediate container b621647e8b23 09:21:20 ---> e5f476cf3bdc 09:21:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:21:20 ---> Running in d2049decd88b 09:21:21 Removing intermediate container d2049decd88b 09:21:21 ---> 36714558decf 09:21:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:21:21 ---> Running in c02bf28472dd 09:21:21 Removing intermediate container c02bf28472dd 09:21:21 ---> 3938658fb7bd 09:21:21 Step 6/12 : WORKDIR /device-gpio 09:21:21 ---> Running in c715cf3a841b 09:21:21 Removing intermediate container c715cf3a841b 09:21:21 ---> 7ac42ff003f5 09:21:21 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:21:21 ---> Running in 04fc62f02f01 09:21:22 Removing intermediate container 04fc62f02f01 09:21:22 ---> c0f81d761840 09:21:22 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:21:22 ---> Running in 0c7270a26929 09:21:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:21:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:21:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:21:23 (2/4) Installing libedit (20210910.3.1-r0) 09:21:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:21:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:21:24 Executing busybox-1.34.1-r3.trigger 09:21:24 OK: 224 MiB in 56 packages 09:21:24 Removing intermediate container 0c7270a26929 09:21:24 ---> eefa2ce09275 09:21:24 Step 9/12 : COPY go.mod vendor* ./ 09:21:24 ---> ae17ba82dd54 09:21:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:21:24 ---> Running in 11cabccf2056 09:21:25 Still waiting to schedule task 09:21:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:21:39 Removing intermediate container 11cabccf2056 09:21:39 ---> b5bb62d17885 09:21:39 Step 11/12 : COPY . . 09:21:39 ---> fbc31a678cde 09:21:39 Step 12/12 : RUN ${MAKE} 09:21:39 ---> Running in 1212c28581b7 09:21:39 noop 09:21:39 Removing intermediate container 1212c28581b7 09:21:39 ---> 2d25ac4f8dac 09:21:39 Successfully built 2d25ac4f8dac 09:21:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:21:39 + docker inspect -f . ci-base-image-x86_64 09:21:39 . [Pipeline] withDockerContainer 09:21:39 prd-ubuntu20.04-docker-8c-8g-63581 does not seem to be running inside a container 09:21:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:40 $ docker top f9dec1d48c757e34d4a595f2ea45a1771f20fcf7f9799842b43191b184eb0f29 -eo pid,comm [Pipeline] { [Pipeline] sh 09:21:40 + go version 09:21:40 go version go1.17.6 linux/amd64 [Pipeline] } 09:21:40 $ docker stop --time=1 f9dec1d48c757e34d4a595f2ea45a1771f20fcf7f9799842b43191b184eb0f29 09:21:41 $ docker rm -f f9dec1d48c757e34d4a595f2ea45a1771f20fcf7f9799842b43191b184eb0f29 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:21:42 + docker inspect -f . ci-base-image-x86_64 09:21:42 . [Pipeline] withDockerContainer 09:21:42 prd-ubuntu20.04-docker-8c-8g-63581 does not seem to be running inside a container 09:21:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:21:42 $ docker top 3e35f4b83de3f8566d506000cc498abef2f30d91000eebdb68dbd6cf3fabba83 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:21:43 + make test 09:21:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:21:43 ? github.com/edgexfoundry/device-gpio [no test files] 09:21:51 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:21:51 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:21:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:22:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:22:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:22:02 ./bin/test-attribution-txt.sh [Pipeline] echo 09:22:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:22:02 $ docker stop --time=1 3e35f4b83de3f8566d506000cc498abef2f30d91000eebdb68dbd6cf3fabba83 09:22:04 $ docker rm -f 3e35f4b83de3f8566d506000cc498abef2f30d91000eebdb68dbd6cf3fabba83 [Pipeline] // withDockerContainer [Pipeline] sh 09:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:22:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:22:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:22:06 + ls -al . 09:22:06 total 172 09:22:06 drwxrwxr-x 9 jenkins jenkins 4096 May 13 09:22 . 09:22:06 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:20 .. 09:22:06 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:20 .dockerignore 09:22:06 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:21 .git 09:22:06 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 .github 09:22:06 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:20 .gitignore 09:22:06 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:20 .golangci.yml 09:22:06 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:21 .semver 09:22:06 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:20 Attribution.txt 09:22:06 -rw-rw-r-- 1 jenkins jenkins 3081 May 13 09:20 CHANGELOG.md 09:22:06 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:20 Dockerfile 09:22:06 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:20 GOVERNANCE.md 09:22:06 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:20 Jenkinsfile 09:22:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:20 LICENSE 09:22:06 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:20 Makefile 09:22:06 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:20 OWNERS.md 09:22:06 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:20 README.md 09:22:06 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:21 VERSION 09:22:06 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:20 bin 09:22:06 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 cmd 09:22:06 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:21 coverage.out 09:22:06 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:20 go.mod 09:22:06 -rw-rw-r-- 1 jenkins jenkins 47069 May 13 09:20 go.sum 09:22:06 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 internal 09:22:06 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:20 snap 09:22:06 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:20 version.go [Pipeline] isUnix [Pipeline] sh 09:22:06 + 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=2e3ad077977b53572ac1a5bedce8c97909948262 --label arch=amd64 --label version=0.0.0 . 09:22:06 Sending build context to Docker daemon 15.66MB 09:22:06 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:22:06 Step 2/26 : FROM ${BASE} AS builder 09:22:06 ---> 2d25ac4f8dac 09:22:06 Step 3/26 : ARG MAKE="make build" 09:22:06 ---> Running in ac93a1f104b4 09:22:06 Removing intermediate container ac93a1f104b4 09:22:06 ---> bc8ef4e839a1 09:22:06 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:22:06 ---> Running in afb52071af99 09:22:06 Removing intermediate container afb52071af99 09:22:06 ---> 8e01edf0a665 09:22:06 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:22:06 ---> Running in d9d9023db52f 09:22:06 Removing intermediate container d9d9023db52f 09:22:06 ---> 6b47fa6babf9 09:22:06 Step 6/26 : WORKDIR /device-gpio 09:22:06 ---> Running in ecdb40d2621d 09:22:06 Removing intermediate container ecdb40d2621d 09:22:06 ---> 2155e12f9e42 09:22:06 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:06 ---> Running in 07b584fac931 09:22:07 Removing intermediate container 07b584fac931 09:22:07 ---> 797540ccfc58 09:22:07 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:07 ---> Running in c09addf26467 09:22:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:08 OK: 224 MiB in 56 packages 09:22:09 Removing intermediate container c09addf26467 09:22:09 ---> 6b9f72a0709c 09:22:09 Step 9/26 : COPY go.mod vendor* ./ 09:22:09 ---> fc20027aab11 09:22:09 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:09 ---> Running in 56d2fded4299 09:22:10 Removing intermediate container 56d2fded4299 09:22:10 ---> 94c6818b34ff 09:22:10 Step 11/26 : COPY . . 09:22:10 ---> e3019fabfdaa 09:22:10 Step 12/26 : RUN ${MAKE} 09:22:10 ---> Running in 09f1f18fc080 09:22:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 09:22:32 Removing intermediate container 09f1f18fc080 09:22:32 ---> ce19b3482b99 09:22:32 Step 13/26 : FROM alpine:3.15 09:22:32 3.15: Pulling from library/alpine 09:22:32 df9b9388f04a: Pulling fs layer 09:22:32 df9b9388f04a: Verifying Checksum 09:22:32 df9b9388f04a: Download complete 09:22:32 df9b9388f04a: Pull complete 09:22:32 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:22:32 Status: Downloaded newer image for alpine:3.15 09:22:32 ---> 0ac33e5f5afa 09:22:32 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:22:32 ---> Running in 9df3ca8ffcc3 09:22:32 Removing intermediate container 9df3ca8ffcc3 09:22:32 ---> 5578d833226c 09:22:32 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:32 ---> Running in e60c52c928aa 09:22:32 Removing intermediate container e60c52c928aa 09:22:32 ---> 06edcfa2a2cf 09:22:32 Step 16/26 : RUN apk add --update --no-cache zeromq 09:22:32 ---> Running in eef0562a2e89 09:22:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:22:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:22:32 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:22:33 (2/5) Installing libsodium (1.0.18-r0) 09:22:33 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:22:33 (4/5) Installing libzmq (4.3.4-r0) 09:22:33 (5/5) Installing zeromq (4.3.4-r0) 09:22:33 Executing busybox-1.34.1-r5.trigger 09:22:33 OK: 8 MiB in 19 packages 09:22:33 Removing intermediate container eef0562a2e89 09:22:33 ---> 7b20926327ce 09:22:33 Step 17/26 : WORKDIR / 09:22:33 ---> Running in 5a03307a9922 09:22:33 Removing intermediate container 5a03307a9922 09:22:33 ---> 999ee179b9e7 09:22:33 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:22:34 ---> 25e510e1e765 09:22:34 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:22:34 ---> 89f1fddf1bb6 09:22:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:22:34 ---> 03646d4823ec 09:22:34 Step 21/26 : EXPOSE 59910 09:22:34 ---> Running in daafb8dec6b5 09:22:35 Removing intermediate container daafb8dec6b5 09:22:35 ---> da5328ce1197 09:22:35 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:22:35 ---> Running in 6d014345aa9e 09:22:35 Removing intermediate container 6d014345aa9e 09:22:35 ---> 95fa8d885281 09:22:35 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:22:35 ---> Running in ae6ae128177f 09:22:35 Removing intermediate container ae6ae128177f 09:22:35 ---> 5f11c728fc91 09:22:35 Step 24/26 : LABEL arch=amd64 09:22:35 ---> Running in 7039836a1986 09:22:35 Removing intermediate container 7039836a1986 09:22:35 ---> fbd0a0a19008 09:22:35 Step 25/26 : LABEL git_sha=2e3ad077977b53572ac1a5bedce8c97909948262 09:22:35 ---> Running in 6b847943ec99 09:22:35 Removing intermediate container 6b847943ec99 09:22:35 ---> d7c267df50c3 09:22:35 Step 26/26 : LABEL version=0.0.0 09:22:35 ---> Running in ba4c90c35bb6 09:22:35 Removing intermediate container ba4c90c35bb6 09:22:35 ---> b3fb9c9b24fa 09:22:35 [Warning] One or more build-args [ARCH] were not consumed 09:22:35 Successfully built b3fb9c9b24fa 09:22:35 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:22:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:35 09:22:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:22:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:36 latest: Pulling from edgex-lftools-log-publisher 09:22:36 5eb5b503b376: Pulling fs layer 09:22:36 5c69ac0246d0: Pulling fs layer 09:22:36 ec43610c2a17: Pulling fs layer 09:22:36 3a2ae6a8a46f: Pulling fs layer 09:22:36 33b1e0a273af: Pulling fs layer 09:22:36 5d3b04190fa2: Pulling fs layer 09:22:36 2f39f015ded8: Pulling fs layer 09:22:36 5d3b04190fa2: Waiting 09:22:36 33b1e0a273af: Waiting 09:22:36 2f39f015ded8: Waiting 09:22:36 3a2ae6a8a46f: Waiting 09:22:36 5c69ac0246d0: Download complete 09:22:36 3a2ae6a8a46f: Verifying Checksum 09:22:36 3a2ae6a8a46f: Download complete 09:22:36 33b1e0a273af: Verifying Checksum 09:22:36 33b1e0a273af: Download complete 09:22:36 5d3b04190fa2: Verifying Checksum 09:22:36 5d3b04190fa2: Download complete 09:22:36 ec43610c2a17: Download complete 09:22:36 5eb5b503b376: Verifying Checksum 09:22:36 5eb5b503b376: Download complete 09:22:37 2f39f015ded8: Download complete 09:22:37 5eb5b503b376: Pull complete 09:22:37 5c69ac0246d0: Pull complete 09:22:38 ec43610c2a17: Pull complete 09:22:38 3a2ae6a8a46f: Pull complete 09:22:38 33b1e0a273af: Pull complete 09:22:38 5d3b04190fa2: Pull complete 09:22:42 2f39f015ded8: Pull complete 09:22:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:22:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:22:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:22:42 prd-ubuntu20.04-docker-8c-8g-63581 does not seem to be running inside a container 09:22:42 $ 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-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:22:44 $ docker top 5ec797bb8434aa4bca83a3fa53b72d456da0c171d79ad96da1c989a613894a46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:22:45 ---> job-cost.sh 09:22:45 lf-activate-venv: SKIPPING 09:22:45 INFO: No Stack... 09:22:45 INFO: Retrieving Pricing Info for: v3-standard-8 09:22:46 INFO: Archiving Costs [Pipeline] sh 09:22:46 + + cat /w/workspace/edgexfoundry_device-gpio_PR-35/archives/cost.csv 09:22:46 cut -d, -f6 [Pipeline] lock 09:22:46 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] 09:22:46 Resource [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] did not exist. Created. 09:22:46 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:22:46 + echo total: 0.2199999988079071 [Pipeline] stash 09:22:46 Stashed 1 file(s) [Pipeline] } 09:22:46 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:22:46 $ docker stop --time=1 5ec797bb8434aa4bca83a3fa53b72d456da0c171d79ad96da1c989a613894a46 09:22:47 $ docker rm -f 5ec797bb8434aa4bca83a3fa53b72d456da0c171d79ad96da1c989a613894a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:23:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63584 in /w/workspace/edgexfoundry_device-gpio_PR-35 [Pipeline] { [Pipeline] ws 09:23:45 Running in /w/workspace/device-gpio/3 [Pipeline] { [Pipeline] checkout 09:23:45 The recommended git tool is: git 09:23:52 using credential edgex-jenkins-ssh 09:23:52 Cloning the remote Git repository 09:23:52 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:23:52 > git init /w/workspace/device-gpio/3 # timeout=10 09:23:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:23:53 > git --version # timeout=10 09:23:53 > git --version # 'git version 2.25.1' 09:23:53 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:23:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:23:54 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:23:54 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:23:54 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/35/head:refs/remotes/origin/PR-35 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:23:55 Merging remotes/origin/main commit e602fd7d654e8598d334cfcbfc0e6f43d27ef328 into PR head commit d1e45647831632f392309fec7e951ddbd326ffce 09:23:55 Merge succeeded, producing b7b9164ad1392e9e7a87b7932eeb9f9ab0054e58 09:23:55 Checking out Revision b7b9164ad1392e9e7a87b7932eeb9f9ab0054e58 (PR-35) 09:23:55 > git config core.sparsecheckout # timeout=10 09:23:55 > git checkout -f d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 09:23:55 > git remote # timeout=10 09:23:55 > git config --get remote.origin.url # timeout=10 09:23:55 using GIT_SSH to set credentials SSH Credentials for GitHub 09:23:55 > git merge e602fd7d654e8598d334cfcbfc0e6f43d27ef328 # timeout=10 09:23:55 > git rev-parse HEAD^{commit} # timeout=10 09:23:55 > git config core.sparsecheckout # timeout=10 09:23:55 > git checkout -f b7b9164ad1392e9e7a87b7932eeb9f9ab0054e58 # timeout=10 09:24:00 Commit message: "Merge commit 'e602fd7d654e8598d334cfcbfc0e6f43d27ef328' into HEAD" 09:24:00 > git rev-list --no-walk d1e45647831632f392309fec7e951ddbd326ffce # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:24:01 % Total % Received % Xferd Average Speed Time Time Time Current 09:24:01 Dload Upload Total Spent Left Speed 09:24:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11929 100 11929 0 0 194k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 09:24:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:24:02 + sudo tee /etc/docker/daemon.new 09:24:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:24:02 { 09:24:02 "registry-mirrors": [ 09:24:02 "https://nexus3.edgexfoundry.org:10001" 09:24:02 ], 09:24:02 "bip": "10.250.0.254/24", 09:24:02 "hosts": [ 09:24:02 "tcp://0.0.0.0:5555", 09:24:02 "unix:///var/run/docker.sock" 09:24:02 ], 09:24:02 "mtu": 1458, 09:24:02 "selinux-enabled": true, 09:24:02 "seccomp-profile": "/etc/docker/seccomp.json" 09:24:02 } [Pipeline] sh 09:24:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:24:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:24:21 provisioning config files... 09:24:21 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/3@tmp/config902875620969022204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:21 ---> docker-login.sh 09:24:21 nexus3.edgexfoundry.org:10001 09:24:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:22 Configure a credential helper to remove this warning. See 09:24:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:22 09:24:22 Login Succeeded 09:24:22 nexus3.edgexfoundry.org:10002 09:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:23 Configure a credential helper to remove this warning. See 09:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:23 09:24:23 Login Succeeded 09:24:23 nexus3.edgexfoundry.org:10003 09:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:23 Configure a credential helper to remove this warning. See 09:24:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:23 09:24:23 Login Succeeded 09:24:23 nexus3.edgexfoundry.org:10004 09:24:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:24 Configure a credential helper to remove this warning. See 09:24:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:24 09:24:24 Login Succeeded 09:24:24 docker.io 09:24:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:25 Configure a credential helper to remove this warning. See 09:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:25 09:24:25 Login Succeeded 09:24:25 ---> docker-login.sh ends [Pipeline] } 09:24:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:25 ========================================================= 09:24:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:24:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:24:25 + 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:24:26 Sending build context to Docker daemon 7.904MB 09:24:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 09:24:26 Step 2/12 : FROM ${BASE} AS builder 09:24:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:24:26 9b3977197b4f: Pulling fs layer 09:24:26 1a89e8eeedd5: Pulling fs layer 09:24:26 94645a83ff95: Pulling fs layer 09:24:26 3f3a8bcf1eab: Pulling fs layer 09:24:26 0c92f367c5e7: Pulling fs layer 09:24:26 3096ccb668a1: Pulling fs layer 09:24:26 e8cf19c19ddd: Pulling fs layer 09:24:26 a4caa8a26152: Pulling fs layer 09:24:26 3096ccb668a1: Waiting 09:24:26 e8cf19c19ddd: Waiting 09:24:26 a4caa8a26152: Waiting 09:24:26 0c92f367c5e7: Waiting 09:24:26 3f3a8bcf1eab: Waiting 09:24:26 94645a83ff95: Verifying Checksum 09:24:26 94645a83ff95: Download complete 09:24:26 1a89e8eeedd5: Verifying Checksum 09:24:26 1a89e8eeedd5: Download complete 09:24:26 0c92f367c5e7: Download complete 09:24:26 3096ccb668a1: Verifying Checksum 09:24:26 3096ccb668a1: Download complete 09:24:26 9b3977197b4f: Verifying Checksum 09:24:26 9b3977197b4f: Download complete 09:24:26 e8cf19c19ddd: Verifying Checksum 09:24:26 e8cf19c19ddd: Download complete 09:24:27 9b3977197b4f: Pull complete 09:24:27 1a89e8eeedd5: Pull complete 09:24:28 94645a83ff95: Pull complete 09:24:28 a4caa8a26152: Verifying Checksum 09:24:28 a4caa8a26152: Download complete 09:24:29 3f3a8bcf1eab: Verifying Checksum 09:24:41 3f3a8bcf1eab: Pull complete 09:24:41 0c92f367c5e7: Pull complete 09:24:41 3096ccb668a1: Pull complete 09:24:41 e8cf19c19ddd: Pull complete 09:24:47 a4caa8a26152: Pull complete 09:24:47 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:24:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:24:47 ---> 725f1c02e7f9 09:24:47 Step 3/12 : ARG MAKE="make build" 09:24:48 ---> Running in 6bb2865b4d2e 09:24:48 Removing intermediate container 6bb2865b4d2e 09:24:48 ---> 60fa299e1897 09:24:48 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:48 ---> Running in 753375a244cd 09:24:49 Removing intermediate container 753375a244cd 09:24:49 ---> e70e82df1609 09:24:49 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:24:49 ---> Running in 1595cbc80102 09:24:49 Removing intermediate container 1595cbc80102 09:24:49 ---> c6b1ee719ed9 09:24:49 Step 6/12 : WORKDIR /device-gpio 09:24:49 ---> Running in 696fcf0194ad 09:24:50 Removing intermediate container 696fcf0194ad 09:24:50 ---> d651983076f1 09:24:50 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:50 ---> Running in 748e0c7a8774 09:24:52 Removing intermediate container 748e0c7a8774 09:24:52 ---> dfcbe58078c5 09:24:52 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:52 ---> Running in 652666ac5602 09:24:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:24:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:24:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:24:55 (2/4) Installing libedit (20210910.3.1-r0) 09:24:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:24:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:24:55 Executing busybox-1.34.1-r3.trigger 09:24:55 OK: 224 MiB in 56 packages 09:24:56 Removing intermediate container 652666ac5602 09:24:56 ---> 7354fad2bc96 09:24:56 Step 9/12 : COPY go.mod vendor* ./ 09:24:57 ---> 931f78239b63 09:24:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:57 ---> Running in d268958042b4 09:25:44 Removing intermediate container d268958042b4 09:25:44 ---> e7f005f11145 09:25:44 Step 11/12 : COPY . . 09:25:45 ---> 946b3651dfaf 09:25:45 Step 12/12 : RUN ${MAKE} 09:25:45 ---> Running in 72f5a1c4f66d 09:25:46 noop 09:25:47 Removing intermediate container 72f5a1c4f66d 09:25:47 ---> 391de56490c1 09:25:47 Successfully built 391de56490c1 09:25:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:25:47 + docker inspect -f . ci-base-image-arm64 09:25:47 . [Pipeline] withDockerContainer 09:25:47 prd-ubuntu20.04-docker-arm64-4c-16g-63584 does not seem to be running inside a container 09:25:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:25:49 $ docker top 99ff1b22f489c406cac140cd1d3f39ec7d6009709d517cf7df61a51dfdfebdc9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:50 + go version 09:25:50 go version go1.17.6 linux/arm64 [Pipeline] } 09:25:50 $ docker stop --time=1 99ff1b22f489c406cac140cd1d3f39ec7d6009709d517cf7df61a51dfdfebdc9 09:25:51 $ docker rm -f 99ff1b22f489c406cac140cd1d3f39ec7d6009709d517cf7df61a51dfdfebdc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:25:52 + docker inspect -f . ci-base-image-arm64 09:25:52 . [Pipeline] withDockerContainer 09:25:52 prd-ubuntu20.04-docker-arm64-4c-16g-63584 does not seem to be running inside a container 09:25:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:25:54 $ docker top 9cc84cd88c1d8e38fe06a26b76842bc03037a51504afb0522da4fe3da08bb742 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:25:55 + make test 09:25:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:25:57 ? github.com/edgexfoundry/device-gpio [no test files] 09:27:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:27:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:27:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:27:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:27:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:27:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:27:52 ./bin/test-attribution-txt.sh [Pipeline] echo 09:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:27:55 $ docker stop --time=1 9cc84cd88c1d8e38fe06a26b76842bc03037a51504afb0522da4fe3da08bb742 09:27:56 $ docker rm -f 9cc84cd88c1d8e38fe06a26b76842bc03037a51504afb0522da4fe3da08bb742 [Pipeline] // withDockerContainer [Pipeline] sh 09:27:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:27:57 Warning: overwriting stash ‘coverage-report’ 09:27:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:27:59 + ls -al . 09:27:59 total 168 09:27:59 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:27 . 09:27:59 drwxrwxr-x 4 jenkins jenkins 4096 May 13 09:23 .. 09:27:59 -rw-rw-r-- 1 jenkins jenkins 120 May 13 09:23 .dockerignore 09:27:59 drwxrwxr-x 8 jenkins jenkins 4096 May 13 09:23 .git 09:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:23 .github 09:27:59 -rw-rw-r-- 1 jenkins jenkins 343 May 13 09:23 .gitignore 09:27:59 -rw-rw-r-- 1 jenkins jenkins 41 May 13 09:23 .golangci.yml 09:27:59 -rw-rw-r-- 1 jenkins jenkins 9053 May 13 09:23 Attribution.txt 09:27:59 -rw-rw-r-- 1 jenkins jenkins 3081 May 13 09:23 CHANGELOG.md 09:27:59 -rw-rw-r-- 1 jenkins jenkins 1868 May 13 09:23 Dockerfile 09:27:59 -rw-rw-r-- 1 jenkins jenkins 677 May 13 09:23 GOVERNANCE.md 09:27:59 -rw-rw-r-- 1 jenkins jenkins 657 May 13 09:23 Jenkinsfile 09:27:59 -rw-rw-r-- 1 jenkins jenkins 11340 May 13 09:23 LICENSE 09:27:59 -rw-rw-r-- 1 jenkins jenkins 1876 May 13 09:23 Makefile 09:27:59 -rw-rw-r-- 1 jenkins jenkins 617 May 13 09:23 OWNERS.md 09:27:59 -rw-rw-r-- 1 jenkins jenkins 11178 May 13 09:23 README.md 09:27:59 -rw-rw-r-- 1 jenkins jenkins 5 May 13 09:21 VERSION 09:27:59 drwxrwxr-x 2 jenkins jenkins 4096 May 13 09:23 bin 09:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:23 cmd 09:27:59 -rw-r--r-- 1 jenkins jenkins 10 May 13 09:25 coverage.out 09:27:59 -rw-rw-r-- 1 jenkins jenkins 3236 May 13 09:23 go.mod 09:27:59 -rw-rw-r-- 1 jenkins jenkins 47069 May 13 09:23 go.sum 09:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:23 internal 09:27:59 drwxrwxr-x 3 jenkins jenkins 4096 May 13 09:23 snap 09:27:59 -rw-rw-r-- 1 jenkins jenkins 209 May 13 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:27:59 + 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=b7b9164ad1392e9e7a87b7932eeb9f9ab0054e58 --label arch=arm64 --label version=0.0.0 . 09:27:59 Sending build context to Docker daemon 7.905MB 09:28:00 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 09:28:00 Step 2/26 : FROM ${BASE} AS builder 09:28:00 ---> 391de56490c1 09:28:00 Step 3/26 : ARG MAKE="make build" 09:28:00 ---> Running in ee7fdf7fe528 09:28:00 Removing intermediate container ee7fdf7fe528 09:28:00 ---> 9f205786896d 09:28:00 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:28:00 ---> Running in 52cd6f419afb 09:28:00 Removing intermediate container 52cd6f419afb 09:28:00 ---> bbe942de7dc9 09:28:00 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 09:28:00 ---> Running in 60eed7ba1876 09:28:01 Removing intermediate container 60eed7ba1876 09:28:01 ---> a1ad5e9615e1 09:28:01 Step 6/26 : WORKDIR /device-gpio 09:28:01 ---> Running in 6e7e47001f29 09:28:01 Removing intermediate container 6e7e47001f29 09:28:01 ---> 8dad9fa988c5 09:28:01 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:28:01 ---> Running in 1a48b6aae2d4 09:28:03 Removing intermediate container 1a48b6aae2d4 09:28:03 ---> e61a5a0a6267 09:28:03 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:28:03 ---> Running in 3332553a8700 09:28:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:28:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:28:06 OK: 224 MiB in 56 packages 09:28:07 Removing intermediate container 3332553a8700 09:28:07 ---> cb49ecd4aa9f 09:28:07 Step 9/26 : COPY go.mod vendor* ./ 09:28:07 ---> 31304fb2bcca 09:28:07 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:07 ---> Running in 0dd72eee3fb5 09:28:09 Removing intermediate container 0dd72eee3fb5 09:28:09 ---> e0a096503ff9 09:28:09 Step 11/26 : COPY . . 09:28:11 ---> 6753033f4868 09:28:11 Step 12/26 : RUN ${MAKE} 09:28:11 ---> Running in ed982947571e 09:28:12 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:30:34 Removing intermediate container ed982947571e 09:30:34 ---> 13c8fa9f6342 09:30:34 Step 13/26 : FROM alpine:3.15 09:30:34 3.15: Pulling from library/alpine 09:30:34 9981e73032c8: Pulling fs layer 09:30:34 9981e73032c8: Verifying Checksum 09:30:34 9981e73032c8: Download complete 09:30:34 9981e73032c8: Pull complete 09:30:34 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:30:34 Status: Downloaded newer image for alpine:3.15 09:30:34 ---> 3fb3c9af89a9 09:30:34 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:30:34 ---> Running in 0146a54be1bd 09:30:34 Removing intermediate container 0146a54be1bd 09:30:34 ---> 2ac463000f75 09:30:34 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:34 ---> Running in 37d4e86a1db6 09:30:34 Removing intermediate container 37d4e86a1db6 09:30:34 ---> 0c043dbd897c 09:30:34 Step 16/26 : RUN apk add --update --no-cache zeromq 09:30:34 ---> Running in 0923ec44b343 09:30:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:30:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:30:34 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:30:34 (2/5) Installing libsodium (1.0.18-r0) 09:30:34 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:30:34 (4/5) Installing libzmq (4.3.4-r0) 09:30:34 (5/5) Installing zeromq (4.3.4-r0) 09:30:34 Executing busybox-1.34.1-r5.trigger 09:30:34 OK: 8 MiB in 19 packages 09:30:34 Removing intermediate container 0923ec44b343 09:30:34 ---> 5fbe6fd7c2b6 09:30:34 Step 17/26 : WORKDIR / 09:30:34 ---> Running in 326bf3047275 09:30:34 Removing intermediate container 326bf3047275 09:30:34 ---> cf8fd6054511 09:30:34 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 09:30:34 ---> 1014fff26f7d 09:30:34 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 09:30:34 ---> a79063f0c4e7 09:30:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 09:30:34 ---> 26f19099bac7 09:30:34 Step 21/26 : EXPOSE 59910 09:30:34 ---> Running in 3b719179eb85 09:30:34 Removing intermediate container 3b719179eb85 09:30:34 ---> 428eb3d211bd 09:30:34 Step 22/26 : ENTRYPOINT ["/device-gpio"] 09:30:34 ---> Running in 8b78b6e0a87f 09:30:34 Removing intermediate container 8b78b6e0a87f 09:30:34 ---> f8fe02b9ff98 09:30:34 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:30:34 ---> Running in ea62e83298c0 09:30:35 Removing intermediate container ea62e83298c0 09:30:35 ---> 2e864722f086 09:30:35 Step 24/26 : LABEL arch=arm64 09:30:35 ---> Running in 1a444cf48faa 09:30:35 Removing intermediate container 1a444cf48faa 09:30:35 ---> fe599c51d4a2 09:30:35 Step 25/26 : LABEL git_sha=b7b9164ad1392e9e7a87b7932eeb9f9ab0054e58 09:30:35 ---> Running in e44f8dc65ef4 09:30:36 Removing intermediate container e44f8dc65ef4 09:30:36 ---> 6227215a48ee 09:30:36 Step 26/26 : LABEL version=0.0.0 09:30:36 ---> Running in cb6374e23ee2 09:30:36 Removing intermediate container cb6374e23ee2 09:30:36 ---> 6adb997cb573 09:30:36 [Warning] One or more build-args [ARCH] were not consumed 09:30:36 Successfully built 6adb997cb573 09:30:36 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:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:30:36 09:30:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:30:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:30:37 arm64: Pulling from edgex-lftools-log-publisher 09:30:37 8998bd30e6a1: Pulling fs layer 09:30:37 04944245beec: Pulling fs layer 09:30:37 699f458cf7ca: Pulling fs layer 09:30:37 765212b225bb: Pulling fs layer 09:30:37 f23df028b6ca: Pulling fs layer 09:30:37 d65c8cfc05b1: Pulling fs layer 09:30:37 2437ff75d9bd: Pulling fs layer 09:30:37 765212b225bb: Waiting 09:30:37 f23df028b6ca: Waiting 09:30:37 d65c8cfc05b1: Waiting 09:30:37 2437ff75d9bd: Waiting 09:30:37 04944245beec: Verifying Checksum 09:30:37 04944245beec: Download complete 09:30:37 765212b225bb: Verifying Checksum 09:30:37 765212b225bb: Download complete 09:30:37 f23df028b6ca: Verifying Checksum 09:30:37 f23df028b6ca: Download complete 09:30:37 d65c8cfc05b1: Verifying Checksum 09:30:37 d65c8cfc05b1: Download complete 09:30:37 699f458cf7ca: Verifying Checksum 09:30:37 699f458cf7ca: Download complete 09:30:37 8998bd30e6a1: Verifying Checksum 09:30:37 8998bd30e6a1: Download complete 09:30:40 2437ff75d9bd: Verifying Checksum 09:30:40 2437ff75d9bd: Download complete 09:30:42 8998bd30e6a1: Pull complete 09:30:42 04944245beec: Pull complete 09:30:44 699f458cf7ca: Pull complete 09:30:44 765212b225bb: Pull complete 09:30:45 f23df028b6ca: Pull complete 09:30:45 d65c8cfc05b1: Pull complete 09:31:00 2437ff75d9bd: Pull complete 09:31:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:31:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-63584 does not seem to be running inside a container 09:31:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/3 -v /w/workspace/device-gpio/3:/w/workspace/device-gpio/3:rw,z -v /w/workspace/device-gpio/3@tmp:/w/workspace/device-gpio/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:31:03 $ docker top 52b55d766d2f1fb0aa8a49954b5c1596ca2afb9821a461f133a77f58e93ca861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:04 ---> job-cost.sh 09:31:04 lf-activate-venv: SKIPPING 09:31:04 INFO: No Stack... 09:31:04 INFO: Retrieving Pricing Info for: v3-standard-4 09:31:05 INFO: Archiving Costs [Pipeline] sh 09:31:06 + + cat /w/workspace/device-gpio/3/archives/cost.csv 09:31:06 cut -d, -f6 [Pipeline] lock 09:31:06 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] 09:31:06 Resource [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] did not exist. Created. 09:31:06 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:07 /w/workspace/device-gpio/3@tmp/durable-2ff5d95c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:31:07 + echo total: 0.10999999940395355 [Pipeline] stash 09:31:07 Warning: overwriting stash ‘stack-cost’ 09:31:07 Stashed 1 file(s) [Pipeline] } 09:31:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-35-3-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:07 $ docker stop --time=1 52b55d766d2f1fb0aa8a49954b5c1596ca2afb9821a461f133a77f58e93ca861 09:31:09 $ docker rm -f 52b55d766d2f1fb0aa8a49954b5c1596ca2afb9821a461f133a77f58e93ca861 [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:31:09 provisioning config files... 09:31:09 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config7896339474985993216tmp [Pipeline] { [Pipeline] sh 09:31:10 + set +x 09:31:10 + curl -s https://codecov.io/bash 09:31:10 + bash -s -- 09:31:10 09:31:10 _____ _ 09:31:10 / ____| | | 09:31:10 | | ___ __| | ___ ___ _____ __ 09:31:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:31:10 | |___| (_) | (_| | __/ (_| (_) \ V / 09:31:10 \_____\___/ \__,_|\___|\___\___/ \_/ 09:31:10 Bash-1.0.6 09:31:10 09:31:10 09:31:10 ==> git version 2.25.1 found 09:31:10 ==> 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:31:10 Release-Date: 2020-01-08 09:31:10 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:31:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:31:10 ==> Jenkins CI detected. 09:31:10 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-35 09:31:10 project root: . 09:31:10 --> token set from env 09:31:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:31:10 ==> Running gcov in . (disable via -X gcov) 09:31:10 ==> Python coveragepy not found 09:31:10 ==> Searching for coverage reports in: 09:31:10 + . 09:31:10 -> Found 1 reports 09:31:10 ==> Detecting git/mercurial file structure 09:31:10 ==> Reading reports 09:31:10 + ./coverage.out bytes=10 09:31:10 ==> Appending adjustments 09:31:10 https://docs.codecov.io/docs/fixing-reports 09:31:10 + Found adjustments 09:31:10 ==> Gzipping contents 09:31:10 4.0K /tmp/codecov.duNS9k.gz 09:31:10 ==> Uploading reports 09:31:10 url: https://codecov.io 09:31:10 query: branch=PR-35&commit=2e3ad077977b53572ac1a5bedce8c97909948262&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-35%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=35&job=&cmd_args= 09:31:10 -> Pinging Codecov 09:31:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-35&commit=2e3ad077977b53572ac1a5bedce8c97909948262&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-35%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=35&job=&cmd_args= 09:31:10 -> Uploading to 09:31:10 https://storage.googleapis.com/codecov/v4/raw/2022-05-13/3EC07B1A8CA8AF9BCAA0BB9F0134797F/2e3ad077977b53572ac1a5bedce8c97909948262/fc97b25c-4e2c-493b-a1db-7ccc5a595943.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T093110Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca7bb25fd508e3c00378740d56348ce98de83bdea9f2aaa38b4c2b5080e67bb2 09:31:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:31:10 Dload Upload Total Spent Left Speed 09:31:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3139 --:--:-- --:--:-- --:--:-- 3139 09:31:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/2e3ad077977b53572ac1a5bedce8c97909948262 [Pipeline] } 09:31:10 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:31:11 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-35/archives ] 09:31:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-35/archives 09:31:11 total 16 09:31:11 drwxr-xr-x 3 root root 4096 May 13 09:22 . 09:31:11 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:22 .. 09:31:11 drwxr-xr-x 2 root root 4096 May 13 09:22 cost 09:31:11 -rw-r--r-- 1 root root 81 May 13 09:22 cost.csv 09:31:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-35/archives 09:31:11 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-35/archives 09:31:11 total 16 09:31:11 drwxr-xr-x 3 jenkins jenkins 4096 May 13 09:22 . 09:31:11 drwxrwxr-x 10 jenkins jenkins 4096 May 13 09:22 .. 09:31:11 drwxr-xr-x 2 jenkins jenkins 4096 May 13 09:22 cost 09:31:11 -rw-r--r-- 1 jenkins jenkins 81 May 13 09:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:31:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:31:12 ---> package-listing.sh 09:31:12 ++ facter osfamily 09:31:12 ++ tr '[:upper:]' '[:lower:]' 09:31:13 + OS_FAMILY=debian 09:31:13 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-35 09:31:13 + START_PACKAGES=/tmp/packages_start.txt 09:31:13 + END_PACKAGES=/tmp/packages_end.txt 09:31:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:31:13 + PACKAGES=/tmp/packages_start.txt 09:31:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-35 ']' 09:31:13 + PACKAGES=/tmp/packages_end.txt 09:31:13 + case "${OS_FAMILY}" in 09:31:13 + dpkg -l 09:31:13 + grep '^ii' 09:31:13 + '[' -f /tmp/packages_start.txt ']' 09:31:13 + '[' -f /tmp/packages_end.txt ']' 09:31:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:31:13 + '[' /w/workspace/edgexfoundry_device-gpio_PR-35 ']' 09:31:13 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-35/archives/ 09:31:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-35/archives/ [Pipeline] echo 09:31:13 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-35/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:31:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:31:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:13 . [Pipeline] withDockerContainer 09:31:13 prd-ubuntu20.04-docker-8c-8g-63581 does not seem to be running inside a container 09:31:13 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-35/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-35 -v /w/workspace/edgexfoundry_device-gpio_PR-35:/w/workspace/edgexfoundry_device-gpio_PR-35:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-35@tmp:/w/workspace/edgexfoundry_device-gpio_PR-35@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:31:13 $ docker top 001271c0dd658e04e2a4702595a176d98a97e6754e83f5d27ee50053fc50adcc -eo pid,comm [Pipeline] { [Pipeline] sh 09:31:14 + touch /tmp/pre-build-complete [Pipeline] sh 09:31:14 + mkdir -p /var/log/sysstat [Pipeline] sh 09:31:14 + ls /var/log/sa-host 09:31:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:31:15 provisioning config files... 09:31:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-35@tmp/config8423384896210322805tmp [Pipeline] { [Pipeline] echo 09:31:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:31:15 ---> create-netrc.sh [Pipeline] } 09:31:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:31:15 ---> python-tools-install.sh [Pipeline] echo 09:31:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:31:15 ---> sudo-logs.sh 09:31:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:31:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:31:16 ---> job-cost.sh 09:31:16 lf-activate-venv: SKIPPING 09:31:16 DEBUG: total: 0.2199999988079071 09:31:16 INFO: Retrieving Stack Cost... 09:31:16 INFO: Retrieving Pricing Info for: v3-standard-8 09:31:17 INFO: Archiving Costs [Pipeline] echo 09:31:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:31:17 ---> logs-deploy.sh 09:31:17 lf-activate-venv: SKIPPING 09:31:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-35/3 09:31:17 INFO: archiving workspace using pattern(s): 09:31:18 Archives upload complete. 09:31:18 INFO: archiving logs to Nexus