Pull request #30 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 jpwhitemn for edgexfoundry/device-gpio Obtained Jenkinsfile from 598cfcb8422d24702ecfcdbdf213cdb779f24702+62a7e374fe89ef1773f189236b5a04a3a0761fd9 (a335d30cb78ef21e01234a3af7e4f0633e0d4f0f) 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-ssh10357716140347903794.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11026147802647289666.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh 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-30/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-30/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11222742914277857351.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-30/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10903696196250518430.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh13277436267119735495.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-30/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-30/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3976517744293805029.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63162 in /w/workspace/edgexfoundry_device-gpio_PR-30 [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-30 # 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 62a7e374fe89ef1773f189236b5a04a3a0761fd9 into PR head commit 598cfcb8422d24702ecfcdbdf213cdb779f24702 Merge succeeded, producing 598cfcb8422d24702ecfcdbdf213cdb779f24702 Checking out Revision 598cfcb8422d24702ecfcdbdf213cdb779f24702 (PR-30) > 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/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 598cfcb8422d24702ecfcdbdf213cdb779f24702 # 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 62a7e374fe89ef1773f189236b5a04a3a0761fd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 598cfcb8422d24702ecfcdbdf213cdb779f24702 # timeout=10 Commit message: "build: update go-mods for the release" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:54:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:54:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:54:14 ========================================================= 16:54:14 EdgeX Global Pipelines Version Info 16:54:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:54:15 ------------------- 16:54:15 stable info: 16:54:15 ------------------- 16:54:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:54:15 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:54:15 Message: update stable to v1.0.230 16:54:15 ------------------- 16:54:15 experimental info: 16:54:15 ------------------- 16:54:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:54:15 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:54:15 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:54:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 16:54:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 16:54:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:54:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:54:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:54:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:54:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-30 [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-30 [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-30 [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 598cfcb8422d24702ecfcdbdf213cdb779f24702 [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 598cfcb [Pipeline] echo 16:54:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:54:18 provisioning config files... 16:54:18 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/config1454468976354720676tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:18 ---> docker-login.sh 16:54:18 nexus3.edgexfoundry.org:10001 16:54:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:19 Configure a credential helper to remove this warning. See 16:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:19 16:54:19 Login Succeeded 16:54:19 nexus3.edgexfoundry.org:10002 16:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:19 Configure a credential helper to remove this warning. See 16:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:19 16:54:19 Login Succeeded 16:54:19 nexus3.edgexfoundry.org:10003 16:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:19 Configure a credential helper to remove this warning. See 16:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:19 16:54:19 Login Succeeded 16:54:19 nexus3.edgexfoundry.org:10004 16:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:19 Configure a credential helper to remove this warning. See 16:54:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:19 16:54:19 Login Succeeded 16:54:19 docker.io 16:54:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:20 Configure a credential helper to remove this warning. See 16:54:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:20 16:54:20 Login Succeeded 16:54:20 ---> docker-login.sh ends [Pipeline] } 16:54:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:54:20 + git rev-list -1 --merges 598cfcb8422d24702ecfcdbdf213cdb779f24702~1..598cfcb8422d24702ecfcdbdf213cdb779f24702 [Pipeline] echo 16:54:20 -----------> git rev-list -1 --merges 598cfcb8422d24702ecfcdbdf213cdb779f24702~1..598cfcb8422d24702ecfcdbdf213cdb779f24702 598cfcb8422d24702ecfcdbdf213cdb779f24702 [false] [Pipeline] sh 16:54:21 + git log --format=format:%s -1 598cfcb8422d24702ecfcdbdf213cdb779f24702 [Pipeline] echo 16:54:21 ========================================================= 16:54:21 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:54:21 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:21 + git log --format=format:%s -1 598cfcb8422d24702ecfcdbdf213cdb779f24702 [Pipeline] echo 16:54:21 [semverPrep] GIT_COMMIT: 598cfcb8422d24702ecfcdbdf213cdb779f24702, Commit Message: build: update go-mods for the release [Pipeline] echo 16:54:21 [semverPrep] This is not a build commit. [Pipeline] sh 16:54:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:54:22 + grep -v github /etc/ssh/ssh_known_hosts 16:54:22 + [ -e /tmp/ssh_known_hosts ] 16:54:22 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:54:22 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 16:54:22 sudo tee -a /etc/ssh/ssh_known_hosts 16:54:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:54:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:54:22 16:54:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:54:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:54:23 latest: Pulling from edgex-devops/py-git-semver 16:54:23 1fe172e4850f: Pulling fs layer 16:54:23 caf521ccaac6: Pulling fs layer 16:54:23 3ead6fa29328: Pulling fs layer 16:54:23 5c2a1cbceb83: Pulling fs layer 16:54:23 a8d5f1318db7: Pulling fs layer 16:54:23 c427282e49a2: Pulling fs layer 16:54:23 1827001aaf11: Pulling fs layer 16:54:23 0714d37db230: Pulling fs layer 16:54:23 c427282e49a2: Waiting 16:54:23 5c2a1cbceb83: Waiting 16:54:23 1827001aaf11: Waiting 16:54:23 a8d5f1318db7: Waiting 16:54:23 0714d37db230: Waiting 16:54:23 ac28cf19c067: Pulling fs layer 16:54:23 ca983d60f3e2: Pulling fs layer 16:54:23 9f894cec8388: Pulling fs layer 16:54:23 ca983d60f3e2: Waiting 16:54:23 9f894cec8388: Waiting 16:54:23 caf521ccaac6: Verifying Checksum 16:54:23 caf521ccaac6: Download complete 16:54:23 5c2a1cbceb83: Download complete 16:54:23 a8d5f1318db7: Verifying Checksum 16:54:23 a8d5f1318db7: Download complete 16:54:23 3ead6fa29328: Verifying Checksum 16:54:23 3ead6fa29328: Download complete 16:54:23 c427282e49a2: Download complete 16:54:23 0714d37db230: Verifying Checksum 16:54:23 0714d37db230: Download complete 16:54:23 ac28cf19c067: Verifying Checksum 16:54:23 ac28cf19c067: Download complete 16:54:23 ca983d60f3e2: Verifying Checksum 16:54:23 ca983d60f3e2: Download complete 16:54:23 9f894cec8388: Verifying Checksum 16:54:23 9f894cec8388: Download complete 16:54:23 1fe172e4850f: Verifying Checksum 16:54:23 1fe172e4850f: Download complete 16:54:23 1827001aaf11: Verifying Checksum 16:54:23 1827001aaf11: Download complete 16:54:24 1fe172e4850f: Pull complete 16:54:25 caf521ccaac6: Pull complete 16:54:25 3ead6fa29328: Pull complete 16:54:25 5c2a1cbceb83: Pull complete 16:54:26 a8d5f1318db7: Pull complete 16:54:26 c427282e49a2: Pull complete 16:54:28 1827001aaf11: Pull complete 16:54:28 0714d37db230: Pull complete 16:54:28 ac28cf19c067: Pull complete 16:54:28 ca983d60f3e2: Pull complete 16:54:28 9f894cec8388: Pull complete 16:54:28 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 16:54:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:54:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 16:54:28 prd-ubuntu20.04-docker-8c-8g-63162 does not seem to be running inside a container 16:54:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-30 -v /w/workspace/edgexfoundry_device-gpio_PR-30:/w/workspace/edgexfoundry_device-gpio_PR-30:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-30@tmp:/w/workspace/edgexfoundry_device-gpio_PR-30@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 16:54:31 $ docker top 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 -eo pid,comm 16:54:31 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). 16:54:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:54:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:31 [ssh-agent] Looking for ssh-agent implementation... 16:54:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:31 $ docker exec 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 ssh-agent 16:54:31 SSH_AUTH_SOCK=/tmp/ssh-ygJd7mHQ89YD/agent.33 16:54:31 SSH_AGENT_PID=40 16:54:31 Running ssh-add (command line suppressed) 16:54:31 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-30@tmp/private_key_2268869984308460117.key (/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/private_key_2268869984308460117.key) 16:54:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:32 + git tag --points-at HEAD [Pipeline] } 16:54:32 $ docker exec --env ******** --env ******** 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 ssh-agent -k 16:54:32 unset SSH_AUTH_SOCK; 16:54:32 unset SSH_AGENT_PID; 16:54:32 echo Agent pid 40 killed; 16:54:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:54:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:54:32 [ssh-agent] Looking for ssh-agent implementation... 16:54:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:54:32 $ docker exec 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 ssh-agent 16:54:32 SSH_AUTH_SOCK=/tmp/ssh-45pl3FZXksTo/agent.74 16:54:32 SSH_AGENT_PID=80 16:54:32 Running ssh-add (command line suppressed) 16:54:32 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-30@tmp/private_key_7640638062245962408.key (/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/private_key_7640638062245962408.key) 16:54:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:54:33 + git semver init 16:54:33 2022-05-11 16:54:33,303 [run_init] DEBUG init version:0.0.0 force:False 16:54:33 2022-05-11 16:54:33,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-30/.semver 16:54:33 2022-05-11 16:54:33,305 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-30/.semver 16:54:33 2022-05-11 16:54:33,305 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-30/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-30, universal_newlines=False, shell=None, istream=None) 16:54:34 2022-05-11 16:54:34,322 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-30/.git/info/exclude 16:54:34 2022-05-11 16:54:34,322 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-30/.semver/PR-30 with force:False 16:54:34 2022-05-11 16:54:34,322 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-30/.semver/PR-30 16:54:34 2022-05-11 16:54:34,327 [execute] INFO git cat-file --batch-check 16:54:34 2022-05-11 16:54:34,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:54:34 2022-05-11 16:54:34,335 [execute] INFO git cat-file --batch 16:54:34 2022-05-11 16:54:34,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-30/.semver, universal_newlines=False, shell=None, istream=) 16:54:34 2022-05-11 16:54:34,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-30/.semver/PR-30 16:54:34 0.0.0 [Pipeline] } 16:54:34 $ docker exec --env ******** --env ******** 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 ssh-agent -k 16:54:34 unset SSH_AUTH_SOCK; 16:54:34 unset SSH_AGENT_PID; 16:54:34 echo Agent pid 80 killed; 16:54:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:54:35 + git semver [Pipeline] } 16:54:35 $ docker stop --time=1 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 16:54:36 $ docker rm -f 39713661efba85af2f96e943880f6b47e2cdfaedb6f42a796a41fe5919931997 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:54:37 Stashed 1 file(s) [Pipeline] echo 16:54:37 [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 16:54:38 provisioning config files... 16:54:38 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/config1137508975004618238tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:54:38 ---> docker-login.sh 16:54:38 nexus3.edgexfoundry.org:10001 16:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:38 Configure a credential helper to remove this warning. See 16:54:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:38 16:54:38 Login Succeeded 16:54:38 nexus3.edgexfoundry.org:10002 16:54:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:39 Configure a credential helper to remove this warning. See 16:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:39 16:54:39 Login Succeeded 16:54:39 nexus3.edgexfoundry.org:10003 16:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:39 Configure a credential helper to remove this warning. See 16:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:39 16:54:39 Login Succeeded 16:54:39 nexus3.edgexfoundry.org:10004 16:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:39 Configure a credential helper to remove this warning. See 16:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:39 16:54:39 Login Succeeded 16:54:39 docker.io 16:54:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:54:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:54:39 Configure a credential helper to remove this warning. See 16:54:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:54:39 16:54:39 Login Succeeded 16:54:39 ---> docker-login.sh ends [Pipeline] } 16:54:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:54:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:54:39 ========================================================= 16:54:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:54:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:54:40 + 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 . 16:54:40 Sending build context to Docker daemon 15.61MB 16:54:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:54:40 Step 2/11 : FROM ${BASE} AS builder 16:54:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:54:40 59bf1c3509f3: Pulling fs layer 16:54:40 666ba61612fd: Pulling fs layer 16:54:40 8ed8ca486205: Pulling fs layer 16:54:40 4fe6c5a15a65: Pulling fs layer 16:54:40 22a0e8bec74d: Pulling fs layer 16:54:40 ca2b28591e48: Pulling fs layer 16:54:40 a51346096db8: Pulling fs layer 16:54:40 daebc70d1ce1: Pulling fs layer 16:54:40 0e18a0eac166: Pulling fs layer 16:54:40 22a0e8bec74d: Waiting 16:54:40 4fe6c5a15a65: Waiting 16:54:40 ca2b28591e48: Waiting 16:54:40 a51346096db8: Waiting 16:54:40 daebc70d1ce1: Waiting 16:54:40 8ed8ca486205: Download complete 16:54:40 666ba61612fd: Verifying Checksum 16:54:40 666ba61612fd: Download complete 16:54:40 22a0e8bec74d: Verifying Checksum 16:54:40 22a0e8bec74d: Download complete 16:54:40 ca2b28591e48: Verifying Checksum 16:54:40 ca2b28591e48: Download complete 16:54:40 59bf1c3509f3: Verifying Checksum 16:54:40 59bf1c3509f3: Download complete 16:54:40 a51346096db8: Verifying Checksum 16:54:40 a51346096db8: Download complete 16:54:40 daebc70d1ce1: Verifying Checksum 16:54:40 daebc70d1ce1: Download complete 16:54:40 59bf1c3509f3: Pull complete 16:54:40 666ba61612fd: Pull complete 16:54:40 8ed8ca486205: Pull complete 16:54:41 0e18a0eac166: Download complete 16:54:41 4fe6c5a15a65: Verifying Checksum 16:54:41 4fe6c5a15a65: Download complete 16:54:45 4fe6c5a15a65: Pull complete 16:54:45 22a0e8bec74d: Pull complete 16:54:45 ca2b28591e48: Pull complete 16:54:45 a51346096db8: Pull complete 16:54:45 daebc70d1ce1: Pull complete 16:54:47 0e18a0eac166: Pull complete 16:54:47 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:54:47 ---> f018257e8ee9 16:54:47 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:54:49 ---> Running in 3bd0414e58b8 16:54:49 Removing intermediate container 3bd0414e58b8 16:54:49 ---> de0e9f401eb9 16:54:49 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:54:49 ---> Running in e80432c093c6 16:54:50 Removing intermediate container e80432c093c6 16:54:50 ---> fa66a4b7b76d 16:54:50 Step 5/11 : WORKDIR /device-gpio 16:54:50 ---> Running in cb7ea78a103e 16:54:50 Removing intermediate container cb7ea78a103e 16:54:50 ---> 4d73190569cc 16:54:50 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:54:50 ---> Running in 3a00f3e433cc 16:54:51 Removing intermediate container 3a00f3e433cc 16:54:51 ---> f5ff83560471 16:54:51 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:51 ---> Running in 7df637f62aba 16:54:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:54:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:54:52 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:54:52 (2/4) Installing libedit (20210910.3.1-r0) 16:54:52 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:54:52 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:54:52 Executing busybox-1.34.1-r3.trigger 16:54:52 OK: 224 MiB in 56 packages 16:54:53 Still waiting to schedule task 16:54:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:54:53 Removing intermediate container 7df637f62aba 16:54:53 ---> fcfab514abc2 16:54:53 Step 8/11 : COPY go.mod vendor* ./ 16:54:53 ---> 61c5faf12e02 16:54:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:54 ---> Running in 6ce73b6b42c9 16:55:16 Removing intermediate container 6ce73b6b42c9 16:55:16 ---> 3d41a64c7c45 16:55:16 Step 10/11 : COPY . . 16:55:16 ---> 911dcd2c4f4a 16:55:16 Step 11/11 : RUN ${MAKE} 16:55:16 ---> Running in 0803f964918c 16:55:16 Removing intermediate container 0803f964918c 16:55:16 ---> cb15039f099d 16:55:16 [Warning] One or more build-args [MAKE] were not consumed 16:55:16 Successfully built cb15039f099d 16:55:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:55:16 + docker inspect -f . ci-base-image-x86_64 16:55:16 . [Pipeline] withDockerContainer 16:55:16 prd-ubuntu20.04-docker-8c-8g-63162 does not seem to be running inside a container 16:55:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-30 -v /w/workspace/edgexfoundry_device-gpio_PR-30:/w/workspace/edgexfoundry_device-gpio_PR-30:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-30@tmp:/w/workspace/edgexfoundry_device-gpio_PR-30@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 16:55:16 $ docker top d1333d92a4ded15ce6800450eb6b0ba9c949f2cca7a3554867963323d102c53f -eo pid,comm [Pipeline] { [Pipeline] sh 16:55:17 + go version 16:55:17 go version go1.17.6 linux/amd64 [Pipeline] } 16:55:17 $ docker stop --time=1 d1333d92a4ded15ce6800450eb6b0ba9c949f2cca7a3554867963323d102c53f 16:55:18 $ docker rm -f d1333d92a4ded15ce6800450eb6b0ba9c949f2cca7a3554867963323d102c53f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:55:19 + docker inspect -f . ci-base-image-x86_64 16:55:19 . [Pipeline] withDockerContainer 16:55:19 prd-ubuntu20.04-docker-8c-8g-63162 does not seem to be running inside a container 16:55:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-30 -v /w/workspace/edgexfoundry_device-gpio_PR-30:/w/workspace/edgexfoundry_device-gpio_PR-30:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-30@tmp:/w/workspace/edgexfoundry_device-gpio_PR-30@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 16:55:19 $ docker top 9a5fb7c36241cf1cca14605e8a2f61f6a2194d0f8a2594f6830c59f2aef15cfc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:55:20 + make test 16:55:20 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:55:20 ? github.com/edgexfoundry/device-gpio [no test files] 16:55:30 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 16:55:30 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 16:55:35 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:55:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:55:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:55:40 ./bin/test-attribution-txt.sh [Pipeline] echo 16:55:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:55:40 $ docker stop --time=1 9a5fb7c36241cf1cca14605e8a2f61f6a2194d0f8a2594f6830c59f2aef15cfc 16:55:42 $ docker rm -f 9a5fb7c36241cf1cca14605e8a2f61f6a2194d0f8a2594f6830c59f2aef15cfc [Pipeline] // withDockerContainer [Pipeline] sh 16:55:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:55:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:55:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:55:43 + ls -al . 16:55:43 total 172 16:55:43 drwxrwxr-x 9 jenkins jenkins 4096 May 11 16:55 . 16:55:43 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:54 .. 16:55:43 -rw-rw-r-- 1 jenkins jenkins 120 May 11 16:54 .dockerignore 16:55:43 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:54 .git 16:55:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:54 .github 16:55:43 -rw-rw-r-- 1 jenkins jenkins 343 May 11 16:54 .gitignore 16:55:43 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:54 .golangci.yml 16:55:43 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:54 .semver 16:55:43 -rw-rw-r-- 1 jenkins jenkins 9053 May 11 16:54 Attribution.txt 16:55:43 -rw-rw-r-- 1 jenkins jenkins 3081 May 11 16:54 CHANGELOG.md 16:55:43 -rw-rw-r-- 1 jenkins jenkins 1846 May 11 16:54 Dockerfile 16:55:43 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:54 GOVERNANCE.md 16:55:43 -rw-rw-r-- 1 jenkins jenkins 657 May 11 16:54 Jenkinsfile 16:55:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:54 LICENSE 16:55:43 -rw-rw-r-- 1 jenkins jenkins 1876 May 11 16:54 Makefile 16:55:43 -rw-rw-r-- 1 jenkins jenkins 617 May 11 16:54 OWNERS.md 16:55:43 -rw-rw-r-- 1 jenkins jenkins 11178 May 11 16:54 README.md 16:55:43 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:54 VERSION 16:55:43 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:54 bin 16:55:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:54 cmd 16:55:43 -rw-r--r-- 1 jenkins jenkins 10 May 11 16:55 coverage.out 16:55:43 -rw-rw-r-- 1 jenkins jenkins 3236 May 11 16:54 go.mod 16:55:43 -rw-rw-r-- 1 jenkins jenkins 46962 May 11 16:54 go.sum 16:55:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:54 internal 16:55:43 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:54 snap 16:55:43 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:54 version.go [Pipeline] isUnix [Pipeline] sh 16:55:44 + 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=598cfcb8422d24702ecfcdbdf213cdb779f24702 --label arch=amd64 --label version=0.0.0 . 16:55:44 Sending build context to Docker daemon 15.61MB 16:55:44 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:55:44 Step 2/25 : FROM ${BASE} AS builder 16:55:44 ---> cb15039f099d 16:55:44 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:55:44 ---> Running in d4213b83bf9b 16:55:44 Removing intermediate container d4213b83bf9b 16:55:44 ---> 7b163c93be0e 16:55:44 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 16:55:44 ---> Running in 057ba790bcbb 16:55:44 Removing intermediate container 057ba790bcbb 16:55:44 ---> 132ef77c850e 16:55:44 Step 5/25 : WORKDIR /device-gpio 16:55:44 ---> Running in e084acac8102 16:55:44 Removing intermediate container e084acac8102 16:55:44 ---> fd3a015b3423 16:55:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:44 ---> Running in ce27f7d188e1 16:55:45 Removing intermediate container ce27f7d188e1 16:55:45 ---> 4f4a996a7dad 16:55:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:55:45 ---> Running in b1ed8c6eee0a 16:55:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:55:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:55:47 OK: 224 MiB in 56 packages 16:55:47 Removing intermediate container b1ed8c6eee0a 16:55:47 ---> c63e85acbdeb 16:55:47 Step 8/25 : COPY go.mod vendor* ./ 16:55:47 ---> f5443d5bc47c 16:55:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:55:47 ---> Running in 3770b243dc25 16:55:48 Removing intermediate container 3770b243dc25 16:55:48 ---> cea4dfe63498 16:55:48 Step 10/25 : COPY . . 16:55:49 ---> de87f2c9f0d8 16:55:49 Step 11/25 : RUN ${MAKE} 16:55:49 ---> Running in 55a7f9da2e42 16:55:49 Removing intermediate container 55a7f9da2e42 16:55:49 ---> 5e7c7499abc8 16:55:49 Step 12/25 : FROM alpine:3.15 16:55:50 3.15: Pulling from library/alpine 16:55:50 df9b9388f04a: Pulling fs layer 16:55:50 df9b9388f04a: Verifying Checksum 16:55:50 df9b9388f04a: Download complete 16:55:50 df9b9388f04a: Pull complete 16:55:50 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 16:55:50 Status: Downloaded newer image for alpine:3.15 16:55:50 ---> 0ac33e5f5afa 16:55:50 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 16:55:51 ---> Running in 6526aa032cfb 16:55:51 Removing intermediate container 6526aa032cfb 16:55:51 ---> fda6a8cde3ef 16:55:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:55:51 ---> Running in 08ed490729fe 16:55:51 Removing intermediate container 08ed490729fe 16:55:51 ---> 9ea2d0687d6f 16:55:51 Step 15/25 : RUN apk add --update --no-cache zeromq 16:55:51 ---> Running in 15707f7c79d6 16:55:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:55:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:55:53 (1/5) Installing libgcc (10.3.1_git20211027-r0) 16:55:53 (2/5) Installing libsodium (1.0.18-r0) 16:55:53 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 16:55:53 (4/5) Installing libzmq (4.3.4-r0) 16:55:53 (5/5) Installing zeromq (4.3.4-r0) 16:55:53 Executing busybox-1.34.1-r5.trigger 16:55:53 OK: 8 MiB in 19 packages 16:55:54 Removing intermediate container 15707f7c79d6 16:55:54 ---> 4917e8fc7b7b 16:55:54 Step 16/25 : WORKDIR / 16:55:54 ---> Running in 830d7e02bed4 16:55:54 Removing intermediate container 830d7e02bed4 16:55:54 ---> 27d03dceef46 16:55:54 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 16:55:54 ---> 910958f0c006 16:55:54 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 16:55:54 ---> 60434a67afe3 16:55:54 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 16:55:54 ---> 63562aef9fb6 16:55:54 Step 20/25 : EXPOSE 59910 16:55:54 ---> Running in 09fec4931de8 16:55:54 Removing intermediate container 09fec4931de8 16:55:54 ---> 1410928ccaf7 16:55:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 16:55:54 ---> Running in dfe6d26af763 16:55:55 Removing intermediate container dfe6d26af763 16:55:55 ---> d6dfdfa7367c 16:55:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:55:55 ---> Running in f75109e11a48 16:55:55 Removing intermediate container f75109e11a48 16:55:55 ---> d9b95d65ff68 16:55:55 Step 23/25 : LABEL arch=amd64 16:55:55 ---> Running in f23d1aef623d 16:55:55 Removing intermediate container f23d1aef623d 16:55:55 ---> e571a8d162f8 16:55:55 Step 24/25 : LABEL git_sha=598cfcb8422d24702ecfcdbdf213cdb779f24702 16:55:55 ---> Running in f9acf23a3755 16:55:55 Removing intermediate container f9acf23a3755 16:55:55 ---> bc9dded5d2a6 16:55:55 Step 25/25 : LABEL version=0.0.0 16:55:55 ---> Running in 3d7754eb84a7 16:55:55 Removing intermediate container 3d7754eb84a7 16:55:55 ---> 082a27168618 16:55:55 [Warning] One or more build-args [MAKE ARCH] were not consumed 16:55:55 Successfully built 082a27168618 16:55:55 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 16:55:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:56 16:55:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:55:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:55:56 latest: Pulling from edgex-lftools-log-publisher 16:55:56 5eb5b503b376: Pulling fs layer 16:55:56 5c69ac0246d0: Pulling fs layer 16:55:56 ec43610c2a17: Pulling fs layer 16:55:56 3a2ae6a8a46f: Pulling fs layer 16:55:56 33b1e0a273af: Pulling fs layer 16:55:56 5d3b04190fa2: Pulling fs layer 16:55:56 2f39f015ded8: Pulling fs layer 16:55:56 33b1e0a273af: Waiting 16:55:56 2f39f015ded8: Waiting 16:55:56 5d3b04190fa2: Waiting 16:55:56 3a2ae6a8a46f: Waiting 16:55:56 5c69ac0246d0: Verifying Checksum 16:55:56 5c69ac0246d0: Download complete 16:55:56 3a2ae6a8a46f: Verifying Checksum 16:55:56 3a2ae6a8a46f: Download complete 16:55:56 33b1e0a273af: Verifying Checksum 16:55:56 33b1e0a273af: Download complete 16:55:56 5d3b04190fa2: Verifying Checksum 16:55:56 ec43610c2a17: Verifying Checksum 16:55:56 ec43610c2a17: Download complete 16:55:56 5eb5b503b376: Verifying Checksum 16:55:56 5eb5b503b376: Download complete 16:55:57 2f39f015ded8: Verifying Checksum 16:55:57 2f39f015ded8: Download complete 16:55:58 5eb5b503b376: Pull complete 16:55:58 5c69ac0246d0: Pull complete 16:55:58 ec43610c2a17: Pull complete 16:55:58 3a2ae6a8a46f: Pull complete 16:55:59 33b1e0a273af: Pull complete 16:55:59 5d3b04190fa2: Pull complete 16:56:03 2f39f015ded8: Pull complete 16:56:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:56:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:56:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:56:03 prd-ubuntu20.04-docker-8c-8g-63162 does not seem to be running inside a container 16:56:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-30 -v /w/workspace/edgexfoundry_device-gpio_PR-30:/w/workspace/edgexfoundry_device-gpio_PR-30:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-30@tmp:/w/workspace/edgexfoundry_device-gpio_PR-30@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 16:56:05 $ docker top 866b94dec2c69026eafe84e9d003494e4956a647d04d9ee1d8cb92002f02d603 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:56:06 ---> job-cost.sh 16:56:06 lf-activate-venv: SKIPPING 16:56:06 INFO: No Stack... 16:56:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:56:06 INFO: Archiving Costs [Pipeline] sh 16:56:07 + + cat /w/workspace/edgexfoundry_device-gpio_PR-30/archives/cost.csv 16:56:07 cut -d, -f6 [Pipeline] lock 16:56:07 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] 16:56:07 Resource [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] did not exist. Created. 16:56:07 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:56:07 + echo total: 0.2199999988079071 [Pipeline] stash 16:56:07 Stashed 1 file(s) [Pipeline] } 16:56:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:56:07 $ docker stop --time=1 866b94dec2c69026eafe84e9d003494e4956a647d04d9ee1d8cb92002f02d603 16:56:08 $ docker rm -f 866b94dec2c69026eafe84e9d003494e4956a647d04d9ee1d8cb92002f02d603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:56:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63163 in /w/workspace/edgexfoundry_device-gpio_PR-30 [Pipeline] { [Pipeline] ws 16:56:28 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 16:56:29 The recommended git tool is: git 16:56:35 using credential edgex-jenkins-ssh 16:56:35 Cloning the remote Git repository 16:56:35 Cloning repository git@github.com:edgexfoundry/device-gpio.git 16:56:35 > git init /w/workspace/device-gpio/1 # timeout=10 16:56:35 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:56:35 > git --version # timeout=10 16:56:35 > git --version # 'git version 2.25.1' 16:56:35 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:38 Merging remotes/origin/main commit 62a7e374fe89ef1773f189236b5a04a3a0761fd9 into PR head commit 598cfcb8422d24702ecfcdbdf213cdb779f24702 16:56:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:56:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:56:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 16:56:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 16:56:37 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/30/head:refs/remotes/origin/PR-30 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:56:38 > git config core.sparsecheckout # timeout=10 16:56:38 > git checkout -f 598cfcb8422d24702ecfcdbdf213cdb779f24702 # timeout=10 16:56:38 > git remote # timeout=10 16:56:38 > git config --get remote.origin.url # timeout=10 16:56:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:56:38 > git merge 62a7e374fe89ef1773f189236b5a04a3a0761fd9 # timeout=10 16:56:38 Merge succeeded, producing 598cfcb8422d24702ecfcdbdf213cdb779f24702 16:56:38 Checking out Revision 598cfcb8422d24702ecfcdbdf213cdb779f24702 (PR-30) 16:56:38 > git rev-parse HEAD^{commit} # timeout=10 16:56:38 > git config core.sparsecheckout # timeout=10 16:56:38 > git checkout -f 598cfcb8422d24702ecfcdbdf213cdb779f24702 # timeout=10 16:56:42 Commit message: "build: update go-mods for the release" 16:56:42 > git --version # timeout=10 16:56:42 > git --version # 'git version 2.25.1' 16:56:42 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:56:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:56:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:56:43 Dload Upload Total Spent Left Speed 16:56:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 16:56:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:56:44 + sudo tee /etc/docker/daemon.new 16:56:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:56:44 { 16:56:44 "registry-mirrors": [ 16:56:44 "https://nexus3.edgexfoundry.org:10001" 16:56:44 ], 16:56:44 "bip": "10.250.0.254/24", 16:56:44 "hosts": [ 16:56:44 "tcp://0.0.0.0:5555", 16:56:44 "unix:///var/run/docker.sock" 16:56:44 ], 16:56:44 "mtu": 1458, 16:56:44 "selinux-enabled": true, 16:56:44 "seccomp-profile": "/etc/docker/seccomp.json" 16:56:44 } [Pipeline] sh 16:56:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:56:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:03 provisioning config files... 16:57:04 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config4726900818239537768tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:04 ---> docker-login.sh 16:57:04 nexus3.edgexfoundry.org:10001 16:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:05 Configure a credential helper to remove this warning. See 16:57:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:05 16:57:05 Login Succeeded 16:57:05 nexus3.edgexfoundry.org:10002 16:57:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:06 Configure a credential helper to remove this warning. See 16:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:06 16:57:06 Login Succeeded 16:57:06 nexus3.edgexfoundry.org:10003 16:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:06 Configure a credential helper to remove this warning. See 16:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:06 16:57:06 Login Succeeded 16:57:06 nexus3.edgexfoundry.org:10004 16:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:06 Configure a credential helper to remove this warning. See 16:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:06 16:57:06 Login Succeeded 16:57:06 docker.io 16:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:07 Configure a credential helper to remove this warning. See 16:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:07 16:57:07 Login Succeeded 16:57:07 ---> docker-login.sh ends [Pipeline] } 16:57:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:08 ========================================================= 16:57:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:57:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:57:08 + 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 . 16:57:08 Sending build context to Docker daemon 7.887MB 16:57:08 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:57:08 Step 2/11 : FROM ${BASE} AS builder 16:57:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:57:09 9b3977197b4f: Pulling fs layer 16:57:09 1a89e8eeedd5: Pulling fs layer 16:57:09 94645a83ff95: Pulling fs layer 16:57:09 3f3a8bcf1eab: Pulling fs layer 16:57:09 0c92f367c5e7: Pulling fs layer 16:57:09 3096ccb668a1: Pulling fs layer 16:57:09 e8cf19c19ddd: Pulling fs layer 16:57:09 a4caa8a26152: Pulling fs layer 16:57:09 3f3a8bcf1eab: Waiting 16:57:09 0c92f367c5e7: Waiting 16:57:09 3096ccb668a1: Waiting 16:57:09 e8cf19c19ddd: Waiting 16:57:09 a4caa8a26152: Waiting 16:57:09 94645a83ff95: Verifying Checksum 16:57:09 94645a83ff95: Download complete 16:57:09 1a89e8eeedd5: Download complete 16:57:09 0c92f367c5e7: Verifying Checksum 16:57:09 0c92f367c5e7: Download complete 16:57:09 3096ccb668a1: Verifying Checksum 16:57:09 3096ccb668a1: Download complete 16:57:09 9b3977197b4f: Download complete 16:57:09 e8cf19c19ddd: Verifying Checksum 16:57:09 e8cf19c19ddd: Download complete 16:57:09 9b3977197b4f: Pull complete 16:57:10 1a89e8eeedd5: Pull complete 16:57:10 94645a83ff95: Pull complete 16:57:11 a4caa8a26152: Verifying Checksum 16:57:11 a4caa8a26152: Download complete 16:57:11 3f3a8bcf1eab: Verifying Checksum 16:57:11 3f3a8bcf1eab: Download complete 16:57:24 3f3a8bcf1eab: Pull complete 16:57:24 0c92f367c5e7: Pull complete 16:57:24 3096ccb668a1: Pull complete 16:57:24 e8cf19c19ddd: Pull complete 16:57:31 a4caa8a26152: Pull complete 16:57:31 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:57:31 ---> 725f1c02e7f9 16:57:31 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:57:32 ---> Running in 3a40815fe061 16:57:32 Removing intermediate container 3a40815fe061 16:57:32 ---> 35288fa37943 16:57:32 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 16:57:32 ---> Running in a265ef89f05d 16:57:32 Removing intermediate container a265ef89f05d 16:57:32 ---> 15fc9a14ab48 16:57:32 Step 5/11 : WORKDIR /device-gpio 16:57:32 ---> Running in 4162970ef665 16:57:32 Removing intermediate container 4162970ef665 16:57:32 ---> e1a57ac898ab 16:57:32 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:57:32 ---> Running in dea1372b4b9a 16:57:34 Removing intermediate container dea1372b4b9a 16:57:34 ---> c55dfc42e13d 16:57:34 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:57:34 ---> Running in a9b17d450ec7 16:57:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:57:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:57:38 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:57:38 (2/4) Installing libedit (20210910.3.1-r0) 16:57:38 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:57:38 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:57:39 Executing busybox-1.34.1-r3.trigger 16:57:39 OK: 224 MiB in 56 packages 16:57:40 Removing intermediate container a9b17d450ec7 16:57:40 ---> 30099ec7aa44 16:57:40 Step 8/11 : COPY go.mod vendor* ./ 16:57:40 ---> beaf74739e34 16:57:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:40 ---> Running in c38cd3821719 16:58:37 Removing intermediate container c38cd3821719 16:58:37 ---> 978494f260a0 16:58:37 Step 10/11 : COPY . . 16:58:37 ---> f778e7d93813 16:58:37 Step 11/11 : RUN ${MAKE} 16:58:37 ---> Running in aaf47daf5d0c 16:58:37 Removing intermediate container aaf47daf5d0c 16:58:37 ---> 74de0a584c02 16:58:37 [Warning] One or more build-args [MAKE] were not consumed 16:58:37 Successfully built 74de0a584c02 16:58:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:58:37 + docker inspect -f . ci-base-image-arm64 16:58:37 . [Pipeline] withDockerContainer 16:58:38 prd-ubuntu20.04-docker-arm64-4c-16g-63163 does not seem to be running inside a container 16:58: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 16:58:39 $ docker top 908cc98683a334297d53d22504905d821dc9bc856d7aab411cca54310f28745b -eo pid,comm [Pipeline] { [Pipeline] sh 16:58:40 + go version 16:58:40 go version go1.17.6 linux/arm64 [Pipeline] } 16:58:40 $ docker stop --time=1 908cc98683a334297d53d22504905d821dc9bc856d7aab411cca54310f28745b 16:58:41 $ docker rm -f 908cc98683a334297d53d22504905d821dc9bc856d7aab411cca54310f28745b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:58:42 + docker inspect -f . ci-base-image-arm64 16:58:42 . [Pipeline] withDockerContainer 16:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-63163 does not seem to be running inside a container 16:58: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 16:58:44 $ docker top 93573d025571bf33e950723161c00d36ae40eca7652367661675d15e9ca8102d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:58:45 + make test 16:58:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:58:46 ? github.com/edgexfoundry/device-gpio [no test files] 17:00:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:00:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:00:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:00:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:00:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:00:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:00:27 ./bin/test-attribution-txt.sh [Pipeline] echo 17:00:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:00:28 $ docker stop --time=1 93573d025571bf33e950723161c00d36ae40eca7652367661675d15e9ca8102d 17:00:30 $ docker rm -f 93573d025571bf33e950723161c00d36ae40eca7652367661675d15e9ca8102d [Pipeline] // withDockerContainer [Pipeline] sh 17:00:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:00:31 Warning: overwriting stash ‘coverage-report’ 17:00:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:00:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:00:32 + ls -al . 17:00:32 total 168 17:00:32 drwxrwxr-x 8 jenkins jenkins 4096 May 11 17:00 . 17:00:32 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:56 .. 17:00:32 -rw-rw-r-- 1 jenkins jenkins 120 May 11 16:56 .dockerignore 17:00:32 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:56 .git 17:00:32 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:56 .github 17:00:32 -rw-rw-r-- 1 jenkins jenkins 343 May 11 16:56 .gitignore 17:00:32 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:56 .golangci.yml 17:00:32 -rw-rw-r-- 1 jenkins jenkins 9053 May 11 16:56 Attribution.txt 17:00:32 -rw-rw-r-- 1 jenkins jenkins 3081 May 11 16:56 CHANGELOG.md 17:00:32 -rw-rw-r-- 1 jenkins jenkins 1846 May 11 16:56 Dockerfile 17:00:32 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:56 GOVERNANCE.md 17:00:32 -rw-rw-r-- 1 jenkins jenkins 657 May 11 16:56 Jenkinsfile 17:00:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:56 LICENSE 17:00:32 -rw-rw-r-- 1 jenkins jenkins 1876 May 11 16:56 Makefile 17:00:32 -rw-rw-r-- 1 jenkins jenkins 617 May 11 16:56 OWNERS.md 17:00:32 -rw-rw-r-- 1 jenkins jenkins 11178 May 11 16:56 README.md 17:00:32 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:54 VERSION 17:00:32 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:56 bin 17:00:32 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:56 cmd 17:00:32 -rw-r--r-- 1 jenkins jenkins 10 May 11 16:58 coverage.out 17:00:32 -rw-rw-r-- 1 jenkins jenkins 3236 May 11 16:56 go.mod 17:00:32 -rw-rw-r-- 1 jenkins jenkins 46962 May 11 16:56 go.sum 17:00:32 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:56 internal 17:00:32 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:56 snap 17:00:32 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:56 version.go [Pipeline] isUnix [Pipeline] sh 17:00:33 + docker build -t device-gpio-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=598cfcb8422d24702ecfcdbdf213cdb779f24702 --label arch=arm64 --label version=0.0.0 . 17:00:33 Sending build context to Docker daemon 7.888MB 17:00:33 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 17:00:33 Step 2/25 : FROM ${BASE} AS builder 17:00:33 ---> 74de0a584c02 17:00:33 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:00:33 ---> Running in c42cb26be598 17:00:33 Removing intermediate container c42cb26be598 17:00:33 ---> 7d85d60b347f 17:00:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 17:00:33 ---> Running in 533f12dd0978 17:00:34 Removing intermediate container 533f12dd0978 17:00:34 ---> 7b3d246f5aad 17:00:34 Step 5/25 : WORKDIR /device-gpio 17:00:34 ---> Running in d2830560960e 17:00:34 Removing intermediate container d2830560960e 17:00:34 ---> eb7f1efa4962 17:00:34 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:34 ---> Running in 634abb3f09d8 17:00:36 Removing intermediate container 634abb3f09d8 17:00:36 ---> b0715212d141 17:00:36 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:00:36 ---> Running in eeb2796403c0 17:00:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:00:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:00:39 OK: 224 MiB in 56 packages 17:00:39 Removing intermediate container eeb2796403c0 17:00:39 ---> 25b927408516 17:00:39 Step 8/25 : COPY go.mod vendor* ./ 17:00:40 ---> 59ce2ed4aac9 17:00:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:00:40 ---> Running in 49d9232916d4 17:00:42 Removing intermediate container 49d9232916d4 17:00:42 ---> 9a27dedff1ce 17:00:42 Step 10/25 : COPY . . 17:00:43 ---> 7e0e1e2ff6f2 17:00:43 Step 11/25 : RUN ${MAKE} 17:00:43 ---> Running in 50485d63acc3 17:00:44 Removing intermediate container 50485d63acc3 17:00:44 ---> f602e936a6f7 17:00:44 Step 12/25 : FROM alpine:3.15 17:00:45 3.15: Pulling from library/alpine 17:00:45 9981e73032c8: Pulling fs layer 17:00:46 9981e73032c8: Verifying Checksum 17:00:46 9981e73032c8: Download complete 17:00:46 9981e73032c8: Pull complete 17:00:46 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 17:00:46 Status: Downloaded newer image for alpine:3.15 17:00:46 ---> 3fb3c9af89a9 17:00:46 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:00:46 ---> Running in 9553d643da9e 17:00:46 Removing intermediate container 9553d643da9e 17:00:46 ---> b0453df0715f 17:00:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:00:46 ---> Running in cac5bf39a588 17:00:48 Removing intermediate container cac5bf39a588 17:00:48 ---> a1e76baa0383 17:00:48 Step 15/25 : RUN apk add --update --no-cache zeromq 17:00:48 ---> Running in 71909a47aa35 17:00:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:00:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:00:51 (1/5) Installing libgcc (10.3.1_git20211027-r0) 17:00:51 (2/5) Installing libsodium (1.0.18-r0) 17:00:51 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 17:00:51 (4/5) Installing libzmq (4.3.4-r0) 17:00:51 (5/5) Installing zeromq (4.3.4-r0) 17:00:51 Executing busybox-1.34.1-r5.trigger 17:00:52 OK: 8 MiB in 19 packages 17:00:52 Removing intermediate container 71909a47aa35 17:00:52 ---> 37d74637c93a 17:00:52 Step 16/25 : WORKDIR / 17:00:52 ---> Running in 6133f3838e51 17:00:53 Removing intermediate container 6133f3838e51 17:00:53 ---> 701082989a75 17:00:53 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:00:53 ---> acdab76c5bae 17:00:53 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:00:54 ---> e84c9337bd7f 17:00:54 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:00:54 ---> 530fa185f9ad 17:00:54 Step 20/25 : EXPOSE 59910 17:00:54 ---> Running in 2dbc53f11559 17:00:54 Removing intermediate container 2dbc53f11559 17:00:54 ---> 3316cacb5181 17:00:54 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:00:55 ---> Running in a2695c3372a0 17:00:55 Removing intermediate container a2695c3372a0 17:00:55 ---> 62d282aae900 17:00:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:00:55 ---> Running in 8a05d7e02af9 17:00:55 Removing intermediate container 8a05d7e02af9 17:00:55 ---> 0bd811c066a9 17:00:55 Step 23/25 : LABEL arch=arm64 17:00:55 ---> Running in f4b553496f7d 17:00:56 Removing intermediate container f4b553496f7d 17:00:56 ---> b03a209fe3f7 17:00:56 Step 24/25 : LABEL git_sha=598cfcb8422d24702ecfcdbdf213cdb779f24702 17:00:56 ---> Running in 6833c7ce4354 17:00:56 Removing intermediate container 6833c7ce4354 17:00:56 ---> d3e83412f94b 17:00:56 Step 25/25 : LABEL version=0.0.0 17:00:56 ---> Running in 0567576974ec 17:00:56 Removing intermediate container 0567576974ec 17:00:56 ---> 341f4d8877d9 17:00:56 [Warning] One or more build-args [MAKE ARCH] were not consumed 17:00:56 Successfully built 341f4d8877d9 17:00:56 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 17:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:57 17:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:58 arm64: Pulling from edgex-lftools-log-publisher 17:00:58 8998bd30e6a1: Pulling fs layer 17:00:58 04944245beec: Pulling fs layer 17:00:58 699f458cf7ca: Pulling fs layer 17:00:58 765212b225bb: Pulling fs layer 17:00:58 f23df028b6ca: Pulling fs layer 17:00:58 d65c8cfc05b1: Pulling fs layer 17:00:58 2437ff75d9bd: Pulling fs layer 17:00:58 765212b225bb: Waiting 17:00:58 f23df028b6ca: Waiting 17:00:58 d65c8cfc05b1: Waiting 17:00:58 2437ff75d9bd: Waiting 17:00:58 04944245beec: Verifying Checksum 17:00:58 04944245beec: Download complete 17:00:58 765212b225bb: Verifying Checksum 17:00:58 765212b225bb: Download complete 17:00:58 f23df028b6ca: Download complete 17:00:58 d65c8cfc05b1: Verifying Checksum 17:00:58 d65c8cfc05b1: Download complete 17:00:58 699f458cf7ca: Verifying Checksum 17:00:58 699f458cf7ca: Download complete 17:00:58 8998bd30e6a1: Verifying Checksum 17:00:58 8998bd30e6a1: Download complete 17:01:00 2437ff75d9bd: Verifying Checksum 17:01:00 2437ff75d9bd: Download complete 17:01:02 8998bd30e6a1: Pull complete 17:01:03 04944245beec: Pull complete 17:01:04 699f458cf7ca: Pull complete 17:01:05 765212b225bb: Pull complete 17:01:05 f23df028b6ca: Pull complete 17:01:05 d65c8cfc05b1: Pull complete 17:01:21 2437ff75d9bd: Pull complete 17:01:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:01:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:01:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:01:21 prd-ubuntu20.04-docker-arm64-4c-16g-63163 does not seem to be running inside a container 17:01:21 $ 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 17:01:23 $ docker top 814342c4b2a8bbda96f22ed405071fce0c47a7477d6f9b4f3126a087c6b800b1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:01:24 ---> job-cost.sh 17:01:24 lf-activate-venv: SKIPPING 17:01:24 INFO: No Stack... 17:01:25 INFO: Retrieving Pricing Info for: v3-standard-4 17:01:26 INFO: Archiving Costs [Pipeline] sh 17:01:26 + cut -d, -f6 17:01:26 + cat /w/workspace/device-gpio/1/archives/cost.csv [Pipeline] lock 17:01:26 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] 17:01:26 Resource [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] did not exist. Created. 17:01:26 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:01:27 /w/workspace/device-gpio/1@tmp/durable-7d638f8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:01:28 + echo total: 0.10999999940395355 [Pipeline] stash 17:01:28 Warning: overwriting stash ‘stack-cost’ 17:01:28 Stashed 1 file(s) [Pipeline] } 17:01:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-30-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:01:28 $ docker stop --time=1 814342c4b2a8bbda96f22ed405071fce0c47a7477d6f9b4f3126a087c6b800b1 17:01:30 $ docker rm -f 814342c4b2a8bbda96f22ed405071fce0c47a7477d6f9b4f3126a087c6b800b1 [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 17:01:31 provisioning config files... 17:01:31 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/config2277505884092915776tmp [Pipeline] { [Pipeline] sh 17:01:31 + set +x 17:01:31 + curl -s https://codecov.io/bash 17:01:31 + bash -s -- 17:01:31 17:01:31 _____ _ 17:01:31 / ____| | | 17:01:31 | | ___ __| | ___ ___ _____ __ 17:01:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:01:31 | |___| (_) | (_| | __/ (_| (_) \ V / 17:01:31 \_____\___/ \__,_|\___|\___\___/ \_/ 17:01:31 Bash-1.0.6 17:01:31 17:01:31 17:01:31 ==> git version 2.25.1 found 17:01:31 ==> 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 17:01:31 Release-Date: 2020-01-08 17:01:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:01:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:01:31 ==> Jenkins CI detected. 17:01:31 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-30 17:01:31 project root: . 17:01:31 --> token set from env 17:01:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:01:31 ==> Running gcov in . (disable via -X gcov) 17:01:31 ==> Python coveragepy not found 17:01:31 ==> Searching for coverage reports in: 17:01:31 + . 17:01:31 -> Found 1 reports 17:01:31 ==> Detecting git/mercurial file structure 17:01:31 ==> Reading reports 17:01:31 + ./coverage.out bytes=10 17:01:31 ==> Appending adjustments 17:01:31 https://docs.codecov.io/docs/fixing-reports 17:01:31 + Found adjustments 17:01:31 ==> Gzipping contents 17:01:31 4.0K /tmp/codecov.lZHQNB.gz 17:01:31 ==> Uploading reports 17:01:31 url: https://codecov.io 17:01:31 query: branch=PR-30&commit=598cfcb8422d24702ecfcdbdf213cdb779f24702&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-30%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=30&job=&cmd_args= 17:01:31 -> Pinging Codecov 17:01:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-30&commit=598cfcb8422d24702ecfcdbdf213cdb779f24702&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-30%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=30&job=&cmd_args= 17:01:32 -> Uploading to 17:01:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/598cfcb8422d24702ecfcdbdf213cdb779f24702/67b0479d-25c5-4794-a86a-cd2d54a84ad6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T170131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d76af71cd55a910c1e2f92fa43120b968c6069d87a1f425d748a8999cfedc8e 17:01:32 % Total % Received % Xferd Average Speed Time Time Time Current 17:01:32 Dload Upload Total Spent Left Speed 17:01:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3906 --:--:-- --:--:-- --:--:-- 3906 17:01:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/598cfcb8422d24702ecfcdbdf213cdb779f24702 [Pipeline] } 17:01:32 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 17:01:34 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-30/archives ] 17:01:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-30/archives 17:01:34 total 16 17:01:34 drwxr-xr-x 3 root root 4096 May 11 16:56 . 17:01:34 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:56 .. 17:01:34 drwxr-xr-x 2 root root 4096 May 11 16:56 cost 17:01:34 -rw-r--r-- 1 root root 81 May 11 16:56 cost.csv 17:01:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-30/archives 17:01:34 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-30/archives 17:01:34 total 16 17:01:34 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:56 . 17:01:34 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:56 .. 17:01:34 drwxr-xr-x 2 jenkins jenkins 4096 May 11 16:56 cost 17:01:34 -rw-r--r-- 1 jenkins jenkins 81 May 11 16:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:01:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:01:35 ---> package-listing.sh 17:01:35 ++ facter osfamily 17:01:35 ++ tr '[:upper:]' '[:lower:]' 17:01:35 + OS_FAMILY=debian 17:01:35 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-30 17:01:35 + START_PACKAGES=/tmp/packages_start.txt 17:01:35 + END_PACKAGES=/tmp/packages_end.txt 17:01:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:01:35 + PACKAGES=/tmp/packages_start.txt 17:01:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-30 ']' 17:01:35 + PACKAGES=/tmp/packages_end.txt 17:01:35 + case "${OS_FAMILY}" in 17:01:35 + dpkg -l 17:01:35 + grep '^ii' 17:01:35 + '[' -f /tmp/packages_start.txt ']' 17:01:35 + '[' -f /tmp/packages_end.txt ']' 17:01:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:01:35 + '[' /w/workspace/edgexfoundry_device-gpio_PR-30 ']' 17:01:35 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-30/archives/ 17:01:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-30/archives/ [Pipeline] echo 17:01:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-30/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:01:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:01:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:36 . [Pipeline] withDockerContainer 17:01:36 prd-ubuntu20.04-docker-8c-8g-63162 does not seem to be running inside a container 17:01:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-30/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-30 -v /w/workspace/edgexfoundry_device-gpio_PR-30:/w/workspace/edgexfoundry_device-gpio_PR-30:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-30@tmp:/w/workspace/edgexfoundry_device-gpio_PR-30@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 17:01:36 $ docker top aa7d464e494c693ec5c07e09dc3460b028e517c54fb31fc054d95417d5279b8b -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:37 + touch /tmp/pre-build-complete [Pipeline] sh 17:01:37 + mkdir -p /var/log/sysstat [Pipeline] sh 17:01:38 + ls /var/log/sa-host 17:01:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:38 provisioning config files... 17:01:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-30@tmp/config4373245484824713775tmp [Pipeline] { [Pipeline] echo 17:01:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:01:38 ---> create-netrc.sh [Pipeline] } 17:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:01:39 ---> python-tools-install.sh [Pipeline] echo 17:01:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:01:39 ---> sudo-logs.sh 17:01:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:01:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:01:39 ---> job-cost.sh 17:01:39 lf-activate-venv: SKIPPING 17:01:39 DEBUG: total: 0.2199999988079071 17:01:39 INFO: Retrieving Stack Cost... 17:01:40 INFO: Retrieving Pricing Info for: v3-standard-8 17:01:40 INFO: Archiving Costs [Pipeline] echo 17:01:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:01:41 ---> logs-deploy.sh 17:01:41 lf-activate-venv: SKIPPING 17:01:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-30/1 17:01:41 INFO: archiving workspace using pattern(s): 17:01:42 Archives upload complete. 17:01:42 INFO: archiving logs to Nexus