Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1094f563edbbc5735ff7ad494c47030b36b4872c 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-ssh3891145190123755244.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh11568992095507989257.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh6486587610638569306.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh3459145535830983490.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-ssh6693145418969412366.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22744 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 > 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 1094f563edbbc5735ff7ad494c47030b36b4872c (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 > git config core.sparsecheckout # timeout=10 > git checkout -f 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 Commit message: "Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk 53cbcaed608f18f0e84aa4b8dede53d9bc388d5f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:24:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:24:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:24:46 ========================================================= 01:24:46 EdgeX Global Pipelines Version Info 01:24:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:24:47 ------------------- 01:24:47 stable info: 01:24:47 ------------------- 01:24:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:47 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:24:47 Message: update stable to v1.0.238 01:24:47 ------------------- 01:24:47 experimental info: 01:24:47 ------------------- 01:24:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:24:47 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:24:47 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:24:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1094f56 [Pipeline] echo 01:24:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:24:48 provisioning config files... 01:24:48 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4910114859798599505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:48 ---> docker-login.sh 01:24:48 nexus3.edgexfoundry.org:10001 01:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:49 Configure a credential helper to remove this warning. See 01:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:49 01:24:49 Login Succeeded 01:24:49 nexus3.edgexfoundry.org:10002 01:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:49 Configure a credential helper to remove this warning. See 01:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:49 01:24:49 Login Succeeded 01:24:49 nexus3.edgexfoundry.org:10003 01:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:49 Configure a credential helper to remove this warning. See 01:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:49 01:24:49 Login Succeeded 01:24:49 nexus3.edgexfoundry.org:10004 01:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:49 Configure a credential helper to remove this warning. See 01:24:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:49 01:24:49 Login Succeeded 01:24:49 docker.io 01:24:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:24:50 Configure a credential helper to remove this warning. See 01:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:24:50 01:24:50 Login Succeeded 01:24:50 ---> docker-login.sh ends [Pipeline] } 01:24:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:50 + git rev-list -1 --merges 1094f563edbbc5735ff7ad494c47030b36b4872c~1..1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] echo 01:24:50 -----------> git rev-list -1 --merges 1094f563edbbc5735ff7ad494c47030b36b4872c~1..1094f563edbbc5735ff7ad494c47030b36b4872c 1094f563edbbc5735ff7ad494c47030b36b4872c 01:24:50 1094f563edbbc5735ff7ad494c47030b36b4872c [false] [Pipeline] sh 01:24:50 + git log --format=format:%s -1 1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] echo 01:24:50 ========================================================= 01:24:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:51 + git log --format=format:%s -1 1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] echo 01:24:51 [semverPrep] GIT_COMMIT: 1094f563edbbc5735ff7ad494c47030b36b4872c, Commit Message: Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo 01:24:51 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:51 + grep -v github /etc/ssh/ssh_known_hosts 01:24:51 + [ -e /tmp/ssh_known_hosts ] 01:24:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:51 + sudo tee -a /etc/ssh/ssh_known_hosts 01:24:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:51 01:24:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:52 0.1.4: Pulling from edgex-devops/py-git-semver 01:24:52 b85a868b505f: Pulling fs layer 01:24:52 e2be974225ed: Pulling fs layer 01:24:52 339a4e72a1f5: Pulling fs layer 01:24:52 988bab9f4d93: Pulling fs layer 01:24:52 1469e6f7b9e6: Pulling fs layer 01:24:52 eaf3925da568: Pulling fs layer 01:24:52 bab4dde63d76: Pulling fs layer 01:24:52 bde34c3a00c8: Pulling fs layer 01:24:52 b352a97aabf1: Pulling fs layer 01:24:52 4872d77fe225: Pulling fs layer 01:24:52 5851b861e8e6: Pulling fs layer 01:24:52 988bab9f4d93: Waiting 01:24:52 1469e6f7b9e6: Waiting 01:24:52 eaf3925da568: Waiting 01:24:52 bde34c3a00c8: Waiting 01:24:52 bab4dde63d76: Waiting 01:24:52 b352a97aabf1: Waiting 01:24:52 4872d77fe225: Waiting 01:24:52 5851b861e8e6: Waiting 01:24:52 e2be974225ed: Download complete 01:24:52 988bab9f4d93: Download complete 01:24:52 1469e6f7b9e6: Verifying Checksum 01:24:52 1469e6f7b9e6: Download complete 01:24:52 eaf3925da568: Verifying Checksum 01:24:52 eaf3925da568: Download complete 01:24:52 339a4e72a1f5: Verifying Checksum 01:24:52 339a4e72a1f5: Download complete 01:24:52 bde34c3a00c8: Download complete 01:24:52 b352a97aabf1: Download complete 01:24:52 4872d77fe225: Verifying Checksum 01:24:52 4872d77fe225: Download complete 01:24:52 5851b861e8e6: Verifying Checksum 01:24:52 5851b861e8e6: Download complete 01:24:52 b85a868b505f: Verifying Checksum 01:24:52 b85a868b505f: Download complete 01:24:52 bab4dde63d76: Verifying Checksum 01:24:52 bab4dde63d76: Download complete 01:24:54 b85a868b505f: Pull complete 01:24:54 e2be974225ed: Pull complete 01:24:54 339a4e72a1f5: Pull complete 01:24:54 988bab9f4d93: Pull complete 01:24:55 1469e6f7b9e6: Pull complete 01:24:55 eaf3925da568: Pull complete 01:24:57 bab4dde63d76: Pull complete 01:24:57 bde34c3a00c8: Pull complete 01:24:57 b352a97aabf1: Pull complete 01:24:57 4872d77fe225: Pull complete 01:24:57 5851b861e8e6: Pull complete 01:24:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:57 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:24:57 $ 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 01:24:59 $ docker top b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 -eo pid,comm 01:24:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:24:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:59 [ssh-agent] Looking for ssh-agent implementation... 01:24:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:59 $ docker exec b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 ssh-agent 01:24:59 SSH_AUTH_SOCK=/tmp/ssh-OQpuQkc6IL6Y/agent.33 01:24:59 SSH_AGENT_PID=39 01:24:59 Running ssh-add (command line suppressed) 01:24:59 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3426315392715387921.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3426315392715387921.key) 01:24:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:00 + git tag --points-at HEAD [Pipeline] } 01:25:00 $ docker exec --env ******** --env ******** b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 ssh-agent -k 01:25:00 unset SSH_AUTH_SOCK; 01:25:00 unset SSH_AGENT_PID; 01:25:00 echo Agent pid 39 killed; 01:25:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:25:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:25:00 [ssh-agent] Looking for ssh-agent implementation... 01:25:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:25:00 $ docker exec b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 ssh-agent 01:25:00 SSH_AUTH_SOCK=/tmp/ssh-B9eDxKtLsr2d/agent.71 01:25:00 SSH_AGENT_PID=79 01:25:00 Running ssh-add (command line suppressed) 01:25:00 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4113054196049415095.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4113054196049415095.key) 01:25:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:25:01 + git semver init 01:25:01 2022-08-15 01:25:01,293 [run_init] DEBUG init version:0.0.0 force:False 01:25:01 2022-08-15 01:25:01,293 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 01:25:01 2022-08-15 01:25:01,294 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 01:25:01 2022-08-15 01:25:01,294 [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) 01:25:02 2022-08-15 01:25:02,128 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 01:25:02 2022-08-15 01:25:02,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 01:25:02 2022-08-15 01:25:02,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:25:02 2022-08-15 01:25:02,129 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:25:02 2.3.0-dev.7 [Pipeline] } 01:25:02 $ docker exec --env ******** --env ******** b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 ssh-agent -k 01:25:02 unset SSH_AUTH_SOCK; 01:25:02 unset SSH_AGENT_PID; 01:25:02 echo Agent pid 79 killed; 01:25:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:25:02 + git semver [Pipeline] } 01:25:03 $ docker stop --time=1 b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 01:25:04 $ docker rm -f b125fdc7bd9bffa7e27a87dcb1acf366c95c642c6c2599be94b6287d06ad9c50 [Pipeline] // withDockerContainer [Pipeline] sh 01:25:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:25:04 Stashed 1 file(s) [Pipeline] echo 01:25:04 [edgeXSemver]: initialized semver on version 2.3.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:25:05 provisioning config files... 01:25:05 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4934648052160230516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:25:05 ---> docker-login.sh 01:25:05 nexus3.edgexfoundry.org:10001 01:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:05 Configure a credential helper to remove this warning. See 01:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:05 01:25:05 Login Succeeded 01:25:05 nexus3.edgexfoundry.org:10002 01:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:05 Configure a credential helper to remove this warning. See 01:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:05 01:25:05 Login Succeeded 01:25:05 nexus3.edgexfoundry.org:10003 01:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:05 Configure a credential helper to remove this warning. See 01:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:05 01:25:05 Login Succeeded 01:25:05 nexus3.edgexfoundry.org:10004 01:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:05 Configure a credential helper to remove this warning. See 01:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:05 01:25:05 Login Succeeded 01:25:05 docker.io 01:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:25:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:25:06 Configure a credential helper to remove this warning. See 01:25:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:25:06 01:25:06 Login Succeeded 01:25:06 ---> docker-login.sh ends [Pipeline] } 01:25:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:25:06 ========================================================= 01:25:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:25:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:06 + 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 . 01:25:06 Sending build context to Docker daemon 15.78MB 01:25:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:25:06 Step 2/12 : FROM ${BASE} AS builder 01:25:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:25:06 2408cc74d12b: Pulling fs layer 01:25:06 ea60b727a1ce: Pulling fs layer 01:25:06 30c4a7721957: Pulling fs layer 01:25:06 370296b7ddb6: Pulling fs layer 01:25:06 7c6cee850709: Pulling fs layer 01:25:06 39a5fcdaea64: Pulling fs layer 01:25:06 d94ebbe4e438: Pulling fs layer 01:25:06 bcfd1f05c69d: Pulling fs layer 01:25:06 59ccb84bbe0f: Pulling fs layer 01:25:06 7c6cee850709: Waiting 01:25:06 370296b7ddb6: Waiting 01:25:06 39a5fcdaea64: Waiting 01:25:06 d94ebbe4e438: Waiting 01:25:06 bcfd1f05c69d: Waiting 01:25:06 59ccb84bbe0f: Waiting 01:25:06 30c4a7721957: Verifying Checksum 01:25:06 30c4a7721957: Download complete 01:25:06 ea60b727a1ce: Download complete 01:25:06 7c6cee850709: Verifying Checksum 01:25:06 7c6cee850709: Download complete 01:25:06 39a5fcdaea64: Verifying Checksum 01:25:06 39a5fcdaea64: Download complete 01:25:06 2408cc74d12b: Verifying Checksum 01:25:06 2408cc74d12b: Download complete 01:25:06 d94ebbe4e438: Verifying Checksum 01:25:06 d94ebbe4e438: Download complete 01:25:06 2408cc74d12b: Pull complete 01:25:07 ea60b727a1ce: Pull complete 01:25:07 30c4a7721957: Pull complete 01:25:07 59ccb84bbe0f: Verifying Checksum 01:25:07 59ccb84bbe0f: Download complete 01:25:07 bcfd1f05c69d: Verifying Checksum 01:25:07 bcfd1f05c69d: Download complete 01:25:07 370296b7ddb6: Verifying Checksum 01:25:07 370296b7ddb6: Download complete 01:25:11 370296b7ddb6: Pull complete 01:25:11 7c6cee850709: Pull complete 01:25:11 39a5fcdaea64: Pull complete 01:25:11 d94ebbe4e438: Pull complete 01:25:14 bcfd1f05c69d: Pull complete 01:25:14 59ccb84bbe0f: Pull complete 01:25:14 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:25:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:25:14 ---> a4fb48ad2a94 01:25:14 Step 3/12 : ARG MAKE="make build" 01:25:16 ---> Running in 89995270ffae 01:25:16 Removing intermediate container 89995270ffae 01:25:16 ---> 695bd9b93102 01:25:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:25:16 ---> Running in 8f48ca7c7b92 01:25:16 Removing intermediate container 8f48ca7c7b92 01:25:16 ---> 4a9cdd6e8b6e 01:25:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:25:16 ---> Running in 857132e586a3 01:25:16 Removing intermediate container 857132e586a3 01:25:16 ---> b00798ec8019 01:25:16 Step 6/12 : WORKDIR /device-gpio 01:25:17 ---> Running in 54c86b2b2b13 01:25:17 Removing intermediate container 54c86b2b2b13 01:25:17 ---> 96efc2628d7e 01:25:17 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:25:17 ---> Running in a3e2b1265bd5 01:25:17 Removing intermediate container a3e2b1265bd5 01:25:17 ---> 87e6bf35c01f 01:25:17 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:25:17 ---> Running in 1ca99819c947 01:25:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:25:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:25:19 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:25:19 (2/4) Installing libedit (20210910.3.1-r0) 01:25:19 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:25:19 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:25:19 Executing busybox-1.35.0-r13.trigger 01:25:19 OK: 216 MiB in 55 packages 01:25:20 Still waiting to schedule task 01:25:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22740’ 01:25:20 Removing intermediate container 1ca99819c947 01:25:20 ---> 1c91243df023 01:25:20 Step 9/12 : COPY go.mod vendor* ./ 01:25:20 ---> 98cb21b551f1 01:25:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:25:20 ---> Running in 9495040e5383 01:25:38 Removing intermediate container 9495040e5383 01:25:38 ---> 35f2472d6a48 01:25:38 Step 11/12 : COPY . . 01:25:38 ---> cb5de88b7b7a 01:25:38 Step 12/12 : RUN ${MAKE} 01:25:38 ---> Running in dc8971f3b486 01:25:39 noop 01:25:39 Removing intermediate container dc8971f3b486 01:25:39 ---> f73148a6c71e 01:25:39 Successfully built f73148a6c71e 01:25:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:40 + docker inspect -f . ci-base-image-x86_64 01:25:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:40 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:25:40 $ 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 01:25:40 $ docker top aebd5013325d536c6b17bf0b09c8c356950a4fa90b89e36cc605198b175fc069 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:40 + go version 01:25:40 go version go1.18.3 linux/amd64 [Pipeline] } 01:25:40 $ docker stop --time=1 aebd5013325d536c6b17bf0b09c8c356950a4fa90b89e36cc605198b175fc069 01:25:42 $ docker rm -f aebd5013325d536c6b17bf0b09c8c356950a4fa90b89e36cc605198b175fc069 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:42 + docker inspect -f . ci-base-image-x86_64 01:25:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:42 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:25:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 01:25:43 $ docker top c83eac06db9e00d1a6189df6a84349c278494f3e13bcf3530dc79d0d6901db90 -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 01:25:43 + make test 01:25:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:25:44 ? github.com/edgexfoundry/device-gpio [no test files] 01:25:54 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:25:54 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:25:59 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." 01:25:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:26:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:26:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:26:01 ./bin/test-attribution-txt.sh 01:26:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:26:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:26:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:26:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:26:01 $ docker stop --time=1 c83eac06db9e00d1a6189df6a84349c278494f3e13bcf3530dc79d0d6901db90 01:26:03 $ docker rm -f c83eac06db9e00d1a6189df6a84349c278494f3e13bcf3530dc79d0d6901db90 [Pipeline] // withDockerContainer [Pipeline] sh 01:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:26:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:26:05 + ls -al . 01:26:05 total 160 01:26:05 drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 01:25 . 01:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:24 .. 01:26:05 -rw-rw-r-- 1 jenkins jenkins 120 Aug 15 01:24 .dockerignore 01:26:05 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:25 .git 01:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:24 .github 01:26:05 -rw-rw-r-- 1 jenkins jenkins 343 Aug 15 01:24 .gitignore 01:26:05 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:24 .golangci.yml 01:26:05 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:25 .semver 01:26:05 -rw-rw-r-- 1 jenkins jenkins 9182 Aug 15 01:24 Attribution.txt 01:26:05 -rw-rw-r-- 1 jenkins jenkins 3081 Aug 15 01:24 CHANGELOG.md 01:26:05 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 15 01:24 Dockerfile 01:26:05 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:24 GOVERNANCE.md 01:26:05 -rw-rw-r-- 1 jenkins jenkins 657 Aug 15 01:24 Jenkinsfile 01:26:05 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:24 LICENSE 01:26:05 -rw-rw-r-- 1 jenkins jenkins 1876 Aug 15 01:24 Makefile 01:26:05 -rw-rw-r-- 1 jenkins jenkins 617 Aug 15 01:24 OWNERS.md 01:26:05 -rw-rw-r-- 1 jenkins jenkins 11178 Aug 15 01:24 README.md 01:26:05 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 01:25 VERSION 01:26:05 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:24 bin 01:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:24 cmd 01:26:05 -rw-r--r-- 1 jenkins jenkins 10 Aug 15 01:25 coverage.out 01:26:05 -rw-rw-r-- 1 jenkins jenkins 3425 Aug 15 01:24 go.mod 01:26:05 -rw-rw-r-- 1 jenkins jenkins 36813 Aug 15 01:24 go.sum 01:26:05 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:24 internal 01:26:05 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:24 snap 01:26:05 -rw-rw-r-- 1 jenkins jenkins 209 Aug 15 01:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:05 + 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=1094f563edbbc5735ff7ad494c47030b36b4872c --label arch=amd64 --label version=2.3.0-dev.7 . 01:26:05 Sending build context to Docker daemon 15.78MB 01:26:05 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:26:05 Step 2/26 : FROM ${BASE} AS builder 01:26:05 ---> f73148a6c71e 01:26:05 Step 3/26 : ARG MAKE="make build" 01:26:05 ---> Running in 8b5060f7dd10 01:26:05 Removing intermediate container 8b5060f7dd10 01:26:05 ---> 856a028ec47b 01:26:05 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:26:05 ---> Running in b796db5c143a 01:26:05 Removing intermediate container b796db5c143a 01:26:05 ---> 3f43dcf97dd4 01:26:05 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:26:05 ---> Running in 67e37af3c0db 01:26:05 Removing intermediate container 67e37af3c0db 01:26:05 ---> 240b4640dd85 01:26:05 Step 6/26 : WORKDIR /device-gpio 01:26:05 ---> Running in 74a893e2cdc7 01:26:05 Removing intermediate container 74a893e2cdc7 01:26:05 ---> 87cd023e9dc7 01:26:05 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:06 ---> Running in ad14083bd5f8 01:26:06 Removing intermediate container ad14083bd5f8 01:26:06 ---> 09c34c487e21 01:26:06 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:26:06 ---> Running in 1c2972eda10e 01:26:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:26:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:26:08 OK: 216 MiB in 55 packages 01:26:08 Removing intermediate container 1c2972eda10e 01:26:08 ---> 04b6c11520d1 01:26:08 Step 9/26 : COPY go.mod vendor* ./ 01:26:08 ---> 67bed174d0a2 01:26:08 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:26:08 ---> Running in 5bfa1afa2eee 01:26:09 Removing intermediate container 5bfa1afa2eee 01:26:09 ---> 5954720d752f 01:26:09 Step 11/26 : COPY . . 01:26:09 ---> 82f41a26b6ba 01:26:09 Step 12/26 : RUN ${MAKE} 01:26:09 ---> Running in 7b92c8306a23 01:26:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:26:28 Removing intermediate container 7b92c8306a23 01:26:28 ---> a8f8444e53b8 01:26:28 Step 13/26 : FROM alpine:3.16 01:26:28 3.16: Pulling from library/alpine 01:26:29 213ec9aee27d: Pulling fs layer 01:26:29 213ec9aee27d: Verifying Checksum 01:26:29 213ec9aee27d: Download complete 01:26:29 213ec9aee27d: Pull complete 01:26:29 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:26:29 Status: Downloaded newer image for alpine:3.16 01:26:29 ---> 9c6f07244728 01:26:29 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:26:29 ---> Running in 3626d74ddd12 01:26:29 Removing intermediate container 3626d74ddd12 01:26:29 ---> cae70b4f3545 01:26:29 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:26:29 ---> Running in 7207f3703605 01:26:30 Removing intermediate container 7207f3703605 01:26:30 ---> 7b2c1bb7dce3 01:26:30 Step 16/26 : RUN apk add --update --no-cache zeromq 01:26:30 ---> Running in 36cc8a098d9d 01:26:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:26:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:26:31 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:26:31 (2/5) Installing libsodium (1.0.18-r0) 01:26:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:26:32 (4/5) Installing libzmq (4.3.4-r0) 01:26:32 (5/5) Installing zeromq (4.3.4-r0) 01:26:32 Executing busybox-1.35.0-r17.trigger 01:26:32 OK: 8 MiB in 19 packages 01:26:32 Removing intermediate container 36cc8a098d9d 01:26:32 ---> 5e598c64c87b 01:26:32 Step 17/26 : WORKDIR / 01:26:32 ---> Running in 76b862032f2d 01:26:32 Removing intermediate container 76b862032f2d 01:26:32 ---> 90361bc8a98c 01:26:32 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:26:33 ---> a079c8b1d35f 01:26:33 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:26:33 ---> 19a490ab7c5e 01:26:33 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:26:33 ---> 3e7ea2c38973 01:26:33 Step 21/26 : EXPOSE 59910 01:26:33 ---> Running in a4892439a929 01:26:33 Removing intermediate container a4892439a929 01:26:33 ---> 093266736abe 01:26:33 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:26:33 ---> Running in 376f7b5d7316 01:26:33 Removing intermediate container 376f7b5d7316 01:26:33 ---> 54e6fa84bf3c 01:26:33 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:26:33 ---> Running in 0e39157f4d94 01:26:34 Removing intermediate container 0e39157f4d94 01:26:34 ---> e21a23ae670f 01:26:34 Step 24/26 : LABEL arch=amd64 01:26:34 ---> Running in bfc25803544f 01:26:34 Removing intermediate container bfc25803544f 01:26:34 ---> d4041a0bf9d3 01:26:34 Step 25/26 : LABEL git_sha=1094f563edbbc5735ff7ad494c47030b36b4872c 01:26:34 ---> Running in 03d43c118fe6 01:26:34 Removing intermediate container 03d43c118fe6 01:26:34 ---> 82cf9f74c566 01:26:34 Step 26/26 : LABEL version=2.3.0-dev.7 01:26:34 ---> Running in e1413bc85806 01:26:34 Removing intermediate container e1413bc85806 01:26:34 ---> 51da391e4d48 01:26:34 [Warning] One or more build-args [ARCH] were not consumed 01:26:34 Successfully built 51da391e4d48 01:26:34 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:34 provisioning config files... 01:26:34 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6715728211017979671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:34 ---> docker-login.sh 01:26:34 nexus3.edgexfoundry.org:10001 01:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:34 Configure a credential helper to remove this warning. See 01:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:34 01:26:34 Login Succeeded 01:26:34 nexus3.edgexfoundry.org:10002 01:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:35 Configure a credential helper to remove this warning. See 01:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:35 01:26:35 Login Succeeded 01:26:35 nexus3.edgexfoundry.org:10003 01:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:35 Configure a credential helper to remove this warning. See 01:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:35 01:26:35 Login Succeeded 01:26:35 nexus3.edgexfoundry.org:10004 01:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:35 Configure a credential helper to remove this warning. See 01:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:35 01:26:35 Login Succeeded 01:26:35 docker.io 01:26:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:26:35 Configure a credential helper to remove this warning. See 01:26:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:26:35 01:26:35 Login Succeeded 01:26:35 ---> docker-login.sh ends [Pipeline] } 01:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:26:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:26:35 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 01:26:35 1094f563edbbc5735ff7ad494c47030b36b4872c 01:26:35 latest 01:26:35 2.3.0-dev.7 01:26:35 1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:26:35 main 01:26:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:35 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:36 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c 01:26:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:26:36 982e35fd8524: Preparing 01:26:36 5e0e51b8ba0a: Preparing 01:26:36 5ae6826a1f9e: Preparing 01:26:36 e30ce85065bb: Preparing 01:26:36 eadf4fd2dddc: Preparing 01:26:36 994393dc58e7: Preparing 01:26:36 994393dc58e7: Waiting 01:26:36 eadf4fd2dddc: Pushed 01:26:36 5ae6826a1f9e: Pushed 01:26:36 5e0e51b8ba0a: Pushed 01:26:36 994393dc58e7: Layer already exists 01:26:36 e30ce85065bb: Pushed 01:26:39 982e35fd8524: Pushed 01:26:39 1094f563edbbc5735ff7ad494c47030b36b4872c: digest: sha256:280d18247a5489468f6221607262b411ea32c705607c6108f61db441d0c529df size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:39 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 01:26:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:26:39 982e35fd8524: Preparing 01:26:39 5e0e51b8ba0a: Preparing 01:26:39 5ae6826a1f9e: Preparing 01:26:39 e30ce85065bb: Preparing 01:26:39 eadf4fd2dddc: Preparing 01:26:39 994393dc58e7: Preparing 01:26:39 994393dc58e7: Waiting 01:26:39 e30ce85065bb: Layer already exists 01:26:39 5e0e51b8ba0a: Layer already exists 01:26:39 5ae6826a1f9e: Layer already exists 01:26:39 eadf4fd2dddc: Layer already exists 01:26:39 982e35fd8524: Layer already exists 01:26:39 994393dc58e7: Layer already exists 01:26:39 latest: digest: sha256:280d18247a5489468f6221607262b411ea32c705607c6108f61db441d0c529df size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:40 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:40 + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.7 01:26:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:26:40 982e35fd8524: Preparing 01:26:40 5e0e51b8ba0a: Preparing 01:26:40 5ae6826a1f9e: Preparing 01:26:40 e30ce85065bb: Preparing 01:26:40 eadf4fd2dddc: Preparing 01:26:40 994393dc58e7: Preparing 01:26:40 994393dc58e7: Waiting 01:26:40 eadf4fd2dddc: Layer already exists 01:26:40 982e35fd8524: Layer already exists 01:26:40 5e0e51b8ba0a: Layer already exists 01:26:40 e30ce85065bb: Layer already exists 01:26:40 5ae6826a1f9e: Layer already exists 01:26:40 994393dc58e7: Layer already exists 01:26:40 2.3.0-dev.7: digest: sha256:280d18247a5489468f6221607262b411ea32c705607c6108f61db441d0c529df size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:40 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:40 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:26:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:26:40 982e35fd8524: Preparing 01:26:40 5e0e51b8ba0a: Preparing 01:26:40 5ae6826a1f9e: Preparing 01:26:40 e30ce85065bb: Preparing 01:26:40 eadf4fd2dddc: Preparing 01:26:40 994393dc58e7: Preparing 01:26:40 5ae6826a1f9e: Layer already exists 01:26:40 5e0e51b8ba0a: Layer already exists 01:26:40 982e35fd8524: Layer already exists 01:26:40 eadf4fd2dddc: Layer already exists 01:26:40 e30ce85065bb: Layer already exists 01:26:40 994393dc58e7: Layer already exists 01:26:40 1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7: digest: sha256:280d18247a5489468f6221607262b411ea32c705607c6108f61db441d0c529df size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 01:26:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:26:41 982e35fd8524: Preparing 01:26:41 5e0e51b8ba0a: Preparing 01:26:41 5ae6826a1f9e: Preparing 01:26:41 e30ce85065bb: Preparing 01:26:41 eadf4fd2dddc: Preparing 01:26:41 994393dc58e7: Preparing 01:26:41 994393dc58e7: Waiting 01:26:41 982e35fd8524: Layer already exists 01:26:41 5ae6826a1f9e: Layer already exists 01:26:41 eadf4fd2dddc: Layer already exists 01:26:41 e30ce85065bb: Layer already exists 01:26:41 5e0e51b8ba0a: Layer already exists 01:26:41 994393dc58e7: Layer already exists 01:26:41 main: digest: sha256:280d18247a5489468f6221607262b411ea32c705607c6108f61db441d0c529df size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:26:41 ===================================================== [Pipeline] echo 01:26:41 taggedImages: 01:26:41 - nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c 01:26:41 - nexus3.edgexfoundry.org:10004/device-gpio:latest 01:26:41 - nexus3.edgexfoundry.org:10004/device-gpio:2.3.0-dev.7 01:26:41 - nexus3.edgexfoundry.org:10004/device-gpio:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:26:41 - 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 01:26:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:42 01:26:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:42 latest: Pulling from edgex-lftools-log-publisher 01:26:42 5eb5b503b376: Pulling fs layer 01:26:42 5c69ac0246d0: Pulling fs layer 01:26:42 ec43610c2a17: Pulling fs layer 01:26:42 3a2ae6a8a46f: Pulling fs layer 01:26:42 33b1e0a273af: Pulling fs layer 01:26:42 5d3b04190fa2: Pulling fs layer 01:26:42 2f39f015ded8: Pulling fs layer 01:26:42 3a2ae6a8a46f: Waiting 01:26:42 5d3b04190fa2: Waiting 01:26:42 33b1e0a273af: Waiting 01:26:42 2f39f015ded8: Waiting 01:26:42 5c69ac0246d0: Download complete 01:26:42 3a2ae6a8a46f: Verifying Checksum 01:26:42 3a2ae6a8a46f: Download complete 01:26:42 33b1e0a273af: Verifying Checksum 01:26:42 33b1e0a273af: Download complete 01:26:42 5d3b04190fa2: Verifying Checksum 01:26:42 5d3b04190fa2: Download complete 01:26:42 ec43610c2a17: Verifying Checksum 01:26:42 ec43610c2a17: Download complete 01:26:42 5eb5b503b376: Verifying Checksum 01:26:42 5eb5b503b376: Download complete 01:26:43 2f39f015ded8: Verifying Checksum 01:26:43 2f39f015ded8: Download complete 01:26:43 5eb5b503b376: Pull complete 01:26:44 5c69ac0246d0: Pull complete 01:26:44 ec43610c2a17: Pull complete 01:26:44 3a2ae6a8a46f: Pull complete 01:26:44 33b1e0a273af: Pull complete 01:26:44 5d3b04190fa2: Pull complete 01:26:49 2f39f015ded8: Pull complete 01:26:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:26:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:49 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:26:49 $ 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 01:26:50 $ docker top e100ecb07df046a0c6652bfc652c6e013775cbb6b6950a01f343dfa8e1e0682c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:51 ---> job-cost.sh 01:26:51 lf-activate-venv: SKIPPING 01:26:51 INFO: No Stack... 01:26:51 INFO: Retrieving Pricing Info for: v3-standard-8 01:26:52 INFO: Archiving Costs [Pipeline] sh 01:26:52 + cut -d, -f6 01:26:52 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [Pipeline] lock 01:26:52 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] 01:26:52 Resource [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] did not exist. Created. 01:26:52 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:52 + echo total: 0.2199999988079071 [Pipeline] stash 01:26:52 Stashed 1 file(s) [Pipeline] } 01:26:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:52 $ docker stop --time=1 e100ecb07df046a0c6652bfc652c6e013775cbb6b6950a01f343dfa8e1e0682c 01:26:53 $ docker rm -f e100ecb07df046a0c6652bfc652c6e013775cbb6b6950a01f343dfa8e1e0682c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-22746 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 01:29:03 Running in /w/workspace/device-gpio/37 [Pipeline] { [Pipeline] checkout 01:29:03 The recommended git tool is: git 01:29:10 using credential edgex-jenkins-ssh 01:29:10 Cloning the remote Git repository 01:29:11 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:29:11 > git init /w/workspace/device-gpio/37 # timeout=10 01:29:11 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:29:11 > git --version # timeout=10 01:29:11 > git --version # 'git version 2.25.1' 01:29:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:29:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:13 Avoid second fetch 01:29:13 Checking out Revision 1094f563edbbc5735ff7ad494c47030b36b4872c (main) 01:29:13 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:29:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:29:13 > git config core.sparsecheckout # timeout=10 01:29:13 > git checkout -f 1094f563edbbc5735ff7ad494c47030b36b4872c # timeout=10 01:29:17 Commit message: "Merge pull request #52 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:29:18 % Total % Received % Xferd Average Speed Time Time Time Current 01:29:18 Dload Upload Total Spent Left Speed 01:29:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97102 0 --:--:-- --:--:-- --:--:-- 97102 [Pipeline] sh 01:29:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:29:19 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 01:29:19 01:29:19 { 01:29:19 "registry-mirrors": [ 01:29:19 "https://nexus3.edgexfoundry.org:10001" 01:29:19 ], 01:29:19 "bip": "10.250.0.254/24", 01:29:19 "hosts": [ 01:29:19 "tcp://0.0.0.0:5555", 01:29:19 "unix:///var/run/docker.sock" 01:29:19 ], 01:29:19 "mtu": 1458, 01:29:19 "selinux-enabled": true, 01:29:19 "seccomp-profile": "/etc/docker/seccomp.json" 01:29:19 } [Pipeline] sh 01:29:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:29:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:38 provisioning config files... 01:29:38 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/37@tmp/config8572403586233415574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:39 ---> docker-login.sh 01:29:39 nexus3.edgexfoundry.org:10001 01:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:40 Configure a credential helper to remove this warning. See 01:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:40 01:29:40 Login Succeeded 01:29:40 nexus3.edgexfoundry.org:10002 01:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:40 Configure a credential helper to remove this warning. See 01:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:40 01:29:40 Login Succeeded 01:29:40 nexus3.edgexfoundry.org:10003 01:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:41 Configure a credential helper to remove this warning. See 01:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:41 01:29:41 Login Succeeded 01:29:41 nexus3.edgexfoundry.org:10004 01:29:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:41 Configure a credential helper to remove this warning. See 01:29:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:41 01:29:41 Login Succeeded 01:29:41 docker.io 01:29:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:42 Configure a credential helper to remove this warning. See 01:29:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:42 01:29:42 Login Succeeded 01:29:42 ---> docker-login.sh ends [Pipeline] } 01:29:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:42 ========================================================= 01:29:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:29:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:43 + 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 . 01:29:43 Sending build context to Docker daemon 7.951MB 01:29:43 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:29:43 Step 2/12 : FROM ${BASE} AS builder 01:29:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:29:43 b3c136eddcbf: Pulling fs layer 01:29:43 c0a3192eca97: Pulling fs layer 01:29:43 a050256f5b6f: Pulling fs layer 01:29:43 656be50a0ddc: Pulling fs layer 01:29:43 2bbca73fdf42: Pulling fs layer 01:29:43 46d945488cbd: Pulling fs layer 01:29:43 8a5474983e97: Pulling fs layer 01:29:43 329c88fbcd65: Pulling fs layer 01:29:43 46d945488cbd: Waiting 01:29:43 8a5474983e97: Waiting 01:29:43 329c88fbcd65: Waiting 01:29:43 656be50a0ddc: Waiting 01:29:43 2bbca73fdf42: Waiting 01:29:43 a050256f5b6f: Verifying Checksum 01:29:43 a050256f5b6f: Download complete 01:29:43 c0a3192eca97: Verifying Checksum 01:29:43 c0a3192eca97: Download complete 01:29:43 2bbca73fdf42: Verifying Checksum 01:29:43 2bbca73fdf42: Download complete 01:29:43 b3c136eddcbf: Verifying Checksum 01:29:43 46d945488cbd: Verifying Checksum 01:29:43 46d945488cbd: Download complete 01:29:44 b3c136eddcbf: Pull complete 01:29:44 329c88fbcd65: Verifying Checksum 01:29:44 329c88fbcd65: Download complete 01:29:45 c0a3192eca97: Pull complete 01:29:45 a050256f5b6f: Pull complete 01:29:46 8a5474983e97: Verifying Checksum 01:29:46 656be50a0ddc: Verifying Checksum 01:29:46 656be50a0ddc: Download complete 01:30:01 656be50a0ddc: Pull complete 01:30:01 2bbca73fdf42: Pull complete 01:30:01 46d945488cbd: Pull complete 01:30:07 8a5474983e97: Pull complete 01:30:09 329c88fbcd65: Pull complete 01:30:09 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:30:09 ---> ff4287adb874 01:30:09 Step 3/12 : ARG MAKE="make build" 01:30:09 ---> Running in ba8b8442ea87 01:30:10 Removing intermediate container ba8b8442ea87 01:30:10 ---> a8b2454993e1 01:30:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:30:10 ---> Running in 0f911fb80d4b 01:30:10 Removing intermediate container 0f911fb80d4b 01:30:10 ---> b6ec15526a5f 01:30:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:30:10 ---> Running in 6c67245beaa0 01:30:11 Removing intermediate container 6c67245beaa0 01:30:11 ---> cc315e8ec409 01:30:11 Step 6/12 : WORKDIR /device-gpio 01:30:11 ---> Running in 29833da243d8 01:30:11 Removing intermediate container 29833da243d8 01:30:11 ---> 2b9f5634a422 01:30:11 Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:11 ---> Running in 6331b58739d5 01:30:14 Removing intermediate container 6331b58739d5 01:30:14 ---> 2b00c9495cf8 01:30:14 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:14 ---> Running in ab6e745aa56a 01:30:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:30:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:30:18 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:30:18 (2/4) Installing libedit (20210910.3.1-r0) 01:30:18 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:30:18 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:30:18 Executing busybox-1.35.0-r13.trigger 01:30:18 OK: 226 MiB in 55 packages 01:30:19 Removing intermediate container ab6e745aa56a 01:30:19 ---> c0be6e272ecb 01:30:19 Step 9/12 : COPY go.mod vendor* ./ 01:30:20 ---> 9b639ee3fc4b 01:30:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:20 ---> Running in 83ed94264596 01:31:17 Removing intermediate container 83ed94264596 01:31:17 ---> 865c0987add9 01:31:17 Step 11/12 : COPY . . 01:31:17 ---> e25014590908 01:31:17 Step 12/12 : RUN ${MAKE} 01:31:17 ---> Running in 0b5e61a3a06c 01:31:17 noop 01:31:17 Removing intermediate container 0b5e61a3a06c 01:31:17 ---> 21b9711d6eeb 01:31:17 Successfully built 21b9711d6eeb 01:31:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:17 + docker inspect -f . ci-base-image-arm64 01:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:17 prd-ubuntu20.04-docker-arm64-4c-16g-22746 does not seem to be running inside a container 01:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/37 -v /w/workspace/device-gpio/37:/w/workspace/device-gpio/37:rw,z -v /w/workspace/device-gpio/37@tmp:/w/workspace/device-gpio/37@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 01:31:19 $ docker top 8e5e7e7c2de2ad334340e82a90d683441ad5ce3536d9e965a5a09e9b9af8368a -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:20 + go version 01:31:20 go version go1.18.3 linux/arm64 [Pipeline] } 01:31:20 $ docker stop --time=1 8e5e7e7c2de2ad334340e82a90d683441ad5ce3536d9e965a5a09e9b9af8368a 01:31:21 $ docker rm -f 8e5e7e7c2de2ad334340e82a90d683441ad5ce3536d9e965a5a09e9b9af8368a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:22 + docker inspect -f . ci-base-image-arm64 01:31:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:22 prd-ubuntu20.04-docker-arm64-4c-16g-22746 does not seem to be running inside a container 01:31:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-gpio/37 -v /w/workspace/device-gpio/37:/w/workspace/device-gpio/37:rw,z -v /w/workspace/device-gpio/37@tmp:/w/workspace/device-gpio/37@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 01:31:24 $ docker top b7492e8e7be8a87c4b270f69354a92cfe830690c2bde58d2c6c11863156f0957 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:25 + git config --global --add safe.directory /w/workspace/device-gpio/37 [Pipeline] fileExists [Pipeline] sh 01:31:25 + make test 01:31:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:31:27 ? github.com/edgexfoundry/device-gpio [no test files] 01:33:04 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 01:33:04 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 01:33:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:33:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:33:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:16 ./bin/test-attribution-txt.sh 01:33:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:33:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:33:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:33:16 $ docker stop --time=1 b7492e8e7be8a87c4b270f69354a92cfe830690c2bde58d2c6c11863156f0957 01:33:18 $ docker rm -f b7492e8e7be8a87c4b270f69354a92cfe830690c2bde58d2c6c11863156f0957 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:19 Warning: overwriting stash ‘coverage-report’ 01:33:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:20 + ls -al . 01:33:20 total 156 01:33:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:31 . 01:33:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:29 .. 01:33:20 -rw-rw-r-- 1 jenkins jenkins 120 Aug 15 01:29 .dockerignore 01:33:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:29 .git 01:33:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 .github 01:33:20 -rw-rw-r-- 1 jenkins jenkins 343 Aug 15 01:29 .gitignore 01:33:20 -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:29 .golangci.yml 01:33:20 -rw-rw-r-- 1 jenkins jenkins 9182 Aug 15 01:29 Attribution.txt 01:33:20 -rw-rw-r-- 1 jenkins jenkins 3081 Aug 15 01:29 CHANGELOG.md 01:33:20 -rw-rw-r-- 1 jenkins jenkins 1872 Aug 15 01:29 Dockerfile 01:33:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:29 GOVERNANCE.md 01:33:20 -rw-rw-r-- 1 jenkins jenkins 657 Aug 15 01:29 Jenkinsfile 01:33:20 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:29 LICENSE 01:33:20 -rw-rw-r-- 1 jenkins jenkins 1876 Aug 15 01:29 Makefile 01:33:20 -rw-rw-r-- 1 jenkins jenkins 617 Aug 15 01:29 OWNERS.md 01:33:20 -rw-rw-r-- 1 jenkins jenkins 11178 Aug 15 01:29 README.md 01:33:20 -rw-rw-r-- 1 jenkins jenkins 11 Aug 15 01:25 VERSION 01:33:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:29 bin 01:33:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 cmd 01:33:20 -rw-r--r-- 1 jenkins jenkins 10 Aug 15 01:31 coverage.out 01:33:20 -rw-rw-r-- 1 jenkins jenkins 3425 Aug 15 01:29 go.mod 01:33:20 -rw-rw-r-- 1 jenkins jenkins 36813 Aug 15 01:29 go.sum 01:33:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 internal 01:33:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:29 snap 01:33:20 -rw-rw-r-- 1 jenkins jenkins 209 Aug 15 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:21 + 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=1094f563edbbc5735ff7ad494c47030b36b4872c --label arch=arm64 --label version=2.3.0-dev.7 . 01:33:21 Sending build context to Docker daemon 7.952MB 01:33:21 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 01:33:21 Step 2/26 : FROM ${BASE} AS builder 01:33:21 ---> 21b9711d6eeb 01:33:21 Step 3/26 : ARG MAKE="make build" 01:33:21 ---> Running in 270bd8db7362 01:33:22 Removing intermediate container 270bd8db7362 01:33:22 ---> 3d8ecfec046f 01:33:22 Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:22 ---> Running in cd1108d174e2 01:33:22 Removing intermediate container cd1108d174e2 01:33:22 ---> 62c7b00535e6 01:33:22 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 01:33:22 ---> Running in 0e7b094d547b 01:33:23 Removing intermediate container 0e7b094d547b 01:33:23 ---> 24497e31af66 01:33:23 Step 6/26 : WORKDIR /device-gpio 01:33:23 ---> Running in 3f109a7c8dd6 01:33:23 Removing intermediate container 3f109a7c8dd6 01:33:23 ---> 3e128a8d9daf 01:33:23 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:23 ---> Running in 03fc897ef0b5 01:33:25 Removing intermediate container 03fc897ef0b5 01:33:25 ---> 74f7c1ff4ffe 01:33:25 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:25 ---> Running in b9372d034136 01:33:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:33:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:33:28 OK: 226 MiB in 55 packages 01:33:29 Removing intermediate container b9372d034136 01:33:29 ---> 7c15683e97a9 01:33:29 Step 9/26 : COPY go.mod vendor* ./ 01:33:30 ---> daf901051cbb 01:33:30 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:30 ---> Running in 3cc34a8f95e9 01:33:32 Removing intermediate container 3cc34a8f95e9 01:33:32 ---> 96f3ee0a0e24 01:33:32 Step 11/26 : COPY . . 01:33:33 ---> 4593a1a23110 01:33:33 Step 12/26 : RUN ${MAKE} 01:33:33 ---> Running in 71c7bfda4184 01:33:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.3.0-dev.7" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd 01:35:56 Removing intermediate container 71c7bfda4184 01:35:56 ---> fea3b7a01044 01:35:56 Step 13/26 : FROM alpine:3.16 01:35:56 3.16: Pulling from library/alpine 01:35:56 9b18e9b68314: Pulling fs layer 01:35:56 9b18e9b68314: Verifying Checksum 01:35:56 9b18e9b68314: Download complete 01:35:56 9b18e9b68314: Pull complete 01:35:56 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:35:56 Status: Downloaded newer image for alpine:3.16 01:35:56 ---> a6215f271958 01:35:56 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:35:56 ---> Running in de5096f49ea9 01:35:56 Removing intermediate container de5096f49ea9 01:35:56 ---> bd65d6dffc98 01:35:56 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:35:56 ---> Running in 17a8dbee6bb6 01:35:56 Removing intermediate container 17a8dbee6bb6 01:35:56 ---> 06284f02fa67 01:35:56 Step 16/26 : RUN apk add --update --no-cache zeromq 01:35:56 ---> Running in 263e9678a908 01:35:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:35:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:35:59 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:35:59 (2/5) Installing libsodium (1.0.18-r0) 01:35:59 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:35:59 (4/5) Installing libzmq (4.3.4-r0) 01:35:59 (5/5) Installing zeromq (4.3.4-r0) 01:35:59 Executing busybox-1.35.0-r17.trigger 01:35:59 OK: 8 MiB in 19 packages 01:36:00 Removing intermediate container 263e9678a908 01:36:00 ---> 28df62dc29ad 01:36:00 Step 17/26 : WORKDIR / 01:36:00 ---> Running in 5b7b96f08f94 01:36:00 Removing intermediate container 5b7b96f08f94 01:36:00 ---> 86ad8b330d04 01:36:00 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:36:01 ---> c50c37332af5 01:36:01 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:36:02 ---> 6c6f57c53566 01:36:02 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:36:03 ---> 5c7f63ac4bbe 01:36:03 Step 21/26 : EXPOSE 59910 01:36:03 ---> Running in fa6a05c7b69e 01:36:03 Removing intermediate container fa6a05c7b69e 01:36:03 ---> e4fb36517109 01:36:03 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:36:04 ---> Running in 05b31ea9cee7 01:36:04 Removing intermediate container 05b31ea9cee7 01:36:04 ---> 4667d53cbc0a 01:36:04 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:36:04 ---> Running in 444cf598b97e 01:36:05 Removing intermediate container 444cf598b97e 01:36:05 ---> b3ffed0313ec 01:36:05 Step 24/26 : LABEL arch=arm64 01:36:05 ---> Running in 02cd9ec670d8 01:36:05 Removing intermediate container 02cd9ec670d8 01:36:05 ---> b7c7f9a8bc50 01:36:05 Step 25/26 : LABEL git_sha=1094f563edbbc5735ff7ad494c47030b36b4872c 01:36:05 ---> Running in cd297075a560 01:36:05 Removing intermediate container cd297075a560 01:36:05 ---> accbd3dc2e78 01:36:05 Step 26/26 : LABEL version=2.3.0-dev.7 01:36:05 ---> Running in 7a56a488638a 01:36:06 Removing intermediate container 7a56a488638a 01:36:06 ---> 59d0e0fb833e 01:36:06 [Warning] One or more build-args [ARCH] were not consumed 01:36:06 Successfully built 59d0e0fb833e 01:36:06 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 01:36:06 provisioning config files... 01:36:06 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/37@tmp/config601617929438324440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:06 ---> docker-login.sh 01:36:06 nexus3.edgexfoundry.org:10001 01:36:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:06 Configure a credential helper to remove this warning. See 01:36:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:06 01:36:06 Login Succeeded 01:36:07 nexus3.edgexfoundry.org:10002 01:36:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:07 Configure a credential helper to remove this warning. See 01:36:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:07 01:36:07 Login Succeeded 01:36:07 nexus3.edgexfoundry.org:10003 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 nexus3.edgexfoundry.org:10004 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:08 Configure a credential helper to remove this warning. See 01:36:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:08 01:36:08 Login Succeeded 01:36:08 docker.io 01:36:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:09 Configure a credential helper to remove this warning. See 01:36:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:09 01:36:09 Login Succeeded 01:36:09 ---> docker-login.sh ends [Pipeline] } 01:36:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:36:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:36:09 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 01:36:09 1094f563edbbc5735ff7ad494c47030b36b4872c 01:36:09 latest 01:36:09 2.3.0-dev.7 01:36:09 1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:36:09 main 01:36:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c 01:36:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:36:09 fd6006f4a53a: Preparing 01:36:09 de857b27ea57: Preparing 01:36:09 37a359850406: Preparing 01:36:09 c86f1cf16164: Preparing 01:36:09 1ebae91ded1d: Preparing 01:36:09 5d3e392a13a0: Preparing 01:36:09 5d3e392a13a0: Waiting 01:36:10 37a359850406: Pushed 01:36:10 de857b27ea57: Pushed 01:36:10 1ebae91ded1d: Pushed 01:36:10 5d3e392a13a0: Layer already exists 01:36:10 c86f1cf16164: Pushed 01:36:16 fd6006f4a53a: Pushed 01:36:16 1094f563edbbc5735ff7ad494c47030b36b4872c: digest: sha256:92344f6b73982cd31c982574165b8773f72c13308e55a3cfc2396c53c95bb451 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:16 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:16 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:36:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:36:16 fd6006f4a53a: Preparing 01:36:16 de857b27ea57: Preparing 01:36:16 37a359850406: Preparing 01:36:16 c86f1cf16164: Preparing 01:36:16 1ebae91ded1d: Preparing 01:36:16 5d3e392a13a0: Preparing 01:36:16 5d3e392a13a0: Waiting 01:36:16 de857b27ea57: Layer already exists 01:36:16 c86f1cf16164: Layer already exists 01:36:16 1ebae91ded1d: Layer already exists 01:36:16 fd6006f4a53a: Layer already exists 01:36:16 37a359850406: Layer already exists 01:36:17 5d3e392a13a0: Layer already exists 01:36:17 latest: digest: sha256:92344f6b73982cd31c982574165b8773f72c13308e55a3cfc2396c53c95bb451 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:17 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:18 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.7 01:36:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:36:18 fd6006f4a53a: Preparing 01:36:18 de857b27ea57: Preparing 01:36:18 37a359850406: Preparing 01:36:18 c86f1cf16164: Preparing 01:36:18 1ebae91ded1d: Preparing 01:36:18 5d3e392a13a0: Preparing 01:36:18 5d3e392a13a0: Waiting 01:36:18 1ebae91ded1d: Layer already exists 01:36:18 de857b27ea57: Layer already exists 01:36:18 fd6006f4a53a: Layer already exists 01:36:18 37a359850406: Layer already exists 01:36:18 c86f1cf16164: Layer already exists 01:36:18 5d3e392a13a0: Layer already exists 01:36:18 2.3.0-dev.7: digest: sha256:92344f6b73982cd31c982574165b8773f72c13308e55a3cfc2396c53c95bb451 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:18 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:19 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:36:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:36:19 fd6006f4a53a: Preparing 01:36:19 de857b27ea57: Preparing 01:36:19 37a359850406: Preparing 01:36:19 c86f1cf16164: Preparing 01:36:19 1ebae91ded1d: Preparing 01:36:19 5d3e392a13a0: Preparing 01:36:19 5d3e392a13a0: Waiting 01:36:19 1ebae91ded1d: Layer already exists 01:36:19 fd6006f4a53a: Layer already exists 01:36:19 de857b27ea57: Layer already exists 01:36:19 37a359850406: Layer already exists 01:36:19 c86f1cf16164: Layer already exists 01:36:19 5d3e392a13a0: Layer already exists 01:36:19 1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7: digest: sha256:92344f6b73982cd31c982574165b8773f72c13308e55a3cfc2396c53c95bb451 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:19 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:20 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 01:36:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 01:36:20 fd6006f4a53a: Preparing 01:36:20 de857b27ea57: Preparing 01:36:20 37a359850406: Preparing 01:36:20 c86f1cf16164: Preparing 01:36:20 1ebae91ded1d: Preparing 01:36:20 5d3e392a13a0: Preparing 01:36:20 5d3e392a13a0: Waiting 01:36:20 fd6006f4a53a: Layer already exists 01:36:20 37a359850406: Layer already exists 01:36:20 de857b27ea57: Layer already exists 01:36:20 1ebae91ded1d: Layer already exists 01:36:20 c86f1cf16164: Layer already exists 01:36:20 5d3e392a13a0: Layer already exists 01:36:20 main: digest: sha256:92344f6b73982cd31c982574165b8773f72c13308e55a3cfc2396c53c95bb451 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:36:20 ===================================================== [Pipeline] echo 01:36:20 taggedImages: 01:36:20 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c 01:36:20 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 01:36:20 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.3.0-dev.7 01:36:20 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1094f563edbbc5735ff7ad494c47030b36b4872c-2.3.0-dev.7 01:36:20 - 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 01:36:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:20 01:36:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:21 arm64: Pulling from edgex-lftools-log-publisher 01:36:21 8998bd30e6a1: Pulling fs layer 01:36:21 04944245beec: Pulling fs layer 01:36:21 699f458cf7ca: Pulling fs layer 01:36:21 765212b225bb: Pulling fs layer 01:36:21 f23df028b6ca: Pulling fs layer 01:36:21 d65c8cfc05b1: Pulling fs layer 01:36:21 2437ff75d9bd: Pulling fs layer 01:36:21 f23df028b6ca: Waiting 01:36:21 d65c8cfc05b1: Waiting 01:36:21 2437ff75d9bd: Waiting 01:36:21 765212b225bb: Waiting 01:36:21 04944245beec: Verifying Checksum 01:36:21 04944245beec: Download complete 01:36:21 765212b225bb: Verifying Checksum 01:36:21 765212b225bb: Download complete 01:36:21 f23df028b6ca: Verifying Checksum 01:36:21 f23df028b6ca: Download complete 01:36:21 d65c8cfc05b1: Verifying Checksum 01:36:21 d65c8cfc05b1: Download complete 01:36:21 699f458cf7ca: Verifying Checksum 01:36:21 699f458cf7ca: Download complete 01:36:21 8998bd30e6a1: Download complete 01:36:24 2437ff75d9bd: Verifying Checksum 01:36:24 2437ff75d9bd: Download complete 01:36:25 8998bd30e6a1: Pull complete 01:36:26 04944245beec: Pull complete 01:36:28 699f458cf7ca: Pull complete 01:36:28 765212b225bb: Pull complete 01:36:28 f23df028b6ca: Pull complete 01:36:29 d65c8cfc05b1: Pull complete 01:36:44 2437ff75d9bd: Pull complete 01:36:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:36:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:44 prd-ubuntu20.04-docker-arm64-4c-16g-22746 does not seem to be running inside a container 01:36:44 $ 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/37 -v /w/workspace/device-gpio/37:/w/workspace/device-gpio/37:rw,z -v /w/workspace/device-gpio/37@tmp:/w/workspace/device-gpio/37@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 01:36:47 $ docker top 5039b22dfe2345703b1b21cc647cc4ff604026d012d76e5de3a02e6afa9bfa90 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:48 ---> job-cost.sh 01:36:48 lf-activate-venv: SKIPPING 01:36:48 INFO: No Stack... 01:36:49 INFO: Retrieving Pricing Info for: v3-standard-4 01:36:50 INFO: Archiving Costs [Pipeline] sh 01:36:50 + cat /w/workspace/device-gpio/37/archives/cost.csv 01:36:50 + cut -d, -f6 [Pipeline] lock 01:36:50 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] 01:36:50 Resource [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] did not exist. Created. 01:36:50 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:36:51 /w/workspace/device-gpio/37@tmp/durable-92f51883/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:36:52 + echo total: 0.10999999940395355 [Pipeline] stash 01:36:52 Warning: overwriting stash ‘stack-cost’ 01:36:52 Stashed 1 file(s) [Pipeline] } 01:36:52 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 01:36:52 $ docker stop --time=1 5039b22dfe2345703b1b21cc647cc4ff604026d012d76e5de3a02e6afa9bfa90 01:36:54 $ docker rm -f 5039b22dfe2345703b1b21cc647cc4ff604026d012d76e5de3a02e6afa9bfa90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 01:36:54 provisioning config files... 01:36:54 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config202486089695012604tmp [Pipeline] { [Pipeline] sh 01:36:54 + set +x 01:36:54 + curl -s https://codecov.io/bash 01:36:54 + bash -s -- 01:36:54 01:36:54 _____ _ 01:36:54 / ____| | | 01:36:54 | | ___ __| | ___ ___ _____ __ 01:36:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:36:54 | |___| (_) | (_| | __/ (_| (_) \ V / 01:36:54 \_____\___/ \__,_|\___|\___\___/ \_/ 01:36:54 Bash-1.0.6 01:36:54 01:36:54 01:36:54 ==> git version 2.25.1 found 01:36:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 01:36:54 Release-Date: 2020-01-08 01:36:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:36:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:36:54 ==> Jenkins CI detected. 01:36:54 current dir:  /w/workspace/edgexfoundry_device-gpio_main 01:36:54 project root: . 01:36:54 --> token set from env 01:36:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:36:54 ==> Running gcov in . (disable via -X gcov) 01:36:54 ==> Python coveragepy not found 01:36:54 ==> Searching for coverage reports in: 01:36:54 + . 01:36:54 -> Found 1 reports 01:36:54 ==> Detecting git/mercurial file structure 01:36:54 ==> Reading reports 01:36:54 + ./coverage.out bytes=10 01:36:54 ==> Appending adjustments 01:36:54 https://docs.codecov.io/docs/fixing-reports 01:36:55 + Found adjustments 01:36:55 ==> Gzipping contents 01:36:55 4.0K /tmp/codecov.vcvCwg.gz 01:36:55 ==> Uploading reports 01:36:55 url: https://codecov.io 01:36:55 query: branch=main&commit=1094f563edbbc5735ff7ad494c47030b36b4872c&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:36:55 -> Pinging Codecov 01:36:55 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=1094f563edbbc5735ff7ad494c47030b36b4872c&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 01:36:55 -> Uploading to 01:36:55 https://storage.googleapis.com/codecov/v4/raw/2022-08-15/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1094f563edbbc5735ff7ad494c47030b36b4872c/ed4228c8-72b2-45f8-bef6-e7aa8fb6b480.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T013655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7174c8370eb4ffac7ff2b6f79ee0001fbb2068ceed4c425f9b462969ac6c6ea4 01:36:55 % Total % Received % Xferd Average Speed Time Time Time Current 01:36:55 Dload Upload Total Spent Left Speed 01:36:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 782 0 0 100 782 0 3191 --:--:-- --:--:-- --:--:-- 3191 01:36:55 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] } 01:36:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:36:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:36:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:36:56 01:36:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:36:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:36:56 df9b9388f04a: Pulling fs layer 01:36:56 52dc419b0ee2: Pulling fs layer 01:36:56 25bc292e5bac: Pulling fs layer 01:36:56 114826534d7a: Pulling fs layer 01:36:56 4657fd5d0bcf: Pulling fs layer 01:36:56 6ad1cebc031e: Pulling fs layer 01:36:56 8a3aa393b2d8: Pulling fs layer 01:36:56 4657fd5d0bcf: Waiting 01:36:56 6ad1cebc031e: Waiting 01:36:56 8a3aa393b2d8: Waiting 01:36:56 114826534d7a: Waiting 01:36:56 25bc292e5bac: Verifying Checksum 01:36:56 25bc292e5bac: Download complete 01:36:56 52dc419b0ee2: Download complete 01:36:56 4657fd5d0bcf: Verifying Checksum 01:36:56 4657fd5d0bcf: Download complete 01:36:56 df9b9388f04a: Verifying Checksum 01:36:56 df9b9388f04a: Download complete 01:36:56 df9b9388f04a: Pull complete 01:36:57 6ad1cebc031e: Verifying Checksum 01:36:57 6ad1cebc031e: Download complete 01:36:57 52dc419b0ee2: Pull complete 01:36:57 25bc292e5bac: Pull complete 01:36:57 114826534d7a: Verifying Checksum 01:36:57 114826534d7a: Download complete 01:36:57 8a3aa393b2d8: Verifying Checksum 01:36:57 8a3aa393b2d8: Download complete 01:37:00 114826534d7a: Pull complete 01:37:01 4657fd5d0bcf: Pull complete 01:37:01 6ad1cebc031e: Pull complete 01:37:04 8a3aa393b2d8: Pull complete 01:37:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:37:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:37:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:04 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:04 $ 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 01:37:06 $ docker top bd3fb8cc328a7fc2f59fe5e68ca7b6cefc47d16d00bea45b99cab500838f6bbf -eo pid,comm [Pipeline] { [Pipeline] echo 01:37:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 01:37:07 + set -o pipefail 01:37:07 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 01:37:13 01:37:13 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 01:37:13 01:37:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/2ff91cdd-ee5f-4daf-8393-87e15f22f456 01:37:13 01:37:13 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:37:13 01:37:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:37:13 01:37:13 [Pipeline] } 01:37:13 $ docker stop --time=1 bd3fb8cc328a7fc2f59fe5e68ca7b6cefc47d16d00bea45b99cab500838f6bbf 01:37:16 $ docker rm -f bd3fb8cc328a7fc2f59fe5e68ca7b6cefc47d16d00bea45b99cab500838f6bbf [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 01:37:16 + git log --format=format:%s -1 1094f563edbbc5735ff7ad494c47030b36b4872c [Pipeline] sh 01:37:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:37:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:17 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:17 $ 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 01:37:18 $ docker top e79d5335bb223b46e7f2a74a1191ccf32dd361f4c88198c11c4df1b86940c0ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:18 [ssh-agent] Looking for ssh-agent implementation... 01:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:18 $ docker exec e79d5335bb223b46e7f2a74a1191ccf32dd361f4c88198c11c4df1b86940c0ab ssh-agent 01:37:18 SSH_AUTH_SOCK=/tmp/ssh-6ggcG2Djtud9/agent.34 01:37:18 SSH_AGENT_PID=40 01:37:18 Running ssh-add (command line suppressed) 01:37:18 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6175400146097044536.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6175400146097044536.key) 01:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:18 + git semver tag 01:37:19 2022-08-15 01:37:18,981 [run_tag] DEBUG tag force:False 01:37:19 2022-08-15 01:37:18,981 [check_head_tag] DEBUG check head tag 01:37:19 2022-08-15 01:37:18,982 [execute] INFO git cat-file --batch-check 01:37:19 2022-08-15 01:37:18,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:37:19 2022-08-15 01:37:18,985 [execute] INFO git cat-file --batch 01:37:19 2022-08-15 01:37:18,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 01:37:19 2022-08-15 01:37:18,994 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:19 2022-08-15 01:37:18,994 [execute] INFO git tag -a v2.3.0-dev.7 -m v2.3.0-dev.7 01:37:19 2022-08-15 01:37:18,994 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.7', '-m', 'v2.3.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:37:19 2022-08-15 01:37:19,000 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:19 2.3.0-dev.7 [Pipeline] } 01:37:19 $ docker exec --env ******** --env ******** e79d5335bb223b46e7f2a74a1191ccf32dd361f4c88198c11c4df1b86940c0ab ssh-agent -k 01:37:19 unset SSH_AUTH_SOCK; 01:37:19 unset SSH_AGENT_PID; 01:37:19 echo Agent pid 40 killed; 01:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:19 + git semver [Pipeline] } 01:37:19 $ docker stop --time=1 e79d5335bb223b46e7f2a74a1191ccf32dd361f4c88198c11c4df1b86940c0ab 01:37:21 $ docker rm -f e79d5335bb223b46e7f2a74a1191ccf32dd361f4c88198c11c4df1b86940c0ab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:37:21 01:37:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:37:21 0.23.1-centos7: Pulling from edgex-lftools 01:37:21 ab5ef0e58194: Pulling fs layer 01:37:21 9712f1f96733: Pulling fs layer 01:37:21 63f879dbbcfc: Pulling fs layer 01:37:21 0d9ebad4ef96: Pulling fs layer 01:37:21 e9a5061849ea: Pulling fs layer 01:37:21 d747dcd14b5f: Pulling fs layer 01:37:21 2de7ff778b66: Pulling fs layer 01:37:21 e9a5061849ea: Waiting 01:37:21 d747dcd14b5f: Waiting 01:37:21 2de7ff778b66: Waiting 01:37:21 0d9ebad4ef96: Waiting 01:37:21 9712f1f96733: Verifying Checksum 01:37:21 9712f1f96733: Download complete 01:37:22 63f879dbbcfc: Verifying Checksum 01:37:22 63f879dbbcfc: Download complete 01:37:22 e9a5061849ea: Verifying Checksum 01:37:22 e9a5061849ea: Download complete 01:37:22 d747dcd14b5f: Verifying Checksum 01:37:22 d747dcd14b5f: Download complete 01:37:22 ab5ef0e58194: Verifying Checksum 01:37:22 ab5ef0e58194: Download complete 01:37:22 0d9ebad4ef96: Verifying Checksum 01:37:22 0d9ebad4ef96: Download complete 01:37:22 2de7ff778b66: Verifying Checksum 01:37:22 2de7ff778b66: Download complete 01:37:24 ab5ef0e58194: Pull complete 01:37:24 9712f1f96733: Pull complete 01:37:25 63f879dbbcfc: Pull complete 01:37:29 0d9ebad4ef96: Pull complete 01:37:29 e9a5061849ea: Pull complete 01:37:29 d747dcd14b5f: Pull complete 01:37:30 2de7ff778b66: Pull complete 01:37:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:37:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:37:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:30 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:30 $ 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 01:37:33 $ docker top 22de1ef332af2c6947be5f10a2cad036d937872f81ec28c0eaa1d9a7424d821a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:37:33 provisioning config files... 01:37:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2608829975486869263tmp 01:37:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4325850880170032902tmp 01:37:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config781187937570687522tmp [Pipeline] { [Pipeline] echo 01:37:33 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:37:33 ---> sigul-configuration.sh 01:37:33 gpg: directory `/root/.gnupg' created 01:37:33 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:37:33 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:37:33 gpg: keyring `/root/.gnupg/secring.gpg' created 01:37:33 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:37:33 gpg: CAST5 encrypted data 01:37:33 gpg: encrypted with 1 passphrase 01:37:33 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:37:33 + mkdir /home/jenkins 01:37:33 + mkdir /home/jenkins/sigul [Pipeline] sh 01:37:34 + 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 01:37:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:37:34 ---> sigul-install.sh 01:37:34 Sigul already installed; skipping installation. [Pipeline] sh 01:37:34 + git tag --list 01:37:34 v1.0.0 01:37:34 v2.1.0 01:37:34 v2.1.1 01:37:34 v2.1.1-dev.1 01:37:34 v2.2.0 01:37:34 v2.2.1-dev.1 01:37:34 v2.2.1-dev.2 01:37:34 v2.2.1-dev.3 01:37:34 v2.2.1-dev.4 01:37:34 v2.3.0-dev.4 01:37:34 v2.3.0-dev.5 01:37:34 v2.3.0-dev.6 01:37:34 v2.3.0-dev.7 [Pipeline] sh 01:37:34 + lftools sign git-tag v2.3.0-dev.7 01:37:35 Signing Git tag with Sigul... 01:37:35 Signing v2.3.0-dev.7 [Pipeline] echo 01:37:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:37:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:37:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:37:36 $ docker stop --time=1 22de1ef332af2c6947be5f10a2cad036d937872f81ec28c0eaa1d9a7424d821a 01:37:37 $ docker rm -f 22de1ef332af2c6947be5f10a2cad036d937872f81ec28c0eaa1d9a7424d821a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:37:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:37:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:38 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:38 $ 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 01:37:38 $ docker top 8972438ef2c4dffa17b5b65cf403d70a1055149799ab9ff48a9d52d2680d0b12 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:37:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:39 [ssh-agent] Looking for ssh-agent implementation... 01:37:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:39 $ docker exec 8972438ef2c4dffa17b5b65cf403d70a1055149799ab9ff48a9d52d2680d0b12 ssh-agent 01:37:39 SSH_AUTH_SOCK=/tmp/ssh-oYkEzCROGx7S/agent.33 01:37:39 SSH_AGENT_PID=39 01:37:39 Running ssh-add (command line suppressed) 01:37:39 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3493719172541718825.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3493719172541718825.key) 01:37:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:39 + git semver bump pre 01:37:39 2022-08-15 01:37:39,855 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:39 2022-08-15 01:37:39,855 [bump_version] DEBUG bumping version:2.3.0-dev.7 on axis:pre with prefix:dev 01:37:39 2022-08-15 01:37:39,856 [bump_version] DEBUG bumped version:2.3.0-dev.8 01:37:39 2022-08-15 01:37:39,856 [write_version] DEBUG write version:2.3.0-dev.8 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 01:37:39 2022-08-15 01:37:39,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:39 2022-08-15 01:37:39,856 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:39 2022-08-15 01:37:39,857 [execute] INFO git cat-file --batch-check 01:37:39 2022-08-15 01:37:39,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:37:39 2022-08-15 01:37:39,863 [execute] INFO git cat-file --batch 01:37:39 2022-08-15 01:37:39,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:37:39 2022-08-15 01:37:39,867 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:39 2.3.0-dev.8 [Pipeline] } 01:37:39 $ docker exec --env ******** --env ******** 8972438ef2c4dffa17b5b65cf403d70a1055149799ab9ff48a9d52d2680d0b12 ssh-agent -k 01:37:40 unset SSH_AUTH_SOCK; 01:37:40 unset SSH_AGENT_PID; 01:37:40 echo Agent pid 39 killed; 01:37:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:40 + git semver [Pipeline] } 01:37:40 $ docker stop --time=1 8972438ef2c4dffa17b5b65cf403d70a1055149799ab9ff48a9d52d2680d0b12 01:37:42 $ docker rm -f 8972438ef2c4dffa17b5b65cf403d70a1055149799ab9ff48a9d52d2680d0b12 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:37:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:37:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:42 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:42 $ 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 01:37:43 $ docker top 042c3678705e42101e7ac84296903668d60706938e7ce629ae9fa169906c66e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:37:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:43 [ssh-agent] Looking for ssh-agent implementation... 01:37:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:43 $ docker exec 042c3678705e42101e7ac84296903668d60706938e7ce629ae9fa169906c66e7 ssh-agent 01:37:43 SSH_AUTH_SOCK=/tmp/ssh-r6S75lruNwUY/agent.33 01:37:43 SSH_AGENT_PID=39 01:37:43 Running ssh-add (command line suppressed) 01:37:43 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8318499088635276601.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8318499088635276601.key) 01:37:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:43 + git semver push 01:37:44 2022-08-15 01:37:44,184 [run_push] DEBUG push 01:37:44 2022-08-15 01:37:44,185 [execute] INFO git cat-file --batch-check 01:37:44 2022-08-15 01:37:44,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 01:37:44 2022-08-15 01:37:44,188 [execute] INFO git rev-list 3f81a08adcdd1d69eae3c81e2e50d4313f344dea -- 01:37:44 2022-08-15 01:37:44,188 [execute] DEBUG Popen(['git', 'rev-list', '3f81a08adcdd1d69eae3c81e2e50d4313f344dea', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:37:44 2022-08-15 01:37:44,193 [execute] INFO git fetch -v origin 01:37:44 2022-08-15 01:37:44,193 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 01:37:44 2022-08-15 01:37:44,672 [run_push] DEBUG no remote changes detected 01:37:44 2022-08-15 01:37:44,672 [execute] INFO git push origin semver 01:37:44 2022-08-15 01:37:44,673 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 01:37:45 2022-08-15 01:37:45,397 [run_push] DEBUG push all version tags 01:37:45 2022-08-15 01:37:45,397 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:37:45 2022-08-15 01:37:45,398 [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) 01:37:46 2022-08-15 01:37:46,103 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:37:46 2.3.0-dev.8 [Pipeline] } 01:37:46 $ docker exec --env ******** --env ******** 042c3678705e42101e7ac84296903668d60706938e7ce629ae9fa169906c66e7 ssh-agent -k 01:37:46 unset SSH_AUTH_SOCK; 01:37:46 unset SSH_AGENT_PID; 01:37:46 echo Agent pid 39 killed; 01:37:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:46 + git semver [Pipeline] } 01:37:47 $ docker stop --time=1 042c3678705e42101e7ac84296903668d60706938e7ce629ae9fa169906c66e7 01:37:48 $ docker rm -f 042c3678705e42101e7ac84296903668d60706938e7ce629ae9fa169906c66e7 [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 01:37:48 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 01:37:48 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:37:48 total 16 01:37:48 drwxr-xr-x 3 root root 4096 Aug 15 01:26 . 01:37:48 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:37 .. 01:37:48 drwxr-xr-x 2 root root 4096 Aug 15 01:26 cost 01:37:48 -rw-r--r-- 1 root root 82 Aug 15 01:26 cost.csv 01:37:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 01:37:48 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 01:37:48 total 16 01:37:48 drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:26 . 01:37:48 drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:37 .. 01:37:48 drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 01:26 cost 01:37:48 -rw-r--r-- 1 jenkins jenkins 82 Aug 15 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:37:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:37:50 ---> package-listing.sh 01:37:50 ++ facter osfamily 01:37:50 ++ tr '[:upper:]' '[:lower:]' 01:37:50 + OS_FAMILY=debian 01:37:50 + workspace=/w/workspace/edgexfoundry_device-gpio_main 01:37:50 + START_PACKAGES=/tmp/packages_start.txt 01:37:50 + END_PACKAGES=/tmp/packages_end.txt 01:37:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:37:50 + PACKAGES=/tmp/packages_start.txt 01:37:50 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:37:50 + PACKAGES=/tmp/packages_end.txt 01:37:50 + case "${OS_FAMILY}" in 01:37:50 + dpkg -l 01:37:50 + grep '^ii' 01:37:50 + '[' -f /tmp/packages_start.txt ']' 01:37:50 + '[' -f /tmp/packages_end.txt ']' 01:37:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:37:50 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 01:37:50 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 01:37:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 01:37:50 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 01:37:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:51 prd-ubuntu20.04-docker-8c-8g-22744 does not seem to be running inside a container 01:37:51 $ 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 01:37:51 $ docker top 0c2d27c2e5d29ea8282e8717b84cf04740f5704c6189635d758de50e51a3ff44 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:51 + touch /tmp/pre-build-complete [Pipeline] sh 01:37:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:37:52 + ls /var/log/sa-host 01:37:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:52 provisioning config files... 01:37:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7838494193237248974tmp [Pipeline] { [Pipeline] echo 01:37:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:37:53 ---> create-netrc.sh [Pipeline] } 01:37:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:37:53 ---> python-tools-install.sh [Pipeline] echo 01:37:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:37:53 ---> sudo-logs.sh 01:37:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:37:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:37:53 ---> job-cost.sh 01:37:53 lf-activate-venv: SKIPPING 01:37:53 DEBUG: total: 0.2199999988079071 01:37:53 INFO: Retrieving Stack Cost... 01:37:54 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:54 INFO: Archiving Costs [Pipeline] echo 01:37:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:37:55 ---> logs-deploy.sh 01:37:55 lf-activate-venv: SKIPPING 01:37:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/37 01:37:55 INFO: archiving workspace using pattern(s): 01:37:56 Archives upload complete. 01:37:56 INFO: archiving logs to Nexus