Pull request #36 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 cbea0cc5b91bdd2af06f02603e0207ecc70549e5+5481a4acbe2c9cded44f119138c580c35965cafd (a0fb89500c6b1aa8cb74fcbc07352bcb0da3f20c) 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-ssh3087291324426059708.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-ssh12106781059491671948.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-36/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-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11469435186144588770.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-36/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14849568746420205133.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-ssh9342392595081684422.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-36/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-36/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4631111181241149598.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-63403’ Running on prd-ubuntu20.04-docker-8c-8g-63406 in /w/workspace/edgexfoundry_device-gpio_PR-36 [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-36 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit cbea0cc5b91bdd2af06f02603e0207ecc70549e5 Merge succeeded, producing cbea0cc5b91bdd2af06f02603e0207ecc70549e5 Checking out Revision cbea0cc5b91bdd2af06f02603e0207ecc70549e5 (PR-36) > 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/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbea0cc5b91bdd2af06f02603e0207ecc70549e5 # 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 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cbea0cc5b91bdd2af06f02603e0207ecc70549e5 # timeout=10 Commit message: "docs: correct release name, remove build items from features" 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:19:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:19:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:19:31 ========================================================= 15:19:31 EdgeX Global Pipelines Version Info 15:19:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:19:32 ------------------- 15:19:32 stable info: 15:19:32 ------------------- 15:19:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:32 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:19:32 Message: update stable to v1.0.230 15:19:32 ------------------- 15:19:32 experimental info: 15:19:32 ------------------- 15:19:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:19:32 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:19:32 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:19:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 15:19:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 15:19:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:19:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-36 [Pipeline] echo 15:19:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-36 [Pipeline] echo 15:19:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-36 [Pipeline] echo 15:19:34 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [Pipeline] echo 15:19:34 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cbea0cc [Pipeline] echo 15:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:19:34 provisioning config files... 15:19:34 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config8303956440349038945tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:34 ---> docker-login.sh 15:19:34 nexus3.edgexfoundry.org:10001 15:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:35 Configure a credential helper to remove this warning. See 15:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:35 15:19:35 Login Succeeded 15:19:35 nexus3.edgexfoundry.org:10002 15:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:35 Configure a credential helper to remove this warning. See 15:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:35 15:19:35 Login Succeeded 15:19:35 nexus3.edgexfoundry.org:10003 15:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:35 Configure a credential helper to remove this warning. See 15:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:35 15:19:35 Login Succeeded 15:19:35 nexus3.edgexfoundry.org:10004 15:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:35 Configure a credential helper to remove this warning. See 15:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:35 15:19:35 Login Succeeded 15:19:35 docker.io 15:19:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:35 Configure a credential helper to remove this warning. See 15:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:35 15:19:35 Login Succeeded 15:19:35 ---> docker-login.sh ends [Pipeline] } 15:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:19:36 + git rev-list -1 --merges cbea0cc5b91bdd2af06f02603e0207ecc70549e5~1..cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [Pipeline] echo 15:19:36 -----------> git rev-list -1 --merges cbea0cc5b91bdd2af06f02603e0207ecc70549e5~1..cbea0cc5b91bdd2af06f02603e0207ecc70549e5 cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [false] [Pipeline] sh 15:19:36 + git log --format=format:%s -1 cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [Pipeline] echo 15:19:36 ========================================================= 15:19:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:19:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:19:37 + git log --format=format:%s -1 cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [Pipeline] echo 15:19:37 [semverPrep] GIT_COMMIT: cbea0cc5b91bdd2af06f02603e0207ecc70549e5, Commit Message: docs: correct release name, remove build items from features [Pipeline] echo 15:19:37 [semverPrep] This is not a build commit. [Pipeline] sh 15:19:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:19:37 + grep -v github /etc/ssh/ssh_known_hosts 15:19:37 + [ -e /tmp/ssh_known_hosts ] 15:19:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:19:37 + + sudo tee -a /etc/ssh/ssh_known_hosts 15:19:37 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:19:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:19:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:19:38 15:19:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:19:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:19:38 latest: Pulling from edgex-devops/py-git-semver 15:19:38 1fe172e4850f: Pulling fs layer 15:19:38 caf521ccaac6: Pulling fs layer 15:19:38 3ead6fa29328: Pulling fs layer 15:19:38 5c2a1cbceb83: Pulling fs layer 15:19:38 a8d5f1318db7: Pulling fs layer 15:19:38 c427282e49a2: Pulling fs layer 15:19:38 1827001aaf11: Pulling fs layer 15:19:38 0714d37db230: Pulling fs layer 15:19:38 ac28cf19c067: Pulling fs layer 15:19:38 ca983d60f3e2: Pulling fs layer 15:19:38 9f894cec8388: Pulling fs layer 15:19:38 c427282e49a2: Waiting 15:19:38 1827001aaf11: Waiting 15:19:38 0714d37db230: Waiting 15:19:38 ac28cf19c067: Waiting 15:19:38 ca983d60f3e2: Waiting 15:19:38 9f894cec8388: Waiting 15:19:38 5c2a1cbceb83: Waiting 15:19:38 caf521ccaac6: Download complete 15:19:38 5c2a1cbceb83: Download complete 15:19:38 a8d5f1318db7: Verifying Checksum 15:19:38 a8d5f1318db7: Download complete 15:19:38 3ead6fa29328: Verifying Checksum 15:19:38 3ead6fa29328: Download complete 15:19:38 c427282e49a2: Download complete 15:19:38 0714d37db230: Verifying Checksum 15:19:38 0714d37db230: Download complete 15:19:38 ac28cf19c067: Download complete 15:19:38 ca983d60f3e2: Verifying Checksum 15:19:38 ca983d60f3e2: Download complete 15:19:38 9f894cec8388: Download complete 15:19:38 1fe172e4850f: Verifying Checksum 15:19:38 1fe172e4850f: Download complete 15:19:39 1827001aaf11: Verifying Checksum 15:19:39 1827001aaf11: Download complete 15:19:40 1fe172e4850f: Pull complete 15:19:40 caf521ccaac6: Pull complete 15:19:41 3ead6fa29328: Pull complete 15:19:41 5c2a1cbceb83: Pull complete 15:19:41 a8d5f1318db7: Pull complete 15:19:41 c427282e49a2: Pull complete 15:19:44 1827001aaf11: Pull complete 15:19:44 0714d37db230: Pull complete 15:19:45 ac28cf19c067: Pull complete 15:19:45 ca983d60f3e2: Pull complete 15:19:45 9f894cec8388: Pull complete 15:19:45 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:19:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:19:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:19:45 prd-ubuntu20.04-docker-8c-8g-63406 does not seem to be running inside a container 15:19:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:19:47 $ docker top bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 -eo pid,comm 15:19:48 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:19:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:19:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:48 [ssh-agent] Looking for ssh-agent implementation... 15:19:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:48 $ docker exec bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 ssh-agent 15:19:48 SSH_AUTH_SOCK=/tmp/ssh-7obUUzHhDqSI/agent.34 15:19:48 SSH_AGENT_PID=40 15:19:48 Running ssh-add (command line suppressed) 15:19:48 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_889496476950507440.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_889496476950507440.key) 15:19:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:48 + git tag --points-at HEAD [Pipeline] } 15:19:48 $ docker exec --env ******** --env ******** bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 ssh-agent -k 15:19:49 unset SSH_AUTH_SOCK; 15:19:49 unset SSH_AGENT_PID; 15:19:49 echo Agent pid 40 killed; 15:19:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:19:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:19:49 [ssh-agent] Looking for ssh-agent implementation... 15:19:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:19:49 $ docker exec bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 ssh-agent 15:19:49 SSH_AUTH_SOCK=/tmp/ssh-2eaWkXjaxdfi/agent.73 15:19:49 SSH_AGENT_PID=80 15:19:49 Running ssh-add (command line suppressed) 15:19:49 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_8108541559845106847.key (/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/private_key_8108541559845106847.key) 15:19:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:19:49 + git semver init 15:19:50 2022-05-12 15:19:50,164 [run_init] DEBUG init version:0.0.0 force:False 15:19:50 2022-05-12 15:19:50,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver 15:19:50 2022-05-12 15:19:50,165 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-36/.semver 15:19:50 2022-05-12 15:19:50,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-36/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36, universal_newlines=False, shell=None, istream=None) 15:19:51 2022-05-12 15:19:51,120 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.git/info/exclude 15:19:51 2022-05-12 15:19:51,121 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 with force:False 15:19:51 2022-05-12 15:19:51,121 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 15:19:51 2022-05-12 15:19:51,125 [execute] INFO git cat-file --batch-check 15:19:51 2022-05-12 15:19:51,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 15:19:51 2022-05-12 15:19:51,132 [execute] INFO git cat-file --batch 15:19:51 2022-05-12 15:19:51,132 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-36/.semver, universal_newlines=False, shell=None, istream=) 15:19:51 2022-05-12 15:19:51,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-36/.semver/PR-36 15:19:51 0.0.0 [Pipeline] } 15:19:51 $ docker exec --env ******** --env ******** bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 ssh-agent -k 15:19:51 unset SSH_AUTH_SOCK; 15:19:51 unset SSH_AGENT_PID; 15:19:51 echo Agent pid 80 killed; 15:19:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:19:51 + git semver [Pipeline] } 15:19:52 $ docker stop --time=1 bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 15:19:53 $ docker rm -f bbba5f127584f7bbe2f50c97fdde8dc6f257e8dadd65ba655401654eb6d6d857 [Pipeline] // withDockerContainer [Pipeline] sh 15:19:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:19:54 Stashed 1 file(s) [Pipeline] echo 15:19:54 [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:19:55 provisioning config files... 15:19:55 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config2147396268414650809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:19:55 ---> docker-login.sh 15:19:55 nexus3.edgexfoundry.org:10001 15:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:55 Configure a credential helper to remove this warning. See 15:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:55 15:19:55 Login Succeeded 15:19:55 nexus3.edgexfoundry.org:10002 15:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:55 Configure a credential helper to remove this warning. See 15:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:55 15:19:55 Login Succeeded 15:19:55 nexus3.edgexfoundry.org:10003 15:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:55 Configure a credential helper to remove this warning. See 15:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:55 15:19:55 Login Succeeded 15:19:55 nexus3.edgexfoundry.org:10004 15:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:55 Configure a credential helper to remove this warning. See 15:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:55 15:19:55 Login Succeeded 15:19:55 docker.io 15:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:19:56 Configure a credential helper to remove this warning. See 15:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:19:56 15:19:56 Login Succeeded 15:19:56 ---> docker-login.sh ends [Pipeline] } 15:19:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:19:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:19:56 ========================================================= 15:19:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:19:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:19:56 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:19:56 Sending build context to Docker daemon 15.66MB 15:19:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:19:56 Step 2/11 : FROM ${BASE} AS builder 15:19:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:19:57 59bf1c3509f3: Pulling fs layer 15:19:57 666ba61612fd: Pulling fs layer 15:19:57 8ed8ca486205: Pulling fs layer 15:19:57 4fe6c5a15a65: Pulling fs layer 15:19:57 22a0e8bec74d: Pulling fs layer 15:19:57 ca2b28591e48: Pulling fs layer 15:19:57 a51346096db8: Pulling fs layer 15:19:57 daebc70d1ce1: Pulling fs layer 15:19:57 0e18a0eac166: Pulling fs layer 15:19:57 4fe6c5a15a65: Waiting 15:19:57 22a0e8bec74d: Waiting 15:19:57 ca2b28591e48: Waiting 15:19:57 a51346096db8: Waiting 15:19:57 daebc70d1ce1: Waiting 15:19:57 8ed8ca486205: Verifying Checksum 15:19:57 8ed8ca486205: Download complete 15:19:57 666ba61612fd: Verifying Checksum 15:19:57 666ba61612fd: Download complete 15:19:57 22a0e8bec74d: Verifying Checksum 15:19:57 22a0e8bec74d: Download complete 15:19:57 ca2b28591e48: Download complete 15:19:57 59bf1c3509f3: Verifying Checksum 15:19:57 a51346096db8: Download complete 15:19:57 daebc70d1ce1: Verifying Checksum 15:19:57 daebc70d1ce1: Download complete 15:19:57 59bf1c3509f3: Pull complete 15:19:57 0e18a0eac166: Verifying Checksum 15:19:57 0e18a0eac166: Download complete 15:19:58 4fe6c5a15a65: Verifying Checksum 15:19:58 4fe6c5a15a65: Download complete 15:19:58 666ba61612fd: Pull complete 15:19:58 8ed8ca486205: Pull complete 15:20:03 4fe6c5a15a65: Pull complete 15:20:03 22a0e8bec74d: Pull complete 15:20:03 ca2b28591e48: Pull complete 15:20:03 a51346096db8: Pull complete 15:20:03 daebc70d1ce1: Pull complete 15:20:05 0e18a0eac166: Pull complete 15:20:05 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:20:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:20:05 ---> f018257e8ee9 15:20:05 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:20:08 ---> Running in 51d7be414de8 15:20:08 Removing intermediate container 51d7be414de8 15:20:08 ---> 14d1401032c1 15:20:08 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:20:08 ---> Running in 9814406bdfc3 15:20:08 Removing intermediate container 9814406bdfc3 15:20:08 ---> 7ec2e4709836 15:20:08 Step 5/11 : WORKDIR /device-gpio 15:20:09 ---> Running in 6d928beba031 15:20:09 Removing intermediate container 6d928beba031 15:20:09 ---> 339b8c9ac5e6 15:20:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:20:09 ---> Running in 61aeafdbb9da 15:20:09 Still waiting to schedule task 15:20:09 ‘prd-ubuntu20.04-docker-arm64-4c-16g-63404’ is offline 15:20:09 Removing intermediate container 61aeafdbb9da 15:20:09 ---> ac6f5506d42a 15:20:09 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:20:09 ---> Running in a361e84332ac 15:20:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:20:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:20:11 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:20:11 (2/4) Installing libedit (20210910.3.1-r0) 15:20:11 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:20:11 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:20:11 Executing busybox-1.34.1-r3.trigger 15:20:11 OK: 224 MiB in 56 packages 15:20:12 Removing intermediate container a361e84332ac 15:20:12 ---> 649352b15271 15:20:12 Step 8/11 : COPY go.mod vendor* ./ 15:20:12 ---> 647b77516869 15:20:12 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:20:13 ---> Running in 4ad805d8c98d 15:20:35 Removing intermediate container 4ad805d8c98d 15:20:35 ---> a0019ddf434c 15:20:35 Step 10/11 : COPY . . 15:20:35 ---> c16c3240e79b 15:20:35 Step 11/11 : RUN ${MAKE} 15:20:35 ---> Running in 7fd22c498563 15:20:35 Removing intermediate container 7fd22c498563 15:20:35 ---> bf42e1e98fe1 15:20:35 [Warning] One or more build-args [MAKE] were not consumed 15:20:35 Successfully built bf42e1e98fe1 15:20:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:20:35 + docker inspect -f . ci-base-image-x86_64 15:20:35 . [Pipeline] withDockerContainer 15:20:35 prd-ubuntu20.04-docker-8c-8g-63406 does not seem to be running inside a container 15:20:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:20:35 $ docker top 22a7d0f571720a9b2044ecd54ef4df7710a34f4306484a1e966dc8ea618e300c -eo pid,comm [Pipeline] { [Pipeline] sh 15:20:36 + go version 15:20:36 go version go1.17.6 linux/amd64 [Pipeline] } 15:20:36 $ docker stop --time=1 22a7d0f571720a9b2044ecd54ef4df7710a34f4306484a1e966dc8ea618e300c 15:20:38 $ docker rm -f 22a7d0f571720a9b2044ecd54ef4df7710a34f4306484a1e966dc8ea618e300c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:20:38 + docker inspect -f . ci-base-image-x86_64 15:20:38 . [Pipeline] withDockerContainer 15:20:38 prd-ubuntu20.04-docker-8c-8g-63406 does not seem to be running inside a container 15:20:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:20:39 $ docker top 4a173f673f4645d2a57e6eca493bb62c8a3daab1dd155412aa842113d68548d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:20:39 + make test 15:20:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:20:39 ? github.com/edgexfoundry/device-gpio [no test files] 15:20:49 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:20:49 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:20:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:20:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:20:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:20:59 ./bin/test-attribution-txt.sh [Pipeline] echo 15:20:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:20:59 $ docker stop --time=1 4a173f673f4645d2a57e6eca493bb62c8a3daab1dd155412aa842113d68548d6 15:21:01 $ docker rm -f 4a173f673f4645d2a57e6eca493bb62c8a3daab1dd155412aa842113d68548d6 [Pipeline] // withDockerContainer [Pipeline] sh 15:21:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:21:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:21:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:21:03 + ls -al . 15:21:03 total 172 15:21:03 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:20 . 15:21:03 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:19 .. 15:21:03 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:19 .dockerignore 15:21:03 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:19 .git 15:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:19 .github 15:21:03 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:19 .gitignore 15:21:03 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:19 .golangci.yml 15:21:03 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:19 .semver 15:21:03 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:19 Attribution.txt 15:21:03 -rw-rw-r-- 1 jenkins jenkins 2832 May 12 15:19 CHANGELOG.md 15:21:03 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:19 Dockerfile 15:21:03 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:19 GOVERNANCE.md 15:21:03 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:19 Jenkinsfile 15:21:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:19 LICENSE 15:21:03 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:19 Makefile 15:21:03 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:19 OWNERS.md 15:21:03 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:19 README.md 15:21:03 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:19 VERSION 15:21:03 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:19 bin 15:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:19 cmd 15:21:03 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:20 coverage.out 15:21:03 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:19 go.mod 15:21:03 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:19 go.sum 15:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:19 internal 15:21:03 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:19 snap 15:21:03 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:19 version.go [Pipeline] isUnix [Pipeline] sh 15:21:03 + 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=cbea0cc5b91bdd2af06f02603e0207ecc70549e5 --label arch=amd64 --label version=0.0.0 . 15:21:03 Sending build context to Docker daemon 15.66MB 15:21:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:21:03 Step 2/25 : FROM ${BASE} AS builder 15:21:03 ---> bf42e1e98fe1 15:21:03 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:21:03 ---> Running in f5172463df8a 15:21:03 Removing intermediate container f5172463df8a 15:21:03 ---> 8828c77c333d 15:21:03 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:21:03 ---> Running in 71ea6b472245 15:21:04 Removing intermediate container 71ea6b472245 15:21:04 ---> 4207ef3e2871 15:21:04 Step 5/25 : WORKDIR /device-gpio 15:21:04 ---> Running in 5407c99f03f0 15:21:04 Removing intermediate container 5407c99f03f0 15:21:04 ---> 47bb0c62bb2b 15:21:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:04 ---> Running in b17335f65a3b 15:21:04 Removing intermediate container b17335f65a3b 15:21:04 ---> 7e03672344d4 15:21:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:21:04 ---> Running in 60780e04d3a3 15:21:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:21:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:21:06 OK: 224 MiB in 56 packages 15:21:06 Removing intermediate container 60780e04d3a3 15:21:06 ---> 1157e06f0863 15:21:06 Step 8/25 : COPY go.mod vendor* ./ 15:21:06 ---> e17c3b2ba2aa 15:21:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:21:06 ---> Running in 009e9bf2dd01 15:21:07 Removing intermediate container 009e9bf2dd01 15:21:07 ---> a7f22740e845 15:21:07 Step 10/25 : COPY . . 15:21:08 ---> d10fde601e03 15:21:08 Step 11/25 : RUN ${MAKE} 15:21:08 ---> Running in 0f24d3329367 15:21:08 Removing intermediate container 0f24d3329367 15:21:08 ---> 916dfe685a0c 15:21:08 Step 12/25 : FROM alpine:3.15 15:21:09 3.15: Pulling from library/alpine 15:21:09 df9b9388f04a: Pulling fs layer 15:21:09 df9b9388f04a: Verifying Checksum 15:21:09 df9b9388f04a: Download complete 15:21:09 df9b9388f04a: Pull complete 15:21:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:21:09 Status: Downloaded newer image for alpine:3.15 15:21:09 ---> 0ac33e5f5afa 15:21:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:21:09 ---> Running in b108312245af 15:21:09 Removing intermediate container b108312245af 15:21:09 ---> 1247c8139ab5 15:21:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:10 ---> Running in 00afe6605b40 15:21:10 Removing intermediate container 00afe6605b40 15:21:10 ---> 690189b4bc92 15:21:10 Step 15/25 : RUN apk add --update --no-cache zeromq 15:21:10 ---> Running in 13cfe6d35212 15:21:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:21:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:21:11 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:21:11 (2/5) Installing libsodium (1.0.18-r0) 15:21:11 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:21:11 (4/5) Installing libzmq (4.3.4-r0) 15:21:12 (5/5) Installing zeromq (4.3.4-r0) 15:21:12 Executing busybox-1.34.1-r5.trigger 15:21:12 OK: 8 MiB in 19 packages 15:21:12 Removing intermediate container 13cfe6d35212 15:21:12 ---> 49e420a92f5f 15:21:12 Step 16/25 : WORKDIR / 15:21:12 ---> Running in df4ed4c5b6a0 15:21:12 Removing intermediate container df4ed4c5b6a0 15:21:12 ---> f9d7ab59a442 15:21:12 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:21:13 ---> 87c319ca4cbf 15:21:13 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:21:13 ---> efabd5b3dbd3 15:21:13 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:21:13 ---> 9ba90727a3a7 15:21:13 Step 20/25 : EXPOSE 59910 15:21:13 ---> Running in bef7bc5c7583 15:21:13 Removing intermediate container bef7bc5c7583 15:21:13 ---> 8797d55a6a3f 15:21:13 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:21:13 ---> Running in 5ccef33dd79e 15:21:13 Removing intermediate container 5ccef33dd79e 15:21:13 ---> 0f82113c8833 15:21:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:21:13 ---> Running in 178c634626fa 15:21:13 Removing intermediate container 178c634626fa 15:21:13 ---> c61e34b5c604 15:21:13 Step 23/25 : LABEL arch=amd64 15:21:13 ---> Running in 1b904d87d831 15:21:13 Removing intermediate container 1b904d87d831 15:21:13 ---> 4aa75e381d39 15:21:13 Step 24/25 : LABEL git_sha=cbea0cc5b91bdd2af06f02603e0207ecc70549e5 15:21:13 ---> Running in 8681cc7fd356 15:21:14 Removing intermediate container 8681cc7fd356 15:21:14 ---> 4fa88c765508 15:21:14 Step 25/25 : LABEL version=0.0.0 15:21:14 ---> Running in 3d21bd198235 15:21:14 Removing intermediate container 3d21bd198235 15:21:14 ---> e2d715c10618 15:21:14 [Warning] One or more build-args [MAKE ARCH] were not consumed 15:21:14 Successfully built e2d715c10618 15:21:14 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:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:21:14 15:21:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:21:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:21:15 latest: Pulling from edgex-lftools-log-publisher 15:21:15 5eb5b503b376: Pulling fs layer 15:21:15 5c69ac0246d0: Pulling fs layer 15:21:15 ec43610c2a17: Pulling fs layer 15:21:15 3a2ae6a8a46f: Pulling fs layer 15:21:15 33b1e0a273af: Pulling fs layer 15:21:15 5d3b04190fa2: Pulling fs layer 15:21:15 2f39f015ded8: Pulling fs layer 15:21:15 33b1e0a273af: Waiting 15:21:15 5d3b04190fa2: Waiting 15:21:15 2f39f015ded8: Waiting 15:21:15 3a2ae6a8a46f: Waiting 15:21:15 5c69ac0246d0: Download complete 15:21:15 3a2ae6a8a46f: Verifying Checksum 15:21:15 3a2ae6a8a46f: Download complete 15:21:15 33b1e0a273af: Verifying Checksum 15:21:15 33b1e0a273af: Download complete 15:21:15 ec43610c2a17: Verifying Checksum 15:21:15 ec43610c2a17: Download complete 15:21:15 5d3b04190fa2: Verifying Checksum 15:21:15 5d3b04190fa2: Download complete 15:21:15 5eb5b503b376: Verifying Checksum 15:21:15 5eb5b503b376: Download complete 15:21:16 2f39f015ded8: Download complete 15:21:16 5eb5b503b376: Pull complete 15:21:16 5c69ac0246d0: Pull complete 15:21:17 ec43610c2a17: Pull complete 15:21:17 3a2ae6a8a46f: Pull complete 15:21:17 33b1e0a273af: Pull complete 15:21:17 5d3b04190fa2: Pull complete 15:21:21 2f39f015ded8: Pull complete 15:21:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:21:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:21:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:21:21 prd-ubuntu20.04-docker-8c-8g-63406 does not seem to be running inside a container 15:21:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:21:24 $ docker top 377ca8a25e6cc2100920bc9474d636fe9a89e1229d20fb13017be95d1db60a26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:24 ---> job-cost.sh 15:21:24 lf-activate-venv: SKIPPING 15:21:24 INFO: No Stack... 15:21:25 INFO: Retrieving Pricing Info for: v3-standard-8 15:21:25 INFO: Archiving Costs [Pipeline] sh 15:21:25 + cat /w/workspace/edgexfoundry_device-gpio_PR-36/archives/cost.csv 15:21:25 + cut -d, -f6 [Pipeline] lock 15:21:25 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] 15:21:25 Resource [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] did not exist. Created. 15:21:25 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:26 + echo total: 0.2199999988079071 [Pipeline] stash 15:21:26 Stashed 1 file(s) [Pipeline] } 15:21:26 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:21:26 $ docker stop --time=1 377ca8a25e6cc2100920bc9474d636fe9a89e1229d20fb13017be95d1db60a26 15:21:27 $ docker rm -f 377ca8a25e6cc2100920bc9474d636fe9a89e1229d20fb13017be95d1db60a26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:21:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63409 in /w/workspace/edgexfoundry_device-gpio_PR-36 [Pipeline] { [Pipeline] ws 15:21:49 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 15:21:50 The recommended git tool is: git 15:21:55 using credential edgex-jenkins-ssh 15:21:55 Cloning the remote Git repository 15:21:55 Cloning repository git@github.com:edgexfoundry/device-gpio.git 15:21:55 > git init /w/workspace/device-gpio/1 # timeout=10 15:21:56 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:21:56 > git --version # timeout=10 15:21:56 > git --version # 'git version 2.25.1' 15:21:56 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:58 Merging remotes/origin/main commit 5481a4acbe2c9cded44f119138c580c35965cafd into PR head commit cbea0cc5b91bdd2af06f02603e0207ecc70549e5 15:21:58 Merge succeeded, producing cbea0cc5b91bdd2af06f02603e0207ecc70549e5 15:21:58 Checking out Revision cbea0cc5b91bdd2af06f02603e0207ecc70549e5 (PR-36) 15:21:57 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:21:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:21:57 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 15:21:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 15:21:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/36/head:refs/remotes/origin/PR-36 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:21:58 > git config core.sparsecheckout # timeout=10 15:21:58 > git checkout -f cbea0cc5b91bdd2af06f02603e0207ecc70549e5 # timeout=10 15:21:58 > git remote # timeout=10 15:21:58 > git config --get remote.origin.url # timeout=10 15:21:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:21:58 > git merge 5481a4acbe2c9cded44f119138c580c35965cafd # timeout=10 15:21:58 > git rev-parse HEAD^{commit} # timeout=10 15:21:58 > git config core.sparsecheckout # timeout=10 15:21:58 > git checkout -f cbea0cc5b91bdd2af06f02603e0207ecc70549e5 # timeout=10 15:22:02 Commit message: "docs: correct release name, remove build items from features" 15:22:02 > git --version # timeout=10 15:22:02 > git --version # 'git version 2.25.1' 15:22:02 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:22:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 15:22:03 Dload Upload Total Spent Left Speed 15:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 86445 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh 15:22:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:22:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:22:04 + sudo tee /etc/docker/daemon.new 15:22:04 { 15:22:04 "registry-mirrors": [ 15:22:04 "https://nexus3.edgexfoundry.org:10001" 15:22:04 ], 15:22:04 "bip": "10.250.0.254/24", 15:22:04 "hosts": [ 15:22:04 "tcp://0.0.0.0:5555", 15:22:04 "unix:///var/run/docker.sock" 15:22:04 ], 15:22:04 "mtu": 1458, 15:22:04 "selinux-enabled": true, 15:22:04 "seccomp-profile": "/etc/docker/seccomp.json" 15:22:04 } [Pipeline] sh 15:22:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:22:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:22:24 provisioning config files... 15:22:24 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5058424191566298759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:22:24 ---> docker-login.sh 15:22:24 nexus3.edgexfoundry.org:10001 15:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:25 Configure a credential helper to remove this warning. See 15:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:25 15:22:25 Login Succeeded 15:22:25 nexus3.edgexfoundry.org:10002 15:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:26 Configure a credential helper to remove this warning. See 15:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:26 15:22:26 Login Succeeded 15:22:26 nexus3.edgexfoundry.org:10003 15:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:26 Configure a credential helper to remove this warning. See 15:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:26 15:22:26 Login Succeeded 15:22:26 nexus3.edgexfoundry.org:10004 15:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:26 Configure a credential helper to remove this warning. See 15:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:26 15:22:26 Login Succeeded 15:22:26 docker.io 15:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:22:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:22:27 Configure a credential helper to remove this warning. See 15:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:22:27 15:22:27 Login Succeeded 15:22:27 ---> docker-login.sh ends [Pipeline] } 15:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:22:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:22:28 ========================================================= 15:22:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:22:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:22:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:22:28 Sending build context to Docker daemon 7.902MB 15:22:28 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:22:28 Step 2/11 : FROM ${BASE} AS builder 15:22:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:22:29 9b3977197b4f: Pulling fs layer 15:22:29 1a89e8eeedd5: Pulling fs layer 15:22:29 94645a83ff95: Pulling fs layer 15:22:29 3f3a8bcf1eab: Pulling fs layer 15:22:29 0c92f367c5e7: Pulling fs layer 15:22:29 3f3a8bcf1eab: Waiting 15:22:29 0c92f367c5e7: Waiting 15:22:29 3096ccb668a1: Pulling fs layer 15:22:29 e8cf19c19ddd: Pulling fs layer 15:22:29 a4caa8a26152: Pulling fs layer 15:22:29 3096ccb668a1: Waiting 15:22:29 e8cf19c19ddd: Waiting 15:22:29 94645a83ff95: Verifying Checksum 15:22:29 94645a83ff95: Download complete 15:22:29 1a89e8eeedd5: Verifying Checksum 15:22:29 1a89e8eeedd5: Download complete 15:22:29 0c92f367c5e7: Verifying Checksum 15:22:29 3096ccb668a1: Verifying Checksum 15:22:29 3096ccb668a1: Download complete 15:22:29 9b3977197b4f: Verifying Checksum 15:22:29 9b3977197b4f: Download complete 15:22:29 e8cf19c19ddd: Verifying Checksum 15:22:29 e8cf19c19ddd: Download complete 15:22:30 9b3977197b4f: Pull complete 15:22:30 1a89e8eeedd5: Pull complete 15:22:30 94645a83ff95: Pull complete 15:22:31 a4caa8a26152: Verifying Checksum 15:22:31 a4caa8a26152: Download complete 15:22:31 3f3a8bcf1eab: Verifying Checksum 15:22:31 3f3a8bcf1eab: Download complete 15:22:44 3f3a8bcf1eab: Pull complete 15:22:44 0c92f367c5e7: Pull complete 15:22:44 3096ccb668a1: Pull complete 15:22:44 e8cf19c19ddd: Pull complete 15:22:51 a4caa8a26152: Pull complete 15:22:51 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:22:51 ---> 725f1c02e7f9 15:22:51 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:22:51 ---> Running in 9b97dd122e11 15:22:51 Removing intermediate container 9b97dd122e11 15:22:51 ---> c7612818dd3b 15:22:51 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 15:22:51 ---> Running in 25e1f132f6ad 15:22:52 Removing intermediate container 25e1f132f6ad 15:22:52 ---> 5a1a78b560bb 15:22:52 Step 5/11 : WORKDIR /device-gpio 15:22:52 ---> Running in 66a46d9f8613 15:22:52 Removing intermediate container 66a46d9f8613 15:22:52 ---> 6c3bd7bc9317 15:22:52 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:22:52 ---> Running in 11cb922d5279 15:22:54 Removing intermediate container 11cb922d5279 15:22:54 ---> ee4c771dbb26 15:22:54 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:22:54 ---> Running in bd08d6efa653 15:22:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:22:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:22:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:22:58 (2/4) Installing libedit (20210910.3.1-r0) 15:22:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:22:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:22:58 Executing busybox-1.34.1-r3.trigger 15:22:58 OK: 224 MiB in 56 packages 15:22:59 Removing intermediate container bd08d6efa653 15:22:59 ---> 40a8395cb2e3 15:22:59 Step 8/11 : COPY go.mod vendor* ./ 15:23:00 ---> 8e42747c17e8 15:23:00 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:00 ---> Running in 4b486abc0115 15:23:57 Removing intermediate container 4b486abc0115 15:23:57 ---> 2213fff42cf2 15:23:57 Step 10/11 : COPY . . 15:23:57 ---> 9861852266f8 15:23:57 Step 11/11 : RUN ${MAKE} 15:23:57 ---> Running in 1220aa496717 15:23:58 Removing intermediate container 1220aa496717 15:23:58 ---> ea23ade1a16b 15:23:58 [Warning] One or more build-args [MAKE] were not consumed 15:23:58 Successfully built ea23ade1a16b 15:23:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:23:58 + docker inspect -f . ci-base-image-arm64 15:23:58 . [Pipeline] withDockerContainer 15:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-63409 does not seem to be running inside a container 15:23:58 $ 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:24:00 $ docker top ca5d4e40b5f9ad072ac225b7a91349fa9d84aae86728e2d0774ecba24fb96297 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:01 + go version 15:24:01 go version go1.17.6 linux/arm64 [Pipeline] } 15:24:01 $ docker stop --time=1 ca5d4e40b5f9ad072ac225b7a91349fa9d84aae86728e2d0774ecba24fb96297 15:24:02 $ docker rm -f ca5d4e40b5f9ad072ac225b7a91349fa9d84aae86728e2d0774ecba24fb96297 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:24:03 + docker inspect -f . ci-base-image-arm64 15:24:03 . [Pipeline] withDockerContainer 15:24:03 prd-ubuntu20.04-docker-arm64-4c-16g-63409 does not seem to be running inside a container 15:24:03 $ 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:24:05 $ docker top 62510c5fe40223f3c92d72d8b19703b4960500c150d9183045bf36c4d5ec0ebe -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:24:06 + make test 15:24:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:24:07 ? github.com/edgexfoundry/device-gpio [no test files] 15:25:29 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 15:25:29 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 15:25:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:25:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:25:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:51 ./bin/test-attribution-txt.sh [Pipeline] echo 15:25:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:25:52 $ docker stop --time=1 62510c5fe40223f3c92d72d8b19703b4960500c150d9183045bf36c4d5ec0ebe 15:25:53 $ docker rm -f 62510c5fe40223f3c92d72d8b19703b4960500c150d9183045bf36c4d5ec0ebe [Pipeline] // withDockerContainer [Pipeline] sh 15:25:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:54 Warning: overwriting stash ‘coverage-report’ 15:25:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:56 + ls -al . 15:25:56 total 168 15:25:56 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:25 . 15:25:56 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:21 .. 15:25:56 -rw-rw-r-- 1 jenkins jenkins 120 May 12 15:21 .dockerignore 15:25:56 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:22 .git 15:25:56 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:21 .github 15:25:56 -rw-rw-r-- 1 jenkins jenkins 343 May 12 15:21 .gitignore 15:25:56 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:21 .golangci.yml 15:25:56 -rw-rw-r-- 1 jenkins jenkins 9053 May 12 15:21 Attribution.txt 15:25:56 -rw-rw-r-- 1 jenkins jenkins 2832 May 12 15:21 CHANGELOG.md 15:25:56 -rw-rw-r-- 1 jenkins jenkins 1846 May 12 15:21 Dockerfile 15:25:56 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:21 GOVERNANCE.md 15:25:56 -rw-rw-r-- 1 jenkins jenkins 657 May 12 15:21 Jenkinsfile 15:25:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:21 LICENSE 15:25:56 -rw-rw-r-- 1 jenkins jenkins 1876 May 12 15:21 Makefile 15:25:56 -rw-rw-r-- 1 jenkins jenkins 617 May 12 15:21 OWNERS.md 15:25:56 -rw-rw-r-- 1 jenkins jenkins 11178 May 12 15:21 README.md 15:25:56 -rw-rw-r-- 1 jenkins jenkins 5 May 12 15:19 VERSION 15:25:56 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:21 bin 15:25:56 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:21 cmd 15:25:56 -rw-r--r-- 1 jenkins jenkins 10 May 12 15:24 coverage.out 15:25:56 -rw-rw-r-- 1 jenkins jenkins 3236 May 12 15:21 go.mod 15:25:56 -rw-rw-r-- 1 jenkins jenkins 46962 May 12 15:21 go.sum 15:25:56 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:21 internal 15:25:56 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:21 snap 15:25:56 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:21 version.go [Pipeline] isUnix [Pipeline] sh 15:25:56 + 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=cbea0cc5b91bdd2af06f02603e0207ecc70549e5 --label arch=arm64 --label version=0.0.0 . 15:25:57 Sending build context to Docker daemon 7.903MB 15:25:57 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 15:25:57 Step 2/25 : FROM ${BASE} AS builder 15:25:57 ---> ea23ade1a16b 15:25:57 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:25:57 ---> Running in c46d2b76ed3d 15:25:57 Removing intermediate container c46d2b76ed3d 15:25:57 ---> b8f43e663720 15:25:57 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 15:25:57 ---> Running in 3d9199c4ea80 15:25:57 Removing intermediate container 3d9199c4ea80 15:25:57 ---> 95b41a86da67 15:25:57 Step 5/25 : WORKDIR /device-gpio 15:25:58 ---> Running in 63cd175f59b8 15:25:58 Removing intermediate container 63cd175f59b8 15:25:58 ---> b9e6d696e87e 15:25:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:25:58 ---> Running in acd5bcf1426a 15:25:59 Removing intermediate container acd5bcf1426a 15:25:59 ---> 1d9ac0e99c58 15:25:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:26:00 ---> Running in dbef7975077e 15:26:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:26:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:26:02 OK: 224 MiB in 56 packages 15:26:03 Removing intermediate container dbef7975077e 15:26:03 ---> 3ccb3a45fb59 15:26:03 Step 8/25 : COPY go.mod vendor* ./ 15:26:03 ---> 6354284aebdd 15:26:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:03 ---> Running in 12ba7775ed84 15:26:05 Removing intermediate container 12ba7775ed84 15:26:05 ---> dcf2dd8f857c 15:26:05 Step 10/25 : COPY . . 15:26:06 ---> 4883e9e921cd 15:26:06 Step 11/25 : RUN ${MAKE} 15:26:06 ---> Running in f6b3d2f7ce5b 15:26:08 Removing intermediate container f6b3d2f7ce5b 15:26:08 ---> 1513c6106845 15:26:08 Step 12/25 : FROM alpine:3.15 15:26:08 3.15: Pulling from library/alpine 15:26:09 9981e73032c8: Pulling fs layer 15:26:09 9981e73032c8: Verifying Checksum 15:26:09 9981e73032c8: Download complete 15:26:09 9981e73032c8: Pull complete 15:26:09 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 15:26:09 Status: Downloaded newer image for alpine:3.15 15:26:09 ---> 3fb3c9af89a9 15:26:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 15:26:09 ---> Running in df8792936f18 15:26:10 Removing intermediate container df8792936f18 15:26:10 ---> a52ee8f3bbbb 15:26:10 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:26:10 ---> Running in c24341300358 15:26:11 Removing intermediate container c24341300358 15:26:11 ---> 9fbcad4f2286 15:26:11 Step 15/25 : RUN apk add --update --no-cache zeromq 15:26:11 ---> Running in 14d1e6631caa 15:26:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:26:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:26:14 (1/5) Installing libgcc (10.3.1_git20211027-r0) 15:26:14 (2/5) Installing libsodium (1.0.18-r0) 15:26:14 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 15:26:14 (4/5) Installing libzmq (4.3.4-r0) 15:26:15 (5/5) Installing zeromq (4.3.4-r0) 15:26:15 Executing busybox-1.34.1-r5.trigger 15:26:15 OK: 8 MiB in 19 packages 15:26:16 Removing intermediate container 14d1e6631caa 15:26:16 ---> 7618420d5d71 15:26:16 Step 16/25 : WORKDIR / 15:26:16 ---> Running in 50271301403a 15:26:16 Removing intermediate container 50271301403a 15:26:16 ---> d8801fa8e1cc 15:26:16 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 15:26:16 ---> f4043449f440 15:26:16 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 15:26:17 ---> e06d8c87509e 15:26:17 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 15:26:18 ---> 7cc79ed0ff5f 15:26:18 Step 20/25 : EXPOSE 59910 15:26:18 ---> Running in 3d560180029e 15:26:18 Removing intermediate container 3d560180029e 15:26:18 ---> dad424f9f8ed 15:26:18 Step 21/25 : ENTRYPOINT ["/device-gpio"] 15:26:18 ---> Running in ce26e0380357 15:26:18 Removing intermediate container ce26e0380357 15:26:18 ---> c575598aa87e 15:26:18 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:26:18 ---> Running in 8b522b3623a1 15:26:19 Removing intermediate container 8b522b3623a1 15:26:19 ---> ec7d4ad8fc32 15:26:19 Step 23/25 : LABEL arch=arm64 15:26:19 ---> Running in 17d3b6a7f66b 15:26:19 Removing intermediate container 17d3b6a7f66b 15:26:19 ---> 3aba62189d64 15:26:19 Step 24/25 : LABEL git_sha=cbea0cc5b91bdd2af06f02603e0207ecc70549e5 15:26:19 ---> Running in 9ccd6779d84f 15:26:19 Removing intermediate container 9ccd6779d84f 15:26:19 ---> 6b8fa53d9160 15:26:19 Step 25/25 : LABEL version=0.0.0 15:26:20 ---> Running in ac019c347149 15:26:20 Removing intermediate container ac019c347149 15:26:20 ---> ef0b49607030 15:26:20 [Warning] One or more build-args [ARCH MAKE] were not consumed 15:26:20 Successfully built ef0b49607030 15:26:20 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:26:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:21 15:26:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:26:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:21 arm64: Pulling from edgex-lftools-log-publisher 15:26:21 8998bd30e6a1: Pulling fs layer 15:26:21 04944245beec: Pulling fs layer 15:26:21 699f458cf7ca: Pulling fs layer 15:26:21 765212b225bb: Pulling fs layer 15:26:21 f23df028b6ca: Pulling fs layer 15:26:21 d65c8cfc05b1: Pulling fs layer 15:26:21 2437ff75d9bd: Pulling fs layer 15:26:21 d65c8cfc05b1: Waiting 15:26:21 2437ff75d9bd: Waiting 15:26:21 f23df028b6ca: Waiting 15:26:21 765212b225bb: Waiting 15:26:21 04944245beec: Verifying Checksum 15:26:21 04944245beec: Download complete 15:26:21 765212b225bb: Verifying Checksum 15:26:21 765212b225bb: Download complete 15:26:21 f23df028b6ca: Verifying Checksum 15:26:21 f23df028b6ca: Download complete 15:26:21 d65c8cfc05b1: Verifying Checksum 15:26:21 d65c8cfc05b1: Download complete 15:26:21 699f458cf7ca: Verifying Checksum 15:26:21 699f458cf7ca: Download complete 15:26:22 8998bd30e6a1: Verifying Checksum 15:26:22 8998bd30e6a1: Download complete 15:26:24 2437ff75d9bd: Verifying Checksum 15:26:24 2437ff75d9bd: Download complete 15:26:26 8998bd30e6a1: Pull complete 15:26:26 04944245beec: Pull complete 15:26:28 699f458cf7ca: Pull complete 15:26:28 765212b225bb: Pull complete 15:26:29 f23df028b6ca: Pull complete 15:26:29 d65c8cfc05b1: Pull complete 15:26:44 2437ff75d9bd: Pull complete 15:26:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:26:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:26:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:26:44 prd-ubuntu20.04-docker-arm64-4c-16g-63409 does not seem to be running inside a container 15:26:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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:26:47 $ docker top 0fccfff95871ccc5a52fa2a87f6f2a3c89b95d8b1901e004edcc148d85e63886 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:48 ---> job-cost.sh 15:26:48 lf-activate-venv: SKIPPING 15:26:48 INFO: No Stack... 15:26:48 INFO: Retrieving Pricing Info for: v3-standard-4 15:26:49 INFO: Archiving Costs [Pipeline] sh 15:26:50 + cat /w/workspace/device-gpio/1/archives/cost.csv 15:26:50 + cut -d, -f6 [Pipeline] lock 15:26:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] 15:26:50 Resource [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] did not exist. Created. 15:26:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:51 /w/workspace/device-gpio/1@tmp/durable-534f0353/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:26:51 + echo total: 0.10999999940395355 [Pipeline] stash 15:26:51 Warning: overwriting stash ‘stack-cost’ 15:26:51 Stashed 1 file(s) [Pipeline] } 15:26:51 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-36-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:26:52 $ docker stop --time=1 0fccfff95871ccc5a52fa2a87f6f2a3c89b95d8b1901e004edcc148d85e63886 15:26:53 $ docker rm -f 0fccfff95871ccc5a52fa2a87f6f2a3c89b95d8b1901e004edcc148d85e63886 [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:26:54 provisioning config files... 15:26:54 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config8759855222418170797tmp [Pipeline] { [Pipeline] sh 15:26:54 + set +x 15:26:54 + curl -s https://codecov.io/bash 15:26:54 + bash -s -- 15:26:54 15:26:54 _____ _ 15:26:54 / ____| | | 15:26:54 | | ___ __| | ___ ___ _____ __ 15:26:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:26:54 | |___| (_) | (_| | __/ (_| (_) \ V / 15:26:54 \_____\___/ \__,_|\___|\___\___/ \_/ 15:26:54 Bash-1.0.6 15:26:54 15:26:54 15:26:54 ==> git version 2.25.1 found 15:26:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:26:54 Release-Date: 2020-01-08 15:26:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:26:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:26:54 ==> Jenkins CI detected. 15:26:54 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-36 15:26:54 project root: . 15:26:54 --> token set from env 15:26:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:26:54 ==> Running gcov in . (disable via -X gcov) 15:26:54 ==> Python coveragepy not found 15:26:54 ==> Searching for coverage reports in: 15:26:54 + . 15:26:54 -> Found 1 reports 15:26:54 ==> Detecting git/mercurial file structure 15:26:54 ==> Reading reports 15:26:54 + ./coverage.out bytes=10 15:26:54 ==> Appending adjustments 15:26:54 https://docs.codecov.io/docs/fixing-reports 15:26:55 + Found adjustments 15:26:55 ==> Gzipping contents 15:26:55 4.0K /tmp/codecov.gio0EC.gz 15:26:55 ==> Uploading reports 15:26:55 url: https://codecov.io 15:26:55 query: branch=PR-36&commit=cbea0cc5b91bdd2af06f02603e0207ecc70549e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 15:26:55 -> Pinging Codecov 15:26:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-36&commit=cbea0cc5b91bdd2af06f02603e0207ecc70549e5&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-36%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=36&job=&cmd_args= 15:26:55 -> Uploading to 15:26:55 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/3EC07B1A8CA8AF9BCAA0BB9F0134797F/cbea0cc5b91bdd2af06f02603e0207ecc70549e5/38a346c2-4648-44c9-8de6-2a49bbf3df4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T152655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10a76e1c82774e624efd901f870d618e7065991127ebd6f6bc1abb04cf5a2fc0 15:26:55 % Total % Received % Xferd Average Speed Time Time Time Current 15:26:55 Dload Upload Total Spent Left Speed 15:26:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 4038 --:--:-- --:--:-- --:--:-- 4038 15:26:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/cbea0cc5b91bdd2af06f02603e0207ecc70549e5 [Pipeline] } 15:26:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:26:57 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-36/archives ] 15:26:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:26:57 total 16 15:26:57 drwxr-xr-x 3 root root 4096 May 12 15:21 . 15:26:57 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:21 .. 15:26:57 drwxr-xr-x 2 root root 4096 May 12 15:21 cost 15:26:57 -rw-r--r-- 1 root root 81 May 12 15:21 cost.csv 15:26:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:26:57 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-36/archives 15:26:57 total 16 15:26:57 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:21 . 15:26:57 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:21 .. 15:26:57 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:21 cost 15:26:57 -rw-r--r-- 1 jenkins jenkins 81 May 12 15:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:26:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:26:58 ---> package-listing.sh 15:26:58 ++ facter osfamily 15:26:58 ++ tr '[:upper:]' '[:lower:]' 15:26:58 + OS_FAMILY=debian 15:26:58 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-36 15:26:58 + START_PACKAGES=/tmp/packages_start.txt 15:26:58 + END_PACKAGES=/tmp/packages_end.txt 15:26:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:26:58 + PACKAGES=/tmp/packages_start.txt 15:26:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 15:26:58 + PACKAGES=/tmp/packages_end.txt 15:26:58 + case "${OS_FAMILY}" in 15:26:58 + dpkg -l 15:26:58 + grep '^ii' 15:26:58 + '[' -f /tmp/packages_start.txt ']' 15:26:58 + '[' -f /tmp/packages_end.txt ']' 15:26:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:26:58 + '[' /w/workspace/edgexfoundry_device-gpio_PR-36 ']' 15:26:58 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ 15:26:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-36/archives/ [Pipeline] echo 15:26:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-36/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:26:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:59 . [Pipeline] withDockerContainer 15:26:59 prd-ubuntu20.04-docker-8c-8g-63406 does not seem to be running inside a container 15:26:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_PR-36/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-36 -v /w/workspace/edgexfoundry_device-gpio_PR-36:/w/workspace/edgexfoundry_device-gpio_PR-36:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-36@tmp:/w/workspace/edgexfoundry_device-gpio_PR-36@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:27:00 $ docker top e2445487025369c8d5aa306f89925ca6a0212f3c55093027448f9d3100a53efa -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:00 + touch /tmp/pre-build-complete [Pipeline] sh 15:27:00 + mkdir -p /var/log/sysstat [Pipeline] sh 15:27:01 + ls /var/log/sa-host 15:27:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:27:01 provisioning config files... 15:27:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-36@tmp/config5752626387729608291tmp [Pipeline] { [Pipeline] echo 15:27:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:27:01 ---> create-netrc.sh [Pipeline] } 15:27:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:27:02 ---> python-tools-install.sh [Pipeline] echo 15:27:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:27:02 ---> sudo-logs.sh 15:27:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:27:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:27:02 ---> job-cost.sh 15:27:02 lf-activate-venv: SKIPPING 15:27:02 DEBUG: total: 0.2199999988079071 15:27:02 INFO: Retrieving Stack Cost... 15:27:03 INFO: Retrieving Pricing Info for: v3-standard-8 15:27:03 INFO: Archiving Costs [Pipeline] echo 15:27:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:27:04 ---> logs-deploy.sh 15:27:04 lf-activate-venv: SKIPPING 15:27:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-36/1 15:27:04 INFO: archiving workspace using pattern(s): 15:27:04 Archives upload complete. 15:27:04 INFO: archiving logs to Nexus