Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 569473615fb9befb8fb7c39be4b8603efd71ba81 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-ssh4970116772336788458.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh10448566898831828864.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6558025563399360017.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh4913213265815383211.key Verifying host key using known hosts file > 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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10948639267754463768.key Verifying host key using known hosts file > 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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7494 in /w/workspace/edgexfoundry_device-gpio_main [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_main # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 569473615fb9befb8fb7c39be4b8603efd71ba81 (main) > 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 Commit message: "Merge pull request #60 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" > git config core.sparsecheckout # timeout=10 > git checkout -f 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 > git rev-list --no-walk cc93018424da199c7be3ecb3186bc22ad0e7404b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:59:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:59:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:59:05 ========================================================= 09:59:05 EdgeX Global Pipelines Version Info 09:59:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:59:05 ------------------- 09:59:05 stable info: 09:59:05 ------------------- 09:59:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:59:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:59:05 Message: update stable to v1.0.239 09:59:06 ------------------- 09:59:06 experimental info: 09:59:06 ------------------- 09:59:06 Commited By: **** collab-it+edgex@linuxfoundation.org 09:59:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:59:06 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5694736 [Pipeline] echo 09:59:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:59:06 provisioning config files... 09:59:07 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1719222417667077492tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:07 ---> docker-login.sh 09:59:07 nexus3.edgexfoundry.org:10001 09:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:07 Configure a credential helper to remove this warning. See 09:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:07 09:59:07 Login Succeeded 09:59:07 nexus3.edgexfoundry.org:10002 09:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:07 Configure a credential helper to remove this warning. See 09:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:07 09:59:07 Login Succeeded 09:59:07 nexus3.edgexfoundry.org:10003 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:08 Configure a credential helper to remove this warning. See 09:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:08 09:59:08 Login Succeeded 09:59:08 nexus3.edgexfoundry.org:10004 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:08 Configure a credential helper to remove this warning. See 09:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:08 09:59:08 Login Succeeded 09:59:08 docker.io 09:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:08 Configure a credential helper to remove this warning. See 09:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:08 09:59:08 Login Succeeded 09:59:08 ---> docker-login.sh ends [Pipeline] } 09:59:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:59:08 + git rev-list -1 --merges 569473615fb9befb8fb7c39be4b8603efd71ba81~1..569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] echo 09:59:09 -----------> git rev-list -1 --merges 569473615fb9befb8fb7c39be4b8603efd71ba81~1..569473615fb9befb8fb7c39be4b8603efd71ba81 569473615fb9befb8fb7c39be4b8603efd71ba81 09:59:09 569473615fb9befb8fb7c39be4b8603efd71ba81 [false] [Pipeline] sh 09:59:09 + git log --format=format:%s -1 569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] echo 09:59:09 ========================================================= 09:59:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:59:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:59:09 + git log --format=format:%s -1 569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] echo 09:59:09 [semverPrep] GIT_COMMIT: 569473615fb9befb8fb7c39be4b8603efd71ba81, Commit Message: Merge pull request #60 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37 [Pipeline] echo 09:59:09 [semverPrep] This is not a build commit. [Pipeline] sh 09:59:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:59:10 + grep -v github /etc/ssh/ssh_known_hosts 09:59:10 + [ -e /tmp/ssh_known_hosts ] 09:59:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:59:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:59:10 + sudo tee -a /etc/ssh/ssh_known_hosts 09:59:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:10 09:59:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:10 0.1.4: Pulling from edgex-devops/py-git-semver 09:59:10 b85a868b505f: Pulling fs layer 09:59:10 e2be974225ed: Pulling fs layer 09:59:10 339a4e72a1f5: Pulling fs layer 09:59:10 988bab9f4d93: Pulling fs layer 09:59:10 1469e6f7b9e6: Pulling fs layer 09:59:10 eaf3925da568: Pulling fs layer 09:59:10 bab4dde63d76: Pulling fs layer 09:59:10 bde34c3a00c8: Pulling fs layer 09:59:10 b352a97aabf1: Pulling fs layer 09:59:10 4872d77fe225: Pulling fs layer 09:59:10 5851b861e8e6: Pulling fs layer 09:59:10 1469e6f7b9e6: Waiting 09:59:10 eaf3925da568: Waiting 09:59:10 bab4dde63d76: Waiting 09:59:10 bde34c3a00c8: Waiting 09:59:10 988bab9f4d93: Waiting 09:59:10 b352a97aabf1: Waiting 09:59:10 5851b861e8e6: Waiting 09:59:10 4872d77fe225: Waiting 09:59:10 e2be974225ed: Download complete 09:59:10 988bab9f4d93: Verifying Checksum 09:59:10 988bab9f4d93: Download complete 09:59:11 1469e6f7b9e6: Verifying Checksum 09:59:11 1469e6f7b9e6: Download complete 09:59:11 339a4e72a1f5: Verifying Checksum 09:59:11 339a4e72a1f5: Download complete 09:59:11 eaf3925da568: Verifying Checksum 09:59:11 eaf3925da568: Download complete 09:59:11 bde34c3a00c8: Download complete 09:59:11 b352a97aabf1: Verifying Checksum 09:59:11 b352a97aabf1: Download complete 09:59:11 4872d77fe225: Verifying Checksum 09:59:11 4872d77fe225: Download complete 09:59:11 5851b861e8e6: Verifying Checksum 09:59:11 5851b861e8e6: Download complete 09:59:11 b85a868b505f: Verifying Checksum 09:59:11 b85a868b505f: Download complete 09:59:11 bab4dde63d76: Verifying Checksum 09:59:11 bab4dde63d76: Download complete 09:59:12 b85a868b505f: Pull complete 09:59:12 e2be974225ed: Pull complete 09:59:13 339a4e72a1f5: Pull complete 09:59:13 988bab9f4d93: Pull complete 09:59:13 1469e6f7b9e6: Pull complete 09:59:13 eaf3925da568: Pull complete 09:59:15 bab4dde63d76: Pull complete 09:59:15 bde34c3a00c8: Pull complete 09:59:15 b352a97aabf1: Pull complete 09:59:15 4872d77fe225: Pull complete 09:59:15 5851b861e8e6: Pull complete 09:59:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:59:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:59:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:59:16 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 09:59:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:59:18 $ docker top 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad -eo pid,comm 09:59:18 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). 09:59:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:59:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:18 [ssh-agent] Looking for ssh-agent implementation... 09:59:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:18 $ docker exec 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad ssh-agent 09:59:18 SSH_AUTH_SOCK=/tmp/ssh-WPYhB3zbEPae/agent.33 09:59:18 SSH_AGENT_PID=39 09:59:18 Running ssh-add (command line suppressed) 09:59:19 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10382221012734177690.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10382221012734177690.key) 09:59:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:19 + git tag --points-at HEAD [Pipeline] } 09:59:19 $ docker exec --env ******** --env ******** 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad ssh-agent -k 09:59:19 unset SSH_AUTH_SOCK; 09:59:19 unset SSH_AGENT_PID; 09:59:19 echo Agent pid 39 killed; 09:59:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:59:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:59:19 [ssh-agent] Looking for ssh-agent implementation... 09:59:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:59:19 $ docker exec 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad ssh-agent 09:59:19 SSH_AUTH_SOCK=/tmp/ssh-3iVeVzJJJGFl/agent.71 09:59:19 SSH_AGENT_PID=77 09:59:19 Running ssh-add (command line suppressed) 09:59:19 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8060115339326011434.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8060115339326011434.key) 09:59:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:59:20 + git semver init 09:59:20 2022-10-10 09:59:20,372 [run_init] DEBUG init version:0.0.0 force:False 09:59:20 2022-10-10 09:59:20,373 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 09:59:20 2022-10-10 09:59:20,374 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 09:59:20 2022-10-10 09:59:20,374 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 09:59:21 2022-10-10 09:59:21,421 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 09:59:21 2022-10-10 09:59:21,422 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 09:59:21 2022-10-10 09:59:21,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:59:21 2022-10-10 09:59:21,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 09:59:21 2.3.0-dev.13 [Pipeline] } 09:59:21 $ docker exec --env ******** --env ******** 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad ssh-agent -k 09:59:21 unset SSH_AUTH_SOCK; 09:59:21 unset SSH_AGENT_PID; 09:59:21 echo Agent pid 77 killed; 09:59:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:59:22 + git semver [Pipeline] } 09:59:22 $ docker stop --time=1 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad 09:59:23 $ docker rm -f 7d046405480ce35ff4a4d6c3598d0375dc874400b15e85dc23e9ddf496f177ad [Pipeline] // withDockerContainer [Pipeline] sh 09:59:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:59:24 Stashed 1 file(s) [Pipeline] echo 09:59:24 [edgeXSemver]: initialized semver on version 2.3.0-dev.13 [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 09:59:24 provisioning config files... 09:59:24 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16621702613695223268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:59:24 ---> docker-login.sh 09:59:24 nexus3.edgexfoundry.org:10001 09:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:24 Configure a credential helper to remove this warning. See 09:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:24 09:59:24 Login Succeeded 09:59:24 nexus3.edgexfoundry.org:10002 09:59:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:24 Configure a credential helper to remove this warning. See 09:59:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:24 09:59:24 Login Succeeded 09:59:24 nexus3.edgexfoundry.org:10003 09:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:25 Configure a credential helper to remove this warning. See 09:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:25 09:59:25 Login Succeeded 09:59:25 nexus3.edgexfoundry.org:10004 09:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:25 Configure a credential helper to remove this warning. See 09:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:25 09:59:25 Login Succeeded 09:59:25 docker.io 09:59:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:59:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:59:25 Configure a credential helper to remove this warning. See 09:59:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:59:25 09:59:25 Login Succeeded 09:59:25 ---> docker-login.sh ends [Pipeline] } 09:59:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:59:25 ========================================================= 09:59:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:59:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:59:25 + 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 . 09:59:25 Sending build context to Docker daemon 15.84MB 09:59:25 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 09:59:25 Step 2/13 : FROM ${BASE} AS builder 09:59:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:59:25 2408cc74d12b: Pulling fs layer 09:59:25 ea60b727a1ce: Pulling fs layer 09:59:25 30c4a7721957: Pulling fs layer 09:59:25 370296b7ddb6: Pulling fs layer 09:59:25 7c6cee850709: Pulling fs layer 09:59:25 aa9baa53a306: Pulling fs layer 09:59:25 8b309c321861: Pulling fs layer 09:59:25 d8d76fd02f46: Pulling fs layer 09:59:25 fa31f396de31: Pulling fs layer 09:59:25 aa9baa53a306: Waiting 09:59:25 8b309c321861: Waiting 09:59:25 d8d76fd02f46: Waiting 09:59:25 370296b7ddb6: Waiting 09:59:25 fa31f396de31: Waiting 09:59:25 7c6cee850709: Waiting 09:59:26 30c4a7721957: Verifying Checksum 09:59:26 30c4a7721957: Download complete 09:59:26 ea60b727a1ce: Verifying Checksum 09:59:26 ea60b727a1ce: Download complete 09:59:26 7c6cee850709: Download complete 09:59:26 aa9baa53a306: Download complete 09:59:26 2408cc74d12b: Verifying Checksum 09:59:26 2408cc74d12b: Download complete 09:59:26 8b309c321861: Download complete 09:59:26 2408cc74d12b: Pull complete 09:59:26 ea60b727a1ce: Pull complete 09:59:26 30c4a7721957: Pull complete 09:59:26 fa31f396de31: Verifying Checksum 09:59:26 fa31f396de31: Download complete 09:59:27 370296b7ddb6: Verifying Checksum 09:59:27 370296b7ddb6: Download complete 09:59:27 d8d76fd02f46: Verifying Checksum 09:59:27 d8d76fd02f46: Download complete 09:59:31 370296b7ddb6: Pull complete 09:59:31 7c6cee850709: Pull complete 09:59:31 aa9baa53a306: Pull complete 09:59:31 8b309c321861: Pull complete 09:59:33 d8d76fd02f46: Pull complete 09:59:34 fa31f396de31: Pull complete 09:59:34 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 09:59:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:59:34 ---> cef68f9685f8 09:59:34 Step 3/13 : ARG ADD_BUILD_TAGS="" 09:59:38 ---> Running in ac3dc431dd4d 09:59:38 Removing intermediate container ac3dc431dd4d 09:59:38 ---> c54a82eea689 09:59:38 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:59:38 ---> Running in 9d2a1464b575 09:59:38 Removing intermediate container 9d2a1464b575 09:59:38 ---> 76e77c7ff426 09:59:38 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 09:59:38 ---> Running in cd02a7af481c 09:59:38 Removing intermediate container cd02a7af481c 09:59:38 ---> 3abebb964d0e 09:59:38 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 09:59:38 ---> Running in 86adf789fd4f 09:59:38 Removing intermediate container 86adf789fd4f 09:59:38 ---> d5d6d5a9c8d0 09:59:38 Step 7/13 : WORKDIR /device-gpio 09:59:38 ---> Running in 9b062172cbdf 09:59:38 Removing intermediate container 9b062172cbdf 09:59:38 ---> 96356a3adbc2 09:59:38 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:59:38 ---> Running in 337c1930dcc5 09:59:39 Removing intermediate container 337c1930dcc5 09:59:39 ---> 6e44a67c4a66 09:59:39 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:59:39 ---> Running in 4caf5c447145 09:59:39 Still waiting to schedule task 09:59:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:59:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:59:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:59:40 (1/4) Installing openssh-keygen (9.0_p1-r2) 09:59:41 (2/4) Installing libedit (20210910.3.1-r0) 09:59:41 (3/4) Installing openssh-client-common (9.0_p1-r2) 09:59:41 (4/4) Installing openssh-client-default (9.0_p1-r2) 09:59:41 Executing busybox-1.35.0-r13.trigger 09:59:41 OK: 216 MiB in 55 packages 09:59:41 Removing intermediate container 4caf5c447145 09:59:41 ---> e8ee8989111c 09:59:41 Step 10/13 : COPY go.mod vendor* ./ 09:59:41 ---> c2036b3f6a43 09:59:41 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:59:41 ---> Running in 7d2b7669e226 10:00:08 Removing intermediate container 7d2b7669e226 10:00:08 ---> 75ab7d7e93db 10:00:08 Step 12/13 : COPY . . 10:00:08 ---> b234ff2f0951 10:00:08 Step 13/13 : RUN ${MAKE} 10:00:08 ---> Running in b79dc5e4392e 10:00:08 noop 10:00:08 Removing intermediate container b79dc5e4392e 10:00:08 ---> 24eab3853604 10:00:08 Successfully built 24eab3853604 10:00:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:08 + docker inspect -f . ci-base-image-x86_64 10:00:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:08 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:00:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 10:00:09 $ docker top adec0dfd15d91654215ac018106d6be2d677132f76a07c6d54fb7d960e2aaee1 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:09 + go version 10:00:09 go version go1.18.3 linux/amd64 [Pipeline] } 10:00:09 $ docker stop --time=1 adec0dfd15d91654215ac018106d6be2d677132f76a07c6d54fb7d960e2aaee1 10:00:10 $ docker rm -f adec0dfd15d91654215ac018106d6be2d677132f76a07c6d54fb7d960e2aaee1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:11 + docker inspect -f . ci-base-image-x86_64 10:00:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:00:11 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:00:11 $ 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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** ci-base-image-x86_64 cat 10:00:11 $ docker top 04099b177b6ff8a2d58b58a587635666ee8db217d9a8f121587edb48c7a010f4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:00:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 10:00:12 + make test 10:00:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:00:12 ? github.com/edgexfoundry/device-gpio [no test files] 10:00:22 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:00:22 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:00:29 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." 10:00:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:00:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:00:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:00:32 ./bin/test-attribution-txt.sh [Pipeline] echo 10:00:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:00:32 $ docker stop --time=1 04099b177b6ff8a2d58b58a587635666ee8db217d9a8f121587edb48c7a010f4 10:00:34 $ docker rm -f 04099b177b6ff8a2d58b58a587635666ee8db217d9a8f121587edb48c7a010f4 [Pipeline] // withDockerContainer [Pipeline] sh 10:00:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:00:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:00:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:00:35 + ls -al . 10:00:35 total 164 10:00:35 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 10:00 . 10:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 09:59 .. 10:00:35 -rw-rw-r-- 1 jenkins jenkins 120 Oct 10 09:59 .dockerignore 10:00:35 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:00 .git 10:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 09:59 .github 10:00:35 -rw-rw-r-- 1 jenkins jenkins 343 Oct 10 09:59 .gitignore 10:00:35 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 09:59 .golangci.yml 10:00:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 09:59 .semver 10:00:35 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 10 09:59 Attribution.txt 10:00:35 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 10 09:59 CHANGELOG.md 10:00:35 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 10 09:59 Dockerfile 10:00:35 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 09:59 GOVERNANCE.md 10:00:35 -rw-rw-r-- 1 jenkins jenkins 657 Oct 10 09:59 Jenkinsfile 10:00:35 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 09:59 LICENSE 10:00:35 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 10 09:59 Makefile 10:00:35 -rw-rw-r-- 1 jenkins jenkins 617 Oct 10 09:59 OWNERS.md 10:00:35 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 10 09:59 README.md 10:00:35 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 09:59 VERSION 10:00:35 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 09:59 bin 10:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 09:59 cmd 10:00:35 -rw-r--r-- 1 jenkins jenkins 10 Oct 10 10:00 coverage.out 10:00:35 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 10 09:59 go.mod 10:00:35 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 10 09:59 go.sum 10:00:35 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 09:59 internal 10:00:35 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 09:59 snap 10:00:35 -rw-rw-r-- 1 jenkins jenkins 209 Oct 10 09:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:00:36 + 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=569473615fb9befb8fb7c39be4b8603efd71ba81 --label arch=amd64 --label version=2.3.0-dev.13 . 10:00:36 Sending build context to Docker daemon 15.84MB 10:00:36 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:00:36 Step 2/27 : FROM ${BASE} AS builder 10:00:36 ---> 24eab3853604 10:00:36 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:00:36 ---> Running in 604e3b9d9b31 10:00:36 Removing intermediate container 604e3b9d9b31 10:00:36 ---> e94420d3aee2 10:00:36 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:00:36 ---> Running in 2555e452a200 10:00:36 Removing intermediate container 2555e452a200 10:00:36 ---> d29c8f725a2a 10:00:36 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:00:36 ---> Running in 38cdd7175087 10:00:36 Removing intermediate container 38cdd7175087 10:00:36 ---> 3bff853dcbb0 10:00:36 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:00:36 ---> Running in 97e9e455fa6a 10:00:36 Removing intermediate container 97e9e455fa6a 10:00:36 ---> 8121f655aa6a 10:00:36 Step 7/27 : WORKDIR /device-gpio 10:00:36 ---> Running in ce73c239f0d5 10:00:36 Removing intermediate container ce73c239f0d5 10:00:36 ---> 084cfe3b1c8d 10:00:36 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:00:36 ---> Running in 771fc830d232 10:00:37 Removing intermediate container 771fc830d232 10:00:37 ---> f2b86ee801c5 10:00:37 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:00:37 ---> Running in b96ee2327399 10:00:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:00:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:00:38 OK: 216 MiB in 55 packages 10:00:39 Removing intermediate container b96ee2327399 10:00:39 ---> 7e9bb45807ae 10:00:39 Step 10/27 : COPY go.mod vendor* ./ 10:00:39 ---> 67fa62774a9f 10:00:39 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:00:39 ---> Running in e89f5de01032 10:00:40 Removing intermediate container e89f5de01032 10:00:40 ---> 1d0c0358c10b 10:00:40 Step 12/27 : COPY . . 10:00:40 ---> 8e9e2785b047 10:00:40 Step 13/27 : RUN ${MAKE} 10:00:40 ---> Running in 9aae1a63e858 10:00:41 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 10:01:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7496 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 10:01:01 Running in /w/workspace/device-gpio/43 [Pipeline] { [Pipeline] checkout 10:01:01 The recommended git tool is: git 10:01:03 Removing intermediate container 9aae1a63e858 10:01:03 ---> 4bb00715deef 10:01:03 Step 14/27 : FROM alpine:3.16 10:01:03 3.16: Pulling from library/alpine 10:01:03 213ec9aee27d: Pulling fs layer 10:01:03 213ec9aee27d: Verifying Checksum 10:01:03 213ec9aee27d: Download complete 10:01:03 213ec9aee27d: Pull complete 10:01:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:01:03 Status: Downloaded newer image for alpine:3.16 10:01:03 ---> 9c6f07244728 10:01:03 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:01:03 ---> Running in 55ce4be5930c 10:01:03 Removing intermediate container 55ce4be5930c 10:01:03 ---> ce978915771a 10:01:03 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:01:03 ---> Running in 79f7ee668ce0 10:01:04 Removing intermediate container 79f7ee668ce0 10:01:04 ---> 5c12f51d6c09 10:01:04 Step 17/27 : RUN apk add --update --no-cache zeromq 10:01:04 ---> Running in d980a0a91287 10:01:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:01:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:01:05 (1/5) Installing libgcc (11.2.1_git20220219-r2) 10:01:06 (2/5) Installing libsodium (1.0.18-r0) 10:01:06 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 10:01:06 (4/5) Installing libzmq (4.3.4-r0) 10:01:06 (5/5) Installing zeromq (4.3.4-r0) 10:01:06 Executing busybox-1.35.0-r17.trigger 10:01:06 OK: 8 MiB in 19 packages 10:01:06 using credential edgex-jenkins-ssh 10:01:06 Cloning the remote Git repository 10:01:06 Removing intermediate container d980a0a91287 10:01:06 ---> be6697f14931 10:01:06 Step 18/27 : WORKDIR / 10:01:06 ---> Running in b0e1bf5c6a53 10:01:06 Removing intermediate container b0e1bf5c6a53 10:01:06 ---> 9959405c5966 10:01:06 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 10:01:07 ---> 859a5250bf3e 10:01:07 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 10:01:07 ---> 06399e9265e1 10:01:07 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 10:01:07 ---> 66d0b1e59f50 10:01:07 Step 22/27 : EXPOSE 59910 10:01:07 ---> Running in f1a43dda392e 10:01:07 Removing intermediate container f1a43dda392e 10:01:07 ---> d1318403a5b5 10:01:07 Step 23/27 : ENTRYPOINT ["/device-gpio"] 10:01:07 ---> Running in 4f67e416406b 10:01:07 Removing intermediate container 4f67e416406b 10:01:07 ---> 8bd85bbee4c5 10:01:07 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:01:07 ---> Running in 0caf748d2342 10:01:06 Cloning repository git@github.com:edgexfoundry/device-gpio.git 10:01:06 > git init /w/workspace/device-gpio/43 # timeout=10 10:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 10:01:07 > git --version # timeout=10 10:01:07 > git --version # 'git version 2.25.1' 10:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:01:07 Verifying host key using known hosts file 10:01:07 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 10:01:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:01:08 Removing intermediate container 0caf748d2342 10:01:08 ---> fe01030d91ae 10:01:08 Step 25/27 : LABEL arch=amd64 10:01:08 ---> Running in cdd558e67091 10:01:08 Removing intermediate container cdd558e67091 10:01:08 ---> 0030087905b4 10:01:08 Step 26/27 : LABEL git_sha=569473615fb9befb8fb7c39be4b8603efd71ba81 10:01:08 ---> Running in 8163f86d12dd 10:01:08 Removing intermediate container 8163f86d12dd 10:01:08 ---> 1c73227737e6 10:01:08 Step 27/27 : LABEL version=2.3.0-dev.13 10:01:08 ---> Running in a90f7b674c3e 10:01:08 Removing intermediate container a90f7b674c3e 10:01:08 ---> fb39a7588d44 10:01:08 [Warning] One or more build-args [ARCH] were not consumed 10:01:08 Successfully built fb39a7588d44 10:01:08 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:08 provisioning config files... 10:01:08 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10329469681550117434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:08 ---> docker-login.sh 10:01:08 nexus3.edgexfoundry.org:10001 10:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:08 Configure a credential helper to remove this warning. See 10:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:08 10:01:08 Login Succeeded 10:01:08 nexus3.edgexfoundry.org:10002 10:01:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:08 Configure a credential helper to remove this warning. See 10:01:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:08 10:01:08 Login Succeeded 10:01:08 nexus3.edgexfoundry.org:10003 10:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:09 Configure a credential helper to remove this warning. See 10:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:09 10:01:09 Login Succeeded 10:01:09 nexus3.edgexfoundry.org:10004 10:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:09 Configure a credential helper to remove this warning. See 10:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:09 10:01:09 Login Succeeded 10:01:09 docker.io 10:01:08 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 10:01:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:01:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:09 Configure a credential helper to remove this warning. See 10:01:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:09 10:01:09 Login Succeeded 10:01:09 ---> docker-login.sh ends [Pipeline] } 10:01:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:01:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:01:09 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 10:01:09 569473615fb9befb8fb7c39be4b8603efd71ba81 10:01:09 latest 10:01:09 2.3.0-dev.13 10:01:09 569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:01:09 main 10:01:09 ===================================================== 10:01:09 Avoid second fetch 10:01:09 Checking out Revision 569473615fb9befb8fb7c39be4b8603efd71ba81 (main) [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:10 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:10 Commit message: "Merge pull request #60 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.37" 10:01:10 + docker push nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81 10:01:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:01:10 1381fc403bb3: Preparing 10:01:10 ceac66350634: Preparing 10:01:10 ba80e0674ee7: Preparing 10:01:10 f0e8b5970070: Preparing 10:01:10 c3c4d7dcb2c5: Preparing 10:01:10 994393dc58e7: Preparing 10:01:10 ba80e0674ee7: Pushed 10:01:10 ceac66350634: Pushed 10:01:10 c3c4d7dcb2c5: Pushed 10:01:10 994393dc58e7: Layer already exists [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:10 f0e8b5970070: Pushed 10:01:09 > git config core.sparsecheckout # timeout=10 10:01:09 > git checkout -f 569473615fb9befb8fb7c39be4b8603efd71ba81 # timeout=10 10:01:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:01:11 % Total % Received % Xferd Average Speed Time Time Time Current 10:01:11 Dload Upload Total Spent Left Speed 10:01:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91318 0 --:--:-- --:--:-- --:--:-- 90661 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 10:01:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:01:11 + sudo tee /etc/docker/daemon.new 10:01:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:01:11 { 10:01:11 "registry-mirrors": [ 10:01:11 "https://nexus3.edgexfoundry.org:10001" 10:01:11 ], 10:01:11 "bip": "10.250.0.254/24", 10:01:11 "hosts": [ 10:01:11 "tcp://0.0.0.0:5555", 10:01:11 "unix:///var/run/docker.sock" 10:01:11 ], 10:01:11 "mtu": 1458, 10:01:11 "selinux-enabled": true, 10:01:11 "seccomp-profile": "/etc/docker/seccomp.json" 10:01:11 } [Pipeline] sh 10:01:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:01:12 + sudo service docker restart 10:01:13 1381fc403bb3: Pushed 10:01:13 569473615fb9befb8fb7c39be4b8603efd71ba81: digest: sha256:136df7f96b3c27bfc9f8da17f7e1f892b09985232bdfbe9312d1ab742680a6f8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:13 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:13 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 10:01:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:01:13 1381fc403bb3: Preparing 10:01:13 ceac66350634: Preparing 10:01:13 ba80e0674ee7: Preparing 10:01:13 f0e8b5970070: Preparing 10:01:13 c3c4d7dcb2c5: Preparing 10:01:13 994393dc58e7: Preparing 10:01:13 994393dc58e7: Waiting 10:01:13 ceac66350634: Layer already exists 10:01:13 ba80e0674ee7: Layer already exists 10:01:13 c3c4d7dcb2c5: Layer already exists 10:01:13 f0e8b5970070: Layer already exists 10:01:13 1381fc403bb3: Layer already exists 10:01:13 994393dc58e7: Layer already exists 10:01:13 latest: digest: sha256:136df7f96b3c27bfc9f8da17f7e1f892b09985232bdfbe9312d1ab742680a6f8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.13 10:01:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:01:14 1381fc403bb3: Preparing 10:01:14 ceac66350634: Preparing 10:01:14 ba80e0674ee7: Preparing 10:01:14 f0e8b5970070: Preparing 10:01:14 c3c4d7dcb2c5: Preparing 10:01:14 994393dc58e7: Preparing 10:01:14 994393dc58e7: Waiting 10:01:14 ceac66350634: Layer already exists 10:01:14 1381fc403bb3: Layer already exists 10:01:14 ba80e0674ee7: Layer already exists 10:01:14 c3c4d7dcb2c5: Layer already exists 10:01:14 f0e8b5970070: Layer already exists 10:01:14 994393dc58e7: Layer already exists 10:01:14 2.3.0-dev.13: digest: sha256:136df7f96b3c27bfc9f8da17f7e1f892b09985232bdfbe9312d1ab742680a6f8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:14 + docker push nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:01:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:01:14 1381fc403bb3: Preparing 10:01:14 ceac66350634: Preparing 10:01:14 ba80e0674ee7: Preparing 10:01:14 f0e8b5970070: Preparing 10:01:14 c3c4d7dcb2c5: Preparing 10:01:14 994393dc58e7: Preparing 10:01:14 c3c4d7dcb2c5: Layer already exists 10:01:14 f0e8b5970070: Layer already exists 10:01:14 1381fc403bb3: Layer already exists 10:01:14 ceac66350634: Layer already exists 10:01:14 ba80e0674ee7: Layer already exists 10:01:14 994393dc58e7: Layer already exists 10:01:14 569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13: digest: sha256:136df7f96b3c27bfc9f8da17f7e1f892b09985232bdfbe9312d1ab742680a6f8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:15 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:15 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 10:01:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 10:01:15 1381fc403bb3: Preparing 10:01:15 ceac66350634: Preparing 10:01:15 ba80e0674ee7: Preparing 10:01:15 f0e8b5970070: Preparing 10:01:15 c3c4d7dcb2c5: Preparing 10:01:15 994393dc58e7: Preparing 10:01:15 994393dc58e7: Waiting 10:01:15 c3c4d7dcb2c5: Layer already exists 10:01:15 f0e8b5970070: Layer already exists 10:01:15 ba80e0674ee7: Layer already exists 10:01:15 ceac66350634: Layer already exists 10:01:15 1381fc403bb3: Layer already exists 10:01:15 994393dc58e7: Layer already exists 10:01:15 main: digest: sha256:136df7f96b3c27bfc9f8da17f7e1f892b09985232bdfbe9312d1ab742680a6f8 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:01:15 ===================================================== [Pipeline] echo 10:01:15 taggedImages: 10:01:15 - nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81 10:01:15 - nexus3.edgexfoundry.org:10004/device-gpio:latest 10:01:15 - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.13 10:01:15 - nexus3.edgexfoundry.org:10004/device-gpio:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:01:15 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [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 10:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:16 10:01:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:16 latest: Pulling from edgex-lftools-log-publisher 10:01:16 5eb5b503b376: Pulling fs layer 10:01:16 5c69ac0246d0: Pulling fs layer 10:01:16 ec43610c2a17: Pulling fs layer 10:01:16 3a2ae6a8a46f: Pulling fs layer 10:01:16 33b1e0a273af: Pulling fs layer 10:01:16 5d3b04190fa2: Pulling fs layer 10:01:16 2f39f015ded8: Pulling fs layer 10:01:16 3a2ae6a8a46f: Waiting 10:01:16 33b1e0a273af: Waiting 10:01:16 5d3b04190fa2: Waiting 10:01:16 5c69ac0246d0: Verifying Checksum 10:01:16 5c69ac0246d0: Download complete 10:01:16 3a2ae6a8a46f: Verifying Checksum 10:01:16 3a2ae6a8a46f: Download complete 10:01:16 33b1e0a273af: Verifying Checksum 10:01:16 33b1e0a273af: Download complete 10:01:16 5d3b04190fa2: Verifying Checksum 10:01:16 5d3b04190fa2: Download complete 10:01:16 ec43610c2a17: Verifying Checksum 10:01:16 5eb5b503b376: Verifying Checksum 10:01:16 5eb5b503b376: Download complete 10:01:17 2f39f015ded8: Verifying Checksum 10:01:17 2f39f015ded8: Download complete 10:01:18 5eb5b503b376: Pull complete 10:01:18 5c69ac0246d0: Pull complete 10:01:18 ec43610c2a17: Pull complete 10:01:18 3a2ae6a8a46f: Pull complete 10:01:18 33b1e0a273af: Pull complete 10:01:18 5d3b04190fa2: Pull complete 10:01:23 2f39f015ded8: Pull complete 10:01:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:01:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:01:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:01:23 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:01:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:01:26 $ docker top e18f33de3c38525ceab433bb8d4b7f10da7dff4cf2643e520185f922ce905739 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:26 ---> job-cost.sh 10:01:26 lf-activate-venv: SKIPPING 10:01:26 INFO: No Stack... 10:01:27 INFO: Retrieving Pricing Info for: v3-standard-8 10:01:27 INFO: Archiving Costs [Pipeline] sh 10:01:27 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 10:01:27 + cut -d, -f6 [Pipeline] lock 10:01:27 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] 10:01:27 Resource [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] did not exist. Created. 10:01:27 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:01:28 + echo total: 0.2199999988079071 [Pipeline] stash 10:01:28 Stashed 1 file(s) [Pipeline] } 10:01:28 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 10:01:28 $ docker stop --time=1 e18f33de3c38525ceab433bb8d4b7f10da7dff4cf2643e520185f922ce905739 10:01:29 $ docker rm -f e18f33de3c38525ceab433bb8d4b7f10da7dff4cf2643e520185f922ce905739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:01:30 provisioning config files... 10:01:30 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/43@tmp/config16173997834776784432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:01:31 ---> docker-login.sh 10:01:31 nexus3.edgexfoundry.org:10001 10:01:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:31 Configure a credential helper to remove this warning. See 10:01:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:31 10:01:31 Login Succeeded 10:01:31 nexus3.edgexfoundry.org:10002 10:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:32 Configure a credential helper to remove this warning. See 10:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:32 10:01:32 Login Succeeded 10:01:32 nexus3.edgexfoundry.org:10003 10:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:32 Configure a credential helper to remove this warning. See 10:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:32 10:01:32 Login Succeeded 10:01:32 nexus3.edgexfoundry.org:10004 10:01:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:32 Configure a credential helper to remove this warning. See 10:01:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:32 10:01:32 Login Succeeded 10:01:32 docker.io 10:01:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:01:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:01:33 Configure a credential helper to remove this warning. See 10:01:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:01:33 10:01:33 Login Succeeded 10:01:33 ---> docker-login.sh ends [Pipeline] } 10:01:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:01:33 ========================================================= 10:01:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:01:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:33 + 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 . 10:01:34 Sending build context to Docker daemon 7.985MB 10:01:34 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 10:01:34 Step 2/13 : FROM ${BASE} AS builder 10:01:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:01:34 b3c136eddcbf: Pulling fs layer 10:01:34 c0a3192eca97: Pulling fs layer 10:01:34 a050256f5b6f: Pulling fs layer 10:01:34 656be50a0ddc: Pulling fs layer 10:01:34 2bbca73fdf42: Pulling fs layer 10:01:34 f607e4fc86c3: Pulling fs layer 10:01:34 4d572c569a2c: Pulling fs layer 10:01:34 fcf976331f73: Pulling fs layer 10:01:34 2bbca73fdf42: Waiting 10:01:34 f607e4fc86c3: Waiting 10:01:34 4d572c569a2c: Waiting 10:01:34 fcf976331f73: Waiting 10:01:34 656be50a0ddc: Waiting 10:01:34 a050256f5b6f: Verifying Checksum 10:01:34 a050256f5b6f: Download complete 10:01:34 c0a3192eca97: Verifying Checksum 10:01:34 c0a3192eca97: Download complete 10:01:34 2bbca73fdf42: Verifying Checksum 10:01:34 2bbca73fdf42: Download complete 10:01:34 f607e4fc86c3: Verifying Checksum 10:01:34 f607e4fc86c3: Download complete 10:01:34 b3c136eddcbf: Verifying Checksum 10:01:35 b3c136eddcbf: Pull complete 10:01:35 fcf976331f73: Verifying Checksum 10:01:35 fcf976331f73: Download complete 10:01:35 c0a3192eca97: Pull complete 10:01:36 a050256f5b6f: Pull complete 10:01:36 4d572c569a2c: Verifying Checksum 10:01:36 4d572c569a2c: Download complete 10:01:37 656be50a0ddc: Verifying Checksum 10:01:37 656be50a0ddc: Download complete 10:01:49 656be50a0ddc: Pull complete 10:01:49 2bbca73fdf42: Pull complete 10:01:49 f607e4fc86c3: Pull complete 10:01:56 4d572c569a2c: Pull complete 10:01:57 fcf976331f73: Pull complete 10:01:57 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 10:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:01:57 ---> 3970a7415f9e 10:01:57 Step 3/13 : ARG ADD_BUILD_TAGS="" 10:01:59 ---> Running in ac5f06e77f31 10:01:59 Removing intermediate container ac5f06e77f31 10:01:59 ---> 97d9cae486ad 10:01:59 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:01:59 ---> Running in ab843280f860 10:02:00 Removing intermediate container ab843280f860 10:02:00 ---> 498fb9675e2d 10:02:00 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:02:00 ---> Running in 68e037114275 10:02:00 Removing intermediate container 68e037114275 10:02:00 ---> 0475a117a05a 10:02:00 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 10:02:00 ---> Running in 8a79e1b35552 10:02:01 Removing intermediate container 8a79e1b35552 10:02:01 ---> a82a4e7328f7 10:02:01 Step 7/13 : WORKDIR /device-gpio 10:02:01 ---> Running in 82c8b5207c3f 10:02:01 Removing intermediate container 82c8b5207c3f 10:02:01 ---> 6695661f52b9 10:02:01 Step 8/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:02:01 ---> Running in 34064161f982 10:02:03 Removing intermediate container 34064161f982 10:02:03 ---> 87878c1098cb 10:02:03 Step 9/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:02:03 ---> Running in 060faf34d936 10:02:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:02:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:02:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 10:02:06 (2/4) Installing libedit (20210910.3.1-r0) 10:02:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 10:02:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 10:02:06 Executing busybox-1.35.0-r13.trigger 10:02:06 OK: 226 MiB in 55 packages 10:02:07 Removing intermediate container 060faf34d936 10:02:07 ---> 8c138f8d377e 10:02:07 Step 10/13 : COPY go.mod vendor* ./ 10:02:07 ---> 35917ab480f0 10:02:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:02:08 ---> Running in c46cd02531fb 10:03:04 Removing intermediate container c46cd02531fb 10:03:04 ---> 9e3c55bb9c9a 10:03:04 Step 12/13 : COPY . . 10:03:04 ---> b718ccb6a47b 10:03:04 Step 13/13 : RUN ${MAKE} 10:03:04 ---> Running in 2416a61f93d6 10:03:04 noop 10:03:04 Removing intermediate container 2416a61f93d6 10:03:04 ---> b9d651b66610 10:03:04 Successfully built b9d651b66610 10:03:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:04 + docker inspect -f . ci-base-image-arm64 10:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:05 prd-ubuntu20.04-docker-arm64-4c-16g-7496 does not seem to be running inside a container 10:03:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/43 -v /w/workspace/device-gpio/43:/w/workspace/device-gpio/43:rw,z -v /w/workspace/device-gpio/43@tmp:/w/workspace/device-gpio/43@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 ******** ci-base-image-arm64 cat 10:03:06 $ docker top 868b524a7e6709b47419203a602147ec71959aa936fa91262a1722d901af2b5c -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:07 + go version 10:03:07 go version go1.18.3 linux/arm64 [Pipeline] } 10:03:07 $ docker stop --time=1 868b524a7e6709b47419203a602147ec71959aa936fa91262a1722d901af2b5c 10:03:08 $ docker rm -f 868b524a7e6709b47419203a602147ec71959aa936fa91262a1722d901af2b5c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:09 + docker inspect -f . ci-base-image-arm64 10:03:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:03:09 prd-ubuntu20.04-docker-arm64-4c-16g-7496 does not seem to be running inside a container 10:03:09 $ 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/43 -v /w/workspace/device-gpio/43:/w/workspace/device-gpio/43:rw,z -v /w/workspace/device-gpio/43@tmp:/w/workspace/device-gpio/43@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 ******** ci-base-image-arm64 cat 10:03:11 $ docker top a6cdb6cb86ac1a67e4e4ca397a00ce703de6bce8a7c8e918adec8cc1dfad2f49 -eo pid,comm [Pipeline] { [Pipeline] sh 10:03:11 + git config --global --add safe.directory /w/workspace/device-gpio/43 [Pipeline] fileExists [Pipeline] sh 10:03:12 + make test 10:03:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:03:13 ? github.com/edgexfoundry/device-gpio [no test files] 10:04:50 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 10:04:50 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 10:04:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:04:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:05:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:05 ./bin/test-attribution-txt.sh [Pipeline] echo 10:05:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:05:05 $ docker stop --time=1 a6cdb6cb86ac1a67e4e4ca397a00ce703de6bce8a7c8e918adec8cc1dfad2f49 10:05:07 $ docker rm -f a6cdb6cb86ac1a67e4e4ca397a00ce703de6bce8a7c8e918adec8cc1dfad2f49 [Pipeline] // withDockerContainer [Pipeline] sh 10:05:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:08 Warning: overwriting stash ‘coverage-report’ 10:05:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:09 + ls -al . 10:05:09 total 160 10:05:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:03 . 10:05:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 .. 10:05:09 -rw-rw-r-- 1 jenkins jenkins 120 Oct 10 10:01 .dockerignore 10:05:09 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 10:01 .git 10:05:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 .github 10:05:09 -rw-rw-r-- 1 jenkins jenkins 343 Oct 10 10:01 .gitignore 10:05:09 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 10:01 .golangci.yml 10:05:09 -rw-rw-r-- 1 jenkins jenkins 9691 Oct 10 10:01 Attribution.txt 10:05:09 -rw-rw-r-- 1 jenkins jenkins 3081 Oct 10 10:01 CHANGELOG.md 10:05:09 -rw-rw-r-- 1 jenkins jenkins 1929 Oct 10 10:01 Dockerfile 10:05:09 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 10:01 GOVERNANCE.md 10:05:09 -rw-rw-r-- 1 jenkins jenkins 657 Oct 10 10:01 Jenkinsfile 10:05:09 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 10:01 LICENSE 10:05:09 -rw-rw-r-- 1 jenkins jenkins 2085 Oct 10 10:01 Makefile 10:05:09 -rw-rw-r-- 1 jenkins jenkins 617 Oct 10 10:01 OWNERS.md 10:05:09 -rw-rw-r-- 1 jenkins jenkins 11842 Oct 10 10:01 README.md 10:05:09 -rw-rw-r-- 1 jenkins jenkins 12 Oct 10 09:59 VERSION 10:05:09 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 10:01 bin 10:05:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 cmd 10:05:09 -rw-r--r-- 1 jenkins jenkins 10 Oct 10 10:03 coverage.out 10:05:09 -rw-rw-r-- 1 jenkins jenkins 3459 Oct 10 10:01 go.mod 10:05:09 -rw-rw-r-- 1 jenkins jenkins 38054 Oct 10 10:01 go.sum 10:05:09 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 10:01 internal 10:05:09 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 10:01 snap 10:05:09 -rw-rw-r-- 1 jenkins jenkins 209 Oct 10 10:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:09 + 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=569473615fb9befb8fb7c39be4b8603efd71ba81 --label arch=arm64 --label version=2.3.0-dev.13 . 10:05:10 Sending build context to Docker daemon 7.986MB 10:05:10 Step 1/27 : ARG BASE=golang:1.18-alpine3.16 10:05:10 Step 2/27 : FROM ${BASE} AS builder 10:05:10 ---> b9d651b66610 10:05:10 Step 3/27 : ARG ADD_BUILD_TAGS="" 10:05:10 ---> Running in 8cb2ea44807d 10:05:10 Removing intermediate container 8cb2ea44807d 10:05:10 ---> a8faa814517c 10:05:10 Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:05:10 ---> Running in ec72dcde12ae 10:05:10 Removing intermediate container ec72dcde12ae 10:05:10 ---> 649ab6c82282 10:05:10 Step 5/27 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:05:11 ---> Running in 62147b15ad14 10:05:11 Removing intermediate container 62147b15ad14 10:05:11 ---> f6362d042f64 10:05:11 Step 6/27 : ARG ALPINE_PKG_EXTRA="" 10:05:11 ---> Running in d3b87dfcf158 10:05:11 Removing intermediate container d3b87dfcf158 10:05:11 ---> b908cb21153b 10:05:11 Step 7/27 : WORKDIR /device-gpio 10:05:11 ---> Running in 0ae8f11ef337 10:05:12 Removing intermediate container 0ae8f11ef337 10:05:12 ---> 67f76cdc59f1 10:05:12 Step 8/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:05:12 ---> Running in d9f9e505ee03 10:05:13 Removing intermediate container d9f9e505ee03 10:05:13 ---> 2a894bf7eeee 10:05:13 Step 9/27 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:05:13 ---> Running in 361a05d9ded8 10:05:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:05:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:05:17 OK: 226 MiB in 55 packages 10:05:17 Removing intermediate container 361a05d9ded8 10:05:17 ---> e6262cf5c207 10:05:17 Step 10/27 : COPY go.mod vendor* ./ 10:05:18 ---> 657edbb0db7f 10:05:18 Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:18 ---> Running in 4d1d8fc172ca 10:05:21 Removing intermediate container 4d1d8fc172ca 10:05:21 ---> 7d126ceff1e1 10:05:21 Step 12/27 : COPY . . 10:05:22 ---> c7d87de71289 10:05:22 Step 13/27 : RUN ${MAKE} 10:05:22 ---> Running in 771a80be5013 10:05:23 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 10:08:29 Removing intermediate container 771a80be5013 10:08:29 ---> aa509ac40cb0 10:08:29 Step 14/27 : FROM alpine:3.16 10:08:29 3.16: Pulling from library/alpine 10:08:29 9b18e9b68314: Pulling fs layer 10:08:29 9b18e9b68314: Download complete 10:08:29 9b18e9b68314: Pull complete 10:08:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:08:29 Status: Downloaded newer image for alpine:3.16 10:08:29 ---> a6215f271958 10:08:29 Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 10:08:29 ---> Running in a46e796d29e4 10:08:29 Removing intermediate container a46e796d29e4 10:08:29 ---> 037582342840 10:08:29 Step 16/27 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:08:29 ---> Running in 968f9ccc6632 10:08:29 Removing intermediate container 968f9ccc6632 10:08:29 ---> cdbd204e956c 10:08:29 Step 17/27 : RUN apk add --update --no-cache zeromq 10:08:29 ---> Running in fd0229fb311c 10:08:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:08:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:08:29 (1/5) Installing libgcc (11.2.1_git20220219-r2) 10:08:29 (2/5) Installing libsodium (1.0.18-r0) 10:08:29 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 10:08:29 (4/5) Installing libzmq (4.3.4-r0) 10:08:29 (5/5) Installing zeromq (4.3.4-r0) 10:08:29 Executing busybox-1.35.0-r17.trigger 10:08:29 OK: 8 MiB in 19 packages 10:08:29 Removing intermediate container fd0229fb311c 10:08:29 ---> 7f288137de91 10:08:29 Step 18/27 : WORKDIR / 10:08:29 ---> Running in 836510bbc67f 10:08:29 Removing intermediate container 836510bbc67f 10:08:29 ---> 38edcd24da93 10:08:29 Step 19/27 : COPY --from=builder /device-gpio/Attribution.txt / 10:08:29 ---> c378be05dd82 10:08:29 Step 20/27 : COPY --from=builder /device-gpio/LICENSE / 10:08:29 ---> 19b20f0c2f10 10:08:29 Step 21/27 : COPY --from=builder /device-gpio/cmd/ / 10:08:29 ---> 6b41a89584b6 10:08:29 Step 22/27 : EXPOSE 59910 10:08:29 ---> Running in 8080308d221e 10:08:29 Removing intermediate container 8080308d221e 10:08:29 ---> 2e796250ddd3 10:08:29 Step 23/27 : ENTRYPOINT ["/device-gpio"] 10:08:29 ---> Running in ca9b4641ddd0 10:08:30 Removing intermediate container ca9b4641ddd0 10:08:30 ---> f78f42693364 10:08:30 Step 24/27 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:08:30 ---> Running in 8536dd3d9a99 10:08:30 Removing intermediate container 8536dd3d9a99 10:08:30 ---> b8e9142ccf88 10:08:30 Step 25/27 : LABEL arch=arm64 10:08:30 ---> Running in 1fd9ec9c1ef2 10:08:31 Removing intermediate container 1fd9ec9c1ef2 10:08:31 ---> 54e91bc20c7d 10:08:31 Step 26/27 : LABEL git_sha=569473615fb9befb8fb7c39be4b8603efd71ba81 10:08:31 ---> Running in e2f01cda800b 10:08:31 Removing intermediate container e2f01cda800b 10:08:31 ---> 0f9c61268e70 10:08:31 Step 27/27 : LABEL version=2.3.0-dev.13 10:08:31 ---> Running in 06e0cd27b6b6 10:08:31 Removing intermediate container 06e0cd27b6b6 10:08:31 ---> 0c4f08121250 10:08:31 [Warning] One or more build-args [ARCH] were not consumed 10:08:31 Successfully built 0c4f08121250 10:08:31 Successfully tagged device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:08:31 provisioning config files... 10:08:31 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/43@tmp/config15319734495621847027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:08:32 ---> docker-login.sh 10:08:32 nexus3.edgexfoundry.org:10001 10:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:08:32 Configure a credential helper to remove this warning. See 10:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:08:32 10:08:32 Login Succeeded 10:08:32 nexus3.edgexfoundry.org:10002 10:08:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:08:33 Configure a credential helper to remove this warning. See 10:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:08:33 10:08:33 Login Succeeded 10:08:33 nexus3.edgexfoundry.org:10003 10:08:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:08:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:08:33 Configure a credential helper to remove this warning. See 10:08:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:08:33 10:08:33 Login Succeeded 10:08:33 nexus3.edgexfoundry.org:10004 10:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:08:34 Configure a credential helper to remove this warning. See 10:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:08:34 10:08:34 Login Succeeded 10:08:34 docker.io 10:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:08:34 Configure a credential helper to remove this warning. See 10:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:08:34 10:08:34 Login Succeeded 10:08:34 ---> docker-login.sh ends [Pipeline] } 10:08:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:08:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:08:34 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 10:08:34 569473615fb9befb8fb7c39be4b8603efd71ba81 10:08:34 latest 10:08:34 2.3.0-dev.13 10:08:34 569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:08:34 main 10:08:34 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:35 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:35 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81 10:08:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:08:35 4b6d142b78c0: Preparing 10:08:35 4587d36468cb: Preparing 10:08:35 b285b3699c2e: Preparing 10:08:35 34aad8ad87d0: Preparing 10:08:35 73ec3a1b60b6: Preparing 10:08:35 5d3e392a13a0: Preparing 10:08:35 5d3e392a13a0: Waiting 10:08:35 b285b3699c2e: Pushed 10:08:35 4587d36468cb: Pushed 10:08:35 73ec3a1b60b6: Pushed 10:08:35 5d3e392a13a0: Layer already exists 10:08:36 34aad8ad87d0: Pushed 10:08:42 4b6d142b78c0: Pushed 10:08:42 569473615fb9befb8fb7c39be4b8603efd71ba81: digest: sha256:1ae6d74e4cc8d7a1a59d2f03578a1ad4fc956e5fb3a92dda5e6e7015f8001afb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:42 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 10:08:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:08:42 4b6d142b78c0: Preparing 10:08:42 4587d36468cb: Preparing 10:08:42 b285b3699c2e: Preparing 10:08:42 34aad8ad87d0: Preparing 10:08:42 73ec3a1b60b6: Preparing 10:08:42 5d3e392a13a0: Preparing 10:08:42 5d3e392a13a0: Waiting 10:08:42 b285b3699c2e: Layer already exists 10:08:42 73ec3a1b60b6: Layer already exists 10:08:42 4b6d142b78c0: Layer already exists 10:08:42 4587d36468cb: Layer already exists 10:08:42 34aad8ad87d0: Layer already exists 10:08:42 5d3e392a13a0: Layer already exists 10:08:43 latest: digest: sha256:1ae6d74e4cc8d7a1a59d2f03578a1ad4fc956e5fb3a92dda5e6e7015f8001afb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:43 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.13 10:08:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:08:43 4b6d142b78c0: Preparing 10:08:43 4587d36468cb: Preparing 10:08:43 b285b3699c2e: Preparing 10:08:43 34aad8ad87d0: Preparing 10:08:43 73ec3a1b60b6: Preparing 10:08:43 5d3e392a13a0: Preparing 10:08:43 5d3e392a13a0: Waiting 10:08:43 73ec3a1b60b6: Layer already exists 10:08:43 4587d36468cb: Layer already exists 10:08:43 b285b3699c2e: Layer already exists 10:08:43 4b6d142b78c0: Layer already exists 10:08:43 34aad8ad87d0: Layer already exists 10:08:43 5d3e392a13a0: Layer already exists 10:08:44 2.3.0-dev.13: digest: sha256:1ae6d74e4cc8d7a1a59d2f03578a1ad4fc956e5fb3a92dda5e6e7015f8001afb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:44 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:44 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:08:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:08:44 4b6d142b78c0: Preparing 10:08:44 4587d36468cb: Preparing 10:08:44 b285b3699c2e: Preparing 10:08:44 34aad8ad87d0: Preparing 10:08:44 73ec3a1b60b6: Preparing 10:08:44 5d3e392a13a0: Preparing 10:08:44 5d3e392a13a0: Waiting 10:08:44 34aad8ad87d0: Layer already exists 10:08:44 73ec3a1b60b6: Layer already exists 10:08:44 4587d36468cb: Layer already exists 10:08:44 b285b3699c2e: Layer already exists 10:08:44 4b6d142b78c0: Layer already exists 10:08:44 5d3e392a13a0: Layer already exists 10:08:45 569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13: digest: sha256:1ae6d74e4cc8d7a1a59d2f03578a1ad4fc956e5fb3a92dda5e6e7015f8001afb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:45 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 10:08:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 10:08:46 4b6d142b78c0: Preparing 10:08:46 4587d36468cb: Preparing 10:08:46 b285b3699c2e: Preparing 10:08:46 34aad8ad87d0: Preparing 10:08:46 73ec3a1b60b6: Preparing 10:08:46 5d3e392a13a0: Preparing 10:08:46 5d3e392a13a0: Waiting 10:08:46 34aad8ad87d0: Layer already exists 10:08:46 4587d36468cb: Layer already exists 10:08:46 b285b3699c2e: Layer already exists 10:08:46 4b6d142b78c0: Layer already exists 10:08:46 73ec3a1b60b6: Layer already exists 10:08:46 5d3e392a13a0: Layer already exists 10:08:46 main: digest: sha256:1ae6d74e4cc8d7a1a59d2f03578a1ad4fc956e5fb3a92dda5e6e7015f8001afb size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:08:46 ===================================================== [Pipeline] echo 10:08:46 taggedImages: 10:08:46 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81 10:08:46 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 10:08:46 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.13 10:08:46 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:569473615fb9befb8fb7c39be4b8603efd71ba81-2.3.0-dev.13 10:08:46 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:46 10:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:08:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:08:47 arm64: Pulling from edgex-lftools-log-publisher 10:08:47 8998bd30e6a1: Pulling fs layer 10:08:47 04944245beec: Pulling fs layer 10:08:47 699f458cf7ca: Pulling fs layer 10:08:47 765212b225bb: Pulling fs layer 10:08:47 f23df028b6ca: Pulling fs layer 10:08:47 765212b225bb: Waiting 10:08:47 d65c8cfc05b1: Pulling fs layer 10:08:47 2437ff75d9bd: Pulling fs layer 10:08:47 f23df028b6ca: Waiting 10:08:47 d65c8cfc05b1: Waiting 10:08:47 2437ff75d9bd: Waiting 10:08:47 04944245beec: Verifying Checksum 10:08:47 04944245beec: Download complete 10:08:47 765212b225bb: Verifying Checksum 10:08:47 765212b225bb: Download complete 10:08:47 f23df028b6ca: Verifying Checksum 10:08:47 f23df028b6ca: Download complete 10:08:47 d65c8cfc05b1: Verifying Checksum 10:08:47 d65c8cfc05b1: Download complete 10:08:47 699f458cf7ca: Verifying Checksum 10:08:47 699f458cf7ca: Download complete 10:08:47 8998bd30e6a1: Verifying Checksum 10:08:47 8998bd30e6a1: Download complete 10:08:50 2437ff75d9bd: Verifying Checksum 10:08:50 2437ff75d9bd: Download complete 10:08:52 8998bd30e6a1: Pull complete 10:08:52 04944245beec: Pull complete 10:08:54 699f458cf7ca: Pull complete 10:08:54 765212b225bb: Pull complete 10:08:55 f23df028b6ca: Pull complete 10:08:55 d65c8cfc05b1: Pull complete 10:09:10 2437ff75d9bd: Pull complete 10:09:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:09:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:09:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:10 prd-ubuntu20.04-docker-arm64-4c-16g-7496 does not seem to be running inside a container 10:09:10 $ 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/43 -v /w/workspace/device-gpio/43:/w/workspace/device-gpio/43:rw,z -v /w/workspace/device-gpio/43@tmp:/w/workspace/device-gpio/43@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:09:13 $ docker top a31224f81f8b60c40206de9b98fa9fab04e25c2846a6d86d3ec4649890df5d6a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:14 ---> job-cost.sh 10:09:14 lf-activate-venv: SKIPPING 10:09:14 INFO: No Stack... 10:09:15 INFO: Retrieving Pricing Info for: v3-standard-4 10:09:15 INFO: Archiving Costs [Pipeline] sh 10:09:16 + cut -d, -f6 10:09:16 + cat /w/workspace/device-gpio/43/archives/cost.csv [Pipeline] lock 10:09:16 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] 10:09:16 Resource [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] did not exist. Created. 10:09:16 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:17 /w/workspace/device-gpio/43@tmp/durable-3e1797cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:09:17 + echo total: 0.10999999940395355 [Pipeline] stash 10:09:17 Warning: overwriting stash ‘stack-cost’ 10:09:17 Stashed 1 file(s) [Pipeline] } 10:09:17 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-43-stack-cost] [Pipeline] // lock [Pipeline] } 10:09:17 $ docker stop --time=1 a31224f81f8b60c40206de9b98fa9fab04e25c2846a6d86d3ec4649890df5d6a 10:09:19 $ docker rm -f a31224f81f8b60c40206de9b98fa9fab04e25c2846a6d86d3ec4649890df5d6a [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 10:09:19 provisioning config files... 10:09:19 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13195291815628840276tmp [Pipeline] { [Pipeline] sh 10:09:20 + set +x 10:09:20 + curl -s https://codecov.io/bash 10:09:20 + bash -s -- 10:09:20 10:09:20 _____ _ 10:09:20 / ____| | | 10:09:20 | | ___ __| | ___ ___ _____ __ 10:09:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:09:20 | |___| (_) | (_| | __/ (_| (_) \ V / 10:09:20 \_____\___/ \__,_|\___|\___\___/ \_/ 10:09:20 Bash-1.0.6 10:09:20 10:09:20 10:09:20 ==> git version 2.25.1 found 10:09:20 ==> 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 10:09:20 Release-Date: 2020-01-08 10:09:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:09:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:09:20 ==> Jenkins CI detected. 10:09:20 current dir:  /w/workspace/edgexfoundry_device-gpio_main 10:09:20 project root: . 10:09:20 --> token set from env 10:09:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:09:20 ==> Running gcov in . (disable via -X gcov) 10:09:20 ==> Python coveragepy not found 10:09:20 ==> Searching for coverage reports in: 10:09:20 + . 10:09:20 -> Found 1 reports 10:09:20 ==> Detecting git/mercurial file structure 10:09:20 ==> Reading reports 10:09:20 + ./coverage.out bytes=10 10:09:20 ==> Appending adjustments 10:09:20 https://docs.codecov.io/docs/fixing-reports 10:09:20 + Found adjustments 10:09:20 ==> Gzipping contents 10:09:20 4.0K /tmp/codecov.A8VVdR.gz 10:09:20 ==> Uploading reports 10:09:20 url: https://codecov.io 10:09:20 query: branch=main&commit=569473615fb9befb8fb7c39be4b8603efd71ba81&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 10:09:20 -> Pinging Codecov 10:09:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=569473615fb9befb8fb7c39be4b8603efd71ba81&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 10:09:20 -> Uploading to 10:09:20 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/3EC07B1A8CA8AF9BCAA0BB9F0134797F/569473615fb9befb8fb7c39be4b8603efd71ba81/a2c04485-c1e5-428a-918d-110c130cf085.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T100920Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1893856fc6f9549d2db901ca721ce98f6c4a90168c6e16f08069bc20400f2087 10:09:20 % Total % Received % Xferd Average Speed Time Time Time Current 10:09:20 Dload Upload Total Spent Left Speed 10:09:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 781 0 0 100 781 0 3471 --:--:-- --:--:-- --:--:-- 3471 10:09:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] } 10:09:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:09:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:09:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:09:21 10:09:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:09:21 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:09:21 df9b9388f04a: Pulling fs layer 10:09:21 52dc419b0ee2: Pulling fs layer 10:09:21 25bc292e5bac: Pulling fs layer 10:09:21 114826534d7a: Pulling fs layer 10:09:21 4657fd5d0bcf: Pulling fs layer 10:09:21 6ad1cebc031e: Pulling fs layer 10:09:21 8a3aa393b2d8: Pulling fs layer 10:09:21 4657fd5d0bcf: Waiting 10:09:21 6ad1cebc031e: Waiting 10:09:21 114826534d7a: Waiting 10:09:21 8a3aa393b2d8: Waiting 10:09:21 25bc292e5bac: Download complete 10:09:21 52dc419b0ee2: Verifying Checksum 10:09:21 52dc419b0ee2: Download complete 10:09:21 4657fd5d0bcf: Verifying Checksum 10:09:21 4657fd5d0bcf: Download complete 10:09:21 df9b9388f04a: Verifying Checksum 10:09:21 df9b9388f04a: Pull complete 10:09:21 6ad1cebc031e: Verifying Checksum 10:09:21 6ad1cebc031e: Download complete 10:09:22 52dc419b0ee2: Pull complete 10:09:22 25bc292e5bac: Pull complete 10:09:22 114826534d7a: Download complete 10:09:22 8a3aa393b2d8: Verifying Checksum 10:09:22 8a3aa393b2d8: Download complete 10:09:26 114826534d7a: Pull complete 10:09:26 4657fd5d0bcf: Pull complete 10:09:26 6ad1cebc031e: Pull complete 10:09:29 8a3aa393b2d8: Pull complete 10:09:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:09:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:09:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:29 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:09:33 $ docker top 6a5fb362c9db285ec39627ad036902bb68fa3c65fd2a1ebe8306d98750e1adac -eo pid,comm [Pipeline] { [Pipeline] echo 10:09:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 10:09:33 + set -o pipefail 10:09:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 10:09:38 10:09:38 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 10:09:38 10:09:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/4bed8904-d698-47fb-949f-90e6db727e89 10:09:38 10:09:38 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 10:09:38 10:09:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:09:38 10:09:38 10:09:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:09:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:09:38 More details here: https://snyk.co/ue1NS [Pipeline] } 10:09:38 $ docker stop --time=1 6a5fb362c9db285ec39627ad036902bb68fa3c65fd2a1ebe8306d98750e1adac 10:09:41 $ docker rm -f 6a5fb362c9db285ec39627ad036902bb68fa3c65fd2a1ebe8306d98750e1adac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:42 + git log --format=format:%s -1 569473615fb9befb8fb7c39be4b8603efd71ba81 [Pipeline] sh 10:09:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:09:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:43 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:09:43 $ docker top 0db26ba7001eb25f98739f5670ce0206d863d1e46cdff4eb1c3991ebf6b73409 -eo pid,comm 10:09:43 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). 10:09:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:09:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:43 [ssh-agent] Looking for ssh-agent implementation... 10:09:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:44 $ docker exec 0db26ba7001eb25f98739f5670ce0206d863d1e46cdff4eb1c3991ebf6b73409 ssh-agent 10:09:44 SSH_AUTH_SOCK=/tmp/ssh-JmJzWDtlGC9L/agent.32 10:09:44 SSH_AGENT_PID=38 10:09:44 Running ssh-add (command line suppressed) 10:09:44 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17384598941337391794.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17384598941337391794.key) 10:09:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:44 + git semver tag 10:09:44 2022-10-10 10:09:44,829 [run_tag] DEBUG tag force:False 10:09:44 2022-10-10 10:09:44,829 [check_head_tag] DEBUG check head tag 10:09:44 2022-10-10 10:09:44,829 [execute] INFO git cat-file --batch-check 10:09:44 2022-10-10 10:09:44,829 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 10:09:44 2022-10-10 10:09:44,834 [execute] INFO git cat-file --batch 10:09:44 2022-10-10 10:09:44,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 10:09:44 2022-10-10 10:09:44,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:09:44 2022-10-10 10:09:44,844 [execute] INFO git tag -a v2.3.0-dev.13 -m v2.3.0-dev.13 10:09:44 2022-10-10 10:09:44,845 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.13', '-m', 'v2.3.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 10:09:44 2022-10-10 10:09:44,850 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:09:44 2.3.0-dev.13 [Pipeline] } 10:09:44 $ docker exec --env ******** --env ******** 0db26ba7001eb25f98739f5670ce0206d863d1e46cdff4eb1c3991ebf6b73409 ssh-agent -k 10:09:45 unset SSH_AUTH_SOCK; 10:09:45 unset SSH_AGENT_PID; 10:09:45 echo Agent pid 38 killed; 10:09:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:09:45 + git semver [Pipeline] } 10:09:45 $ docker stop --time=1 0db26ba7001eb25f98739f5670ce0206d863d1e46cdff4eb1c3991ebf6b73409 10:09:46 $ docker rm -f 0db26ba7001eb25f98739f5670ce0206d863d1e46cdff4eb1c3991ebf6b73409 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:09:47 10:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:09:47 0.23.1-centos7: Pulling from edgex-lftools 10:09:47 ab5ef0e58194: Pulling fs layer 10:09:47 9712f1f96733: Pulling fs layer 10:09:47 63f879dbbcfc: Pulling fs layer 10:09:47 0d9ebad4ef96: Pulling fs layer 10:09:47 e9a5061849ea: Pulling fs layer 10:09:47 d747dcd14b5f: Pulling fs layer 10:09:47 2de7ff778b66: Pulling fs layer 10:09:47 2de7ff778b66: Waiting 10:09:47 e9a5061849ea: Waiting 10:09:47 d747dcd14b5f: Waiting 10:09:47 9712f1f96733: Verifying Checksum 10:09:47 9712f1f96733: Download complete 10:09:47 63f879dbbcfc: Verifying Checksum 10:09:47 63f879dbbcfc: Download complete 10:09:48 e9a5061849ea: Verifying Checksum 10:09:48 e9a5061849ea: Download complete 10:09:48 d747dcd14b5f: Download complete 10:09:48 0d9ebad4ef96: Verifying Checksum 10:09:48 0d9ebad4ef96: Download complete 10:09:48 2de7ff778b66: Verifying Checksum 10:09:48 2de7ff778b66: Download complete 10:09:48 ab5ef0e58194: Verifying Checksum 10:09:48 ab5ef0e58194: Download complete 10:09:51 ab5ef0e58194: Pull complete 10:09:51 9712f1f96733: Pull complete 10:09:51 63f879dbbcfc: Pull complete 10:09:56 0d9ebad4ef96: Pull complete 10:09:56 e9a5061849ea: Pull complete 10:09:56 d747dcd14b5f: Pull complete 10:09:57 2de7ff778b66: Pull complete 10:09:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:09:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:09:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:57 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:09:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:10:02 $ docker top a7f36edaf7b03474bcfc049c6536f93eced42fd59a57e56b6c9a10b5800f65b8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:10:02 provisioning config files... 10:10:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2511024198186883428tmp 10:10:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11143059539773328854tmp 10:10:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2249512030343458305tmp [Pipeline] { [Pipeline] echo 10:10:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:10:02 ---> sigul-configuration.sh 10:10:02 gpg: directory `/root/.gnupg' created 10:10:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:10:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:10:02 gpg: keyring `/root/.gnupg/secring.gpg' created 10:10:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:10:02 gpg: CAST5 encrypted data 10:10:02 gpg: encrypted with 1 passphrase 10:10:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:10:02 + mkdir /home/jenkins 10:10:02 + mkdir /home/jenkins/sigul [Pipeline] sh 10:10:03 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 10:10:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:10:03 ---> sigul-install.sh 10:10:03 Sigul already installed; skipping installation. [Pipeline] sh 10:10:03 + git tag --list 10:10:03 v1.0.0 10:10:03 v2.1.0 10:10:03 v2.1.1 10:10:03 v2.1.1-dev.1 10:10:03 v2.2.0 10:10:03 v2.2.1-dev.1 10:10:03 v2.2.1-dev.2 10:10:03 v2.2.1-dev.3 10:10:03 v2.2.1-dev.4 10:10:03 v2.3.0-dev.10 10:10:03 v2.3.0-dev.11 10:10:03 v2.3.0-dev.12 10:10:03 v2.3.0-dev.13 10:10:03 v2.3.0-dev.4 10:10:03 v2.3.0-dev.5 10:10:03 v2.3.0-dev.6 10:10:03 v2.3.0-dev.7 10:10:03 v2.3.0-dev.8 10:10:03 v2.3.0-dev.9 [Pipeline] sh 10:10:03 + lftools sign git-tag v2.3.0-dev.13 10:10:04 Signing Git tag with Sigul... 10:10:04 Signing v2.3.0-dev.13 [Pipeline] echo 10:10:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:10:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:10:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:10:05 $ docker stop --time=1 a7f36edaf7b03474bcfc049c6536f93eced42fd59a57e56b6c9a10b5800f65b8 10:10:06 $ docker rm -f a7f36edaf7b03474bcfc049c6536f93eced42fd59a57e56b6c9a10b5800f65b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:10:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:07 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:10:07 $ docker top bcf9862b4a797e8d0bdce389b018ab69de5cd661689d1702d0432456910bcd6b -eo pid,comm 10:10:07 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). 10:10:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:07 [ssh-agent] Looking for ssh-agent implementation... 10:10:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:07 $ docker exec bcf9862b4a797e8d0bdce389b018ab69de5cd661689d1702d0432456910bcd6b ssh-agent 10:10:07 SSH_AUTH_SOCK=/tmp/ssh-wLHWwQ9hmmQW/agent.31 10:10:07 SSH_AGENT_PID=37 10:10:07 Running ssh-add (command line suppressed) 10:10:07 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9522787735512382700.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9522787735512382700.key) 10:10:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:08 + git semver bump pre 10:10:08 2022-10-10 10:10:08,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:10:08 2022-10-10 10:10:08,349 [bump_version] DEBUG bumping version:2.3.0-dev.13 on axis:pre with prefix:dev 10:10:08 2022-10-10 10:10:08,349 [bump_version] DEBUG bumped version:2.3.0-dev.14 10:10:08 2022-10-10 10:10:08,349 [write_version] DEBUG write version:2.3.0-dev.14 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 10:10:08 2022-10-10 10:10:08,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:10:08 2022-10-10 10:10:08,350 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:10:08 2022-10-10 10:10:08,351 [execute] INFO git cat-file --batch-check 10:10:08 2022-10-10 10:10:08,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 10:10:08 2022-10-10 10:10:08,356 [execute] INFO git cat-file --batch 10:10:08 2022-10-10 10:10:08,356 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 10:10:08 2022-10-10 10:10:08,362 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:10:08 2.3.0-dev.14 [Pipeline] } 10:10:08 $ docker exec --env ******** --env ******** bcf9862b4a797e8d0bdce389b018ab69de5cd661689d1702d0432456910bcd6b ssh-agent -k 10:10:08 unset SSH_AUTH_SOCK; 10:10:08 unset SSH_AGENT_PID; 10:10:08 echo Agent pid 37 killed; 10:10:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:08 + git semver [Pipeline] } 10:10:09 $ docker stop --time=1 bcf9862b4a797e8d0bdce389b018ab69de5cd661689d1702d0432456910bcd6b 10:10:10 $ docker rm -f bcf9862b4a797e8d0bdce389b018ab69de5cd661689d1702d0432456910bcd6b [Pipeline] // withDockerContainer [Pipeline] sh 10:10:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:10:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:10:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:11 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:10:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:10:11 $ docker top 645a9339a6a28b76d4ac101a1adfe8b665c8dd1f95662053ac3f629c17f4a222 -eo pid,comm 10:10:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:10:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:10:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:10:11 [ssh-agent] Looking for ssh-agent implementation... 10:10:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:10:11 $ docker exec 645a9339a6a28b76d4ac101a1adfe8b665c8dd1f95662053ac3f629c17f4a222 ssh-agent 10:10:11 SSH_AUTH_SOCK=/tmp/ssh-EZm59TUSQ77M/agent.31 10:10:11 SSH_AGENT_PID=37 10:10:11 Running ssh-add (command line suppressed) 10:10:11 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7357689418832480581.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7357689418832480581.key) 10:10:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:10:12 + git semver push 10:10:12 2022-10-10 10:10:12,485 [run_push] DEBUG push 10:10:12 2022-10-10 10:10:12,486 [execute] INFO git cat-file --batch-check 10:10:12 2022-10-10 10:10:12,487 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 10:10:12 2022-10-10 10:10:12,490 [execute] INFO git rev-list 29fdee27e688e0e602925106e3373f24e7bf2e14 -- 10:10:12 2022-10-10 10:10:12,491 [execute] DEBUG Popen(['git', 'rev-list', '29fdee27e688e0e602925106e3373f24e7bf2e14', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 10:10:12 2022-10-10 10:10:12,497 [execute] INFO git fetch -v origin 10:10:12 2022-10-10 10:10:12,498 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 10:10:13 2022-10-10 10:10:13,065 [run_push] DEBUG no remote changes detected 10:10:13 2022-10-10 10:10:13,066 [execute] INFO git push origin semver 10:10:13 2022-10-10 10:10:13,066 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 10:10:14 2022-10-10 10:10:13,927 [run_push] DEBUG push all version tags 10:10:14 2022-10-10 10:10:13,928 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:10:14 2022-10-10 10:10:13,929 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 10:10:14 2022-10-10 10:10:14,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 10:10:14 2.3.0-dev.14 [Pipeline] } 10:10:14 $ docker exec --env ******** --env ******** 645a9339a6a28b76d4ac101a1adfe8b665c8dd1f95662053ac3f629c17f4a222 ssh-agent -k 10:10:15 unset SSH_AUTH_SOCK; 10:10:15 unset SSH_AGENT_PID; 10:10:15 echo Agent pid 37 killed; 10:10:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:10:15 + git semver [Pipeline] } 10:10:15 $ docker stop --time=1 645a9339a6a28b76d4ac101a1adfe8b665c8dd1f95662053ac3f629c17f4a222 10:10:16 $ docker rm -f 645a9339a6a28b76d4ac101a1adfe8b665c8dd1f95662053ac3f629c17f4a222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 10:10:17 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 10:10:17 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 10:10:17 total 16 10:10:17 drwxr-xr-x 3 root root 4096 Oct 10 10:01 . 10:10:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:10 .. 10:10:17 drwxr-xr-x 2 root root 4096 Oct 10 10:01 cost 10:10:17 -rw-r--r-- 1 root root 82 Oct 10 10:01 cost.csv 10:10:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 10:10:17 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 10:10:17 total 16 10:10:17 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 10:01 . 10:10:17 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 10:10 .. 10:10:17 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 10:01 cost 10:10:17 -rw-r--r-- 1 jenkins jenkins 82 Oct 10 10:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:10:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:10:18 ---> package-listing.sh 10:10:18 ++ tr '[:upper:]' '[:lower:]' 10:10:18 ++ facter osfamily 10:10:19 + OS_FAMILY=debian 10:10:19 + workspace=/w/workspace/edgexfoundry_device-gpio_main 10:10:19 + START_PACKAGES=/tmp/packages_start.txt 10:10:19 + END_PACKAGES=/tmp/packages_end.txt 10:10:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:10:19 + PACKAGES=/tmp/packages_start.txt 10:10:19 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 10:10:19 + PACKAGES=/tmp/packages_end.txt 10:10:19 + case "${OS_FAMILY}" in 10:10:19 + dpkg -l 10:10:19 + grep '^ii' 10:10:19 + '[' -f /tmp/packages_start.txt ']' 10:10:19 + '[' -f /tmp/packages_end.txt ']' 10:10:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:10:19 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 10:10:19 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 10:10:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 10:10:19 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_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:10:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:20 prd-ubuntu20.04-docker-8c-8g-7494 does not seem to be running inside a container 10:10:20 $ 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_main/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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:10:20 $ docker top 5de40903c1e9be3b5970fdfd369774e2daa851c98263759decab66c48c0600e3 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:20 + touch /tmp/pre-build-complete [Pipeline] sh 10:10:20 + mkdir -p /var/log/sysstat [Pipeline] sh 10:10:21 + ls /var/log/sa-host 10:10:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:21 provisioning config files... 10:10:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1517017525269075573tmp [Pipeline] { [Pipeline] echo 10:10:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:10:21 ---> create-netrc.sh [Pipeline] } 10:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:10:22 ---> python-tools-install.sh [Pipeline] echo 10:10:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:10:22 ---> sudo-logs.sh 10:10:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:10:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:10:22 ---> job-cost.sh 10:10:22 lf-activate-venv: SKIPPING 10:10:22 DEBUG: total: 0.2199999988079071 10:10:22 INFO: Retrieving Stack Cost... 10:10:23 INFO: Retrieving Pricing Info for: v3-standard-8 10:10:23 INFO: Archiving Costs [Pipeline] echo 10:10:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:10:24 ---> logs-deploy.sh 10:10:24 lf-activate-venv: SKIPPING 10:10:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/43 10:10:24 INFO: archiving workspace using pattern(s): 10:10:25 Archives upload complete. 10:10:25 INFO: archiving logs to Nexus