Pull request #33 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9dfc239091c06783cce829082d854d848f20bec4+836c30204e0fb2e2a70ac35e45feaed0f2fb0741 (1ab45e54a3552c8932450af3fdb816d304aec10f) 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-ssh1817436668826566174.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-ssh3453916401198191590.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-33/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-33/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10416554158266970266.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-33/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6095179273345853919.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-ssh13195554333810653036.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-33/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-33/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15279178662021245710.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-63194’ Running on prd-ubuntu20.04-docker-8c-8g-63200 in /w/workspace/edgexfoundry_device-gpio_PR-33 [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-33 # 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 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 9dfc239091c06783cce829082d854d848f20bec4 Merge succeeded, producing 9dfc239091c06783cce829082d854d848f20bec4 Checking out Revision 9dfc239091c06783cce829082d854d848f20bec4 (PR-33) > 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/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfc239091c06783cce829082d854d848f20bec4 # 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 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9dfc239091c06783cce829082d854d848f20bec4 # timeout=10 Commit message: "build(deps): bump github.com/spf13/cast from 1.3.1 to 1.5.0" 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 21:26:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:26:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:26:40 ========================================================= 21:26:40 EdgeX Global Pipelines Version Info 21:26:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:26:41 ------------------- 21:26:41 stable info: 21:26:41 ------------------- 21:26:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:41 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:41 Message: update stable to v1.0.230 21:26:42 ------------------- 21:26:42 experimental info: 21:26:42 ------------------- 21:26:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:26:42 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:26:42 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:26:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-33 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-33 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-33 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9dfc239091c06783cce829082d854d848f20bec4 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9dfc239 [Pipeline] echo 21:26:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:26:43 provisioning config files... 21:26:43 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config5444609958160758557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:26:43 ---> docker-login.sh 21:26:43 nexus3.edgexfoundry.org:10001 21:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:44 Configure a credential helper to remove this warning. See 21:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:44 21:26:44 Login Succeeded 21:26:44 nexus3.edgexfoundry.org:10002 21:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:44 Configure a credential helper to remove this warning. See 21:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:44 21:26:44 Login Succeeded 21:26:44 nexus3.edgexfoundry.org:10003 21:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:44 Configure a credential helper to remove this warning. See 21:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:44 21:26:44 Login Succeeded 21:26:44 nexus3.edgexfoundry.org:10004 21:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:44 Configure a credential helper to remove this warning. See 21:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:44 21:26:44 Login Succeeded 21:26:44 docker.io 21:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:26:45 Configure a credential helper to remove this warning. See 21:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:26:45 21:26:45 Login Succeeded 21:26:45 ---> docker-login.sh ends [Pipeline] } 21:26:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:26:46 + git rev-list -1 --merges 9dfc239091c06783cce829082d854d848f20bec4~1..9dfc239091c06783cce829082d854d848f20bec4 [Pipeline] echo 21:26:46 -----------> git rev-list -1 --merges 9dfc239091c06783cce829082d854d848f20bec4~1..9dfc239091c06783cce829082d854d848f20bec4 9dfc239091c06783cce829082d854d848f20bec4 [false] [Pipeline] sh 21:26:46 + git log --format=format:%s -1 9dfc239091c06783cce829082d854d848f20bec4 [Pipeline] echo 21:26:46 ========================================================= 21:26:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:26:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:46 + git log --format=format:%s -1 9dfc239091c06783cce829082d854d848f20bec4 [Pipeline] echo 21:26:46 [semverPrep] GIT_COMMIT: 9dfc239091c06783cce829082d854d848f20bec4, Commit Message: build(deps): bump github.com/spf13/cast from 1.3.1 to 1.5.0 [Pipeline] echo 21:26:46 [semverPrep] This is not a build commit. [Pipeline] sh 21:26:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:26:47 + grep -v github /etc/ssh/ssh_known_hosts 21:26:47 + [ -e /tmp/ssh_known_hosts ] 21:26:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:26:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:26:47 + sudo tee -a /etc/ssh/ssh_known_hosts 21:26:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:26:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:47 21:26:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:26:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:48 latest: Pulling from edgex-devops/py-git-semver 21:26:48 1fe172e4850f: Pulling fs layer 21:26:48 caf521ccaac6: Pulling fs layer 21:26:48 3ead6fa29328: Pulling fs layer 21:26:48 5c2a1cbceb83: Pulling fs layer 21:26:48 a8d5f1318db7: Pulling fs layer 21:26:48 c427282e49a2: Pulling fs layer 21:26:48 1827001aaf11: Pulling fs layer 21:26:48 0714d37db230: Pulling fs layer 21:26:48 ac28cf19c067: Pulling fs layer 21:26:48 ca983d60f3e2: Pulling fs layer 21:26:48 9f894cec8388: Pulling fs layer 21:26:48 1827001aaf11: Waiting 21:26:48 0714d37db230: Waiting 21:26:48 ca983d60f3e2: Waiting 21:26:48 9f894cec8388: Waiting 21:26:48 ac28cf19c067: Waiting 21:26:48 5c2a1cbceb83: Waiting 21:26:48 c427282e49a2: Waiting 21:26:48 a8d5f1318db7: Waiting 21:26:48 caf521ccaac6: Verifying Checksum 21:26:48 caf521ccaac6: Download complete 21:26:48 5c2a1cbceb83: Verifying Checksum 21:26:48 5c2a1cbceb83: Download complete 21:26:48 a8d5f1318db7: Verifying Checksum 21:26:48 a8d5f1318db7: Download complete 21:26:48 c427282e49a2: Verifying Checksum 21:26:48 c427282e49a2: Download complete 21:26:48 3ead6fa29328: Verifying Checksum 21:26:48 3ead6fa29328: Download complete 21:26:48 0714d37db230: Download complete 21:26:48 ac28cf19c067: Verifying Checksum 21:26:48 ac28cf19c067: Download complete 21:26:48 ca983d60f3e2: Verifying Checksum 21:26:48 ca983d60f3e2: Download complete 21:26:48 9f894cec8388: Verifying Checksum 21:26:48 9f894cec8388: Download complete 21:26:48 1fe172e4850f: Verifying Checksum 21:26:48 1fe172e4850f: Download complete 21:26:48 1827001aaf11: Verifying Checksum 21:26:48 1827001aaf11: Download complete 21:26:49 1fe172e4850f: Pull complete 21:26:49 caf521ccaac6: Pull complete 21:26:50 3ead6fa29328: Pull complete 21:26:50 5c2a1cbceb83: Pull complete 21:26:50 a8d5f1318db7: Pull complete 21:26:50 c427282e49a2: Pull complete 21:26:52 1827001aaf11: Pull complete 21:26:52 0714d37db230: Pull complete 21:26:52 ac28cf19c067: Pull complete 21:26:52 ca983d60f3e2: Pull complete 21:26:52 9f894cec8388: Pull complete 21:26:52 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:26:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:26:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 21:26:52 prd-ubuntu20.04-docker-8c-8g-63200 does not seem to be running inside a container 21:26:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:26:54 $ docker top 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 -eo pid,comm 21:26:54 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). 21:26:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:26:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:54 [ssh-agent] Looking for ssh-agent implementation... 21:26:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:54 $ docker exec 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 ssh-agent 21:26:54 SSH_AUTH_SOCK=/tmp/ssh-iZXuzhqTKeJ8/agent.32 21:26:54 SSH_AGENT_PID=38 21:26:54 Running ssh-add (command line suppressed) 21:26:55 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_5907282790096705448.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_5907282790096705448.key) 21:26:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:55 + git tag --points-at HEAD [Pipeline] } 21:26:55 $ docker exec --env ******** --env ******** 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 ssh-agent -k 21:26:55 unset SSH_AUTH_SOCK; 21:26:55 unset SSH_AGENT_PID; 21:26:55 echo Agent pid 38 killed; 21:26:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:26:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:26:55 [ssh-agent] Looking for ssh-agent implementation... 21:26:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:26:55 $ docker exec 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 ssh-agent 21:26:55 SSH_AUTH_SOCK=/tmp/ssh-5Y804G0WGKM5/agent.71 21:26:55 SSH_AGENT_PID=77 21:26:55 Running ssh-add (command line suppressed) 21:26:56 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_1790721798003216188.key (/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/private_key_1790721798003216188.key) 21:26:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:26:56 + git semver init 21:26:56 2022-05-11 21:26:56,657 [run_init] DEBUG init version:0.0.0 force:False 21:26:56 2022-05-11 21:26:56,658 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver 21:26:56 2022-05-11 21:26:56,659 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-33/.semver 21:26:56 2022-05-11 21:26:56,659 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-33/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33, universal_newlines=False, shell=None, istream=None) 21:26:57 2022-05-11 21:26:57,568 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.git/info/exclude 21:26:57 2022-05-11 21:26:57,569 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 with force:False 21:26:57 2022-05-11 21:26:57,569 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 21:26:57 2022-05-11 21:26:57,573 [execute] INFO git cat-file --batch-check 21:26:57 2022-05-11 21:26:57,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) 21:26:57 2022-05-11 21:26:57,581 [execute] INFO git cat-file --batch 21:26:57 2022-05-11 21:26:57,581 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-33/.semver, universal_newlines=False, shell=None, istream=) 21:26:57 2022-05-11 21:26:57,587 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-33/.semver/PR-33 21:26:57 0.0.0 [Pipeline] } 21:26:57 $ docker exec --env ******** --env ******** 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 ssh-agent -k 21:26:57 unset SSH_AUTH_SOCK; 21:26:57 unset SSH_AGENT_PID; 21:26:57 echo Agent pid 77 killed; 21:26:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:26:58 + git semver [Pipeline] } 21:26:58 $ docker stop --time=1 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 21:26:59 $ docker rm -f 680ac4bb0c4cc980fbecb75ca9b9e1d09a23a91c3753d20a8cd3e79649700474 [Pipeline] // withDockerContainer [Pipeline] sh 21:27:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:27:00 Stashed 1 file(s) [Pipeline] echo 21:27:00 [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 21:27:01 provisioning config files... 21:27:01 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config6099926007802424019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:01 ---> docker-login.sh 21:27:01 nexus3.edgexfoundry.org:10001 21:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:01 Configure a credential helper to remove this warning. See 21:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:01 21:27:01 Login Succeeded 21:27:01 nexus3.edgexfoundry.org:10002 21:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:01 Configure a credential helper to remove this warning. See 21:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:01 21:27:01 Login Succeeded 21:27:01 nexus3.edgexfoundry.org:10003 21:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:01 Configure a credential helper to remove this warning. See 21:27:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:01 21:27:01 Login Succeeded 21:27:01 nexus3.edgexfoundry.org:10004 21:27:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:02 Configure a credential helper to remove this warning. See 21:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:02 21:27:02 Login Succeeded 21:27:02 docker.io 21:27:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:27:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:27:02 Configure a credential helper to remove this warning. See 21:27:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:27:02 21:27:02 Login Succeeded 21:27:02 ---> docker-login.sh ends [Pipeline] } 21:27:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:27:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:27:02 ========================================================= 21:27:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:27:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:27:02 + 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 . 21:27:02 Sending build context to Docker daemon 15.66MB 21:27:02 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:27:02 Step 2/11 : FROM ${BASE} AS builder 21:27:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:27:03 59bf1c3509f3: Pulling fs layer 21:27:03 666ba61612fd: Pulling fs layer 21:27:03 8ed8ca486205: Pulling fs layer 21:27:03 4fe6c5a15a65: Pulling fs layer 21:27:03 22a0e8bec74d: Pulling fs layer 21:27:03 ca2b28591e48: Pulling fs layer 21:27:03 22a0e8bec74d: Waiting 21:27:03 4fe6c5a15a65: Waiting 21:27:03 a51346096db8: Pulling fs layer 21:27:03 ca2b28591e48: Waiting 21:27:03 daebc70d1ce1: Pulling fs layer 21:27:03 0e18a0eac166: Pulling fs layer 21:27:03 daebc70d1ce1: Waiting 21:27:03 0e18a0eac166: Waiting 21:27:03 a51346096db8: Waiting 21:27:03 8ed8ca486205: Verifying Checksum 21:27:03 8ed8ca486205: Download complete 21:27:03 666ba61612fd: Verifying Checksum 21:27:03 666ba61612fd: Download complete 21:27:03 22a0e8bec74d: Verifying Checksum 21:27:03 22a0e8bec74d: Download complete 21:27:03 ca2b28591e48: Verifying Checksum 21:27:03 ca2b28591e48: Download complete 21:27:03 59bf1c3509f3: Verifying Checksum 21:27:03 59bf1c3509f3: Download complete 21:27:03 a51346096db8: Verifying Checksum 21:27:03 a51346096db8: Download complete 21:27:03 daebc70d1ce1: Verifying Checksum 21:27:03 daebc70d1ce1: Download complete 21:27:03 59bf1c3509f3: Pull complete 21:27:03 666ba61612fd: Pull complete 21:27:03 0e18a0eac166: Verifying Checksum 21:27:03 8ed8ca486205: Pull complete 21:27:03 4fe6c5a15a65: Verifying Checksum 21:27:08 4fe6c5a15a65: Pull complete 21:27:08 22a0e8bec74d: Pull complete 21:27:08 ca2b28591e48: Pull complete 21:27:08 a51346096db8: Pull complete 21:27:08 daebc70d1ce1: Pull complete 21:27:10 0e18a0eac166: Pull complete 21:27:10 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 21:27:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:27:10 ---> f018257e8ee9 21:27:10 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:27:11 ---> Running in 2503f3a28ff9 21:27:11 Removing intermediate container 2503f3a28ff9 21:27:11 ---> 9ad87f62dfa7 21:27:11 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:27:11 ---> Running in 42fe3c09670b 21:27:11 Removing intermediate container 42fe3c09670b 21:27:11 ---> ff64b30705a6 21:27:11 Step 5/11 : WORKDIR /device-gpio 21:27:11 ---> Running in f2fcd362916b 21:27:11 Removing intermediate container f2fcd362916b 21:27:11 ---> 8ba380af83dd 21:27:11 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:11 ---> Running in a9a0f81852fe 21:27:12 Removing intermediate container a9a0f81852fe 21:27:12 ---> fa778449e62f 21:27:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:27:12 ---> Running in 099f9eb72725 21:27:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:27:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:27:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:27:14 (2/4) Installing libedit (20210910.3.1-r0) 21:27:14 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:27:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:27:14 Executing busybox-1.34.1-r3.trigger 21:27:14 OK: 224 MiB in 56 packages 21:27:14 Removing intermediate container 099f9eb72725 21:27:14 ---> 33421af9dbf2 21:27:14 Step 8/11 : COPY go.mod vendor* ./ 21:27:14 ---> 72ff1c463afc 21:27:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:27:14 ---> Running in 44ba2104396b 21:27:15 Still waiting to schedule task 21:27:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63195’ 21:27:41 Removing intermediate container 44ba2104396b 21:27:41 ---> 4aa3dee920d2 21:27:41 Step 10/11 : COPY . . 21:27:41 ---> 01a3fb026d06 21:27:41 Step 11/11 : RUN ${MAKE} 21:27:41 ---> Running in ab3dd35b9db3 21:27:41 Removing intermediate container ab3dd35b9db3 21:27:41 ---> a263d479eaeb 21:27:41 [Warning] One or more build-args [MAKE] were not consumed 21:27:41 Successfully built a263d479eaeb 21:27:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 21:27:41 + docker inspect -f . ci-base-image-x86_64 21:27:41 . [Pipeline] withDockerContainer 21:27:41 prd-ubuntu20.04-docker-8c-8g-63200 does not seem to be running inside a container 21:27:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** ci-base-image-x86_64 cat 21:27:42 $ docker top 060a70c5bbba4c78dd45733170205dbce402da2fb941bbfa39bce256cba53e5a -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:42 + go version 21:27:42 go version go1.17.6 linux/amd64 [Pipeline] } 21:27:42 $ docker stop --time=1 060a70c5bbba4c78dd45733170205dbce402da2fb941bbfa39bce256cba53e5a 21:27:44 $ docker rm -f 060a70c5bbba4c78dd45733170205dbce402da2fb941bbfa39bce256cba53e5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:27:45 + docker inspect -f . ci-base-image-x86_64 21:27:45 . [Pipeline] withDockerContainer 21:27:45 prd-ubuntu20.04-docker-8c-8g-63200 does not seem to be running inside a container 21:27:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** ci-base-image-x86_64 cat 21:27:45 $ docker top 65e8c255bfe371e6f84a11e746786aa0dd318ac8b182109f184ccbf63cacceb1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:27:46 + make test 21:27:46 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:27:46 ? github.com/edgexfoundry/device-gpio [no test files] 21:28:01 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:28:01 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:28:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:28:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:07 ./bin/test-attribution-txt.sh [Pipeline] echo 21:28:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:07 $ docker stop --time=1 65e8c255bfe371e6f84a11e746786aa0dd318ac8b182109f184ccbf63cacceb1 21:28:09 $ docker rm -f 65e8c255bfe371e6f84a11e746786aa0dd318ac8b182109f184ccbf63cacceb1 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:28:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:11 + ls -al . 21:28:11 total 176 21:28:11 drwxrwxr-x 9 jenkins jenkins 4096 May 11 21:28 . 21:28:11 drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:26 .. 21:28:11 -rw-rw-r-- 1 jenkins jenkins 120 May 11 21:26 .dockerignore 21:28:11 drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:26 .git 21:28:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:26 .github 21:28:11 -rw-rw-r-- 1 jenkins jenkins 343 May 11 21:26 .gitignore 21:28:11 -rw-rw-r-- 1 jenkins jenkins 41 May 11 21:26 .golangci.yml 21:28:11 drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:26 .semver 21:28:11 -rw-rw-r-- 1 jenkins jenkins 7772 May 11 21:26 Attribution.txt 21:28:11 -rw-rw-r-- 1 jenkins jenkins 2256 May 11 21:26 CHANGELOG.md 21:28:11 -rw-rw-r-- 1 jenkins jenkins 1846 May 11 21:26 Dockerfile 21:28:11 -rw-rw-r-- 1 jenkins jenkins 677 May 11 21:26 GOVERNANCE.md 21:28:11 -rw-rw-r-- 1 jenkins jenkins 657 May 11 21:26 Jenkinsfile 21:28:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 21:26 LICENSE 21:28:11 -rw-rw-r-- 1 jenkins jenkins 1876 May 11 21:26 Makefile 21:28:11 -rw-rw-r-- 1 jenkins jenkins 617 May 11 21:26 OWNERS.md 21:28:11 -rw-rw-r-- 1 jenkins jenkins 11178 May 11 21:26 README.md 21:28:11 -rw-rw-r-- 1 jenkins jenkins 5 May 11 21:27 VERSION 21:28:11 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:26 bin 21:28:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:26 cmd 21:28:11 -rw-r--r-- 1 jenkins jenkins 10 May 11 21:27 coverage.out 21:28:11 -rw-rw-r-- 1 jenkins jenkins 2794 May 11 21:26 go.mod 21:28:11 -rw-rw-r-- 1 jenkins jenkins 56554 May 11 21:26 go.sum 21:28:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:26 internal 21:28:11 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:26 snap 21:28:11 -rw-rw-r-- 1 jenkins jenkins 209 May 11 21:26 version.go [Pipeline] isUnix [Pipeline] sh 21:28:11 + 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=9dfc239091c06783cce829082d854d848f20bec4 --label arch=amd64 --label version=0.0.0 . 21:28:11 Sending build context to Docker daemon 15.66MB 21:28:11 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:28:11 Step 2/25 : FROM ${BASE} AS builder 21:28:11 ---> a263d479eaeb 21:28:11 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:28:11 ---> Running in de56a1c5558b 21:28:12 Removing intermediate container de56a1c5558b 21:28:12 ---> 8d36aadbe5ea 21:28:12 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:28:12 ---> Running in ce27c0e9cc5f 21:28:12 Removing intermediate container ce27c0e9cc5f 21:28:12 ---> 4e7a619aa143 21:28:12 Step 5/25 : WORKDIR /device-gpio 21:28:12 ---> Running in 89a5e8045e74 21:28:12 Removing intermediate container 89a5e8045e74 21:28:12 ---> b3cfe1af7ccd 21:28:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:28:12 ---> Running in ebccf14ebb9c 21:28:13 Removing intermediate container ebccf14ebb9c 21:28:13 ---> ba1247cb196b 21:28:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:13 ---> Running in b4e5e2cdc3dd 21:28:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:28:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:28:15 OK: 224 MiB in 56 packages 21:28:15 Removing intermediate container b4e5e2cdc3dd 21:28:15 ---> 8e254c24df52 21:28:15 Step 8/25 : COPY go.mod vendor* ./ 21:28:15 ---> 2d2fc4dea86f 21:28:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:15 ---> Running in fd219b6639b4 21:28:16 Removing intermediate container fd219b6639b4 21:28:16 ---> 707f0ae8aaef 21:28:16 Step 10/25 : COPY . . 21:28:16 ---> b7933e3f6b91 21:28:16 Step 11/25 : RUN ${MAKE} 21:28:16 ---> Running in ea1e5c237e9e 21:28:17 Removing intermediate container ea1e5c237e9e 21:28:17 ---> 5e43f6ec2ba0 21:28:17 Step 12/25 : FROM alpine:3.15 21:28:18 3.15: Pulling from library/alpine 21:28:18 df9b9388f04a: Pulling fs layer 21:28:18 df9b9388f04a: Verifying Checksum 21:28:18 df9b9388f04a: Download complete 21:28:19 df9b9388f04a: Pull complete 21:28:19 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 21:28:19 Status: Downloaded newer image for alpine:3.15 21:28:19 ---> 0ac33e5f5afa 21:28:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:28:19 ---> Running in 15bf3ad5455e 21:28:19 Removing intermediate container 15bf3ad5455e 21:28:19 ---> 5cc1d5d9594e 21:28:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:28:19 ---> Running in b64e34eee439 21:28:20 Removing intermediate container b64e34eee439 21:28:20 ---> 951a95f22309 21:28:20 Step 15/25 : RUN apk add --update --no-cache zeromq 21:28:20 ---> Running in b620d543c6b9 21:28:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:28:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:28:21 (1/5) Installing libgcc (10.3.1_git20211027-r0) 21:28:21 (2/5) Installing libsodium (1.0.18-r0) 21:28:21 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 21:28:21 (4/5) Installing libzmq (4.3.4-r0) 21:28:21 (5/5) Installing zeromq (4.3.4-r0) 21:28:22 Executing busybox-1.34.1-r5.trigger 21:28:22 OK: 8 MiB in 19 packages 21:28:22 Removing intermediate container b620d543c6b9 21:28:22 ---> da1e7f61c5d4 21:28:22 Step 16/25 : WORKDIR / 21:28:22 ---> Running in 6088ccf3083f 21:28:22 Removing intermediate container 6088ccf3083f 21:28:22 ---> 85ad67638737 21:28:22 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:28:22 ---> bfbe57d2a4d4 21:28:22 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:28:22 ---> 19e89c8b3a6d 21:28:22 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:28:23 ---> 8c3acaf6f9ce 21:28:23 Step 20/25 : EXPOSE 59910 21:28:23 ---> Running in 0d109a269da9 21:28:23 Removing intermediate container 0d109a269da9 21:28:23 ---> 6ffbb9a03984 21:28:23 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:28:23 ---> Running in 312486e71211 21:28:23 Removing intermediate container 312486e71211 21:28:23 ---> 610a2a6e5e20 21:28:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:28:23 ---> Running in 16119a2776c5 21:28:23 Removing intermediate container 16119a2776c5 21:28:23 ---> f984e051939d 21:28:23 Step 23/25 : LABEL arch=amd64 21:28:23 ---> Running in 42378a80eee4 21:28:23 Removing intermediate container 42378a80eee4 21:28:23 ---> c7984dbbb1b8 21:28:23 Step 24/25 : LABEL git_sha=9dfc239091c06783cce829082d854d848f20bec4 21:28:23 ---> Running in b795ff34da57 21:28:23 Removing intermediate container b795ff34da57 21:28:23 ---> 8fecef62af29 21:28:23 Step 25/25 : LABEL version=0.0.0 21:28:23 ---> Running in 5557d5308d0e 21:28:24 Removing intermediate container 5557d5308d0e 21:28:24 ---> 392e56d04370 21:28:24 [Warning] One or more build-args [ARCH MAKE] were not consumed 21:28:24 Successfully built 392e56d04370 21:28:24 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 21:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:24 21:28:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:28:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:25 latest: Pulling from edgex-lftools-log-publisher 21:28:25 5eb5b503b376: Pulling fs layer 21:28:25 5c69ac0246d0: Pulling fs layer 21:28:25 ec43610c2a17: Pulling fs layer 21:28:25 3a2ae6a8a46f: Pulling fs layer 21:28:25 33b1e0a273af: Pulling fs layer 21:28:25 5d3b04190fa2: Pulling fs layer 21:28:25 2f39f015ded8: Pulling fs layer 21:28:25 33b1e0a273af: Waiting 21:28:25 5d3b04190fa2: Waiting 21:28:25 2f39f015ded8: Waiting 21:28:25 3a2ae6a8a46f: Waiting 21:28:25 5c69ac0246d0: Verifying Checksum 21:28:25 5c69ac0246d0: Download complete 21:28:25 3a2ae6a8a46f: Verifying Checksum 21:28:25 3a2ae6a8a46f: Download complete 21:28:25 33b1e0a273af: Verifying Checksum 21:28:25 33b1e0a273af: Download complete 21:28:25 5d3b04190fa2: Verifying Checksum 21:28:25 5d3b04190fa2: Download complete 21:28:25 ec43610c2a17: Verifying Checksum 21:28:25 ec43610c2a17: Download complete 21:28:25 5eb5b503b376: Download complete 21:28:26 2f39f015ded8: Download complete 21:28:26 5eb5b503b376: Pull complete 21:28:26 5c69ac0246d0: Pull complete 21:28:27 ec43610c2a17: Pull complete 21:28:27 3a2ae6a8a46f: Pull complete 21:28:27 33b1e0a273af: Pull complete 21:28:27 5d3b04190fa2: Pull complete 21:28:31 2f39f015ded8: Pull complete 21:28:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:28:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:28:31 prd-ubuntu20.04-docker-8c-8g-63200 does not seem to be running inside a container 21:28:32 $ 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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:28:33 $ docker top 2d3709af07ba953b46fb8d9f8ad734d3cca4c80788129d86d6a2565cea7b7269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:34 ---> job-cost.sh 21:28:34 lf-activate-venv: SKIPPING 21:28:34 INFO: No Stack... 21:28:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:35 INFO: Archiving Costs [Pipeline] sh 21:28:35 + cat /w/workspace/edgexfoundry_device-gpio_PR-33/archives/cost.csv 21:28:35 + cut -d, -f6 [Pipeline] lock 21:28:35 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] 21:28:35 Resource [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] did not exist. Created. 21:28:35 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:28:35 + echo total: 0.2199999988079071 [Pipeline] stash 21:28:36 Stashed 1 file(s) [Pipeline] } 21:28:36 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:28:36 $ docker stop --time=1 2d3709af07ba953b46fb8d9f8ad734d3cca4c80788129d86d6a2565cea7b7269 21:28:37 $ docker rm -f 2d3709af07ba953b46fb8d9f8ad734d3cca4c80788129d86d6a2565cea7b7269 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:30:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63205 in /w/workspace/edgexfoundry_device-gpio_PR-33 [Pipeline] { [Pipeline] ws 21:30:17 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 21:30:18 The recommended git tool is: git 21:30:26 using credential edgex-jenkins-ssh 21:30:26 Cloning the remote Git repository 21:30:26 Cloning repository git@github.com:edgexfoundry/device-gpio.git 21:30:26 > git init /w/workspace/device-gpio/1 # timeout=10 21:30:26 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:30:26 > git --version # timeout=10 21:30:26 > git --version # 'git version 2.25.1' 21:30:26 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:29 Merging remotes/origin/main commit 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 into PR head commit 9dfc239091c06783cce829082d854d848f20bec4 21:30:29 Merge succeeded, producing 9dfc239091c06783cce829082d854d848f20bec4 21:30:29 Checking out Revision 9dfc239091c06783cce829082d854d848f20bec4 (PR-33) 21:30:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:30:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:30:28 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 21:30:28 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 21:30:28 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/33/head:refs/remotes/origin/PR-33 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:30:29 > git config core.sparsecheckout # timeout=10 21:30:29 > git checkout -f 9dfc239091c06783cce829082d854d848f20bec4 # timeout=10 21:30:29 > git remote # timeout=10 21:30:29 > git config --get remote.origin.url # timeout=10 21:30:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:30:29 > git merge 836c30204e0fb2e2a70ac35e45feaed0f2fb0741 # timeout=10 21:30:29 > git rev-parse HEAD^{commit} # timeout=10 21:30:29 > git config core.sparsecheckout # timeout=10 21:30:29 > git checkout -f 9dfc239091c06783cce829082d854d848f20bec4 # timeout=10 21:30:34 Commit message: "build(deps): bump github.com/spf13/cast from 1.3.1 to 1.5.0" 21:30:34 > git --version # timeout=10 21:30:34 > git --version # 'git version 2.25.1' 21:30:34 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:30:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:30:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:30:35 Dload Upload Total Spent Left Speed 21:30:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh 21:30:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:30:36 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 21:30:36 21:30:36 { 21:30:36 "registry-mirrors": [ 21:30:36 "https://nexus3.edgexfoundry.org:10001" 21:30:36 ], 21:30:36 "bip": "10.250.0.254/24", 21:30:36 "hosts": [ 21:30:36 "tcp://0.0.0.0:5555", 21:30:36 "unix:///var/run/docker.sock" 21:30:36 ], 21:30:36 "mtu": 1458, 21:30:36 "selinux-enabled": true, 21:30:36 "seccomp-profile": "/etc/docker/seccomp.json" 21:30:36 } [Pipeline] sh 21:30:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:30:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:30:55 provisioning config files... 21:30:55 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config5372917892205380533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:56 ---> docker-login.sh 21:30:56 nexus3.edgexfoundry.org:10001 21:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:57 Configure a credential helper to remove this warning. See 21:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:57 21:30:57 Login Succeeded 21:30:57 nexus3.edgexfoundry.org:10002 21:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:57 Configure a credential helper to remove this warning. See 21:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:57 21:30:57 Login Succeeded 21:30:57 nexus3.edgexfoundry.org:10003 21:30:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:58 Configure a credential helper to remove this warning. See 21:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:58 21:30:58 Login Succeeded 21:30:58 nexus3.edgexfoundry.org:10004 21:30:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:58 Configure a credential helper to remove this warning. See 21:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:58 21:30:58 Login Succeeded 21:30:58 docker.io 21:30:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:30:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:30:59 Configure a credential helper to remove this warning. See 21:30:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:30:59 21:30:59 Login Succeeded 21:30:59 ---> docker-login.sh ends [Pipeline] } 21:30:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:31:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:00 ========================================================= 21:31:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:31:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:31:00 + 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 . 21:31:00 Sending build context to Docker daemon 7.904MB 21:31:01 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:31:01 Step 2/11 : FROM ${BASE} AS builder 21:31:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:31:01 9b3977197b4f: Pulling fs layer 21:31:01 1a89e8eeedd5: Pulling fs layer 21:31:01 94645a83ff95: Pulling fs layer 21:31:01 3f3a8bcf1eab: Pulling fs layer 21:31:01 0c92f367c5e7: Pulling fs layer 21:31:01 3096ccb668a1: Pulling fs layer 21:31:01 e8cf19c19ddd: Pulling fs layer 21:31:01 a4caa8a26152: Pulling fs layer 21:31:01 3f3a8bcf1eab: Waiting 21:31:01 0c92f367c5e7: Waiting 21:31:01 3096ccb668a1: Waiting 21:31:01 e8cf19c19ddd: Waiting 21:31:01 a4caa8a26152: Waiting 21:31:01 94645a83ff95: Verifying Checksum 21:31:01 94645a83ff95: Download complete 21:31:01 1a89e8eeedd5: Verifying Checksum 21:31:01 1a89e8eeedd5: Download complete 21:31:01 0c92f367c5e7: Verifying Checksum 21:31:01 0c92f367c5e7: Download complete 21:31:01 3096ccb668a1: Verifying Checksum 21:31:01 3096ccb668a1: Download complete 21:31:01 9b3977197b4f: Verifying Checksum 21:31:01 9b3977197b4f: Download complete 21:31:01 e8cf19c19ddd: Verifying Checksum 21:31:01 e8cf19c19ddd: Download complete 21:31:01 9b3977197b4f: Pull complete 21:31:02 1a89e8eeedd5: Pull complete 21:31:02 94645a83ff95: Pull complete 21:31:03 a4caa8a26152: Download complete 21:31:04 3f3a8bcf1eab: Download complete 21:31:19 3f3a8bcf1eab: Pull complete 21:31:19 0c92f367c5e7: Pull complete 21:31:19 3096ccb668a1: Pull complete 21:31:19 e8cf19c19ddd: Pull complete 21:31:26 a4caa8a26152: Pull complete 21:31:26 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 21:31:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:31:26 ---> 725f1c02e7f9 21:31:26 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:31:28 ---> Running in 72a6b6580d7f 21:31:28 Removing intermediate container 72a6b6580d7f 21:31:28 ---> 1259c803059e 21:31:28 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 21:31:28 ---> Running in 22f218749909 21:31:28 Removing intermediate container 22f218749909 21:31:28 ---> 23fd18888af0 21:31:28 Step 5/11 : WORKDIR /device-gpio 21:31:28 ---> Running in 5efc0d564970 21:31:28 Removing intermediate container 5efc0d564970 21:31:28 ---> ea21cd728c0b 21:31:28 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:31:28 ---> Running in 2402a8d5c49d 21:31:30 Removing intermediate container 2402a8d5c49d 21:31:30 ---> 9da929576a5b 21:31:30 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:31:31 ---> Running in 0d042e20b5dc 21:31:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:31:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:31:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:31:34 (2/4) Installing libedit (20210910.3.1-r0) 21:31:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:31:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:31:34 Executing busybox-1.34.1-r3.trigger 21:31:34 OK: 224 MiB in 56 packages 21:31:35 Removing intermediate container 0d042e20b5dc 21:31:35 ---> 33171d397b4f 21:31:35 Step 8/11 : COPY go.mod vendor* ./ 21:31:36 ---> 395b2f4296ff 21:31:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:31:36 ---> Running in d95e8d34786a 21:33:13 Removing intermediate container d95e8d34786a 21:33:13 ---> 4c1f54199f43 21:33:13 Step 10/11 : COPY . . 21:33:13 ---> c0771a0828c0 21:33:13 Step 11/11 : RUN ${MAKE} 21:33:13 ---> Running in 0ef0e5920f62 21:33:13 Removing intermediate container 0ef0e5920f62 21:33:13 ---> 00d6d3ed9f6b 21:33:13 [Warning] One or more build-args [MAKE] were not consumed 21:33:13 Successfully built 00d6d3ed9f6b 21:33:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:33:13 + docker inspect -f . ci-base-image-arm64 21:33:13 . [Pipeline] withDockerContainer 21:33:14 prd-ubuntu20.04-docker-arm64-4c-16g-63205 does not seem to be running inside a container 21:33:14 $ 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 ******** ci-base-image-arm64 cat 21:33:15 $ docker top 0f3ba3616b08b84a2d9a9f75ac78b2b24907f1b5c38f191a0cb259fbb72f54c7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:16 + go version 21:33:16 go version go1.17.6 linux/arm64 [Pipeline] } 21:33:16 $ docker stop --time=1 0f3ba3616b08b84a2d9a9f75ac78b2b24907f1b5c38f191a0cb259fbb72f54c7 21:33:18 $ docker rm -f 0f3ba3616b08b84a2d9a9f75ac78b2b24907f1b5c38f191a0cb259fbb72f54c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:33:19 + docker inspect -f . ci-base-image-arm64 21:33:19 . [Pipeline] withDockerContainer 21:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-63205 does not seem to be running inside a container 21:33:19 $ 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 ******** ci-base-image-arm64 cat 21:33:21 $ docker top ea0638cab016a53087a25093a5e50953abf28c6e26abfbe155302400e0cae675 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:33:22 + make test 21:33:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:33:23 ? github.com/edgexfoundry/device-gpio [no test files] 21:34:32 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 21:34:32 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 21:34:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:34:32 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:34:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:34:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:34:44 ./bin/test-attribution-txt.sh [Pipeline] echo 21:34:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:34:45 $ docker stop --time=1 ea0638cab016a53087a25093a5e50953abf28c6e26abfbe155302400e0cae675 21:34:47 $ docker rm -f ea0638cab016a53087a25093a5e50953abf28c6e26abfbe155302400e0cae675 [Pipeline] // withDockerContainer [Pipeline] sh 21:34:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:34:48 Warning: overwriting stash ‘coverage-report’ 21:34:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:34:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:34:50 + ls -al . 21:34:50 total 172 21:34:50 drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:34 . 21:34:50 drwxrwxr-x 4 jenkins jenkins 4096 May 11 21:30 .. 21:34:50 -rw-rw-r-- 1 jenkins jenkins 120 May 11 21:30 .dockerignore 21:34:50 drwxrwxr-x 8 jenkins jenkins 4096 May 11 21:30 .git 21:34:50 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:30 .github 21:34:50 -rw-rw-r-- 1 jenkins jenkins 343 May 11 21:30 .gitignore 21:34:50 -rw-rw-r-- 1 jenkins jenkins 41 May 11 21:30 .golangci.yml 21:34:50 -rw-rw-r-- 1 jenkins jenkins 7772 May 11 21:30 Attribution.txt 21:34:50 -rw-rw-r-- 1 jenkins jenkins 2256 May 11 21:30 CHANGELOG.md 21:34:50 -rw-rw-r-- 1 jenkins jenkins 1846 May 11 21:30 Dockerfile 21:34:50 -rw-rw-r-- 1 jenkins jenkins 677 May 11 21:30 GOVERNANCE.md 21:34:50 -rw-rw-r-- 1 jenkins jenkins 657 May 11 21:30 Jenkinsfile 21:34:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 21:30 LICENSE 21:34:50 -rw-rw-r-- 1 jenkins jenkins 1876 May 11 21:30 Makefile 21:34:50 -rw-rw-r-- 1 jenkins jenkins 617 May 11 21:30 OWNERS.md 21:34:50 -rw-rw-r-- 1 jenkins jenkins 11178 May 11 21:30 README.md 21:34:50 -rw-rw-r-- 1 jenkins jenkins 5 May 11 21:27 VERSION 21:34:50 drwxrwxr-x 2 jenkins jenkins 4096 May 11 21:30 bin 21:34:50 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:30 cmd 21:34:50 -rw-r--r-- 1 jenkins jenkins 10 May 11 21:33 coverage.out 21:34:50 -rw-rw-r-- 1 jenkins jenkins 2794 May 11 21:30 go.mod 21:34:50 -rw-rw-r-- 1 jenkins jenkins 56554 May 11 21:30 go.sum 21:34:50 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:30 internal 21:34:50 drwxrwxr-x 3 jenkins jenkins 4096 May 11 21:30 snap 21:34:50 -rw-rw-r-- 1 jenkins jenkins 209 May 11 21:30 version.go [Pipeline] isUnix [Pipeline] sh 21:34:50 + 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=9dfc239091c06783cce829082d854d848f20bec4 --label arch=arm64 --label version=0.0.0 . 21:34:51 Sending build context to Docker daemon 7.905MB 21:34:51 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:34:51 Step 2/25 : FROM ${BASE} AS builder 21:34:51 ---> 00d6d3ed9f6b 21:34:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:34:51 ---> Running in 4b287e7400e9 21:34:51 Removing intermediate container 4b287e7400e9 21:34:51 ---> 955614051634 21:34:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:34:51 ---> Running in 4392cc3cfa80 21:34:51 Removing intermediate container 4392cc3cfa80 21:34:51 ---> 11ba699d60e8 21:34:51 Step 5/25 : WORKDIR /device-gpio 21:34:52 ---> Running in 88ea7a7db709 21:34:52 Removing intermediate container 88ea7a7db709 21:34:52 ---> f63c5190f77c 21:34:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:34:52 ---> Running in ddb9ca68945b 21:34:54 Removing intermediate container ddb9ca68945b 21:34:54 ---> 0f6b258ee0ee 21:34:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:54 ---> Running in d13073c46f33 21:34:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:34:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:34:57 OK: 224 MiB in 56 packages 21:34:58 Removing intermediate container d13073c46f33 21:34:58 ---> 6b4dad21e778 21:34:58 Step 8/25 : COPY go.mod vendor* ./ 21:34:59 ---> 5a9470a5a4d4 21:34:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:59 ---> Running in e1e4bb3c73f6 21:35:01 Removing intermediate container e1e4bb3c73f6 21:35:01 ---> ed8f921e523d 21:35:01 Step 10/25 : COPY . . 21:35:02 ---> e7b31b0f194f 21:35:02 Step 11/25 : RUN ${MAKE} 21:35:02 ---> Running in 8a600c10a487 21:35:04 Removing intermediate container 8a600c10a487 21:35:04 ---> 7be873a2135d 21:35:04 Step 12/25 : FROM alpine:3.15 21:35:05 3.15: Pulling from library/alpine 21:35:05 9981e73032c8: Pulling fs layer 21:35:05 9981e73032c8: Verifying Checksum 21:35:05 9981e73032c8: Download complete 21:35:06 9981e73032c8: Pull complete 21:35:06 Digest: sha256:4edbd2beb5f78b1014028f4fbb99f3237d9561100b6881aabbf5acce2c4f9454 21:35:06 Status: Downloaded newer image for alpine:3.15 21:35:06 ---> 3fb3c9af89a9 21:35:06 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 21:35:06 ---> Running in c7ce5c3c9d5d 21:35:07 Removing intermediate container c7ce5c3c9d5d 21:35:07 ---> 00b2ae2eca05 21:35:07 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:35:07 ---> Running in 765feeef4c5a 21:35:09 Removing intermediate container 765feeef4c5a 21:35:09 ---> b5bd976c3d8c 21:35:09 Step 15/25 : RUN apk add --update --no-cache zeromq 21:35:09 ---> Running in d242312cefcd 21:35:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:35:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:35:12 (1/5) Installing libgcc (10.3.1_git20211027-r0) 21:35:12 (2/5) Installing libsodium (1.0.18-r0) 21:35:12 (3/5) Installing libstdc++ (10.3.1_git20211027-r0) 21:35:12 (4/5) Installing libzmq (4.3.4-r0) 21:35:12 (5/5) Installing zeromq (4.3.4-r0) 21:35:12 Executing busybox-1.34.1-r5.trigger 21:35:12 OK: 8 MiB in 19 packages 21:35:13 Removing intermediate container d242312cefcd 21:35:13 ---> c682d6d6622b 21:35:13 Step 16/25 : WORKDIR / 21:35:13 ---> Running in 6bbfd5fa4d22 21:35:14 Removing intermediate container 6bbfd5fa4d22 21:35:14 ---> d3c23588383d 21:35:14 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 21:35:14 ---> b0fbe7d961a2 21:35:14 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 21:35:15 ---> e9fcd55a9dd9 21:35:15 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 21:35:15 ---> ad77ecf6de92 21:35:15 Step 20/25 : EXPOSE 59910 21:35:16 ---> Running in 6be42880d45f 21:35:16 Removing intermediate container 6be42880d45f 21:35:16 ---> 46e18ab705c7 21:35:16 Step 21/25 : ENTRYPOINT ["/device-gpio"] 21:35:16 ---> Running in 7c0c7ffc722c 21:35:16 Removing intermediate container 7c0c7ffc722c 21:35:16 ---> f5ae81774e71 21:35:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:35:17 ---> Running in 3fc1f4ff5e59 21:35:17 Removing intermediate container 3fc1f4ff5e59 21:35:17 ---> 19abc12b23ac 21:35:17 Step 23/25 : LABEL arch=arm64 21:35:17 ---> Running in 471c23f3a847 21:35:17 Removing intermediate container 471c23f3a847 21:35:17 ---> a53a99c308cf 21:35:17 Step 24/25 : LABEL git_sha=9dfc239091c06783cce829082d854d848f20bec4 21:35:17 ---> Running in 903cbaf9f67c 21:35:18 Removing intermediate container 903cbaf9f67c 21:35:18 ---> bb304f3b5e3b 21:35:18 Step 25/25 : LABEL version=0.0.0 21:35:18 ---> Running in b3f0b183569a 21:35:18 Removing intermediate container b3f0b183569a 21:35:18 ---> e1fcea4e5d9e 21:35:18 [Warning] One or more build-args [MAKE ARCH] were not consumed 21:35:18 Successfully built e1fcea4e5d9e 21:35:18 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 21:35:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:19 21:35:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:35:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:20 arm64: Pulling from edgex-lftools-log-publisher 21:35:20 8998bd30e6a1: Pulling fs layer 21:35:20 04944245beec: Pulling fs layer 21:35:20 699f458cf7ca: Pulling fs layer 21:35:20 765212b225bb: Pulling fs layer 21:35:20 f23df028b6ca: Pulling fs layer 21:35:20 d65c8cfc05b1: Pulling fs layer 21:35:20 2437ff75d9bd: Pulling fs layer 21:35:20 765212b225bb: Waiting 21:35:20 f23df028b6ca: Waiting 21:35:20 d65c8cfc05b1: Waiting 21:35:20 2437ff75d9bd: Waiting 21:35:20 04944245beec: Verifying Checksum 21:35:20 04944245beec: Download complete 21:35:20 765212b225bb: Verifying Checksum 21:35:20 765212b225bb: Download complete 21:35:20 f23df028b6ca: Verifying Checksum 21:35:20 f23df028b6ca: Download complete 21:35:20 d65c8cfc05b1: Verifying Checksum 21:35:20 d65c8cfc05b1: Download complete 21:35:20 699f458cf7ca: Verifying Checksum 21:35:20 699f458cf7ca: Download complete 21:35:20 8998bd30e6a1: Download complete 21:35:23 2437ff75d9bd: Verifying Checksum 21:35:23 2437ff75d9bd: Download complete 21:35:25 8998bd30e6a1: Pull complete 21:35:25 04944245beec: Pull complete 21:35:27 699f458cf7ca: Pull complete 21:35:27 765212b225bb: Pull complete 21:35:28 f23df028b6ca: Pull complete 21:35:28 d65c8cfc05b1: Pull complete 21:35:44 2437ff75d9bd: Pull complete 21:35:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:35:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:35:44 prd-ubuntu20.04-docker-arm64-4c-16g-63205 does not seem to be running inside a container 21:35:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:35:47 $ docker top 6b1e4b4f7dfa0288fea6e316a0d43a50969098d75ac5eabc317670f28437bddd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:35:48 ---> job-cost.sh 21:35:48 lf-activate-venv: SKIPPING 21:35:48 INFO: No Stack... 21:35:49 INFO: Retrieving Pricing Info for: v3-standard-4 21:35:50 INFO: Archiving Costs [Pipeline] sh 21:35:50 + cat /w/workspace/device-gpio/1/archives/cost.csv 21:35:50 + cut -d, -f6 [Pipeline] lock 21:35:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] 21:35:50 Resource [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] did not exist. Created. 21:35:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:35:51 /w/workspace/device-gpio/1@tmp/durable-3973879f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:35:52 + echo total: 0.10999999940395355 [Pipeline] stash 21:35:52 Warning: overwriting stash ‘stack-cost’ 21:35:52 Stashed 1 file(s) [Pipeline] } 21:35:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-33-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:35:52 $ docker stop --time=1 6b1e4b4f7dfa0288fea6e316a0d43a50969098d75ac5eabc317670f28437bddd 21:35:54 $ docker rm -f 6b1e4b4f7dfa0288fea6e316a0d43a50969098d75ac5eabc317670f28437bddd [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 21:35:55 provisioning config files... 21:35:55 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config2510073172799104604tmp [Pipeline] { [Pipeline] sh 21:35:55 + set +x 21:35:55 + curl -s https://codecov.io/bash 21:35:55 + bash -s -- 21:35:55 21:35:55 _____ _ 21:35:55 / ____| | | 21:35:55 | | ___ __| | ___ ___ _____ __ 21:35:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:35:55 | |___| (_) | (_| | __/ (_| (_) \ V / 21:35:55 \_____\___/ \__,_|\___|\___\___/ \_/ 21:35:55 Bash-1.0.6 21:35:55 21:35:55 21:35:55 ==> git version 2.25.1 found 21:35:55 ==> 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 21:35:55 Release-Date: 2020-01-08 21:35:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:35:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:35:55 ==> Jenkins CI detected. 21:35:55 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-33 21:35:55 project root: . 21:35:55 --> token set from env 21:35:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:35:55 ==> Running gcov in . (disable via -X gcov) 21:35:55 ==> Python coveragepy not found 21:35:55 ==> Searching for coverage reports in: 21:35:55 + . 21:35:55 -> Found 1 reports 21:35:55 ==> Detecting git/mercurial file structure 21:35:55 ==> Reading reports 21:35:55 + ./coverage.out bytes=10 21:35:55 ==> Appending adjustments 21:35:55 https://docs.codecov.io/docs/fixing-reports 21:35:55 + Found adjustments 21:35:55 ==> Gzipping contents 21:35:55 4.0K /tmp/codecov.1GzGVK.gz 21:35:55 ==> Uploading reports 21:35:55 url: https://codecov.io 21:35:55 query: branch=PR-33&commit=9dfc239091c06783cce829082d854d848f20bec4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= 21:35:55 -> Pinging Codecov 21:35: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-33&commit=9dfc239091c06783cce829082d854d848f20bec4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-33%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=33&job=&cmd_args= 21:35:56 -> Uploading to 21:35:56 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9dfc239091c06783cce829082d854d848f20bec4/894c7997-3298-4cda-a0b2-f0141c41357b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T213556Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8798b5ecca27fe1e43ee5cb3430dc5514a336b9622a3e34044adefe92fb14839 21:35:56 % Total % Received % Xferd Average Speed Time Time Time Current 21:35:56 Dload Upload Total Spent Left Speed 21:35:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3764 --:--:-- --:--:-- --:--:-- 3764 100 832 0 0 100 832 0 3224 --:--:-- --:--:-- --:--:-- 3212 21:35:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/9dfc239091c06783cce829082d854d848f20bec4 [Pipeline] } 21:35:56 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 21:35:58 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-33/archives ] 21:35:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives 21:35:58 total 16 21:35:58 drwxr-xr-x 3 root root 4096 May 11 21:28 . 21:35:58 drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:28 .. 21:35:58 drwxr-xr-x 2 root root 4096 May 11 21:28 cost 21:35:58 -rw-r--r-- 1 root root 81 May 11 21:28 cost.csv 21:35:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-33/archives 21:35:58 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-33/archives 21:35:58 total 16 21:35:58 drwxr-xr-x 3 jenkins jenkins 4096 May 11 21:28 . 21:35:58 drwxrwxr-x 10 jenkins jenkins 4096 May 11 21:28 .. 21:35:58 drwxr-xr-x 2 jenkins jenkins 4096 May 11 21:28 cost 21:35:58 -rw-r--r-- 1 jenkins jenkins 81 May 11 21:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:35:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:35:59 ---> package-listing.sh 21:35:59 ++ facter osfamily 21:35:59 ++ tr '[:upper:]' '[:lower:]' 21:35:59 + OS_FAMILY=debian 21:35:59 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-33 21:35:59 + START_PACKAGES=/tmp/packages_start.txt 21:35:59 + END_PACKAGES=/tmp/packages_end.txt 21:35:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:35:59 + PACKAGES=/tmp/packages_start.txt 21:35:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' 21:35:59 + PACKAGES=/tmp/packages_end.txt 21:35:59 + case "${OS_FAMILY}" in 21:35:59 + dpkg -l 21:35:59 + grep '^ii' 21:35:59 + '[' -f /tmp/packages_start.txt ']' 21:35:59 + '[' -f /tmp/packages_end.txt ']' 21:35:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:35:59 + '[' /w/workspace/edgexfoundry_device-gpio_PR-33 ']' 21:35:59 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ 21:35:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-33/archives/ [Pipeline] echo 21:35:59 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-33/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:36:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:36:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:36:00 . [Pipeline] withDockerContainer 21:36:00 prd-ubuntu20.04-docker-8c-8g-63200 does not seem to be running inside a container 21:36:00 $ 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-33/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-33 -v /w/workspace/edgexfoundry_device-gpio_PR-33:/w/workspace/edgexfoundry_device-gpio_PR-33:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-33@tmp:/w/workspace/edgexfoundry_device-gpio_PR-33@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:36:01 $ docker top e014df10ebcb32c04731ef30d128770f41c796f6d267f3d1cd7ee825443c58fb -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:01 + touch /tmp/pre-build-complete [Pipeline] sh 21:36:01 + mkdir -p /var/log/sysstat [Pipeline] sh 21:36:02 + ls /var/log/sa-host 21:36:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:02 provisioning config files... 21:36:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-33@tmp/config6586729738350117094tmp [Pipeline] { [Pipeline] echo 21:36:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:36:02 ---> create-netrc.sh [Pipeline] } 21:36:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:36:03 ---> python-tools-install.sh [Pipeline] echo 21:36:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:36:03 ---> sudo-logs.sh 21:36:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:36:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:36:03 ---> job-cost.sh 21:36:03 lf-activate-venv: SKIPPING 21:36:03 DEBUG: total: 0.2199999988079071 21:36:03 INFO: Retrieving Stack Cost... 21:36:04 INFO: Retrieving Pricing Info for: v3-standard-8 21:36:04 INFO: Archiving Costs [Pipeline] echo 21:36:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:36:05 ---> logs-deploy.sh 21:36:05 lf-activate-venv: SKIPPING 21:36:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-33/1 21:36:05 INFO: archiving workspace using pattern(s): 21:36:06 Archives upload complete. 21:36:06 INFO: archiving logs to Nexus