Pull request #37 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 farshidtz for edgexfoundry/device-gpio Obtained Jenkinsfile from b37b0c6e358582f1d80b455dbf685e3af881882b+eb26a38a47d183fb3980c68adc91f8a5b9e8f183 (ab85fe70dd2540f246a009b26ab6cd41dfde439e) 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-ssh7947743402515826334.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-ssh10286240762830911007.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-37/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-37/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh964618346328512011.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-37/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12057368046667207445.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-ssh2711080104355288612.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-37/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-37/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8692233101539275782.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 Running on prd-ubuntu20.04-docker-8c-8g-63407 in /w/workspace/edgexfoundry_device-gpio_PR-37 [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-37 # 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/jakarta commit eb26a38a47d183fb3980c68adc91f8a5b9e8f183 into PR head commit b37b0c6e358582f1d80b455dbf685e3af881882b Merge succeeded, producing b37b0c6e358582f1d80b455dbf685e3af881882b Checking out Revision b37b0c6e358582f1d80b455dbf685e3af881882b (PR-37) > 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/37/head:refs/remotes/origin/PR-37 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b37b0c6e358582f1d80b455dbf685e3af881882b # 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 eb26a38a47d183fb3980c68adc91f8a5b9e8f183 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b37b0c6e358582f1d80b455dbf685e3af881882b # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:24:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:24:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:24:21 ========================================================= 15:24:21 EdgeX Global Pipelines Version Info 15:24:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:24:22 ------------------- 15:24:22 stable info: 15:24:22 ------------------- 15:24:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:24:22 Message: update stable to v1.0.230 15:24:22 ------------------- 15:24:22 experimental info: 15:24:22 ------------------- 15:24:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:24:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:24:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:24:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-37 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-37 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-37 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b37b0c6e358582f1d80b455dbf685e3af881882b [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b37b0c6 [Pipeline] echo 15:24:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:24:24 provisioning config files... 15:24:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/config1305926299888911732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:24 ---> docker-login.sh 15:24:24 nexus3.edgexfoundry.org:10001 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:25 Configure a credential helper to remove this warning. See 15:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:25 15:24:25 Login Succeeded 15:24:25 nexus3.edgexfoundry.org:10002 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:25 Configure a credential helper to remove this warning. See 15:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:25 15:24:25 Login Succeeded 15:24:25 nexus3.edgexfoundry.org:10003 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:25 Configure a credential helper to remove this warning. See 15:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:25 15:24:25 Login Succeeded 15:24:25 nexus3.edgexfoundry.org:10004 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:25 Configure a credential helper to remove this warning. See 15:24:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:25 15:24:25 Login Succeeded 15:24:25 docker.io 15:24:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:26 Configure a credential helper to remove this warning. See 15:24:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:26 15:24:26 Login Succeeded 15:24:26 ---> docker-login.sh ends [Pipeline] } 15:24:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:24:26 + git rev-list -1 --merges b37b0c6e358582f1d80b455dbf685e3af881882b~1..b37b0c6e358582f1d80b455dbf685e3af881882b [Pipeline] echo 15:24:27 -----------> git rev-list -1 --merges b37b0c6e358582f1d80b455dbf685e3af881882b~1..b37b0c6e358582f1d80b455dbf685e3af881882b b37b0c6e358582f1d80b455dbf685e3af881882b [false] [Pipeline] sh 15:24:27 + git log --format=format:%s -1 b37b0c6e358582f1d80b455dbf685e3af881882b [Pipeline] echo 15:24:27 ========================================================= 15:24:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:24:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:27 + git log --format=format:%s -1 b37b0c6e358582f1d80b455dbf685e3af881882b [Pipeline] echo 15:24:27 [semverPrep] GIT_COMMIT: b37b0c6e358582f1d80b455dbf685e3af881882b, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks [Pipeline] echo 15:24:27 [semverPrep] This is not a build commit. [Pipeline] sh 15:24:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:24:28 + grep -v github /etc/ssh/ssh_known_hosts 15:24:28 + [ -e /tmp/ssh_known_hosts ] 15:24:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:24:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:24:28 + sudo tee -a /etc/ssh/ssh_known_hosts 15:24:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:24:28 15:24:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:24:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:24:29 latest: Pulling from edgex-devops/py-git-semver 15:24:29 1fe172e4850f: Pulling fs layer 15:24:29 caf521ccaac6: Pulling fs layer 15:24:29 3ead6fa29328: Pulling fs layer 15:24:29 5c2a1cbceb83: Pulling fs layer 15:24:29 a8d5f1318db7: Pulling fs layer 15:24:29 c427282e49a2: Pulling fs layer 15:24:29 1827001aaf11: Pulling fs layer 15:24:29 0714d37db230: Pulling fs layer 15:24:29 a8d5f1318db7: Waiting 15:24:29 1827001aaf11: Waiting 15:24:29 c427282e49a2: Waiting 15:24:29 ac28cf19c067: Pulling fs layer 15:24:29 0714d37db230: Waiting 15:24:29 ca983d60f3e2: Pulling fs layer 15:24:29 9f894cec8388: Pulling fs layer 15:24:29 9f894cec8388: Waiting 15:24:29 5c2a1cbceb83: Waiting 15:24:29 ca983d60f3e2: Waiting 15:24:29 caf521ccaac6: Download complete 15:24:29 a8d5f1318db7: Verifying Checksum 15:24:29 a8d5f1318db7: Download complete 15:24:29 c427282e49a2: Download complete 15:24:29 3ead6fa29328: Verifying Checksum 15:24:29 3ead6fa29328: Download complete 15:24:29 0714d37db230: Download complete 15:24:29 ac28cf19c067: Verifying Checksum 15:24:29 ac28cf19c067: Download complete 15:24:29 ca983d60f3e2: Verifying Checksum 15:24:29 ca983d60f3e2: Download complete 15:24:29 9f894cec8388: Verifying Checksum 15:24:29 9f894cec8388: Download complete 15:24:29 1fe172e4850f: Verifying Checksum 15:24:29 1fe172e4850f: Download complete 15:24:29 1827001aaf11: Verifying Checksum 15:24:29 1827001aaf11: Download complete 15:24:30 1fe172e4850f: Pull complete 15:24:30 caf521ccaac6: Pull complete 15:24:31 3ead6fa29328: Pull complete 15:24:31 5c2a1cbceb83: Pull complete 15:24:31 a8d5f1318db7: Pull complete 15:24:31 c427282e49a2: Pull complete 15:24:33 1827001aaf11: Pull complete 15:24:33 0714d37db230: Pull complete 15:24:33 ac28cf19c067: Pull complete 15:24:34 ca983d60f3e2: Pull complete 15:24:34 9f894cec8388: Pull complete 15:24:34 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:24:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:24:34 prd-ubuntu20.04-docker-8c-8g-63407 does not seem to be running inside a container 15:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-37 -v /w/workspace/edgexfoundry_device-gpio_PR-37:/w/workspace/edgexfoundry_device-gpio_PR-37:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-37@tmp:/w/workspace/edgexfoundry_device-gpio_PR-37@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 15:24:35 $ docker top add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd -eo pid,comm 15:24:35 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). 15:24:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:24:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:35 [ssh-agent] Looking for ssh-agent implementation... 15:24:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:35 $ docker exec add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd ssh-agent 15:24:36 SSH_AUTH_SOCK=/tmp/ssh-Q0fExBLa9Vrj/agent.34 15:24:36 SSH_AGENT_PID=41 15:24:36 Running ssh-add (command line suppressed) 15:24:36 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-37@tmp/private_key_7909956547138921718.key (/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/private_key_7909956547138921718.key) 15:24:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:36 + git tag --points-at HEAD [Pipeline] } 15:24:36 $ docker exec --env ******** --env ******** add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd ssh-agent -k 15:24:36 unset SSH_AUTH_SOCK; 15:24:36 unset SSH_AGENT_PID; 15:24:36 echo Agent pid 41 killed; 15:24:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:24:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:24:36 [ssh-agent] Looking for ssh-agent implementation... 15:24:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:24:36 $ docker exec add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd ssh-agent 15:24:37 SSH_AUTH_SOCK=/tmp/ssh-VIniMEs1AD9m/agent.73 15:24:37 SSH_AGENT_PID=79 15:24:37 Running ssh-add (command line suppressed) 15:24:37 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-37@tmp/private_key_4019214234571234253.key (/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/private_key_4019214234571234253.key) 15:24:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:24:37 + git semver init 15:24:37 2022-05-12 15:24:37,756 [run_init] DEBUG init version:0.0.0 force:False 15:24:37 2022-05-12 15:24:37,757 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-37/.semver 15:24:37 2022-05-12 15:24:37,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-37/.semver 15:24:37 2022-05-12 15:24:37,758 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-37/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-37, universal_newlines=False, shell=None, istream=None) 15:24:38 2022-05-12 15:24:38,733 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-37/.git/info/exclude 15:24:38 2022-05-12 15:24:38,733 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-37/.semver/PR-37 with force:False 15:24:38 2022-05-12 15:24:38,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-37/.semver/PR-37 15:24:38 2022-05-12 15:24:38,738 [execute] INFO git cat-file --batch-check 15:24:38 2022-05-12 15:24:38,738 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-37/.semver, universal_newlines=False, shell=None, istream=) 15:24:38 2022-05-12 15:24:38,745 [execute] INFO git cat-file --batch 15:24:38 2022-05-12 15:24:38,745 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-37/.semver, universal_newlines=False, shell=None, istream=) 15:24:38 2022-05-12 15:24:38,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-37/.semver/PR-37 15:24:38 0.0.0 [Pipeline] } 15:24:39 $ docker exec --env ******** --env ******** add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd ssh-agent -k 15:24:39 unset SSH_AUTH_SOCK; 15:24:39 unset SSH_AGENT_PID; 15:24:39 echo Agent pid 79 killed; 15:24:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:24:39 + git semver [Pipeline] } 15:24:39 $ docker stop --time=1 add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd 15:24:41 $ docker rm -f add4a5f33114ec275e878ac07d78dcd6c04dc99ebd359c2982cb563c150f50cd [Pipeline] // withDockerContainer [Pipeline] sh 15:24:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:24:41 Stashed 1 file(s) [Pipeline] echo 15:24:41 [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 15:24:42 provisioning config files... 15:24:42 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/config3365100135421987147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:24:42 ---> docker-login.sh 15:24:42 nexus3.edgexfoundry.org:10001 15:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:42 Configure a credential helper to remove this warning. See 15:24:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:42 15:24:42 Login Succeeded 15:24:42 nexus3.edgexfoundry.org:10002 15:24:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:43 Configure a credential helper to remove this warning. See 15:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:43 15:24:43 Login Succeeded 15:24:43 nexus3.edgexfoundry.org:10003 15:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:43 Configure a credential helper to remove this warning. See 15:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:43 15:24:43 Login Succeeded 15:24:43 nexus3.edgexfoundry.org:10004 15:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:43 Configure a credential helper to remove this warning. See 15:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:43 15:24:43 Login Succeeded 15:24:43 docker.io 15:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:24:43 Configure a credential helper to remove this warning. See 15:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:24:43 15:24:43 Login Succeeded 15:24:43 ---> docker-login.sh ends [Pipeline] } 15:24:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:24:43 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:24:43 ========================================================= 15:24:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 15:24:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:24:44 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:24:44 Sending build context to Docker daemon 26.58MB 15:24:44 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:24:44 Step 2/11 : FROM ${BASE} AS builder 15:24:44 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 15:24:44 59bf1c3509f3: Pulling fs layer 15:24:44 666ba61612fd: Pulling fs layer 15:24:44 8ed8ca486205: Pulling fs layer 15:24:44 4fe6c5a15a65: Pulling fs layer 15:24:44 22a0e8bec74d: Pulling fs layer 15:24:44 5f8736975d2d: Pulling fs layer 15:24:44 fe9c1520953f: Pulling fs layer 15:24:44 ad63dd2c9e3e: Pulling fs layer 15:24:44 15d927b9e438: Pulling fs layer 15:24:44 4fe6c5a15a65: Waiting 15:24:44 22a0e8bec74d: Waiting 15:24:44 5f8736975d2d: Waiting 15:24:44 fe9c1520953f: Waiting 15:24:44 ad63dd2c9e3e: Waiting 15:24:44 15d927b9e438: Waiting 15:24:44 8ed8ca486205: Verifying Checksum 15:24:44 8ed8ca486205: Download complete 15:24:44 666ba61612fd: Download complete 15:24:44 22a0e8bec74d: Verifying Checksum 15:24:44 22a0e8bec74d: Download complete 15:24:44 59bf1c3509f3: Verifying Checksum 15:24:44 5f8736975d2d: Download complete 15:24:44 fe9c1520953f: Download complete 15:24:44 ad63dd2c9e3e: Verifying Checksum 15:24:44 ad63dd2c9e3e: Download complete 15:24:44 59bf1c3509f3: Pull complete 15:24:45 666ba61612fd: Pull complete 15:24:45 8ed8ca486205: Pull complete 15:24:45 15d927b9e438: Verifying Checksum 15:24:45 15d927b9e438: Download complete 15:24:45 4fe6c5a15a65: Verifying Checksum 15:24:45 4fe6c5a15a65: Download complete 15:24:49 4fe6c5a15a65: Pull complete 15:24:49 22a0e8bec74d: Pull complete 15:24:49 5f8736975d2d: Pull complete 15:24:49 fe9c1520953f: Pull complete 15:24:49 ad63dd2c9e3e: Pull complete 15:24:51 15d927b9e438: Pull complete 15:24:51 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 15:24:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 15:24:51 ---> 38c4cad2258c 15:24:51 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:24:53 ---> Running in 10c3751b39ea 15:24:53 Removing intermediate container 10c3751b39ea 15:24:53 ---> b5a0b8d392b9 15:24:53 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:24:53 ---> Running in d0a7df911062 15:24:53 Removing intermediate container d0a7df911062 15:24:53 ---> c0cc7b08a784 15:24:53 Step 5/11 : WORKDIR /device-gpio 15:24:53 ---> Running in 6ee1f4bf0a73 15:24:53 Removing intermediate container 6ee1f4bf0a73 15:24:53 ---> c90d6f456cfe 15:24:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:53 ---> Running in d613c005acaf 15:24:54 Removing intermediate container d613c005acaf 15:24:54 ---> 9cfe0654bf7e 15:24:54 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:54 ---> Running in 1e4b97eed482 15:24:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:24:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:24:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:24:55 (2/4) Installing libedit (20210910.3.1-r0) 15:24:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:24:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:24:56 Executing busybox-1.34.1-r3.trigger 15:24:56 OK: 224 MiB in 56 packages 15:24:56 Removing intermediate container 1e4b97eed482 15:24:56 ---> d26781119501 15:24:56 Step 8/11 : COPY go.mod vendor* ./ 15:24:57 Still waiting to schedule task 15:24:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63409’ 15:24:57 ---> 5e600ee8c972 15:24:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:24:57 ---> Running in e0a3fa2e6a03 15:25:29 Removing intermediate container e0a3fa2e6a03 15:25:29 ---> 699e43d2ffb1 15:25:29 Step 10/11 : COPY . . 15:25:29 ---> c02e860aa965 15:25:29 Step 11/11 : RUN ${MAKE} 15:25:29 ---> Running in d2b825859a17 15:25:29 Removing intermediate container d2b825859a17 15:25:29 ---> 20982bc1dca5 15:25:29 [Warning] One or more build-args [MAKE] were not consumed 15:25:29 Successfully built 20982bc1dca5 15:25:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:25:30 + docker inspect -f . ci-base-image-x86_64 15:25:30 . [Pipeline] withDockerContainer 15:25:30 prd-ubuntu20.04-docker-8c-8g-63407 does not seem to be running inside a container 15:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-37 -v /w/workspace/edgexfoundry_device-gpio_PR-37:/w/workspace/edgexfoundry_device-gpio_PR-37:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-37@tmp:/w/workspace/edgexfoundry_device-gpio_PR-37@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 15:25:30 $ docker top b375fd1c12c41791135a65cc5ff8a7ed241af245e4611667b140771f4c3e50a7 -eo pid,comm [Pipeline] { [Pipeline] sh 15:25:31 + go version 15:25:31 go version go1.17.6 linux/amd64 [Pipeline] } 15:25:31 $ docker stop --time=1 b375fd1c12c41791135a65cc5ff8a7ed241af245e4611667b140771f4c3e50a7 15:25:32 $ docker rm -f b375fd1c12c41791135a65cc5ff8a7ed241af245e4611667b140771f4c3e50a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:25:33 + docker inspect -f . ci-base-image-x86_64 15:25:33 . [Pipeline] withDockerContainer 15:25:33 prd-ubuntu20.04-docker-8c-8g-63407 does not seem to be running inside a container 15:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-37 -v /w/workspace/edgexfoundry_device-gpio_PR-37:/w/workspace/edgexfoundry_device-gpio_PR-37:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-37@tmp:/w/workspace/edgexfoundry_device-gpio_PR-37@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 15:25:33 $ docker top c757e69647106df0970e724262890a5db7ef586dc0375fddf73f93e2a2201305 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:25:34 + make test 15:25:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:25:34 ? github.com/edgexfoundry/device-gpio [no test files] 15:25:41 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:25:41 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:25:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:25:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:47 ./bin/test-attribution-txt.sh [Pipeline] echo 15:25:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:25:48 + go mod tidy [Pipeline] } 15:25:48 $ docker stop --time=1 c757e69647106df0970e724262890a5db7ef586dc0375fddf73f93e2a2201305 15:25:50 $ docker rm -f c757e69647106df0970e724262890a5db7ef586dc0375fddf73f93e2a2201305 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:25:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:52 + ls -al . 15:25:52 total 180 15:25:52 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:25 . 15:25:52 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:24 .. 15:25:52 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:24 .dockerignore 15:25:52 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:24 .git 15:25:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:24 .github 15:25:52 -rw-rw-r-- 1 jenkins jenkins 335 May 12 15:24 .gitignore 15:25:52 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:24 .golangci.yml 15:25:52 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:24 .semver 15:25:52 -rw-rw-r-- 1 jenkins jenkins 7772 May 12 15:24 Attribution.txt 15:25:52 -rw-rw-r-- 1 jenkins jenkins 1235 May 12 15:24 CHANGELOG.md 15:25:52 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:24 Dockerfile 15:25:52 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:24 GOVERNANCE.md 15:25:52 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:24 Jenkinsfile 15:25:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:24 LICENSE 15:25:52 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:24 Makefile 15:25:52 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:24 OWNERS.md 15:25:52 -rw-rw-r-- 1 jenkins jenkins 10844 May 12 15:24 README.md 15:25:52 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:24 VERSION 15:25:52 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:24 bin 15:25:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:24 cmd 15:25:52 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:25 coverage.out 15:25:52 -rw-rw-r-- 1 jenkins jenkins 2794 May 12 15:25 go.mod 15:25:52 -rw-rw-r-- 1 jenkins jenkins 56104 May 12 15:25 go.sum 15:25:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:24 internal 15:25:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:24 snap 15:25:52 drwxrwxr-x 6 jenkins jenkins 4096 May 12 15:24 vendor 15:25:52 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:24 version.go [Pipeline] isUnix [Pipeline] sh 15:25:52 + 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=b37b0c6e358582f1d80b455dbf685e3af881882b --label arch=amd64 --label version=0.0.0 . 15:25:52 Sending build context to Docker daemon 26.59MB 15:25:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:25:52 Step 2/25 : FROM ${BASE} AS builder 15:25:52 ---> 20982bc1dca5 15:25:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:25:52 ---> Running in 383b07f6eb5c 15:25:53 Removing intermediate container 383b07f6eb5c 15:25:53 ---> 5f4651b5f177 15:25:53 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:25:53 ---> Running in 46e37031c927 15:25:53 Removing intermediate container 46e37031c927 15:25:53 ---> bac3d96a2351 15:25:53 Step 5/25 : WORKDIR /device-gpio 15:25:53 ---> Running in bfafb292c644 15:25:53 Removing intermediate container bfafb292c644 15:25:53 ---> 7820aa3e9483 15:25:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:53 ---> Running in 85028b61a960 15:25:53 Removing intermediate container 85028b61a960 15:25:53 ---> 4ba3a1b5b34b 15:25:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:25:53 ---> Running in 1c7351eb0f71 15:25:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:25:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:25:55 OK: 224 MiB in 56 packages 15:25:55 Removing intermediate container 1c7351eb0f71 15:25:55 ---> 7369e7a4b6b8 15:25:55 Step 8/25 : COPY go.mod vendor* ./ 15:25:56 ---> c62d4033bcfc 15:25:56 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:56 ---> Running in 828ddca26188 15:25:56 skipping... 15:25:57 Removing intermediate container 828ddca26188 15:25:57 ---> 0fd256225bf0 15:25:57 Step 10/25 : COPY . . 15:25:58 ---> e9872bfc48d4 15:25:58 Step 11/25 : RUN ${MAKE} 15:25:58 ---> Running in 341a6d9a5e42 15:25:59 Removing intermediate container 341a6d9a5e42 15:25:59 ---> 884b787337be 15:25:59 Step 12/25 : FROM alpine:3.15 15:25:59 3.15: Pulling from library/alpine 15:25:59 df9b9388f04a: Pulling fs layer 15:25:59 df9b9388f04a: Verifying Checksum 15:25:59 df9b9388f04a: Download complete 15:25:59 df9b9388f04a: Pull complete 15:25:59 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:25:59 Status: Downloaded newer image for alpine:3.15 15:25:59 ---> 0ac33e5f5afa 15:25:59 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:26:00 ---> Running in b5b1259ee812 15:26:00 Removing intermediate container b5b1259ee812 15:26:00 ---> d1bbbc3dec81 15:26:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:26:00 ---> Running in 9c7dc614a565 15:26:00 Removing intermediate container 9c7dc614a565 15:26:00 ---> 5c2de4af4d8c 15:26:00 Step 15/25 : RUN apk add --update --no-cache zeromq 15:26:00 ---> Running in dbab6f3f6a32 15:26:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:26:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:26:02 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:26:02 (2/5) Installing libsodium (1.0.18-r0) 15:26:02 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:26:02 (4/5) Installing libzmq (4.3.4-r0) 15:26:02 (5/5) Installing zeromq (4.3.4-r0) 15:26:02 Executing busybox-1.34.1-r5.trigger 15:26:02 OK: 8 MiB in 19 packages 15:26:03 Removing intermediate container dbab6f3f6a32 15:26:03 ---> b547f1a8f5e2 15:26:03 Step 16/25 : WORKDIR / 15:26:03 ---> Running in bb11fd217be4 15:26:03 Removing intermediate container bb11fd217be4 15:26:03 ---> 08ac7e8f582d 15:26:03 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:26:03 ---> e530b1823d2b 15:26:03 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:26:03 ---> de25374dc62f 15:26:03 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:26:03 ---> 53435029450d 15:26:03 Step 20/25 : EXPOSE 59910 15:26:03 ---> Running in f16976c49066 15:26:03 Removing intermediate container f16976c49066 15:26:03 ---> a174dbca9f80 15:26:03 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:26:03 ---> Running in cfa9e9d9045b 15:26:03 Removing intermediate container cfa9e9d9045b 15:26:03 ---> e157f8f1a381 15:26:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:26:03 ---> Running in 12cd75a88751 15:26:04 Removing intermediate container 12cd75a88751 15:26:04 ---> e79acd38948b 15:26:04 Step 23/25 : LABEL arch=amd64 15:26:04 ---> Running in 39b0e517ced3 15:26:04 Removing intermediate container 39b0e517ced3 15:26:04 ---> 30210c11b5cb 15:26:04 Step 24/25 : LABEL git_sha=b37b0c6e358582f1d80b455dbf685e3af881882b 15:26:04 ---> Running in 08960e2b4966 15:26:04 Removing intermediate container 08960e2b4966 15:26:04 ---> f3068710fd43 15:26:04 Step 25/25 : LABEL version=0.0.0 15:26:04 ---> Running in 6ef2e65ce9a1 15:26:04 Removing intermediate container 6ef2e65ce9a1 15:26:04 ---> c8718136279d 15:26:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:26:04 Successfully built c8718136279d 15:26:04 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 15:26:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:05 15:26:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:26:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:05 latest: Pulling from edgex-lftools-log-publisher 15:26:05 5eb5b503b376: Pulling fs layer 15:26:05 5c69ac0246d0: Pulling fs layer 15:26:05 ec43610c2a17: Pulling fs layer 15:26:05 3a2ae6a8a46f: Pulling fs layer 15:26:05 33b1e0a273af: Pulling fs layer 15:26:05 5d3b04190fa2: Pulling fs layer 15:26:05 2f39f015ded8: Pulling fs layer 15:26:05 33b1e0a273af: Waiting 15:26:05 5d3b04190fa2: Waiting 15:26:05 2f39f015ded8: Waiting 15:26:05 3a2ae6a8a46f: Waiting 15:26:05 5c69ac0246d0: Download complete 15:26:05 3a2ae6a8a46f: Verifying Checksum 15:26:05 3a2ae6a8a46f: Download complete 15:26:05 33b1e0a273af: Verifying Checksum 15:26:05 33b1e0a273af: Download complete 15:26:05 5d3b04190fa2: Verifying Checksum 15:26:05 5d3b04190fa2: Download complete 15:26:05 ec43610c2a17: Verifying Checksum 15:26:05 ec43610c2a17: Download complete 15:26:05 5eb5b503b376: Verifying Checksum 15:26:05 5eb5b503b376: Download complete 15:26:06 2f39f015ded8: Download complete 15:26:06 5eb5b503b376: Pull complete 15:26:07 5c69ac0246d0: Pull complete 15:26:07 ec43610c2a17: Pull complete 15:26:07 3a2ae6a8a46f: Pull complete 15:26:07 33b1e0a273af: Pull complete 15:26:07 5d3b04190fa2: Pull complete 15:26:12 2f39f015ded8: Pull complete 15:26:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:26:12 prd-ubuntu20.04-docker-8c-8g-63407 does not seem to be running inside a container 15:26:12 $ 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-37 -v /w/workspace/edgexfoundry_device-gpio_PR-37:/w/workspace/edgexfoundry_device-gpio_PR-37:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-37@tmp:/w/workspace/edgexfoundry_device-gpio_PR-37@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 15:26:14 $ docker top 18fe7e7806e1a166dc502e36b3b1fff8587900138e66c20966f5b530d3554c13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:14 ---> job-cost.sh 15:26:14 lf-activate-venv: SKIPPING 15:26:14 INFO: No Stack... 15:26:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:15 INFO: Archiving Costs [Pipeline] sh 15:26:15 + cat /w/workspace/edgexfoundry_device-gpio_PR-37/archives/cost.csv 15:26:15 + cut -d, -f6 [Pipeline] lock 15:26:15 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] 15:26:15 Resource [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] did not exist. Created. 15:26:15 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:16 + echo total: 0.2199999988079071 [Pipeline] stash 15:26:16 Stashed 1 file(s) [Pipeline] } 15:26:16 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:16 $ docker stop --time=1 18fe7e7806e1a166dc502e36b3b1fff8587900138e66c20966f5b530d3554c13 15:26:17 $ docker rm -f 18fe7e7806e1a166dc502e36b3b1fff8587900138e66c20966f5b530d3554c13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:28:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63411 in /w/workspace/edgexfoundry_device-gpio_PR-37 [Pipeline] { [Pipeline] ws 15:28:20 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 15:28:20 The recommended git tool is: git 15:28:26 using credential edgex-jenkins-ssh 15:28:26 Cloning the remote Git repository 15:28:26 Cloning repository git@github.com:edgexfoundry/device-gpio.git 15:28:26 > git init /w/workspace/device-gpio/1 # timeout=10 15:28:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:28:27 > git --version # timeout=10 15:28:27 > git --version # 'git version 2.25.1' 15:28:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:28:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:28:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:28:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:28:28 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/37/head:refs/remotes/origin/PR-37 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 15:28:29 Merging remotes/origin/jakarta commit eb26a38a47d183fb3980c68adc91f8a5b9e8f183 into PR head commit b37b0c6e358582f1d80b455dbf685e3af881882b 15:28:29 Merge succeeded, producing b37b0c6e358582f1d80b455dbf685e3af881882b 15:28:29 Checking out Revision b37b0c6e358582f1d80b455dbf685e3af881882b (PR-37) 15:28:29 > git config core.sparsecheckout # timeout=10 15:28:29 > git checkout -f b37b0c6e358582f1d80b455dbf685e3af881882b # timeout=10 15:28:29 > git remote # timeout=10 15:28:29 > git config --get remote.origin.url # timeout=10 15:28:29 using GIT_SSH to set credentials SSH Credentials for GitHub 15:28:29 > git merge eb26a38a47d183fb3980c68adc91f8a5b9e8f183 # timeout=10 15:28:29 > git rev-parse HEAD^{commit} # timeout=10 15:28:29 > git config core.sparsecheckout # timeout=10 15:28:29 > git checkout -f b37b0c6e358582f1d80b455dbf685e3af881882b # timeout=10 15:28:34 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks" 15:28:34 > git --version # timeout=10 15:28:34 > git --version # 'git version 2.25.1' 15:28:34 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:28:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:28:35 % Total % Received % Xferd Average Speed Time Time Time Current 15:28:35 Dload Upload Total Spent Left Speed 15:28:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 61682 0 --:--:-- --:--:-- --:--:-- 61682 [Pipeline] sh 15:28:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:28:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:28:36 + sudo tee /etc/docker/daemon.new 15:28:36 { 15:28:36 "registry-mirrors": [ 15:28:36 "https://nexus3.edgexfoundry.org:10001" 15:28:36 ], 15:28:36 "bip": "10.250.0.254/24", 15:28:36 "hosts": [ 15:28:36 "tcp://0.0.0.0:5555", 15:28:36 "unix:///var/run/docker.sock" 15:28:36 ], 15:28:36 "mtu": 1458, 15:28:36 "selinux-enabled": true, 15:28:36 "seccomp-profile": "/etc/docker/seccomp.json" 15:28:36 } [Pipeline] sh 15:28:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:28:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:55 provisioning config files... 15:28:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5314964876711817096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:28:56 ---> docker-login.sh 15:28:56 nexus3.edgexfoundry.org:10001 15:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:57 Configure a credential helper to remove this warning. See 15:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:57 15:28:57 Login Succeeded 15:28:57 nexus3.edgexfoundry.org:10002 15:28:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:57 Configure a credential helper to remove this warning. See 15:28:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:57 15:28:57 Login Succeeded 15:28:57 nexus3.edgexfoundry.org:10003 15:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:58 Configure a credential helper to remove this warning. See 15:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:58 15:28:58 Login Succeeded 15:28:58 nexus3.edgexfoundry.org:10004 15:28:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:58 Configure a credential helper to remove this warning. See 15:28:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:58 15:28:58 Login Succeeded 15:28:58 docker.io 15:28:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:28:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:28:59 Configure a credential helper to remove this warning. See 15:28:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:28:59 15:28:59 Login Succeeded 15:28:59 ---> docker-login.sh ends [Pipeline] } 15:28:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:28:59 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:28:59 ========================================================= 15:28:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 15:28:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:29:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:29:01 Sending build context to Docker daemon 18.83MB 15:29:01 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:29:01 Step 2/11 : FROM ${BASE} AS builder 15:29:01 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 15:29:01 9b3977197b4f: Pulling fs layer 15:29:01 1a89e8eeedd5: Pulling fs layer 15:29:01 94645a83ff95: Pulling fs layer 15:29:01 3f3a8bcf1eab: Pulling fs layer 15:29:01 0c92f367c5e7: Pulling fs layer 15:29:01 045706c8da98: Pulling fs layer 15:29:01 d7189365e05b: Pulling fs layer 15:29:01 a32415fbff51: Pulling fs layer 15:29:01 3f3a8bcf1eab: Waiting 15:29:01 d7189365e05b: Waiting 15:29:01 a32415fbff51: Waiting 15:29:01 045706c8da98: Waiting 15:29:01 0c92f367c5e7: Waiting 15:29:01 94645a83ff95: Verifying Checksum 15:29:01 94645a83ff95: Download complete 15:29:01 1a89e8eeedd5: Verifying Checksum 15:29:01 1a89e8eeedd5: Download complete 15:29:01 0c92f367c5e7: Verifying Checksum 15:29:01 0c92f367c5e7: Download complete 15:29:01 9b3977197b4f: Verifying Checksum 15:29:01 9b3977197b4f: Download complete 15:29:01 045706c8da98: Verifying Checksum 15:29:01 045706c8da98: Download complete 15:29:01 d7189365e05b: Verifying Checksum 15:29:01 d7189365e05b: Download complete 15:29:02 9b3977197b4f: Pull complete 15:29:03 1a89e8eeedd5: Pull complete 15:29:03 94645a83ff95: Pull complete 15:29:03 a32415fbff51: Verifying Checksum 15:29:03 a32415fbff51: Download complete 15:29:04 3f3a8bcf1eab: Verifying Checksum 15:29:04 3f3a8bcf1eab: Download complete 15:29:17 3f3a8bcf1eab: Pull complete 15:29:17 0c92f367c5e7: Pull complete 15:29:17 045706c8da98: Pull complete 15:29:17 d7189365e05b: Pull complete 15:29:23 a32415fbff51: Pull complete 15:29:23 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 15:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 15:29:23 ---> 96786ed1eff5 15:29:23 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:29:24 ---> Running in 6dffd49b5810 15:29:25 Removing intermediate container 6dffd49b5810 15:29:25 ---> a0822e6de969 15:29:25 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:29:25 ---> Running in 2a7a381a3a26 15:29:25 Removing intermediate container 2a7a381a3a26 15:29:25 ---> 7d26adc2776f 15:29:25 Step 5/11 : WORKDIR /device-gpio 15:29:25 ---> Running in 832a1068f019 15:29:26 Removing intermediate container 832a1068f019 15:29:26 ---> cbad9f2a4f3b 15:29:26 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:29:26 ---> Running in d2dc617b84d7 15:29:28 Removing intermediate container d2dc617b84d7 15:29:28 ---> 8bb524cac9a5 15:29:28 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:29:28 ---> Running in 1895fe6a5a47 15:29:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:29:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:29:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:29:31 (2/4) Installing libedit (20210910.3.1-r0) 15:29:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:29:32 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:29:32 Executing busybox-1.34.1-r3.trigger 15:29:32 OK: 224 MiB in 56 packages 15:29:33 Removing intermediate container 1895fe6a5a47 15:29:33 ---> 19ec0cd0031f 15:29:33 Step 8/11 : COPY go.mod vendor* ./ 15:29:37 ---> bd5a23919713 15:29:37 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:29:37 ---> Running in 29afe2f37ac1 15:30:59 Removing intermediate container 29afe2f37ac1 15:30:59 ---> b5dc47fc3031 15:30:59 Step 10/11 : COPY . . 15:30:59 ---> 0286b48e7dbe 15:30:59 Step 11/11 : RUN ${MAKE} 15:30:59 ---> Running in ea30d0ded0b0 15:30:59 Removing intermediate container ea30d0ded0b0 15:30:59 ---> 985d5319b76f 15:30:59 [Warning] One or more build-args [MAKE] were not consumed 15:31:00 Successfully built 985d5319b76f 15:31:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:31:00 + docker inspect -f . ci-base-image-arm64 15:31:00 . [Pipeline] withDockerContainer 15:31:00 prd-ubuntu20.04-docker-arm64-4c-16g-63411 does not seem to be running inside a container 15:31:00 $ 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 15:31:02 $ docker top 36f86307ee7fae367bd8c4e469bc9e276d72bb1fc11a563d840ccc0034d6acd9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:31:03 + go version 15:31:03 go version go1.17.6 linux/arm64 [Pipeline] } 15:31:03 $ docker stop --time=1 36f86307ee7fae367bd8c4e469bc9e276d72bb1fc11a563d840ccc0034d6acd9 15:31:04 $ docker rm -f 36f86307ee7fae367bd8c4e469bc9e276d72bb1fc11a563d840ccc0034d6acd9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:31:05 + docker inspect -f . ci-base-image-arm64 15:31:05 . [Pipeline] withDockerContainer 15:31:05 prd-ubuntu20.04-docker-arm64-4c-16g-63411 does not seem to be running inside a container 15:31:05 $ 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 15:31:07 $ docker top a885818d3756f0b3e2e9a4d68ababbc629f0cf00e7b5b825f91b01306e9d5f5b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:31:08 + make test 15:31:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:31:09 ? github.com/edgexfoundry/device-gpio [no test files] 15:31:56 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:31:56 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:31:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:31:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:32:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:14 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:16 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 15:32:17 + go mod tidy [Pipeline] } 15:32:17 $ docker stop --time=1 a885818d3756f0b3e2e9a4d68ababbc629f0cf00e7b5b825f91b01306e9d5f5b 15:32:19 $ docker rm -f a885818d3756f0b3e2e9a4d68ababbc629f0cf00e7b5b825f91b01306e9d5f5b [Pipeline] // withDockerContainer [Pipeline] sh 15:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:20 Warning: overwriting stash ‘coverage-report’ 15:32:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:22 + ls -al . 15:32:22 total 176 15:32:22 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:32 . 15:32:22 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:28 .. 15:32:22 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:28 .dockerignore 15:32:22 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:28 .git 15:32:22 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:28 .github 15:32:22 -rw-rw-r-- 1 jenkins jenkins 335 May 12 15:28 .gitignore 15:32:22 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:28 .golangci.yml 15:32:22 -rw-rw-r-- 1 jenkins jenkins 7772 May 12 15:28 Attribution.txt 15:32:22 -rw-rw-r-- 1 jenkins jenkins 1235 May 12 15:28 CHANGELOG.md 15:32:22 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:28 Dockerfile 15:32:22 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:28 GOVERNANCE.md 15:32:22 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:28 Jenkinsfile 15:32:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:28 LICENSE 15:32:22 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:28 Makefile 15:32:22 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:28 OWNERS.md 15:32:22 -rw-rw-r-- 1 jenkins jenkins 10844 May 12 15:28 README.md 15:32:22 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:24 VERSION 15:32:22 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:28 bin 15:32:22 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:28 cmd 15:32:22 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:31 coverage.out 15:32:22 -rw-rw-r-- 1 jenkins jenkins 2794 May 12 15:32 go.mod 15:32:22 -rw-rw-r-- 1 jenkins jenkins 56104 May 12 15:32 go.sum 15:32:22 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:28 internal 15:32:22 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:28 snap 15:32:22 drwxrwxr-x 6 jenkins jenkins 4096 May 12 15:28 vendor 15:32:22 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:28 version.go [Pipeline] isUnix [Pipeline] sh 15:32:22 + 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=b37b0c6e358582f1d80b455dbf685e3af881882b --label arch=arm64 --label version=0.0.0 . 15:32:23 Sending build context to Docker daemon 18.83MB 15:32:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:32:23 Step 2/25 : FROM ${BASE} AS builder 15:32:23 ---> 985d5319b76f 15:32:23 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:32:23 ---> Running in 193c172d5fae 15:32:24 Removing intermediate container 193c172d5fae 15:32:24 ---> 09258268f13e 15:32:24 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:32:24 ---> Running in f8c235b505a1 15:32:24 Removing intermediate container f8c235b505a1 15:32:24 ---> 91c5168cba0d 15:32:24 Step 5/25 : WORKDIR /device-gpio 15:32:24 ---> Running in 1a20805cb992 15:32:25 Removing intermediate container 1a20805cb992 15:32:25 ---> ab655122fd9e 15:32:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:32:25 ---> Running in f50c80e6ac75 15:32:26 Removing intermediate container f50c80e6ac75 15:32:26 ---> 0e089f3cdb75 15:32:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:32:26 ---> Running in 298394f8850e 15:32:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:32:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:32:29 OK: 224 MiB in 56 packages 15:32:29 Removing intermediate container 298394f8850e 15:32:29 ---> ae3b287a3b54 15:32:29 Step 8/25 : COPY go.mod vendor* ./ 15:32:34 ---> e9c30a804488 15:32:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:34 ---> Running in bd831259d074 15:32:34 skipping... 15:32:35 Removing intermediate container bd831259d074 15:32:35 ---> 00de6c61b0d3 15:32:35 Step 10/25 : COPY . . 15:32:39 ---> 13d27b7834fa 15:32:39 Step 11/25 : RUN ${MAKE} 15:32:39 ---> Running in 4fbd411d96a7 15:32:41 Removing intermediate container 4fbd411d96a7 15:32:41 ---> f2bf0652ddf6 15:32:41 Step 12/25 : FROM alpine:3.15 15:32:41 3.15: Pulling from library/alpine 15:32:41 9981e73032c8: Pulling fs layer 15:32:42 9981e73032c8: Verifying Checksum 15:32:42 9981e73032c8: Download complete 15:32:42 9981e73032c8: Pull complete 15:32:42 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:32:42 Status: Downloaded newer image for alpine:3.15 15:32:42 ---> 3fb3c9af89a9 15:32:42 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:32:42 ---> Running in 3a81aa94046d 15:32:42 Removing intermediate container 3a81aa94046d 15:32:42 ---> 24517f8d47db 15:32:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:32:42 ---> Running in 370a6bf7cde0 15:32:44 Removing intermediate container 370a6bf7cde0 15:32:44 ---> 49c69d8e2994 15:32:44 Step 15/25 : RUN apk add --update --no-cache zeromq 15:32:44 ---> Running in 7be192ccc6b3 15:32:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:32:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:32:47 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:32:47 (2/5) Installing libsodium (1.0.18-r0) 15:32:47 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:32:47 (4/5) Installing libzmq (4.3.4-r0) 15:32:47 (5/5) Installing zeromq (4.3.4-r0) 15:32:47 Executing busybox-1.34.1-r5.trigger 15:32:47 OK: 8 MiB in 19 packages 15:32:49 Removing intermediate container 7be192ccc6b3 15:32:49 ---> e53a53c854da 15:32:49 Step 16/25 : WORKDIR / 15:32:49 ---> Running in 0b1d5efea801 15:32:49 Removing intermediate container 0b1d5efea801 15:32:49 ---> 020abb35c890 15:32:49 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:32:49 ---> 41128dbaa3f0 15:32:49 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:32:50 ---> 507b86cf89ad 15:32:50 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:32:50 ---> a44d963312ea 15:32:50 Step 20/25 : EXPOSE 59910 15:32:50 ---> Running in 16db33d1eadd 15:32:51 Removing intermediate container 16db33d1eadd 15:32:51 ---> 2c039aaeb9e4 15:32:51 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:32:51 ---> Running in 6b05020d5133 15:32:51 Removing intermediate container 6b05020d5133 15:32:51 ---> 0f7d314b82da 15:32:51 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:32:51 ---> Running in 60e00498ba9f 15:32:52 Removing intermediate container 60e00498ba9f 15:32:52 ---> 1e817fe34c49 15:32:52 Step 23/25 : LABEL arch=arm64 15:32:52 ---> Running in 22d7be550ca2 15:32:52 Removing intermediate container 22d7be550ca2 15:32:52 ---> 2a0f917124ba 15:32:52 Step 24/25 : LABEL git_sha=b37b0c6e358582f1d80b455dbf685e3af881882b 15:32:52 ---> Running in 64a6937ec902 15:32:52 Removing intermediate container 64a6937ec902 15:32:52 ---> 2e8cb0cd3498 15:32:52 Step 25/25 : LABEL version=0.0.0 15:32:52 ---> Running in d2c8229f3ce5 15:32:53 Removing intermediate container d2c8229f3ce5 15:32:53 ---> d44fdabcab9e 15:32:53 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:32:53 Successfully built d44fdabcab9e 15:32:53 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 15:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:54 15:32:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:32:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:32:54 arm64: Pulling from edgex-lftools-log-publisher 15:32:54 8998bd30e6a1: Pulling fs layer 15:32:54 04944245beec: Pulling fs layer 15:32:54 699f458cf7ca: Pulling fs layer 15:32:54 765212b225bb: Pulling fs layer 15:32:54 f23df028b6ca: Pulling fs layer 15:32:54 d65c8cfc05b1: Pulling fs layer 15:32:54 765212b225bb: Waiting 15:32:54 f23df028b6ca: Waiting 15:32:54 d65c8cfc05b1: Waiting 15:32:54 2437ff75d9bd: Pulling fs layer 15:32:54 04944245beec: Verifying Checksum 15:32:54 04944245beec: Download complete 15:32:54 765212b225bb: Verifying Checksum 15:32:54 765212b225bb: Download complete 15:32:54 f23df028b6ca: Verifying Checksum 15:32:54 f23df028b6ca: Download complete 15:32:55 d65c8cfc05b1: Verifying Checksum 15:32:55 d65c8cfc05b1: Download complete 15:32:55 699f458cf7ca: Verifying Checksum 15:32:55 699f458cf7ca: Download complete 15:32:55 8998bd30e6a1: Verifying Checksum 15:32:55 8998bd30e6a1: Download complete 15:32:58 2437ff75d9bd: Verifying Checksum 15:32:58 2437ff75d9bd: Download complete 15:32:59 8998bd30e6a1: Pull complete 15:33:00 04944245beec: Pull complete 15:33:01 699f458cf7ca: Pull complete 15:33:01 765212b225bb: Pull complete 15:33:02 f23df028b6ca: Pull complete 15:33:02 d65c8cfc05b1: Pull complete 15:33:17 2437ff75d9bd: Pull complete 15:33:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:33:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:33:18 prd-ubuntu20.04-docker-arm64-4c-16g-63411 does not seem to be running inside a container 15:33:18 $ 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 15:33:20 $ docker top 9c4512cb9e2963168c2ada9c633efa5f97bb39eb74d290cb7a90797011d1382a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:21 ---> job-cost.sh 15:33:21 lf-activate-venv: SKIPPING 15:33:21 INFO: No Stack... 15:33:22 INFO: Retrieving Pricing Info for: v3-standard-4 15:33:22 INFO: Archiving Costs [Pipeline] sh 15:33:23 + cat /w/workspace/device-gpio/1/archives/cost.csv 15:33:23 + cut -d, -f6 [Pipeline] lock 15:33:23 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] 15:33:23 Resource [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] did not exist. Created. 15:33:23 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:24 /w/workspace/device-gpio/1@tmp/durable-3985dd16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:33:24 + echo total: 0.10999999940395355 [Pipeline] stash 15:33:25 Warning: overwriting stash ‘stack-cost’ 15:33:25 Stashed 1 file(s) [Pipeline] } 15:33:25 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-37-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:33:25 $ docker stop --time=1 9c4512cb9e2963168c2ada9c633efa5f97bb39eb74d290cb7a90797011d1382a 15:33:26 $ docker rm -f 9c4512cb9e2963168c2ada9c633efa5f97bb39eb74d290cb7a90797011d1382a [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 15:33:27 provisioning config files... 15:33:27 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/config7117324705704173547tmp [Pipeline] { [Pipeline] sh 15:33:28 + set +x 15:33:28 + curl -s https://codecov.io/bash 15:33:28 + bash -s -- 15:33:28 15:33:28 _____ _ 15:33:28 / ____| | | 15:33:28 | | ___ __| | ___ ___ _____ __ 15:33:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:33:28 | |___| (_) | (_| | __/ (_| (_) \ V / 15:33:28 \_____\___/ \__,_|\___|\___\___/ \_/ 15:33:28 Bash-1.0.6 15:33:28 15:33:28 15:33:28 ==> git version 2.25.1 found 15:33:28 ==> 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 15:33:28 Release-Date: 2020-01-08 15:33:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:33:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:33:28 ==> Jenkins CI detected. 15:33:28 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-37 15:33:28 project root: . 15:33:28 --> token set from env 15:33:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:33:28 ==> Running gcov in . (disable via -X gcov) 15:33:28 ==> Python coveragepy not found 15:33:28 ==> Searching for coverage reports in: 15:33:28 + . 15:33:28 -> Found 1 reports 15:33:28 ==> Detecting git/mercurial file structure 15:33:28 ==> Reading reports 15:33:28 + ./coverage.out bytes=10 15:33:28 ==> Appending adjustments 15:33:28 https://docs.codecov.io/docs/fixing-reports 15:33:28 + Found adjustments 15:33:28 ==> Gzipping contents 15:33:28 8.0K /tmp/codecov.4BC3QH.gz 15:33:28 ==> Uploading reports 15:33:28 url: https://codecov.io 15:33:28 query: branch=PR-37&commit=b37b0c6e358582f1d80b455dbf685e3af881882b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-37%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=37&job=&cmd_args= 15:33:28 -> Pinging Codecov 15:33:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-37&commit=b37b0c6e358582f1d80b455dbf685e3af881882b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-37%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=37&job=&cmd_args= 15:33:28 -> Uploading to 15:33:28 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/b37b0c6e358582f1d80b455dbf685e3af881882b/67071457-819d-4570-a678-7ac8a89db4b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T153328Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e2295b6c8984da41c68f5c8e55593c594474f71e4a1941925e82b6538f56b359 15:33:28 % Total % Received % Xferd Average Speed Time Time Time Current 15:33:28 Dload Upload Total Spent Left Speed 15:33:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7174 0 0 100 7174 0 29767 --:--:-- --:--:-- --:--:-- 29767 15:33:28 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/b37b0c6e358582f1d80b455dbf685e3af881882b [Pipeline] } 15:33:29 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 15:33:30 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-37/archives ] 15:33:30 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-37/archives 15:33:30 total 16 15:33:30 drwxr-xr-x 3 root root 4096 May 12 15:26 . 15:33:30 drwxrwxr-x 11 jenkins jenkins 4096 May 12 15:26 .. 15:33:30 drwxr-xr-x 2 root root 4096 May 12 15:26 cost 15:33:30 -rw-r--r-- 1 root root 81 May 12 15:26 cost.csv 15:33:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-37/archives 15:33:30 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-37/archives 15:33:30 total 16 15:33:30 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:26 . 15:33:30 drwxrwxr-x 11 jenkins jenkins 4096 May 12 15:26 .. 15:33:30 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:26 cost 15:33:30 -rw-r--r-- 1 jenkins jenkins 81 May 12 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:33:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:33:32 ---> package-listing.sh 15:33:32 ++ facter osfamily 15:33:32 ++ tr '[:upper:]' '[:lower:]' 15:33:32 + OS_FAMILY=debian 15:33:32 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-37 15:33:32 + START_PACKAGES=/tmp/packages_start.txt 15:33:32 + END_PACKAGES=/tmp/packages_end.txt 15:33:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:33:32 + PACKAGES=/tmp/packages_start.txt 15:33:32 + '[' /w/workspace/edgexfoundry_device-gpio_PR-37 ']' 15:33:32 + PACKAGES=/tmp/packages_end.txt 15:33:32 + case "${OS_FAMILY}" in 15:33:32 + dpkg -l 15:33:32 + grep '^ii' 15:33:32 + '[' -f /tmp/packages_start.txt ']' 15:33:32 + '[' -f /tmp/packages_end.txt ']' 15:33:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:33:32 + '[' /w/workspace/edgexfoundry_device-gpio_PR-37 ']' 15:33:32 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-37/archives/ 15:33:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-37/archives/ [Pipeline] echo 15:33:32 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-37/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:33:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:33:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:33 . [Pipeline] withDockerContainer 15:33:33 prd-ubuntu20.04-docker-8c-8g-63407 does not seem to be running inside a container 15:33:33 $ 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-37/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-37 -v /w/workspace/edgexfoundry_device-gpio_PR-37:/w/workspace/edgexfoundry_device-gpio_PR-37:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-37@tmp:/w/workspace/edgexfoundry_device-gpio_PR-37@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 15:33:33 $ docker top 5160e6018eff3612cc8c402496c157ed524402aaa825e0e28a35044bdb2ef3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 15:33:33 + touch /tmp/pre-build-complete [Pipeline] sh 15:33:34 + mkdir -p /var/log/sysstat [Pipeline] sh 15:33:34 + ls /var/log/sa-host 15:33:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:34 provisioning config files... 15:33:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-37@tmp/config6234397980297702055tmp [Pipeline] { [Pipeline] echo 15:33:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:33:35 ---> create-netrc.sh [Pipeline] } 15:33:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:33:35 ---> python-tools-install.sh [Pipeline] echo 15:33:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:33:36 ---> sudo-logs.sh 15:33:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:33:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:33:36 ---> job-cost.sh 15:33:36 lf-activate-venv: SKIPPING 15:33:36 DEBUG: total: 0.2199999988079071 15:33:36 INFO: Retrieving Stack Cost... 15:33:37 INFO: Retrieving Pricing Info for: v3-standard-8 15:33:37 INFO: Archiving Costs [Pipeline] echo 15:33:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:33:37 ---> logs-deploy.sh 15:33:37 lf-activate-venv: SKIPPING 15:33:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-37/1 15:33:37 INFO: archiving workspace using pattern(s): 15:33:38 Archives upload complete. 15:33:38 INFO: archiving logs to Nexus