Pull request #116 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 556b0d33684bc0e3f3c7e8af9fc75d9de3776265+4a60b186efcb0f9e44d1b8490e20ed6b03eccbab (19d13e09e1a9108212baaf0bdf5ee732392e1b43) 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-ssh17842482129051156896.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4477765254290926317.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/PR-116/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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8284403866295481763.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh8559971002732417965.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-116/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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1520795875812809147.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9234 in /w/workspace/edgexfoundry_device-gpio_PR-116 [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-116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 > 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/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 Merge succeeded, producing 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 Checking out Revision 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 (PR-116) Commit message: "build(deps): bump golang.org/x/net" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:32:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:32:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:32:10 ========================================================= 02:32:10 EdgeX Global Pipelines Version Info 02:32:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 > git rev-list --no-walk 3b3ee2cce6c7327de253cb4fdd9c6df94eaec148 # timeout=10 02:32:11 ------------------- 02:32:11 stable info: 02:32:11 ------------------- 02:32:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:32:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:11 Message: update stable to v1.0.244 02:32:12 ------------------- 02:32:12 experimental info: 02:32:12 ------------------- 02:32:12 Commited By: **** collab-it+edgex@linuxfoundation.org 02:32:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:32:12 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 556b0d3 [Pipeline] echo 02:32:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:32:12 provisioning config files... 02:32:12 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config5094898574585841851tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:13 ---> docker-login.sh 02:32:13 nexus3.edgexfoundry.org:10001 02:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:13 Configure a credential helper to remove this warning. See 02:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:13 02:32:13 Login Succeeded 02:32:13 nexus3.edgexfoundry.org:10002 02:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:13 Configure a credential helper to remove this warning. See 02:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:13 02:32:13 Login Succeeded 02:32:13 nexus3.edgexfoundry.org:10003 02:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:13 Configure a credential helper to remove this warning. See 02:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:13 02:32:13 Login Succeeded 02:32:13 nexus3.edgexfoundry.org:10004 02:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:13 Configure a credential helper to remove this warning. See 02:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:13 02:32:13 Login Succeeded 02:32:13 docker.io 02:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:13 Configure a credential helper to remove this warning. See 02:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:13 02:32:13 Login Succeeded 02:32:13 ---> docker-login.sh ends [Pipeline] } 02:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:32:14 + git rev-list -1 --merges 556b0d33684bc0e3f3c7e8af9fc75d9de3776265~1..556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [Pipeline] echo 02:32:14 -----------> git rev-list -1 --merges 556b0d33684bc0e3f3c7e8af9fc75d9de3776265~1..556b0d33684bc0e3f3c7e8af9fc75d9de3776265 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [false] [Pipeline] sh 02:32:14 + git log --format=format:%s -1 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [Pipeline] echo 02:32:14 ========================================================= 02:32:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:32:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:32:15 + git log --format=format:%s -1 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [Pipeline] echo 02:32:15 [semverPrep] GIT_COMMIT: 556b0d33684bc0e3f3c7e8af9fc75d9de3776265, Commit Message: build(deps): bump golang.org/x/net [Pipeline] echo 02:32:15 [semverPrep] This is not a build commit. [Pipeline] sh 02:32:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:32:15 + grep -v github /etc/ssh/ssh_known_hosts 02:32:15 + [ -e /tmp/ssh_known_hosts ] 02:32:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:32:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:32:15 + sudo tee -a /etc/ssh/ssh_known_hosts 02:32:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:15 02:32:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:16 0.1.4: Pulling from edgex-devops/py-git-semver 02:32:16 b85a868b505f: Pulling fs layer 02:32:16 e2be974225ed: Pulling fs layer 02:32:16 339a4e72a1f5: Pulling fs layer 02:32:16 988bab9f4d93: Pulling fs layer 02:32:16 1469e6f7b9e6: Pulling fs layer 02:32:16 eaf3925da568: Pulling fs layer 02:32:16 bab4dde63d76: Pulling fs layer 02:32:16 bde34c3a00c8: Pulling fs layer 02:32:16 b352a97aabf1: Pulling fs layer 02:32:16 4872d77fe225: Pulling fs layer 02:32:16 5851b861e8e6: Pulling fs layer 02:32:16 bde34c3a00c8: Waiting 02:32:16 988bab9f4d93: Waiting 02:32:16 b352a97aabf1: Waiting 02:32:16 4872d77fe225: Waiting 02:32:16 1469e6f7b9e6: Waiting 02:32:16 5851b861e8e6: Waiting 02:32:16 eaf3925da568: Waiting 02:32:16 bab4dde63d76: Waiting 02:32:16 e2be974225ed: Download complete 02:32:16 988bab9f4d93: Verifying Checksum 02:32:16 988bab9f4d93: Download complete 02:32:16 1469e6f7b9e6: Verifying Checksum 02:32:16 1469e6f7b9e6: Download complete 02:32:16 eaf3925da568: Verifying Checksum 02:32:16 eaf3925da568: Download complete 02:32:16 339a4e72a1f5: Verifying Checksum 02:32:16 339a4e72a1f5: Download complete 02:32:16 bde34c3a00c8: Verifying Checksum 02:32:16 bde34c3a00c8: Download complete 02:32:16 b352a97aabf1: Verifying Checksum 02:32:16 b352a97aabf1: Download complete 02:32:16 4872d77fe225: Download complete 02:32:16 5851b861e8e6: Verifying Checksum 02:32:16 5851b861e8e6: Download complete 02:32:16 b85a868b505f: Verifying Checksum 02:32:16 b85a868b505f: Download complete 02:32:16 bab4dde63d76: Verifying Checksum 02:32:16 bab4dde63d76: Download complete 02:32:17 b85a868b505f: Pull complete 02:32:17 e2be974225ed: Pull complete 02:32:18 339a4e72a1f5: Pull complete 02:32:18 988bab9f4d93: Pull complete 02:32:18 1469e6f7b9e6: Pull complete 02:32:18 eaf3925da568: Pull complete 02:32:20 bab4dde63d76: Pull complete 02:32:20 bde34c3a00c8: Pull complete 02:32:20 b352a97aabf1: Pull complete 02:32:20 4872d77fe225: Pull complete 02:32:20 5851b861e8e6: Pull complete 02:32:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:32:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:32:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:32:21 prd-ubuntu20.04-docker-8c-8g-9234 does not seem to be running inside a container 02:32:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:32:23 $ docker top 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 -eo pid,comm 02:32:23 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). 02:32:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:32:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:23 [ssh-agent] Looking for ssh-agent implementation... 02:32:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:24 $ docker exec 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 ssh-agent 02:32:24 SSH_AUTH_SOCK=/tmp/ssh-BCOdvGpThQVh/agent.33 02:32:24 SSH_AGENT_PID=39 02:32:24 Running ssh-add (command line suppressed) 02:32:24 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_6388327018667606494.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_6388327018667606494.key) 02:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:24 + git tag --points-at HEAD [Pipeline] } 02:32:24 $ docker exec --env ******** --env ******** 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 ssh-agent -k 02:32:24 unset SSH_AUTH_SOCK; 02:32:24 unset SSH_AGENT_PID; 02:32:24 echo Agent pid 39 killed; 02:32:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:32:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:32:24 [ssh-agent] Looking for ssh-agent implementation... 02:32:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:32:24 $ docker exec 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 ssh-agent 02:32:24 SSH_AUTH_SOCK=/tmp/ssh-dLD6kyTExcw6/agent.71 02:32:24 SSH_AGENT_PID=77 02:32:24 Running ssh-add (command line suppressed) 02:32:25 Identity added: /w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_12744904911485190079.key (/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/private_key_12744904911485190079.key) 02:32:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:32:25 + git semver init 02:32:25 2023-03-09 02:32:25,580 [run_init] DEBUG init version:0.0.0 force:False 02:32:25 2023-03-09 02:32:25,582 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver 02:32:25 2023-03-09 02:32:25,582 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_PR-116/.semver 02:32:25 2023-03-09 02:32:25,582 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_PR-116/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116, universal_newlines=False, shell=None, istream=None) 02:32:26 2023-03-09 02:32:26,550 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.git/info/exclude 02:32:26 2023-03-09 02:32:26,551 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 with force:False 02:32:26 2023-03-09 02:32:26,551 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 02:32:26 2023-03-09 02:32:26,556 [execute] INFO git cat-file --batch-check 02:32:26 2023-03-09 02:32:26,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 02:32:26 2023-03-09 02:32:26,563 [execute] INFO git cat-file --batch 02:32:26 2023-03-09 02:32:26,564 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_PR-116/.semver, universal_newlines=False, shell=None, istream=) 02:32:26 2023-03-09 02:32:26,570 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_PR-116/.semver/PR-116 02:32:26 0.0.0 [Pipeline] } 02:32:26 $ docker exec --env ******** --env ******** 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 ssh-agent -k 02:32:26 unset SSH_AUTH_SOCK; 02:32:26 unset SSH_AGENT_PID; 02:32:26 echo Agent pid 77 killed; 02:32:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:32:27 + git semver [Pipeline] } 02:32:27 $ docker stop --time=1 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 02:32:28 $ docker rm -f --volumes 1edcb7c97d431e518720c8ec92e2117bb63e3cbe3817146c3b56caa33def9b66 [Pipeline] // withDockerContainer [Pipeline] sh 02:32:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:32:29 Stashed 1 file(s) [Pipeline] echo 02:32:29 [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 02:32:29 provisioning config files... 02:32:29 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config9594038481461965396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:32:29 ---> docker-login.sh 02:32:29 nexus3.edgexfoundry.org:10001 02:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:29 Configure a credential helper to remove this warning. See 02:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:29 02:32:29 Login Succeeded 02:32:29 nexus3.edgexfoundry.org:10002 02:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:29 Configure a credential helper to remove this warning. See 02:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:29 02:32:29 Login Succeeded 02:32:29 nexus3.edgexfoundry.org:10003 02:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:29 Configure a credential helper to remove this warning. See 02:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:29 02:32:29 Login Succeeded 02:32:29 nexus3.edgexfoundry.org:10004 02:32:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:29 Configure a credential helper to remove this warning. See 02:32:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:29 02:32:29 Login Succeeded 02:32:29 docker.io 02:32:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:32:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:32:30 Configure a credential helper to remove this warning. See 02:32:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:32:30 02:32:30 Login Succeeded 02:32:30 ---> docker-login.sh ends [Pipeline] } 02:32:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:32:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:32:30 ========================================================= 02:32:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:32:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:32:30 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:32:30 Sending build context to Docker daemon 15.99MB 02:32:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:32:30 Step 2/12 : FROM ${BASE} AS builder 02:32:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:32:30 213ec9aee27d: Pulling fs layer 02:32:30 4583459ba037: Pulling fs layer 02:32:30 93c1e223e6f2: Pulling fs layer 02:32:30 53926ce57604: Pulling fs layer 02:32:30 21b2b0c7a3f4: Pulling fs layer 02:32:30 22ff95d597cd: Pulling fs layer 02:32:30 12d6caf4c0d1: Pulling fs layer 02:32:30 96b7cbca73a9: Pulling fs layer 02:32:30 a7acece74701: Pulling fs layer 02:32:30 22ff95d597cd: Waiting 02:32:30 a7acece74701: Waiting 02:32:30 12d6caf4c0d1: Waiting 02:32:30 53926ce57604: Waiting 02:32:30 96b7cbca73a9: Waiting 02:32:30 93c1e223e6f2: Verifying Checksum 02:32:30 93c1e223e6f2: Download complete 02:32:30 4583459ba037: Download complete 02:32:30 21b2b0c7a3f4: Verifying Checksum 02:32:30 21b2b0c7a3f4: Download complete 02:32:30 22ff95d597cd: Verifying Checksum 02:32:30 213ec9aee27d: Verifying Checksum 02:32:30 213ec9aee27d: Download complete 02:32:30 12d6caf4c0d1: Verifying Checksum 02:32:30 12d6caf4c0d1: Download complete 02:32:30 213ec9aee27d: Pull complete 02:32:31 4583459ba037: Pull complete 02:32:31 93c1e223e6f2: Pull complete 02:32:31 a7acece74701: Verifying Checksum 02:32:31 a7acece74701: Download complete 02:32:31 96b7cbca73a9: Verifying Checksum 02:32:31 96b7cbca73a9: Download complete 02:32:31 53926ce57604: Verifying Checksum 02:32:31 53926ce57604: Download complete 02:32:35 53926ce57604: Pull complete 02:32:35 21b2b0c7a3f4: Pull complete 02:32:35 22ff95d597cd: Pull complete 02:32:35 12d6caf4c0d1: Pull complete 02:32:37 96b7cbca73a9: Pull complete 02:32:38 a7acece74701: Pull complete 02:32:38 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:32:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:32:38 ---> db6d94c90886 02:32:38 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:32:43 ---> Running in 0b24b6864a08 02:32:43 Removing intermediate container 0b24b6864a08 02:32:43 ---> 53868ae542a9 02:32:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:32:43 ---> Running in 6db93b055599 02:32:43 Removing intermediate container 6db93b055599 02:32:43 ---> 93d98c117601 02:32:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:32:43 ---> Running in b47e13a43ed8 02:32:43 Removing intermediate container b47e13a43ed8 02:32:43 ---> 1cd3c864545e 02:32:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:32:43 ---> Running in 9aec84f8dca1 02:32:43 Removing intermediate container 9aec84f8dca1 02:32:43 ---> 305b73620bdf 02:32:43 Step 7/12 : WORKDIR /device-gpio 02:32:43 ---> Running in 28d061f462f8 02:32:43 Removing intermediate container 28d061f462f8 02:32:43 ---> 0d5b5eda11ee 02:32:43 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:32:43 ---> Running in 019371a9e378 02:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:32:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:32:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:32:43 (2/4) Installing libedit (20210910.3.1-r0) 02:32:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:32:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:32:43 Executing busybox-1.35.0-r17.trigger 02:32:43 OK: 216 MiB in 55 packages 02:32:44 Still waiting to schedule task 02:32:44 ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:44 ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:44 ‘prd-ubuntu20.04-docker-8c-8g-9235’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 02:32:44 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9238’ is offline 02:32:44 Removing intermediate container 019371a9e378 02:32:44 ---> c2c8ec930636 02:32:44 Step 9/12 : COPY go.mod vendor* ./ 02:32:44 ---> b1ba990a9657 02:32:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:32:44 ---> Running in 0a4b06d95189 02:33:23 Removing intermediate container 0a4b06d95189 02:33:23 ---> 2b4ecdb77502 02:33:23 Step 11/12 : COPY . . 02:33:23 ---> 401c37cc5653 02:33:23 Step 12/12 : RUN ${MAKE} 02:33:23 ---> Running in 73f4428a28e4 02:33:23 noop 02:33:23 Removing intermediate container 73f4428a28e4 02:33:23 ---> 4d2af6d797f8 02:33:23 Successfully built 4d2af6d797f8 02:33:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:23 + docker inspect -f . ci-base-image-x86_64 02:33:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:23 prd-ubuntu20.04-docker-8c-8g-9234 does not seem to be running inside a container 02:33:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_PR-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:24 $ docker top 24df1237861813a1f25aaafb31478eaa264dba56b5e7051d10c3fe1ebf11ae11 -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:24 + go version 02:33:24 go version go1.18.7 linux/amd64 [Pipeline] } 02:33:24 $ docker stop --time=1 24df1237861813a1f25aaafb31478eaa264dba56b5e7051d10c3fe1ebf11ae11 02:33:25 $ docker rm -f --volumes 24df1237861813a1f25aaafb31478eaa264dba56b5e7051d10c3fe1ebf11ae11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:26 + docker inspect -f . ci-base-image-x86_64 02:33:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:26 prd-ubuntu20.04-docker-8c-8g-9234 does not seem to be running inside a container 02:33:26 $ 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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:33:26 $ docker top 0677e7e46872b1bf2225d42c69e37f1cf8daf1588eb883de0a8462f0eb6d9a2a -eo pid,comm [Pipeline] { [Pipeline] sh 02:33:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] fileExists [Pipeline] sh 02:33:27 + make test 02:33:27 go test ./... -coverprofile=coverage.out ./... 02:33:27 ? github.com/edgexfoundry/device-gpio [no test files] 02:33:37 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:33:37 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:33:43 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:33:43 go vet ./... 02:33:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:33:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:33:46 ./bin/test-attribution-txt.sh 02:33:46 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:33:46 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:33:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:33:46 $ docker stop --time=1 0677e7e46872b1bf2225d42c69e37f1cf8daf1588eb883de0a8462f0eb6d9a2a 02:33:49 $ docker rm -f --volumes 0677e7e46872b1bf2225d42c69e37f1cf8daf1588eb883de0a8462f0eb6d9a2a [Pipeline] // withDockerContainer [Pipeline] sh 02:33:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:33:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:33:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:33:50 + ls -al . 02:33:50 total 160 02:33:50 drwxrwxr-x 9 jenkins jenkins 4096 Mar 9 02:33 . 02:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 .. 02:33:50 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:32 .dockerignore 02:33:50 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:33 .git 02:33:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 .github 02:33:50 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:32 .gitignore 02:33:50 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:32 .golangci.yml 02:33:50 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:32 .semver 02:33:50 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:32 Attribution.txt 02:33:50 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:32 CHANGELOG.md 02:33:50 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:32 Dockerfile 02:33:50 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:32 GOVERNANCE.md 02:33:50 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:32 Jenkinsfile 02:33:50 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:32 LICENSE 02:33:50 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:32 Makefile 02:33:50 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:32 OWNERS.md 02:33:50 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:32 README.md 02:33:50 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:32 VERSION 02:33:50 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:32 bin 02:33:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 cmd 02:33:50 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:33 coverage.out 02:33:50 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 02:32 go.mod 02:33:50 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 9 02:32 go.sum 02:33:50 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:32 internal 02:33:50 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:32 snap 02:33:50 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:50 + 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=556b0d33684bc0e3f3c7e8af9fc75d9de3776265 --label arch=amd64 --label version=0.0.0 . 02:33:50 Sending build context to Docker daemon 15.99MB 02:33:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:33:50 Step 2/25 : FROM ${BASE} AS builder 02:33:50 ---> 4d2af6d797f8 02:33:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:33:50 ---> Running in 62b40375183b 02:33:50 Removing intermediate container 62b40375183b 02:33:50 ---> 055ad4f3b65a 02:33:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:50 ---> Running in 086406b0b210 02:33:50 Removing intermediate container 086406b0b210 02:33:50 ---> a1a85fdfe74b 02:33:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:33:50 ---> Running in bceb5df97baa 02:33:51 Removing intermediate container bceb5df97baa 02:33:51 ---> 77ed956dfadf 02:33:51 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:33:51 ---> Running in c525314162bd 02:33:51 Removing intermediate container c525314162bd 02:33:51 ---> 8f1568345ae0 02:33:51 Step 7/25 : WORKDIR /device-gpio 02:33:51 ---> Running in 852272f7fcac 02:33:51 Removing intermediate container 852272f7fcac 02:33:51 ---> ae4218776aee 02:33:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:51 ---> Running in fbc1cb85c4a9 02:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:33:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:33:51 OK: 216 MiB in 55 packages 02:33:52 Removing intermediate container fbc1cb85c4a9 02:33:52 ---> f93a58c6fd00 02:33:52 Step 9/25 : COPY go.mod vendor* ./ 02:33:52 ---> 156bf8a2872b 02:33:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:52 ---> Running in fb6919840f23 02:33:53 Removing intermediate container fb6919840f23 02:33:53 ---> 2a1380af34e0 02:33:53 Step 11/25 : COPY . . 02:33:53 ---> 8a2f35b53117 02:33:53 Step 12/25 : RUN ${MAKE} 02:33:53 ---> Running in b823212fee8a 02:33:54 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 02:34:15 Removing intermediate container b823212fee8a 02:34:15 ---> 7836f4cfde2f 02:34:15 Step 13/25 : FROM alpine:3.16 02:34:15 3.16: Pulling from library/alpine 02:34:15 ef5531b6e74e: Pulling fs layer 02:34:15 ef5531b6e74e: Download complete 02:34:15 ef5531b6e74e: Pull complete 02:34:15 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:34:15 Status: Downloaded newer image for alpine:3.16 02:34:15 ---> dfd21b5a31f5 02:34:15 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:34:15 ---> Running in dfecf4b3f2cc 02:34:15 Removing intermediate container dfecf4b3f2cc 02:34:15 ---> 0c34bf7691ff 02:34:15 Step 15/25 : RUN apk add --update --no-cache 02:34:15 ---> Running in e105cb192795 02:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:34:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:34:15 OK: 6 MiB in 14 packages 02:34:15 Removing intermediate container e105cb192795 02:34:15 ---> 46bdec03ec0d 02:34:15 Step 16/25 : WORKDIR / 02:34:15 ---> Running in a7c26f0e1d4c 02:34:15 Removing intermediate container a7c26f0e1d4c 02:34:15 ---> 445791e5cbd1 02:34:15 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:34:15 ---> 0947ecfcebad 02:34:15 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:34:15 ---> b4a3120d9fb3 02:34:15 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:34:16 ---> 4acf9eed338c 02:34:16 Step 20/25 : EXPOSE 59910 02:34:16 ---> Running in 601cad32e06b 02:34:16 Removing intermediate container 601cad32e06b 02:34:16 ---> c98575d7c4a7 02:34:16 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:34:16 ---> Running in 2e698282541b 02:34:16 Removing intermediate container 2e698282541b 02:34:16 ---> 216a25e4b6fc 02:34:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:34:16 ---> Running in 23dc7a374723 02:34:16 Removing intermediate container 23dc7a374723 02:34:16 ---> 4fab66eca15a 02:34:16 Step 23/25 : LABEL arch=amd64 02:34:16 ---> Running in 2bd0dae58287 02:34:16 Removing intermediate container 2bd0dae58287 02:34:16 ---> a27537848a8e 02:34:16 Step 24/25 : LABEL git_sha=556b0d33684bc0e3f3c7e8af9fc75d9de3776265 02:34:17 ---> Running in a94b8cda5435 02:34:17 Removing intermediate container a94b8cda5435 02:34:17 ---> 28ba315d995e 02:34:17 Step 25/25 : LABEL version=0.0.0 02:34:17 ---> Running in 21e59feb98e0 02:34:17 Removing intermediate container 21e59feb98e0 02:34:17 ---> 1e4dccfe5535 02:34:17 [Warning] One or more build-args [ARCH] were not consumed 02:34:17 Successfully built 1e4dccfe5535 02:34:17 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:17 02:34:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:17 latest: Pulling from edgex-lftools-log-publisher 02:34:17 5eb5b503b376: Pulling fs layer 02:34:17 5c69ac0246d0: Pulling fs layer 02:34:17 ec43610c2a17: Pulling fs layer 02:34:17 3a2ae6a8a46f: Pulling fs layer 02:34:17 33b1e0a273af: Pulling fs layer 02:34:17 5d3b04190fa2: Pulling fs layer 02:34:17 2f39f015ded8: Pulling fs layer 02:34:17 3a2ae6a8a46f: Waiting 02:34:17 33b1e0a273af: Waiting 02:34:17 5d3b04190fa2: Waiting 02:34:17 2f39f015ded8: Waiting 02:34:17 5c69ac0246d0: Download complete 02:34:17 3a2ae6a8a46f: Verifying Checksum 02:34:17 3a2ae6a8a46f: Download complete 02:34:18 33b1e0a273af: Verifying Checksum 02:34:18 33b1e0a273af: Download complete 02:34:18 5d3b04190fa2: Download complete 02:34:18 ec43610c2a17: Verifying Checksum 02:34:18 ec43610c2a17: Download complete 02:34:18 5eb5b503b376: Verifying Checksum 02:34:18 5eb5b503b376: Download complete 02:34:18 2f39f015ded8: Download complete 02:34:19 5eb5b503b376: Pull complete 02:34:19 5c69ac0246d0: Pull complete 02:34:19 ec43610c2a17: Pull complete 02:34:19 3a2ae6a8a46f: Pull complete 02:34:20 33b1e0a273af: Pull complete 02:34:20 5d3b04190fa2: Pull complete 02:34:24 2f39f015ded8: Pull complete 02:34:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:34:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:24 prd-ubuntu20.04-docker-8c-8g-9234 does not seem to be running inside a container 02:34:24 $ 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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:34:29 $ docker top ec3f2214f806703ee4ba6215c445cbad5e4f1af87a5fe26d7c2d41b00f3ab281 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:29 ---> job-cost.sh 02:34:29 lf-activate-venv: SKIPPING 02:34:29 INFO: No Stack... 02:34:30 INFO: Retrieving Pricing Info for: v3-standard-8 02:34:30 INFO: Archiving Costs [Pipeline] sh 02:34:30 + cat /w/workspace/edgexfoundry_device-gpio_PR-116/archives/cost.csv 02:34:30 + cut -d, -f6 [Pipeline] lock 02:34:30 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] 02:34:30 Resource [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] did not exist. Created. 02:34:30 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:34:30 + echo total: 0.2199999988079071 [Pipeline] stash 02:34:30 Stashed 1 file(s) [Pipeline] } 02:34:30 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:34:30 $ docker stop --time=1 ec3f2214f806703ee4ba6215c445cbad5e4f1af87a5fe26d7c2d41b00f3ab281 02:34:32 $ docker rm -f --volumes ec3f2214f806703ee4ba6215c445cbad5e4f1af87a5fe26d7c2d41b00f3ab281 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:34:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9247 in /w/workspace/edgexfoundry_device-gpio_PR-116 [Pipeline] { [Pipeline] ws 02:34:42 Running in /w/workspace/device-gpio/2 [Pipeline] { [Pipeline] checkout 02:34:42 The recommended git tool is: git 02:34:49 using credential edgex-jenkins-ssh 02:34:49 Cloning the remote Git repository 02:34:49 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:34:49 > git init /w/workspace/device-gpio/2 # timeout=10 02:34:50 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:34:50 > git --version # timeout=10 02:34:50 > git --version # 'git version 2.25.1' 02:34:50 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:51 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:34:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:34:53 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:34:53 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:34:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:34:53 Merging remotes/origin/main commit 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab into PR head commit 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 02:34:53 Merge succeeded, producing 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 02:34:53 Checking out Revision 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 (PR-116) 02:34:54 Commit message: "build(deps): bump golang.org/x/net" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:53 > git config core.sparsecheckout # timeout=10 02:34:53 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 02:34:53 > git remote # timeout=10 02:34:53 > git config --get remote.origin.url # timeout=10 02:34:53 using GIT_SSH to set credentials SSH Credentials for GitHub 02:34:53 > git merge 4a60b186efcb0f9e44d1b8490e20ed6b03eccbab # timeout=10 02:34:53 > git rev-parse HEAD^{commit} # timeout=10 02:34:53 > git config core.sparsecheckout # timeout=10 02:34:53 > git checkout -f 556b0d33684bc0e3f3c7e8af9fc75d9de3776265 # timeout=10 02:34:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:34:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:34:55 Dload Upload Total Spent Left Speed 02:34:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh 02:34:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:34:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:34:56 + sudo tee /etc/docker/daemon.new 02:34:56 { 02:34:56 "registry-mirrors": [ 02:34:56 "https://nexus3.edgexfoundry.org:10001" 02:34:56 ], 02:34:56 "bip": "10.250.0.254/24", 02:34:56 "hosts": [ 02:34:56 "tcp://0.0.0.0:5555", 02:34:56 "unix:///var/run/docker.sock" 02:34:56 ], 02:34:56 "mtu": 1458, 02:34:56 "selinux-enabled": true, 02:34:56 "seccomp-profile": "/etc/docker/seccomp.json" 02:34:56 } [Pipeline] sh 02:34:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:34:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:15 provisioning config files... 02:35:15 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/2@tmp/config14528403925465073597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:15 ---> docker-login.sh 02:35:15 nexus3.edgexfoundry.org:10001 02:35:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:16 Configure a credential helper to remove this warning. See 02:35:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:16 02:35:16 Login Succeeded 02:35:16 nexus3.edgexfoundry.org:10002 02:35:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:16 Configure a credential helper to remove this warning. See 02:35:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:16 02:35:16 Login Succeeded 02:35:16 nexus3.edgexfoundry.org:10003 02:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:17 Configure a credential helper to remove this warning. See 02:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:17 02:35:17 Login Succeeded 02:35:17 nexus3.edgexfoundry.org:10004 02:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:17 Configure a credential helper to remove this warning. See 02:35:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:17 02:35:17 Login Succeeded 02:35:17 docker.io 02:35:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:18 Configure a credential helper to remove this warning. See 02:35:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:18 02:35:18 Login Succeeded 02:35:18 ---> docker-login.sh ends [Pipeline] } 02:35:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:18 ========================================================= 02:35:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:35:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:18 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:35:19 Sending build context to Docker daemon 8.072MB 02:35:19 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:35:19 Step 2/12 : FROM ${BASE} AS builder 02:35:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:35:19 9b18e9b68314: Pulling fs layer 02:35:19 35d82f9e3411: Pulling fs layer 02:35:19 e16973657156: Pulling fs layer 02:35:19 fc693d55d65f: Pulling fs layer 02:35:19 7e9fc2657dce: Pulling fs layer 02:35:19 dda99020689f: Pulling fs layer 02:35:19 db1c61fa0a46: Pulling fs layer 02:35:19 891c053d2c06: Pulling fs layer 02:35:19 7e9fc2657dce: Waiting 02:35:19 dda99020689f: Waiting 02:35:19 db1c61fa0a46: Waiting 02:35:19 fc693d55d65f: Waiting 02:35:19 891c053d2c06: Waiting 02:35:19 e16973657156: Verifying Checksum 02:35:19 e16973657156: Download complete 02:35:19 35d82f9e3411: Download complete 02:35:19 7e9fc2657dce: Verifying Checksum 02:35:19 7e9fc2657dce: Download complete 02:35:19 dda99020689f: Verifying Checksum 02:35:19 dda99020689f: Download complete 02:35:19 9b18e9b68314: Verifying Checksum 02:35:19 9b18e9b68314: Download complete 02:35:20 9b18e9b68314: Pull complete 02:35:20 891c053d2c06: Verifying Checksum 02:35:20 891c053d2c06: Download complete 02:35:21 35d82f9e3411: Pull complete 02:35:21 e16973657156: Pull complete 02:35:21 db1c61fa0a46: Verifying Checksum 02:35:21 db1c61fa0a46: Download complete 02:35:22 fc693d55d65f: Verifying Checksum 02:35:22 fc693d55d65f: Download complete 02:35:34 fc693d55d65f: Pull complete 02:35:34 7e9fc2657dce: Pull complete 02:35:34 dda99020689f: Pull complete 02:35:40 db1c61fa0a46: Pull complete 02:35:41 891c053d2c06: Pull complete 02:35:41 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:35:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:35:41 ---> f96f9c87975a 02:35:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:35:43 ---> Running in e31c2d8d6fbf 02:35:43 Removing intermediate container e31c2d8d6fbf 02:35:43 ---> 3de663cee637 02:35:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:43 ---> Running in 73c972385c3c 02:35:43 Removing intermediate container 73c972385c3c 02:35:43 ---> 40c3f8e63095 02:35:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:35:43 ---> Running in 1bc972b6d381 02:35:44 Removing intermediate container 1bc972b6d381 02:35:44 ---> 0de3ada805e1 02:35:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:35:44 ---> Running in 1193c55d6d46 02:35:44 Removing intermediate container 1193c55d6d46 02:35:44 ---> 65b8efe53285 02:35:44 Step 7/12 : WORKDIR /device-gpio 02:35:44 ---> Running in 704b2c1581fb 02:35:45 Removing intermediate container 704b2c1581fb 02:35:45 ---> e6f613046f4b 02:35:45 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:45 ---> Running in eb27046b2e3f 02:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:35:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:35:48 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:35:48 (2/4) Installing libedit (20210910.3.1-r0) 02:35:48 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:35:48 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:35:48 Executing busybox-1.35.0-r17.trigger 02:35:48 OK: 226 MiB in 55 packages 02:35:49 Removing intermediate container eb27046b2e3f 02:35:49 ---> 8c219364e052 02:35:49 Step 9/12 : COPY go.mod vendor* ./ 02:35:50 ---> 4aabe9a8da06 02:35:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:50 ---> Running in 9896769beb69 02:36:58 Removing intermediate container 9896769beb69 02:36:58 ---> 86bcc08f4ba9 02:36:58 Step 11/12 : COPY . . 02:36:58 ---> a12396666612 02:36:58 Step 12/12 : RUN ${MAKE} 02:36:58 ---> Running in 03937da3a7d0 02:36:58 noop 02:36:59 Removing intermediate container 03937da3a7d0 02:36:59 ---> 9278c44985c4 02:36:59 Successfully built 9278c44985c4 02:36:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:59 + docker inspect -f . ci-base-image-arm64 02:36:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:59 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 02:36:59 $ 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 ******** ci-base-image-arm64 cat 02:37:01 $ docker top b292058f3bcd53177c403999ab4edb2e62abcbc0fad16a7d7fcb252c38aaeb46 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:02 + go version 02:37:02 go version go1.18.7 linux/arm64 [Pipeline] } 02:37:02 $ docker stop --time=1 b292058f3bcd53177c403999ab4edb2e62abcbc0fad16a7d7fcb252c38aaeb46 02:37:03 $ docker rm -f --volumes b292058f3bcd53177c403999ab4edb2e62abcbc0fad16a7d7fcb252c38aaeb46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:04 + docker inspect -f . ci-base-image-arm64 02:37:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:37:04 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 02:37:04 $ 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 ******** ci-base-image-arm64 cat 02:37:06 $ docker top 4ba4fdfea6f333c71546ea18e1c7a933712128ef071200d4d3184c558ed02624 -eo pid,comm [Pipeline] { [Pipeline] sh 02:37:06 + git config --global --add safe.directory /w/workspace/device-gpio/2 [Pipeline] fileExists [Pipeline] sh 02:37:07 + make test 02:37:07 go test ./... -coverprofile=coverage.out ./... 02:37:08 ? github.com/edgexfoundry/device-gpio [no test files] 02:38:45 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:38:45 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:38:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:38:45 go vet ./... 02:39:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:39:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:39:07 ./bin/test-attribution-txt.sh 02:39:07 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:39:07 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:39:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:39:07 $ docker stop --time=1 4ba4fdfea6f333c71546ea18e1c7a933712128ef071200d4d3184c558ed02624 02:39:09 $ docker rm -f --volumes 4ba4fdfea6f333c71546ea18e1c7a933712128ef071200d4d3184c558ed02624 [Pipeline] // withDockerContainer [Pipeline] sh 02:39:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:39:10 Warning: overwriting stash ‘coverage-report’ 02:39:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:39:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:39:11 + ls -al . 02:39:11 total 156 02:39:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:37 . 02:39:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:34 .. 02:39:11 -rw-rw-r-- 1 jenkins jenkins 120 Mar 9 02:34 .dockerignore 02:39:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 02:34 .git 02:39:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:34 .github 02:39:11 -rw-rw-r-- 1 jenkins jenkins 343 Mar 9 02:34 .gitignore 02:39:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 9 02:34 .golangci.yml 02:39:11 -rw-rw-r-- 1 jenkins jenkins 9587 Mar 9 02:34 Attribution.txt 02:39:11 -rw-rw-r-- 1 jenkins jenkins 4069 Mar 9 02:34 CHANGELOG.md 02:39:11 -rw-rw-r-- 1 jenkins jenkins 1542 Mar 9 02:34 Dockerfile 02:39:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 02:34 GOVERNANCE.md 02:39:11 -rw-rw-r-- 1 jenkins jenkins 657 Mar 9 02:34 Jenkinsfile 02:39:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 9 02:34 LICENSE 02:39:11 -rw-rw-r-- 1 jenkins jenkins 1657 Mar 9 02:34 Makefile 02:39:11 -rw-rw-r-- 1 jenkins jenkins 617 Mar 9 02:34 OWNERS.md 02:39:11 -rw-rw-r-- 1 jenkins jenkins 11842 Mar 9 02:34 README.md 02:39:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 9 02:32 VERSION 02:39:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 02:34 bin 02:39:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:34 cmd 02:39:11 -rw-r--r-- 1 jenkins jenkins 10 Mar 9 02:37 coverage.out 02:39:11 -rw-rw-r-- 1 jenkins jenkins 3312 Mar 9 02:34 go.mod 02:39:11 -rw-rw-r-- 1 jenkins jenkins 33120 Mar 9 02:34 go.sum 02:39:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 02:34 internal 02:39:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 02:34 snap 02:39:11 -rw-rw-r-- 1 jenkins jenkins 209 Mar 9 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:12 + 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=556b0d33684bc0e3f3c7e8af9fc75d9de3776265 --label arch=arm64 --label version=0.0.0 . 02:39:12 Sending build context to Docker daemon 8.073MB 02:39:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 02:39:12 Step 2/25 : FROM ${BASE} AS builder 02:39:12 ---> 9278c44985c4 02:39:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:39:12 ---> Running in c1dafaa1d2cd 02:39:13 Removing intermediate container c1dafaa1d2cd 02:39:13 ---> edcf1851d394 02:39:13 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:39:13 ---> Running in 05261f0f36bc 02:39:13 Removing intermediate container 05261f0f36bc 02:39:13 ---> 389e6e46e777 02:39:13 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:39:13 ---> Running in e76bb9df60e3 02:39:14 Removing intermediate container e76bb9df60e3 02:39:14 ---> eaf5cd19c677 02:39:14 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:39:14 ---> Running in 95fd0151a4f9 02:39:14 Removing intermediate container 95fd0151a4f9 02:39:14 ---> 990ea72c34f5 02:39:14 Step 7/25 : WORKDIR /device-gpio 02:39:14 ---> Running in ce337d2a3d84 02:39:15 Removing intermediate container ce337d2a3d84 02:39:15 ---> ef4d0861defa 02:39:15 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:39:15 ---> Running in 002577e11403 02:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:39:18 OK: 226 MiB in 55 packages 02:39:19 Removing intermediate container 002577e11403 02:39:19 ---> d411a9805ecd 02:39:19 Step 9/25 : COPY go.mod vendor* ./ 02:39:20 ---> fc4880d3ea22 02:39:20 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:39:20 ---> Running in e5f2ef3eaab4 02:39:23 Removing intermediate container e5f2ef3eaab4 02:39:23 ---> b86c2a96a4c5 02:39:23 Step 11/25 : COPY . . 02:39:24 ---> 1f0597cb47e6 02:39:24 Step 12/25 : RUN ${MAKE} 02:39:24 ---> Running in e06f10abe40e 02:39:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:42:02 Removing intermediate container e06f10abe40e 02:42:02 ---> 953d0699c072 02:42:02 Step 13/25 : FROM alpine:3.16 02:42:02 3.16: Pulling from library/alpine 02:42:02 3760b48202b3: Pulling fs layer 02:42:02 3760b48202b3: Verifying Checksum 02:42:02 3760b48202b3: Download complete 02:42:02 3760b48202b3: Pull complete 02:42:02 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:42:02 Status: Downloaded newer image for alpine:3.16 02:42:02 ---> 4c81e5bf8899 02:42:02 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:42:02 ---> Running in fb437d79ab0f 02:42:02 Removing intermediate container fb437d79ab0f 02:42:02 ---> 6e443f153bc9 02:42:02 Step 15/25 : RUN apk add --update --no-cache 02:42:02 ---> Running in 87783801b4ee 02:42:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:42:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:42:02 OK: 5 MiB in 14 packages 02:42:02 Removing intermediate container 87783801b4ee 02:42:02 ---> c87fd2d256ec 02:42:02 Step 16/25 : WORKDIR / 02:42:02 ---> Running in e24fb13c8a40 02:42:02 Removing intermediate container e24fb13c8a40 02:42:02 ---> e909a35e4790 02:42:02 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:42:02 ---> 8f3573209ee6 02:42:02 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:42:02 ---> 27165745267f 02:42:02 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:42:02 ---> 064216f3115f 02:42:02 Step 20/25 : EXPOSE 59910 02:42:02 ---> Running in e04ccb65cfa6 02:42:02 Removing intermediate container e04ccb65cfa6 02:42:02 ---> c4eb612ee894 02:42:02 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:42:02 ---> Running in 96febb01f6b3 02:42:03 Removing intermediate container 96febb01f6b3 02:42:03 ---> dbdbd11078bd 02:42:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:42:03 ---> Running in 285416798c18 02:42:03 Removing intermediate container 285416798c18 02:42:03 ---> cf78b05e0644 02:42:03 Step 23/25 : LABEL arch=arm64 02:42:03 ---> Running in 82db011dd7b9 02:42:03 Removing intermediate container 82db011dd7b9 02:42:03 ---> 4277ebed656b 02:42:03 Step 24/25 : LABEL git_sha=556b0d33684bc0e3f3c7e8af9fc75d9de3776265 02:42:03 ---> Running in 9c1f9b931460 02:42:04 Removing intermediate container 9c1f9b931460 02:42:04 ---> e24b2297dace 02:42:04 Step 25/25 : LABEL version=0.0.0 02:42:04 ---> Running in 3f78b8a81925 02:42:04 Removing intermediate container 3f78b8a81925 02:42:04 ---> 89714fcd6365 02:42:04 [Warning] One or more build-args [ARCH] were not consumed 02:42:04 Successfully built 89714fcd6365 02:42:04 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 02:42:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:42:05 02:42:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:42:05 arm64: Pulling from edgex-lftools-log-publisher 02:42:05 8998bd30e6a1: Pulling fs layer 02:42:05 04944245beec: Pulling fs layer 02:42:05 699f458cf7ca: Pulling fs layer 02:42:05 765212b225bb: Pulling fs layer 02:42:05 f23df028b6ca: Pulling fs layer 02:42:05 d65c8cfc05b1: Pulling fs layer 02:42:05 2437ff75d9bd: Pulling fs layer 02:42:05 765212b225bb: Waiting 02:42:05 f23df028b6ca: Waiting 02:42:05 d65c8cfc05b1: Waiting 02:42:05 2437ff75d9bd: Waiting 02:42:05 04944245beec: Verifying Checksum 02:42:05 04944245beec: Download complete 02:42:05 765212b225bb: Verifying Checksum 02:42:05 765212b225bb: Download complete 02:42:05 f23df028b6ca: Verifying Checksum 02:42:05 f23df028b6ca: Download complete 02:42:06 d65c8cfc05b1: Verifying Checksum 02:42:06 d65c8cfc05b1: Download complete 02:42:06 699f458cf7ca: Verifying Checksum 02:42:06 699f458cf7ca: Download complete 02:42:06 8998bd30e6a1: Verifying Checksum 02:42:06 8998bd30e6a1: Download complete 02:42:08 2437ff75d9bd: Verifying Checksum 02:42:08 2437ff75d9bd: Download complete 02:42:10 8998bd30e6a1: Pull complete 02:42:10 04944245beec: Pull complete 02:42:12 699f458cf7ca: Pull complete 02:42:12 765212b225bb: Pull complete 02:42:13 f23df028b6ca: Pull complete 02:42:13 d65c8cfc05b1: Pull complete 02:42:28 2437ff75d9bd: Pull complete 02:42:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:42:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:42:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:28 prd-ubuntu20.04-docker-arm64-4c-16g-9247 does not seem to be running inside a container 02:42:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:42:31 $ docker top f3ec971934b9a28dea96c9d0560bfec4fa19433afce3e43ff63cac841efbb8a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:32 ---> job-cost.sh 02:42:32 lf-activate-venv: SKIPPING 02:42:32 INFO: No Stack... 02:42:32 INFO: Retrieving Pricing Info for: v3-standard-4 02:42:33 INFO: Archiving Costs [Pipeline] sh 02:42:34 + cat /w/workspace/device-gpio/2/archives/cost.csv 02:42:34 + cut -d, -f6 [Pipeline] lock 02:42:34 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] 02:42:34 Resource [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] did not exist. Created. 02:42:34 Lock acquired on [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:42:35 /w/workspace/device-gpio/2@tmp/durable-732e4f99/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:42:35 + echo total: 0.10999999940395355 [Pipeline] stash 02:42:35 Warning: overwriting stash ‘stack-cost’ 02:42:35 Stashed 1 file(s) [Pipeline] } 02:42:35 Lock released on resource [jenkins-edgexfoundry-device-gpio-PR-116-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:42:35 $ docker stop --time=1 f3ec971934b9a28dea96c9d0560bfec4fa19433afce3e43ff63cac841efbb8a7 02:42:37 $ docker rm -f --volumes f3ec971934b9a28dea96c9d0560bfec4fa19433afce3e43ff63cac841efbb8a7 [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 02:42:37 provisioning config files... 02:42:37 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config6485380559692192382tmp [Pipeline] { [Pipeline] sh 02:42:38 + set +x 02:42:38 + + curl -s https://codecov.io/bash 02:42:38 bash -s -- 02:42:38 02:42:38 _____ _ 02:42:38 / ____| | | 02:42:38 | | ___ __| | ___ ___ _____ __ 02:42:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:42:38 | |___| (_) | (_| | __/ (_| (_) \ V / 02:42:38 \_____\___/ \__,_|\___|\___\___/ \_/ 02:42:38 Bash-1.0.6 02:42:38 02:42:38 02:42:38 ==> git version 2.25.1 found 02:42:38 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:42:38 Release-Date: 2020-01-08 02:42:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:42:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:42:38 ==> Jenkins CI detected. 02:42:38 current dir:  /w/workspace/edgexfoundry_device-gpio_PR-116 02:42:38 project root: . 02:42:38 --> token set from env 02:42:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:42:38 ==> Running gcov in . (disable via -X gcov) 02:42:38 ==> Python coveragepy not found 02:42:38 ==> Searching for coverage reports in: 02:42:38 + . 02:42:38 -> Found 1 reports 02:42:38 ==> Detecting git/mercurial file structure 02:42:38 ==> Reading reports 02:42:38 + ./coverage.out bytes=10 02:42:38 ==> Appending adjustments 02:42:38 https://docs.codecov.io/docs/fixing-reports 02:42:38 + Found adjustments 02:42:38 ==> Gzipping contents 02:42:38 4.0K /tmp/codecov.BbIFLo.gz 02:42:38 ==> Uploading reports 02:42:38 url: https://codecov.io 02:42:38 query: branch=PR-116&commit=556b0d33684bc0e3f3c7e8af9fc75d9de3776265&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 02:42:38 -> Pinging Codecov 02:42:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=PR-116&commit=556b0d33684bc0e3f3c7e8af9fc75d9de3776265&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2FPR-116%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=116&job=&cmd_args= 02:42:38 -> Uploading to 02:42:38 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/3EC07B1A8CA8AF9BCAA0BB9F0134797F/556b0d33684bc0e3f3c7e8af9fc75d9de3776265/ce0e07f0-79d3-40c6-823c-e69da8df36f2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T024238Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f6883efb010c2a2b91d28ab154a246c2debf0e6c420e9a2edb620a251faac61 02:42:38 % Total % Received % Xferd Average Speed Time Time Time Current 02:42:38 Dload Upload Total Spent Left Speed 02:42:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 3357 --:--:-- --:--:-- --:--:-- 3342 100 742 0 0 100 742 0 2340 --:--:-- --:--:-- --:--:-- 2333 02:42:38 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/556b0d33684bc0e3f3c7e8af9fc75d9de3776265 [Pipeline] } 02:42:38 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 02:42:39 + [ -d /w/workspace/edgexfoundry_device-gpio_PR-116/archives ] 02:42:39 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 02:42:39 total 16 02:42:39 drwxr-xr-x 3 root root 4096 Mar 9 02:34 . 02:42:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:34 .. 02:42:39 drwxr-xr-x 2 root root 4096 Mar 9 02:34 cost 02:42:39 -rw-r--r-- 1 root root 83 Mar 9 02:34 cost.csv 02:42:39 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_PR-116/archives 02:42:39 + ls -al /w/workspace/edgexfoundry_device-gpio_PR-116/archives 02:42:39 total 16 02:42:39 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 02:34 . 02:42:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 02:34 .. 02:42:39 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 02:34 cost 02:42:39 -rw-r--r-- 1 jenkins jenkins 83 Mar 9 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:42:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:42:40 ---> package-listing.sh 02:42:40 ++ tr '[:upper:]' '[:lower:]' 02:42:40 ++ facter osfamily 02:42:41 + OS_FAMILY=debian 02:42:41 + workspace=/w/workspace/edgexfoundry_device-gpio_PR-116 02:42:41 + START_PACKAGES=/tmp/packages_start.txt 02:42:41 + END_PACKAGES=/tmp/packages_end.txt 02:42:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:42:41 + PACKAGES=/tmp/packages_start.txt 02:42:41 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 02:42:41 + PACKAGES=/tmp/packages_end.txt 02:42:41 + case "${OS_FAMILY}" in 02:42:41 + dpkg -l 02:42:41 + grep '^ii' 02:42:41 + '[' -f /tmp/packages_start.txt ']' 02:42:41 + '[' -f /tmp/packages_end.txt ']' 02:42:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:42:41 + '[' /w/workspace/edgexfoundry_device-gpio_PR-116 ']' 02:42:41 + mkdir -p /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ 02:42:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_PR-116/archives/ [Pipeline] echo 02:42:41 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:42:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:42 prd-ubuntu20.04-docker-8c-8g-9234 does not seem to be running inside a container 02:42:42 $ 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-116/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-116 -v /w/workspace/edgexfoundry_device-gpio_PR-116:/w/workspace/edgexfoundry_device-gpio_PR-116:rw,z -v /w/workspace/edgexfoundry_device-gpio_PR-116@tmp:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:42:42 $ docker top 4acb1ec6494be73c6691a527e68d392484179e169146d6eda656cda679e81977 -eo pid,comm [Pipeline] { [Pipeline] sh 02:42:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:42:42 + mkdir -p /var/log/sysstat [Pipeline] sh 02:42:43 + ls /var/log/sa-host 02:42:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:42:43 provisioning config files... 02:42:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_PR-116@tmp/config15503600786829004866tmp [Pipeline] { [Pipeline] echo 02:42:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:42:43 ---> create-netrc.sh [Pipeline] } 02:42:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:42:43 ---> python-tools-install.sh [Pipeline] echo 02:42:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:42:44 ---> sudo-logs.sh 02:42:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:42:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:42:44 ---> job-cost.sh 02:42:44 lf-activate-venv: SKIPPING 02:42:44 DEBUG: total: 0.2199999988079071 02:42:44 INFO: Retrieving Stack Cost... 02:42:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:42:45 INFO: Archiving Costs [Pipeline] echo 02:42:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:42:45 ---> logs-deploy.sh 02:42:45 lf-activate-venv: SKIPPING 02:42:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/PR-116/2 02:42:45 INFO: archiving workspace using pattern(s): 02:42:46 Archives upload complete. 02:42:46 INFO: archiving logs to Nexus