Pull request #146 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-gpio Loading trusted files from base branch main at 21c70a64d9894c2455aedb4662d61c2d9e09ca22 rather than 67659f4a6290dad9f4bc54e13b700942686ccd62 Obtained Jenkinsfile from 21c70a64d9894c2455aedb4662d61c2d9e09ca22 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-ssh1445850180834412575.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-ssh13423599715537686507.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-146/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-146/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16903982462661585583.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-ssh14846423936289849514.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-146/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-146/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11941427327320951607.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6555 in /w/workspace/edgexfoundry_device-gpio_PR-146 [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-146 # 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/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 67659f4a6290dad9f4bc54e13b700942686ccd62 Merge succeeded, producing 67659f4a6290dad9f4bc54e13b700942686ccd62 Checking out Revision 67659f4a6290dad9f4bc54e13b700942686ccd62 (PR-146) > git config core.sparsecheckout # timeout=10 > git checkout -f 67659f4a6290dad9f4bc54e13b700942686ccd62 # 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 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67659f4a6290dad9f4bc54e13b700942686ccd62 # timeout=10 Commit message: "fix: change device yaml files to use camelcase" > git rev-list --no-walk 884b06b8c18245450d923488b3debcbce8b92635 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:19:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:19:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:19:12 ========================================================= 17:19:12 EdgeX Global Pipelines Version Info 17:19:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:19:13 ------------------- 17:19:13 stable info: 17:19:13 ------------------- 17:19:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:19:13 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 17:19:13 Message: update stable to v1.0.245 17:19:13 ------------------- 17:19:13 experimental info: 17:19:13 ------------------- 17:19:13 Commited By: **** collab-it+edgex@linuxfoundation.org 17:19:13 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 17:19:13 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-146 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-146 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-146 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67659f4a6290dad9f4bc54e13b700942686ccd62 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67659f4 [Pipeline] echo 17:19:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:14 provisioning config files... 17:19:14 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config6553046741623722386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:14 ---> docker-login.sh 17:19:14 nexus3.edgexfoundry.org:10001 17:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:15 Configure a credential helper to remove this warning. See 17:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:15 17:19:15 Login Succeeded 17:19:15 nexus3.edgexfoundry.org:10002 17:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:15 Configure a credential helper to remove this warning. See 17:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:15 17:19:15 Login Succeeded 17:19:15 nexus3.edgexfoundry.org:10003 17:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:15 Configure a credential helper to remove this warning. See 17:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:15 17:19:15 Login Succeeded 17:19:15 nexus3.edgexfoundry.org:10004 17:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:15 Configure a credential helper to remove this warning. See 17:19:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:15 17:19:15 Login Succeeded 17:19:15 docker.io 17:19:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:16 Configure a credential helper to remove this warning. See 17:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:16 17:19:16 Login Succeeded 17:19:16 ---> docker-login.sh ends [Pipeline] } 17:19:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:19:16 + git rev-list -1 --merges 67659f4a6290dad9f4bc54e13b700942686ccd62~1..67659f4a6290dad9f4bc54e13b700942686ccd62 [Pipeline] echo 17:19:16 -----------> git rev-list -1 --merges 67659f4a6290dad9f4bc54e13b700942686ccd62~1..67659f4a6290dad9f4bc54e13b700942686ccd62 67659f4a6290dad9f4bc54e13b700942686ccd62 [false] [Pipeline] sh 17:19:16 + git log --format=format:%s -1 67659f4a6290dad9f4bc54e13b700942686ccd62 [Pipeline] echo 17:19:16 ========================================================= 17:19:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:19:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:19:17 + git log --format=format:%s -1 67659f4a6290dad9f4bc54e13b700942686ccd62 [Pipeline] echo 17:19:17 [semverPrep] GIT_COMMIT: 67659f4a6290dad9f4bc54e13b700942686ccd62, Commit Message: fix: change device yaml files to use camelcase [Pipeline] echo 17:19:17 [semverPrep] This is not a build commit. [Pipeline] sh 17:19:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:19:17 + grep -v github /etc/ssh/ssh_known_hosts 17:19:17 + [ -e /tmp/ssh_known_hosts ] 17:19:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:19:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:19:17 + sudo tee -a /etc/ssh/ssh_known_hosts 17:19:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:19:17 17:19:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:19:18 0.1.4: Pulling from edgex-devops/py-git-semver 17:19:18 b85a868b505f: Pulling fs layer 17:19:18 e2be974225ed: Pulling fs layer 17:19:18 339a4e72a1f5: Pulling fs layer 17:19:18 988bab9f4d93: Pulling fs layer 17:19:18 1469e6f7b9e6: Pulling fs layer 17:19:18 eaf3925da568: Pulling fs layer 17:19:18 bab4dde63d76: Pulling fs layer 17:19:18 bde34c3a00c8: Pulling fs layer 17:19:18 b352a97aabf1: Pulling fs layer 17:19:18 4872d77fe225: Pulling fs layer 17:19:18 5851b861e8e6: Pulling fs layer 17:19:18 bab4dde63d76: Waiting 17:19:18 bde34c3a00c8: Waiting 17:19:18 b352a97aabf1: Waiting 17:19:18 5851b861e8e6: Waiting 17:19:18 4872d77fe225: Waiting 17:19:18 988bab9f4d93: Waiting 17:19:18 1469e6f7b9e6: Waiting 17:19:18 eaf3925da568: Waiting 17:19:18 e2be974225ed: Download complete 17:19:18 988bab9f4d93: Verifying Checksum 17:19:18 988bab9f4d93: Download complete 17:19:18 1469e6f7b9e6: Verifying Checksum 17:19:18 1469e6f7b9e6: Download complete 17:19:18 eaf3925da568: Verifying Checksum 17:19:18 eaf3925da568: Download complete 17:19:18 339a4e72a1f5: Verifying Checksum 17:19:18 339a4e72a1f5: Download complete 17:19:18 bde34c3a00c8: Verifying Checksum 17:19:18 bde34c3a00c8: Download complete 17:19:18 b352a97aabf1: Verifying Checksum 17:19:18 b352a97aabf1: Download complete 17:19:18 4872d77fe225: Verifying Checksum 17:19:18 4872d77fe225: Download complete 17:19:18 5851b861e8e6: Verifying Checksum 17:19:18 5851b861e8e6: Download complete 17:19:18 b85a868b505f: Verifying Checksum 17:19:18 b85a868b505f: Download complete 17:19:19 bab4dde63d76: Download complete 17:19:19 b85a868b505f: Pull complete 17:19:20 e2be974225ed: Pull complete 17:19:20 339a4e72a1f5: Pull complete 17:19:20 988bab9f4d93: Pull complete 17:19:21 1469e6f7b9e6: Pull complete 17:19:21 eaf3925da568: Pull complete 17:19:23 bab4dde63d76: Pull complete 17:19:23 bde34c3a00c8: Pull complete 17:19:23 b352a97aabf1: Pull complete 17:19:23 4872d77fe225: Pull complete 17:19:23 5851b861e8e6: Pull complete 17:19:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:19:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:19:23 prd-ubuntu20.04-docker-8c-8g-6555 does not seem to be running inside a container 17:19:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@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-devops/py-git-semver:0.1.4 cat 17:19:28 $ docker top 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 -eo pid,comm 17:19:28 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). 17:19:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:19:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:28 [ssh-agent] Looking for ssh-agent implementation... 17:19:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:28 $ docker exec 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 ssh-agent 17:19:29 SSH_AUTH_SOCK=/tmp/ssh-gfZMCdS0bnJq/agent.31 17:19:29 SSH_AGENT_PID=37 17:19:29 Running ssh-add (command line suppressed) 17:19:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_4903878235999285931.key (/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_4903878235999285931.key) 17:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:29 + git tag --points-at HEAD [Pipeline] } 17:19:29 $ docker exec --env ******** --env ******** 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 ssh-agent -k 17:19:29 unset SSH_AUTH_SOCK; 17:19:29 unset SSH_AGENT_PID; 17:19:29 echo Agent pid 37 killed; 17:19:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:19:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:29 [ssh-agent] Looking for ssh-agent implementation... 17:19:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:29 $ docker exec 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 ssh-agent 17:19:29 SSH_AUTH_SOCK=/tmp/ssh-AburaPhDSfPw/agent.69 17:19:29 SSH_AGENT_PID=75 17:19:29 Running ssh-add (command line suppressed) 17:19:29 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_10089033874507657505.key (/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/private_key_10089033874507657505.key) 17:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:30 + git semver init 17:19:30 2023-03-31 17:19:30,477 [run_init] DEBUG init version:0.0.0 force:False 17:19:30 2023-03-31 17:19:30,477 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver 17:19:30 2023-03-31 17:19:30,478 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-146/.semver 17:19:30 2023-03-31 17:19:30,478 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-146/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146, universal_newlines=False, shell=None, istream=None) 17:19:31 2023-03-31 17:19:31,454 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-146/.git/info/exclude 17:19:31 2023-03-31 17:19:31,455 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 with force:False 17:19:31 2023-03-31 17:19:31,455 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 17:19:31 2023-03-31 17:19:31,459 [execute] INFO git cat-file --batch-check 17:19:31 2023-03-31 17:19:31,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146/.semver, universal_newlines=False, shell=None, istream=) 17:19:31 2023-03-31 17:19:31,465 [execute] INFO git cat-file --batch 17:19:31 2023-03-31 17:19:31,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-146/.semver, universal_newlines=False, shell=None, istream=) 17:19:31 2023-03-31 17:19:31,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-146/.semver/PR-146 17:19:31 0.0.0 [Pipeline] } 17:19:31 $ docker exec --env ******** --env ******** 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 ssh-agent -k 17:19:31 unset SSH_AUTH_SOCK; 17:19:31 unset SSH_AGENT_PID; 17:19:31 echo Agent pid 75 killed; 17:19:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:19:31 + git semver [Pipeline] } 17:19:32 $ docker stop --time=1 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 17:19:33 $ docker rm -f --volumes 359e84f690eacf52a405b032b89101cfceabcaf3858aa2978667b045f1afdf45 [Pipeline] // withDockerContainer [Pipeline] sh 17:19:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:19:34 Stashed 1 file(s) [Pipeline] echo 17:19:34 [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 17:19:34 provisioning config files... 17:19:34 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config10627109178045025336tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:34 ---> docker-login.sh 17:19:34 nexus3.edgexfoundry.org:10001 17:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:34 Configure a credential helper to remove this warning. See 17:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:34 17:19:34 Login Succeeded 17:19:34 nexus3.edgexfoundry.org:10002 17:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:34 Configure a credential helper to remove this warning. See 17:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:34 17:19:34 Login Succeeded 17:19:34 nexus3.edgexfoundry.org:10003 17:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:34 Configure a credential helper to remove this warning. See 17:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:34 17:19:34 Login Succeeded 17:19:34 nexus3.edgexfoundry.org:10004 17:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:34 Configure a credential helper to remove this warning. See 17:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:34 17:19:34 Login Succeeded 17:19:34 docker.io 17:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:35 Configure a credential helper to remove this warning. See 17:19:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:35 17:19:35 Login Succeeded 17:19:35 ---> docker-login.sh ends [Pipeline] } 17:19:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:19:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:19:35 ========================================================= 17:19:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:19:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:19:35 + 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 . 17:19:35 Sending build context to Docker daemon 16.09MB 17:19:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:19:35 Step 2/12 : FROM ${BASE} AS builder 17:19:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:19:35 63b65145d645: Pulling fs layer 17:19:35 a2d21d5440eb: Pulling fs layer 17:19:35 935e6c44a52c: Pulling fs layer 17:19:35 94cc34f8dd06: Pulling fs layer 17:19:35 30dea6a524f1: Pulling fs layer 17:19:35 a2aff8979fd8: Pulling fs layer 17:19:35 6808be2612f2: Pulling fs layer 17:19:35 f25807f1079a: Pulling fs layer 17:19:35 6808be2612f2: Waiting 17:19:35 f25807f1079a: Waiting 17:19:35 a2aff8979fd8: Waiting 17:19:35 30dea6a524f1: Waiting 17:19:35 94cc34f8dd06: Waiting 17:19:35 a2d21d5440eb: Verifying Checksum 17:19:35 a2d21d5440eb: Download complete 17:19:35 94cc34f8dd06: Verifying Checksum 17:19:35 94cc34f8dd06: Download complete 17:19:35 30dea6a524f1: Verifying Checksum 17:19:35 30dea6a524f1: Download complete 17:19:35 63b65145d645: Verifying Checksum 17:19:35 63b65145d645: Download complete 17:19:35 a2aff8979fd8: Verifying Checksum 17:19:35 a2aff8979fd8: Download complete 17:19:36 63b65145d645: Pull complete 17:19:36 a2d21d5440eb: Pull complete 17:19:36 f25807f1079a: Verifying Checksum 17:19:36 f25807f1079a: Download complete 17:19:36 935e6c44a52c: Verifying Checksum 17:19:36 935e6c44a52c: Download complete 17:19:36 6808be2612f2: Verifying Checksum 17:19:36 6808be2612f2: Download complete 17:19:40 935e6c44a52c: Pull complete 17:19:40 94cc34f8dd06: Pull complete 17:19:40 30dea6a524f1: Pull complete 17:19:40 a2aff8979fd8: Pull complete 17:19:42 6808be2612f2: Pull complete 17:19:43 f25807f1079a: Pull complete 17:19:43 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 17:19:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:19:44 ---> 3b553350e43f 17:19:44 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:19:49 Still waiting to schedule task 17:19:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:19:52 ---> Running in fcd5b87adfe7 17:19:52 Removing intermediate container fcd5b87adfe7 17:19:52 ---> e303e380cae6 17:19:52 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:19:52 ---> Running in 76282f94b1e0 17:19:53 Removing intermediate container 76282f94b1e0 17:19:53 ---> 0c0e5590ea53 17:19:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:19:53 ---> Running in 9361f73ab8ea 17:19:53 Removing intermediate container 9361f73ab8ea 17:19:53 ---> f848511dc868 17:19:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:19:53 ---> Running in c487fb69a723 17:19:53 Removing intermediate container c487fb69a723 17:19:53 ---> 04cdefcb4d37 17:19:53 Step 7/12 : WORKDIR /device-gpio 17:19:53 ---> Running in b2ea99992408 17:19:53 Removing intermediate container b2ea99992408 17:19:53 ---> d8c4a032d038 17:19:53 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:53 ---> Running in 1d911efc982b 17:19:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:19:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:19:53 (1/4) Installing openssh-keygen (9.1_p1-r2) 17:19:53 (2/4) Installing libedit (20221030.3.1-r0) 17:19:53 (3/4) Installing openssh-client-common (9.1_p1-r2) 17:19:53 (4/4) Installing openssh-client-default (9.1_p1-r2) 17:19:53 Executing busybox-1.35.0-r29.trigger 17:19:53 OK: 269 MiB in 57 packages 17:19:54 Removing intermediate container 1d911efc982b 17:19:54 ---> 2a610c9af9ee 17:19:54 Step 9/12 : COPY go.mod vendor* ./ 17:19:54 ---> 126a5fae571c 17:19:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:54 ---> Running in f49d9f886b12 17:20:50 Removing intermediate container f49d9f886b12 17:20:50 ---> 20677dc25385 17:20:50 Step 11/12 : COPY . . 17:20:50 ---> 7a881d8c25a7 17:20:50 Step 12/12 : RUN ${MAKE} 17:20:50 ---> Running in 66bf8207ebf5 17:20:50 noop 17:20:50 Removing intermediate container 66bf8207ebf5 17:20:50 ---> d7b00862e81e 17:20:50 Successfully built d7b00862e81e 17:20:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:51 + docker inspect -f . ci-base-image-x86_64 17:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:51 prd-ubuntu20.04-docker-8c-8g-6555 does not seem to be running inside a container 17:20:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:20:51 $ docker top 4e2724a0a86362a1a1ad36485dd4d79b38358907e2deb4041591aa63a8032c03 -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:52 + go version 17:20:52 go version go1.20.2 linux/amd64 [Pipeline] } 17:20:52 $ docker stop --time=1 4e2724a0a86362a1a1ad36485dd4d79b38358907e2deb4041591aa63a8032c03 17:20:53 $ docker rm -f --volumes 4e2724a0a86362a1a1ad36485dd4d79b38358907e2deb4041591aa63a8032c03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:20:53 + docker inspect -f . ci-base-image-x86_64 17:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:20:53 prd-ubuntu20.04-docker-8c-8g-6555 does not seem to be running inside a container 17:20:53 $ 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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:20:54 $ docker top f57bdd7097ced691ca5532d1e5efe2968893a0c42039d73d2c9de103b571e87a -eo pid,comm [Pipeline] { [Pipeline] sh 17:20:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-146 [Pipeline] fileExists [Pipeline] sh 17:20:54 + make test 17:20:54 go test ./... -coverprofile=coverage.out ./... 17:21:00 ? github.com/edgexfoundry/device-gpio [no test files] 17:21:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:21:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:21:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6556 in /w/workspace/edgexfoundry_device-gpio_PR-146 [Pipeline] { [Pipeline] ws 17:21:11 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 17:21:12 The recommended git tool is: git 17:21:16 go vet ./... 17:21:17 using credential edgex-jenkins-ssh 17:21:17 Cloning the remote Git repository 17:21:17 Cloning repository git@github.com:edgexfoundry/device-gpio.git 17:21:17 > git init /w/workspace/device-gpio/2 # timeout=10 17:21:17 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:21:17 > git --version # timeout=10 17:21:17 > git --version # 'git version 2.25.1' 17:21:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:18 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:21:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:21:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:21:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:21:19 ./bin/test-attribution-txt.sh [Pipeline] echo 17:21:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:21:19 $ docker stop --time=1 f57bdd7097ced691ca5532d1e5efe2968893a0c42039d73d2c9de103b571e87a 17:21:20 Merging remotes/origin/main commit 21c70a64d9894c2455aedb4662d61c2d9e09ca22 into PR head commit 67659f4a6290dad9f4bc54e13b700942686ccd62 17:21:20 Merge succeeded, producing 67659f4a6290dad9f4bc54e13b700942686ccd62 17:21:20 Checking out Revision 67659f4a6290dad9f4bc54e13b700942686ccd62 (PR-146) 17:21:19 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 17:21:19 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 17:21:19 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/146/head:refs/remotes/origin/PR-146 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:21:20 > git config core.sparsecheckout # timeout=10 17:21:20 > git checkout -f 67659f4a6290dad9f4bc54e13b700942686ccd62 # timeout=10 17:21:20 > git remote # timeout=10 17:21:20 > git config --get remote.origin.url # timeout=10 17:21:20 using GIT_SSH to set credentials SSH Credentials for GitHub 17:21:20 > git merge 21c70a64d9894c2455aedb4662d61c2d9e09ca22 # timeout=10 17:21:20 > git rev-parse HEAD^{commit} # timeout=10 17:21:20 > git config core.sparsecheckout # timeout=10 17:21:20 > git checkout -f 67659f4a6290dad9f4bc54e13b700942686ccd62 # timeout=10 17:21:24 $ docker rm -f --volumes f57bdd7097ced691ca5532d1e5efe2968893a0c42039d73d2c9de103b571e87a [Pipeline] // withDockerContainer [Pipeline] sh 17:21:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:21:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:21:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:21:25 Commit message: "fix: change device yaml files to use camelcase" 17:21:25 + ls -al . 17:21:25 total 156 17:21:25 drwxrwxr-x 9 jenkins jenkins 4096 Mar 31 17:20 . 17:21:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:19 .. 17:21:25 -rw-rw-r-- 1 jenkins jenkins 120 Mar 31 17:19 .dockerignore 17:21:25 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 17:19 .git 17:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:19 .github 17:21:25 -rw-rw-r-- 1 jenkins jenkins 343 Mar 31 17:19 .gitignore 17:21:25 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 17:19 .golangci.yml 17:21:25 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 17:19 .semver 17:21:25 -rw-rw-r-- 1 jenkins jenkins 9573 Mar 31 17:19 Attribution.txt 17:21:25 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 31 17:19 CHANGELOG.md 17:21:25 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 31 17:19 Dockerfile 17:21:25 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 17:19 GOVERNANCE.md 17:21:25 -rw-rw-r-- 1 jenkins jenkins 657 Mar 31 17:19 Jenkinsfile 17:21:25 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 17:19 LICENSE 17:21:25 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 31 17:19 Makefile 17:21:25 -rw-rw-r-- 1 jenkins jenkins 617 Mar 31 17:19 OWNERS.md 17:21:25 -rw-rw-r-- 1 jenkins jenkins 11790 Mar 31 17:19 README.md 17:21:25 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 17:19 VERSION 17:21:25 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 17:19 bin 17:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:19 cmd 17:21:25 -rw-r--r-- 1 jenkins jenkins 10 Mar 31 17:20 coverage.out 17:21:25 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 31 17:19 go.mod 17:21:25 -rw-rw-r-- 1 jenkins jenkins 31438 Mar 31 17:19 go.sum 17:21:25 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:19 internal 17:21:25 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:19 snap 17:21:25 -rw-rw-r-- 1 jenkins jenkins 209 Mar 31 17:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:26 + 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=67659f4a6290dad9f4bc54e13b700942686ccd62 --label arch=amd64 --label version=0.0.0 . 17:21:26 Sending build context to Docker daemon 16.09MB 17:21:26 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:21:26 Step 2/25 : FROM ${BASE} AS builder 17:21:26 ---> d7b00862e81e 17:21:26 Step 3/25 : ARG ADD_BUILD_TAGS="" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:21:26 ---> Running in 9f0ec8451da3 17:21:26 Removing intermediate container 9f0ec8451da3 17:21:26 ---> 8180f8eb5535 17:21:26 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:21:26 ---> Running in 9b4fbf6c489f 17:21:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:21:26 % Total % Received % Xferd Average Speed Time Time Time Current 17:21:26 Dload Upload Total Spent Left Speed 17:21:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10506 0 0 75042 0 --:--:-- --:--:-- --:--:-- 75042 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 89795 17:21:26 Removing intermediate container 9b4fbf6c489f 17:21:26 ---> 369ca101b472 17:21:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:21:26 ---> Running in 7bc88ed7e3ce 17:21:26 Removing intermediate container 7bc88ed7e3ce 17:21:26 ---> 17f2323343a4 17:21:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:21:26 ---> Running in e8e8fcd054e3 17:21:26 Removing intermediate container e8e8fcd054e3 17:21:26 ---> a2fe617f4178 17:21:26 Step 7/25 : WORKDIR /device-gpio [Pipeline] sh 17:21:26 ---> Running in 55200d98f389 17:21:26 Removing intermediate container 55200d98f389 17:21:26 ---> d5819b96dab3 17:21:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:21:26 ---> Running in 4d3a0ca13987 17:21:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:21:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:21:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:21:27 OK: 269 MiB in 57 packages 17:21:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:21:27 + sudo tee /etc/docker/daemon.new 17:21:27 { 17:21:27 "registry-mirrors": [ 17:21:27 "https://nexus3.edgexfoundry.org:10001" 17:21:27 ], 17:21:27 "bip": "10.250.0.254/24", 17:21:27 "hosts": [ 17:21:27 "tcp://0.0.0.0:5555", 17:21:27 "unix:///var/run/docker.sock" 17:21:27 ], 17:21:27 "mtu": 1458, 17:21:27 "selinux-enabled": true, 17:21:27 "seccomp-profile": "/etc/docker/seccomp.json" 17:21:27 } [Pipeline] sh 17:21:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:21:28 Removing intermediate container 4d3a0ca13987 17:21:28 ---> d23f65d2433e 17:21:28 Step 9/25 : COPY go.mod vendor* ./ 17:21:28 ---> 1bdf47c24918 17:21:28 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:21:28 ---> Running in e4405bdf2200 17:21:28 + sudo service docker restart 17:21:28 Removing intermediate container e4405bdf2200 17:21:28 ---> d61ca53830a7 17:21:28 Step 11/25 : COPY . . 17:21:29 ---> a1c43effa039 17:21:29 Step 12/25 : RUN ${MAKE} 17:21:29 ---> Running in fc3753bf184c 17:21:29 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:21:46 provisioning config files... 17:21:46 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config14615353377987961293tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:21:46 ---> docker-login.sh 17:21:46 nexus3.edgexfoundry.org:10001 17:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:47 Configure a credential helper to remove this warning. See 17:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:47 17:21:47 Login Succeeded 17:21:47 nexus3.edgexfoundry.org:10002 17:21:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:47 Configure a credential helper to remove this warning. See 17:21:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:47 17:21:47 Login Succeeded 17:21:47 nexus3.edgexfoundry.org:10003 17:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:48 Configure a credential helper to remove this warning. See 17:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:48 17:21:48 Login Succeeded 17:21:48 nexus3.edgexfoundry.org:10004 17:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:48 Configure a credential helper to remove this warning. See 17:21:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:48 17:21:48 Login Succeeded 17:21:48 docker.io 17:21:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:21:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:21:49 Configure a credential helper to remove this warning. See 17:21:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:21:49 17:21:49 Login Succeeded 17:21:49 ---> docker-login.sh ends [Pipeline] } 17:21:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:21:49 ========================================================= 17:21:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:21:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:49 + 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 . 17:21:49 Sending build context to Docker daemon 8.157MB 17:21:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 17:21:49 Step 2/12 : FROM ${BASE} AS builder 17:21:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:21:51 af6eaf76a39c: Pulling fs layer 17:21:51 55522c791124: Pulling fs layer 17:21:51 ce5c4a1c91eb: Pulling fs layer 17:21:51 169dfbe0d373: Pulling fs layer 17:21:51 e1ff8fa3b103: Pulling fs layer 17:21:51 52ebb69f0ebf: Pulling fs layer 17:21:51 5abe8eddf0d5: Pulling fs layer 17:21:51 169dfbe0d373: Waiting 17:21:51 e1ff8fa3b103: Waiting 17:21:51 52ebb69f0ebf: Waiting 17:21:51 5abe8eddf0d5: Waiting 17:21:51 55522c791124: Verifying Checksum 17:21:51 55522c791124: Download complete 17:21:51 169dfbe0d373: Verifying Checksum 17:21:51 169dfbe0d373: Download complete 17:21:51 e1ff8fa3b103: Verifying Checksum 17:21:51 e1ff8fa3b103: Download complete 17:21:51 af6eaf76a39c: Verifying Checksum 17:21:51 af6eaf76a39c: Download complete 17:21:51 Removing intermediate container fc3753bf184c 17:21:51 ---> be167ebd4ab8 17:21:51 Step 13/25 : FROM alpine:3.17 17:21:51 3.17: Pulling from library/alpine 17:21:51 f56be85fc22e: Pulling fs layer 17:21:51 f56be85fc22e: Download complete 17:21:51 f56be85fc22e: Pull complete 17:21:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:21:51 Status: Downloaded newer image for alpine:3.17 17:21:51 ---> 9ed4aefc74f6 17:21:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:21:51 ---> Running in f16624a093e8 17:21:51 Removing intermediate container f16624a093e8 17:21:51 ---> c08088ca3f78 17:21:51 Step 15/25 : RUN apk add --update --no-cache 17:21:51 ---> Running in 27b77c3b2a76 17:21:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:21:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:21:51 OK: 7 MiB in 15 packages 17:21:52 Removing intermediate container 27b77c3b2a76 17:21:52 ---> 3e8714332db5 17:21:52 Step 16/25 : WORKDIR / 17:21:52 ---> Running in df9211a6eb70 17:21:52 Removing intermediate container df9211a6eb70 17:21:52 ---> 988fd36c0406 17:21:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:21:52 af6eaf76a39c: Pull complete 17:21:52 5abe8eddf0d5: Verifying Checksum 17:21:52 5abe8eddf0d5: Download complete 17:21:52 ---> 40f2d6936c34 17:21:52 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:21:52 ---> 71da735e11a4 17:21:52 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:21:52 55522c791124: Pull complete 17:21:53 ---> f10b2077d715 17:21:53 Step 20/25 : EXPOSE 59910 17:21:53 ---> Running in 28d835d4ab8f 17:21:53 Removing intermediate container 28d835d4ab8f 17:21:53 ---> 366427e8a508 17:21:53 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:21:53 ---> Running in 18aad969b201 17:21:53 Removing intermediate container 18aad969b201 17:21:53 ---> 72efc987bef5 17:21:53 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:21:53 ---> Running in 25b5ef0f6773 17:21:53 Removing intermediate container 25b5ef0f6773 17:21:53 ---> 1d185552f07f 17:21:53 Step 23/25 : LABEL arch=amd64 17:21:53 ---> Running in 675ceb5bda1b 17:21:53 Removing intermediate container 675ceb5bda1b 17:21:53 ---> 4853d42485b6 17:21:53 Step 24/25 : LABEL git_sha=67659f4a6290dad9f4bc54e13b700942686ccd62 17:21:53 ---> Running in a60a06c3f9c2 17:21:53 Removing intermediate container a60a06c3f9c2 17:21:53 ---> bdc08af7f481 17:21:53 Step 25/25 : LABEL version=0.0.0 17:21:53 ---> Running in 4b786419b89e 17:21:53 Removing intermediate container 4b786419b89e 17:21:53 ---> 4eb2b5f14630 17:21:53 [Warning] One or more build-args [ARCH] were not consumed 17:21:53 Successfully built 4eb2b5f14630 17:21:53 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 17:21:53 ce5c4a1c91eb: Verifying Checksum 17:21:53 ce5c4a1c91eb: Download complete 17:21:53 52ebb69f0ebf: Verifying Checksum 17:21:53 52ebb69f0ebf: Download complete 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 17:21:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:54 17:21:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:21:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:21:54 latest: Pulling from edgex-lftools-log-publisher 17:21:54 5eb5b503b376: Pulling fs layer 17:21:54 5c69ac0246d0: Pulling fs layer 17:21:54 ec43610c2a17: Pulling fs layer 17:21:54 3a2ae6a8a46f: Pulling fs layer 17:21:54 33b1e0a273af: Pulling fs layer 17:21:54 5d3b04190fa2: Pulling fs layer 17:21:54 2f39f015ded8: Pulling fs layer 17:21:54 33b1e0a273af: Waiting 17:21:54 3a2ae6a8a46f: Waiting 17:21:54 2f39f015ded8: Waiting 17:21:54 5d3b04190fa2: Waiting 17:21:54 5c69ac0246d0: Verifying Checksum 17:21:54 5c69ac0246d0: Download complete 17:21:54 3a2ae6a8a46f: Verifying Checksum 17:21:54 3a2ae6a8a46f: Download complete 17:21:54 33b1e0a273af: Verifying Checksum 17:21:54 33b1e0a273af: Download complete 17:21:54 5d3b04190fa2: Verifying Checksum 17:21:54 5d3b04190fa2: Download complete 17:21:54 ec43610c2a17: Download complete 17:21:54 5eb5b503b376: Verifying Checksum 17:21:54 5eb5b503b376: Download complete 17:21:55 2f39f015ded8: Download complete 17:21:56 5eb5b503b376: Pull complete 17:21:56 5c69ac0246d0: Pull complete 17:21:56 ec43610c2a17: Pull complete 17:21:56 3a2ae6a8a46f: Pull complete 17:21:56 33b1e0a273af: Pull complete 17:21:57 5d3b04190fa2: Pull complete 17:22:01 2f39f015ded8: Pull complete 17:22:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:22:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:22:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:22:01 prd-ubuntu20.04-docker-8c-8g-6555 does not seem to be running inside a container 17:22:01 $ 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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:22:04 ce5c4a1c91eb: Pull complete 17:22:04 169dfbe0d373: Pull complete 17:22:04 e1ff8fa3b103: Pull complete 17:22:06 $ docker top 0a03bfa534c12030ce46fe0f56bb47247aa5b429374a85bf8de60a390079bd8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:06 ---> job-cost.sh 17:22:06 lf-activate-venv: SKIPPING 17:22:06 INFO: No Stack... 17:22:07 INFO: Retrieving Pricing Info for: v3-standard-8 17:22:07 INFO: Archiving Costs [Pipeline] sh 17:22:07 + cat /w/workspace/edgexfoundry_device-gpio_PR-146/archives/cost.csv 17:22:07 + cut -d, -f6 [Pipeline] lock 17:22:07 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] 17:22:07 Resource [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] did not exist. Created. 17:22:07 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:22:08 + echo total: 0.2199999988079071 [Pipeline] stash 17:22:08 Stashed 1 file(s) [Pipeline] } 17:22:08 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:22:08 $ docker stop --time=1 0a03bfa534c12030ce46fe0f56bb47247aa5b429374a85bf8de60a390079bd8e 17:22:09 $ docker rm -f --volumes 0a03bfa534c12030ce46fe0f56bb47247aa5b429374a85bf8de60a390079bd8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:11 52ebb69f0ebf: Pull complete 17:22:12 5abe8eddf0d5: Pull complete 17:22:12 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 17:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:22:12 ---> 6cb57ee374ae 17:22:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:22:14 ---> Running in 3edb16cffe06 17:22:14 Removing intermediate container 3edb16cffe06 17:22:14 ---> a1a6a62cdb8c 17:22:14 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:22:14 ---> Running in 3933dab413e8 17:22:15 Removing intermediate container 3933dab413e8 17:22:15 ---> ed9dcea0db4b 17:22:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:22:15 ---> Running in 84885ebdfeb1 17:22:15 Removing intermediate container 84885ebdfeb1 17:22:15 ---> e959fab6331b 17:22:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:22:15 ---> Running in 6bebbfa2a0dc 17:22:15 Removing intermediate container 6bebbfa2a0dc 17:22:15 ---> be9bfecd1a29 17:22:15 Step 7/12 : WORKDIR /device-gpio 17:22:15 ---> Running in 9d39b1219913 17:22:16 Removing intermediate container 9d39b1219913 17:22:16 ---> 0dd69faf1c56 17:22:16 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:22:16 ---> Running in 7cc966ea8c09 17:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:22:19 (1/4) Installing openssh-keygen (9.1_p1-r2) 17:22:19 (2/4) Installing libedit (20221030.3.1-r0) 17:22:19 (3/4) Installing openssh-client-common (9.1_p1-r2) 17:22:19 (4/4) Installing openssh-client-default (9.1_p1-r2) 17:22:19 Executing busybox-1.35.0-r29.trigger 17:22:19 OK: 268 MiB in 57 packages 17:22:20 Removing intermediate container 7cc966ea8c09 17:22:20 ---> 4058d6e7ac21 17:22:20 Step 9/12 : COPY go.mod vendor* ./ 17:22:20 ---> c4320c047da8 17:22:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:22:20 ---> Running in 0da5817e6a7a 17:23:28 Removing intermediate container 0da5817e6a7a 17:23:28 ---> 7d879e923dd2 17:23:28 Step 11/12 : COPY . . 17:23:28 ---> c0a342a03db3 17:23:28 Step 12/12 : RUN ${MAKE} 17:23:28 ---> Running in adc1f8267a05 17:23:28 noop 17:23:28 Removing intermediate container adc1f8267a05 17:23:28 ---> 4b76b60380aa 17:23:28 Successfully built 4b76b60380aa 17:23:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:28 + docker inspect -f . ci-base-image-arm64 17:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:29 prd-ubuntu20.04-docker-arm64-4c-16g-6556 does not seem to be running inside a container 17:23:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:23:30 $ docker top 2f666fcbfc4ed5856ce806a6f233678415d7a2f2ef9e833fc39a2422d439b73c -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:31 + go version 17:23:31 go version go1.20.2 linux/arm64 [Pipeline] } 17:23:31 $ docker stop --time=1 2f666fcbfc4ed5856ce806a6f233678415d7a2f2ef9e833fc39a2422d439b73c 17:23:32 $ docker rm -f --volumes 2f666fcbfc4ed5856ce806a6f233678415d7a2f2ef9e833fc39a2422d439b73c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:33 + docker inspect -f . ci-base-image-arm64 17:23:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:33 prd-ubuntu20.04-docker-arm64-4c-16g-6556 does not seem to be running inside a container 17:23:33 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:23:34 $ docker top cd9410a9b9e2b18b454e4768bceaa6bb20781136d29a283b63e9968c31fbacfb -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:35 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 17:23:35 + make test 17:23:35 go test ./... -coverprofile=coverage.out ./... 17:24:07 ? github.com/edgexfoundry/device-gpio [no test files] 17:25:44 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 17:25:44 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 17:25:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:25:44 go vet ./... 17:26:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:23 ./bin/test-attribution-txt.sh [Pipeline] echo 17:26:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:23 $ docker stop --time=1 cd9410a9b9e2b18b454e4768bceaa6bb20781136d29a283b63e9968c31fbacfb 17:26:26 $ docker rm -f --volumes cd9410a9b9e2b18b454e4768bceaa6bb20781136d29a283b63e9968c31fbacfb [Pipeline] // withDockerContainer [Pipeline] sh 17:26:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:27 Warning: overwriting stash ‘coverage-report’ 17:26:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:29 + ls -al . 17:26:29 total 152 17:26:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 17:23 . 17:26:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:21 .. 17:26:29 -rw-rw-r-- 1 jenkins jenkins 120 Mar 31 17:21 .dockerignore 17:26:29 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 17:21 .git 17:26:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:21 .github 17:26:29 -rw-rw-r-- 1 jenkins jenkins 343 Mar 31 17:21 .gitignore 17:26:29 -rw-rw-r-- 1 jenkins jenkins 41 Mar 31 17:21 .golangci.yml 17:26:29 -rw-rw-r-- 1 jenkins jenkins 9573 Mar 31 17:21 Attribution.txt 17:26:29 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 31 17:21 CHANGELOG.md 17:26:29 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 31 17:21 Dockerfile 17:26:29 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 17:21 GOVERNANCE.md 17:26:29 -rw-rw-r-- 1 jenkins jenkins 657 Mar 31 17:21 Jenkinsfile 17:26:29 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 31 17:21 LICENSE 17:26:29 -rw-rw-r-- 1 jenkins jenkins 1692 Mar 31 17:21 Makefile 17:26:29 -rw-rw-r-- 1 jenkins jenkins 617 Mar 31 17:21 OWNERS.md 17:26:29 -rw-rw-r-- 1 jenkins jenkins 11790 Mar 31 17:21 README.md 17:26:29 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 17:19 VERSION 17:26:29 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 17:21 bin 17:26:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:21 cmd 17:26:29 -rw-r--r-- 1 jenkins jenkins 10 Mar 31 17:23 coverage.out 17:26:29 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 31 17:21 go.mod 17:26:29 -rw-rw-r-- 1 jenkins jenkins 31438 Mar 31 17:21 go.sum 17:26:29 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 17:21 internal 17:26:29 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 17:21 snap 17:26:29 -rw-rw-r-- 1 jenkins jenkins 209 Mar 31 17:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:29 + 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=67659f4a6290dad9f4bc54e13b700942686ccd62 --label arch=arm64 --label version=0.0.0 . 17:26:30 Sending build context to Docker daemon 8.158MB 17:26:30 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 17:26:30 Step 2/25 : FROM ${BASE} AS builder 17:26:30 ---> 4b76b60380aa 17:26:30 Step 3/25 : ARG ADD_BUILD_TAGS="" 17:26:30 ---> Running in 8088e562b670 17:26:30 Removing intermediate container 8088e562b670 17:26:30 ---> c49117ec4282 17:26:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:26:30 ---> Running in 766bb6979055 17:26:32 Removing intermediate container 766bb6979055 17:26:32 ---> e2300f3dd32b 17:26:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 17:26:32 ---> Running in 74bbf2ddf9cd 17:26:32 Removing intermediate container 74bbf2ddf9cd 17:26:32 ---> a1820e8f7f8d 17:26:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 17:26:32 ---> Running in 41aa71394ddf 17:26:33 Removing intermediate container 41aa71394ddf 17:26:33 ---> c13e72af381d 17:26:33 Step 7/25 : WORKDIR /device-gpio 17:26:33 ---> Running in 5087bb1340b2 17:26:33 Removing intermediate container 5087bb1340b2 17:26:33 ---> 708bca297ba9 17:26:33 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:33 ---> Running in b07374c91b9a 17:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:26:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:26:37 OK: 268 MiB in 57 packages 17:26:38 Removing intermediate container b07374c91b9a 17:26:38 ---> ebbb2470323f 17:26:38 Step 9/25 : COPY go.mod vendor* ./ 17:26:40 ---> 24f443402f2a 17:26:40 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:40 ---> Running in 5a0972b299bb 17:26:43 Removing intermediate container 5a0972b299bb 17:26:43 ---> a6baf9095782 17:26:43 Step 11/25 : COPY . . 17:26:44 ---> c9e704e9691f 17:26:44 Step 12/25 : RUN ${MAKE} 17:26:44 ---> Running in 933bac247e56 17:26:45 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 17:28:51 Removing intermediate container 933bac247e56 17:28:51 ---> 10b533f5ea69 17:28:51 Step 13/25 : FROM alpine:3.17 17:28:51 3.17: Pulling from library/alpine 17:28:51 c41833b44d91: Pulling fs layer 17:28:51 c41833b44d91: Verifying Checksum 17:28:51 c41833b44d91: Download complete 17:28:51 c41833b44d91: Pull complete 17:28:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 17:28:51 Status: Downloaded newer image for alpine:3.17 17:28:51 ---> 51e60588ff2c 17:28:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 17:28:51 ---> Running in 9cadc4e867ab 17:28:51 Removing intermediate container 9cadc4e867ab 17:28:51 ---> 15dee25d29c4 17:28:51 Step 15/25 : RUN apk add --update --no-cache 17:28:51 ---> Running in 8fcd55919cd1 17:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:28:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:28:51 OK: 7 MiB in 15 packages 17:28:52 Removing intermediate container 8fcd55919cd1 17:28:52 ---> c776c12738b1 17:28:52 Step 16/25 : WORKDIR / 17:28:52 ---> Running in 1e447b178f2b 17:28:52 Removing intermediate container 1e447b178f2b 17:28:52 ---> 896216e272aa 17:28:52 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 17:28:53 ---> 2e7a9a18695b 17:28:53 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 17:28:53 ---> 86a96af7b38a 17:28:53 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 17:28:55 ---> 512ee80884e8 17:28:55 Step 20/25 : EXPOSE 59910 17:28:55 ---> Running in bdfdaeee1bf4 17:28:55 Removing intermediate container bdfdaeee1bf4 17:28:55 ---> 30cb4daed8cb 17:28:55 Step 21/25 : ENTRYPOINT ["/device-gpio"] 17:28:55 ---> Running in 5a9ad48111ba 17:28:55 Removing intermediate container 5a9ad48111ba 17:28:55 ---> b7982cfc1878 17:28:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:28:55 ---> Running in 44228f879d3e 17:28:56 Removing intermediate container 44228f879d3e 17:28:56 ---> 7377610bbe9a 17:28:56 Step 23/25 : LABEL arch=arm64 17:28:56 ---> Running in 2da4bf08415c 17:28:56 Removing intermediate container 2da4bf08415c 17:28:56 ---> b36cd7ec4da6 17:28:56 Step 24/25 : LABEL git_sha=67659f4a6290dad9f4bc54e13b700942686ccd62 17:28:56 ---> Running in e8b4a76c4c4a 17:28:56 Removing intermediate container e8b4a76c4c4a 17:28:56 ---> 36aa96020917 17:28:56 Step 25/25 : LABEL version=0.0.0 17:28:56 ---> Running in 29911374cf4e 17:28:57 Removing intermediate container 29911374cf4e 17:28:57 ---> 4d99de9a240e 17:28:57 [Warning] One or more build-args [ARCH] were not consumed 17:28:57 Successfully built 4d99de9a240e 17:28:57 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 17:28:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:28:57 17:28:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:28:58 arm64: Pulling from edgex-lftools-log-publisher 17:28:58 8998bd30e6a1: Pulling fs layer 17:28:58 04944245beec: Pulling fs layer 17:28:58 699f458cf7ca: Pulling fs layer 17:28:58 765212b225bb: Pulling fs layer 17:28:58 f23df028b6ca: Pulling fs layer 17:28:58 d65c8cfc05b1: Pulling fs layer 17:28:58 2437ff75d9bd: Pulling fs layer 17:28:58 f23df028b6ca: Waiting 17:28:58 d65c8cfc05b1: Waiting 17:28:58 2437ff75d9bd: Waiting 17:28:58 765212b225bb: Waiting 17:28:58 04944245beec: Verifying Checksum 17:28:58 04944245beec: Download complete 17:28:58 765212b225bb: Verifying Checksum 17:28:58 765212b225bb: Download complete 17:28:58 f23df028b6ca: Verifying Checksum 17:28:58 f23df028b6ca: Download complete 17:28:58 d65c8cfc05b1: Verifying Checksum 17:28:58 d65c8cfc05b1: Download complete 17:28:58 699f458cf7ca: Verifying Checksum 17:28:58 699f458cf7ca: Download complete 17:28:58 8998bd30e6a1: Download complete 17:29:01 2437ff75d9bd: Verifying Checksum 17:29:01 2437ff75d9bd: Download complete 17:29:02 8998bd30e6a1: Pull complete 17:29:03 04944245beec: Pull complete 17:29:04 699f458cf7ca: Pull complete 17:29:07 765212b225bb: Pull complete 17:29:07 f23df028b6ca: Pull complete 17:29:08 d65c8cfc05b1: Pull complete 17:29:23 2437ff75d9bd: Pull complete 17:29:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:23 prd-ubuntu20.04-docker-arm64-4c-16g-6556 does not seem to be running inside a container 17:29:23 $ 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/2 -v /w/workspace/device-gpio/2:/w/workspace/device-gpio/2:rw,z -v /w/workspace/device-gpio/2@tmp:/w/workspace/device-gpio/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:29:25 $ docker top 46537d7d43913b009417125bfdef5ed179d76c08bc79d0f63439ddb41453d876 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:26 ---> job-cost.sh 17:29:26 lf-activate-venv: SKIPPING 17:29:26 INFO: No Stack... 17:29:28 INFO: Retrieving Pricing Info for: v3-standard-4 17:29:29 INFO: Archiving Costs [Pipeline] sh 17:29:29 + cat /w/workspace/device-gpio/2/archives/cost.csv 17:29:29 + cut -d, -f6 [Pipeline] lock 17:29:29 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] 17:29:29 Resource [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] did not exist. Created. 17:29:29 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:29:30 /w/workspace/device-gpio/2@tmp/durable-7e20900b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:29:30 + echo total: 0.10999999940395355 [Pipeline] stash 17:29:30 Warning: overwriting stash ‘stack-cost’ 17:29:30 Stashed 1 file(s) [Pipeline] } 17:29:30 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-146-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:29:30 $ docker stop --time=1 46537d7d43913b009417125bfdef5ed179d76c08bc79d0f63439ddb41453d876 17:29:34 $ docker rm -f --volumes 46537d7d43913b009417125bfdef5ed179d76c08bc79d0f63439ddb41453d876 [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 17:29:34 provisioning config files... 17:29:34 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config10352079253683406182tmp [Pipeline] { [Pipeline] sh 17:29:35 + set +x 17:29:35 + curl -s https://codecov.io/bash+ 17:29:35 bash -s -- 17:29:35 17:29:35 _____ _ 17:29:35 / ____| | | 17:29:35 | | ___ __| | ___ ___ _____ __ 17:29:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:29:35 | |___| (_) | (_| | __/ (_| (_) \ V / 17:29:35 \_____\___/ \__,_|\___|\___\___/ \_/ 17:29:35 Bash-1.0.6 17:29:35 17:29:35 17:29:35 ==> git version 2.25.1 found 17:29:35 ==> 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 17:29:35 Release-Date: 2020-01-08 17:29:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:29:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:29:35 ==> Jenkins CI detected. 17:29:35 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-146 17:29:35 project root: . 17:29:35 --> token set from env 17:29:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:29:35 ==> Running gcov in . (disable via -X gcov) 17:29:35 ==> Python coveragepy not found 17:29:35 ==> Searching for coverage reports in: 17:29:35 + . 17:29:35 -> Found 1 reports 17:29:35 ==> Detecting git/mercurial file structure 17:29:35 ==> Reading reports 17:29:35 + ./coverage.out bytes=10 17:29:35 ==> Appending adjustments 17:29:35 https://docs.codecov.io/docs/fixing-reports 17:29:35 + Found adjustments 17:29:35 ==> Gzipping contents 17:29:35 4.0K /tmp/codecov.nj48ma.gz 17:29:35 ==> Uploading reports 17:29:35 url: https://codecov.io 17:29:35 query: branch=PR-146&commit=67659f4a6290dad9f4bc54e13b700942686ccd62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=146&job=&cmd_args= 17:29:35 -> Pinging Codecov 17:29:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-146&commit=67659f4a6290dad9f4bc54e13b700942686ccd62&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-146%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=146&job=&cmd_args= 17:29:35 -> Uploading to 17:29:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-31/3EC07B1A8CA8AF9BCAA0BB9F0134797F/67659f4a6290dad9f4bc54e13b700942686ccd62/8e7d11e7-4590-4362-947d-a2eb89aed497.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230331T172935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=93fab8207b29bfb81ff5fdcc10dbaca16c5545a8ac9e7920bb8897453e689339 17:29:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:29:35 Dload Upload Total Spent Left Speed 17:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 707 0 0 100 707 0 3213 --:--:-- --:--:-- --:--:-- 3199 100 707 0 0 100 707 0 2580 --:--:-- --:--:-- --:--:-- 2570 17:29:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/67659f4a6290dad9f4bc54e13b700942686ccd62 [Pipeline] } 17:29:35 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 17:29:36 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-146/archives ] 17:29:36 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-146/archives 17:29:36 total 16 17:29:36 drwxr-xr-x 3 root root 4096 Mar 31 17:22 . 17:29:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 17:22 .. 17:29:36 drwxr-xr-x 2 root root 4096 Mar 31 17:22 cost 17:29:36 -rw-r--r-- 1 root root 83 Mar 31 17:22 cost.csv 17:29:36 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-146/archives 17:29:36 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-146/archives 17:29:36 total 16 17:29:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 17:22 . 17:29:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 17:22 .. 17:29:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 17:22 cost 17:29:36 -rw-r--r-- 1 jenkins jenkins 83 Mar 31 17:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:29:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:29:37 ---> package-listing.sh 17:29:37 ++ facter osfamily 17:29:37 ++ tr '[:upper:]' '[:lower:]' 17:29:38 + OS_FAMILY=debian 17:29:38 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-146 17:29:38 + START_PACKAGES=/tmp/packages_start.txt 17:29:38 + END_PACKAGES=/tmp/packages_end.txt 17:29:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:29:38 + PACKAGES=/tmp/packages_start.txt 17:29:38 + '[' /w/workspace/edgexfoundry_device-gpio_PR-146 ']' 17:29:38 + PACKAGES=/tmp/packages_end.txt 17:29:38 + case "${OS_FAMILY}" in 17:29:38 + dpkg -l 17:29:38 + grep '^ii' 17:29:38 + '[' -f /tmp/packages_start.txt ']' 17:29:38 + '[' -f /tmp/packages_end.txt ']' 17:29:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:29:38 + '[' /w/workspace/edgexfoundry_device-gpio_PR-146 ']' 17:29:38 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-146/archives/ 17:29:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-146/archives/ [Pipeline] echo 17:29:38 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-146/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:29:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:29:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:38 prd-ubuntu20.04-docker-8c-8g-6555 does not seem to be running inside a container 17:29:38 $ 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-146/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-146 -v /w/workspace/edgexfoundry_device-gpio_PR-146:/w/workspace/edgexfoundry_device-gpio_PR-146:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-146@tmp:/w/workspace/edgexfoundry_device-gpio_PR-146@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:29:39 $ docker top 33be8fc923192e48a04a52a2f17b8206a3acbd2505b44107d2c580b9d5c79086 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:39 + touch /tmp/pre-build-complete [Pipeline] sh 17:29:39 + mkdir -p /var/log/sysstat [Pipeline] sh 17:29:40 + ls /var/log/sa-host 17:29:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:40 provisioning config files... 17:29:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-146@tmp/config3538631582567880180tmp [Pipeline] { [Pipeline] echo 17:29:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:29:40 ---> create-netrc.sh [Pipeline] } 17:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:29:40 ---> python-tools-install.sh [Pipeline] echo 17:29:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:29:41 ---> sudo-logs.sh 17:29:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:29:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:29:41 ---> job-cost.sh 17:29:41 lf-activate-venv: SKIPPING 17:29:41 DEBUG: total: 0.2199999988079071 17:29:41 INFO: Retrieving Stack Cost... 17:29:41 INFO: Retrieving Pricing Info for: v3-standard-8 17:29:42 INFO: Archiving Costs [Pipeline] echo 17:29:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:29:42 ---> logs-deploy.sh 17:29:42 lf-activate-venv: SKIPPING 17:29:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-146/2 17:29:42 INFO: archiving workspace using pattern(s): 17:29:43 Archives upload complete. 17:29:43 INFO: archiving logs to Nexus