Pull request #29 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-gpio Loading trusted files from base branch main at cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 rather than 9001f00ff560a99327d95cf303812f00311271eb Obtained Jenkinsfile from cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16696879882886715568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4115435705967096355.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-29/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1402873196107054741.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-29/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1980645271821709254.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh151688523612127956.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-29/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-29/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6015632878836398703.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-46898 in /w/workspace/edgexfoundry_device-gpio_PR-29 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_PR-29 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit 9001f00ff560a99327d95cf303812f00311271eb Merge succeeded, producing 9001f00ff560a99327d95cf303812f00311271eb Checking out Revision 9001f00ff560a99327d95cf303812f00311271eb (PR-29) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9001f00ff560a99327d95cf303812f00311271eb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9001f00ff560a99327d95cf303812f00311271eb # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:23:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:23:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:23:56 ========================================================= 09:23:56 EdgeX Global Pipelines Version Info 09:23:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:23:56 ------------------- 09:23:56 stable info: 09:23:56 ------------------- 09:23:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:56 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 09:23:56 Message: update stable to v1.0.227 09:23:57 ------------------- 09:23:57 experimental info: 09:23:57 ------------------- 09:23:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:23:57 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 09:23:57 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:23:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:23:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-29 [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-29 [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-29 [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9001f00ff560a99327d95cf303812f00311271eb [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9001f00 [Pipeline] echo 09:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:23:59 provisioning config files... 09:23:59 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config5651084236055668358tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:23:59 ---> docker-login.sh 09:23:59 nexus3.edgexfoundry.org:10001 09:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:00 Configure a credential helper to remove this warning. See 09:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:00 09:24:00 Login Succeeded 09:24:00 nexus3.edgexfoundry.org:10002 09:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:00 Configure a credential helper to remove this warning. See 09:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:00 09:24:00 Login Succeeded 09:24:00 nexus3.edgexfoundry.org:10003 09:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:00 Configure a credential helper to remove this warning. See 09:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:00 09:24:00 Login Succeeded 09:24:00 nexus3.edgexfoundry.org:10004 09:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:00 Configure a credential helper to remove this warning. See 09:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:00 09:24:00 Login Succeeded 09:24:00 docker.io 09:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:00 Configure a credential helper to remove this warning. See 09:24:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:00 09:24:00 Login Succeeded 09:24:00 ---> docker-login.sh ends [Pipeline] } 09:24:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:24:01 + git rev-list -1 --merges 9001f00ff560a99327d95cf303812f00311271eb~1..9001f00ff560a99327d95cf303812f00311271eb [Pipeline] echo 09:24:01 -----------> git rev-list -1 --merges 9001f00ff560a99327d95cf303812f00311271eb~1..9001f00ff560a99327d95cf303812f00311271eb 9001f00ff560a99327d95cf303812f00311271eb [false] [Pipeline] sh 09:24:02 + git log --format=format:%s -1 9001f00ff560a99327d95cf303812f00311271eb [Pipeline] echo 09:24:02 ========================================================= 09:24:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:24:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:24:02 + git log --format=format:%s -1 9001f00ff560a99327d95cf303812f00311271eb [Pipeline] echo 09:24:02 [semverPrep] GIT_COMMIT: 9001f00ff560a99327d95cf303812f00311271eb, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 09:24:02 [semverPrep] This is not a build commit. [Pipeline] sh 09:24:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:24:03 + grep -v github /etc/ssh/ssh_known_hosts 09:24:03 + [ -e /tmp/ssh_known_hosts ] 09:24:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:24:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:24:03 + sudo tee -a /etc/ssh/ssh_known_hosts 09:24:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 09:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:03 09:24:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:24:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:03 latest: Pulling from edgex-devops/py-git-semver 09:24:03 1fe172e4850f: Pulling fs layer 09:24:03 caf521ccaac6: Pulling fs layer 09:24:03 3ead6fa29328: Pulling fs layer 09:24:03 5c2a1cbceb83: Pulling fs layer 09:24:03 a8d5f1318db7: Pulling fs layer 09:24:03 c427282e49a2: Pulling fs layer 09:24:03 1827001aaf11: Pulling fs layer 09:24:03 0714d37db230: Pulling fs layer 09:24:03 ac28cf19c067: Pulling fs layer 09:24:03 ca983d60f3e2: Pulling fs layer 09:24:03 9f894cec8388: Pulling fs layer 09:24:03 5c2a1cbceb83: Waiting 09:24:03 0714d37db230: Waiting 09:24:03 1827001aaf11: Waiting 09:24:03 ac28cf19c067: Waiting 09:24:03 a8d5f1318db7: Waiting 09:24:03 ca983d60f3e2: Waiting 09:24:03 c427282e49a2: Waiting 09:24:03 9f894cec8388: Waiting 09:24:03 caf521ccaac6: Download complete 09:24:03 5c2a1cbceb83: Download complete 09:24:04 a8d5f1318db7: Verifying Checksum 09:24:04 a8d5f1318db7: Download complete 09:24:04 c427282e49a2: Download complete 09:24:04 3ead6fa29328: Verifying Checksum 09:24:04 3ead6fa29328: Download complete 09:24:04 0714d37db230: Download complete 09:24:04 ac28cf19c067: Verifying Checksum 09:24:04 ac28cf19c067: Download complete 09:24:04 ca983d60f3e2: Verifying Checksum 09:24:04 ca983d60f3e2: Download complete 09:24:04 9f894cec8388: Verifying Checksum 09:24:04 9f894cec8388: Download complete 09:24:04 1fe172e4850f: Verifying Checksum 09:24:04 1fe172e4850f: Download complete 09:24:04 1827001aaf11: Verifying Checksum 09:24:04 1827001aaf11: Download complete 09:24:05 1fe172e4850f: Pull complete 09:24:05 caf521ccaac6: Pull complete 09:24:06 3ead6fa29328: Pull complete 09:24:06 5c2a1cbceb83: Pull complete 09:24:06 a8d5f1318db7: Pull complete 09:24:06 c427282e49a2: Pull complete 09:24:08 1827001aaf11: Pull complete 09:24:08 0714d37db230: Pull complete 09:24:08 ac28cf19c067: Pull complete 09:24:08 ca983d60f3e2: Pull complete 09:24:08 9f894cec8388: Pull complete 09:24:08 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 09:24:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 09:24:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 09:24:08 prd-ubuntu20.04-docker-8c-8g-46898 does not seem to be running inside a container 09:24:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 09:24:10 $ docker top 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d -eo pid,comm 09:24:10 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:24:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:10 [ssh-agent] Looking for ssh-agent implementation... 09:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:10 $ docker exec 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d ssh-agent 09:24:11 SSH_AUTH_SOCK=/tmp/ssh-oM4OkjcC952k/agent.33 09:24:11 SSH_AGENT_PID=39 09:24:11 Running ssh-add (command line suppressed) 09:24:11 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_9202670534781588955.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_9202670534781588955.key) 09:24:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:11 + git tag --points-at HEAD [Pipeline] } 09:24:11 $ docker exec --env ******** --env ******** 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d ssh-agent -k 09:24:11 unset SSH_AUTH_SOCK; 09:24:11 unset SSH_AGENT_PID; 09:24:11 echo Agent pid 39 killed; 09:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:24:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:24:11 [ssh-agent] Looking for ssh-agent implementation... 09:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:24:11 $ docker exec 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d ssh-agent 09:24:12 SSH_AUTH_SOCK=/tmp/ssh-stzwp0cS0jZV/agent.71 09:24:12 SSH_AGENT_PID=78 09:24:12 Running ssh-add (command line suppressed) 09:24:12 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_5338240752048722263.key (/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/private_key_5338240752048722263.key) 09:24:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:24:12 + git semver init 09:24:12 2022-05-10 09:24:12,807 [run_init] DEBUG init version:0.0.0 force:False 09:24:12 2022-05-10 09:24:12,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver 09:24:12 2022-05-10 09:24:12,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-29/.semver 09:24:12 2022-05-10 09:24:12,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-29/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29, universal_newlines=False, shell=None, istream=None) 09:24:13 2022-05-10 09:24:13,758 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.git/info/exclude 09:24:13 2022-05-10 09:24:13,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 with force:False 09:24:13 2022-05-10 09:24:13,759 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 09:24:13 2022-05-10 09:24:13,762 [execute] INFO git cat-file --batch-check 09:24:13 2022-05-10 09:24:13,762 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 09:24:13 2022-05-10 09:24:13,768 [execute] INFO git cat-file --batch 09:24:13 2022-05-10 09:24:13,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-29/.semver, universal_newlines=False, shell=None, istream=) 09:24:13 2022-05-10 09:24:13,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-29/.semver/PR-29 09:24:13 0.0.0 [Pipeline] } 09:24:13 $ docker exec --env ******** --env ******** 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d ssh-agent -k 09:24:13 unset SSH_AUTH_SOCK; 09:24:13 unset SSH_AGENT_PID; 09:24:13 echo Agent pid 78 killed; 09:24:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:24:14 + git semver [Pipeline] } 09:24:14 $ docker stop --time=1 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d 09:24:16 $ docker rm -f 2a39a85f2e9a232b41aa52a9fb0adb8d0f8d81ba1a77d1adbf9f5d1c43ab467d [Pipeline] // withDockerContainer [Pipeline] sh 09:24:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:24:16 Stashed 1 file(s) [Pipeline] echo 09:24:16 [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:24:17 provisioning config files... 09:24:17 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config2790695956877177429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:24:17 ---> docker-login.sh 09:24:17 nexus3.edgexfoundry.org:10001 09:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:17 Configure a credential helper to remove this warning. See 09:24:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:17 09:24:17 Login Succeeded 09:24:17 nexus3.edgexfoundry.org:10002 09:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:18 Configure a credential helper to remove this warning. See 09:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:18 09:24:18 Login Succeeded 09:24:18 nexus3.edgexfoundry.org:10003 09:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:18 Configure a credential helper to remove this warning. See 09:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:18 09:24:18 Login Succeeded 09:24:18 nexus3.edgexfoundry.org:10004 09:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:18 Configure a credential helper to remove this warning. See 09:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:18 09:24:18 Login Succeeded 09:24:18 docker.io 09:24:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:24:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:24:18 Configure a credential helper to remove this warning. See 09:24:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:24:18 09:24:18 Login Succeeded 09:24:18 ---> docker-login.sh ends [Pipeline] } 09:24:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:24:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:24:18 ========================================================= 09:24:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:24:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:24:19 + 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:24:19 Sending build context to Docker daemon 15.58MB 09:24:19 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:24:19 Step 2/11 : FROM ${BASE} AS builder 09:24:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:24:19 59bf1c3509f3: Pulling fs layer 09:24:19 666ba61612fd: Pulling fs layer 09:24:19 8ed8ca486205: Pulling fs layer 09:24:19 4fe6c5a15a65: Pulling fs layer 09:24:19 22a0e8bec74d: Pulling fs layer 09:24:19 ca2b28591e48: Pulling fs layer 09:24:19 a51346096db8: Pulling fs layer 09:24:19 daebc70d1ce1: Pulling fs layer 09:24:19 0e18a0eac166: Pulling fs layer 09:24:19 22a0e8bec74d: Waiting 09:24:19 ca2b28591e48: Waiting 09:24:19 a51346096db8: Waiting 09:24:19 daebc70d1ce1: Waiting 09:24:19 4fe6c5a15a65: Waiting 09:24:19 8ed8ca486205: Download complete 09:24:19 666ba61612fd: Download complete 09:24:19 22a0e8bec74d: Download complete 09:24:19 ca2b28591e48: Verifying Checksum 09:24:19 ca2b28591e48: Download complete 09:24:19 59bf1c3509f3: Verifying Checksum 09:24:19 59bf1c3509f3: Download complete 09:24:19 a51346096db8: Download complete 09:24:19 daebc70d1ce1: Verifying Checksum 09:24:19 daebc70d1ce1: Download complete 09:24:19 59bf1c3509f3: Pull complete 09:24:19 666ba61612fd: Pull complete 09:24:19 8ed8ca486205: Pull complete 09:24:20 0e18a0eac166: Verifying Checksum 09:24:20 0e18a0eac166: Download complete 09:24:20 4fe6c5a15a65: Verifying Checksum 09:24:20 4fe6c5a15a65: Download complete 09:24:24 4fe6c5a15a65: Pull complete 09:24:24 22a0e8bec74d: Pull complete 09:24:24 ca2b28591e48: Pull complete 09:24:24 a51346096db8: Pull complete 09:24:24 daebc70d1ce1: Pull complete 09:24:27 0e18a0eac166: Pull complete 09:24:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 09:24:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:24:27 ---> f018257e8ee9 09:24:27 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:24:28 ---> Running in ffab8f6b5173 09:24:28 Removing intermediate container ffab8f6b5173 09:24:28 ---> e82c183311aa 09:24:28 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:24:28 ---> Running in 54c67fc126fc 09:24:28 Removing intermediate container 54c67fc126fc 09:24:28 ---> 69ae8c709360 09:24:28 Step 5/11 : WORKDIR /device-gpio 09:24:28 ---> Running in e8d9d910ac5f 09:24:28 Removing intermediate container e8d9d910ac5f 09:24:28 ---> b41105c4c46a 09:24:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:24:28 ---> Running in af62fe0e0b2a 09:24:29 Removing intermediate container af62fe0e0b2a 09:24:29 ---> 2bbd39673aec 09:24:29 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:24:29 ---> Running in 839532beb31e 09:24:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:24:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:24:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:24:31 (2/4) Installing libedit (20210910.3.1-r0) 09:24:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:24:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:24:31 Executing busybox-1.34.1-r3.trigger 09:24:31 OK: 224 MiB in 56 packages 09:24:31 Removing intermediate container 839532beb31e 09:24:31 ---> d1677551820b 09:24:31 Step 8/11 : COPY go.mod vendor* ./ 09:24:32 ---> e3dbbaaaaffb 09:24:32 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:24:32 ---> Running in eaa9acfe0ec0 09:24:32 Still waiting to schedule task 09:24:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 09:25:04 Removing intermediate container eaa9acfe0ec0 09:25:04 ---> 65c793c14af6 09:25:04 Step 10/11 : COPY . . 09:25:04 ---> ac17f57c60aa 09:25:04 Step 11/11 : RUN ${MAKE} 09:25:04 ---> Running in ad1ae31c2218 09:25:04 Removing intermediate container ad1ae31c2218 09:25:04 ---> e878a7e81d73 09:25:04 [Warning] One or more build-args [MAKE] were not consumed 09:25:04 Successfully built e878a7e81d73 09:25:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:25:04 + docker inspect -f . ci-base-image-x86_64 09:25:04 . [Pipeline] withDockerContainer 09:25:04 prd-ubuntu20.04-docker-8c-8g-46898 does not seem to be running inside a container 09:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:25:05 $ docker top 744ed1ac8e12f1c33a508906fe14d40311ee66a5308062293c7203bf384308f7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:25:05 + go version 09:25:05 go version go1.17.6 linux/amd64 [Pipeline] } 09:25:05 $ docker stop --time=1 744ed1ac8e12f1c33a508906fe14d40311ee66a5308062293c7203bf384308f7 09:25:06 $ docker rm -f 744ed1ac8e12f1c33a508906fe14d40311ee66a5308062293c7203bf384308f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:25:07 + docker inspect -f . ci-base-image-x86_64 09:25:07 . [Pipeline] withDockerContainer 09:25:07 prd-ubuntu20.04-docker-8c-8g-46898 does not seem to be running inside a container 09:25:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:25:08 $ docker top 0d5278a12fcc8535c368b24c58c2197c06e9cca79a959396aa2beea3aa1def3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:25:08 + make test 09:25:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:25:08 ? github.com/edgexfoundry/device-gpio [no test files] 09:25:15 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:25:15 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:25:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:25:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:23 ./bin/test-attribution-txt.sh [Pipeline] echo 09:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:23 $ docker stop --time=1 0d5278a12fcc8535c368b24c58c2197c06e9cca79a959396aa2beea3aa1def3b 09:25:25 $ docker rm -f 0d5278a12fcc8535c368b24c58c2197c06e9cca79a959396aa2beea3aa1def3b [Pipeline] // withDockerContainer [Pipeline] sh 09:25:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:25:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:25:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:25:26 + ls -al . 09:25:26 total 192 09:25:26 drwxrwxr-x 9 jenkins jenkins 4096 May 10 09:25 . 09:25:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:23 .. 09:25:26 -rw-rw-r-- 1 jenkins jenkins 120 May 10 09:23 .dockerignore 09:25:26 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:24 .git 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 .github 09:25:26 -rw-rw-r-- 1 jenkins jenkins 343 May 10 09:23 .gitignore 09:25:26 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:23 .golangci.yml 09:25:26 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:24 .semver 09:25:26 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 09:23 Attribution.txt 09:25:26 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 09:23 CHANGELOG.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 09:23 Dockerfile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:23 GOVERNANCE.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 657 May 10 09:23 Jenkinsfile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:23 LICENSE 09:25:26 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 09:23 Makefile 09:25:26 -rw-rw-r-- 1 jenkins jenkins 617 May 10 09:23 OWNERS.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 09:23 README.md 09:25:26 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:24 VERSION 09:25:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:23 bin 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 cmd 09:25:26 -rw-r--r-- 1 jenkins jenkins 10 May 10 09:25 coverage.out 09:25:26 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 09:23 go.mod 09:25:26 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 09:23 go.sum 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 internal 09:25:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:23 snap 09:25:26 -rw-rw-r-- 1 jenkins jenkins 209 May 10 09:23 version.go [Pipeline] isUnix [Pipeline] sh 09:25:26 + 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=9001f00ff560a99327d95cf303812f00311271eb --label arch=amd64 --label version=0.0.0 . 09:25:26 Sending build context to Docker daemon 15.58MB 09:25:26 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:25:26 Step 2/25 : FROM ${BASE} AS builder 09:25:26 ---> e878a7e81d73 09:25:26 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:25:27 ---> Running in dee1aecc145e 09:25:27 Removing intermediate container dee1aecc145e 09:25:27 ---> 4e55b27ba219 09:25:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:25:27 ---> Running in aadb0e4ed667 09:25:27 Removing intermediate container aadb0e4ed667 09:25:27 ---> cc0cd4a4200d 09:25:27 Step 5/25 : WORKDIR /device-gpio 09:25:27 ---> Running in 185e264f4a92 09:25:27 Removing intermediate container 185e264f4a92 09:25:27 ---> ad834b878d71 09:25:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:27 ---> Running in 28c383f2b2b2 09:25:27 Removing intermediate container 28c383f2b2b2 09:25:27 ---> 871c3c03fa73 09:25:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:25:27 ---> Running in c45874720687 09:25:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:25:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:25:29 OK: 224 MiB in 56 packages 09:25:29 Removing intermediate container c45874720687 09:25:29 ---> a3aec93be4db 09:25:29 Step 8/25 : COPY go.mod vendor* ./ 09:25:29 ---> 39db5a89a5fa 09:25:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:25:29 ---> Running in 951c0d93cd91 09:25:30 Removing intermediate container 951c0d93cd91 09:25:30 ---> f2178ff51add 09:25:30 Step 10/25 : COPY . . 09:25:30 ---> ffc51320eba9 09:25:30 Step 11/25 : RUN ${MAKE} 09:25:30 ---> Running in e66a053942f3 09:25:31 Removing intermediate container e66a053942f3 09:25:31 ---> 9d043491dc42 09:25:31 Step 12/25 : FROM alpine:3.15 09:25:32 3.15: Pulling from library/alpine 09:25:32 df9b9388f04a: Pulling fs layer 09:25:32 df9b9388f04a: Verifying Checksum 09:25:32 df9b9388f04a: Download complete 09:25:32 df9b9388f04a: Pull complete 09:25:32 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:25:32 Status: Downloaded newer image for alpine:3.15 09:25:32 ---> 0ac33e5f5afa 09:25:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:25:32 ---> Running in baf038774e42 09:25:32 Removing intermediate container baf038774e42 09:25:32 ---> cd4efdd65a61 09:25:32 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:25:32 ---> Running in 66c260fe403e 09:25:33 Removing intermediate container 66c260fe403e 09:25:33 ---> d8002e1de65f 09:25:33 Step 15/25 : RUN apk add --update --no-cache zeromq 09:25:33 ---> Running in a8f1fa5797dd 09:25:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:25:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:25:35 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:25:35 (2/5) Installing libsodium (1.0.18-r0) 09:25:35 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:25:35 (4/5) Installing libzmq (4.3.4-r0) 09:25:35 (5/5) Installing zeromq (4.3.4-r0) 09:25:35 Executing busybox-1.34.1-r5.trigger 09:25:35 OK: 8 MiB in 19 packages 09:25:35 Removing intermediate container a8f1fa5797dd 09:25:35 ---> b5d9a1c92192 09:25:35 Step 16/25 : WORKDIR / 09:25:35 ---> Running in f2abc3e0fd50 09:25:35 Removing intermediate container f2abc3e0fd50 09:25:35 ---> 4195ee7b9bf6 09:25:35 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:25:36 ---> e8441d7da4aa 09:25:36 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:25:36 ---> 7a59a8b947c4 09:25:36 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:25:36 ---> c74493b051df 09:25:36 Step 20/25 : EXPOSE 59910 09:25:36 ---> Running in 94dd709d2dd7 09:25:36 Removing intermediate container 94dd709d2dd7 09:25:36 ---> 8379d8fd1965 09:25:36 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:25:36 ---> Running in 4c8d485ad3b4 09:25:36 Removing intermediate container 4c8d485ad3b4 09:25:36 ---> 8e4fa7955fcb 09:25:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:25:36 ---> Running in 337ab074c4ef 09:25:36 Removing intermediate container 337ab074c4ef 09:25:36 ---> 49c9b9499065 09:25:36 Step 23/25 : LABEL arch=amd64 09:25:36 ---> Running in 2cce6eb0cace 09:25:36 Removing intermediate container 2cce6eb0cace 09:25:36 ---> 190cbbc901c0 09:25:36 Step 24/25 : LABEL git_sha=9001f00ff560a99327d95cf303812f00311271eb 09:25:37 ---> Running in c397e28f4a4e 09:25:37 Removing intermediate container c397e28f4a4e 09:25:37 ---> a2eeb8ac6b94 09:25:37 Step 25/25 : LABEL version=0.0.0 09:25:37 ---> Running in 35c8268aef3f 09:25:37 Removing intermediate container 35c8268aef3f 09:25:37 ---> 15b51619ac11 09:25:37 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:25:37 Successfully built 15b51619ac11 09:25:37 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:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:37 09:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 09:25:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:38 latest: Pulling from edgex-lftools-log-publisher 09:25:38 5eb5b503b376: Pulling fs layer 09:25:38 5c69ac0246d0: Pulling fs layer 09:25:38 ec43610c2a17: Pulling fs layer 09:25:38 3a2ae6a8a46f: Pulling fs layer 09:25:38 33b1e0a273af: Pulling fs layer 09:25:38 3a2ae6a8a46f: Waiting 09:25:38 33b1e0a273af: Waiting 09:25:38 5d3b04190fa2: Pulling fs layer 09:25:38 2f39f015ded8: Pulling fs layer 09:25:38 5d3b04190fa2: Waiting 09:25:38 2f39f015ded8: Waiting 09:25:38 5c69ac0246d0: Verifying Checksum 09:25:38 5c69ac0246d0: Download complete 09:25:38 3a2ae6a8a46f: Verifying Checksum 09:25:38 3a2ae6a8a46f: Download complete 09:25:38 33b1e0a273af: Verifying Checksum 09:25:38 33b1e0a273af: Download complete 09:25:38 ec43610c2a17: Verifying Checksum 09:25:38 ec43610c2a17: Download complete 09:25:38 5d3b04190fa2: Verifying Checksum 09:25:38 5d3b04190fa2: Download complete 09:25:38 5eb5b503b376: Verifying Checksum 09:25:38 5eb5b503b376: Download complete 09:25:39 2f39f015ded8: Download complete 09:25:40 5eb5b503b376: Pull complete 09:25:40 5c69ac0246d0: Pull complete 09:25:40 ec43610c2a17: Pull complete 09:25:40 3a2ae6a8a46f: Pull complete 09:25:40 33b1e0a273af: Pull complete 09:25:40 5d3b04190fa2: Pull complete 09:25:45 2f39f015ded8: Pull complete 09:25:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:25:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:25:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 09:25:45 prd-ubuntu20.04-docker-8c-8g-46898 does not seem to be running inside a container 09:25:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:25:47 $ docker top 27d23a4266e17ddeb9c0c8ca56963a2961e26faec22fef9ecfda0ab57f7dd266 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:47 ---> job-cost.sh 09:25:47 lf-activate-venv: SKIPPING 09:25:47 INFO: No Stack... 09:25:48 INFO: Retrieving Pricing Info for: v3-standard-8 09:25:48 INFO: Archiving Costs [Pipeline] sh 09:25:48 + cat /w/workspace/edgexfoundry_device-gpio_PR-29/archives/cost.csv 09:25:48 + cut -d, -f6 [Pipeline] lock 09:25:49 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] 09:25:49 Resource [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] did not exist. Created. 09:25:49 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:25:49 + echo total: 0.2199999988079071 [Pipeline] stash 09:25:49 Stashed 1 file(s) [Pipeline] } 09:25:49 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:25:49 $ docker stop --time=1 27d23a4266e17ddeb9c0c8ca56963a2961e26faec22fef9ecfda0ab57f7dd266 09:25:50 $ docker rm -f 27d23a4266e17ddeb9c0c8ca56963a2961e26faec22fef9ecfda0ab57f7dd266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:27:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-46944 in /w/workspace/edgexfoundry_device-gpio_PR-29 [Pipeline] { [Pipeline] ws 09:27:04 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 09:27:04 The recommended git tool is: git 09:27:11 using credential edgex-jenkins-ssh 09:27:12 Cloning the remote Git repository 09:27:12 Cloning repository git@github.com:edgexfoundry/device-gpio.git 09:27:12 > git init /w/workspace/device-gpio/1 # timeout=10 09:27:12 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:27:12 > git --version # timeout=10 09:27:12 > git --version # 'git version 2.25.1' 09:27:12 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:14 Merging remotes/origin/main commit cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 into PR head commit 9001f00ff560a99327d95cf303812f00311271eb 09:27:14 Merge succeeded, producing 9001f00ff560a99327d95cf303812f00311271eb 09:27:14 Checking out Revision 9001f00ff560a99327d95cf303812f00311271eb (PR-29) 09:27:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:27:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:27:14 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 09:27:14 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 09:27:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/29/head:refs/remotes/origin/PR-29 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:27:14 > git config core.sparsecheckout # timeout=10 09:27:14 > git checkout -f 9001f00ff560a99327d95cf303812f00311271eb # timeout=10 09:27:14 > git remote # timeout=10 09:27:14 > git config --get remote.origin.url # timeout=10 09:27:14 using GIT_SSH to set credentials SSH Credentials for GitHub 09:27:14 > git merge cab0c4d6c2673bf6b8ec623e23406c8a02eff2a5 # timeout=10 09:27:14 > git rev-parse HEAD^{commit} # timeout=10 09:27:14 > git config core.sparsecheckout # timeout=10 09:27:14 > git checkout -f 9001f00ff560a99327d95cf303812f00311271eb # timeout=10 09:27:19 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 09:27:19 > git --version # timeout=10 09:27:19 > git --version # 'git version 2.25.1' 09:27:19 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:27:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:27:20 % Total % Received % Xferd Average Speed Time Time Time Current 09:27:20 Dload Upload Total Spent Left Speed 09:27:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 09:27:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:27:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:27:21 + sudo tee /etc/docker/daemon.new 09:27:21 { 09:27:21 "registry-mirrors": [ 09:27:21 "https://nexus3.edgexfoundry.org:10001" 09:27:21 ], 09:27:21 "bip": "10.250.0.254/24", 09:27:21 "hosts": [ 09:27:21 "tcp://0.0.0.0:5555", 09:27:21 "unix:///var/run/docker.sock" 09:27:21 ], 09:27:21 "mtu": 1458, 09:27:21 "selinux-enabled": true, 09:27:21 "seccomp-profile": "/etc/docker/seccomp.json" 09:27:21 } [Pipeline] sh 09:27:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:27:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:27:40 provisioning config files... 09:27:40 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config2064891708699161704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:27:41 ---> docker-login.sh 09:27:41 nexus3.edgexfoundry.org:10001 09:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:42 Configure a credential helper to remove this warning. See 09:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:42 09:27:42 Login Succeeded 09:27:42 nexus3.edgexfoundry.org:10002 09:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:42 Configure a credential helper to remove this warning. See 09:27:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:42 09:27:42 Login Succeeded 09:27:42 nexus3.edgexfoundry.org:10003 09:27:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:43 Configure a credential helper to remove this warning. See 09:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:43 09:27:43 Login Succeeded 09:27:43 nexus3.edgexfoundry.org:10004 09:27:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:43 Configure a credential helper to remove this warning. See 09:27:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:43 09:27:43 Login Succeeded 09:27:43 docker.io 09:27:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:27:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:27:44 Configure a credential helper to remove this warning. See 09:27:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:27:44 09:27:44 Login Succeeded 09:27:44 ---> docker-login.sh ends [Pipeline] } 09:27:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:27:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:27:44 ========================================================= 09:27:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:27:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 09:27:45 + 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:27:45 Sending build context to Docker daemon 7.859MB 09:27:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:27:45 Step 2/11 : FROM ${BASE} AS builder 09:27:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:27:45 9b3977197b4f: Pulling fs layer 09:27:45 1a89e8eeedd5: Pulling fs layer 09:27:45 94645a83ff95: Pulling fs layer 09:27:45 3f3a8bcf1eab: Pulling fs layer 09:27:45 0c92f367c5e7: Pulling fs layer 09:27:45 3f3a8bcf1eab: Waiting 09:27:45 0c92f367c5e7: Waiting 09:27:45 3096ccb668a1: Pulling fs layer 09:27:45 e8cf19c19ddd: Pulling fs layer 09:27:45 3096ccb668a1: Waiting 09:27:45 a4caa8a26152: Pulling fs layer 09:27:45 a4caa8a26152: Waiting 09:27:45 e8cf19c19ddd: Waiting 09:27:45 94645a83ff95: Verifying Checksum 09:27:45 94645a83ff95: Download complete 09:27:45 1a89e8eeedd5: Verifying Checksum 09:27:45 1a89e8eeedd5: Download complete 09:27:45 0c92f367c5e7: Verifying Checksum 09:27:45 0c92f367c5e7: Download complete 09:27:45 3096ccb668a1: Verifying Checksum 09:27:45 3096ccb668a1: Download complete 09:27:45 e8cf19c19ddd: Verifying Checksum 09:27:45 e8cf19c19ddd: Download complete 09:27:45 9b3977197b4f: Verifying Checksum 09:27:45 9b3977197b4f: Download complete 09:27:46 9b3977197b4f: Pull complete 09:27:47 1a89e8eeedd5: Pull complete 09:27:47 94645a83ff95: Pull complete 09:27:48 a4caa8a26152: Verifying Checksum 09:27:48 a4caa8a26152: Download complete 09:27:48 3f3a8bcf1eab: Verifying Checksum 09:27:48 3f3a8bcf1eab: Download complete 09:28:01 3f3a8bcf1eab: Pull complete 09:28:01 0c92f367c5e7: Pull complete 09:28:01 3096ccb668a1: Pull complete 09:28:01 e8cf19c19ddd: Pull complete 09:28:07 a4caa8a26152: Pull complete 09:28:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 09:28:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:28:07 ---> 725f1c02e7f9 09:28:07 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:28:07 ---> Running in f8ac8348d3cf 09:28:08 Removing intermediate container f8ac8348d3cf 09:28:08 ---> 69c803758924 09:28:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 09:28:08 ---> Running in 633fc6f6dd60 09:28:08 Removing intermediate container 633fc6f6dd60 09:28:08 ---> 83a2a9deea69 09:28:08 Step 5/11 : WORKDIR /device-gpio 09:28:08 ---> Running in 1b29b93c1deb 09:28:08 Removing intermediate container 1b29b93c1deb 09:28:08 ---> 2da006157fa1 09:28:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:28:08 ---> Running in 2fc39d9ff07e 09:28:10 Removing intermediate container 2fc39d9ff07e 09:28:10 ---> f086ebac45eb 09:28:10 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:28:10 ---> Running in c121338767a5 09:28:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:28:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:28:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 09:28:13 (2/4) Installing libedit (20210910.3.1-r0) 09:28:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 09:28:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 09:28:14 Executing busybox-1.34.1-r3.trigger 09:28:14 OK: 224 MiB in 56 packages 09:28:15 Removing intermediate container c121338767a5 09:28:15 ---> 28cd83b441b0 09:28:15 Step 8/11 : COPY go.mod vendor* ./ 09:28:15 ---> 44f3decb8b35 09:28:15 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:15 ---> Running in 66b7d3e38405 09:29:37 Removing intermediate container 66b7d3e38405 09:29:37 ---> 196741def6bb 09:29:37 Step 10/11 : COPY . . 09:29:37 ---> cddc51ea299a 09:29:37 Step 11/11 : RUN ${MAKE} 09:29:37 ---> Running in 3b4970ac0789 09:29:37 Removing intermediate container 3b4970ac0789 09:29:37 ---> 19c402d94dfd 09:29:37 [Warning] One or more build-args [MAKE] were not consumed 09:29:37 Successfully built 19c402d94dfd 09:29:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:29:37 + docker inspect -f . ci-base-image-arm64 09:29:37 . [Pipeline] withDockerContainer 09:29:38 prd-ubuntu20.04-docker-arm64-4c-16g-46944 does not seem to be running inside a container 09:29:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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:29:39 $ docker top 04816e87d35be058443d171cf6ad90ef1e4ec2d024497ccae6f9e9dd8b1ed6b0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:29:40 + go version 09:29:40 go version go1.17.6 linux/arm64 [Pipeline] } 09:29:40 $ docker stop --time=1 04816e87d35be058443d171cf6ad90ef1e4ec2d024497ccae6f9e9dd8b1ed6b0 09:29:42 $ docker rm -f 04816e87d35be058443d171cf6ad90ef1e4ec2d024497ccae6f9e9dd8b1ed6b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:29:43 + docker inspect -f . ci-base-image-arm64 09:29:43 . [Pipeline] withDockerContainer 09:29:43 prd-ubuntu20.04-docker-arm64-4c-16g-46944 does not seem to be running inside a container 09:29:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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:29:44 $ docker top 81fb7b168ca82388d7bcad2d7cfc987e54641556169f80c3374b8be689c23fc0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:29:45 + make test 09:29:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:29:47 ? github.com/edgexfoundry/device-gpio [no test files] 09:30:34 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 09:30:34 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 09:30:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:30:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:30:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:30:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:30:49 ./bin/test-attribution-txt.sh [Pipeline] echo 09:30:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:30:50 $ docker stop --time=1 81fb7b168ca82388d7bcad2d7cfc987e54641556169f80c3374b8be689c23fc0 09:30:52 $ docker rm -f 81fb7b168ca82388d7bcad2d7cfc987e54641556169f80c3374b8be689c23fc0 [Pipeline] // withDockerContainer [Pipeline] sh 09:30:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:30:52 Warning: overwriting stash ‘coverage-report’ 09:30:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:30:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:30:54 + ls -al . 09:30:54 total 188 09:30:54 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:30 . 09:30:54 drwxrwxr-x 4 jenkins jenkins 4096 May 10 09:27 .. 09:30:54 -rw-rw-r-- 1 jenkins jenkins 120 May 10 09:27 .dockerignore 09:30:54 drwxrwxr-x 8 jenkins jenkins 4096 May 10 09:27 .git 09:30:54 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:27 .github 09:30:54 -rw-rw-r-- 1 jenkins jenkins 343 May 10 09:27 .gitignore 09:30:54 -rw-rw-r-- 1 jenkins jenkins 41 May 10 09:27 .golangci.yml 09:30:54 -rw-rw-r-- 1 jenkins jenkins 7772 May 10 09:27 Attribution.txt 09:30:54 -rw-rw-r-- 1 jenkins jenkins 2256 May 10 09:27 CHANGELOG.md 09:30:54 -rw-rw-r-- 1 jenkins jenkins 1846 May 10 09:27 Dockerfile 09:30:54 -rw-rw-r-- 1 jenkins jenkins 677 May 10 09:27 GOVERNANCE.md 09:30:54 -rw-rw-r-- 1 jenkins jenkins 657 May 10 09:27 Jenkinsfile 09:30:54 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 09:27 LICENSE 09:30:54 -rw-rw-r-- 1 jenkins jenkins 1876 May 10 09:27 Makefile 09:30:54 -rw-rw-r-- 1 jenkins jenkins 617 May 10 09:27 OWNERS.md 09:30:54 -rw-rw-r-- 1 jenkins jenkins 11178 May 10 09:27 README.md 09:30:54 -rw-rw-r-- 1 jenkins jenkins 5 May 10 09:24 VERSION 09:30:54 drwxrwxr-x 2 jenkins jenkins 4096 May 10 09:27 bin 09:30:54 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:27 cmd 09:30:54 -rw-r--r-- 1 jenkins jenkins 10 May 10 09:29 coverage.out 09:30:54 -rw-rw-r-- 1 jenkins jenkins 2794 May 10 09:27 go.mod 09:30:54 -rw-rw-r-- 1 jenkins jenkins 70652 May 10 09:27 go.sum 09:30:54 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:27 internal 09:30:54 drwxrwxr-x 3 jenkins jenkins 4096 May 10 09:27 snap 09:30:54 -rw-rw-r-- 1 jenkins jenkins 209 May 10 09:27 version.go [Pipeline] isUnix [Pipeline] sh 09:30:54 + 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=9001f00ff560a99327d95cf303812f00311271eb --label arch=arm64 --label version=0.0.0 . 09:30:54 Sending build context to Docker daemon 7.86MB 09:30:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:30:55 Step 2/25 : FROM ${BASE} AS builder 09:30:55 ---> 19c402d94dfd 09:30:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:30:55 ---> Running in f04c8d63866c 09:30:55 Removing intermediate container f04c8d63866c 09:30:55 ---> 9e13f55b9de8 09:30:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 09:30:55 ---> Running in 4164832bb84f 09:30:55 Removing intermediate container 4164832bb84f 09:30:55 ---> 1a1ae259faba 09:30:55 Step 5/25 : WORKDIR /device-gpio 09:30:56 ---> Running in 3404c13ddd02 09:30:56 Removing intermediate container 3404c13ddd02 09:30:56 ---> a214089b1e9a 09:30:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:30:56 ---> Running in ddf5e0af5b93 09:30:58 Removing intermediate container ddf5e0af5b93 09:30:58 ---> fc209018b12e 09:30:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:30:58 ---> Running in 97d1c4e490eb 09:30:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:30:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:31:00 OK: 224 MiB in 56 packages 09:31:02 Removing intermediate container 97d1c4e490eb 09:31:02 ---> 398ad20e735f 09:31:02 Step 8/25 : COPY go.mod vendor* ./ 09:31:02 ---> 3f8747b46ba4 09:31:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:31:02 ---> Running in 4c2d7bad2f90 09:31:04 Removing intermediate container 4c2d7bad2f90 09:31:04 ---> 57edb345b9d3 09:31:04 Step 10/25 : COPY . . 09:31:05 ---> e44a535786d6 09:31:05 Step 11/25 : RUN ${MAKE} 09:31:05 ---> Running in 230316163e90 09:31:07 Removing intermediate container 230316163e90 09:31:07 ---> 8adcf1b33154 09:31:07 Step 12/25 : FROM alpine:3.15 09:31:07 3.15: Pulling from library/alpine 09:31:08 9981e73032c8: Pulling fs layer 09:31:08 9981e73032c8: Verifying Checksum 09:31:08 9981e73032c8: Download complete 09:31:08 9981e73032c8: Pull complete 09:31:08 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 09:31:08 Status: Downloaded newer image for alpine:3.15 09:31:08 ---> 3fb3c9af89a9 09:31:08 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 09:31:08 ---> Running in df9c2e61a9e4 09:31:09 Removing intermediate container df9c2e61a9e4 09:31:09 ---> 05dd04fa8373 09:31:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:31:09 ---> Running in e499f9c1cd9c 09:31:11 Removing intermediate container e499f9c1cd9c 09:31:11 ---> de25c6e70458 09:31:11 Step 15/25 : RUN apk add --update --no-cache zeromq 09:31:11 ---> Running in bf6b5b297f0c 09:31:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:31:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:31:13 (1/5) Installing libgcc (10.3.1_git20211027-r0) 09:31:13 (2/5) Installing libsodium (1.0.18-r0) 09:31:13 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 09:31:14 (4/5) Installing libzmq (4.3.4-r0) 09:31:14 (5/5) Installing zeromq (4.3.4-r0) 09:31:14 Executing busybox-1.34.1-r5.trigger 09:31:14 OK: 8 MiB in 19 packages 09:31:15 Removing intermediate container bf6b5b297f0c 09:31:15 ---> 77d498c1fc52 09:31:15 Step 16/25 : WORKDIR / 09:31:15 ---> Running in 67bae6f8f611 09:31:15 Removing intermediate container 67bae6f8f611 09:31:15 ---> 56174c0bdb22 09:31:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 09:31:16 ---> ebf92c0369a9 09:31:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 09:31:16 ---> 31d676449939 09:31:16 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 09:31:17 ---> 07deb902ea47 09:31:17 Step 20/25 : EXPOSE 59910 09:31:17 ---> Running in 9774e376d6b9 09:31:17 Removing intermediate container 9774e376d6b9 09:31:17 ---> b93b3d7326a0 09:31:17 Step 21/25 : ENTRYPOINT ["/device-gpio"] 09:31:17 ---> Running in e6bbc853c592 09:31:17 Removing intermediate container e6bbc853c592 09:31:17 ---> 1a9f0c5ede93 09:31:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:31:18 ---> Running in fc6656949ac0 09:31:18 Removing intermediate container fc6656949ac0 09:31:18 ---> 2dd6c9a70ae2 09:31:18 Step 23/25 : LABEL arch=arm64 09:31:18 ---> Running in bd729eddaada 09:31:18 Removing intermediate container bd729eddaada 09:31:18 ---> 7a2c8005590f 09:31:18 Step 24/25 : LABEL git_sha=9001f00ff560a99327d95cf303812f00311271eb 09:31:18 ---> Running in b6e71253b782 09:31:18 Removing intermediate container b6e71253b782 09:31:18 ---> 0b987e5ea077 09:31:18 Step 25/25 : LABEL version=0.0.0 09:31:19 ---> Running in 85899eaa0137 09:31:19 Removing intermediate container 85899eaa0137 09:31:19 ---> 1824ae023fd5 09:31:19 [Warning] One or more build-args [ARCH MAKE] were not consumed 09:31:19 Successfully built 1824ae023fd5 09:31:19 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:31:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:20 09:31:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 09:31:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:20 arm64: Pulling from edgex-lftools-log-publisher 09:31:20 8998bd30e6a1: Pulling fs layer 09:31:20 04944245beec: Pulling fs layer 09:31:20 699f458cf7ca: Pulling fs layer 09:31:20 765212b225bb: Pulling fs layer 09:31:20 f23df028b6ca: Pulling fs layer 09:31:20 d65c8cfc05b1: Pulling fs layer 09:31:20 2437ff75d9bd: Pulling fs layer 09:31:20 765212b225bb: Waiting 09:31:20 f23df028b6ca: Waiting 09:31:20 d65c8cfc05b1: Waiting 09:31:20 2437ff75d9bd: Waiting 09:31:20 04944245beec: Verifying Checksum 09:31:20 04944245beec: Download complete 09:31:20 765212b225bb: Verifying Checksum 09:31:20 765212b225bb: Download complete 09:31:20 f23df028b6ca: Verifying Checksum 09:31:20 f23df028b6ca: Download complete 09:31:20 d65c8cfc05b1: Verifying Checksum 09:31:20 d65c8cfc05b1: Download complete 09:31:21 699f458cf7ca: Verifying Checksum 09:31:21 699f458cf7ca: Download complete 09:31:21 8998bd30e6a1: Verifying Checksum 09:31:21 8998bd30e6a1: Download complete 09:31:24 2437ff75d9bd: Verifying Checksum 09:31:24 2437ff75d9bd: Download complete 09:31:26 8998bd30e6a1: Pull complete 09:31:26 04944245beec: Pull complete 09:31:27 699f458cf7ca: Pull complete 09:31:27 765212b225bb: Pull complete 09:31:28 f23df028b6ca: Pull complete 09:31:28 d65c8cfc05b1: Pull complete 09:31:43 2437ff75d9bd: Pull complete 09:31:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:31:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 09:31:44 prd-ubuntu20.04-docker-arm64-4c-16g-46944 does not seem to be running inside a container 09:31:44 $ 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/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@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:46 $ docker top 5af4256d1db93e35cb481caafc225d1f7c1e2907090730fa721979ad4f3bc4a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:31:47 ---> job-cost.sh 09:31:47 lf-activate-venv: SKIPPING 09:31:47 INFO: No Stack... 09:31:48 INFO: Retrieving Pricing Info for: v3-standard-4 09:31:49 INFO: Archiving Costs [Pipeline] sh 09:31:49 + cut+ -d, -f6 09:31:49 cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 09:31:49 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] 09:31:49 Resource [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] did not exist. Created. 09:31:49 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:31:50 /w/workspace/device-gpio/1@tmp/durable-da1d140f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:31:51 + echo total: 0.10999999940395355 [Pipeline] stash 09:31:51 Warning: overwriting stash ‘stack-cost’ 09:31:51 Stashed 1 file(s) [Pipeline] } 09:31:51 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-29-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:31:51 $ docker stop --time=1 5af4256d1db93e35cb481caafc225d1f7c1e2907090730fa721979ad4f3bc4a9 09:31:52 $ docker rm -f 5af4256d1db93e35cb481caafc225d1f7c1e2907090730fa721979ad4f3bc4a9 [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:53 provisioning config files... 09:31:53 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config1962630987339128455tmp [Pipeline] { [Pipeline] sh 09:31:54 + set +x 09:31:54 + bash -s -- 09:31:54 + curl -s https://codecov.io/bash 09:31:54 09:31:54 _____ _ 09:31:54 / ____| | | 09:31:54 | | ___ __| | ___ ___ _____ __ 09:31:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:31:54 | |___| (_) | (_| | __/ (_| (_) \ V / 09:31:54 \_____\___/ \__,_|\___|\___\___/ \_/ 09:31:54 Bash-1.0.6 09:31:54 09:31:54 09:31:54 ==> git version 2.25.1 found 09:31:54 ==> 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:54 Release-Date: 2020-01-08 09:31:54 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:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:31:54 ==> Jenkins CI detected. 09:31:54 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-29 09:31:54 project root: . 09:31:54 --> token set from env 09:31:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:31:54 ==> Running gcov in . (disable via -X gcov) 09:31:54 ==> Python coveragepy not found 09:31:54 ==> Searching for coverage reports in: 09:31:54 + . 09:31:54 -> Found 1 reports 09:31:54 ==> Detecting git/mercurial file structure 09:31:54 ==> Reading reports 09:31:54 + ./coverage.out bytes=10 09:31:54 ==> Appending adjustments 09:31:54 https://docs.codecov.io/docs/fixing-reports 09:31:54 + Found adjustments 09:31:54 ==> Gzipping contents 09:31:54 4.0K /tmp/codecov.aaS6X0.gz 09:31:54 ==> Uploading reports 09:31:54 url: https://codecov.io 09:31:54 query: branch=PR-29&commit=9001f00ff560a99327d95cf303812f00311271eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 09:31:54 -> Pinging Codecov 09:31:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-29&commit=9001f00ff560a99327d95cf303812f00311271eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-29%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=29&job=&cmd_args= 09:31:54 -> Uploading to 09:31:54 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9001f00ff560a99327d95cf303812f00311271eb/5306ad97-c712-4f35-9be3-954bef63aac9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T093154Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf710c80226599ee18f248368b4b9fe449402cadc0bee96d0321dea6aa040cc5 09:31:54 % Total % Received % Xferd Average Speed Time Time Time Current 09:31:54 Dload Upload Total Spent Left Speed 09:31:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 2868 --:--:-- --:--:-- --:--:-- 2868 09:31:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/9001f00ff560a99327d95cf303812f00311271eb [Pipeline] } 09:31:55 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:56 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-29/archives ] 09:31:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 09:31:56 total 16 09:31:56 drwxr-xr-x 3 root root 4096 May 10 09:25 . 09:31:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:25 .. 09:31:56 drwxr-xr-x 2 root root 4096 May 10 09:25 cost 09:31:56 -rw-r--r-- 1 root root 81 May 10 09:25 cost.csv 09:31:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-29/archives 09:31:56 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-29/archives 09:31:56 total 16 09:31:56 drwxr-xr-x 3 jenkins jenkins 4096 May 10 09:25 . 09:31:56 drwxrwxr-x 10 jenkins jenkins 4096 May 10 09:25 .. 09:31:56 drwxr-xr-x 2 jenkins jenkins 4096 May 10 09:25 cost 09:31:56 -rw-r--r-- 1 jenkins jenkins 81 May 10 09:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:31:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:31:58 ---> package-listing.sh 09:31:58 ++ facter osfamily 09:31:58 ++ tr '[:upper:]' '[:lower:]' 09:31:58 + OS_FAMILY=debian 09:31:58 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-29 09:31:58 + START_PACKAGES=/tmp/packages_start.txt 09:31:58 + END_PACKAGES=/tmp/packages_end.txt 09:31:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:31:58 + PACKAGES=/tmp/packages_start.txt 09:31:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 09:31:58 + PACKAGES=/tmp/packages_end.txt 09:31:58 + case "${OS_FAMILY}" in 09:31:58 + dpkg -l 09:31:58 + grep '^ii' 09:31:58 + '[' -f /tmp/packages_start.txt ']' 09:31:58 + '[' -f /tmp/packages_end.txt ']' 09:31:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:31:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-29 ']' 09:31:58 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ 09:31:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-29/archives/ [Pipeline] echo 09:31:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:31:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:31:59 . [Pipeline] withDockerContainer 09:31:59 prd-ubuntu20.04-docker-8c-8g-46898 does not seem to be running inside a container 09:31:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-29/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-29 -v /w/workspace/edgexfoundry_device-gpio_PR-29:/w/workspace/edgexfoundry_device-gpio_PR-29:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-29@tmp:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:31:59 $ docker top a6efc7917bae6f99044268d4169a7dfa6f5378c52788fdbd8fbfb1c01cd5d6ae -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:00 + touch /tmp/pre-build-complete [Pipeline] sh 09:32:00 + mkdir -p /var/log/sysstat [Pipeline] sh 09:32:00 + ls /var/log/sa-host 09:32:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:00 provisioning config files... 09:32:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-29@tmp/config8874175066420975514tmp [Pipeline] { [Pipeline] echo 09:32:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:32:01 ---> create-netrc.sh [Pipeline] } 09:32:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:32:01 ---> python-tools-install.sh [Pipeline] echo 09:32:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:32:01 ---> sudo-logs.sh 09:32:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:32:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:32:02 ---> job-cost.sh 09:32:02 lf-activate-venv: SKIPPING 09:32:02 DEBUG: total: 0.2199999988079071 09:32:02 INFO: Retrieving Stack Cost... 09:32:02 INFO: Retrieving Pricing Info for: v3-standard-8 09:32:03 INFO: Archiving Costs [Pipeline] echo 09:32:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:32:03 ---> logs-deploy.sh 09:32:03 lf-activate-venv: SKIPPING 09:32:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-29/1 09:32:03 INFO: archiving workspace using pattern(s): 09:32:04 Archives upload complete. 09:32:04 INFO: archiving logs to Nexus