Pull request #174 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b02e5e4689219a8866c9f18808cfdb5590a7e0d+366ee754c41d9a0fdc0bb38cee0c371b1007dce8 (5b97e365afabe28dd35a5a714f57488c2475e0fc) 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-ssh16794411059552449596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2788708311849630599.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13246923097960839119.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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12019973001475332443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3226776251013656828.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-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14779612926371572695.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 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 ‘prd-ubuntu20.04-docker-8c-8g-14587’ Running on prd-ubuntu20.04-docker-8c-8g-14593 in /w/workspace/edgexfoundry_device-gpio_PR-174 [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-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 into PR head commit 9b02e5e4689219a8866c9f18808cfdb5590a7e0d > 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/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b02e5e4689219a8866c9f18808cfdb5590a7e0d # timeout=10 Merge succeeded, producing 9b02e5e4689219a8866c9f18808cfdb5590a7e0d Checking out Revision 9b02e5e4689219a8866c9f18808cfdb5590a7e0d (PR-174) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:02:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:02:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:02:29 ========================================================= 01:02:29 EdgeX Global Pipelines Version Info 01:02:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b02e5e4689219a8866c9f18808cfdb5590a7e0d # timeout=10 01:02:30 ------------------- 01:02:30 stable info: 01:02:30 ------------------- 01:02:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:02:30 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:02:30 Message: update stable to v1.0.249 01:02:31 ------------------- 01:02:31 experimental info: 01:02:31 ------------------- 01:02:31 Commited By: **** collab-it+edgex@linuxfoundation.org 01:02:31 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:02:31 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:02:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b02e5e4689219a8866c9f18808cfdb5590a7e0d [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b02e5e [Pipeline] echo 01:02:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:02:33 provisioning config files... 01:02:33 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/config1161115821225728310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:33 ---> docker-login.sh 01:02:33 nexus3.edgexfoundry.org:10001 01:02:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:35 Configure a credential helper to remove this warning. See 01:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:35 01:02:35 Login Succeeded 01:02:35 nexus3.edgexfoundry.org:10002 01:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:35 Configure a credential helper to remove this warning. See 01:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:35 01:02:35 Login Succeeded 01:02:35 nexus3.edgexfoundry.org:10003 01:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:35 Configure a credential helper to remove this warning. See 01:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:35 01:02:35 Login Succeeded 01:02:35 nexus3.edgexfoundry.org:10004 01:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:36 Configure a credential helper to remove this warning. See 01:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:36 01:02:36 Login Succeeded 01:02:36 docker.io 01:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:36 Configure a credential helper to remove this warning. See 01:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:36 01:02:36 Login Succeeded 01:02:36 ---> docker-login.sh ends [Pipeline] } 01:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:02:37 + git rev-list -1 --merges 9b02e5e4689219a8866c9f18808cfdb5590a7e0d~1..9b02e5e4689219a8866c9f18808cfdb5590a7e0d [Pipeline] echo 01:02:37 -----------> git rev-list -1 --merges 9b02e5e4689219a8866c9f18808cfdb5590a7e0d~1..9b02e5e4689219a8866c9f18808cfdb5590a7e0d 9b02e5e4689219a8866c9f18808cfdb5590a7e0d [false] [Pipeline] sh 01:02:37 + git log --format=format:%s -1 9b02e5e4689219a8866c9f18808cfdb5590a7e0d [Pipeline] echo 01:02:37 ========================================================= 01:02:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:02:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:02:38 + git log --format=format:%s -1 9b02e5e4689219a8866c9f18808cfdb5590a7e0d [Pipeline] echo 01:02:38 [semverPrep] GIT_COMMIT: 9b02e5e4689219a8866c9f18808cfdb5590a7e0d, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:02:38 [semverPrep] This is not a build commit. [Pipeline] sh 01:02:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:02:38 + grep -v github /etc/ssh/ssh_known_hosts 01:02:38 + [ -e /tmp/ssh_known_hosts ] 01:02:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:02:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:02:38 + sudo tee -a /etc/ssh/ssh_known_hosts 01:02:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:38 01:02:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:39 0.1.4: Pulling from edgex-devops/py-git-semver 01:02:39 b85a868b505f: Pulling fs layer 01:02:39 e2be974225ed: Pulling fs layer 01:02:39 339a4e72a1f5: Pulling fs layer 01:02:39 988bab9f4d93: Pulling fs layer 01:02:39 1469e6f7b9e6: Pulling fs layer 01:02:39 eaf3925da568: Pulling fs layer 01:02:39 bab4dde63d76: Pulling fs layer 01:02:39 bde34c3a00c8: Pulling fs layer 01:02:39 b352a97aabf1: Pulling fs layer 01:02:39 4872d77fe225: Pulling fs layer 01:02:39 5851b861e8e6: Pulling fs layer 01:02:39 bde34c3a00c8: Waiting 01:02:39 bab4dde63d76: Waiting 01:02:39 b352a97aabf1: Waiting 01:02:39 4872d77fe225: Waiting 01:02:39 5851b861e8e6: Waiting 01:02:39 1469e6f7b9e6: Waiting 01:02:39 eaf3925da568: Waiting 01:02:39 988bab9f4d93: Waiting 01:02:39 e2be974225ed: Verifying Checksum 01:02:39 e2be974225ed: Download complete 01:02:39 988bab9f4d93: Verifying Checksum 01:02:39 988bab9f4d93: Download complete 01:02:39 1469e6f7b9e6: Verifying Checksum 01:02:39 339a4e72a1f5: Verifying Checksum 01:02:39 1469e6f7b9e6: Download complete 01:02:39 339a4e72a1f5: Download complete 01:02:39 eaf3925da568: Verifying Checksum 01:02:39 eaf3925da568: Download complete 01:02:39 bde34c3a00c8: Download complete 01:02:39 b352a97aabf1: Verifying Checksum 01:02:39 b352a97aabf1: Download complete 01:02:39 4872d77fe225: Verifying Checksum 01:02:39 4872d77fe225: Download complete 01:02:39 5851b861e8e6: Verifying Checksum 01:02:39 5851b861e8e6: Download complete 01:02:39 b85a868b505f: Verifying Checksum 01:02:39 b85a868b505f: Download complete 01:02:39 bab4dde63d76: Verifying Checksum 01:02:39 bab4dde63d76: Download complete 01:02:40 b85a868b505f: Pull complete 01:02:40 e2be974225ed: Pull complete 01:02:41 339a4e72a1f5: Pull complete 01:02:41 988bab9f4d93: Pull complete 01:02:41 1469e6f7b9e6: Pull complete 01:02:41 eaf3925da568: Pull complete 01:02:43 bab4dde63d76: Pull complete 01:02:43 bde34c3a00c8: Pull complete 01:02:43 b352a97aabf1: Pull complete 01:02:43 4872d77fe225: Pull complete 01:02:43 5851b861e8e6: Pull complete 01:02:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:02:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:02:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:02:43 prd-ubuntu20.04-docker-8c-8g-14593 does not seem to be running inside a container 01:02:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-174 -v /w/workspace/edgexfoundry_device-gpio_PR-174:/w/workspace/edgexfoundry_device-gpio_PR-174:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-174@tmp:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:02:45 $ docker top 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec -eo pid,comm 01:02:46 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). 01:02:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:02:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:46 [ssh-agent] Looking for ssh-agent implementation... 01:02:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:46 $ docker exec 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec ssh-agent 01:02:46 SSH_AUTH_SOCK=/tmp/ssh-a8mICHJd0JKm/agent.32 01:02:46 SSH_AGENT_PID=38 01:02:46 Running ssh-add (command line suppressed) 01:02:46 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-174@tmp/private_key_1793238740851179660.key (/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/private_key_1793238740851179660.key) 01:02:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:46 + git tag --points-at HEAD [Pipeline] } 01:02:46 $ docker exec --env ******** --env ******** 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec ssh-agent -k 01:02:46 unset SSH_AUTH_SOCK; 01:02:46 unset SSH_AGENT_PID; 01:02:46 echo Agent pid 38 killed; 01:02:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:02:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:02:47 [ssh-agent] Looking for ssh-agent implementation... 01:02:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:02:47 $ docker exec 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec ssh-agent 01:02:47 SSH_AUTH_SOCK=/tmp/ssh-xZRXVE8zoGYj/agent.70 01:02:47 SSH_AGENT_PID=76 01:02:47 Running ssh-add (command line suppressed) 01:02:47 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-174@tmp/private_key_3177850001400223249.key (/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/private_key_3177850001400223249.key) 01:02:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:02:47 + git semver init 01:02:47 2023-05-09 01:02:47,866 [run_init] DEBUG init version:0.0.0 force:False 01:02:47 2023-05-09 01:02:47,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-174/.semver 01:02:47 2023-05-09 01:02:47,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-174/.semver 01:02:47 2023-05-09 01:02:47,867 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-174/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-174, universal_newlines=False, shell=None, istream=None) 01:02:48 2023-05-09 01:02:48,798 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-174/.git/info/exclude 01:02:48 2023-05-09 01:02:48,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-174/.semver/PR-174 with force:False 01:02:48 2023-05-09 01:02:48,798 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-174/.semver/PR-174 01:02:48 2023-05-09 01:02:48,802 [execute] INFO git cat-file --batch-check 01:02:48 2023-05-09 01:02:48,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-174/.semver, universal_newlines=False, shell=None, istream=) 01:02:48 2023-05-09 01:02:48,808 [execute] INFO git cat-file --batch 01:02:48 2023-05-09 01:02:48,808 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-174/.semver, universal_newlines=False, shell=None, istream=) 01:02:48 2023-05-09 01:02:48,813 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-174/.semver/PR-174 01:02:48 0.0.0 [Pipeline] } 01:02:48 $ docker exec --env ******** --env ******** 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec ssh-agent -k 01:02:49 unset SSH_AUTH_SOCK; 01:02:49 unset SSH_AGENT_PID; 01:02:49 echo Agent pid 76 killed; 01:02:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:02:49 + git semver [Pipeline] } 01:02:49 $ docker stop --time=1 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec 01:02:51 $ docker rm -f --volumes 5f27d9b923cd090719a561f6c638a09fc4a62560ecfd592e3790f3081acad7ec [Pipeline] // withDockerContainer [Pipeline] sh 01:02:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:02:51 Stashed 1 file(s) [Pipeline] echo 01:02:51 [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 01:02:52 provisioning config files... 01:02:52 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/config7953589145198813997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:02:52 ---> docker-login.sh 01:02:52 nexus3.edgexfoundry.org:10001 01:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:52 Configure a credential helper to remove this warning. See 01:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:52 01:02:52 Login Succeeded 01:02:52 nexus3.edgexfoundry.org:10002 01:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:52 Configure a credential helper to remove this warning. See 01:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:52 01:02:52 Login Succeeded 01:02:52 nexus3.edgexfoundry.org:10003 01:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:52 Configure a credential helper to remove this warning. See 01:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:52 01:02:52 Login Succeeded 01:02:52 nexus3.edgexfoundry.org:10004 01:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:52 Configure a credential helper to remove this warning. See 01:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:52 01:02:52 Login Succeeded 01:02:52 docker.io 01:02:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:02:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:02:53 Configure a credential helper to remove this warning. See 01:02:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:02:53 01:02:53 Login Succeeded 01:02:53 ---> docker-login.sh ends [Pipeline] } 01:02:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:02:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:02:53 ========================================================= 01:02:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:02:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:02:53 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:02:53 Sending build context to Docker daemon 16.12MB 01:02:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:02:53 Step 2/12 : FROM ${BASE} AS builder 01:02:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:02:53 f56be85fc22e: Pulling fs layer 01:02:53 85791d961cd3: Pulling fs layer 01:02:53 d694b5ae8c79: Pulling fs layer 01:02:53 9f32a84ed3da: Pulling fs layer 01:02:53 4d19c01a9841: Pulling fs layer 01:02:53 9325e15d5711: Pulling fs layer 01:02:53 556b6ee489ea: Pulling fs layer 01:02:53 c5a4b2cf53e6: Pulling fs layer 01:02:53 4d19c01a9841: Waiting 01:02:53 9325e15d5711: Waiting 01:02:53 556b6ee489ea: Waiting 01:02:53 9f32a84ed3da: Waiting 01:02:53 c5a4b2cf53e6: Waiting 01:02:54 85791d961cd3: Verifying Checksum 01:02:54 85791d961cd3: Download complete 01:02:54 9f32a84ed3da: Verifying Checksum 01:02:54 9f32a84ed3da: Download complete 01:02:54 4d19c01a9841: Download complete 01:02:54 f56be85fc22e: Verifying Checksum 01:02:54 f56be85fc22e: Download complete 01:02:54 9325e15d5711: Verifying Checksum 01:02:54 9325e15d5711: Download complete 01:02:54 f56be85fc22e: Pull complete 01:02:54 85791d961cd3: Pull complete 01:02:54 c5a4b2cf53e6: Verifying Checksum 01:02:54 c5a4b2cf53e6: Download complete 01:02:54 d694b5ae8c79: Verifying Checksum 01:02:54 d694b5ae8c79: Download complete 01:02:55 556b6ee489ea: Download complete 01:02:58 d694b5ae8c79: Pull complete 01:02:58 9f32a84ed3da: Pull complete 01:02:58 4d19c01a9841: Pull complete 01:02:58 9325e15d5711: Pull complete 01:03:00 556b6ee489ea: Pull complete 01:03:01 c5a4b2cf53e6: Pull complete 01:03:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:03:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:03:01 ---> c4be618373d6 01:03:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:03:05 ---> Running in 4ab821d8946d 01:03:05 Removing intermediate container 4ab821d8946d 01:03:05 ---> 7fcf8ca3b373 01:03:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:03:05 ---> Running in 505b600e7050 01:03:05 Removing intermediate container 505b600e7050 01:03:05 ---> e0e5315d975c 01:03:05 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:03:05 ---> Running in 97545754f138 01:03:05 Removing intermediate container 97545754f138 01:03:05 ---> 2f1e6d4fdae4 01:03:05 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:03:05 ---> Running in a2019084d6bc 01:03:05 Removing intermediate container a2019084d6bc 01:03:05 ---> e0c963f15992 01:03:05 Step 7/12 : WORKDIR /device-gpio 01:03:05 ---> Running in 0bd21d6bb674 01:03:05 Removing intermediate container 0bd21d6bb674 01:03:05 ---> 6208a7359851 01:03:05 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:03:05 ---> Running in b4dee04e8046 01:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:03:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:03:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:03:06 (2/4) Installing libedit (20221030.3.1-r0) 01:03:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:03:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:03:06 Executing busybox-1.35.0-r29.trigger 01:03:06 OK: 269 MiB in 57 packages 01:03:06 Removing intermediate container b4dee04e8046 01:03:06 ---> d222442074e9 01:03:06 Step 9/12 : COPY go.mod vendor* ./ 01:03:06 ---> 36f2b255bbbb 01:03:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:03:06 ---> Running in b6766128d043 01:03:07 Still waiting to schedule task 01:03:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-14591’ 01:03:33 Removing intermediate container b6766128d043 01:03:33 ---> 2e7e32396176 01:03:33 Step 11/12 : COPY . . 01:03:33 ---> d51f7a4a8788 01:03:33 Step 12/12 : RUN ${MAKE} 01:03:33 ---> Running in e9236675b184 01:03:33 noop 01:03:33 Removing intermediate container e9236675b184 01:03:33 ---> 0c446031c2ba 01:03:33 Successfully built 0c446031c2ba 01:03:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:34 + docker inspect -f . ci-base-image-x86_64 01:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:34 prd-ubuntu20.04-docker-8c-8g-14593 does not seem to be running inside a container 01:03:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-174 -v /w/workspace/edgexfoundry_device-gpio_PR-174:/w/workspace/edgexfoundry_device-gpio_PR-174:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-174@tmp:/w/workspace/edgexfoundry_device-gpio_PR-174@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 ******** ci-base-image-x86_64 cat 01:03:34 $ docker top 049106a5921a79b0d426bc3ea29cd61cf853530d61b996e25037c0d3aebcf1e4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:35 + go version 01:03:35 go version go1.20.2 linux/amd64 [Pipeline] } 01:03:35 $ docker stop --time=1 049106a5921a79b0d426bc3ea29cd61cf853530d61b996e25037c0d3aebcf1e4 01:03:36 $ docker rm -f --volumes 049106a5921a79b0d426bc3ea29cd61cf853530d61b996e25037c0d3aebcf1e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:03:37 + docker inspect -f . ci-base-image-x86_64 01:03:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:03:37 prd-ubuntu20.04-docker-8c-8g-14593 does not seem to be running inside a container 01:03:37 $ 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-174 -v /w/workspace/edgexfoundry_device-gpio_PR-174:/w/workspace/edgexfoundry_device-gpio_PR-174:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-174@tmp:/w/workspace/edgexfoundry_device-gpio_PR-174@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 ******** ci-base-image-x86_64 cat 01:03:37 $ docker top 60e98faba4de14fbcdc5d2c2dc9f32fc9869eef92e15dc9d64f53cb01df7449d -eo pid,comm [Pipeline] { [Pipeline] sh 01:03:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-174 [Pipeline] fileExists [Pipeline] sh 01:03:38 + make test 01:03:38 go test ./... -coverprofile=coverage.out ./... 01:03:42 ? github.com/edgexfoundry/device-gpio [no test files] 01:03:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:03:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:03:56 go vet ./... 01:03:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:03:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:03:59 ./bin/test-attribution-txt.sh [Pipeline] echo 01:03:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:03:59 $ docker stop --time=1 60e98faba4de14fbcdc5d2c2dc9f32fc9869eef92e15dc9d64f53cb01df7449d 01:04:02 $ docker rm -f --volumes 60e98faba4de14fbcdc5d2c2dc9f32fc9869eef92e15dc9d64f53cb01df7449d [Pipeline] // withDockerContainer [Pipeline] sh 01:04:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:04:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:04:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:04:03 + ls -al . 01:04:03 total 156 01:04:03 drwxrwxr-x 9 jenkins jenkins 4096 May 9 01:03 . 01:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 01:02 .. 01:04:03 -rw-rw-r-- 1 jenkins jenkins 120 May 9 01:02 .dockerignore 01:04:03 drwxrwxr-x 8 jenkins jenkins 4096 May 9 01:02 .git 01:04:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:02 .github 01:04:03 -rw-rw-r-- 1 jenkins jenkins 343 May 9 01:02 .gitignore 01:04:03 -rw-rw-r-- 1 jenkins jenkins 41 May 9 01:02 .golangci.yml 01:04:03 drwxr-xr-x 3 jenkins jenkins 4096 May 9 01:02 .semver 01:04:03 -rw-rw-r-- 1 jenkins jenkins 9702 May 9 01:02 Attribution.txt 01:04:03 -rw-rw-r-- 1 jenkins jenkins 4069 May 9 01:02 CHANGELOG.md 01:04:03 -rw-rw-r-- 1 jenkins jenkins 1542 May 9 01:02 Dockerfile 01:04:03 -rw-rw-r-- 1 jenkins jenkins 677 May 9 01:02 GOVERNANCE.md 01:04:03 -rw-rw-r-- 1 jenkins jenkins 657 May 9 01:02 Jenkinsfile 01:04:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 01:02 LICENSE 01:04:03 -rw-rw-r-- 1 jenkins jenkins 1692 May 9 01:02 Makefile 01:04:03 -rw-rw-r-- 1 jenkins jenkins 617 May 9 01:02 OWNERS.md 01:04:03 -rw-rw-r-- 1 jenkins jenkins 11790 May 9 01:02 README.md 01:04:03 -rw-rw-r-- 1 jenkins jenkins 5 May 9 01:02 VERSION 01:04:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 01:02 bin 01:04:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:02 cmd 01:04:03 -rw-r--r-- 1 jenkins jenkins 10 May 9 01:03 coverage.out 01:04:03 -rw-rw-r-- 1 jenkins jenkins 3269 May 9 01:02 go.mod 01:04:03 -rw-rw-r-- 1 jenkins jenkins 31585 May 9 01:02 go.sum 01:04:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:02 internal 01:04:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 01:02 snap 01:04:03 -rw-rw-r-- 1 jenkins jenkins 209 May 9 01:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:04 + 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=9b02e5e4689219a8866c9f18808cfdb5590a7e0d --label arch=amd64 --label version=0.0.0 . 01:04:04 Sending build context to Docker daemon 16.12MB 01:04:04 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:04:04 Step 2/25 : FROM ${BASE} AS builder 01:04:04 ---> 0c446031c2ba 01:04:04 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:04:04 ---> Running in 5ae7967ef8a3 01:04:04 Removing intermediate container 5ae7967ef8a3 01:04:04 ---> ed598c75f083 01:04:04 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:04:04 ---> Running in 475b29445d49 01:04:04 Removing intermediate container 475b29445d49 01:04:04 ---> 50b119dec92d 01:04:04 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:04:04 ---> Running in 4ce672a257d6 01:04:04 Removing intermediate container 4ce672a257d6 01:04:04 ---> 936b6f229b6f 01:04:04 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:04:04 ---> Running in f2c99d8715e9 01:04:04 Removing intermediate container f2c99d8715e9 01:04:04 ---> 37f94e2124d1 01:04:04 Step 7/25 : WORKDIR /device-gpio 01:04:04 ---> Running in 4440701dede7 01:04:04 Removing intermediate container 4440701dede7 01:04:04 ---> ec40b118c2ab 01:04:04 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:04 ---> Running in e523b1e6b5b4 01:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:05 OK: 269 MiB in 57 packages 01:04:05 Removing intermediate container e523b1e6b5b4 01:04:05 ---> d9cddabef833 01:04:05 Step 9/25 : COPY go.mod vendor* ./ 01:04:06 ---> 767fb657a1d3 01:04:06 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:06 ---> Running in 4aeb7618d386 01:04:06 Removing intermediate container 4aeb7618d386 01:04:06 ---> 9f1444e0df80 01:04:06 Step 11/25 : COPY . . 01:04:07 ---> 4d0b97842495 01:04:07 Step 12/25 : RUN ${MAKE} 01:04:07 ---> Running in 6fec2cc54452 01:04:07 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 01:04:25 Removing intermediate container 6fec2cc54452 01:04:25 ---> afb01f139e80 01:04:25 Step 13/25 : FROM alpine:3.17 01:04:25 3.17: Pulling from library/alpine 01:04:25 f56be85fc22e: Already exists 01:04:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:04:25 Status: Downloaded newer image for alpine:3.17 01:04:25 ---> 9ed4aefc74f6 01:04:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:04:25 ---> Running in e00b19ce6448 01:04:25 Removing intermediate container e00b19ce6448 01:04:25 ---> 39f8853c5fec 01:04:25 Step 15/25 : RUN apk add --update --no-cache 01:04:25 ---> Running in 1ae8e9e0f0b4 01:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:04:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:04:25 OK: 7 MiB in 15 packages 01:04:26 Removing intermediate container 1ae8e9e0f0b4 01:04:26 ---> 7261ca9a70cd 01:04:26 Step 16/25 : WORKDIR / 01:04:26 ---> Running in 1cee128f3e54 01:04:26 Removing intermediate container 1cee128f3e54 01:04:26 ---> d4236787e533 01:04:26 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:04:26 ---> d6581ccf8f05 01:04:26 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:04:26 ---> a1fce78fd1b8 01:04:26 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:04:26 ---> ea83ee637099 01:04:26 Step 20/25 : EXPOSE 59910 01:04:26 ---> Running in 869288f88dd4 01:04:26 Removing intermediate container 869288f88dd4 01:04:26 ---> 7d6af2da41b5 01:04:26 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:04:26 ---> Running in e390c51df5cf 01:04:27 Removing intermediate container e390c51df5cf 01:04:27 ---> ba0aee4c74b3 01:04:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:04:27 ---> Running in a11f34422324 01:04:27 Removing intermediate container a11f34422324 01:04:27 ---> 9809a93d4a26 01:04:27 Step 23/25 : LABEL arch=amd64 01:04:27 ---> Running in bdabb93c8b97 01:04:27 Removing intermediate container bdabb93c8b97 01:04:27 ---> ba9eb79078b1 01:04:27 Step 24/25 : LABEL git_sha=9b02e5e4689219a8866c9f18808cfdb5590a7e0d 01:04:27 ---> Running in 0a7ad2fde018 01:04:27 Removing intermediate container 0a7ad2fde018 01:04:27 ---> c8653d300b06 01:04:27 Step 25/25 : LABEL version=0.0.0 01:04:27 ---> Running in cf03604c934f 01:04:27 Removing intermediate container cf03604c934f 01:04:27 ---> 3d25f54644ab 01:04:27 [Warning] One or more build-args [ARCH] were not consumed 01:04:27 Successfully built 3d25f54644ab 01:04:27 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 01:04:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:28 01:04:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:28 latest: Pulling from edgex-lftools-log-publisher 01:04:28 5eb5b503b376: Pulling fs layer 01:04:28 5c69ac0246d0: Pulling fs layer 01:04:28 ec43610c2a17: Pulling fs layer 01:04:28 3a2ae6a8a46f: Pulling fs layer 01:04:28 33b1e0a273af: Pulling fs layer 01:04:28 5d3b04190fa2: Pulling fs layer 01:04:28 2f39f015ded8: Pulling fs layer 01:04:28 33b1e0a273af: Waiting 01:04:28 5d3b04190fa2: Waiting 01:04:28 3a2ae6a8a46f: Waiting 01:04:28 2f39f015ded8: Waiting 01:04:28 5c69ac0246d0: Download complete 01:04:28 3a2ae6a8a46f: Verifying Checksum 01:04:28 3a2ae6a8a46f: Download complete 01:04:28 33b1e0a273af: Verifying Checksum 01:04:28 33b1e0a273af: Download complete 01:04:28 5d3b04190fa2: Download complete 01:04:28 ec43610c2a17: Verifying Checksum 01:04:28 ec43610c2a17: Download complete 01:04:28 5eb5b503b376: Verifying Checksum 01:04:28 5eb5b503b376: Download complete 01:04:29 2f39f015ded8: Download complete 01:04:30 5eb5b503b376: Pull complete 01:04:30 5c69ac0246d0: Pull complete 01:04:30 ec43610c2a17: Pull complete 01:04:30 3a2ae6a8a46f: Pull complete 01:04:30 33b1e0a273af: Pull complete 01:04:30 5d3b04190fa2: Pull complete 01:04:35 2f39f015ded8: Pull complete 01:04:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:04:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:35 prd-ubuntu20.04-docker-8c-8g-14593 does not seem to be running inside a container 01:04:35 $ 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-174 -v /w/workspace/edgexfoundry_device-gpio_PR-174:/w/workspace/edgexfoundry_device-gpio_PR-174:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-174@tmp:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:04:38 $ docker top 930d9beb6f336ec9533f624d29380d161d076cc091868dd5e4314577ed36530b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:39 ---> job-cost.sh 01:04:39 lf-activate-venv: SKIPPING 01:04:39 INFO: No Stack... 01:04:39 INFO: Retrieving Pricing Info for: v3-standard-8 01:04:39 INFO: Archiving Costs [Pipeline] sh 01:04:39 + cat /w/workspace/edgexfoundry_device-gpio_PR-174/archives/cost.csv 01:04:39 + cut -d, -f6 [Pipeline] lock 01:04:39 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] 01:04:39 Resource [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] did not exist. Created. 01:04:39 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:04:40 + echo total: 0.2199999988079071 [Pipeline] stash 01:04:40 Stashed 1 file(s) [Pipeline] } 01:04:40 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:04:40 $ docker stop --time=1 930d9beb6f336ec9533f624d29380d161d076cc091868dd5e4314577ed36530b 01:04:41 $ docker rm -f --volumes 930d9beb6f336ec9533f624d29380d161d076cc091868dd5e4314577ed36530b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:06:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14596 in /w/workspace/edgexfoundry_device-gpio_PR-174 [Pipeline] { [Pipeline] ws 01:06:23 Running in /w/workspace/device-gpio/1 [Pipeline] { [Pipeline] checkout 01:06:23 The recommended git tool is: git 01:06:29 using credential edgex-jenkins-ssh 01:06:29 Cloning the remote Git repository 01:06:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:06:30 > git init /w/workspace/device-gpio/1 # timeout=10 01:06:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:06:30 > git --version # timeout=10 01:06:30 > git --version # 'git version 2.25.1' 01:06:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:32 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:06:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:06:33 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:06:33 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:06:33 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:06:33 Merging remotes/origin/main commit 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 into PR head commit 9b02e5e4689219a8866c9f18808cfdb5590a7e0d 01:06:34 Merge succeeded, producing 9b02e5e4689219a8866c9f18808cfdb5590a7e0d 01:06:34 Checking out Revision 9b02e5e4689219a8866c9f18808cfdb5590a7e0d (PR-174) 01:06:34 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:06:34 > git --version # timeout=10 01:06:34 > git --version # 'git version 2.25.1' 01:06:34 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:06:33 > git config core.sparsecheckout # timeout=10 01:06:33 > git checkout -f 9b02e5e4689219a8866c9f18808cfdb5590a7e0d # timeout=10 01:06:34 > git remote # timeout=10 01:06:34 > git config --get remote.origin.url # timeout=10 01:06:34 using GIT_SSH to set credentials SSH Credentials for GitHub 01:06:34 > git merge 366ee754c41d9a0fdc0bb38cee0c371b1007dce8 # timeout=10 01:06:34 > git rev-parse HEAD^{commit} # timeout=10 01:06:34 > git config core.sparsecheckout # timeout=10 01:06:34 > git checkout -f 9b02e5e4689219a8866c9f18808cfdb5590a7e0d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:06:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:06:36 % Total % Received % Xferd Average Speed Time Time Time Current 01:06:36 Dload Upload Total Spent Left Speed 01:06:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 01:06:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:06:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:06:37 + sudo tee /etc/docker/daemon.new 01:06:37 { 01:06:37 "registry-mirrors": [ 01:06:37 "https://nexus3.edgexfoundry.org:10001" 01:06:37 ], 01:06:37 "bip": "10.250.0.254/24", 01:06:37 "hosts": [ 01:06:37 "tcp://0.0.0.0:5555", 01:06:37 "unix:///var/run/docker.sock" 01:06:37 ], 01:06:37 "mtu": 1458, 01:06:37 "selinux-enabled": true, 01:06:37 "seccomp-profile": "/etc/docker/seccomp.json" 01:06:37 } [Pipeline] sh 01:06:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:06:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:06:56 provisioning config files... 01:06:56 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/1@tmp/config9869797146484871662tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:06:56 ---> docker-login.sh 01:06:56 nexus3.edgexfoundry.org:10001 01:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:57 Configure a credential helper to remove this warning. See 01:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:57 01:06:57 Login Succeeded 01:06:57 nexus3.edgexfoundry.org:10002 01:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:57 Configure a credential helper to remove this warning. See 01:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:57 01:06:57 Login Succeeded 01:06:57 nexus3.edgexfoundry.org:10003 01:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:57 Configure a credential helper to remove this warning. See 01:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:57 01:06:57 Login Succeeded 01:06:57 nexus3.edgexfoundry.org:10004 01:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:58 Configure a credential helper to remove this warning. See 01:06:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:58 01:06:58 Login Succeeded 01:06:58 docker.io 01:06:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:06:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:06:59 Configure a credential helper to remove this warning. See 01:06:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:06:59 01:06:59 Login Succeeded 01:06:59 ---> docker-login.sh ends [Pipeline] } 01:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:06:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:06:59 ========================================================= 01:06:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:06:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:07:00 Sending build context to Docker daemon 8.141MB 01:07:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:07:00 Step 2/12 : FROM ${BASE} AS builder 01:07:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:07:03 c41833b44d91: Pulling fs layer 01:07:03 ed15518f5707: Pulling fs layer 01:07:03 feae8fd75edb: Pulling fs layer 01:07:03 242c74f7c9fa: Pulling fs layer 01:07:03 3cdef696dda3: Pulling fs layer 01:07:03 2ced38df9373: Pulling fs layer 01:07:03 58f1dce35555: Pulling fs layer 01:07:03 242c74f7c9fa: Waiting 01:07:03 3cdef696dda3: Waiting 01:07:03 2ced38df9373: Waiting 01:07:03 58f1dce35555: Waiting 01:07:04 ed15518f5707: Verifying Checksum 01:07:04 ed15518f5707: Download complete 01:07:04 242c74f7c9fa: Verifying Checksum 01:07:04 242c74f7c9fa: Download complete 01:07:04 3cdef696dda3: Verifying Checksum 01:07:04 3cdef696dda3: Download complete 01:07:04 c41833b44d91: Verifying Checksum 01:07:04 c41833b44d91: Download complete 01:07:05 c41833b44d91: Pull complete 01:07:05 58f1dce35555: Verifying Checksum 01:07:05 58f1dce35555: Download complete 01:07:05 ed15518f5707: Pull complete 01:07:06 feae8fd75edb: Verifying Checksum 01:07:06 feae8fd75edb: Download complete 01:07:06 2ced38df9373: Verifying Checksum 01:07:06 2ced38df9373: Download complete 01:07:18 feae8fd75edb: Pull complete 01:07:18 242c74f7c9fa: Pull complete 01:07:18 3cdef696dda3: Pull complete 01:07:25 2ced38df9373: Pull complete 01:07:29 58f1dce35555: Pull complete 01:07:29 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:07:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:07:29 ---> fadd8f120f05 01:07:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:07:30 ---> Running in 307016217bc2 01:07:31 Removing intermediate container 307016217bc2 01:07:31 ---> 3c669cb5d2ce 01:07:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:07:31 ---> Running in 4af1ea49ea53 01:07:31 Removing intermediate container 4af1ea49ea53 01:07:31 ---> 91e65d318523 01:07:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:07:31 ---> Running in f37747a104ed 01:07:31 Removing intermediate container f37747a104ed 01:07:31 ---> b7a1b4fb9212 01:07:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:07:31 ---> Running in f96a2875c34b 01:07:32 Removing intermediate container f96a2875c34b 01:07:32 ---> cf4fee054a9c 01:07:32 Step 7/12 : WORKDIR /device-gpio 01:07:32 ---> Running in e818179fe989 01:07:32 Removing intermediate container e818179fe989 01:07:32 ---> 5475411d0a44 01:07:32 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:32 ---> Running in 52093cd54968 01:07:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:07:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:07:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:07:35 (2/4) Installing libedit (20221030.3.1-r0) 01:07:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:07:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:07:35 Executing busybox-1.35.0-r29.trigger 01:07:35 OK: 268 MiB in 57 packages 01:07:36 Removing intermediate container 52093cd54968 01:07:36 ---> 8bab3f084137 01:07:36 Step 9/12 : COPY go.mod vendor* ./ 01:07:37 ---> 64573eea9762 01:07:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:37 ---> Running in 8eb0db953155 01:08:45 Removing intermediate container 8eb0db953155 01:08:45 ---> e607aed5101a 01:08:45 Step 11/12 : COPY . . 01:08:45 ---> b4fc2115cf66 01:08:45 Step 12/12 : RUN ${MAKE} 01:08:45 ---> Running in 4f704b6f28b0 01:08:45 noop 01:08:45 Removing intermediate container 4f704b6f28b0 01:08:45 ---> 1005e43d6062 01:08:45 Successfully built 1005e43d6062 01:08:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:45 + docker inspect -f . ci-base-image-arm64 01:08:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:46 prd-ubuntu20.04-docker-arm64-4c-16g-14596 does not seem to be running inside a container 01:08:46 $ 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 ******** ci-base-image-arm64 cat 01:08:47 $ docker top 7d8689a7996b972fc3b3669a6b206155084b494d7d69fa84346c110ca8ee4b19 -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:48 + go version 01:08:48 go version go1.20.2 linux/arm64 [Pipeline] } 01:08:48 $ docker stop --time=1 7d8689a7996b972fc3b3669a6b206155084b494d7d69fa84346c110ca8ee4b19 01:08:50 $ docker rm -f --volumes 7d8689a7996b972fc3b3669a6b206155084b494d7d69fa84346c110ca8ee4b19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:51 + docker inspect -f . ci-base-image-arm64 01:08:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:08:51 prd-ubuntu20.04-docker-arm64-4c-16g-14596 does not seem to be running inside a container 01:08:52 $ 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 ******** ci-base-image-arm64 cat 01:08:53 $ docker top 3ec5240db84508c9fb17d7f87c61ad8eb7c484830bef94c74fe7167f0cf98cbf -eo pid,comm [Pipeline] { [Pipeline] sh 01:08:53 + git config --global --add safe.directory /w/workspace/device-gpio/1 [Pipeline] fileExists [Pipeline] sh 01:08:54 + make test 01:08:54 go test ./... -coverprofile=coverage.out ./... 01:09:33 ? github.com/edgexfoundry/device-gpio [no test files] 01:11:25 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:11:25 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:11:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:11:25 go vet ./... 01:11:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:11:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:11:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:11:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:11:57 $ docker stop --time=1 3ec5240db84508c9fb17d7f87c61ad8eb7c484830bef94c74fe7167f0cf98cbf 01:12:02 $ docker rm -f --volumes 3ec5240db84508c9fb17d7f87c61ad8eb7c484830bef94c74fe7167f0cf98cbf [Pipeline] // withDockerContainer [Pipeline] sh 01:12:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:04 Warning: overwriting stash ‘coverage-report’ 01:12:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:05 + ls -al . 01:12:05 total 152 01:12:05 drwxrwxr-x 8 jenkins jenkins 4096 May 9 01:08 . 01:12:05 drwxrwxr-x 4 jenkins jenkins 4096 May 9 01:06 .. 01:12:05 -rw-rw-r-- 1 jenkins jenkins 120 May 9 01:06 .dockerignore 01:12:05 drwxrwxr-x 8 jenkins jenkins 4096 May 9 01:06 .git 01:12:05 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:06 .github 01:12:05 -rw-rw-r-- 1 jenkins jenkins 343 May 9 01:06 .gitignore 01:12:05 -rw-rw-r-- 1 jenkins jenkins 41 May 9 01:06 .golangci.yml 01:12:05 -rw-rw-r-- 1 jenkins jenkins 9702 May 9 01:06 Attribution.txt 01:12:05 -rw-rw-r-- 1 jenkins jenkins 4069 May 9 01:06 CHANGELOG.md 01:12:05 -rw-rw-r-- 1 jenkins jenkins 1542 May 9 01:06 Dockerfile 01:12:05 -rw-rw-r-- 1 jenkins jenkins 677 May 9 01:06 GOVERNANCE.md 01:12:05 -rw-rw-r-- 1 jenkins jenkins 657 May 9 01:06 Jenkinsfile 01:12:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 01:06 LICENSE 01:12:05 -rw-rw-r-- 1 jenkins jenkins 1692 May 9 01:06 Makefile 01:12:05 -rw-rw-r-- 1 jenkins jenkins 617 May 9 01:06 OWNERS.md 01:12:05 -rw-rw-r-- 1 jenkins jenkins 11790 May 9 01:06 README.md 01:12:05 -rw-rw-r-- 1 jenkins jenkins 5 May 9 01:02 VERSION 01:12:05 drwxrwxr-x 2 jenkins jenkins 4096 May 9 01:06 bin 01:12:05 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:06 cmd 01:12:05 -rw-r--r-- 1 jenkins jenkins 10 May 9 01:08 coverage.out 01:12:05 -rw-rw-r-- 1 jenkins jenkins 3269 May 9 01:06 go.mod 01:12:05 -rw-rw-r-- 1 jenkins jenkins 31585 May 9 01:06 go.sum 01:12:05 drwxrwxr-x 3 jenkins jenkins 4096 May 9 01:06 internal 01:12:05 drwxrwxr-x 4 jenkins jenkins 4096 May 9 01:06 snap 01:12:05 -rw-rw-r-- 1 jenkins jenkins 209 May 9 01:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:06 + 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=9b02e5e4689219a8866c9f18808cfdb5590a7e0d --label arch=arm64 --label version=0.0.0 . 01:12:06 Sending build context to Docker daemon 8.142MB 01:12:06 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:12:06 Step 2/25 : FROM ${BASE} AS builder 01:12:06 ---> 1005e43d6062 01:12:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:12:06 ---> Running in c6a40f75d754 01:12:06 Removing intermediate container c6a40f75d754 01:12:06 ---> 863828fb2869 01:12:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:06 ---> Running in 3b1b2c89c353 01:12:07 Removing intermediate container 3b1b2c89c353 01:12:07 ---> 0cd8cb3f4615 01:12:07 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:12:07 ---> Running in 3d232b8a7d95 01:12:07 Removing intermediate container 3d232b8a7d95 01:12:07 ---> 35dc1444a1aa 01:12:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:12:07 ---> Running in e03f47d4b0c2 01:12:08 Removing intermediate container e03f47d4b0c2 01:12:08 ---> 5a6bafd95e6f 01:12:08 Step 7/25 : WORKDIR /device-gpio 01:12:08 ---> Running in 00e43cb14935 01:12:08 Removing intermediate container 00e43cb14935 01:12:08 ---> 2f699ded5add 01:12:08 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:08 ---> Running in 0824c802904e 01:12:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:12:11 OK: 268 MiB in 57 packages 01:12:12 Removing intermediate container 0824c802904e 01:12:12 ---> 04d1f25917bc 01:12:12 Step 9/25 : COPY go.mod vendor* ./ 01:12:12 ---> 9c992540a7ff 01:12:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:13 ---> Running in bf1ef783484d 01:12:15 Removing intermediate container bf1ef783484d 01:12:15 ---> 98270010ba39 01:12:15 Step 11/25 : COPY . . 01:12:16 ---> f0e0049e0fad 01:12:16 Step 12/25 : RUN ${MAKE} 01:12:16 ---> Running in ebdcec7f787d 01:12:17 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 01:14:39 Removing intermediate container ebdcec7f787d 01:14:39 ---> 88f11b2f41a9 01:14:39 Step 13/25 : FROM alpine:3.17 01:14:39 3.17: Pulling from library/alpine 01:14:39 c41833b44d91: Already exists 01:14:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:14:39 Status: Downloaded newer image for alpine:3.17 01:14:39 ---> 51e60588ff2c 01:14:39 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:14:39 ---> Running in a81ae7412177 01:14:39 Removing intermediate container a81ae7412177 01:14:39 ---> d31b35744847 01:14:39 Step 15/25 : RUN apk add --update --no-cache 01:14:39 ---> Running in 077fc940c0e1 01:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:14:39 OK: 7 MiB in 15 packages 01:14:39 Removing intermediate container 077fc940c0e1 01:14:39 ---> 4ac7d5c3f276 01:14:39 Step 16/25 : WORKDIR / 01:14:39 ---> Running in d3062a6a1607 01:14:39 Removing intermediate container d3062a6a1607 01:14:39 ---> ab887a2cc95a 01:14:39 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 01:14:39 ---> 70a5228d660c 01:14:39 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 01:14:39 ---> 0df6266058fc 01:14:39 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 01:14:39 ---> 2924e8af7683 01:14:39 Step 20/25 : EXPOSE 59910 01:14:39 ---> Running in 99d5f9b780f3 01:14:39 Removing intermediate container 99d5f9b780f3 01:14:39 ---> b91f56f270f2 01:14:39 Step 21/25 : ENTRYPOINT ["/device-gpio"] 01:14:39 ---> Running in a20ba7c30eaa 01:14:39 Removing intermediate container a20ba7c30eaa 01:14:39 ---> 573483212a94 01:14:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:14:39 ---> Running in 76e3fca0d161 01:14:39 Removing intermediate container 76e3fca0d161 01:14:39 ---> 5df83e7da41e 01:14:39 Step 23/25 : LABEL arch=arm64 01:14:39 ---> Running in 3e9d2f22c968 01:14:39 Removing intermediate container 3e9d2f22c968 01:14:39 ---> 8fc83e5a2e75 01:14:39 Step 24/25 : LABEL git_sha=9b02e5e4689219a8866c9f18808cfdb5590a7e0d 01:14:39 ---> Running in ab002559fe4a 01:14:39 Removing intermediate container ab002559fe4a 01:14:39 ---> af15c1d0b1ad 01:14:39 Step 25/25 : LABEL version=0.0.0 01:14:39 ---> Running in 10e5f2ddf1c2 01:14:39 Removing intermediate container 10e5f2ddf1c2 01:14:39 ---> a31355cfc0d5 01:14:39 [Warning] One or more build-args [ARCH] were not consumed 01:14:39 Successfully built a31355cfc0d5 01:14:39 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 01:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:40 01:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:40 arm64: Pulling from edgex-lftools-log-publisher 01:14:40 8998bd30e6a1: Pulling fs layer 01:14:40 04944245beec: Pulling fs layer 01:14:40 699f458cf7ca: Pulling fs layer 01:14:40 765212b225bb: Pulling fs layer 01:14:40 f23df028b6ca: Pulling fs layer 01:14:40 d65c8cfc05b1: Pulling fs layer 01:14:40 2437ff75d9bd: Pulling fs layer 01:14:40 f23df028b6ca: Waiting 01:14:40 765212b225bb: Waiting 01:14:40 d65c8cfc05b1: Waiting 01:14:40 2437ff75d9bd: Waiting 01:14:40 04944245beec: Verifying Checksum 01:14:40 04944245beec: Download complete 01:14:40 765212b225bb: Verifying Checksum 01:14:40 765212b225bb: Download complete 01:14:40 f23df028b6ca: Download complete 01:14:40 d65c8cfc05b1: Verifying Checksum 01:14:40 d65c8cfc05b1: Download complete 01:14:40 699f458cf7ca: Verifying Checksum 01:14:40 699f458cf7ca: Download complete 01:14:41 8998bd30e6a1: Download complete 01:14:43 2437ff75d9bd: Verifying Checksum 01:14:43 2437ff75d9bd: Download complete 01:14:45 8998bd30e6a1: Pull complete 01:14:45 04944245beec: Pull complete 01:14:46 699f458cf7ca: Pull complete 01:14:46 765212b225bb: Pull complete 01:14:47 f23df028b6ca: Pull complete 01:14:47 d65c8cfc05b1: Pull complete 01:15:00 2437ff75d9bd: Pull complete 01:15:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:15:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:00 prd-ubuntu20.04-docker-arm64-4c-16g-14596 does not seem to be running inside a container 01:15:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:15:03 $ docker top 7e118a4b104bd9dcc8c3b56f6a3cc27e6c0987632f5f3bbf36eab22c35e70393 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:03 ---> job-cost.sh 01:15:03 lf-activate-venv: SKIPPING 01:15:03 INFO: No Stack... 01:15:04 INFO: Retrieving Pricing Info for: v3-standard-4 01:15:05 INFO: Archiving Costs [Pipeline] sh 01:15:05 + cat /w/workspace/device-gpio/1/archives/cost.csv 01:15:05 + cut -d, -f6 [Pipeline] lock 01:15:05 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] 01:15:05 Resource [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] did not exist. Created. 01:15:05 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:15:06 /w/workspace/device-gpio/1@tmp/durable-207dc5b0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:15:07 + echo total: 0.10999999940395355 [Pipeline] stash 01:15:07 Warning: overwriting stash ‘stack-cost’ 01:15:07 Stashed 1 file(s) [Pipeline] } 01:15:07 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-174-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:15:07 $ docker stop --time=1 7e118a4b104bd9dcc8c3b56f6a3cc27e6c0987632f5f3bbf36eab22c35e70393 01:15:08 $ docker rm -f --volumes 7e118a4b104bd9dcc8c3b56f6a3cc27e6c0987632f5f3bbf36eab22c35e70393 [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 01:15:09 provisioning config files... 01:15:09 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/config14107932591246360786tmp [Pipeline] { [Pipeline] sh 01:15:10 + set +x 01:15:10 + bash -s -- 01:15:10 + curl -s https://codecov.io/bash 01:15:10 01:15:10 _____ _ 01:15:10 / ____| | | 01:15:10 | | ___ __| | ___ ___ _____ __ 01:15:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:15:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:15:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:15:10 Bash-1.0.6 01:15:10 01:15:10 01:15:10 ==> git version 2.25.1 found 01:15:10 ==> 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 01:15:10 Release-Date: 2020-01-08 01:15:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:15:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:15:10 ==> Jenkins CI detected. 01:15:10 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-174 01:15:10 project root: . 01:15:10 --> token set from env 01:15:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:15:10 ==> Running gcov in . (disable via -X gcov) 01:15:10 ==> Python coveragepy not found 01:15:10 ==> Searching for coverage reports in: 01:15:10 + . 01:15:10 -> Found 1 reports 01:15:10 ==> Detecting git/mercurial file structure 01:15:10 ==> Reading reports 01:15:10 + ./coverage.out bytes=10 01:15:10 ==> Appending adjustments 01:15:10 https://docs.codecov.io/docs/fixing-reports 01:15:10 + Found adjustments 01:15:10 ==> Gzipping contents 01:15:10 4.0K /tmp/codecov.449LyI.gz 01:15:10 ==> Uploading reports 01:15:10 url: https://codecov.io 01:15:10 query: branch=PR-174&commit=9b02e5e4689219a8866c9f18808cfdb5590a7e0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=174&job=&cmd_args= 01:15:10 -> Pinging Codecov 01:15:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-174&commit=9b02e5e4689219a8866c9f18808cfdb5590a7e0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-174%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=174&job=&cmd_args= 01:15:10 -> Uploading to 01:15:10 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9b02e5e4689219a8866c9f18808cfdb5590a7e0d/9911bf25-b464-4523-9864-916fdb1c4ba9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T011510Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6658b2f9cf8456733ce1f0f8265f49db0a3349ad210e0c92e8416dd8aada558d 01:15:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:15:10 Dload Upload Total Spent Left Speed 01:15:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3080 --:--:-- --:--:-- --:--:-- 3080 01:15:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9b02e5e4689219a8866c9f18808cfdb5590a7e0d [Pipeline] } 01:15:11 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 01:15:13 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-174/archives ] 01:15:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-174/archives 01:15:13 total 16 01:15:13 drwxr-xr-x 3 root root 4096 May 9 01:04 . 01:15:13 drwxrwxr-x 10 jenkins jenkins 4096 May 9 01:04 .. 01:15:13 drwxr-xr-x 2 root root 4096 May 9 01:04 cost 01:15:13 -rw-r--r-- 1 root root 83 May 9 01:04 cost.csv 01:15:13 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-174/archives 01:15:13 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-174/archives 01:15:13 total 16 01:15:13 drwxr-xr-x 3 jenkins jenkins 4096 May 9 01:04 . 01:15:13 drwxrwxr-x 10 jenkins jenkins 4096 May 9 01:04 .. 01:15:13 drwxr-xr-x 2 jenkins jenkins 4096 May 9 01:04 cost 01:15:13 -rw-r--r-- 1 jenkins jenkins 83 May 9 01:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:15:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:15:14 ---> package-listing.sh 01:15:14 ++ facter osfamily 01:15:14 ++ tr '[:upper:]' '[:lower:]' 01:15:14 + OS_FAMILY=debian 01:15:14 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-174 01:15:14 + START_PACKAGES=/tmp/packages_start.txt 01:15:14 + END_PACKAGES=/tmp/packages_end.txt 01:15:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:15:14 + PACKAGES=/tmp/packages_start.txt 01:15:14 + '[' /w/workspace/edgexfoundry_device-gpio_PR-174 ']' 01:15:14 + PACKAGES=/tmp/packages_end.txt 01:15:14 + case "${OS_FAMILY}" in 01:15:14 + dpkg -l 01:15:14 + grep '^ii' 01:15:14 + '[' -f /tmp/packages_start.txt ']' 01:15:14 + '[' -f /tmp/packages_end.txt ']' 01:15:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:15:14 + '[' /w/workspace/edgexfoundry_device-gpio_PR-174 ']' 01:15:14 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-174/archives/ 01:15:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-174/archives/ [Pipeline] echo 01:15:14 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:15:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:15:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:15 prd-ubuntu20.04-docker-8c-8g-14593 does not seem to be running inside a container 01:15:15 $ 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-174/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-174 -v /w/workspace/edgexfoundry_device-gpio_PR-174:/w/workspace/edgexfoundry_device-gpio_PR-174:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-174@tmp:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:15:15 $ docker top 79d2b5506f8072f5724aeb9c8ee0f6abd3208313345325134e0852e670995206 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:16 + touch /tmp/pre-build-complete [Pipeline] sh 01:15:16 + mkdir -p /var/log/sysstat [Pipeline] sh 01:15:16 + ls /var/log/sa-host 01:15:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:15:17 provisioning config files... 01:15:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-174@tmp/config1739359418926067674tmp [Pipeline] { [Pipeline] echo 01:15:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:15:17 ---> create-netrc.sh [Pipeline] } 01:15:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:15:17 ---> python-tools-install.sh [Pipeline] echo 01:15:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:15:18 ---> sudo-logs.sh 01:15:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:15:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:15:18 ---> job-cost.sh 01:15:18 lf-activate-venv: SKIPPING 01:15:18 DEBUG: total: 0.2199999988079071 01:15:18 INFO: Retrieving Stack Cost... 01:15:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:15:19 INFO: Archiving Costs [Pipeline] echo 01:15:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:15:19 ---> logs-deploy.sh 01:15:19 lf-activate-venv: SKIPPING 01:15:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-174/1 01:15:19 INFO: archiving workspace using pattern(s): 01:15:20 Archives upload complete. 01:15:20 INFO: archiving logs to Nexus