Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 025748471a1121a914633fcbecc3eb79c80c4329 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-ssh3448610821771584134.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-ssh13003929026630247302.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-ssh8020548875127464101.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-ssh103722362071472326.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh10797114191835671624.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-20349 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 025748471a1121a914633fcbecc3eb79c80c4329 (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 025748471a1121a914633fcbecc3eb79c80c4329 # timeout=10 Commit message: "Merge pull request #47 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" > git rev-list --no-walk 438e9b89ef4afb0993607790962057af5e89a430 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-18T01:29:06.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-18T01:29:06.225Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-18T01:29:06.244Z] ========================================================= [2022-07-18T01:29:06.244Z] EdgeX Global Pipelines Version Info [2022-07-18T01:29:06.244Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:29:07.042Z] ------------------- [2022-07-18T01:29:07.042Z] stable info: [2022-07-18T01:29:07.042Z] ------------------- [2022-07-18T01:29:07.042Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T01:29:07.042Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T01:29:07.042Z] Message: update stable to v1.0.238 [2022-07-18T01:29:07.618Z] ------------------- [2022-07-18T01:29:07.618Z] experimental info: [2022-07-18T01:29:07.618Z] ------------------- [2022-07-18T01:29:07.618Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-18T01:29:07.618Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-18T01:29:07.618Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-18T01:29:07.891Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2022-07-18T01:29:07.904Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2022-07-18T01:29:07.922Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-18T01:29:07.935Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-18T01:29:07.953Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-18T01:29:07.968Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-18T01:29:07.980Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-18T01:29:07.995Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-18T01:29:08.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-18T01:29:08.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-18T01:29:08.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-18T01:29:08.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2022-07-18T01:29:08.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-18T01:29:08.084Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-18T01:29:08.102Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T01:29:08.112Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-18T01:29:08.125Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T01:29:08.136Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-18T01:29:08.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-18T01:29:08.165Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-18T01:29:08.178Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-18T01:29:08.189Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-18T01:29:08.200Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-18T01:29:08.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-18T01:29:08.228Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-18T01:29:08.241Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-18T01:29:08.253Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-18T01:29:08.266Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-07-18T01:29:08.280Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-07-18T01:29:08.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-07-18T01:29:08.313Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] echo [2022-07-18T01:29:08.329Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0257484 [Pipeline] echo [2022-07-18T01:29:08.344Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:29:08.392Z] provisioning config files... [2022-07-18T01:29:08.408Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5617812596170931934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:29:08.718Z] ---> docker-login.sh [2022-07-18T01:29:08.719Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:29:08.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:08.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:08.979Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:08.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:08.979Z] [2022-07-18T01:29:08.979Z] Login Succeeded [2022-07-18T01:29:08.979Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:29:09.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:09.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:09.241Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:09.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:09.241Z] [2022-07-18T01:29:09.241Z] Login Succeeded [2022-07-18T01:29:09.241Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:29:09.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:09.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:09.241Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:09.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:09.241Z] [2022-07-18T01:29:09.241Z] Login Succeeded [2022-07-18T01:29:09.241Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:29:09.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:09.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:09.503Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:09.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:09.503Z] [2022-07-18T01:29:09.503Z] Login Succeeded [2022-07-18T01:29:09.503Z] docker.io [2022-07-18T01:29:09.503Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:10.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:10.076Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:10.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:10.076Z] [2022-07-18T01:29:10.076Z] Login Succeeded [2022-07-18T01:29:10.076Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:29:10.085Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-18T01:29:10.458Z] + git rev-list -1 --merges 025748471a1121a914633fcbecc3eb79c80c4329~1..025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] echo [2022-07-18T01:29:10.488Z] -----------> git rev-list -1 --merges 025748471a1121a914633fcbecc3eb79c80c4329~1..025748471a1121a914633fcbecc3eb79c80c4329 025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:29:10.488Z] 025748471a1121a914633fcbecc3eb79c80c4329 [false] [Pipeline] sh [2022-07-18T01:29:10.787Z] + git log --format=format:%s -1 025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] echo [2022-07-18T01:29:10.804Z] ========================================================= [2022-07-18T01:29:10.804Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-18T01:29:10.804Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T01:29:11.137Z] + git log --format=format:%s -1 025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] echo [2022-07-18T01:29:11.150Z] [semverPrep] GIT_COMMIT: 025748471a1121a914633fcbecc3eb79c80c4329, Commit Message: Merge pull request #47 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14 [Pipeline] echo [2022-07-18T01:29:11.160Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-18T01:29:11.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T01:29:11.532Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-18T01:29:11.532Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-18T01:29:11.532Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-18T01:29:11.532Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-18T01:29:11.532Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-18T01:29:11.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:29:11.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:29:11.954Z] [2022-07-18T01:29:11.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:29:12.257Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:29:12.258Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-18T01:29:12.258Z] b85a868b505f: Pulling fs layer [2022-07-18T01:29:12.258Z] e2be974225ed: Pulling fs layer [2022-07-18T01:29:12.258Z] 339a4e72a1f5: Pulling fs layer [2022-07-18T01:29:12.258Z] 988bab9f4d93: Pulling fs layer [2022-07-18T01:29:12.258Z] 1469e6f7b9e6: Pulling fs layer [2022-07-18T01:29:12.258Z] eaf3925da568: Pulling fs layer [2022-07-18T01:29:12.258Z] bab4dde63d76: Pulling fs layer [2022-07-18T01:29:12.258Z] bde34c3a00c8: Pulling fs layer [2022-07-18T01:29:12.258Z] b352a97aabf1: Pulling fs layer [2022-07-18T01:29:12.258Z] 4872d77fe225: Pulling fs layer [2022-07-18T01:29:12.258Z] 5851b861e8e6: Pulling fs layer [2022-07-18T01:29:12.258Z] 1469e6f7b9e6: Waiting [2022-07-18T01:29:12.258Z] eaf3925da568: Waiting [2022-07-18T01:29:12.258Z] bab4dde63d76: Waiting [2022-07-18T01:29:12.258Z] bde34c3a00c8: Waiting [2022-07-18T01:29:12.258Z] b352a97aabf1: Waiting [2022-07-18T01:29:12.258Z] 4872d77fe225: Waiting [2022-07-18T01:29:12.258Z] 5851b861e8e6: Waiting [2022-07-18T01:29:12.258Z] e2be974225ed: Verifying Checksum [2022-07-18T01:29:12.258Z] e2be974225ed: Download complete [2022-07-18T01:29:12.258Z] 988bab9f4d93: Verifying Checksum [2022-07-18T01:29:12.258Z] 988bab9f4d93: Download complete [2022-07-18T01:29:12.520Z] 1469e6f7b9e6: Verifying Checksum [2022-07-18T01:29:12.520Z] 1469e6f7b9e6: Download complete [2022-07-18T01:29:12.520Z] 339a4e72a1f5: Verifying Checksum [2022-07-18T01:29:12.520Z] 339a4e72a1f5: Download complete [2022-07-18T01:29:12.520Z] eaf3925da568: Download complete [2022-07-18T01:29:12.520Z] bde34c3a00c8: Verifying Checksum [2022-07-18T01:29:12.520Z] bde34c3a00c8: Download complete [2022-07-18T01:29:12.520Z] b352a97aabf1: Download complete [2022-07-18T01:29:12.520Z] 4872d77fe225: Verifying Checksum [2022-07-18T01:29:12.520Z] 4872d77fe225: Download complete [2022-07-18T01:29:12.520Z] 5851b861e8e6: Download complete [2022-07-18T01:29:12.520Z] b85a868b505f: Verifying Checksum [2022-07-18T01:29:12.520Z] b85a868b505f: Download complete [2022-07-18T01:29:12.781Z] bab4dde63d76: Verifying Checksum [2022-07-18T01:29:12.781Z] bab4dde63d76: Download complete [2022-07-18T01:29:14.172Z] b85a868b505f: Pull complete [2022-07-18T01:29:14.172Z] e2be974225ed: Pull complete [2022-07-18T01:29:14.743Z] 339a4e72a1f5: Pull complete [2022-07-18T01:29:14.743Z] 988bab9f4d93: Pull complete [2022-07-18T01:29:15.318Z] 1469e6f7b9e6: Pull complete [2022-07-18T01:29:15.318Z] eaf3925da568: Pull complete [2022-07-18T01:29:17.239Z] bab4dde63d76: Pull complete [2022-07-18T01:29:17.500Z] bde34c3a00c8: Pull complete [2022-07-18T01:29:17.500Z] b352a97aabf1: Pull complete [2022-07-18T01:29:17.763Z] 4872d77fe225: Pull complete [2022-07-18T01:29:17.763Z] 5851b861e8e6: Pull complete [2022-07-18T01:29:17.763Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-18T01:29:17.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:29:17.763Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:29:17.877Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:29:17.908Z] $ 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 [2022-07-18T01:29:19.463Z] $ docker top cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f -eo pid,comm [2022-07-18T01:29:19.549Z] 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). [2022-07-18T01:29:19.549Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T01:29:19.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:29:19.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:29:19.715Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:29:19.705Z] $ docker exec cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f ssh-agent [2022-07-18T01:29:19.848Z] SSH_AUTH_SOCK=/tmp/ssh-HpRZekx8Xkyg/agent.32 [2022-07-18T01:29:19.848Z] SSH_AGENT_PID=38 [2022-07-18T01:29:19.856Z] Running ssh-add (command line suppressed) [2022-07-18T01:29:19.967Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8963298676725874509.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8963298676725874509.key) [2022-07-18T01:29:19.997Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:29:20.291Z] + git tag --points-at HEAD [Pipeline] } [2022-07-18T01:29:20.299Z] $ docker exec --env ******** --env ******** cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f ssh-agent -k [2022-07-18T01:29:20.417Z] unset SSH_AUTH_SOCK; [2022-07-18T01:29:20.418Z] unset SSH_AGENT_PID; [2022-07-18T01:29:20.418Z] echo Agent pid 38 killed; [2022-07-18T01:29:20.447Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-18T01:29:20.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:29:20.471Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:29:20.603Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:29:20.594Z] $ docker exec cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f ssh-agent [2022-07-18T01:29:20.748Z] SSH_AUTH_SOCK=/tmp/ssh-Z5DdL397FmoD/agent.71 [2022-07-18T01:29:20.748Z] SSH_AGENT_PID=77 [2022-07-18T01:29:20.754Z] Running ssh-add (command line suppressed) [2022-07-18T01:29:20.873Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5807974126601477331.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5807974126601477331.key) [2022-07-18T01:29:20.903Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:29:21.194Z] + git semver init [2022-07-18T01:29:21.453Z] 2022-07-18 01:29:21,401 [run_init] DEBUG init version:0.0.0 force:False [2022-07-18T01:29:21.454Z] 2022-07-18 01:29:21,402 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2022-07-18T01:29:21.454Z] 2022-07-18 01:29:21,403 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2022-07-18T01:29:21.454Z] 2022-07-18 01:29:21,403 [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) [2022-07-18T01:29:22.395Z] 2022-07-18 01:29:22,261 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2022-07-18T01:29:22.395Z] 2022-07-18 01:29:22,262 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2022-07-18T01:29:22.396Z] 2022-07-18 01:29:22,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:29:22.396Z] 2022-07-18 01:29:22,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:29:22.396Z] 2.2.1-dev.4 [Pipeline] } [2022-07-18T01:29:22.396Z] $ docker exec --env ******** --env ******** cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f ssh-agent -k [2022-07-18T01:29:22.506Z] unset SSH_AUTH_SOCK; [2022-07-18T01:29:22.506Z] unset SSH_AGENT_PID; [2022-07-18T01:29:22.506Z] echo Agent pid 77 killed; [2022-07-18T01:29:22.530Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T01:29:22.840Z] + git semver [Pipeline] } [2022-07-18T01:29:23.106Z] $ docker stop --time=1 cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f [2022-07-18T01:29:24.433Z] $ docker rm -f cd3eb8b897facba954a9b9209b7a7ea8962d065b52411599e24d8b0066d5019f [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:29:24.805Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-18T01:29:25.084Z] Stashed 1 file(s) [Pipeline] echo [2022-07-18T01:29:25.086Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 [2022-07-18T01:29:25.234Z] provisioning config files... [2022-07-18T01:29:25.246Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3996829714514589725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:29:25.547Z] ---> docker-login.sh [2022-07-18T01:29:25.547Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:29:25.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:25.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:25.547Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:25.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:25.547Z] [2022-07-18T01:29:25.547Z] Login Succeeded [2022-07-18T01:29:25.547Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:29:25.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:25.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:25.809Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:25.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:25.809Z] [2022-07-18T01:29:25.809Z] Login Succeeded [2022-07-18T01:29:25.809Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:29:25.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:25.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:25.809Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:25.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:25.809Z] [2022-07-18T01:29:25.809Z] Login Succeeded [2022-07-18T01:29:25.809Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:29:26.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:26.071Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:26.071Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:26.071Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:26.071Z] [2022-07-18T01:29:26.071Z] Login Succeeded [2022-07-18T01:29:26.071Z] docker.io [2022-07-18T01:29:26.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:29:26.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:29:26.332Z] Configure a credential helper to remove this warning. See [2022-07-18T01:29:26.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:29:26.332Z] [2022-07-18T01:29:26.332Z] Login Succeeded [2022-07-18T01:29:26.593Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:29:26.603Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T01:29:26.664Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:29:26.675Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:29:26.681Z] ========================================================= [2022-07-18T01:29:26.681Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-18T01:29:26.681Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:29:27.017Z] + 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 . [2022-07-18T01:29:27.017Z] Sending build context to Docker daemon 15.75MB [2022-07-18T01:29:27.017Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:29:27.017Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T01:29:27.282Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-18T01:29:27.282Z] 2408cc74d12b: Pulling fs layer [2022-07-18T01:29:27.282Z] ea60b727a1ce: Pulling fs layer [2022-07-18T01:29:27.282Z] 30c4a7721957: Pulling fs layer [2022-07-18T01:29:27.282Z] 370296b7ddb6: Pulling fs layer [2022-07-18T01:29:27.282Z] 7c6cee850709: Pulling fs layer [2022-07-18T01:29:27.282Z] 39a5fcdaea64: Pulling fs layer [2022-07-18T01:29:27.282Z] d94ebbe4e438: Pulling fs layer [2022-07-18T01:29:27.282Z] bcfd1f05c69d: Pulling fs layer [2022-07-18T01:29:27.282Z] 59ccb84bbe0f: Pulling fs layer [2022-07-18T01:29:27.282Z] 7c6cee850709: Waiting [2022-07-18T01:29:27.282Z] bcfd1f05c69d: Waiting [2022-07-18T01:29:27.282Z] 59ccb84bbe0f: Waiting [2022-07-18T01:29:27.282Z] 39a5fcdaea64: Waiting [2022-07-18T01:29:27.282Z] d94ebbe4e438: Waiting [2022-07-18T01:29:27.282Z] 370296b7ddb6: Waiting [2022-07-18T01:29:27.282Z] 30c4a7721957: Download complete [2022-07-18T01:29:27.282Z] ea60b727a1ce: Download complete [2022-07-18T01:29:27.282Z] 7c6cee850709: Verifying Checksum [2022-07-18T01:29:27.282Z] 7c6cee850709: Download complete [2022-07-18T01:29:27.282Z] 39a5fcdaea64: Verifying Checksum [2022-07-18T01:29:27.282Z] 39a5fcdaea64: Download complete [2022-07-18T01:29:27.282Z] 2408cc74d12b: Download complete [2022-07-18T01:29:27.282Z] d94ebbe4e438: Verifying Checksum [2022-07-18T01:29:27.282Z] d94ebbe4e438: Download complete [2022-07-18T01:29:27.282Z] 2408cc74d12b: Pull complete [2022-07-18T01:29:27.549Z] ea60b727a1ce: Pull complete [2022-07-18T01:29:27.549Z] 30c4a7721957: Pull complete [2022-07-18T01:29:27.811Z] 59ccb84bbe0f: Verifying Checksum [2022-07-18T01:29:27.812Z] 59ccb84bbe0f: Download complete [2022-07-18T01:29:27.812Z] bcfd1f05c69d: Verifying Checksum [2022-07-18T01:29:27.812Z] bcfd1f05c69d: Download complete [2022-07-18T01:29:28.071Z] 370296b7ddb6: Verifying Checksum [2022-07-18T01:29:28.071Z] 370296b7ddb6: Download complete [2022-07-18T01:29:32.271Z] 370296b7ddb6: Pull complete [2022-07-18T01:29:32.271Z] 7c6cee850709: Pull complete [2022-07-18T01:29:32.271Z] 39a5fcdaea64: Pull complete [2022-07-18T01:29:32.271Z] d94ebbe4e438: Pull complete [2022-07-18T01:29:34.831Z] bcfd1f05c69d: Pull complete [2022-07-18T01:29:35.403Z] 59ccb84bbe0f: Pull complete [2022-07-18T01:29:35.403Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-18T01:29:35.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-18T01:29:35.403Z] ---> a4fb48ad2a94 [2022-07-18T01:29:35.403Z] Step 3/12 : ARG MAKE="make build" [2022-07-18T01:29:37.321Z] ---> Running in e90ed53f5bcd [2022-07-18T01:29:37.321Z] Removing intermediate container e90ed53f5bcd [2022-07-18T01:29:37.321Z] ---> 7b99e89de898 [2022-07-18T01:29:37.321Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:29:37.321Z] ---> Running in 74923ecf0526 [2022-07-18T01:29:37.582Z] Removing intermediate container 74923ecf0526 [2022-07-18T01:29:37.582Z] ---> 383aeb0883d0 [2022-07-18T01:29:37.582Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:29:37.582Z] ---> Running in d7b0c08f5447 [2022-07-18T01:29:37.582Z] Removing intermediate container d7b0c08f5447 [2022-07-18T01:29:37.582Z] ---> ee097f887166 [2022-07-18T01:29:37.582Z] Step 6/12 : WORKDIR /device-gpio [2022-07-18T01:29:37.582Z] ---> Running in 06968e01aa4b [2022-07-18T01:29:37.845Z] Removing intermediate container 06968e01aa4b [2022-07-18T01:29:37.845Z] ---> d8f8836d5959 [2022-07-18T01:29:37.845Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:29:37.845Z] ---> Running in 40fa5a147bb9 [2022-07-18T01:29:38.418Z] Removing intermediate container 40fa5a147bb9 [2022-07-18T01:29:38.418Z] ---> f99eec92e79d [2022-07-18T01:29:38.418Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:29:38.418Z] ---> Running in 528c15a7f245 [2022-07-18T01:29:38.680Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:29:39.625Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:29:39.886Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T01:29:40.149Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T01:29:40.149Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T01:29:40.149Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T01:29:40.186Z] Still waiting to schedule task [2022-07-18T01:29:40.186Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-18T01:29:40.411Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:29:40.411Z] OK: 216 MiB in 55 packages [2022-07-18T01:29:40.672Z] Removing intermediate container 528c15a7f245 [2022-07-18T01:29:40.672Z] ---> bf393d446488 [2022-07-18T01:29:40.672Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T01:29:40.933Z] ---> 27a7e330fd82 [2022-07-18T01:29:40.933Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:29:40.933Z] ---> Running in 7177c32f45d1 [2022-07-18T01:29:59.069Z] Removing intermediate container 7177c32f45d1 [2022-07-18T01:29:59.069Z] ---> ce4ae692eefa [2022-07-18T01:29:59.069Z] Step 11/12 : COPY . . [2022-07-18T01:29:59.069Z] ---> aadba3022a7a [2022-07-18T01:29:59.069Z] Step 12/12 : RUN ${MAKE} [2022-07-18T01:29:59.069Z] ---> Running in 2e2653918a32 [2022-07-18T01:29:59.069Z] noop [2022-07-18T01:29:59.069Z] Removing intermediate container 2e2653918a32 [2022-07-18T01:29:59.069Z] ---> 8fb5a217a56c [2022-07-18T01:29:59.069Z] Successfully built 8fb5a217a56c [2022-07-18T01:29:59.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:29:59.399Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T01:29:59.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:29:59.486Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:29:59.529Z] $ 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 [2022-07-18T01:29:59.931Z] $ docker top 8229d812ed8fc562d7bc1e16f78e728146240cd90c0afb662e838d803f4dbff3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:30:00.290Z] + go version [2022-07-18T01:30:00.290Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-18T01:30:00.309Z] $ docker stop --time=1 8229d812ed8fc562d7bc1e16f78e728146240cd90c0afb662e838d803f4dbff3 [2022-07-18T01:30:01.628Z] $ docker rm -f 8229d812ed8fc562d7bc1e16f78e728146240cd90c0afb662e838d803f4dbff3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:30:02.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-18T01:30:02.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:30:02.204Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:30:02.260Z] $ 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 [2022-07-18T01:30:02.700Z] $ docker top 12908e544b917fa1c193846a984f0d49c7197263fda8d98d25b658c303f323e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:30:03.055Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2022-07-18T01:30:03.361Z] + make test [2022-07-18T01:30:03.361Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T01:30:03.621Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-18T01:30:13.608Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-18T01:30:13.608Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-18T01:30:20.200Z] 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." [2022-07-18T01:30:20.200Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T01:30:24.411Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T01:30:24.411Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T01:30:24.411Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T01:30:24.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T01:30:24.450Z] $ docker stop --time=1 12908e544b917fa1c193846a984f0d49c7197263fda8d98d25b658c303f323e3 [2022-07-18T01:30:26.254Z] $ docker rm -f 12908e544b917fa1c193846a984f0d49c7197263fda8d98d25b658c303f323e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:30:26.708Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T01:30:26.747Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-18T01:30:27.262Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T01:30:27.557Z] + ls -al . [2022-07-18T01:30:27.557Z] total 160 [2022-07-18T01:30:27.557Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 01:30 . [2022-07-18T01:30:27.557Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:29 .. [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:29 .dockerignore [2022-07-18T01:30:27.557Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:30 .git [2022-07-18T01:30:27.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:29 .github [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:29 .gitignore [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:29 .golangci.yml [2022-07-18T01:30:27.557Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:29 .semver [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:29 Attribution.txt [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:29 CHANGELOG.md [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:29 Dockerfile [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:29 GOVERNANCE.md [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:29 Jenkinsfile [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:29 LICENSE [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:29 Makefile [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:29 OWNERS.md [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:29 README.md [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 01:29 VERSION [2022-07-18T01:30:27.557Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:29 bin [2022-07-18T01:30:27.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:29 cmd [2022-07-18T01:30:27.557Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:30 coverage.out [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 3288 Jul 18 01:29 go.mod [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 35450 Jul 18 01:29 go.sum [2022-07-18T01:30:27.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:29 internal [2022-07-18T01:30:27.557Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:29 snap [2022-07-18T01:30:27.557Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:30:27.877Z] + 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=025748471a1121a914633fcbecc3eb79c80c4329 --label arch=amd64 --label version=2.2.1-dev.4 . [2022-07-18T01:30:27.877Z] Sending build context to Docker daemon 15.76MB [2022-07-18T01:30:27.877Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:30:27.877Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T01:30:27.877Z] ---> 8fb5a217a56c [2022-07-18T01:30:27.877Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T01:30:28.138Z] ---> Running in a8278a4faadd [2022-07-18T01:30:28.138Z] Removing intermediate container a8278a4faadd [2022-07-18T01:30:28.138Z] ---> 0fcf726be527 [2022-07-18T01:30:28.138Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:30:28.138Z] ---> Running in 07893283180b [2022-07-18T01:30:28.138Z] Removing intermediate container 07893283180b [2022-07-18T01:30:28.138Z] ---> cdfef1d74a44 [2022-07-18T01:30:28.138Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:30:28.409Z] ---> Running in 88ccbee9a338 [2022-07-18T01:30:28.409Z] Removing intermediate container 88ccbee9a338 [2022-07-18T01:30:28.409Z] ---> 1d00218ba1ce [2022-07-18T01:30:28.409Z] Step 6/26 : WORKDIR /device-gpio [2022-07-18T01:30:28.409Z] ---> Running in c796a8e12a7d [2022-07-18T01:30:28.409Z] Removing intermediate container c796a8e12a7d [2022-07-18T01:30:28.409Z] ---> ff6a4e2b46f9 [2022-07-18T01:30:28.409Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:30:28.671Z] ---> Running in 7d4a95fbafb2 [2022-07-18T01:30:29.244Z] Removing intermediate container 7d4a95fbafb2 [2022-07-18T01:30:29.244Z] ---> a4e817fed3b5 [2022-07-18T01:30:29.244Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:30:29.244Z] ---> Running in 7a9757e3a816 [2022-07-18T01:30:29.506Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:30:30.453Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:30:30.720Z] OK: 216 MiB in 55 packages [2022-07-18T01:30:30.982Z] Removing intermediate container 7a9757e3a816 [2022-07-18T01:30:30.982Z] ---> 52dbfe6ca7b3 [2022-07-18T01:30:30.982Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-18T01:30:30.982Z] ---> 1ccd3499c961 [2022-07-18T01:30:30.982Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:30:31.242Z] ---> Running in 3784dbfe2622 [2022-07-18T01:30:31.812Z] Removing intermediate container 3784dbfe2622 [2022-07-18T01:30:31.813Z] ---> ac2b861832f0 [2022-07-18T01:30:31.813Z] Step 11/26 : COPY . . [2022-07-18T01:30:32.384Z] ---> 2360e1fb3feb [2022-07-18T01:30:32.384Z] Step 12/26 : RUN ${MAKE} [2022-07-18T01:30:32.384Z] ---> Running in fd480994748d [2022-07-18T01:30:32.643Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-18T01:30:54.612Z] Removing intermediate container fd480994748d [2022-07-18T01:30:54.612Z] ---> cb5c2ef4986b [2022-07-18T01:30:54.612Z] Step 13/26 : FROM alpine:3.16 [2022-07-18T01:30:54.612Z] 3.16: Pulling from library/alpine [2022-07-18T01:30:54.612Z] 2408cc74d12b: Already exists [2022-07-18T01:30:54.612Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T01:30:54.612Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T01:30:54.612Z] ---> e66264b98777 [2022-07-18T01:30:54.612Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-18T01:30:54.612Z] ---> Running in 2187af0d55d1 [2022-07-18T01:30:54.612Z] Removing intermediate container 2187af0d55d1 [2022-07-18T01:30:54.612Z] ---> e78c6f20d9c1 [2022-07-18T01:30:54.612Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:30:54.612Z] ---> Running in 7717d0ae789c [2022-07-18T01:30:54.612Z] Removing intermediate container 7717d0ae789c [2022-07-18T01:30:54.612Z] ---> 7f04621d8482 [2022-07-18T01:30:54.612Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-18T01:30:54.612Z] ---> Running in 71a1c22aa616 [2022-07-18T01:30:54.612Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-18T01:30:55.553Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-18T01:30:55.814Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T01:30:56.075Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-18T01:30:56.075Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T01:30:56.075Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-18T01:30:56.335Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-18T01:30:56.335Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:30:56.335Z] OK: 8 MiB in 19 packages [2022-07-18T01:30:56.904Z] Removing intermediate container 71a1c22aa616 [2022-07-18T01:30:56.904Z] ---> 3dd84d3e5b8b [2022-07-18T01:30:56.904Z] Step 17/26 : WORKDIR / [2022-07-18T01:30:56.904Z] ---> Running in 612714c6fe91 [2022-07-18T01:30:56.904Z] Removing intermediate container 612714c6fe91 [2022-07-18T01:30:56.904Z] ---> f43472a41a24 [2022-07-18T01:30:56.904Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-18T01:30:57.166Z] ---> 28f4a93a83f3 [2022-07-18T01:30:57.166Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-18T01:30:57.426Z] ---> 377f30c535af [2022-07-18T01:30:57.426Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-18T01:30:58.000Z] ---> 31b2a04d1612 [2022-07-18T01:30:58.000Z] Step 21/26 : EXPOSE 59910 [2022-07-18T01:30:58.000Z] ---> Running in 2e5cf854f8d8 [2022-07-18T01:30:58.000Z] Removing intermediate container 2e5cf854f8d8 [2022-07-18T01:30:58.000Z] ---> 2fc334002e65 [2022-07-18T01:30:58.000Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-18T01:30:58.000Z] ---> Running in 9c428637eaa9 [2022-07-18T01:30:58.260Z] Removing intermediate container 9c428637eaa9 [2022-07-18T01:30:58.260Z] ---> d0943ef644a5 [2022-07-18T01:30:58.260Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T01:30:58.260Z] ---> Running in 5b0ba873d7ff [2022-07-18T01:30:58.260Z] Removing intermediate container 5b0ba873d7ff [2022-07-18T01:30:58.260Z] ---> b0d5da5da467 [2022-07-18T01:30:58.260Z] Step 24/26 : LABEL arch=amd64 [2022-07-18T01:30:58.260Z] ---> Running in 000ffe970ff3 [2022-07-18T01:30:58.519Z] Removing intermediate container 000ffe970ff3 [2022-07-18T01:30:58.519Z] ---> 1591e5c9cc7d [2022-07-18T01:30:58.519Z] Step 25/26 : LABEL git_sha=025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:30:58.519Z] ---> Running in 3de98502aea6 [2022-07-18T01:30:58.519Z] Removing intermediate container 3de98502aea6 [2022-07-18T01:30:58.519Z] ---> 6f56dffd81d5 [2022-07-18T01:30:58.519Z] Step 26/26 : LABEL version=2.2.1-dev.4 [2022-07-18T01:30:58.519Z] ---> Running in ca0221b5f752 [2022-07-18T01:30:58.780Z] Removing intermediate container ca0221b5f752 [2022-07-18T01:30:58.780Z] ---> 1e6e87405d3b [2022-07-18T01:30:58.780Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T01:30:58.780Z] Successfully built 1e6e87405d3b [2022-07-18T01:30:58.780Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:30:58.889Z] provisioning config files... [2022-07-18T01:30:58.899Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5464305482000641860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:30:59.200Z] ---> docker-login.sh [2022-07-18T01:30:59.200Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:30:59.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:30:59.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:30:59.200Z] Configure a credential helper to remove this warning. See [2022-07-18T01:30:59.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:30:59.200Z] [2022-07-18T01:30:59.200Z] Login Succeeded [2022-07-18T01:30:59.200Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:30:59.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:30:59.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:30:59.461Z] Configure a credential helper to remove this warning. See [2022-07-18T01:30:59.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:30:59.461Z] [2022-07-18T01:30:59.461Z] Login Succeeded [2022-07-18T01:30:59.461Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:30:59.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:30:59.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:30:59.461Z] Configure a credential helper to remove this warning. See [2022-07-18T01:30:59.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:30:59.461Z] [2022-07-18T01:30:59.461Z] Login Succeeded [2022-07-18T01:30:59.461Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:30:59.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:30:59.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:30:59.722Z] Configure a credential helper to remove this warning. See [2022-07-18T01:30:59.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:30:59.722Z] [2022-07-18T01:30:59.722Z] Login Succeeded [2022-07-18T01:30:59.722Z] docker.io [2022-07-18T01:30:59.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:30:59.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:30:59.984Z] Configure a credential helper to remove this warning. See [2022-07-18T01:30:59.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:30:59.984Z] [2022-07-18T01:30:59.984Z] Login Succeeded [2022-07-18T01:30:59.984Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:30:59.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:31:00.025Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:31:00.040Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2022-07-18T01:31:00.040Z] 025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:31:00.040Z] latest [2022-07-18T01:31:00.040Z] 2.2.1-dev.4 [2022-07-18T01:31:00.040Z] 025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:31:00.040Z] main [2022-07-18T01:31:00.040Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:00.362Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:00.673Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:31:00.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-18T01:31:00.673Z] de139104f350: Preparing [2022-07-18T01:31:00.673Z] 50e1c18ccb7c: Preparing [2022-07-18T01:31:00.673Z] 79912b3fc0f6: Preparing [2022-07-18T01:31:00.673Z] c4ee03e0e5c5: Preparing [2022-07-18T01:31:00.673Z] 90d03df833a9: Preparing [2022-07-18T01:31:00.673Z] 24302eb7d908: Preparing [2022-07-18T01:31:00.673Z] 24302eb7d908: Waiting [2022-07-18T01:31:00.673Z] 50e1c18ccb7c: Pushed [2022-07-18T01:31:00.673Z] 90d03df833a9: Pushed [2022-07-18T01:31:00.673Z] 79912b3fc0f6: Pushed [2022-07-18T01:31:00.673Z] 24302eb7d908: Layer already exists [2022-07-18T01:31:00.933Z] c4ee03e0e5c5: Pushed [2022-07-18T01:31:04.231Z] de139104f350: Pushed [2022-07-18T01:31:04.232Z] 025748471a1121a914633fcbecc3eb79c80c4329: digest: sha256:2f93abe002cec8073fc0861285460d5bafd8143f082801aee0845ecbf28d1d84 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:04.549Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:04.866Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-07-18T01:31:04.866Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-18T01:31:04.866Z] de139104f350: Preparing [2022-07-18T01:31:04.866Z] 50e1c18ccb7c: Preparing [2022-07-18T01:31:04.866Z] 79912b3fc0f6: Preparing [2022-07-18T01:31:04.866Z] c4ee03e0e5c5: Preparing [2022-07-18T01:31:04.866Z] 90d03df833a9: Preparing [2022-07-18T01:31:04.866Z] 24302eb7d908: Preparing [2022-07-18T01:31:04.866Z] 24302eb7d908: Waiting [2022-07-18T01:31:04.866Z] c4ee03e0e5c5: Layer already exists [2022-07-18T01:31:04.866Z] 90d03df833a9: Layer already exists [2022-07-18T01:31:04.866Z] de139104f350: Layer already exists [2022-07-18T01:31:04.866Z] 79912b3fc0f6: Layer already exists [2022-07-18T01:31:04.866Z] 50e1c18ccb7c: Layer already exists [2022-07-18T01:31:04.866Z] 24302eb7d908: Layer already exists [2022-07-18T01:31:04.866Z] latest: digest: sha256:2f93abe002cec8073fc0861285460d5bafd8143f082801aee0845ecbf28d1d84 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:05.184Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:05.499Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.4 [2022-07-18T01:31:05.499Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-18T01:31:05.499Z] de139104f350: Preparing [2022-07-18T01:31:05.499Z] 50e1c18ccb7c: Preparing [2022-07-18T01:31:05.499Z] 79912b3fc0f6: Preparing [2022-07-18T01:31:05.499Z] c4ee03e0e5c5: Preparing [2022-07-18T01:31:05.499Z] 90d03df833a9: Preparing [2022-07-18T01:31:05.499Z] 24302eb7d908: Preparing [2022-07-18T01:31:05.499Z] 24302eb7d908: Waiting [2022-07-18T01:31:05.499Z] 90d03df833a9: Layer already exists [2022-07-18T01:31:05.499Z] 50e1c18ccb7c: Layer already exists [2022-07-18T01:31:05.499Z] c4ee03e0e5c5: Layer already exists [2022-07-18T01:31:05.499Z] de139104f350: Layer already exists [2022-07-18T01:31:05.499Z] 79912b3fc0f6: Layer already exists [2022-07-18T01:31:05.499Z] 24302eb7d908: Layer already exists [2022-07-18T01:31:05.499Z] 2.2.1-dev.4: digest: sha256:2f93abe002cec8073fc0861285460d5bafd8143f082801aee0845ecbf28d1d84 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:05.821Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:06.176Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:31:06.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-18T01:31:06.176Z] de139104f350: Preparing [2022-07-18T01:31:06.176Z] 50e1c18ccb7c: Preparing [2022-07-18T01:31:06.176Z] 79912b3fc0f6: Preparing [2022-07-18T01:31:06.176Z] c4ee03e0e5c5: Preparing [2022-07-18T01:31:06.176Z] 90d03df833a9: Preparing [2022-07-18T01:31:06.176Z] 24302eb7d908: Preparing [2022-07-18T01:31:06.176Z] 24302eb7d908: Waiting [2022-07-18T01:31:06.176Z] 90d03df833a9: Layer already exists [2022-07-18T01:31:06.176Z] de139104f350: Layer already exists [2022-07-18T01:31:06.176Z] 79912b3fc0f6: Layer already exists [2022-07-18T01:31:06.176Z] c4ee03e0e5c5: Layer already exists [2022-07-18T01:31:06.176Z] 50e1c18ccb7c: Layer already exists [2022-07-18T01:31:06.176Z] 24302eb7d908: Layer already exists [2022-07-18T01:31:06.176Z] 025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4: digest: sha256:2f93abe002cec8073fc0861285460d5bafd8143f082801aee0845ecbf28d1d84 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:06.507Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:06.823Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2022-07-18T01:31:06.823Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2022-07-18T01:31:06.823Z] de139104f350: Preparing [2022-07-18T01:31:06.823Z] 50e1c18ccb7c: Preparing [2022-07-18T01:31:06.823Z] 79912b3fc0f6: Preparing [2022-07-18T01:31:06.823Z] c4ee03e0e5c5: Preparing [2022-07-18T01:31:06.823Z] 90d03df833a9: Preparing [2022-07-18T01:31:06.823Z] 24302eb7d908: Preparing [2022-07-18T01:31:06.823Z] 24302eb7d908: Waiting [2022-07-18T01:31:06.823Z] c4ee03e0e5c5: Layer already exists [2022-07-18T01:31:06.823Z] 90d03df833a9: Layer already exists [2022-07-18T01:31:06.823Z] 79912b3fc0f6: Layer already exists [2022-07-18T01:31:06.823Z] 50e1c18ccb7c: Layer already exists [2022-07-18T01:31:06.823Z] de139104f350: Layer already exists [2022-07-18T01:31:06.823Z] 24302eb7d908: Layer already exists [2022-07-18T01:31:06.823Z] main: digest: sha256:2f93abe002cec8073fc0861285460d5bafd8143f082801aee0845ecbf28d1d84 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:31:06.878Z] ===================================================== [Pipeline] echo [2022-07-18T01:31:06.889Z] taggedImages: [2022-07-18T01:31:06.889Z] - nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:31:06.889Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2022-07-18T01:31:06.889Z] - nexus3.edgexfoundry.org:10004/device-gpio:2.2.1-dev.4 [2022-07-18T01:31:06.889Z] - nexus3.edgexfoundry.org:10004/device-gpio:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:31:06.889Z] - 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 [2022-07-18T01:31:07.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:31:07.264Z] [2022-07-18T01:31:07.264Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:31:07.566Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:31:07.566Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-18T01:31:07.566Z] 5eb5b503b376: Pulling fs layer [2022-07-18T01:31:07.566Z] 5c69ac0246d0: Pulling fs layer [2022-07-18T01:31:07.566Z] ec43610c2a17: Pulling fs layer [2022-07-18T01:31:07.566Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-18T01:31:07.566Z] 33b1e0a273af: Pulling fs layer [2022-07-18T01:31:07.566Z] 5d3b04190fa2: Pulling fs layer [2022-07-18T01:31:07.566Z] 2f39f015ded8: Pulling fs layer [2022-07-18T01:31:07.566Z] 5d3b04190fa2: Waiting [2022-07-18T01:31:07.566Z] 33b1e0a273af: Waiting [2022-07-18T01:31:07.566Z] 3a2ae6a8a46f: Waiting [2022-07-18T01:31:07.566Z] 5c69ac0246d0: Download complete [2022-07-18T01:31:07.566Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-18T01:31:07.566Z] 3a2ae6a8a46f: Download complete [2022-07-18T01:31:07.566Z] 33b1e0a273af: Verifying Checksum [2022-07-18T01:31:07.566Z] 33b1e0a273af: Download complete [2022-07-18T01:31:07.826Z] 5d3b04190fa2: Download complete [2022-07-18T01:31:07.826Z] ec43610c2a17: Verifying Checksum [2022-07-18T01:31:07.826Z] ec43610c2a17: Download complete [2022-07-18T01:31:07.826Z] 5eb5b503b376: Verifying Checksum [2022-07-18T01:31:07.826Z] 5eb5b503b376: Download complete [2022-07-18T01:31:08.393Z] 2f39f015ded8: Verifying Checksum [2022-07-18T01:31:08.393Z] 2f39f015ded8: Download complete [2022-07-18T01:31:09.333Z] 5eb5b503b376: Pull complete [2022-07-18T01:31:09.333Z] 5c69ac0246d0: Pull complete [2022-07-18T01:31:09.901Z] ec43610c2a17: Pull complete [2022-07-18T01:31:09.901Z] 3a2ae6a8a46f: Pull complete [2022-07-18T01:31:10.160Z] 33b1e0a273af: Pull complete [2022-07-18T01:31:10.160Z] 5d3b04190fa2: Pull complete [2022-07-18T01:31:15.440Z] 2f39f015ded8: Pull complete [2022-07-18T01:31:15.440Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-18T01:31:15.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:31:15.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:31:15.543Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:31:15.593Z] $ 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 [2022-07-18T01:31:17.528Z] $ docker top 83f0edd3130761fcdbc0eb6ede93a73ac7be7fe6634232e3ea122e08ce453629 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:31:17.948Z] ---> job-cost.sh [2022-07-18T01:31:17.948Z] lf-activate-venv: SKIPPING [2022-07-18T01:31:17.948Z] INFO: No Stack... [2022-07-18T01:31:18.520Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T01:31:18.780Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T01:31:19.085Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2022-07-18T01:31:19.085Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T01:31:19.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [2022-07-18T01:31:19.109Z] Resource [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] did not exist. Created. [2022-07-18T01:31:19.109Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T01:31:19.423Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-18T01:31:19.449Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T01:31:19.456Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T01:31:19.485Z] $ docker stop --time=1 83f0edd3130761fcdbc0eb6ede93a73ac7be7fe6634232e3ea122e08ce453629 [2022-07-18T01:31:20.649Z] $ docker rm -f 83f0edd3130761fcdbc0eb6ede93a73ac7be7fe6634232e3ea122e08ce453629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-18T01:32:35.675Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-20352 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2022-07-18T01:32:35.689Z] Running in /w/workspace/device-gpio/34 [Pipeline] { [Pipeline] checkout [2022-07-18T01:32:35.732Z] The recommended git tool is: git [2022-07-18T01:32:43.024Z] using credential edgex-jenkins-ssh [2022-07-18T01:32:43.042Z] Cloning the remote Git repository [2022-07-18T01:32:43.113Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2022-07-18T01:32:43.190Z] > git init /w/workspace/device-gpio/34 # timeout=10 [2022-07-18T01:32:43.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2022-07-18T01:32:43.283Z] > git --version # timeout=10 [2022-07-18T01:32:43.301Z] > git --version # 'git version 2.25.1' [2022-07-18T01:32:43.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-18T01:32:43.371Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T01:32:44.925Z] Avoid second fetch [2022-07-18T01:32:44.926Z] Checking out Revision 025748471a1121a914633fcbecc3eb79c80c4329 (main) [2022-07-18T01:32:44.882Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2022-07-18T01:32:44.901Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-18T01:32:44.954Z] > git config core.sparsecheckout # timeout=10 [2022-07-18T01:32:45.019Z] > git checkout -f 025748471a1121a914633fcbecc3eb79c80c4329 # timeout=10 [2022-07-18T01:32:49.383Z] Commit message: "Merge pull request #47 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.14" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T01:32:50.234Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-18T01:32:50.234Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T01:32:50.235Z] Dload Upload Total Spent Left Speed [2022-07-18T01:32:50.235Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 92029 0 --:--:-- --:--:-- --:--:-- 92029 [Pipeline] sh [2022-07-18T01:32:50.883Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-18T01:32:51.232Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-18T01:32:51.232Z] + sudo tee /etc/docker/daemon.new [2022-07-18T01:32:51.232Z] { [2022-07-18T01:32:51.232Z] "registry-mirrors": [ [2022-07-18T01:32:51.232Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-18T01:32:51.232Z] ], [2022-07-18T01:32:51.232Z] "bip": "10.250.0.254/24", [2022-07-18T01:32:51.232Z] "hosts": [ [2022-07-18T01:32:51.232Z] "tcp://0.0.0.0:5555", [2022-07-18T01:32:51.232Z] "unix:///var/run/docker.sock" [2022-07-18T01:32:51.232Z] ], [2022-07-18T01:32:51.232Z] "mtu": 1458, [2022-07-18T01:32:51.232Z] "selinux-enabled": true, [2022-07-18T01:32:51.232Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-18T01:32:51.232Z] } [Pipeline] sh [2022-07-18T01:32:51.581Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-18T01:32:51.927Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:33:10.337Z] provisioning config files... [2022-07-18T01:33:10.361Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/34@tmp/config7660244669891919900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:33:10.721Z] ---> docker-login.sh [2022-07-18T01:33:10.721Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:33:11.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:33:11.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:33:11.602Z] Configure a credential helper to remove this warning. See [2022-07-18T01:33:11.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:33:11.602Z] [2022-07-18T01:33:11.602Z] Login Succeeded [2022-07-18T01:33:11.602Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:33:11.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:33:12.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:33:12.148Z] Configure a credential helper to remove this warning. See [2022-07-18T01:33:12.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:33:12.148Z] [2022-07-18T01:33:12.148Z] Login Succeeded [2022-07-18T01:33:12.148Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:33:12.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:33:12.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:33:12.420Z] Configure a credential helper to remove this warning. See [2022-07-18T01:33:12.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:33:12.420Z] [2022-07-18T01:33:12.420Z] Login Succeeded [2022-07-18T01:33:12.420Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:33:13.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:33:13.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:33:13.021Z] Configure a credential helper to remove this warning. See [2022-07-18T01:33:13.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:33:13.021Z] [2022-07-18T01:33:13.021Z] Login Succeeded [2022-07-18T01:33:13.021Z] docker.io [2022-07-18T01:33:13.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:33:13.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:33:13.890Z] Configure a credential helper to remove this warning. See [2022-07-18T01:33:13.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:33:13.890Z] [2022-07-18T01:33:13.890Z] Login Succeeded [2022-07-18T01:33:13.890Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:33:13.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-18T01:33:14.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:33:14.447Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:33:14.454Z] ========================================================= [2022-07-18T01:33:14.454Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-18T01:33:14.454Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:33:14.812Z] + 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 . [2022-07-18T01:33:15.083Z] Sending build context to Docker daemon 7.942MB [2022-07-18T01:33:15.356Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:33:15.357Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-18T01:33:15.357Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-18T01:33:15.357Z] b3c136eddcbf: Pulling fs layer [2022-07-18T01:33:15.357Z] c0a3192eca97: Pulling fs layer [2022-07-18T01:33:15.357Z] a050256f5b6f: Pulling fs layer [2022-07-18T01:33:15.357Z] 656be50a0ddc: Pulling fs layer [2022-07-18T01:33:15.357Z] 2bbca73fdf42: Pulling fs layer [2022-07-18T01:33:15.357Z] 46d945488cbd: Pulling fs layer [2022-07-18T01:33:15.357Z] 8a5474983e97: Pulling fs layer [2022-07-18T01:33:15.357Z] 329c88fbcd65: Pulling fs layer [2022-07-18T01:33:15.357Z] 656be50a0ddc: Waiting [2022-07-18T01:33:15.357Z] 2bbca73fdf42: Waiting [2022-07-18T01:33:15.357Z] 46d945488cbd: Waiting [2022-07-18T01:33:15.357Z] 329c88fbcd65: Waiting [2022-07-18T01:33:15.357Z] 8a5474983e97: Waiting [2022-07-18T01:33:15.357Z] a050256f5b6f: Verifying Checksum [2022-07-18T01:33:15.357Z] a050256f5b6f: Download complete [2022-07-18T01:33:15.357Z] c0a3192eca97: Download complete [2022-07-18T01:33:15.357Z] 2bbca73fdf42: Verifying Checksum [2022-07-18T01:33:15.357Z] 2bbca73fdf42: Download complete [2022-07-18T01:33:15.357Z] 46d945488cbd: Verifying Checksum [2022-07-18T01:33:15.357Z] 46d945488cbd: Download complete [2022-07-18T01:33:15.630Z] b3c136eddcbf: Verifying Checksum [2022-07-18T01:33:16.624Z] b3c136eddcbf: Pull complete [2022-07-18T01:33:16.624Z] 329c88fbcd65: Verifying Checksum [2022-07-18T01:33:16.624Z] 329c88fbcd65: Download complete [2022-07-18T01:33:17.230Z] c0a3192eca97: Pull complete [2022-07-18T01:33:17.508Z] a050256f5b6f: Pull complete [2022-07-18T01:33:17.784Z] 8a5474983e97: Verifying Checksum [2022-07-18T01:33:17.784Z] 8a5474983e97: Download complete [2022-07-18T01:33:18.770Z] 656be50a0ddc: Verifying Checksum [2022-07-18T01:33:18.770Z] 656be50a0ddc: Download complete [2022-07-18T01:33:31.194Z] 656be50a0ddc: Pull complete [2022-07-18T01:33:31.473Z] 2bbca73fdf42: Pull complete [2022-07-18T01:33:31.748Z] 46d945488cbd: Pull complete [2022-07-18T01:33:38.476Z] 8a5474983e97: Pull complete [2022-07-18T01:33:40.461Z] 329c88fbcd65: Pull complete [2022-07-18T01:33:40.735Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-18T01:33:40.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-18T01:33:40.735Z] ---> ff4287adb874 [2022-07-18T01:33:40.735Z] Step 3/12 : ARG MAKE="make build" [2022-07-18T01:33:41.732Z] ---> Running in 02ce9377d30b [2022-07-18T01:33:42.007Z] Removing intermediate container 02ce9377d30b [2022-07-18T01:33:42.007Z] ---> 51f5dfdd4fa9 [2022-07-18T01:33:42.007Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:33:42.007Z] ---> Running in 711a2ba0718e [2022-07-18T01:33:42.282Z] Removing intermediate container 711a2ba0718e [2022-07-18T01:33:42.282Z] ---> 92d74ab46d2f [2022-07-18T01:33:42.282Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:33:42.282Z] ---> Running in 17d8c1f37d03 [2022-07-18T01:33:42.559Z] Removing intermediate container 17d8c1f37d03 [2022-07-18T01:33:42.559Z] ---> bb784cf36230 [2022-07-18T01:33:42.559Z] Step 6/12 : WORKDIR /device-gpio [2022-07-18T01:33:42.835Z] ---> Running in 2693475da6b3 [2022-07-18T01:33:43.110Z] Removing intermediate container 2693475da6b3 [2022-07-18T01:33:43.110Z] ---> 3deddff9bb30 [2022-07-18T01:33:43.110Z] Step 7/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:33:43.110Z] ---> Running in 87ec43c4cad9 [2022-07-18T01:33:46.542Z] Removing intermediate container 87ec43c4cad9 [2022-07-18T01:33:46.542Z] ---> 3af832f84c3f [2022-07-18T01:33:46.542Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:33:46.542Z] ---> Running in a15c81297fb4 [2022-07-18T01:33:47.528Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T01:33:48.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T01:33:49.488Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-18T01:33:49.488Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-18T01:33:49.488Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-18T01:33:49.761Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-18T01:33:50.036Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:33:50.036Z] OK: 226 MiB in 55 packages [2022-07-18T01:33:51.022Z] Removing intermediate container a15c81297fb4 [2022-07-18T01:33:51.022Z] ---> 1fd0a2b2b3f0 [2022-07-18T01:33:51.022Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-18T01:33:51.622Z] ---> 6a869db6f7d8 [2022-07-18T01:33:51.622Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:33:51.622Z] ---> Running in e066fd3d9b9e [2022-07-18T01:34:38.600Z] Removing intermediate container e066fd3d9b9e [2022-07-18T01:34:38.600Z] ---> 89f4894030d7 [2022-07-18T01:34:38.600Z] Step 11/12 : COPY . . [2022-07-18T01:34:38.600Z] ---> 0bd5aaaa0943 [2022-07-18T01:34:38.600Z] Step 12/12 : RUN ${MAKE} [2022-07-18T01:34:38.600Z] ---> Running in 34bd8c641efb [2022-07-18T01:34:38.600Z] noop [2022-07-18T01:34:38.600Z] Removing intermediate container 34bd8c641efb [2022-07-18T01:34:38.600Z] ---> 8e809fb3022e [2022-07-18T01:34:38.600Z] Successfully built 8e809fb3022e [2022-07-18T01:34:38.600Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:34:38.966Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T01:34:38.966Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:34:39.210Z] prd-ubuntu20.04-docker-arm64-4c-16g-20352 does not seem to be running inside a container [2022-07-18T01:34:39.298Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/34 -v /w/workspace/device-gpio/34:/w/workspace/device-gpio/34:rw,z -v /w/workspace/device-gpio/34@tmp:/w/workspace/device-gpio/34@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 [2022-07-18T01:34:40.550Z] $ docker top 4b7d69eae2e39fa48f5954a78323b26bf809408c078b9da1fe190ee62a7be467 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:34:41.451Z] + go version [2022-07-18T01:34:41.451Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-18T01:34:41.660Z] $ docker stop --time=1 4b7d69eae2e39fa48f5954a78323b26bf809408c078b9da1fe190ee62a7be467 [2022-07-18T01:34:43.307Z] $ docker rm -f 4b7d69eae2e39fa48f5954a78323b26bf809408c078b9da1fe190ee62a7be467 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:34:43.943Z] + docker inspect -f . ci-base-image-arm64 [2022-07-18T01:34:43.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:34:44.183Z] prd-ubuntu20.04-docker-arm64-4c-16g-20352 does not seem to be running inside a container [2022-07-18T01:34:44.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-gpio/34 -v /w/workspace/device-gpio/34:/w/workspace/device-gpio/34:rw,z -v /w/workspace/device-gpio/34@tmp:/w/workspace/device-gpio/34@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 [2022-07-18T01:34:45.550Z] $ docker top f5c65ee5885f0733188b278eb95bca23bfc6ac9667d6e274036cc3aabc70ca1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:34:46.449Z] + git config --global --add safe.directory /w/workspace/device-gpio/34 [Pipeline] fileExists [Pipeline] sh [2022-07-18T01:34:47.112Z] + make test [2022-07-18T01:34:47.112Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-18T01:34:48.543Z] ? github.com/edgexfoundry/device-gpio [no test files] [2022-07-18T01:36:10.390Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2022-07-18T01:36:10.390Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2022-07-18T01:36:10.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-18T01:36:10.390Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-18T01:36:25.570Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-18T01:36:25.570Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-18T01:36:25.570Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-18T01:36:25.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-18T01:36:25.614Z] $ docker stop --time=1 f5c65ee5885f0733188b278eb95bca23bfc6ac9667d6e274036cc3aabc70ca1c [2022-07-18T01:36:27.410Z] $ docker rm -f f5c65ee5885f0733188b278eb95bca23bfc6ac9667d6e274036cc3aabc70ca1c [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:36:28.358Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-18T01:36:28.384Z] Warning: overwriting stash ‘coverage-report’ [2022-07-18T01:36:28.972Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-18T01:36:29.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-18T01:36:29.764Z] + ls -al . [2022-07-18T01:36:29.764Z] total 156 [2022-07-18T01:36:29.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:34 . [2022-07-18T01:36:29.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:32 .. [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 120 Jul 18 01:32 .dockerignore [2022-07-18T01:36:29.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:32 .git [2022-07-18T01:36:29.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:32 .github [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 343 Jul 18 01:32 .gitignore [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:32 .golangci.yml [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 9182 Jul 18 01:32 Attribution.txt [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 3081 Jul 18 01:32 CHANGELOG.md [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 1872 Jul 18 01:32 Dockerfile [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:32 GOVERNANCE.md [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 657 Jul 18 01:32 Jenkinsfile [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:32 LICENSE [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 1876 Jul 18 01:32 Makefile [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 617 Jul 18 01:32 OWNERS.md [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 11178 Jul 18 01:32 README.md [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 11 Jul 18 01:29 VERSION [2022-07-18T01:36:29.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:32 bin [2022-07-18T01:36:29.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:32 cmd [2022-07-18T01:36:29.764Z] -rw-r--r-- 1 jenkins jenkins 10 Jul 18 01:34 coverage.out [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 3288 Jul 18 01:32 go.mod [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 35450 Jul 18 01:32 go.sum [2022-07-18T01:36:29.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:32 internal [2022-07-18T01:36:29.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:32 snap [2022-07-18T01:36:29.764Z] -rw-rw-r-- 1 jenkins jenkins 209 Jul 18 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:36:30.152Z] + 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=025748471a1121a914633fcbecc3eb79c80c4329 --label arch=arm64 --label version=2.2.1-dev.4 . [2022-07-18T01:36:30.802Z] Sending build context to Docker daemon 7.943MB [2022-07-18T01:36:30.802Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-07-18T01:36:30.802Z] Step 2/26 : FROM ${BASE} AS builder [2022-07-18T01:36:30.802Z] ---> 8e809fb3022e [2022-07-18T01:36:30.802Z] Step 3/26 : ARG MAKE="make build" [2022-07-18T01:36:30.802Z] ---> Running in 802a63f08dcb [2022-07-18T01:36:31.403Z] Removing intermediate container 802a63f08dcb [2022-07-18T01:36:31.403Z] ---> 480781ca346f [2022-07-18T01:36:31.403Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-18T01:36:31.403Z] ---> Running in 945d4896ddb0 [2022-07-18T01:36:31.677Z] Removing intermediate container 945d4896ddb0 [2022-07-18T01:36:31.677Z] ---> 8d2ec3414c60 [2022-07-18T01:36:31.677Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-07-18T01:36:31.677Z] ---> Running in 7b026fa3bdc4 [2022-07-18T01:36:31.954Z] Removing intermediate container 7b026fa3bdc4 [2022-07-18T01:36:31.954Z] ---> 0f3e3e14d93d [2022-07-18T01:36:31.954Z] Step 6/26 : WORKDIR /device-gpio [2022-07-18T01:36:32.229Z] ---> Running in 73129b743ba3 [2022-07-18T01:36:32.502Z] Removing intermediate container 73129b743ba3 [2022-07-18T01:36:32.502Z] ---> f5fda32049fe [2022-07-18T01:36:32.502Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:36:32.502Z] ---> Running in c6e55692b78e [2022-07-18T01:36:34.485Z] Removing intermediate container c6e55692b78e [2022-07-18T01:36:34.485Z] ---> 933f34718ddd [2022-07-18T01:36:34.485Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-18T01:36:34.485Z] ---> Running in c5cbcb644805 [2022-07-18T01:36:35.469Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T01:36:36.452Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T01:36:37.431Z] OK: 226 MiB in 55 packages [2022-07-18T01:36:38.415Z] Removing intermediate container c5cbcb644805 [2022-07-18T01:36:38.415Z] ---> a831944c9a00 [2022-07-18T01:36:38.415Z] Step 9/26 : COPY go.mod vendor* ./ [2022-07-18T01:36:39.009Z] ---> 276a03892e1d [2022-07-18T01:36:39.009Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-18T01:36:39.009Z] ---> Running in 4824f1171d2a [2022-07-18T01:36:40.989Z] Removing intermediate container 4824f1171d2a [2022-07-18T01:36:40.989Z] ---> 72bb9e9e5b12 [2022-07-18T01:36:40.989Z] Step 11/26 : COPY . . [2022-07-18T01:36:41.982Z] ---> 5234105fd2d0 [2022-07-18T01:36:41.982Z] Step 12/26 : RUN ${MAKE} [2022-07-18T01:36:41.982Z] ---> Running in f7540eb8ca9c [2022-07-18T01:36:42.962Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-gpio.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-gpio ./cmd [2022-07-18T01:39:05.998Z] Removing intermediate container f7540eb8ca9c [2022-07-18T01:39:05.998Z] ---> b6f65d34b6de [2022-07-18T01:39:05.998Z] Step 13/26 : FROM alpine:3.16 [2022-07-18T01:39:05.998Z] 3.16: Pulling from library/alpine [2022-07-18T01:39:05.998Z] b3c136eddcbf: Already exists [2022-07-18T01:39:05.998Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-18T01:39:05.998Z] Status: Downloaded newer image for alpine:3.16 [2022-07-18T01:39:05.998Z] ---> 6e30ab57aeee [2022-07-18T01:39:05.998Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2022-07-18T01:39:05.998Z] ---> Running in abd6ea28ae33 [2022-07-18T01:39:05.998Z] Removing intermediate container abd6ea28ae33 [2022-07-18T01:39:05.998Z] ---> 921d004982cf [2022-07-18T01:39:05.998Z] Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-18T01:39:05.998Z] ---> Running in 8c0dd60932d8 [2022-07-18T01:39:05.998Z] Removing intermediate container 8c0dd60932d8 [2022-07-18T01:39:05.998Z] ---> 093379b5329e [2022-07-18T01:39:05.998Z] Step 16/26 : RUN apk add --update --no-cache zeromq [2022-07-18T01:39:05.998Z] ---> Running in cb0f15819fea [2022-07-18T01:39:05.998Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-18T01:39:05.998Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-18T01:39:05.998Z] (1/5) Installing libgcc (11.2.1_git20220219-r2) [2022-07-18T01:39:05.998Z] (2/5) Installing libsodium (1.0.18-r0) [2022-07-18T01:39:05.998Z] (3/5) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-18T01:39:05.998Z] (4/5) Installing libzmq (4.3.4-r0) [2022-07-18T01:39:05.998Z] (5/5) Installing zeromq (4.3.4-r0) [2022-07-18T01:39:05.998Z] Executing busybox-1.35.0-r13.trigger [2022-07-18T01:39:05.998Z] OK: 8 MiB in 19 packages [2022-07-18T01:39:06.596Z] Removing intermediate container cb0f15819fea [2022-07-18T01:39:06.596Z] ---> 8b50f511f602 [2022-07-18T01:39:06.596Z] Step 17/26 : WORKDIR / [2022-07-18T01:39:06.596Z] ---> Running in 3fc409c95779 [2022-07-18T01:39:06.871Z] Removing intermediate container 3fc409c95779 [2022-07-18T01:39:06.871Z] ---> 2c9fbe10cbf3 [2022-07-18T01:39:06.871Z] Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / [2022-07-18T01:39:07.466Z] ---> 7f19a1d6e44a [2022-07-18T01:39:07.466Z] Step 19/26 : COPY --from=builder /device-gpio/LICENSE / [2022-07-18T01:39:08.066Z] ---> 8692da01c8f0 [2022-07-18T01:39:08.066Z] Step 20/26 : COPY --from=builder /device-gpio/cmd/ / [2022-07-18T01:39:09.499Z] ---> 598e0b5271db [2022-07-18T01:39:09.499Z] Step 21/26 : EXPOSE 59910 [2022-07-18T01:39:09.772Z] ---> Running in 7ee1fc0d00f2 [2022-07-18T01:39:10.049Z] Removing intermediate container 7ee1fc0d00f2 [2022-07-18T01:39:10.049Z] ---> 4166ae38e79b [2022-07-18T01:39:10.049Z] Step 22/26 : ENTRYPOINT ["/device-gpio"] [2022-07-18T01:39:10.049Z] ---> Running in 51a59d19172c [2022-07-18T01:39:10.331Z] Removing intermediate container 51a59d19172c [2022-07-18T01:39:10.331Z] ---> 2b8ca7554133 [2022-07-18T01:39:10.331Z] Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-18T01:39:10.605Z] ---> Running in 09714c4ef904 [2022-07-18T01:39:10.878Z] Removing intermediate container 09714c4ef904 [2022-07-18T01:39:10.878Z] ---> de598af8e7ba [2022-07-18T01:39:10.878Z] Step 24/26 : LABEL arch=arm64 [2022-07-18T01:39:10.878Z] ---> Running in 97f61c64ca31 [2022-07-18T01:39:11.154Z] Removing intermediate container 97f61c64ca31 [2022-07-18T01:39:11.154Z] ---> 4365def34aea [2022-07-18T01:39:11.154Z] Step 25/26 : LABEL git_sha=025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:39:11.428Z] ---> Running in 311f159bc714 [2022-07-18T01:39:11.701Z] Removing intermediate container 311f159bc714 [2022-07-18T01:39:11.701Z] ---> 0ff725d9a4e8 [2022-07-18T01:39:11.701Z] Step 26/26 : LABEL version=2.2.1-dev.4 [2022-07-18T01:39:11.701Z] ---> Running in 4383f3cbc39b [2022-07-18T01:39:11.974Z] Removing intermediate container 4383f3cbc39b [2022-07-18T01:39:11.974Z] ---> 0221a28056ba [2022-07-18T01:39:11.974Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-18T01:39:12.248Z] Successfully built 0221a28056ba [2022-07-18T01:39:12.248Z] 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 [2022-07-18T01:39:12.356Z] provisioning config files... [2022-07-18T01:39:12.375Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/34@tmp/config5665932216623586518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:39:12.732Z] ---> docker-login.sh [2022-07-18T01:39:12.732Z] nexus3.edgexfoundry.org:10001 [2022-07-18T01:39:13.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:39:13.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:39:13.008Z] Configure a credential helper to remove this warning. See [2022-07-18T01:39:13.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:39:13.008Z] [2022-07-18T01:39:13.008Z] Login Succeeded [2022-07-18T01:39:13.008Z] nexus3.edgexfoundry.org:10002 [2022-07-18T01:39:13.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:39:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:39:13.606Z] Configure a credential helper to remove this warning. See [2022-07-18T01:39:13.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:39:13.606Z] [2022-07-18T01:39:13.606Z] Login Succeeded [2022-07-18T01:39:13.606Z] nexus3.edgexfoundry.org:10003 [2022-07-18T01:39:14.206Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:39:14.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:39:14.206Z] Configure a credential helper to remove this warning. See [2022-07-18T01:39:14.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:39:14.206Z] [2022-07-18T01:39:14.206Z] Login Succeeded [2022-07-18T01:39:14.206Z] nexus3.edgexfoundry.org:10004 [2022-07-18T01:39:14.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:39:14.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:39:14.756Z] Configure a credential helper to remove this warning. See [2022-07-18T01:39:14.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:39:14.756Z] [2022-07-18T01:39:14.756Z] Login Succeeded [2022-07-18T01:39:14.756Z] docker.io [2022-07-18T01:39:15.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-18T01:39:15.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-18T01:39:15.626Z] Configure a credential helper to remove this warning. See [2022-07-18T01:39:15.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-18T01:39:15.626Z] [2022-07-18T01:39:15.626Z] Login Succeeded [2022-07-18T01:39:15.626Z] ---> docker-login.sh ends [Pipeline] } [2022-07-18T01:39:15.643Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:39:15.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-18T01:39:15.700Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2022-07-18T01:39:15.700Z] 025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:39:15.700Z] latest [2022-07-18T01:39:15.700Z] 2.2.1-dev.4 [2022-07-18T01:39:15.700Z] 025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:39:15.700Z] main [2022-07-18T01:39:15.700Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:16.079Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:16.449Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:39:16.449Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-18T01:39:16.449Z] 526ce9c23a92: Preparing [2022-07-18T01:39:16.449Z] 8b1af813535d: Preparing [2022-07-18T01:39:16.449Z] 6192598ce079: Preparing [2022-07-18T01:39:16.449Z] 9680ecafb6be: Preparing [2022-07-18T01:39:16.449Z] 93eb88613d42: Preparing [2022-07-18T01:39:16.449Z] dd565ff850e7: Preparing [2022-07-18T01:39:16.449Z] dd565ff850e7: Waiting [2022-07-18T01:39:16.724Z] 8b1af813535d: Pushed [2022-07-18T01:39:16.724Z] 93eb88613d42: Pushed [2022-07-18T01:39:16.724Z] 6192598ce079: Pushed [2022-07-18T01:39:16.724Z] dd565ff850e7: Layer already exists [2022-07-18T01:39:17.705Z] 9680ecafb6be: Pushed [2022-07-18T01:39:22.101Z] 526ce9c23a92: Pushed [2022-07-18T01:39:22.372Z] 025748471a1121a914633fcbecc3eb79c80c4329: digest: sha256:f2127e8471abbbaf566449c406057455b184ca2383c25508153e77f0a23b5ff0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:22.736Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:23.092Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-07-18T01:39:23.092Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-18T01:39:23.092Z] 526ce9c23a92: Preparing [2022-07-18T01:39:23.092Z] 8b1af813535d: Preparing [2022-07-18T01:39:23.092Z] 6192598ce079: Preparing [2022-07-18T01:39:23.092Z] 9680ecafb6be: Preparing [2022-07-18T01:39:23.092Z] 93eb88613d42: Preparing [2022-07-18T01:39:23.092Z] dd565ff850e7: Preparing [2022-07-18T01:39:23.092Z] dd565ff850e7: Waiting [2022-07-18T01:39:23.092Z] 93eb88613d42: Layer already exists [2022-07-18T01:39:23.092Z] 9680ecafb6be: Layer already exists [2022-07-18T01:39:23.092Z] 8b1af813535d: Layer already exists [2022-07-18T01:39:23.092Z] 6192598ce079: Layer already exists [2022-07-18T01:39:23.092Z] 526ce9c23a92: Layer already exists [2022-07-18T01:39:23.364Z] dd565ff850e7: Layer already exists [2022-07-18T01:39:23.364Z] latest: digest: sha256:f2127e8471abbbaf566449c406057455b184ca2383c25508153e77f0a23b5ff0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:23.735Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:24.088Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.4 [2022-07-18T01:39:24.088Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-18T01:39:24.088Z] 526ce9c23a92: Preparing [2022-07-18T01:39:24.088Z] 8b1af813535d: Preparing [2022-07-18T01:39:24.088Z] 6192598ce079: Preparing [2022-07-18T01:39:24.088Z] 9680ecafb6be: Preparing [2022-07-18T01:39:24.088Z] 93eb88613d42: Preparing [2022-07-18T01:39:24.088Z] dd565ff850e7: Preparing [2022-07-18T01:39:24.088Z] 9680ecafb6be: Layer already exists [2022-07-18T01:39:24.088Z] 6192598ce079: Layer already exists [2022-07-18T01:39:24.088Z] 526ce9c23a92: Layer already exists [2022-07-18T01:39:24.088Z] 8b1af813535d: Layer already exists [2022-07-18T01:39:24.088Z] 93eb88613d42: Layer already exists [2022-07-18T01:39:24.088Z] dd565ff850e7: Layer already exists [2022-07-18T01:39:24.359Z] 2.2.1-dev.4: digest: sha256:f2127e8471abbbaf566449c406057455b184ca2383c25508153e77f0a23b5ff0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:24.727Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:25.090Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:39:25.090Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-18T01:39:25.090Z] 526ce9c23a92: Preparing [2022-07-18T01:39:25.090Z] 8b1af813535d: Preparing [2022-07-18T01:39:25.090Z] 6192598ce079: Preparing [2022-07-18T01:39:25.090Z] 9680ecafb6be: Preparing [2022-07-18T01:39:25.090Z] 93eb88613d42: Preparing [2022-07-18T01:39:25.090Z] dd565ff850e7: Preparing [2022-07-18T01:39:25.090Z] dd565ff850e7: Waiting [2022-07-18T01:39:25.090Z] 526ce9c23a92: Layer already exists [2022-07-18T01:39:25.090Z] 8b1af813535d: Layer already exists [2022-07-18T01:39:25.090Z] 6192598ce079: Layer already exists [2022-07-18T01:39:25.090Z] 9680ecafb6be: Layer already exists [2022-07-18T01:39:25.090Z] 93eb88613d42: Layer already exists [2022-07-18T01:39:25.090Z] dd565ff850e7: Layer already exists [2022-07-18T01:39:25.362Z] 025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4: digest: sha256:f2127e8471abbbaf566449c406057455b184ca2383c25508153e77f0a23b5ff0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:25.733Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:26.095Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2022-07-18T01:39:26.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2022-07-18T01:39:26.096Z] 526ce9c23a92: Preparing [2022-07-18T01:39:26.096Z] 8b1af813535d: Preparing [2022-07-18T01:39:26.096Z] 6192598ce079: Preparing [2022-07-18T01:39:26.096Z] 9680ecafb6be: Preparing [2022-07-18T01:39:26.096Z] 93eb88613d42: Preparing [2022-07-18T01:39:26.096Z] dd565ff850e7: Preparing [2022-07-18T01:39:26.096Z] dd565ff850e7: Waiting [2022-07-18T01:39:26.096Z] 6192598ce079: Layer already exists [2022-07-18T01:39:26.096Z] 8b1af813535d: Layer already exists [2022-07-18T01:39:26.096Z] 526ce9c23a92: Layer already exists [2022-07-18T01:39:26.096Z] 9680ecafb6be: Layer already exists [2022-07-18T01:39:26.096Z] 93eb88613d42: Layer already exists [2022-07-18T01:39:26.367Z] dd565ff850e7: Layer already exists [2022-07-18T01:39:26.367Z] main: digest: sha256:f2127e8471abbbaf566449c406057455b184ca2383c25508153e77f0a23b5ff0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-07-18T01:39:26.437Z] ===================================================== [Pipeline] echo [2022-07-18T01:39:26.445Z] taggedImages: [2022-07-18T01:39:26.445Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329 [2022-07-18T01:39:26.445Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2022-07-18T01:39:26.445Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:2.2.1-dev.4 [2022-07-18T01:39:26.445Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:025748471a1121a914633fcbecc3eb79c80c4329-2.2.1-dev.4 [2022-07-18T01:39:26.445Z] - 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 [2022-07-18T01:39:26.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T01:39:26.812Z] [2022-07-18T01:39:26.812Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:39:27.157Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T01:39:27.441Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-18T01:39:27.441Z] 8998bd30e6a1: Pulling fs layer [2022-07-18T01:39:27.441Z] 04944245beec: Pulling fs layer [2022-07-18T01:39:27.441Z] 699f458cf7ca: Pulling fs layer [2022-07-18T01:39:27.441Z] 765212b225bb: Pulling fs layer [2022-07-18T01:39:27.441Z] f23df028b6ca: Pulling fs layer [2022-07-18T01:39:27.441Z] d65c8cfc05b1: Pulling fs layer [2022-07-18T01:39:27.441Z] f23df028b6ca: Waiting [2022-07-18T01:39:27.441Z] d65c8cfc05b1: Waiting [2022-07-18T01:39:27.441Z] 765212b225bb: Waiting [2022-07-18T01:39:27.441Z] 2437ff75d9bd: Pulling fs layer [2022-07-18T01:39:27.441Z] 2437ff75d9bd: Waiting [2022-07-18T01:39:27.441Z] 04944245beec: Verifying Checksum [2022-07-18T01:39:27.441Z] 04944245beec: Download complete [2022-07-18T01:39:27.441Z] 765212b225bb: Verifying Checksum [2022-07-18T01:39:27.441Z] 765212b225bb: Download complete [2022-07-18T01:39:27.441Z] f23df028b6ca: Verifying Checksum [2022-07-18T01:39:27.441Z] f23df028b6ca: Download complete [2022-07-18T01:39:27.441Z] d65c8cfc05b1: Verifying Checksum [2022-07-18T01:39:27.441Z] d65c8cfc05b1: Download complete [2022-07-18T01:39:27.716Z] 699f458cf7ca: Verifying Checksum [2022-07-18T01:39:27.716Z] 699f458cf7ca: Download complete [2022-07-18T01:39:27.992Z] 8998bd30e6a1: Verifying Checksum [2022-07-18T01:39:27.992Z] 8998bd30e6a1: Download complete [2022-07-18T01:39:30.616Z] 2437ff75d9bd: Verifying Checksum [2022-07-18T01:39:30.616Z] 2437ff75d9bd: Download complete [2022-07-18T01:39:32.046Z] 8998bd30e6a1: Pull complete [2022-07-18T01:39:32.639Z] 04944245beec: Pull complete [2022-07-18T01:39:34.079Z] 699f458cf7ca: Pull complete [2022-07-18T01:39:34.352Z] 765212b225bb: Pull complete [2022-07-18T01:39:35.327Z] f23df028b6ca: Pull complete [2022-07-18T01:39:35.327Z] d65c8cfc05b1: Pull complete [2022-07-18T01:39:50.403Z] 2437ff75d9bd: Pull complete [2022-07-18T01:39:50.403Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-18T01:39:50.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-18T01:39:50.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:39:50.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-20352 does not seem to be running inside a container [2022-07-18T01:39:50.778Z] $ 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/34 -v /w/workspace/device-gpio/34:/w/workspace/device-gpio/34:rw,z -v /w/workspace/device-gpio/34@tmp:/w/workspace/device-gpio/34@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 [2022-07-18T01:39:53.688Z] $ docker top 56b5444d92ad27cabcf6763530b5203968070facccc9123c46efd00e83313784 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:39:54.602Z] ---> job-cost.sh [2022-07-18T01:39:54.602Z] lf-activate-venv: SKIPPING [2022-07-18T01:39:54.602Z] INFO: No Stack... [2022-07-18T01:39:54.876Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-18T01:39:55.848Z] INFO: Archiving Costs [Pipeline] sh [2022-07-18T01:39:56.508Z] + cat /w/workspace/device-gpio/34/archives/cost.csv [2022-07-18T01:39:56.508Z] + cut -d, -f6 [Pipeline] lock [2022-07-18T01:39:56.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [2022-07-18T01:39:56.540Z] Resource [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] did not exist. Created. [2022-07-18T01:39:56.541Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-18T01:39:57.220Z] /w/workspace/device-gpio/34@tmp/durable-8f27404b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-18T01:39:57.893Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-18T01:39:57.910Z] Warning: overwriting stash ‘stack-cost’ [2022-07-18T01:39:57.963Z] Stashed 1 file(s) [Pipeline] } [2022-07-18T01:39:57.969Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-34-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-18T01:39:58.006Z] $ docker stop --time=1 56b5444d92ad27cabcf6763530b5203968070facccc9123c46efd00e83313784 [2022-07-18T01:39:59.535Z] $ docker rm -f 56b5444d92ad27cabcf6763530b5203968070facccc9123c46efd00e83313784 [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 [2022-07-18T01:39:59.967Z] provisioning config files... [2022-07-18T01:39:59.976Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2231562946168528109tmp [Pipeline] { [Pipeline] sh [2022-07-18T01:40:00.275Z] + set +x [2022-07-18T01:40:00.275Z] + curl -s https://codecov.io/bash [2022-07-18T01:40:00.275Z] + bash -s -- [2022-07-18T01:40:00.275Z] [2022-07-18T01:40:00.275Z] _____ _ [2022-07-18T01:40:00.275Z] / ____| | | [2022-07-18T01:40:00.275Z] | | ___ __| | ___ ___ _____ __ [2022-07-18T01:40:00.275Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-18T01:40:00.275Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-18T01:40:00.275Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-18T01:40:00.275Z] Bash-1.0.6 [2022-07-18T01:40:00.275Z] [2022-07-18T01:40:00.275Z] [2022-07-18T01:40:00.275Z] ==> git version 2.25.1 found [2022-07-18T01:40:00.275Z] ==> 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 [2022-07-18T01:40:00.275Z] Release-Date: 2020-01-08 [2022-07-18T01:40:00.275Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-18T01:40:00.275Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-18T01:40:00.275Z] ==> Jenkins CI detected. [2022-07-18T01:40:00.275Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2022-07-18T01:40:00.275Z] project root: . [2022-07-18T01:40:00.275Z] --> token set from env [2022-07-18T01:40:00.275Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-18T01:40:00.275Z] ==> Running gcov in . (disable via -X gcov) [2022-07-18T01:40:00.275Z] ==> Python coveragepy not found [2022-07-18T01:40:00.275Z] ==> Searching for coverage reports in: [2022-07-18T01:40:00.275Z] + . [2022-07-18T01:40:00.275Z] -> Found 1 reports [2022-07-18T01:40:00.275Z] ==> Detecting git/mercurial file structure [2022-07-18T01:40:00.275Z] ==> Reading reports [2022-07-18T01:40:00.275Z] + ./coverage.out bytes=10 [2022-07-18T01:40:00.275Z] ==> Appending adjustments [2022-07-18T01:40:00.275Z] https://docs.codecov.io/docs/fixing-reports [2022-07-18T01:40:00.535Z] + Found adjustments [2022-07-18T01:40:00.535Z] ==> Gzipping contents [2022-07-18T01:40:00.535Z] 4.0K /tmp/codecov.cKghwJ.gz [2022-07-18T01:40:00.535Z] ==> Uploading reports [2022-07-18T01:40:00.535Z] url: https://codecov.io [2022-07-18T01:40:00.535Z] query: branch=main&commit=025748471a1121a914633fcbecc3eb79c80c4329&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-18T01:40:00.535Z] -> Pinging Codecov [2022-07-18T01:40:00.535Z] 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=025748471a1121a914633fcbecc3eb79c80c4329&build=34&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F34%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2022-07-18T01:40:00.795Z] -> Uploading to [2022-07-18T01:40:00.796Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/025748471a1121a914633fcbecc3eb79c80c4329/930ea86b-cdc1-4a73-bfaf-9326f1297d06.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T014000Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e34be592e9f9edaf4772e44e6407dffbf085e3bf1cedb9d003f8cb279acd210 [2022-07-18T01:40:00.796Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-18T01:40:00.796Z] Dload Upload Total Spent Left Speed [2022-07-18T01:40:01.056Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 832 0 0 100 832 0 3262 --:--:-- --:--:-- --:--:-- 3262 [2022-07-18T01:40:01.056Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-gpio/commit/025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] } [2022-07-18T01:40:01.064Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-07-18T01:40:01.241Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-07-18T01:40:01.254Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:01.550Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T01:40:01.550Z] [2022-07-18T01:40:01.550Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:01.869Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T01:40:01.869Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-07-18T01:40:01.869Z] df9b9388f04a: Pulling fs layer [2022-07-18T01:40:01.869Z] 52dc419b0ee2: Pulling fs layer [2022-07-18T01:40:01.869Z] 25bc292e5bac: Pulling fs layer [2022-07-18T01:40:01.869Z] 114826534d7a: Pulling fs layer [2022-07-18T01:40:01.869Z] 4657fd5d0bcf: Pulling fs layer [2022-07-18T01:40:01.869Z] 6ad1cebc031e: Pulling fs layer [2022-07-18T01:40:01.869Z] 8a3aa393b2d8: Pulling fs layer [2022-07-18T01:40:01.869Z] 4657fd5d0bcf: Waiting [2022-07-18T01:40:01.869Z] 6ad1cebc031e: Waiting [2022-07-18T01:40:01.869Z] 8a3aa393b2d8: Waiting [2022-07-18T01:40:01.869Z] 114826534d7a: Waiting [2022-07-18T01:40:01.869Z] 25bc292e5bac: Verifying Checksum [2022-07-18T01:40:01.869Z] 25bc292e5bac: Download complete [2022-07-18T01:40:01.869Z] 52dc419b0ee2: Verifying Checksum [2022-07-18T01:40:01.869Z] 52dc419b0ee2: Download complete [2022-07-18T01:40:01.869Z] 4657fd5d0bcf: Verifying Checksum [2022-07-18T01:40:01.869Z] 4657fd5d0bcf: Download complete [2022-07-18T01:40:01.869Z] df9b9388f04a: Download complete [2022-07-18T01:40:02.135Z] 6ad1cebc031e: Verifying Checksum [2022-07-18T01:40:02.135Z] 6ad1cebc031e: Download complete [2022-07-18T01:40:02.135Z] df9b9388f04a: Pull complete [2022-07-18T01:40:02.135Z] 52dc419b0ee2: Pull complete [2022-07-18T01:40:02.135Z] 25bc292e5bac: Pull complete [2022-07-18T01:40:02.716Z] 114826534d7a: Verifying Checksum [2022-07-18T01:40:02.716Z] 114826534d7a: Download complete [2022-07-18T01:40:02.976Z] 8a3aa393b2d8: Verifying Checksum [2022-07-18T01:40:02.976Z] 8a3aa393b2d8: Download complete [2022-07-18T01:40:06.268Z] 114826534d7a: Pull complete [2022-07-18T01:40:06.268Z] 4657fd5d0bcf: Pull complete [2022-07-18T01:40:06.527Z] 6ad1cebc031e: Pull complete [2022-07-18T01:40:09.819Z] 8a3aa393b2d8: Pull complete [2022-07-18T01:40:09.819Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-07-18T01:40:09.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-07-18T01:40:09.819Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:09.923Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:09.975Z] $ 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 [2022-07-18T01:40:11.711Z] $ docker top d137bdabba14ff378fca546a295733d7aece9e20db8d30609335d09fb11150b9 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-07-18T01:40:11.783Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2022-07-18T01:40:12.060Z] + set -o pipefail [2022-07-18T01:40:12.060Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2022-07-18T01:40:16.272Z] [2022-07-18T01:40:16.272Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2022-07-18T01:40:16.272Z] [2022-07-18T01:40:16.272Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/4e6846fa-32e7-4bbf-9755-6f3565542f2b [2022-07-18T01:40:16.272Z] [2022-07-18T01:40:16.272Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-07-18T01:40:16.272Z] [2022-07-18T01:40:16.272Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-07-18T01:40:16.272Z] [2022-07-18T01:40:16.272Z] [Pipeline] } [2022-07-18T01:40:16.302Z] $ docker stop --time=1 d137bdabba14ff378fca546a295733d7aece9e20db8d30609335d09fb11150b9 [2022-07-18T01:40:18.483Z] $ docker rm -f d137bdabba14ff378fca546a295733d7aece9e20db8d30609335d09fb11150b9 [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 [2022-07-18T01:40:19.272Z] + git log --format=format:%s -1 025748471a1121a914633fcbecc3eb79c80c4329 [Pipeline] sh [2022-07-18T01:40:19.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T01:40:19.567Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:19.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:40:19.877Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:19.972Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:20.022Z] $ 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 [2022-07-18T01:40:20.497Z] $ docker top 1920edf9b3f2a1d09e67bed643ae19d9f33becb02a5971a95496bd0f4770dbb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T01:40:20.585Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:40:20.585Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:40:20.726Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:40:20.745Z] $ docker exec 1920edf9b3f2a1d09e67bed643ae19d9f33becb02a5971a95496bd0f4770dbb9 ssh-agent [2022-07-18T01:40:20.864Z] SSH_AUTH_SOCK=/tmp/ssh-GKrJ2705XWZ8/agent.33 [2022-07-18T01:40:20.864Z] SSH_AGENT_PID=39 [2022-07-18T01:40:20.868Z] Running ssh-add (command line suppressed) [2022-07-18T01:40:21.005Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8690904957745743822.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8690904957745743822.key) [2022-07-18T01:40:21.006Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:40:21.295Z] + git semver tag [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,501 [run_tag] DEBUG tag force:False [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,501 [check_head_tag] DEBUG check head tag [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,502 [execute] INFO git cat-file --batch-check [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,502 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,505 [execute] INFO git cat-file --batch [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,513 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,514 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2022-07-18T01:40:21.555Z] 2022-07-18 01:40:21,521 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:21.555Z] 2.2.1-dev.4 [Pipeline] } [2022-07-18T01:40:21.581Z] $ docker exec --env ******** --env ******** 1920edf9b3f2a1d09e67bed643ae19d9f33becb02a5971a95496bd0f4770dbb9 ssh-agent -k [2022-07-18T01:40:21.718Z] unset SSH_AUTH_SOCK; [2022-07-18T01:40:21.718Z] unset SSH_AGENT_PID; [2022-07-18T01:40:21.719Z] echo Agent pid 39 killed; [2022-07-18T01:40:21.714Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T01:40:22.026Z] + git semver [Pipeline] } [2022-07-18T01:40:22.317Z] $ docker stop --time=1 1920edf9b3f2a1d09e67bed643ae19d9f33becb02a5971a95496bd0f4770dbb9 [2022-07-18T01:40:23.621Z] $ docker rm -f 1920edf9b3f2a1d09e67bed643ae19d9f33becb02a5971a95496bd0f4770dbb9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:24.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T01:40:24.010Z] [2022-07-18T01:40:24.010Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:24.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T01:40:24.572Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-07-18T01:40:24.572Z] ab5ef0e58194: Pulling fs layer [2022-07-18T01:40:24.572Z] 9712f1f96733: Pulling fs layer [2022-07-18T01:40:24.572Z] 63f879dbbcfc: Pulling fs layer [2022-07-18T01:40:24.572Z] 0d9ebad4ef96: Pulling fs layer [2022-07-18T01:40:24.572Z] e9a5061849ea: Pulling fs layer [2022-07-18T01:40:24.572Z] d747dcd14b5f: Pulling fs layer [2022-07-18T01:40:24.572Z] 2de7ff778b66: Pulling fs layer [2022-07-18T01:40:24.572Z] e9a5061849ea: Waiting [2022-07-18T01:40:24.572Z] 0d9ebad4ef96: Waiting [2022-07-18T01:40:24.572Z] 2de7ff778b66: Waiting [2022-07-18T01:40:24.572Z] d747dcd14b5f: Waiting [2022-07-18T01:40:24.572Z] 9712f1f96733: Verifying Checksum [2022-07-18T01:40:24.572Z] 9712f1f96733: Download complete [2022-07-18T01:40:24.833Z] 63f879dbbcfc: Verifying Checksum [2022-07-18T01:40:24.833Z] 63f879dbbcfc: Download complete [2022-07-18T01:40:25.093Z] 0d9ebad4ef96: Verifying Checksum [2022-07-18T01:40:25.093Z] 0d9ebad4ef96: Download complete [2022-07-18T01:40:25.093Z] e9a5061849ea: Verifying Checksum [2022-07-18T01:40:25.093Z] e9a5061849ea: Download complete [2022-07-18T01:40:25.093Z] d747dcd14b5f: Download complete [2022-07-18T01:40:25.093Z] ab5ef0e58194: Download complete [2022-07-18T01:40:25.093Z] 2de7ff778b66: Verifying Checksum [2022-07-18T01:40:25.093Z] 2de7ff778b66: Download complete [2022-07-18T01:40:28.379Z] ab5ef0e58194: Pull complete [2022-07-18T01:40:28.379Z] 9712f1f96733: Pull complete [2022-07-18T01:40:28.948Z] 63f879dbbcfc: Pull complete [2022-07-18T01:40:33.141Z] 0d9ebad4ef96: Pull complete [2022-07-18T01:40:33.401Z] e9a5061849ea: Pull complete [2022-07-18T01:40:33.401Z] d747dcd14b5f: Pull complete [2022-07-18T01:40:34.786Z] 2de7ff778b66: Pull complete [2022-07-18T01:40:34.786Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-07-18T01:40:34.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-07-18T01:40:34.787Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:34.896Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:34.948Z] $ 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 [2022-07-18T01:40:37.073Z] $ docker top 9369f88b8812309b4daf0b745d1ad026559c121ce041a319b0d9851e5282aea4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:40:37.145Z] provisioning config files... [2022-07-18T01:40:37.154Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1069561835986979164tmp [2022-07-18T01:40:37.168Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1179417909467625214tmp [2022-07-18T01:40:37.182Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2025205801393659799tmp [Pipeline] { [Pipeline] echo [2022-07-18T01:40:37.195Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:37.480Z] ---> sigul-configuration.sh [2022-07-18T01:40:37.480Z] gpg: directory `/root/.gnupg' created [2022-07-18T01:40:37.480Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-07-18T01:40:37.480Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-07-18T01:40:37.480Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-07-18T01:40:37.480Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-07-18T01:40:37.480Z] gpg: CAST5 encrypted data [2022-07-18T01:40:37.480Z] gpg: encrypted with 1 passphrase [2022-07-18T01:40:37.480Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-07-18T01:40:37.770Z] + mkdir /home/jenkins [2022-07-18T01:40:37.770Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-07-18T01:40:38.063Z] + 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 [2022-07-18T01:40:38.073Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:38.362Z] ---> sigul-install.sh [2022-07-18T01:40:38.362Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-07-18T01:40:38.649Z] + git tag --list [2022-07-18T01:40:38.649Z] v1.0.0 [2022-07-18T01:40:38.649Z] v2.1.0 [2022-07-18T01:40:38.649Z] v2.1.1 [2022-07-18T01:40:38.649Z] v2.1.1-dev.1 [2022-07-18T01:40:38.649Z] v2.2.0 [2022-07-18T01:40:38.649Z] v2.2.1-dev.1 [2022-07-18T01:40:38.649Z] v2.2.1-dev.2 [2022-07-18T01:40:38.649Z] v2.2.1-dev.3 [2022-07-18T01:40:38.649Z] v2.2.1-dev.4 [Pipeline] sh [2022-07-18T01:40:38.939Z] + lftools sign git-tag v2.2.1-dev.4 [2022-07-18T01:40:39.510Z] Signing Git tag with Sigul... [2022-07-18T01:40:39.510Z] Signing v2.2.1-dev.4 [Pipeline] echo [2022-07-18T01:40:39.781Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:40.067Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-07-18T01:40:40.075Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-07-18T01:40:40.111Z] $ docker stop --time=1 9369f88b8812309b4daf0b745d1ad026559c121ce041a319b0d9851e5282aea4 [2022-07-18T01:40:41.462Z] $ docker rm -f 9369f88b8812309b4daf0b745d1ad026559c121ce041a319b0d9851e5282aea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-07-18T01:40:41.875Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T01:40:41.875Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:42.175Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:40:42.175Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:42.263Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:42.316Z] $ 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 [2022-07-18T01:40:42.703Z] $ docker top 198853e6357bef7a09d503defa89d04699f448182ecff34d4253226483785d0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T01:40:42.794Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:40:42.794Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:40:42.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:40:42.941Z] $ docker exec 198853e6357bef7a09d503defa89d04699f448182ecff34d4253226483785d0a ssh-agent [2022-07-18T01:40:43.073Z] SSH_AUTH_SOCK=/tmp/ssh-pre3XDetHA5N/agent.33 [2022-07-18T01:40:43.073Z] SSH_AGENT_PID=39 [2022-07-18T01:40:43.077Z] Running ssh-add (command line suppressed) [2022-07-18T01:40:43.223Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_914735460685319285.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_914735460685319285.key) [2022-07-18T01:40:43.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:40:43.520Z] + git semver bump pre [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [bump_version] DEBUG bumped version:2.2.1-dev.5 [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,733 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,736 [execute] INFO git cat-file --batch-check [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,742 [execute] INFO git cat-file --batch [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,742 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T01:40:43.792Z] 2022-07-18 01:40:43,748 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:43.792Z] 2.2.1-dev.5 [Pipeline] } [2022-07-18T01:40:43.893Z] $ docker exec --env ******** --env ******** 198853e6357bef7a09d503defa89d04699f448182ecff34d4253226483785d0a ssh-agent -k [2022-07-18T01:40:44.040Z] unset SSH_AUTH_SOCK; [2022-07-18T01:40:44.041Z] unset SSH_AGENT_PID; [2022-07-18T01:40:44.041Z] echo Agent pid 39 killed; [2022-07-18T01:40:44.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T01:40:44.379Z] + git semver [Pipeline] } [2022-07-18T01:40:44.671Z] $ docker stop --time=1 198853e6357bef7a09d503defa89d04699f448182ecff34d4253226483785d0a [2022-07-18T01:40:45.993Z] $ docker rm -f 198853e6357bef7a09d503defa89d04699f448182ecff34d4253226483785d0a [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-18T01:40:46.341Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-18T01:40:46.341Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:46.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-18T01:40:46.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:46.747Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:46.797Z] $ 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 [2022-07-18T01:40:47.212Z] $ docker top d2bd45401bcd1288e84c85655709840a2e93adf2d16b9699ad4442b1d497a8b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-18T01:40:47.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-18T01:40:47.302Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-18T01:40:47.439Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-18T01:40:47.459Z] $ docker exec d2bd45401bcd1288e84c85655709840a2e93adf2d16b9699ad4442b1d497a8b0 ssh-agent [2022-07-18T01:40:47.574Z] SSH_AUTH_SOCK=/tmp/ssh-B8ltcxEfgcRp/agent.34 [2022-07-18T01:40:47.574Z] SSH_AGENT_PID=40 [2022-07-18T01:40:47.578Z] Running ssh-add (command line suppressed) [2022-07-18T01:40:47.709Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1256419665051615967.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1256419665051615967.key) [2022-07-18T01:40:47.709Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-18T01:40:48.002Z] + git semver push [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,238 [run_push] DEBUG push [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,238 [execute] INFO git cat-file --batch-check [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,243 [execute] INFO git rev-list afd0233da1e4495c5337c8252ecd2348f9628290 -- [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,243 [execute] DEBUG Popen(['git', 'rev-list', 'afd0233da1e4495c5337c8252ecd2348f9628290', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,249 [execute] INFO git fetch -v origin [2022-07-18T01:40:48.262Z] 2022-07-18 01:40:48,250 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-07-18T01:40:48.832Z] 2022-07-18 01:40:48,714 [run_push] DEBUG no remote changes detected [2022-07-18T01:40:48.832Z] 2022-07-18 01:40:48,715 [execute] INFO git push origin semver [2022-07-18T01:40:48.832Z] 2022-07-18 01:40:48,715 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-07-18T01:40:49.775Z] 2022-07-18 01:40:49,441 [run_push] DEBUG push all version tags [2022-07-18T01:40:49.775Z] 2022-07-18 01:40:49,442 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-07-18T01:40:49.775Z] 2022-07-18 01:40:49,443 [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) [2022-07-18T01:40:50.348Z] 2022-07-18 01:40:50,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2022-07-18T01:40:50.348Z] 2.2.1-dev.5 [Pipeline] } [2022-07-18T01:40:50.375Z] $ docker exec --env ******** --env ******** d2bd45401bcd1288e84c85655709840a2e93adf2d16b9699ad4442b1d497a8b0 ssh-agent -k [2022-07-18T01:40:50.477Z] unset SSH_AUTH_SOCK; [2022-07-18T01:40:50.478Z] unset SSH_AGENT_PID; [2022-07-18T01:40:50.478Z] echo Agent pid 40 killed; [2022-07-18T01:40:50.473Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-18T01:40:50.780Z] + git semver [Pipeline] } [2022-07-18T01:40:51.070Z] $ docker stop --time=1 d2bd45401bcd1288e84c85655709840a2e93adf2d16b9699ad4442b1d497a8b0 [2022-07-18T01:40:52.374Z] $ docker rm -f d2bd45401bcd1288e84c85655709840a2e93adf2d16b9699ad4442b1d497a8b0 [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 [2022-07-18T01:40:52.903Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2022-07-18T01:40:52.903Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-18T01:40:52.903Z] total 16 [2022-07-18T01:40:52.903Z] drwxr-xr-x 3 root root 4096 Jul 18 01:31 . [2022-07-18T01:40:52.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:40 .. [2022-07-18T01:40:52.903Z] drwxr-xr-x 2 root root 4096 Jul 18 01:31 cost [2022-07-18T01:40:52.903Z] -rw-r--r-- 1 root root 81 Jul 18 01:31 cost.csv [2022-07-18T01:40:52.903Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-18T01:40:52.903Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2022-07-18T01:40:52.903Z] total 16 [2022-07-18T01:40:52.903Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:31 . [2022-07-18T01:40:52.903Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:40 .. [2022-07-18T01:40:52.903Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:31 cost [2022-07-18T01:40:52.903Z] -rw-r--r-- 1 jenkins jenkins 81 Jul 18 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:53.195Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:54.062Z] ---> package-listing.sh [2022-07-18T01:40:54.062Z] ++ facter osfamily [2022-07-18T01:40:54.062Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-18T01:40:54.322Z] + OS_FAMILY=debian [2022-07-18T01:40:54.322Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2022-07-18T01:40:54.322Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-18T01:40:54.322Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-18T01:40:54.322Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-18T01:40:54.322Z] + PACKAGES=/tmp/packages_start.txt [2022-07-18T01:40:54.322Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-07-18T01:40:54.322Z] + PACKAGES=/tmp/packages_end.txt [2022-07-18T01:40:54.322Z] + case "${OS_FAMILY}" in [2022-07-18T01:40:54.322Z] + dpkg -l [2022-07-18T01:40:54.322Z] + grep '^ii' [2022-07-18T01:40:54.322Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-18T01:40:54.322Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-18T01:40:54.322Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-18T01:40:54.322Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2022-07-18T01:40:54.322Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2022-07-18T01:40:54.322Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2022-07-18T01:40:54.333Z] 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 [2022-07-18T01:40:54.613Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-18T01:40:55.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-18T01:40:55.178Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-18T01:40:55.255Z] prd-ubuntu20.04-docker-8c-8g-20349 does not seem to be running inside a container [2022-07-18T01:40:55.306Z] $ 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 [2022-07-18T01:40:55.559Z] $ docker top 5d2712b2ac592eaf10a4b157452b8107a5d8db666a3e51b77bdd57be8f66e63e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-18T01:40:55.907Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-18T01:40:56.203Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-18T01:40:56.496Z] + ls /var/log/sa-host [2022-07-18T01:40:56.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-18T01:40:56.614Z] provisioning config files... [2022-07-18T01:40:56.623Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8781859842115057899tmp [Pipeline] { [Pipeline] echo [2022-07-18T01:40:56.633Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:56.917Z] ---> create-netrc.sh [Pipeline] } [2022-07-18T01:40:56.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:57.265Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-18T01:40:57.275Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:57.559Z] ---> sudo-logs.sh [2022-07-18T01:40:57.559Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-18T01:40:57.585Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:57.871Z] ---> job-cost.sh [2022-07-18T01:40:57.871Z] lf-activate-venv: SKIPPING [2022-07-18T01:40:57.871Z] DEBUG: total: 0.2199999988079071 [2022-07-18T01:40:57.871Z] INFO: Retrieving Stack Cost... [2022-07-18T01:40:58.131Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-18T01:40:58.703Z] INFO: Archiving Costs [Pipeline] echo [2022-07-18T01:40:58.716Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-18T01:40:59.000Z] ---> logs-deploy.sh [2022-07-18T01:40:59.000Z] lf-activate-venv: SKIPPING [2022-07-18T01:40:59.000Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/34 [2022-07-18T01:40:59.000Z] INFO: archiving workspace using pattern(s): [2022-07-18T01:40:59.945Z] Archives upload complete. [2022-07-18T01:40:59.945Z] INFO: archiving logs to Nexus