Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5075b9e81635d00e611a2c2e84518ae3b9f6de56+6427482eab3bd2356a4491c722b8795ef3b48a72 (f9ac73e6df9aacc618ac8bda26f3474be5f11beb) 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-ssh15887488010628576110.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16245782697730599484.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-71/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12751553095421983949.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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 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-ssh16704632440855264294.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-71/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14608545767745021853.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2416 in /w/workspace/edgexfoundry_device-gpio_PR-71 [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-71 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 Merge succeeded, producing bbca0d81aa73e5383f9279665caa0789e91327e6 Checking out Revision bbca0d81aa73e5383f9279665caa0789e91327e6 (PR-71) > git config core.sparsecheckout # timeout=10 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbca0d81aa73e5383f9279665caa0789e91327e6 # timeout=10 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:21:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:21:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:21:57 ========================================================= 13:21:57 EdgeX Global Pipelines Version Info 13:21:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:21:58 ------------------- 13:21:58 stable info: 13:21:58 ------------------- 13:21:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:21:58 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 13:21:58 Message: update stable to v1.0.245 13:21:58 ------------------- 13:21:58 experimental info: 13:21:58 ------------------- 13:21:58 Commited By: **** collab-it+edgex@linuxfoundation.org 13:21:58 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 13:21:58 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-71 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-71 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-71 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbca0d81aa73e5383f9279665caa0789e91327e6 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbca0d8 [Pipeline] echo 13:21:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:21:59 provisioning config files... 13:21:59 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config1862918180464259157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:21:59 ---> docker-login.sh 13:21:59 nexus3.edgexfoundry.org:10001 13:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:00 Configure a credential helper to remove this warning. See 13:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:00 13:22:00 Login Succeeded 13:22:00 nexus3.edgexfoundry.org:10002 13:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:00 Configure a credential helper to remove this warning. See 13:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:00 13:22:00 Login Succeeded 13:22:00 nexus3.edgexfoundry.org:10003 13:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:00 Configure a credential helper to remove this warning. See 13:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:00 13:22:00 Login Succeeded 13:22:00 nexus3.edgexfoundry.org:10004 13:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:00 Configure a credential helper to remove this warning. See 13:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:00 13:22:00 Login Succeeded 13:22:00 docker.io 13:22:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:00 Configure a credential helper to remove this warning. See 13:22:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:00 13:22:00 Login Succeeded 13:22:00 ---> docker-login.sh ends [Pipeline] } 13:22:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:22:01 + git rev-list -1 --merges bbca0d81aa73e5383f9279665caa0789e91327e6~1..bbca0d81aa73e5383f9279665caa0789e91327e6 [Pipeline] echo 13:22:01 -----------> git rev-list -1 --merges bbca0d81aa73e5383f9279665caa0789e91327e6~1..bbca0d81aa73e5383f9279665caa0789e91327e6 bbca0d81aa73e5383f9279665caa0789e91327e6 13:22:01 bbca0d81aa73e5383f9279665caa0789e91327e6 [false] [Pipeline] sh 13:22:01 + git log --format=format:%s -1 bbca0d81aa73e5383f9279665caa0789e91327e6 [Pipeline] echo 13:22:01 ========================================================= 13:22:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:22:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:22:01 + git log --format=format:%s -1 bbca0d81aa73e5383f9279665caa0789e91327e6 [Pipeline] echo 13:22:01 [semverPrep] GIT_COMMIT: bbca0d81aa73e5383f9279665caa0789e91327e6, Commit Message: Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD [Pipeline] echo 13:22:01 [semverPrep] This is not a build commit. [Pipeline] sh 13:22:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:22:02 + grep -v github /etc/ssh/ssh_known_hosts 13:22:02 + [ -e /tmp/ssh_known_hosts ] 13:22:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:22:02 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:22:02 sudo tee -a /etc/ssh/ssh_known_hosts 13:22:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:22:02 13:22:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:22:02 0.1.4: Pulling from edgex-devops/py-git-semver 13:22:02 b85a868b505f: Pulling fs layer 13:22:02 e2be974225ed: Pulling fs layer 13:22:02 339a4e72a1f5: Pulling fs layer 13:22:02 988bab9f4d93: Pulling fs layer 13:22:02 1469e6f7b9e6: Pulling fs layer 13:22:02 eaf3925da568: Pulling fs layer 13:22:02 bab4dde63d76: Pulling fs layer 13:22:02 988bab9f4d93: Waiting 13:22:02 1469e6f7b9e6: Waiting 13:22:02 eaf3925da568: Waiting 13:22:02 bde34c3a00c8: Pulling fs layer 13:22:02 b352a97aabf1: Pulling fs layer 13:22:02 4872d77fe225: Pulling fs layer 13:22:02 bab4dde63d76: Waiting 13:22:02 bde34c3a00c8: Waiting 13:22:02 5851b861e8e6: Pulling fs layer 13:22:02 b352a97aabf1: Waiting 13:22:02 4872d77fe225: Waiting 13:22:02 e2be974225ed: Verifying Checksum 13:22:02 e2be974225ed: Download complete 13:22:02 988bab9f4d93: Verifying Checksum 13:22:02 988bab9f4d93: Download complete 13:22:02 1469e6f7b9e6: Verifying Checksum 13:22:02 1469e6f7b9e6: Download complete 13:22:02 339a4e72a1f5: Verifying Checksum 13:22:02 339a4e72a1f5: Download complete 13:22:02 eaf3925da568: Verifying Checksum 13:22:02 eaf3925da568: Download complete 13:22:02 bde34c3a00c8: Verifying Checksum 13:22:02 bde34c3a00c8: Download complete 13:22:02 b85a868b505f: Download complete 13:22:02 4872d77fe225: Verifying Checksum 13:22:02 4872d77fe225: Download complete 13:22:03 5851b861e8e6: Download complete 13:22:03 b352a97aabf1: Download complete 13:22:03 bab4dde63d76: Verifying Checksum 13:22:03 bab4dde63d76: Download complete 13:22:04 b85a868b505f: Pull complete 13:22:04 e2be974225ed: Pull complete 13:22:04 339a4e72a1f5: Pull complete 13:22:05 988bab9f4d93: Pull complete 13:22:05 1469e6f7b9e6: Pull complete 13:22:05 eaf3925da568: Pull complete 13:22:07 bab4dde63d76: Pull complete 13:22:07 bde34c3a00c8: Pull complete 13:22:07 b352a97aabf1: Pull complete 13:22:07 4872d77fe225: Pull complete 13:22:07 5851b861e8e6: Pull complete 13:22:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:22:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:22:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:22:07 prd-ubuntu20.04-docker-8c-8g-2416 does not seem to be running inside a container 13:22:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@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-devops/py-git-semver:0.1.4 cat 13:22:11 $ docker top 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a -eo pid,comm 13:22:11 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). 13:22:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:22:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:11 [ssh-agent] Looking for ssh-agent implementation... 13:22:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:11 $ docker exec 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a ssh-agent 13:22:11 SSH_AUTH_SOCK=/tmp/ssh-VgJq0Cpzws7F/agent.31 13:22:11 SSH_AGENT_PID=37 13:22:11 Running ssh-add (command line suppressed) 13:22:11 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_17397827932935894818.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_17397827932935894818.key) 13:22:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:11 + git tag --points-at HEAD [Pipeline] } 13:22:12 $ docker exec --env ******** --env ******** 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a ssh-agent -k 13:22:12 unset SSH_AUTH_SOCK; 13:22:12 unset SSH_AGENT_PID; 13:22:12 echo Agent pid 37 killed; 13:22:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:22:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:22:12 [ssh-agent] Looking for ssh-agent implementation... 13:22:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:22:12 $ docker exec 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a ssh-agent 13:22:12 SSH_AUTH_SOCK=/tmp/ssh-S8XBGwO4DP1L/agent.69 13:22:12 SSH_AGENT_PID=75 13:22:12 Running ssh-add (command line suppressed) 13:22:12 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_9692727620861380522.key (/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/private_key_9692727620861380522.key) 13:22:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:22:12 + git semver init 13:22:13 2023-03-16 13:22:12,987 [run_init] DEBUG init version:0.0.0 force:False 13:22:13 2023-03-16 13:22:12,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver 13:22:13 2023-03-16 13:22:12,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-71/.semver 13:22:13 2023-03-16 13:22:12,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-71/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71, universal_newlines=False, shell=None, istream=None) 13:22:13 2023-03-16 13:22:13,948 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.git/info/exclude 13:22:13 2023-03-16 13:22:13,948 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 with force:False 13:22:13 2023-03-16 13:22:13,948 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 13:22:13 2023-03-16 13:22:13,950 [execute] INFO git cat-file --batch-check 13:22:13 2023-03-16 13:22:13,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 13:22:13 2023-03-16 13:22:13,956 [execute] INFO git cat-file --batch 13:22:13 2023-03-16 13:22:13,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-71/.semver, universal_newlines=False, shell=None, istream=) 13:22:13 2023-03-16 13:22:13,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-71/.semver/PR-71 13:22:13 0.0.0 [Pipeline] } 13:22:14 $ docker exec --env ******** --env ******** 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a ssh-agent -k 13:22:14 unset SSH_AUTH_SOCK; 13:22:14 unset SSH_AGENT_PID; 13:22:14 echo Agent pid 75 killed; 13:22:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:22:14 + git semver [Pipeline] } 13:22:14 $ docker stop --time=1 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a 13:22:16 $ docker rm -f --volumes 372f00db9a456940648ea347d7af0df0aacd0d3af15cf270e9be75094dc15e8a [Pipeline] // withDockerContainer [Pipeline] sh 13:22:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:22:16 Stashed 1 file(s) [Pipeline] echo 13:22:16 [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 13:22:16 provisioning config files... 13:22:16 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config15797825510934842240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:22:16 ---> docker-login.sh 13:22:16 nexus3.edgexfoundry.org:10001 13:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:16 Configure a credential helper to remove this warning. See 13:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:16 13:22:16 Login Succeeded 13:22:16 nexus3.edgexfoundry.org:10002 13:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:16 Configure a credential helper to remove this warning. See 13:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:16 13:22:16 Login Succeeded 13:22:16 nexus3.edgexfoundry.org:10003 13:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:17 Configure a credential helper to remove this warning. See 13:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:17 13:22:17 Login Succeeded 13:22:17 nexus3.edgexfoundry.org:10004 13:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:17 Configure a credential helper to remove this warning. See 13:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:17 13:22:17 Login Succeeded 13:22:17 docker.io 13:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:22:17 Configure a credential helper to remove this warning. See 13:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:22:17 13:22:17 Login Succeeded 13:22:17 ---> docker-login.sh ends [Pipeline] } 13:22:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:22:17 ========================================================= 13:22:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 13:22:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:22:17 + 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 . 13:22:17 Sending build context to Docker daemon 16.03MB 13:22:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:22:17 Step 2/12 : FROM ${BASE} AS builder 13:22:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 13:22:18 63b65145d645: Pulling fs layer 13:22:18 a2d21d5440eb: Pulling fs layer 13:22:18 935e6c44a52c: Pulling fs layer 13:22:18 94cc34f8dd06: Pulling fs layer 13:22:18 30dea6a524f1: Pulling fs layer 13:22:18 a2aff8979fd8: Pulling fs layer 13:22:18 6808be2612f2: Pulling fs layer 13:22:18 f25807f1079a: Pulling fs layer 13:22:18 30dea6a524f1: Waiting 13:22:18 94cc34f8dd06: Waiting 13:22:18 a2aff8979fd8: Waiting 13:22:18 6808be2612f2: Waiting 13:22:18 a2d21d5440eb: Verifying Checksum 13:22:18 a2d21d5440eb: Download complete 13:22:18 94cc34f8dd06: Download complete 13:22:18 30dea6a524f1: Download complete 13:22:18 63b65145d645: Verifying Checksum 13:22:18 63b65145d645: Download complete 13:22:18 a2aff8979fd8: Verifying Checksum 13:22:18 a2aff8979fd8: Download complete 13:22:18 63b65145d645: Pull complete 13:22:18 a2d21d5440eb: Pull complete 13:22:18 f25807f1079a: Verifying Checksum 13:22:18 f25807f1079a: Download complete 13:22:18 935e6c44a52c: Verifying Checksum 13:22:18 935e6c44a52c: Download complete 13:22:18 6808be2612f2: Verifying Checksum 13:22:18 6808be2612f2: Download complete 13:22:22 935e6c44a52c: Pull complete 13:22:22 94cc34f8dd06: Pull complete 13:22:22 30dea6a524f1: Pull complete 13:22:22 a2aff8979fd8: Pull complete 13:22:24 6808be2612f2: Pull complete 13:22:25 f25807f1079a: Pull complete 13:22:25 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 13:22:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 13:22:25 ---> 3b553350e43f 13:22:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:22:30 ---> Running in c36953f2e79f 13:22:30 Removing intermediate container c36953f2e79f 13:22:30 ---> b55796755f01 13:22:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:22:30 ---> Running in f2ba1cc22a1e 13:22:30 Removing intermediate container f2ba1cc22a1e 13:22:30 ---> 045ef15fe16c 13:22:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:22:30 ---> Running in 4b0f86020231 13:22:30 Removing intermediate container 4b0f86020231 13:22:30 ---> fe26b5c2d338 13:22:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:22:30 ---> Running in 1bfde6046270 13:22:30 Removing intermediate container 1bfde6046270 13:22:30 ---> 1a8451a9409c 13:22:30 Step 7/12 : WORKDIR /device-gpio 13:22:30 ---> Running in 02259cac3640 13:22:30 Removing intermediate container 02259cac3640 13:22:30 ---> e2cfe5a7b200 13:22:30 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:22:30 ---> Running in 83516a071bd4 13:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:22:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:22:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:22:31 (2/4) Installing libedit (20221030.3.1-r0) 13:22:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:22:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:22:31 Executing busybox-1.35.0-r29.trigger 13:22:31 OK: 269 MiB in 57 packages 13:22:31 Still waiting to schedule task 13:22:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2412’ is offline 13:22:31 Removing intermediate container 83516a071bd4 13:22:31 ---> b41a1a9da01c 13:22:31 Step 9/12 : COPY go.mod vendor* ./ 13:22:31 ---> f5e30cd2dd04 13:22:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:22:31 ---> Running in 38229fafb43a 13:23:04 Removing intermediate container 38229fafb43a 13:23:04 ---> 3ccb06be888b 13:23:04 Step 11/12 : COPY . . 13:23:04 ---> acd4c4a0f3bb 13:23:04 Step 12/12 : RUN ${MAKE} 13:23:04 ---> Running in a428a6811f94 13:23:04 noop 13:23:04 Removing intermediate container a428a6811f94 13:23:04 ---> 0feaf340c279 13:23:04 Successfully built 0feaf340c279 13:23:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:04 + docker inspect -f . ci-base-image-x86_64 13:23:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:04 prd-ubuntu20.04-docker-8c-8g-2416 does not seem to be running inside a container 13:23:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:23:04 $ docker top 3dbb02da3d85165dab75820eb4d812463090546f728676a2af6c6c694b5c05c2 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:05 + go version 13:23:05 go version go1.20.2 linux/amd64 [Pipeline] } 13:23:05 $ docker stop --time=1 3dbb02da3d85165dab75820eb4d812463090546f728676a2af6c6c694b5c05c2 13:23:06 $ docker rm -f --volumes 3dbb02da3d85165dab75820eb4d812463090546f728676a2af6c6c694b5c05c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:07 + docker inspect -f . ci-base-image-x86_64 13:23:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:23:07 prd-ubuntu20.04-docker-8c-8g-2416 does not seem to be running inside a container 13:23:07 $ 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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:23:07 $ docker top e9fea61490ec3733bc8afa0ca1d8a78416f6057bbfbb060a40384facc95867b8 -eo pid,comm [Pipeline] { [Pipeline] sh 13:23:07 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] fileExists [Pipeline] sh 13:23:08 + make test 13:23:08 go test ./... -coverprofile=coverage.out ./... 13:23:13 ? github.com/edgexfoundry/device-gpio [no test files] 13:23:23 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:23:23 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:23:29 go vet ./... 13:23:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:23:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:23:33 ./bin/test-attribution-txt.sh [Pipeline] echo 13:23:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:23:33 $ docker stop --time=1 e9fea61490ec3733bc8afa0ca1d8a78416f6057bbfbb060a40384facc95867b8 13:23:36 $ docker rm -f --volumes e9fea61490ec3733bc8afa0ca1d8a78416f6057bbfbb060a40384facc95867b8 [Pipeline] // withDockerContainer [Pipeline] sh 13:23:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:23:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:23:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:23:37 + ls -al . 13:23:37 total 160 13:23:37 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 13:23 . 13:23:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:21 .. 13:23:37 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 13:21 .dockerignore 13:23:37 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:22 .git 13:23:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 .github 13:23:37 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 13:21 .gitignore 13:23:37 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:21 .golangci.yml 13:23:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:22 .semver 13:23:37 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 16 13:21 Attribution.txt 13:23:37 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 16 13:21 CHANGELOG.md 13:23:37 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 16 13:21 Dockerfile 13:23:37 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:21 GOVERNANCE.md 13:23:37 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 13:21 Jenkinsfile 13:23:37 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:21 LICENSE 13:23:37 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 16 13:21 Makefile 13:23:37 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 13:21 OWNERS.md 13:23:37 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 16 13:21 README.md 13:23:37 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:22 VERSION 13:23:37 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:21 bin 13:23:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 cmd 13:23:37 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 13:23 coverage.out 13:23:37 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 16 13:21 go.mod 13:23:37 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 16 13:21 go.sum 13:23:37 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:21 internal 13:23:37 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:21 snap 13:23:37 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 13:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:23:38 + 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=bbca0d81aa73e5383f9279665caa0789e91327e6 --label arch=amd64 --label version=0.0.0 . 13:23:38 Sending build context to Docker daemon 16.03MB 13:23:38 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:23:38 Step 2/25 : FROM ${BASE} AS builder 13:23:38 ---> 0feaf340c279 13:23:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:23:38 ---> Running in 346c9c5070dc 13:23:38 Removing intermediate container 346c9c5070dc 13:23:38 ---> e8e192d1c31e 13:23:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:23:38 ---> Running in 7bf5ea5147fd 13:23:38 Removing intermediate container 7bf5ea5147fd 13:23:38 ---> 13a699ed439f 13:23:38 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:23:38 ---> Running in a0a0afc22039 13:23:38 Removing intermediate container a0a0afc22039 13:23:38 ---> 06cfeac05214 13:23:38 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:23:38 ---> Running in 040a66658655 13:23:38 Removing intermediate container 040a66658655 13:23:38 ---> 1c63d1f050c8 13:23:38 Step 7/25 : WORKDIR /device-gpio 13:23:38 ---> Running in 14d820300358 13:23:38 Removing intermediate container 14d820300358 13:23:38 ---> 3ec13cedd4cc 13:23:38 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:23:38 ---> Running in 59a7815002f7 13:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:23:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:23:39 OK: 269 MiB in 57 packages 13:23:39 Removing intermediate container 59a7815002f7 13:23:39 ---> f7483ca4359c 13:23:39 Step 9/25 : COPY go.mod vendor* ./ 13:23:39 ---> 011e27a5defc 13:23:39 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:23:39 ---> Running in 4be963b83fd2 13:23:40 Removing intermediate container 4be963b83fd2 13:23:40 ---> 15e3b79db25e 13:23:40 Step 11/25 : COPY . . 13:23:41 ---> 10f45f5189e8 13:23:41 Step 12/25 : RUN ${MAKE} 13:23:41 ---> Running in 53d1bc45138f 13:23:41 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 13:23:59 Removing intermediate container 53d1bc45138f 13:23:59 ---> cc45715c29ae 13:23:59 Step 13/25 : FROM alpine:3.17 13:24:00 3.17: Pulling from library/alpine 13:24:00 63b65145d645: Already exists 13:24:00 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:24:00 Status: Downloaded newer image for alpine:3.17 13:24:00 ---> b2aa39c304c2 13:24:00 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:24:00 ---> Running in 68a43b294f18 13:24:00 Removing intermediate container 68a43b294f18 13:24:00 ---> dd5001b40ccf 13:24:00 Step 15/25 : RUN apk add --update --no-cache 13:24:00 ---> Running in 69a50008f1ba 13:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 13:24:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 13:24:01 OK: 7 MiB in 15 packages 13:24:01 Removing intermediate container 69a50008f1ba 13:24:01 ---> 3f3e9cef6134 13:24:01 Step 16/25 : WORKDIR / 13:24:01 ---> Running in 4f6f496baced 13:24:01 Removing intermediate container 4f6f496baced 13:24:01 ---> 95163ca62c0c 13:24:01 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:24:01 ---> 50f77c834547 13:24:01 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:24:01 ---> 3d1172eabc57 13:24:01 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:24:02 ---> 98361b6b9024 13:24:02 Step 20/25 : EXPOSE 59910 13:24:02 ---> Running in c5603de8a1d2 13:24:02 Removing intermediate container c5603de8a1d2 13:24:02 ---> 3248c6809788 13:24:02 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:24:02 ---> Running in aca022fddefb 13:24:02 Removing intermediate container aca022fddefb 13:24:02 ---> 9f5b7f7a6884 13:24:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:24:02 ---> Running in 54a91f627cf9 13:24:03 Removing intermediate container 54a91f627cf9 13:24:03 ---> 6330c8705419 13:24:03 Step 23/25 : LABEL arch=amd64 13:24:03 ---> Running in e960457644f5 13:24:03 Removing intermediate container e960457644f5 13:24:03 ---> 23932aedb08f 13:24:03 Step 24/25 : LABEL git_sha=bbca0d81aa73e5383f9279665caa0789e91327e6 13:24:03 ---> Running in fb005df8e53f 13:24:03 Removing intermediate container fb005df8e53f 13:24:03 ---> 7bb24ddd249f 13:24:03 Step 25/25 : LABEL version=0.0.0 13:24:03 ---> Running in 78ae94223d80 13:24:03 Removing intermediate container 78ae94223d80 13:24:03 ---> 9272878876f4 13:24:03 [Warning] One or more build-args [ARCH] were not consumed 13:24:03 Successfully built 9272878876f4 13:24:03 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 13:24:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:03 13:24:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:24:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:04 latest: Pulling from edgex-lftools-log-publisher 13:24:04 5eb5b503b376: Pulling fs layer 13:24:04 5c69ac0246d0: Pulling fs layer 13:24:04 ec43610c2a17: Pulling fs layer 13:24:04 3a2ae6a8a46f: Pulling fs layer 13:24:04 33b1e0a273af: Pulling fs layer 13:24:04 5d3b04190fa2: Pulling fs layer 13:24:04 2f39f015ded8: Pulling fs layer 13:24:04 5d3b04190fa2: Waiting 13:24:04 3a2ae6a8a46f: Waiting 13:24:04 2f39f015ded8: Waiting 13:24:04 33b1e0a273af: Waiting 13:24:04 5c69ac0246d0: Verifying Checksum 13:24:04 5c69ac0246d0: Download complete 13:24:04 3a2ae6a8a46f: Verifying Checksum 13:24:04 3a2ae6a8a46f: Download complete 13:24:04 33b1e0a273af: Verifying Checksum 13:24:04 33b1e0a273af: Download complete 13:24:04 5d3b04190fa2: Verifying Checksum 13:24:04 5d3b04190fa2: Download complete 13:24:04 ec43610c2a17: Verifying Checksum 13:24:04 ec43610c2a17: Download complete 13:24:04 5eb5b503b376: Verifying Checksum 13:24:04 5eb5b503b376: Download complete 13:24:04 2f39f015ded8: Download complete 13:24:05 5eb5b503b376: Pull complete 13:24:05 5c69ac0246d0: Pull complete 13:24:06 ec43610c2a17: Pull complete 13:24:06 3a2ae6a8a46f: Pull complete 13:24:06 33b1e0a273af: Pull complete 13:24:06 5d3b04190fa2: Pull complete 13:24:12 2f39f015ded8: Pull complete 13:24:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:24:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:24:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:24:12 prd-ubuntu20.04-docker-8c-8g-2416 does not seem to be running inside a container 13:24:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_PR-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:24:16 $ docker top 572916bd6fbb6fd482d510b06f6f0077a00554bef1daaaef086b173d69a7b553 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:24:17 ---> job-cost.sh 13:24:17 lf-activate-venv: SKIPPING 13:24:17 INFO: No Stack... 13:24:17 INFO: Retrieving Pricing Info for: v3-standard-8 13:24:17 INFO: Archiving Costs [Pipeline] sh 13:24:18 + cat /w/workspace/edgexfoundry_device-gpio_PR-71/archives/cost.csv 13:24:18 + cut -d, -f6 [Pipeline] lock 13:24:18 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] 13:24:18 Resource [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] did not exist. Created. 13:24:18 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:24:18 + echo total: 0.2199999988079071 [Pipeline] stash 13:24:18 Stashed 1 file(s) [Pipeline] } 13:24:18 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] [Pipeline] // lock [Pipeline] } 13:24:18 $ docker stop --time=1 572916bd6fbb6fd482d510b06f6f0077a00554bef1daaaef086b173d69a7b553 13:24:19 $ docker rm -f --volumes 572916bd6fbb6fd482d510b06f6f0077a00554bef1daaaef086b173d69a7b553 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:25:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2421 in /w/workspace/edgexfoundry_device-gpio_PR-71 [Pipeline] { [Pipeline] ws 13:25:27 Running in /w/workspace/device-gpio/17 [Pipeline] { [Pipeline] checkout 13:25:27 The recommended git tool is: git 13:25:34 using credential edgex-jenkins-ssh 13:25:34 Cloning the remote Git repository 13:25:34 Cloning repository git@github.com:edgexfoundry/device-gpio.git 13:25:34 > git init /w/workspace/device-gpio/17 # timeout=10 13:25:34 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:25:34 > git --version # timeout=10 13:25:34 > git --version # 'git version 2.25.1' 13:25:34 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:36 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:25:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:25:37 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 13:25:37 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 13:25:37 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/71/head:refs/remotes/origin/PR-71 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:25:38 Merging remotes/origin/main commit 6427482eab3bd2356a4491c722b8795ef3b48a72 into PR head commit 5075b9e81635d00e611a2c2e84518ae3b9f6de56 13:25:38 Merge succeeded, producing cd57be7cc3ddbede0617828fd0c4a1e77c19d7fe 13:25:38 Checking out Revision cd57be7cc3ddbede0617828fd0c4a1e77c19d7fe (PR-71) 13:25:38 > git config core.sparsecheckout # timeout=10 13:25:38 > git checkout -f 5075b9e81635d00e611a2c2e84518ae3b9f6de56 # timeout=10 13:25:38 > git remote # timeout=10 13:25:38 > git config --get remote.origin.url # timeout=10 13:25:38 using GIT_SSH to set credentials SSH Credentials for GitHub 13:25:38 > git merge 6427482eab3bd2356a4491c722b8795ef3b48a72 # timeout=10 13:25:38 > git rev-parse HEAD^{commit} # timeout=10 13:25:38 > git config core.sparsecheckout # timeout=10 13:25:38 > git checkout -f cd57be7cc3ddbede0617828fd0c4a1e77c19d7fe # timeout=10 13:25:42 Commit message: "Merge commit '6427482eab3bd2356a4491c722b8795ef3b48a72' into HEAD" 13:25:42 First time build. Skipping changelog. 13:25:42 > git rev-list --no-walk 231483c5b57d4b0d46e71ded42fd2c1bc7bd37a0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:25:42 % Total % Received % Xferd Average Speed Time Time Time Current 13:25:42 Dload Upload Total Spent Left Speed 13:25:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 188k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 13:25:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:25:44 + sudo tee /etc/docker/daemon.new 13:25:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:25:44 { 13:25:44 "registry-mirrors": [ 13:25:44 "https://nexus3.edgexfoundry.org:10001" 13:25:44 ], 13:25:44 "bip": "10.250.0.254/24", 13:25:44 "hosts": [ 13:25:44 "tcp://0.0.0.0:5555", 13:25:44 "unix:///var/run/docker.sock" 13:25:44 ], 13:25:44 "mtu": 1458, 13:25:44 "selinux-enabled": true, 13:25:44 "seccomp-profile": "/etc/docker/seccomp.json" 13:25:44 } [Pipeline] sh 13:25:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:25:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:03 provisioning config files... 13:26:03 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/17@tmp/config8617914166446854535tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:03 ---> docker-login.sh 13:26:03 nexus3.edgexfoundry.org:10001 13:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:04 Configure a credential helper to remove this warning. See 13:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:04 13:26:04 Login Succeeded 13:26:04 nexus3.edgexfoundry.org:10002 13:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:04 Configure a credential helper to remove this warning. See 13:26:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:04 13:26:04 Login Succeeded 13:26:04 nexus3.edgexfoundry.org:10003 13:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:05 Configure a credential helper to remove this warning. See 13:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:05 13:26:05 Login Succeeded 13:26:05 nexus3.edgexfoundry.org:10004 13:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:05 Configure a credential helper to remove this warning. See 13:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:05 13:26:05 Login Succeeded 13:26:05 docker.io 13:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:26:05 Configure a credential helper to remove this warning. See 13:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:26:05 13:26:05 Login Succeeded 13:26:05 ---> docker-login.sh ends [Pipeline] } 13:26:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:26:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:26:06 ========================================================= 13:26:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 13:26:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:06 + 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 . 13:26:07 Sending build context to Docker daemon 8.095MB 13:26:07 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 13:26:07 Step 2/12 : FROM ${BASE} AS builder 13:26:07 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:26:07 af6eaf76a39c: Pulling fs layer 13:26:07 55522c791124: Pulling fs layer 13:26:07 ce5c4a1c91eb: Pulling fs layer 13:26:07 169dfbe0d373: Pulling fs layer 13:26:07 e1ff8fa3b103: Pulling fs layer 13:26:07 52ebb69f0ebf: Pulling fs layer 13:26:07 5abe8eddf0d5: Pulling fs layer 13:26:07 169dfbe0d373: Waiting 13:26:07 e1ff8fa3b103: Waiting 13:26:07 52ebb69f0ebf: Waiting 13:26:07 5abe8eddf0d5: Waiting 13:26:07 55522c791124: Download complete 13:26:07 e1ff8fa3b103: Verifying Checksum 13:26:07 e1ff8fa3b103: Download complete 13:26:07 af6eaf76a39c: Verifying Checksum 13:26:07 af6eaf76a39c: Download complete 13:26:08 af6eaf76a39c: Pull complete 13:26:08 5abe8eddf0d5: Verifying Checksum 13:26:08 5abe8eddf0d5: Download complete 13:26:09 55522c791124: Pull complete 13:26:10 ce5c4a1c91eb: Verifying Checksum 13:26:10 ce5c4a1c91eb: Download complete 13:26:10 52ebb69f0ebf: Verifying Checksum 13:26:10 52ebb69f0ebf: Download complete 13:26:22 ce5c4a1c91eb: Pull complete 13:26:22 169dfbe0d373: Pull complete 13:26:22 e1ff8fa3b103: Pull complete 13:26:29 52ebb69f0ebf: Pull complete 13:26:33 5abe8eddf0d5: Pull complete 13:26:33 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 13:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 13:26:33 ---> 6cb57ee374ae 13:26:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:26:34 ---> Running in d2694147e2d2 13:26:34 Removing intermediate container d2694147e2d2 13:26:34 ---> d530375edec8 13:26:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:26:35 ---> Running in 1662d195eac5 13:26:35 Removing intermediate container 1662d195eac5 13:26:35 ---> cb95b25c52ed 13:26:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:26:35 ---> Running in 3a3fba66e3e5 13:26:36 Removing intermediate container 3a3fba66e3e5 13:26:36 ---> c15afa44f878 13:26:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:26:36 ---> Running in 34abff6e3bfb 13:26:36 Removing intermediate container 34abff6e3bfb 13:26:36 ---> 20ad0e7deb44 13:26:36 Step 7/12 : WORKDIR /device-gpio 13:26:36 ---> Running in dff66a713d6a 13:26:36 Removing intermediate container dff66a713d6a 13:26:36 ---> 98500b9a6eda 13:26:36 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:26:37 ---> Running in e7c3d7e4c602 13:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:26:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 13:26:40 (2/4) Installing libedit (20221030.3.1-r0) 13:26:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 13:26:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 13:26:40 Executing busybox-1.35.0-r29.trigger 13:26:40 OK: 268 MiB in 57 packages 13:26:42 Removing intermediate container e7c3d7e4c602 13:26:42 ---> 0da6aea26cb5 13:26:42 Step 9/12 : COPY go.mod vendor* ./ 13:26:42 ---> 5dd7d3737482 13:26:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:26:42 ---> Running in 2bf705df0bb6 13:27:50 Removing intermediate container 2bf705df0bb6 13:27:50 ---> 3641a82a9ebd 13:27:50 Step 11/12 : COPY . . 13:27:50 ---> ec2f365433b3 13:27:50 Step 12/12 : RUN ${MAKE} 13:27:50 ---> Running in 58f080f4e3d5 13:27:50 noop 13:27:50 Removing intermediate container 58f080f4e3d5 13:27:50 ---> 59b0d7c3d252 13:27:50 Successfully built 59b0d7c3d252 13:27:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:50 + docker inspect -f . ci-base-image-arm64 13:27:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:51 prd-ubuntu20.04-docker-arm64-4c-16g-2421 does not seem to be running inside a container 13:27:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:52 $ docker top 0f964ac10854e272bb27bfc5f6a3c0bf823ba51a0143235adc07228875165ea1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:53 + go version 13:27:53 go version go1.20.2 linux/arm64 [Pipeline] } 13:27:53 $ docker stop --time=1 0f964ac10854e272bb27bfc5f6a3c0bf823ba51a0143235adc07228875165ea1 13:27:55 $ docker rm -f --volumes 0f964ac10854e272bb27bfc5f6a3c0bf823ba51a0143235adc07228875165ea1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:55 + docker inspect -f . ci-base-image-arm64 13:27:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:55 prd-ubuntu20.04-docker-arm64-4c-16g-2421 does not seem to be running inside a container 13:27:56 $ 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/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:27:57 $ docker top ddef54c749b9573b14b45330ed16ba827a843b54283c86a962bd8bc0cbd0908b -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:58 + git config --global --add safe.directory /w/workspace/device-gpio/17 [Pipeline] fileExists [Pipeline] sh 13:27:58 + make test 13:27:58 go test ./... -coverprofile=coverage.out ./... 13:28:37 ? github.com/edgexfoundry/device-gpio [no test files] 13:30:59 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 13:30:59 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 13:30:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:30:59 go vet ./... 13:31:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:31:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:31:26 ./bin/test-attribution-txt.sh [Pipeline] echo 13:31:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:31:26 $ docker stop --time=1 ddef54c749b9573b14b45330ed16ba827a843b54283c86a962bd8bc0cbd0908b 13:31:28 $ docker rm -f --volumes ddef54c749b9573b14b45330ed16ba827a843b54283c86a962bd8bc0cbd0908b [Pipeline] // withDockerContainer [Pipeline] sh 13:31:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:31:29 Warning: overwriting stash ‘coverage-report’ 13:31:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:31:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:31:30 + ls -al . 13:31:30 total 156 13:31:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:28 . 13:31:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:25 .. 13:31:30 -rw-rw-r-- 1 jenkins jenkins 120 Mar 16 13:25 .dockerignore 13:31:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 13:25 .git 13:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 .github 13:31:30 -rw-rw-r-- 1 jenkins jenkins 343 Mar 16 13:25 .gitignore 13:31:30 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 13:25 .golangci.yml 13:31:30 -rw-rw-r-- 1 jenkins jenkins 9805 Mar 16 13:25 Attribution.txt 13:31:30 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 16 13:25 CHANGELOG.md 13:31:30 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 16 13:25 Dockerfile 13:31:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 13:25 GOVERNANCE.md 13:31:30 -rw-rw-r-- 1 jenkins jenkins 657 Mar 16 13:25 Jenkinsfile 13:31:30 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 13:25 LICENSE 13:31:30 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 16 13:25 Makefile 13:31:30 -rw-rw-r-- 1 jenkins jenkins 617 Mar 16 13:25 OWNERS.md 13:31:30 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 16 13:25 README.md 13:31:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 13:22 VERSION 13:31:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 13:25 bin 13:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 cmd 13:31:30 -rw-r--r-- 1 jenkins jenkins 10 Mar 16 13:28 coverage.out 13:31:30 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 16 13:25 go.mod 13:31:30 -rw-rw-r-- 1 jenkins jenkins 33092 Mar 16 13:25 go.sum 13:31:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 13:25 internal 13:31:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 13:25 snap 13:31:30 -rw-rw-r-- 1 jenkins jenkins 209 Mar 16 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:31:30 + 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=cd57be7cc3ddbede0617828fd0c4a1e77c19d7fe --label arch=arm64 --label version=0.0.0 . 13:31:31 Sending build context to Docker daemon 8.096MB 13:31:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 13:31:31 Step 2/25 : FROM ${BASE} AS builder 13:31:31 ---> 59b0d7c3d252 13:31:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:31:32 ---> Running in 9ea61c17de2e 13:31:32 Removing intermediate container 9ea61c17de2e 13:31:32 ---> 5d2dc91d38bc 13:31:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:31:33 ---> Running in fe79733faf37 13:31:33 Removing intermediate container fe79733faf37 13:31:33 ---> c288ac13d663 13:31:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 13:31:33 ---> Running in 7e11ec73757c 13:31:33 Removing intermediate container 7e11ec73757c 13:31:33 ---> d12378bebd4c 13:31:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:31:33 ---> Running in a6096bd3fc5c 13:31:34 Removing intermediate container a6096bd3fc5c 13:31:34 ---> d52c58ea25df 13:31:34 Step 7/25 : WORKDIR /device-gpio 13:31:34 ---> Running in fc36d7c76696 13:31:34 Removing intermediate container fc36d7c76696 13:31:34 ---> 4b8b0eaecc61 13:31:34 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:31:34 ---> Running in fe225d946fd2 13:31:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:31:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:31:37 OK: 268 MiB in 57 packages 13:31:38 Removing intermediate container fe225d946fd2 13:31:38 ---> 87e9920746de 13:31:38 Step 9/25 : COPY go.mod vendor* ./ 13:31:38 ---> 6c90dcf60175 13:31:38 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:31:39 ---> Running in 8637db4cf730 13:31:41 Removing intermediate container 8637db4cf730 13:31:41 ---> d17a7f54a256 13:31:41 Step 11/25 : COPY . . 13:31:42 ---> b754b055832a 13:31:42 Step 12/25 : RUN ${MAKE} 13:31:42 ---> Running in 63046c84511c 13:31:43 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 13:34:05 Removing intermediate container 63046c84511c 13:34:05 ---> 71d98978cb87 13:34:05 Step 13/25 : FROM alpine:3.17 13:34:05 3.17: Pulling from library/alpine 13:34:05 af6eaf76a39c: Already exists 13:34:05 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 13:34:05 Status: Downloaded newer image for alpine:3.17 13:34:05 ---> d74e625d9115 13:34:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 13:34:05 ---> Running in bdea35b3f5ae 13:34:05 Removing intermediate container bdea35b3f5ae 13:34:05 ---> 9f72c44e9643 13:34:05 Step 15/25 : RUN apk add --update --no-cache 13:34:05 ---> Running in fdc5c98220b4 13:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 13:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 13:34:05 OK: 7 MiB in 15 packages 13:34:05 Removing intermediate container fdc5c98220b4 13:34:05 ---> 05b0f2acb319 13:34:05 Step 16/25 : WORKDIR / 13:34:05 ---> Running in 50a73d8f20d9 13:34:05 Removing intermediate container 50a73d8f20d9 13:34:05 ---> 5cc6c5625468 13:34:05 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 13:34:05 ---> fa78d1820b21 13:34:05 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 13:34:05 ---> e3ba4d94f8e4 13:34:05 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 13:34:05 ---> a629494581d4 13:34:05 Step 20/25 : EXPOSE 59910 13:34:05 ---> Running in da2562ba7a19 13:34:05 Removing intermediate container da2562ba7a19 13:34:05 ---> b28f2d7cf680 13:34:05 Step 21/25 : ENTRYPOINT ["/device-gpio"] 13:34:05 ---> Running in fe8e3f33173b 13:34:05 Removing intermediate container fe8e3f33173b 13:34:05 ---> 7a287ed5d465 13:34:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:34:05 ---> Running in dab3ea5459a3 13:34:05 Removing intermediate container dab3ea5459a3 13:34:05 ---> 1bebbbce7447 13:34:05 Step 23/25 : LABEL arch=arm64 13:34:05 ---> Running in 60c4ff7d00ce 13:34:06 Removing intermediate container 60c4ff7d00ce 13:34:06 ---> 62093369abe9 13:34:06 Step 24/25 : LABEL git_sha=cd57be7cc3ddbede0617828fd0c4a1e77c19d7fe 13:34:06 ---> Running in 66689c61a5b5 13:34:06 Removing intermediate container 66689c61a5b5 13:34:06 ---> 30decacca8bc 13:34:06 Step 25/25 : LABEL version=0.0.0 13:34:06 ---> Running in cc591529d81f 13:34:06 Removing intermediate container cc591529d81f 13:34:06 ---> 86d570a15beb 13:34:06 [Warning] One or more build-args [ARCH] were not consumed 13:34:06 Successfully built 86d570a15beb 13:34:06 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 13:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:07 13:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:07 arm64: Pulling from edgex-lftools-log-publisher 13:34:07 8998bd30e6a1: Pulling fs layer 13:34:07 04944245beec: Pulling fs layer 13:34:07 699f458cf7ca: Pulling fs layer 13:34:07 765212b225bb: Pulling fs layer 13:34:07 f23df028b6ca: Pulling fs layer 13:34:07 d65c8cfc05b1: Pulling fs layer 13:34:07 2437ff75d9bd: Pulling fs layer 13:34:07 f23df028b6ca: Waiting 13:34:07 d65c8cfc05b1: Waiting 13:34:07 2437ff75d9bd: Waiting 13:34:07 765212b225bb: Waiting 13:34:07 04944245beec: Verifying Checksum 13:34:07 04944245beec: Download complete 13:34:07 765212b225bb: Verifying Checksum 13:34:07 765212b225bb: Download complete 13:34:07 f23df028b6ca: Verifying Checksum 13:34:07 f23df028b6ca: Download complete 13:34:07 d65c8cfc05b1: Verifying Checksum 13:34:07 d65c8cfc05b1: Download complete 13:34:07 699f458cf7ca: Verifying Checksum 13:34:07 699f458cf7ca: Download complete 13:34:08 8998bd30e6a1: Verifying Checksum 13:34:08 8998bd30e6a1: Download complete 13:34:10 2437ff75d9bd: Verifying Checksum 13:34:10 2437ff75d9bd: Download complete 13:34:12 8998bd30e6a1: Pull complete 13:34:12 04944245beec: Pull complete 13:34:14 699f458cf7ca: Pull complete 13:34:14 765212b225bb: Pull complete 13:34:14 f23df028b6ca: Pull complete 13:34:15 d65c8cfc05b1: Pull complete 13:34:30 2437ff75d9bd: Pull complete 13:34:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:34:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:34:30 prd-ubuntu20.04-docker-arm64-4c-16g-2421 does not seem to be running inside a container 13:34:30 $ 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/17 -v /w/workspace/device-gpio/17:/w/workspace/device-gpio/17:rw,z -v /w/workspace/device-gpio/17@tmp:/w/workspace/device-gpio/17@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:34:33 $ docker top 2a08cbefd057c13f52a28a019e601fe5d51de93695248f868dd8437a74063ddd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:34:33 ---> job-cost.sh 13:34:33 lf-activate-venv: SKIPPING 13:34:33 INFO: No Stack... 13:34:34 INFO: Retrieving Pricing Info for: v3-standard-4 13:34:35 INFO: Archiving Costs [Pipeline] sh 13:34:35 + cut -d, -f6 13:34:35 + cat /w/workspace/device-gpio/17/archives/cost.csv [Pipeline] lock 13:34:35 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] 13:34:35 Resource [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] did not exist. Created. 13:34:35 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:34:36 /w/workspace/device-gpio/17@tmp/durable-ef464049/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:34:36 + echo total: 0.10999999940395355 [Pipeline] stash 13:34:36 Warning: overwriting stash ‘stack-cost’ 13:34:36 Stashed 1 file(s) [Pipeline] } 13:34:36 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-71-17-stack-cost] [Pipeline] // lock [Pipeline] } 13:34:36 $ docker stop --time=1 2a08cbefd057c13f52a28a019e601fe5d51de93695248f868dd8437a74063ddd 13:34:38 $ docker rm -f --volumes 2a08cbefd057c13f52a28a019e601fe5d51de93695248f868dd8437a74063ddd [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 13:34:38 provisioning config files... 13:34:38 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config3445831721468305506tmp [Pipeline] { [Pipeline] sh 13:34:38 + set +x 13:34:38 + bash -s -- 13:34:38 + curl -s https://codecov.io/bash 13:34:38 13:34:38 _____ _ 13:34:38 / ____| | | 13:34:38 | | ___ __| | ___ ___ _____ __ 13:34:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:34:38 | |___| (_) | (_| | __/ (_| (_) \ V / 13:34:38 \_____\___/ \__,_|\___|\___\___/ \_/ 13:34:38 Bash-1.0.6 13:34:38 13:34:38 13:34:38 ==> git version 2.25.1 found 13:34:38 ==> 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 13:34:38 Release-Date: 2020-01-08 13:34:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:34:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:34:38 ==> Jenkins CI detected. 13:34:38 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-71 13:34:38 project root: . 13:34:38 --> token set from env 13:34:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:34:38 ==> Running gcov in . (disable via -X gcov) 13:34:38 ==> Python coveragepy not found 13:34:38 ==> Searching for coverage reports in: 13:34:38 + . 13:34:38 -> Found 1 reports 13:34:38 ==> Detecting git/mercurial file structure 13:34:38 ==> Reading reports 13:34:38 + ./coverage.out bytes=10 13:34:38 ==> Appending adjustments 13:34:38 https://docs.codecov.io/docs/fixing-reports 13:34:38 + Found adjustments 13:34:38 ==> Gzipping contents 13:34:38 4.0K /tmp/codecov.cSprPx.gz 13:34:38 ==> Uploading reports 13:34:38 url: https://codecov.io 13:34:38 query: branch=PR-71&commit=bbca0d81aa73e5383f9279665caa0789e91327e6&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 13:34:38 -> Pinging Codecov 13:34:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-71&commit=bbca0d81aa73e5383f9279665caa0789e91327e6&build=17&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-71%2F17%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=71&job=&cmd_args= 13:34:51 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} 13:34:51 500 13:34:51 ==> Uploading to Codecov 13:34:51 % Total % Received % Xferd Average Speed Time Time Time Current 13:34:51 Dload Upload Total Spent Left Speed 13:34:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 95 771 0 0 100 740 0 5563 --:--:-- --:--:-- --:--:-- 5522 100 771 100 31 100 740 231 5522 --:--:-- --:--:-- --:--:-- 5711 13:34:51 Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries 13:34:51 Warning: left. 13:34:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 248 5920 --:--:-- --:--:-- --:--:-- 6168 13:34:52 Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries 13:34:52 Warning: left. 13:34:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 292 6981 --:--:-- --:--:-- --:--:-- 7273 13:34:53 Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries 13:34:53 Warning: left. 13:34:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 264 6324 --:--:-- --:--:-- --:--:-- 6589 13:34:56 Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 13:34:56 Warning: left. 13:34:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 316 7551 --:--:-- --:--:-- --:--:-- 7948 13:34:58 Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries 13:34:58 Warning: left. 13:35:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 771 100 31 100 740 313 7474 --:--:-- --:--:-- --:--:-- 7787 13:35:00 {"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"}{"error": "Server Error (500)"} [Pipeline] } 13:35:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:35:00 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-71/archives ] 13:35:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:35:00 total 16 13:35:00 drwxr-xr-x 3 root root 4096 Mar 16 13:24 . 13:35:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:24 .. 13:35:00 drwxr-xr-x 2 root root 4096 Mar 16 13:24 cost 13:35:00 -rw-r--r-- 1 root root 83 Mar 16 13:24 cost.csv 13:35:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:35:00 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-71/archives 13:35:00 total 16 13:35:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 13:24 . 13:35:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 13:24 .. 13:35:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 13:24 cost 13:35:00 -rw-r--r-- 1 jenkins jenkins 83 Mar 16 13:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:35:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:35:02 ---> package-listing.sh 13:35:02 ++ facter osfamily 13:35:02 ++ tr '[:upper:]' '[:lower:]' 13:35:02 + OS_FAMILY=debian 13:35:02 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-71 13:35:02 + START_PACKAGES=/tmp/packages_start.txt 13:35:02 + END_PACKAGES=/tmp/packages_end.txt 13:35:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:35:02 + PACKAGES=/tmp/packages_start.txt 13:35:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 13:35:02 + PACKAGES=/tmp/packages_end.txt 13:35:02 + case "${OS_FAMILY}" in 13:35:02 + dpkg -l 13:35:02 + grep '^ii' 13:35:02 + '[' -f /tmp/packages_start.txt ']' 13:35:02 + '[' -f /tmp/packages_end.txt ']' 13:35:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:35:02 + '[' /w/workspace/edgexfoundry_device-gpio_PR-71 ']' 13:35:02 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ 13:35:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-71/archives/ [Pipeline] echo 13:35:02 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-71/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:35:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:35:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:35:03 prd-ubuntu20.04-docker-8c-8g-2416 does not seem to be running inside a container 13:35:03 $ 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-71/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-71 -v /w/workspace/edgexfoundry_device-gpio_PR-71:/w/workspace/edgexfoundry_device-gpio_PR-71:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-71@tmp:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:35:03 $ docker top 8db97977c487b9f366c99956d34ff334ed9c18ccd83a8ed36d2909cb1eced959 -eo pid,comm [Pipeline] { [Pipeline] sh 13:35:03 + touch /tmp/pre-build-complete [Pipeline] sh 13:35:04 + mkdir -p /var/log/sysstat [Pipeline] sh 13:35:04 + ls /var/log/sa-host 13:35:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:04 provisioning config files... 13:35:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-71@tmp/config15068275997217977012tmp [Pipeline] { [Pipeline] echo 13:35:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:35:04 ---> create-netrc.sh [Pipeline] } 13:35:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:35:05 ---> python-tools-install.sh [Pipeline] echo 13:35:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:35:05 ---> sudo-logs.sh 13:35:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:35:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:35:05 ---> job-cost.sh 13:35:05 lf-activate-venv: SKIPPING 13:35:05 DEBUG: total: 0.2199999988079071 13:35:05 INFO: Retrieving Stack Cost... 13:35:05 INFO: Retrieving Pricing Info for: v3-standard-8 13:35:06 INFO: Archiving Costs [Pipeline] echo 13:35:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:35:06 ---> logs-deploy.sh 13:35:06 lf-activate-venv: SKIPPING 13:35:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-71/17 13:35:06 INFO: archiving workspace using pattern(s): 13:35:07 Archives upload complete. 13:35:07 INFO: archiving logs to Nexus