Pull request #120 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-gpio Obtained Jenkinsfile from 6750e3f6360702d892424e48133ca74aeb5018e9+192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (05e73970632590534aa7dab90ef9dd760555de77) 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-ssh7301216948122904073.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10403240024458954490.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6557113672582840495.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-120/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12983667999070580690.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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 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-ssh8385045796216387783.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-120/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-120/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15540987032972788016.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8859 in /w/workspace/edgexfoundry_device-gpio_PR-120 [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-120 # 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 > 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/120/head:refs/remotes/origin/PR-120 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 6750e3f6360702d892424e48133ca74aeb5018e9 Merge succeeded, producing 6750e3f6360702d892424e48133ca74aeb5018e9 Checking out Revision 6750e3f6360702d892424e48133ca74aeb5018e9 (PR-120) > git config core.sparsecheckout # timeout=10 > git checkout -f 6750e3f6360702d892424e48133ca74aeb5018e9 # 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 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6750e3f6360702d892424e48133ca74aeb5018e9 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:59:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:59:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:59:51 ========================================================= 18:59:51 EdgeX Global Pipelines Version Info 18:59:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:59:52 ------------------- 18:59:52 stable info: 18:59:52 ------------------- 18:59:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:59:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:59:52 Message: update stable to v1.0.244 18:59:52 ------------------- 18:59:52 experimental info: 18:59:52 ------------------- 18:59:52 Commited By: **** collab-it+edgex@linuxfoundation.org 18:59:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:59:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:59:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-120 [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-120 [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-120 [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6750e3f6360702d892424e48133ca74aeb5018e9 [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6750e3f [Pipeline] echo 18:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:59:54 provisioning config files... 18:59:54 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/config4455094298998334172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:59:54 ---> docker-login.sh 18:59:54 nexus3.edgexfoundry.org:10001 18:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:55 Configure a credential helper to remove this warning. See 18:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:55 18:59:55 Login Succeeded 18:59:55 nexus3.edgexfoundry.org:10002 18:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:55 Configure a credential helper to remove this warning. See 18:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:55 18:59:55 Login Succeeded 18:59:55 nexus3.edgexfoundry.org:10003 18:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:55 Configure a credential helper to remove this warning. See 18:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:55 18:59:55 Login Succeeded 18:59:55 nexus3.edgexfoundry.org:10004 18:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:55 Configure a credential helper to remove this warning. See 18:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:55 18:59:55 Login Succeeded 18:59:55 docker.io 18:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:59:55 Configure a credential helper to remove this warning. See 18:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:59:55 18:59:55 Login Succeeded 18:59:55 ---> docker-login.sh ends [Pipeline] } 18:59:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:59:56 + git rev-list -1 --merges 6750e3f6360702d892424e48133ca74aeb5018e9~1..6750e3f6360702d892424e48133ca74aeb5018e9 [Pipeline] echo 18:59:56 -----------> git rev-list -1 --merges 6750e3f6360702d892424e48133ca74aeb5018e9~1..6750e3f6360702d892424e48133ca74aeb5018e9 6750e3f6360702d892424e48133ca74aeb5018e9 [false] [Pipeline] sh 18:59:56 + git log --format=format:%s -1 6750e3f6360702d892424e48133ca74aeb5018e9 [Pipeline] echo 18:59:56 ========================================================= 18:59:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:59:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:57 + git log --format=format:%s -1 6750e3f6360702d892424e48133ca74aeb5018e9 [Pipeline] echo 18:59:57 [semverPrep] GIT_COMMIT: 6750e3f6360702d892424e48133ca74aeb5018e9, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo 18:59:57 [semverPrep] This is not a build commit. [Pipeline] sh 18:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:59:57 + grep -v github /etc/ssh/ssh_known_hosts 18:59:57 + [ -e /tmp/ssh_known_hosts ] 18:59:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:59:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:59:57 + sudo tee -a /etc/ssh/ssh_known_hosts 18:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:58 18:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:59:58 0.1.4: Pulling from edgex-devops/py-git-semver 18:59:58 b85a868b505f: Pulling fs layer 18:59:58 e2be974225ed: Pulling fs layer 18:59:58 339a4e72a1f5: Pulling fs layer 18:59:58 988bab9f4d93: Pulling fs layer 18:59:58 1469e6f7b9e6: Pulling fs layer 18:59:58 eaf3925da568: Pulling fs layer 18:59:58 bab4dde63d76: Pulling fs layer 18:59:58 bde34c3a00c8: Pulling fs layer 18:59:58 b352a97aabf1: Pulling fs layer 18:59:58 4872d77fe225: Pulling fs layer 18:59:58 5851b861e8e6: Pulling fs layer 18:59:58 4872d77fe225: Waiting 18:59:58 bab4dde63d76: Waiting 18:59:58 5851b861e8e6: Waiting 18:59:58 1469e6f7b9e6: Waiting 18:59:58 b352a97aabf1: Waiting 18:59:58 bde34c3a00c8: Waiting 18:59:58 eaf3925da568: Waiting 18:59:58 988bab9f4d93: Waiting 18:59:58 e2be974225ed: Verifying Checksum 18:59:58 988bab9f4d93: Verifying Checksum 18:59:58 988bab9f4d93: Download complete 18:59:58 1469e6f7b9e6: Verifying Checksum 18:59:58 1469e6f7b9e6: Download complete 18:59:58 339a4e72a1f5: Verifying Checksum 18:59:58 339a4e72a1f5: Download complete 18:59:58 eaf3925da568: Verifying Checksum 18:59:58 eaf3925da568: Download complete 18:59:58 bde34c3a00c8: Download complete 18:59:58 b352a97aabf1: Download complete 18:59:58 4872d77fe225: Download complete 18:59:58 5851b861e8e6: Download complete 18:59:59 b85a868b505f: Verifying Checksum 18:59:59 b85a868b505f: Download complete 18:59:59 bab4dde63d76: Verifying Checksum 18:59:59 bab4dde63d76: Download complete 19:00:00 b85a868b505f: Pull complete 19:00:00 e2be974225ed: Pull complete 19:00:00 339a4e72a1f5: Pull complete 19:00:00 988bab9f4d93: Pull complete 19:00:01 1469e6f7b9e6: Pull complete 19:00:01 eaf3925da568: Pull complete 19:00:03 bab4dde63d76: Pull complete 19:00:03 bde34c3a00c8: Pull complete 19:00:03 b352a97aabf1: Pull complete 19:00:03 4872d77fe225: Pull complete 19:00:03 5851b861e8e6: Pull complete 19:00:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:00:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:03 prd-ubuntu20.04-docker-8c-8g-8859 does not seem to be running inside a container 19:00:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-120 -v /w/workspace/edgexfoundry_device-gpio_PR-120:/w/workspace/edgexfoundry_device-gpio_PR-120:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-120@tmp:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:00:05 $ docker top 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c -eo pid,comm 19:00:05 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). 19:00:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:00:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:05 [ssh-agent] Looking for ssh-agent implementation... 19:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:05 $ docker exec 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c ssh-agent 19:00:05 SSH_AUTH_SOCK=/tmp/ssh-PhDt8S8HC3rE/agent.33 19:00:05 SSH_AGENT_PID=39 19:00:05 Running ssh-add (command line suppressed) 19:00:05 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-120@tmp/private_key_7561186804415932218.key (/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/private_key_7561186804415932218.key) 19:00:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:06 + git tag --points-at HEAD [Pipeline] } 19:00:06 $ docker exec --env ******** --env ******** 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c ssh-agent -k 19:00:06 unset SSH_AUTH_SOCK; 19:00:06 unset SSH_AGENT_PID; 19:00:06 echo Agent pid 39 killed; 19:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:00:06 [ssh-agent] Looking for ssh-agent implementation... 19:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:00:06 $ docker exec 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c ssh-agent 19:00:06 SSH_AUTH_SOCK=/tmp/ssh-23Sz8m2biVdH/agent.71 19:00:06 SSH_AGENT_PID=77 19:00:06 Running ssh-add (command line suppressed) 19:00:06 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-120@tmp/private_key_16942925048970172015.key (/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/private_key_16942925048970172015.key) 19:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:00:06 + git semver init 19:00:07 2023-03-08 19:00:07,117 [run_init] DEBUG init version:0.0.0 force:False 19:00:07 2023-03-08 19:00:07,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-120/.semver 19:00:07 2023-03-08 19:00:07,119 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-120/.semver 19:00:07 2023-03-08 19:00:07,119 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-120/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-120, universal_newlines=False, shell=None, istream=None) 19:00:08 2023-03-08 19:00:08,070 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-120/.git/info/exclude 19:00:08 2023-03-08 19:00:08,071 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-120/.semver/PR-120 with force:False 19:00:08 2023-03-08 19:00:08,071 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-120/.semver/PR-120 19:00:08 2023-03-08 19:00:08,074 [execute] INFO git cat-file --batch-check 19:00:08 2023-03-08 19:00:08,074 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-120/.semver, universal_newlines=False, shell=None, istream=) 19:00:08 2023-03-08 19:00:08,081 [execute] INFO git cat-file --batch 19:00:08 2023-03-08 19:00:08,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-120/.semver, universal_newlines=False, shell=None, istream=) 19:00:08 2023-03-08 19:00:08,088 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-120/.semver/PR-120 19:00:08 0.0.0 [Pipeline] } 19:00:08 $ docker exec --env ******** --env ******** 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c ssh-agent -k 19:00:08 unset SSH_AUTH_SOCK; 19:00:08 unset SSH_AGENT_PID; 19:00:08 echo Agent pid 77 killed; 19:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:00:08 + git semver [Pipeline] } 19:00:08 $ docker stop --time=1 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c 19:00:10 $ docker rm -f --volumes 71b606a3d6c87d471d70da430a266f407477c81938d742ab443a2c4c9569243c [Pipeline] // withDockerContainer [Pipeline] sh 19:00:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:00:10 Stashed 1 file(s) [Pipeline] echo 19:00:10 [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 19:00:11 provisioning config files... 19:00:11 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/config10849046267273418707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:00:11 ---> docker-login.sh 19:00:11 nexus3.edgexfoundry.org:10001 19:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:11 Configure a credential helper to remove this warning. See 19:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:11 19:00:11 Login Succeeded 19:00:11 nexus3.edgexfoundry.org:10002 19:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:11 Configure a credential helper to remove this warning. See 19:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:11 19:00:11 Login Succeeded 19:00:11 nexus3.edgexfoundry.org:10003 19:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:12 Configure a credential helper to remove this warning. See 19:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:12 19:00:12 Login Succeeded 19:00:12 nexus3.edgexfoundry.org:10004 19:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:12 Configure a credential helper to remove this warning. See 19:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:12 19:00:12 Login Succeeded 19:00:12 docker.io 19:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:00:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:00:14 Configure a credential helper to remove this warning. See 19:00:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:00:14 19:00:14 Login Succeeded 19:00:14 ---> docker-login.sh ends [Pipeline] } 19:00:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:00:14 ========================================================= 19:00:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:00:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:00:15 Sending build context to Docker daemon 16.06MB 19:00:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:00:15 Step 2/12 : FROM ${BASE} AS builder 19:00:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:00:15 213ec9aee27d: Pulling fs layer 19:00:15 4583459ba037: Pulling fs layer 19:00:15 93c1e223e6f2: Pulling fs layer 19:00:15 53926ce57604: Pulling fs layer 19:00:15 21b2b0c7a3f4: Pulling fs layer 19:00:15 22ff95d597cd: Pulling fs layer 19:00:15 12d6caf4c0d1: Pulling fs layer 19:00:15 96b7cbca73a9: Pulling fs layer 19:00:15 a7acece74701: Pulling fs layer 19:00:15 21b2b0c7a3f4: Waiting 19:00:15 22ff95d597cd: Waiting 19:00:15 12d6caf4c0d1: Waiting 19:00:15 96b7cbca73a9: Waiting 19:00:15 a7acece74701: Waiting 19:00:15 53926ce57604: Waiting 19:00:15 93c1e223e6f2: Verifying Checksum 19:00:15 93c1e223e6f2: Download complete 19:00:15 4583459ba037: Download complete 19:00:15 22ff95d597cd: Download complete 19:00:15 213ec9aee27d: Verifying Checksum 19:00:15 213ec9aee27d: Download complete 19:00:15 12d6caf4c0d1: Download complete 19:00:15 213ec9aee27d: Pull complete 19:00:15 4583459ba037: Pull complete 19:00:15 93c1e223e6f2: Pull complete 19:00:16 a7acece74701: Verifying Checksum 19:00:16 a7acece74701: Download complete 19:00:16 96b7cbca73a9: Verifying Checksum 19:00:16 96b7cbca73a9: Download complete 19:00:16 53926ce57604: Verifying Checksum 19:00:16 53926ce57604: Download complete 19:00:20 53926ce57604: Pull complete 19:00:20 21b2b0c7a3f4: Pull complete 19:00:20 22ff95d597cd: Pull complete 19:00:20 12d6caf4c0d1: Pull complete 19:00:22 96b7cbca73a9: Pull complete 19:00:23 a7acece74701: Pull complete 19:00:23 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:00:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:00:23 ---> db6d94c90886 19:00:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:00:25 ---> Running in 3d2ab6074c4e 19:00:25 Removing intermediate container 3d2ab6074c4e 19:00:25 ---> 017210ea438f 19:00:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:00:25 ---> Running in 822d8641c735 19:00:25 Removing intermediate container 822d8641c735 19:00:25 ---> 24ce9a5d7e1b 19:00:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 19:00:25 ---> Running in 1c2f3a6429d5 19:00:25 Removing intermediate container 1c2f3a6429d5 19:00:25 ---> 30d1aa0fc64e 19:00:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:00:25 ---> Running in db962b72d41d 19:00:25 Removing intermediate container db962b72d41d 19:00:25 ---> d5d05f8e5de3 19:00:25 Step 7/12 : WORKDIR /device-gpio 19:00:25 ---> Running in 112e517a9779 19:00:25 Removing intermediate container 112e517a9779 19:00:25 ---> 17cb21a9c227 19:00:25 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:00:25 ---> Running in 01b6bbdf468d 19:00:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:00:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:00:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:00:26 (2/4) Installing libedit (20210910.3.1-r0) 19:00:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:00:26 Still waiting to schedule task 19:00:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:00:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:00:26 Executing busybox-1.35.0-r17.trigger 19:00:26 OK: 216 MiB in 55 packages 19:00:26 Removing intermediate container 01b6bbdf468d 19:00:26 ---> 006eae5bb7fc 19:00:26 Step 9/12 : COPY go.mod vendor* ./ 19:00:26 ---> 13f090b2b780 19:00:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:26 ---> Running in 1775eba7fc4c 19:00:53 Removing intermediate container 1775eba7fc4c 19:00:53 ---> f9a6447fe3ba 19:00:53 Step 11/12 : COPY . . 19:00:53 ---> 837dc70b5e8b 19:00:53 Step 12/12 : RUN ${MAKE} 19:00:53 ---> Running in 257c714614ad 19:00:53 noop 19:00:53 Removing intermediate container 257c714614ad 19:00:53 ---> 6fcf9130cc03 19:00:53 Successfully built 6fcf9130cc03 19:00:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:54 + docker inspect -f . ci-base-image-x86_64 19:00:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:54 prd-ubuntu20.04-docker-8c-8g-8859 does not seem to be running inside a container 19:00:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-120 -v /w/workspace/edgexfoundry_device-gpio_PR-120:/w/workspace/edgexfoundry_device-gpio_PR-120:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-120@tmp:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:54 $ docker top 3ebd066119d4bf2d7b8e5805eaef782920e47841b87ea7b13a4d0894e0e52fb6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:55 + go version 19:00:55 go version go1.18.7 linux/amd64 [Pipeline] } 19:00:55 $ docker stop --time=1 3ebd066119d4bf2d7b8e5805eaef782920e47841b87ea7b13a4d0894e0e52fb6 19:00:56 $ docker rm -f --volumes 3ebd066119d4bf2d7b8e5805eaef782920e47841b87ea7b13a4d0894e0e52fb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:00:57 + docker inspect -f . ci-base-image-x86_64 19:00:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:00:57 prd-ubuntu20.04-docker-8c-8g-8859 does not seem to be running inside a container 19:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_PR-120 -v /w/workspace/edgexfoundry_device-gpio_PR-120:/w/workspace/edgexfoundry_device-gpio_PR-120:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-120@tmp:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:00:57 $ docker top 9151de05cbedc5ceca42883442eb86d1a7519753530afe457ea3c2311383e956 -eo pid,comm [Pipeline] { [Pipeline] sh 19:00:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-120 [Pipeline] fileExists [Pipeline] sh 19:00:58 + make test 19:00:58 go test ./... -coverprofile=coverage.out ./... 19:00:58 ? github.com/edgexfoundry/device-gpio [no test files] 19:01:08 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:01:08 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:01:15 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 19:01:15 go vet ./... 19:01:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:01:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:01:17 ./bin/test-attribution-txt.sh [Pipeline] echo 19:01:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:01:17 $ docker stop --time=1 9151de05cbedc5ceca42883442eb86d1a7519753530afe457ea3c2311383e956 19:01:19 $ docker rm -f --volumes 9151de05cbedc5ceca42883442eb86d1a7519753530afe457ea3c2311383e956 [Pipeline] // withDockerContainer [Pipeline] sh 19:01:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:01:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:01:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:01:21 + ls -al . 19:01:21 total 160 19:01:21 drwxrwxr-x 9 jenkins jenkins 4096 Mar 8 19:00 . 19:01:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:59 .. 19:01:21 -rw-rw-r-- 1 jenkins jenkins 120 Mar 8 18:59 .dockerignore 19:01:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:01 .git 19:01:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:59 .github 19:01:21 -rw-rw-r-- 1 jenkins jenkins 343 Mar 8 18:59 .gitignore 19:01:21 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 18:59 .golangci.yml 19:01:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 19:00 .semver 19:01:21 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 8 18:59 Attribution.txt 19:01:21 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 8 18:59 CHANGELOG.md 19:01:21 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 8 18:59 Dockerfile 19:01:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 18:59 GOVERNANCE.md 19:01:21 -rw-rw-r-- 1 jenkins jenkins 657 Mar 8 18:59 Jenkinsfile 19:01:21 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 18:59 LICENSE 19:01:21 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 8 18:59 Makefile 19:01:21 -rw-rw-r-- 1 jenkins jenkins 617 Mar 8 18:59 OWNERS.md 19:01:21 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 8 18:59 README.md 19:01:21 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 19:00 VERSION 19:01:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 18:59 bin 19:01:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:59 cmd 19:01:21 -rw-r--r-- 1 jenkins jenkins 10 Mar 8 19:00 coverage.out 19:01:21 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 8 18:59 go.mod 19:01:21 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 8 18:59 go.sum 19:01:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 18:59 internal 19:01:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 18:59 snap 19:01:21 -rw-rw-r-- 1 jenkins jenkins 209 Mar 8 18:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:21 + 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=6750e3f6360702d892424e48133ca74aeb5018e9 --label arch=amd64 --label version=0.0.0 . 19:01:21 Sending build context to Docker daemon 16.06MB 19:01:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:01:21 Step 2/25 : FROM ${BASE} AS builder 19:01:21 ---> 6fcf9130cc03 19:01:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:01:21 ---> Running in 0c1a3f9f652a 19:01:21 Removing intermediate container 0c1a3f9f652a 19:01:21 ---> 6ab4646a6e70 19:01:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:01:21 ---> Running in 66b68191e6cf 19:01:21 Removing intermediate container 66b68191e6cf 19:01:21 ---> 870087cfbf4f 19:01:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 19:01:22 ---> Running in 35edc2f00cbc 19:01:22 Removing intermediate container 35edc2f00cbc 19:01:22 ---> 532f783bd11c 19:01:22 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:01:22 ---> Running in 7014c805a5d3 19:01:22 Removing intermediate container 7014c805a5d3 19:01:22 ---> b94d85e8ad02 19:01:22 Step 7/25 : WORKDIR /device-gpio 19:01:22 ---> Running in fd3c5726c605 19:01:22 Removing intermediate container fd3c5726c605 19:01:22 ---> 32d5c7023014 19:01:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:01:22 ---> Running in 559c4ac4350a 19:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:23 OK: 216 MiB in 55 packages 19:01:23 Removing intermediate container 559c4ac4350a 19:01:23 ---> 423ddb89dcd8 19:01:23 Step 9/25 : COPY go.mod vendor* ./ 19:01:23 ---> e792ff8a490b 19:01:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:01:23 ---> Running in 454f1a025fc4 19:01:24 Removing intermediate container 454f1a025fc4 19:01:24 ---> b440d12c75c1 19:01:24 Step 11/25 : COPY . . 19:01:24 ---> 5b5ded275bd6 19:01:24 Step 12/25 : RUN ${MAKE} 19:01:24 ---> Running in 405e7187dd43 19:01:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 19:01:46 Removing intermediate container 405e7187dd43 19:01:46 ---> 4939f1b7bd98 19:01:46 Step 13/25 : FROM alpine:3.16 19:01:46 3.16: Pulling from library/alpine 19:01:46 ef5531b6e74e: Pulling fs layer 19:01:46 ef5531b6e74e: Download complete 19:01:46 ef5531b6e74e: Pull complete 19:01:46 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 19:01:46 Status: Downloaded newer image for alpine:3.16 19:01:46 ---> dfd21b5a31f5 19:01:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:01:46 ---> Running in bd7680bf4546 19:01:46 Removing intermediate container bd7680bf4546 19:01:46 ---> bcac75b7aef6 19:01:46 Step 15/25 : RUN apk add --update --no-cache 19:01:46 ---> Running in d6c3333a19fc 19:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:01:46 OK: 6 MiB in 14 packages 19:01:46 Removing intermediate container d6c3333a19fc 19:01:46 ---> 69aeebef7b17 19:01:46 Step 16/25 : WORKDIR / 19:01:46 ---> Running in 5c60a5e0100d 19:01:46 Removing intermediate container 5c60a5e0100d 19:01:46 ---> 93963ae02e97 19:01:46 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 19:01:46 ---> 67afab928a24 19:01:46 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 19:01:46 ---> 0741661e4802 19:01:46 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 19:01:46 ---> 023d16baeec7 19:01:46 Step 20/25 : EXPOSE 59910 19:01:46 ---> Running in c3d4fe254064 19:01:46 Removing intermediate container c3d4fe254064 19:01:46 ---> 579866c3d0e0 19:01:46 Step 21/25 : ENTRYPOINT ["/device-gpio"] 19:01:46 ---> Running in f301426b447f 19:01:46 Removing intermediate container f301426b447f 19:01:46 ---> e8cb9b12eace 19:01:46 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:01:46 ---> Running in ecc5415d112e 19:01:46 Removing intermediate container ecc5415d112e 19:01:46 ---> 1cc00cae625f 19:01:46 Step 23/25 : LABEL arch=amd64 19:01:46 ---> Running in 87a32af16839 19:01:46 Removing intermediate container 87a32af16839 19:01:46 ---> d9fbff3025c7 19:01:46 Step 24/25 : LABEL git_sha=6750e3f6360702d892424e48133ca74aeb5018e9 19:01:46 ---> Running in db8cb9817b7f 19:01:46 Removing intermediate container db8cb9817b7f 19:01:46 ---> f3b014334e5f 19:01:46 Step 25/25 : LABEL version=0.0.0 19:01:46 ---> Running in c90a7e0cc13f 19:01:46 Removing intermediate container c90a7e0cc13f 19:01:46 ---> 94ca21ccb8fc 19:01:46 [Warning] One or more build-args [ARCH] were not consumed 19:01:46 Successfully built 94ca21ccb8fc 19:01:46 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 19:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:47 19:01:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:01:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:48 latest: Pulling from edgex-lftools-log-publisher 19:01:48 5eb5b503b376: Pulling fs layer 19:01:48 5c69ac0246d0: Pulling fs layer 19:01:48 ec43610c2a17: Pulling fs layer 19:01:48 3a2ae6a8a46f: Pulling fs layer 19:01:48 33b1e0a273af: Pulling fs layer 19:01:48 5d3b04190fa2: Pulling fs layer 19:01:48 2f39f015ded8: Pulling fs layer 19:01:48 33b1e0a273af: Waiting 19:01:48 5d3b04190fa2: Waiting 19:01:48 3a2ae6a8a46f: Waiting 19:01:48 2f39f015ded8: Waiting 19:01:48 5c69ac0246d0: Verifying Checksum 19:01:48 5c69ac0246d0: Download complete 19:01:48 3a2ae6a8a46f: Verifying Checksum 19:01:48 3a2ae6a8a46f: Download complete 19:01:48 33b1e0a273af: Verifying Checksum 19:01:48 33b1e0a273af: Download complete 19:01:48 5d3b04190fa2: Verifying Checksum 19:01:48 5d3b04190fa2: Download complete 19:01:48 ec43610c2a17: Verifying Checksum 19:01:48 ec43610c2a17: Download complete 19:01:48 5eb5b503b376: Verifying Checksum 19:01:48 5eb5b503b376: Download complete 19:01:49 2f39f015ded8: Download complete 19:01:49 5eb5b503b376: Pull complete 19:01:49 5c69ac0246d0: Pull complete 19:01:50 ec43610c2a17: Pull complete 19:01:50 3a2ae6a8a46f: Pull complete 19:01:50 33b1e0a273af: Pull complete 19:01:50 5d3b04190fa2: Pull complete 19:01:54 2f39f015ded8: Pull complete 19:01:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:01:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:01:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:01:54 prd-ubuntu20.04-docker-8c-8g-8859 does not seem to be running inside a container 19:01:54 $ 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-120 -v /w/workspace/edgexfoundry_device-gpio_PR-120:/w/workspace/edgexfoundry_device-gpio_PR-120:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-120@tmp:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:01:56 $ docker top f0aab6c40f1e0063f506c97f530929e41c28a4c818d59e158f870cb5626fd5ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:01:57 ---> job-cost.sh 19:01:57 lf-activate-venv: SKIPPING 19:01:57 INFO: No Stack... 19:01:57 INFO: Retrieving Pricing Info for: v3-standard-8 19:01:57 INFO: Archiving Costs [Pipeline] sh 19:01:57 + cat /w/workspace/edgexfoundry_device-gpio_PR-120/archives/cost.csv 19:01:57 + cut -d, -f6 [Pipeline] lock 19:01:57 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] 19:01:57 Resource [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] did not exist. Created. 19:01:57 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:01:58 + echo total: 0.2199999988079071 [Pipeline] stash 19:01:58 Stashed 1 file(s) [Pipeline] } 19:01:58 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:01:58 $ docker stop --time=1 f0aab6c40f1e0063f506c97f530929e41c28a4c818d59e158f870cb5626fd5ee 19:01:59 $ docker rm -f --volumes f0aab6c40f1e0063f506c97f530929e41c28a4c818d59e158f870cb5626fd5ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:03:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8860 in /w/workspace/edgexfoundry_device-gpio_PR-120 [Pipeline] { [Pipeline] ws 19:03:49 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 19:03:49 The recommended git tool is: git 19:03:54 using credential edgex-jenkins-ssh 19:03:55 Cloning the remote Git repository 19:03:55 Cloning repository git@github.com:edgexfoundry/device-gpio.git 19:03:55 > git init /w/workspace/device-gpio/1 # timeout=10 19:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:03:55 > git --version # timeout=10 19:03:55 > git --version # 'git version 2.25.1' 19:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:56 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:03:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:03:57 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 19:03:57 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 19:03:57 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:03:58 Merging remotes/origin/main commit 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 into PR head commit 6750e3f6360702d892424e48133ca74aeb5018e9 19:03:58 Merge succeeded, producing 6750e3f6360702d892424e48133ca74aeb5018e9 19:03:58 Checking out Revision 6750e3f6360702d892424e48133ca74aeb5018e9 (PR-120) 19:03:58 > git config core.sparsecheckout # timeout=10 19:03:58 > git checkout -f 6750e3f6360702d892424e48133ca74aeb5018e9 # timeout=10 19:03:58 > git remote # timeout=10 19:03:58 > git config --get remote.origin.url # timeout=10 19:03:58 using GIT_SSH to set credentials SSH Credentials for GitHub 19:03:58 > git merge 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 19:03:58 > git rev-parse HEAD^{commit} # timeout=10 19:03:58 > git config core.sparsecheckout # timeout=10 19:03:58 > git checkout -f 6750e3f6360702d892424e48133ca74aeb5018e9 # timeout=10 19:04:02 Commit message: "refactor!: Replace internal topics from config with new constants" 19:04:02 > git --version # timeout=10 19:04:02 > git --version # 'git version 2.25.1' 19:04:02 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:04:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:04:03 % Total % Received % Xferd Average Speed Time Time Time Current 19:04:03 Dload Upload Total Spent Left Speed 19:04:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 19:04:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:04:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:04:04 + sudo tee /etc/docker/daemon.new 19:04:04 { 19:04:04 "registry-mirrors": [ 19:04:04 "https://nexus3.edgexfoundry.org:10001" 19:04:04 ], 19:04:04 "bip": "10.250.0.254/24", 19:04:04 "hosts": [ 19:04:04 "tcp://0.0.0.0:5555", 19:04:04 "unix:///var/run/docker.sock" 19:04:04 ], 19:04:04 "mtu": 1458, 19:04:04 "selinux-enabled": true, 19:04:04 "seccomp-profile": "/etc/docker/seccomp.json" 19:04:04 } [Pipeline] sh 19:04:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:04:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:04:23 provisioning config files... 19:04:23 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9559402248539726560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:04:23 ---> docker-login.sh 19:04:23 nexus3.edgexfoundry.org:10001 19:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:24 Configure a credential helper to remove this warning. See 19:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:24 19:04:24 Login Succeeded 19:04:24 nexus3.edgexfoundry.org:10002 19:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:24 Configure a credential helper to remove this warning. See 19:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:24 19:04:25 Login Succeeded 19:04:25 nexus3.edgexfoundry.org:10003 19:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:25 Configure a credential helper to remove this warning. See 19:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:25 19:04:25 Login Succeeded 19:04:25 nexus3.edgexfoundry.org:10004 19:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:25 Configure a credential helper to remove this warning. See 19:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:25 19:04:25 Login Succeeded 19:04:25 docker.io 19:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:04:26 Configure a credential helper to remove this warning. See 19:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:04:26 19:04:26 Login Succeeded 19:04:26 ---> docker-login.sh ends [Pipeline] } 19:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:04:26 ========================================================= 19:04:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:04:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:04:27 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:04:27 Sending build context to Docker daemon 8.137MB 19:04:27 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:04:27 Step 2/12 : FROM ${BASE} AS builder 19:04:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:04:27 9b18e9b68314: Pulling fs layer 19:04:27 35d82f9e3411: Pulling fs layer 19:04:27 e16973657156: Pulling fs layer 19:04:27 fc693d55d65f: Pulling fs layer 19:04:27 7e9fc2657dce: Pulling fs layer 19:04:27 dda99020689f: Pulling fs layer 19:04:27 db1c61fa0a46: Pulling fs layer 19:04:27 891c053d2c06: Pulling fs layer 19:04:27 fc693d55d65f: Waiting 19:04:27 7e9fc2657dce: Waiting 19:04:27 dda99020689f: Waiting 19:04:27 db1c61fa0a46: Waiting 19:04:27 891c053d2c06: Waiting 19:04:27 e16973657156: Verifying Checksum 19:04:27 e16973657156: Download complete 19:04:27 35d82f9e3411: Download complete 19:04:27 7e9fc2657dce: Verifying Checksum 19:04:27 7e9fc2657dce: Download complete 19:04:27 dda99020689f: Verifying Checksum 19:04:27 dda99020689f: Download complete 19:04:27 9b18e9b68314: Verifying Checksum 19:04:27 9b18e9b68314: Download complete 19:04:28 9b18e9b68314: Pull complete 19:04:28 891c053d2c06: Verifying Checksum 19:04:28 891c053d2c06: Download complete 19:04:29 35d82f9e3411: Pull complete 19:04:29 e16973657156: Pull complete 19:04:30 db1c61fa0a46: Verifying Checksum 19:04:30 db1c61fa0a46: Download complete 19:04:30 fc693d55d65f: Verifying Checksum 19:04:30 fc693d55d65f: Download complete 19:04:42 fc693d55d65f: Pull complete 19:04:42 7e9fc2657dce: Pull complete 19:04:42 dda99020689f: Pull complete 19:04:48 db1c61fa0a46: Pull complete 19:04:49 891c053d2c06: Pull complete 19:04:49 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:04:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:04:49 ---> f96f9c87975a 19:04:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:04:52 ---> Running in f36ad6d74461 19:04:52 Removing intermediate container f36ad6d74461 19:04:52 ---> a1846f552287 19:04:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:04:52 ---> Running in ea97fdd26fb1 19:04:52 Removing intermediate container ea97fdd26fb1 19:04:52 ---> 1177d4f7d33d 19:04:52 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 19:04:52 ---> Running in 6eb8521a6873 19:04:52 Removing intermediate container 6eb8521a6873 19:04:52 ---> c555fb015811 19:04:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:04:52 ---> Running in 5b6919fea446 19:04:53 Removing intermediate container 5b6919fea446 19:04:53 ---> bb4addd07a5f 19:04:53 Step 7/12 : WORKDIR /device-gpio 19:04:53 ---> Running in 94483149c347 19:04:53 Removing intermediate container 94483149c347 19:04:53 ---> 664307080034 19:04:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:04:53 ---> Running in c0079870bc1b 19:04:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:04:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:04:56 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:04:56 (2/4) Installing libedit (20210910.3.1-r0) 19:04:56 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:04:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:04:56 Executing busybox-1.35.0-r17.trigger 19:04:56 OK: 226 MiB in 55 packages 19:04:57 Removing intermediate container c0079870bc1b 19:04:57 ---> 877c88b52354 19:04:57 Step 9/12 : COPY go.mod vendor* ./ 19:04:57 ---> 15ad57765bc9 19:04:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:04:57 ---> Running in 2575e1fe821b 19:06:05 Removing intermediate container 2575e1fe821b 19:06:05 ---> 7daa00a7b24c 19:06:05 Step 11/12 : COPY . . 19:06:05 ---> 58c9e40cd5de 19:06:05 Step 12/12 : RUN ${MAKE} 19:06:05 ---> Running in 249edc51f40c 19:06:05 noop 19:06:05 Removing intermediate container 249edc51f40c 19:06:05 ---> 55a92d7a595b 19:06:05 Successfully built 55a92d7a595b 19:06:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:06 + docker inspect -f . ci-base-image-arm64 19:06:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:06 prd-ubuntu20.04-docker-arm64-4c-16g-8860 does not seem to be running inside a container 19:06:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:07 $ docker top 5d57bcc9dfc79ad52c0fb993dd63989bdec8de09bffc7f402d619c771027b324 -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:08 + go version 19:06:08 go version go1.18.7 linux/arm64 [Pipeline] } 19:06:08 $ docker stop --time=1 5d57bcc9dfc79ad52c0fb993dd63989bdec8de09bffc7f402d619c771027b324 19:06:10 $ docker rm -f --volumes 5d57bcc9dfc79ad52c0fb993dd63989bdec8de09bffc7f402d619c771027b324 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:06:11 + docker inspect -f . ci-base-image-arm64 19:06:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:06:11 prd-ubuntu20.04-docker-arm64-4c-16g-8860 does not seem to be running inside a container 19:06:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:06:13 $ docker top 9451bdb1c0c54f74011d2e8e54900941778cb703e90774921c467fca33e6fefd -eo pid,comm [Pipeline] { [Pipeline] sh 19:06:13 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 19:06:13 + make test 19:06:13 go test ./... -coverprofile=coverage.out ./... 19:06:15 ? github.com/edgexfoundry/device-gpio [no test files] 19:07:37 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 19:07:37 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 19:07:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:07:37 go vet ./... 19:07:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:07:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:07:45 ./bin/test-attribution-txt.sh [Pipeline] echo 19:07:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:07:45 $ docker stop --time=1 9451bdb1c0c54f74011d2e8e54900941778cb703e90774921c467fca33e6fefd 19:07:47 $ docker rm -f --volumes 9451bdb1c0c54f74011d2e8e54900941778cb703e90774921c467fca33e6fefd [Pipeline] // withDockerContainer [Pipeline] sh 19:07:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:07:48 Warning: overwriting stash ‘coverage-report’ 19:07:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:07:49 + ls -al . 19:07:49 total 156 19:07:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:06 . 19:07:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 19:03 .. 19:07:49 -rw-rw-r-- 1 jenkins jenkins 120 Mar 8 19:03 .dockerignore 19:07:49 drwxrwxr-x 8 jenkins jenkins 4096 Mar 8 19:03 .git 19:07:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 .github 19:07:49 -rw-rw-r-- 1 jenkins jenkins 343 Mar 8 19:03 .gitignore 19:07:49 -rw-rw-r-- 1 jenkins jenkins 41 Mar 8 19:03 .golangci.yml 19:07:49 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 8 19:03 Attribution.txt 19:07:49 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 8 19:03 CHANGELOG.md 19:07:49 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 8 19:03 Dockerfile 19:07:49 -rw-rw-r-- 1 jenkins jenkins 677 Mar 8 19:03 GOVERNANCE.md 19:07:49 -rw-rw-r-- 1 jenkins jenkins 657 Mar 8 19:03 Jenkinsfile 19:07:49 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 8 19:03 LICENSE 19:07:49 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 8 19:03 Makefile 19:07:49 -rw-rw-r-- 1 jenkins jenkins 617 Mar 8 19:03 OWNERS.md 19:07:49 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 8 19:03 README.md 19:07:49 -rw-rw-r-- 1 jenkins jenkins 5 Mar 8 19:00 VERSION 19:07:49 drwxrwxr-x 2 jenkins jenkins 4096 Mar 8 19:03 bin 19:07:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 cmd 19:07:49 -rw-r--r-- 1 jenkins jenkins 10 Mar 8 19:06 coverage.out 19:07:49 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 8 19:03 go.mod 19:07:49 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 8 19:03 go.sum 19:07:49 drwxrwxr-x 3 jenkins jenkins 4096 Mar 8 19:03 internal 19:07:49 drwxrwxr-x 4 jenkins jenkins 4096 Mar 8 19:03 snap 19:07:49 -rw-rw-r-- 1 jenkins jenkins 209 Mar 8 19:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07: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=6750e3f6360702d892424e48133ca74aeb5018e9 --label arch=arm64 --label version=0.0.0 . 19:07:50 Sending build context to Docker daemon 8.138MB 19:07:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:07:50 Step 2/25 : FROM ${BASE} AS builder 19:07:50 ---> 55a92d7a595b 19:07:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:07:50 ---> Running in 7b92632ad95f 19:07:51 Removing intermediate container 7b92632ad95f 19:07:51 ---> e3665cbf8700 19:07:51 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:07:51 ---> Running in f592c2d87f72 19:07:51 Removing intermediate container f592c2d87f72 19:07:51 ---> f7bf42076f14 19:07:51 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 19:07:51 ---> Running in 938e115e2e49 19:07:51 Removing intermediate container 938e115e2e49 19:07:51 ---> 66952cee3f33 19:07:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:07:51 ---> Running in 20e595190869 19:07:52 Removing intermediate container 20e595190869 19:07:52 ---> efb0f56f1a6b 19:07:52 Step 7/25 : WORKDIR /device-gpio 19:07:52 ---> Running in d0941be76091 19:07:52 Removing intermediate container d0941be76091 19:07:52 ---> ff749bde8495 19:07:52 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:07:52 ---> Running in ac60f6953492 19:07:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:07:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:07:55 OK: 226 MiB in 55 packages 19:07:55 Removing intermediate container ac60f6953492 19:07:55 ---> be8c07edc712 19:07:55 Step 9/25 : COPY go.mod vendor* ./ 19:07:56 ---> cad1702365e9 19:07:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:56 ---> Running in d50ff170cbcb 19:07:58 Removing intermediate container d50ff170cbcb 19:07:58 ---> 3385ef069633 19:07:58 Step 11/25 : COPY . . 19:08:00 ---> 7c70d61dc886 19:08:00 Step 12/25 : RUN ${MAKE} 19:08:00 ---> Running in 72f664593674 19:08:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 19:10:23 Removing intermediate container 72f664593674 19:10:23 ---> 61dbbddd2e1c 19:10:23 Step 13/25 : FROM alpine:3.16 19:10:23 3.16: Pulling from library/alpine 19:10:23 3760b48202b3: Pulling fs layer 19:10:23 3760b48202b3: Verifying Checksum 19:10:23 3760b48202b3: Download complete 19:10:23 3760b48202b3: Pull complete 19:10:23 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 19:10:23 Status: Downloaded newer image for alpine:3.16 19:10:23 ---> 4c81e5bf8899 19:10:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 19:10:23 ---> Running in 2bbe0971b329 19:10:23 Removing intermediate container 2bbe0971b329 19:10:23 ---> e8974bc2ef82 19:10:23 Step 15/25 : RUN apk add --update --no-cache 19:10:23 ---> Running in ccbd49709777 19:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:10:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:10:23 OK: 5 MiB in 14 packages 19:10:23 Removing intermediate container ccbd49709777 19:10:23 ---> ed20805dcd34 19:10:23 Step 16/25 : WORKDIR / 19:10:23 ---> Running in 6af531fa11a4 19:10:23 Removing intermediate container 6af531fa11a4 19:10:23 ---> dc01fdc06396 19:10:23 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 19:10:24 ---> bb8c0d2a4cb5 19:10:24 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 19:10:24 ---> 206cf693a076 19:10:24 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 19:10:26 ---> ad1c1507e018 19:10:26 Step 20/25 : EXPOSE 59910 19:10:26 ---> Running in b77e06be5a04 19:10:26 Removing intermediate container b77e06be5a04 19:10:26 ---> e38e465e1551 19:10:26 Step 21/25 : ENTRYPOINT ["/device-gpio"] 19:10:26 ---> Running in 9a77190d4467 19:10:26 Removing intermediate container 9a77190d4467 19:10:26 ---> 8a020a876066 19:10:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:10:26 ---> Running in 37747a7023ed 19:10:27 Removing intermediate container 37747a7023ed 19:10:27 ---> e3da09eac6ca 19:10:27 Step 23/25 : LABEL arch=arm64 19:10:27 ---> Running in b1e6cbbab026 19:10:27 Removing intermediate container b1e6cbbab026 19:10:27 ---> 2ad99e5290ec 19:10:27 Step 24/25 : LABEL git_sha=6750e3f6360702d892424e48133ca74aeb5018e9 19:10:27 ---> Running in 608bc102a838 19:10:27 Removing intermediate container 608bc102a838 19:10:27 ---> 450d8f17ed97 19:10:27 Step 25/25 : LABEL version=0.0.0 19:10:27 ---> Running in ae335d6937ee 19:10:28 Removing intermediate container ae335d6937ee 19:10:28 ---> 9c959e6f1e6d 19:10:28 [Warning] One or more build-args [ARCH] were not consumed 19:10:28 Successfully built 9c959e6f1e6d 19:10:28 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 19:10:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:10:28 19:10:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:10:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:10:29 arm64: Pulling from edgex-lftools-log-publisher 19:10:29 8998bd30e6a1: Pulling fs layer 19:10:29 04944245beec: Pulling fs layer 19:10:29 699f458cf7ca: Pulling fs layer 19:10:29 765212b225bb: Pulling fs layer 19:10:29 f23df028b6ca: Pulling fs layer 19:10:29 d65c8cfc05b1: Pulling fs layer 19:10:29 2437ff75d9bd: Pulling fs layer 19:10:29 765212b225bb: Waiting 19:10:29 f23df028b6ca: Waiting 19:10:29 2437ff75d9bd: Waiting 19:10:29 d65c8cfc05b1: Waiting 19:10:29 04944245beec: Verifying Checksum 19:10:29 04944245beec: Download complete 19:10:29 765212b225bb: Verifying Checksum 19:10:29 765212b225bb: Download complete 19:10:29 f23df028b6ca: Verifying Checksum 19:10:29 f23df028b6ca: Download complete 19:10:29 d65c8cfc05b1: Verifying Checksum 19:10:29 d65c8cfc05b1: Download complete 19:10:29 699f458cf7ca: Verifying Checksum 19:10:29 699f458cf7ca: Download complete 19:10:30 8998bd30e6a1: Verifying Checksum 19:10:30 8998bd30e6a1: Download complete 19:10:32 2437ff75d9bd: Verifying Checksum 19:10:33 8998bd30e6a1: Pull complete 19:10:34 04944245beec: Pull complete 19:10:35 699f458cf7ca: Pull complete 19:10:35 765212b225bb: Pull complete 19:10:36 f23df028b6ca: Pull complete 19:10:36 d65c8cfc05b1: Pull complete 19:10:48 2437ff75d9bd: Pull complete 19:10:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:10:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:10:49 prd-ubuntu20.04-docker-arm64-4c-16g-8860 does not seem to be running inside a container 19:10:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-gpio/1 -v /w/workspace/device-gpio/1:/w/workspace/device-gpio/1:rw,z -v /w/workspace/device-gpio/1@tmp:/w/workspace/device-gpio/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:10:51 $ docker top 6fb01be53d2a58e3990fb90f29ca76c47f147d41e51c90f2dc33875d9ce1536f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:10:52 ---> job-cost.sh 19:10:52 lf-activate-venv: SKIPPING 19:10:52 INFO: No Stack... 19:10:53 INFO: Retrieving Pricing Info for: v3-standard-4 19:10:54 INFO: Archiving Costs [Pipeline] sh 19:10:54 + cat /w/workspace/device-gpio/1/archives/cost.csv 19:10:54 + cut -d, -f6 [Pipeline] lock 19:10:54 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] 19:10:54 Resource [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] did not exist. Created. 19:10:54 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:10:55 /w/workspace/device-gpio/1@tmp/durable-3e4affb4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:10:55 + echo total: 0.10999999940395355 [Pipeline] stash 19:10:55 Warning: overwriting stash ‘stack-cost’ 19:10:55 Stashed 1 file(s) [Pipeline] } 19:10:55 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-120-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:10:56 $ docker stop --time=1 6fb01be53d2a58e3990fb90f29ca76c47f147d41e51c90f2dc33875d9ce1536f 19:10:58 $ docker rm -f --volumes 6fb01be53d2a58e3990fb90f29ca76c47f147d41e51c90f2dc33875d9ce1536f [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 19:10:59 provisioning config files... 19:10:59 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/config12456746489237140408tmp [Pipeline] { [Pipeline] sh 19:10:59 + set +x 19:10:59 + + bashcurl -s -s -- https://codecov.io/bash 19:10:59 19:10:59 19:10:59 _____ _ 19:10:59 / ____| | | 19:10:59 | | ___ __| | ___ ___ _____ __ 19:10:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:10:59 | |___| (_) | (_| | __/ (_| (_) \ V / 19:10:59 \_____\___/ \__,_|\___|\___\___/ \_/ 19:10:59 Bash-1.0.6 19:10:59 19:10:59 19:10:59 ==> git version 2.25.1 found 19:10:59 ==> 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 19:10:59 Release-Date: 2020-01-08 19:10:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:10:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:10:59 ==> Jenkins CI detected. 19:10:59 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-120 19:10:59 project root: . 19:10:59 --> token set from env 19:10:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:10:59 ==> Running gcov in . (disable via -X gcov) 19:10:59 ==> Python coveragepy not found 19:10:59 ==> Searching for coverage reports in: 19:10:59 + . 19:10:59 -> Found 1 reports 19:10:59 ==> Detecting git/mercurial file structure 19:10:59 ==> Reading reports 19:10:59 + ./coverage.out bytes=10 19:10:59 ==> Appending adjustments 19:10:59 https://docs.codecov.io/docs/fixing-reports 19:10:59 + Found adjustments 19:10:59 ==> Gzipping contents 19:10:59 4.0K /tmp/codecov.V4qxth.gz 19:10:59 ==> Uploading reports 19:10:59 url: https://codecov.io 19:10:59 query: branch=PR-120&commit=6750e3f6360702d892424e48133ca74aeb5018e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-120%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=120&job=&cmd_args= 19:10:59 -> Pinging Codecov 19:10:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-120&commit=6750e3f6360702d892424e48133ca74aeb5018e9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-120%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=120&job=&cmd_args= 19:10:59 -> Uploading to 19:10:59 https://storage.googleapis.com/codecov/v4/raw/2023-03-08/3EC07B1A8CA8AF9BCAA0BB9F0134797F/6750e3f6360702d892424e48133ca74aeb5018e9/4f70ff64-a3eb-43dc-90b1-a3cca6db9ca3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230308%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230308T191059Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4b9751a0dd21dba61328787374e0fb088c03912fb68c1e089fde02f3ab36f8e4 19:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:59 Dload Upload Total Spent Left Speed 19:11:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2650 --:--:-- --:--:-- --:--:-- 2650 19:11:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/6750e3f6360702d892424e48133ca74aeb5018e9 [Pipeline] } 19:11:00 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 19:11:01 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-120/archives ] 19:11:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-120/archives 19:11:01 total 16 19:11:01 drwxr-xr-x 3 root root 4096 Mar 8 19:01 . 19:11:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 19:01 .. 19:11:01 drwxr-xr-x 2 root root 4096 Mar 8 19:01 cost 19:11:01 -rw-r--r-- 1 root root 83 Mar 8 19:01 cost.csv 19:11:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-120/archives 19:11:01 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-120/archives 19:11:01 total 16 19:11:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 8 19:01 . 19:11:01 drwxrwxr-x 10 jenkins jenkins 4096 Mar 8 19:01 .. 19:11:01 drwxr-xr-x 2 jenkins jenkins 4096 Mar 8 19:01 cost 19:11:01 -rw-r--r-- 1 jenkins jenkins 83 Mar 8 19:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:11:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:11:03 ---> package-listing.sh 19:11:03 ++ facter osfamily 19:11:03 ++ tr '[:upper:]' '[:lower:]' 19:11:03 + OS_FAMILY=debian 19:11:03 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-120 19:11:03 + START_PACKAGES=/tmp/packages_start.txt 19:11:03 + END_PACKAGES=/tmp/packages_end.txt 19:11:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:11:03 + PACKAGES=/tmp/packages_start.txt 19:11:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-120 ']' 19:11:03 + PACKAGES=/tmp/packages_end.txt 19:11:03 + case "${OS_FAMILY}" in 19:11:03 + dpkg -l 19:11:03 + grep '^ii' 19:11:03 + '[' -f /tmp/packages_start.txt ']' 19:11:03 + '[' -f /tmp/packages_end.txt ']' 19:11:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:11:03 + '[' /w/workspace/edgexfoundry_device-gpio_PR-120 ']' 19:11:03 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-120/archives/ 19:11:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-120/archives/ [Pipeline] echo 19:11:03 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-120/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:11:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:11:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:11:04 prd-ubuntu20.04-docker-8c-8g-8859 does not seem to be running inside a container 19:11:04 $ 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-120/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-120 -v /w/workspace/edgexfoundry_device-gpio_PR-120:/w/workspace/edgexfoundry_device-gpio_PR-120:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-120@tmp:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:11:04 $ docker top 41278415095c3c84d7d3c0d2bce6e4befabd7108d327b1a95a5f612015ee2bfb -eo pid,comm [Pipeline] { [Pipeline] sh 19:11:05 + touch /tmp/pre-build-complete [Pipeline] sh 19:11:05 + mkdir -p /var/log/sysstat [Pipeline] sh 19:11:05 + ls /var/log/sa-host 19:11:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:05 provisioning config files... 19:11:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-120@tmp/config15517603009589314080tmp [Pipeline] { [Pipeline] echo 19:11:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:11:06 ---> create-netrc.sh [Pipeline] } 19:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:11:06 ---> python-tools-install.sh [Pipeline] echo 19:11:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:11:07 ---> sudo-logs.sh 19:11:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:11:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:11:07 ---> job-cost.sh 19:11:07 lf-activate-venv: SKIPPING 19:11:07 DEBUG: total: 0.2199999988079071 19:11:07 INFO: Retrieving Stack Cost... 19:11:07 INFO: Retrieving Pricing Info for: v3-standard-8 19:11:08 INFO: Archiving Costs [Pipeline] echo 19:11:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:11:08 ---> logs-deploy.sh 19:11:08 lf-activate-venv: SKIPPING 19:11:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-120/1 19:11:08 INFO: archiving workspace using pattern(s): 19:11:09 Archives upload complete. 19:11:09 INFO: archiving logs to Nexus