Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45d04bf83b3f660b78aa8dfc6abcb70613e55fda 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-ssh3832210855729571187.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh4740530126743036510.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1513083450993943123.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh13681097880742994690.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/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-ssh15533005894971674515.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13344 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 45d04bf83b3f660b78aa8dfc6abcb70613e55fda (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 45d04bf83b3f660b78aa8dfc6abcb70613e55fda # timeout=10 Commit message: "Merge pull request #169 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" > git rev-list --no-walk 047a754c10fbde4392f5fd28b60c1cf65bc55b22 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T01:52:05.964Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T01:52:06.012Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T01:52:06.029Z] ========================================================= [2023-05-05T01:52:06.030Z] EdgeX Global Pipelines Version Info [2023-05-05T01:52:06.030Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:52:06.727Z] ------------------- [2023-05-05T01:52:06.727Z] stable info: [2023-05-05T01:52:06.727Z] ------------------- [2023-05-05T01:52:06.727Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T01:52:06.727Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T01:52:06.727Z] Message: update stable to v1.0.249 [2023-05-05T01:52:07.300Z] ------------------- [2023-05-05T01:52:07.300Z] experimental info: [2023-05-05T01:52:07.300Z] ------------------- [2023-05-05T01:52:07.300Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T01:52:07.300Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T01:52:07.300Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T01:52:07.461Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-05-05T01:52:07.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-05-05T01:52:07.490Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T01:52:07.511Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T01:52:07.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T01:52:07.542Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T01:52:07.563Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T01:52:07.582Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T01:52:07.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T01:52:07.623Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T01:52:07.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T01:52:07.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-05-05T01:52:07.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T01:52:07.688Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T01:52:07.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T01:52:07.714Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T01:52:07.731Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T01:52:07.753Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T01:52:07.764Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T01:52:07.774Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T01:52:07.785Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T01:52:07.799Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T01:52:07.818Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T01:52:07.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T01:52:07.854Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T01:52:07.870Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T01:52:07.889Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T01:52:07.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T01:52:07.919Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T01:52:07.931Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T01:52:07.947Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] echo [2023-05-05T01:52:07.963Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45d04bf [Pipeline] echo [2023-05-05T01:52:07.975Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:52:08.015Z] provisioning config files... [2023-05-05T01:52:08.029Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config296967045827335994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:52:08.332Z] ---> docker-login.sh [2023-05-05T01:52:08.333Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:52:08.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:08.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:08.592Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:08.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:08.592Z] [2023-05-05T01:52:08.592Z] Login Succeeded [2023-05-05T01:52:08.592Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:52:08.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:08.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:08.850Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:08.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:08.850Z] [2023-05-05T01:52:08.850Z] Login Succeeded [2023-05-05T01:52:08.850Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:52:08.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:08.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:08.850Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:08.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:08.850Z] [2023-05-05T01:52:08.850Z] Login Succeeded [2023-05-05T01:52:08.850Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:52:09.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:09.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:09.111Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:09.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:09.111Z] [2023-05-05T01:52:09.111Z] Login Succeeded [2023-05-05T01:52:09.111Z] docker.io [2023-05-05T01:52:09.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:09.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:09.373Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:09.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:09.373Z] [2023-05-05T01:52:09.373Z] Login Succeeded [2023-05-05T01:52:09.373Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:52:09.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T01:52:09.738Z] + git rev-list -1 --merges 45d04bf83b3f660b78aa8dfc6abcb70613e55fda~1..45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] echo [2023-05-05T01:52:09.781Z] -----------> git rev-list -1 --merges 45d04bf83b3f660b78aa8dfc6abcb70613e55fda~1..45d04bf83b3f660b78aa8dfc6abcb70613e55fda 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T01:52:09.781Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [false] [Pipeline] sh [2023-05-05T01:52:10.077Z] + git log --format=format:%s -1 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] echo [2023-05-05T01:52:10.108Z] ========================================================= [2023-05-05T01:52:10.108Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T01:52:10.108Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T01:52:10.430Z] + git log --format=format:%s -1 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] echo [2023-05-05T01:52:10.440Z] [semverPrep] GIT_COMMIT: 45d04bf83b3f660b78aa8dfc6abcb70613e55fda, Commit Message: Merge pull request #169 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82 [Pipeline] echo [2023-05-05T01:52:10.449Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T01:52:10.792Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T01:52:10.792Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T01:52:10.792Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T01:52:10.792Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T01:52:10.792Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T01:52:10.792Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T01:52:10.792Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:52:11.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:52:11.148Z] [2023-05-05T01:52:11.148Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:52:11.451Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:52:11.451Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T01:52:11.451Z] b85a868b505f: Pulling fs layer [2023-05-05T01:52:11.451Z] e2be974225ed: Pulling fs layer [2023-05-05T01:52:11.451Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T01:52:11.451Z] 988bab9f4d93: Pulling fs layer [2023-05-05T01:52:11.451Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T01:52:11.451Z] eaf3925da568: Pulling fs layer [2023-05-05T01:52:11.451Z] bab4dde63d76: Pulling fs layer [2023-05-05T01:52:11.451Z] bde34c3a00c8: Pulling fs layer [2023-05-05T01:52:11.451Z] b352a97aabf1: Pulling fs layer [2023-05-05T01:52:11.451Z] 4872d77fe225: Pulling fs layer [2023-05-05T01:52:11.451Z] 5851b861e8e6: Pulling fs layer [2023-05-05T01:52:11.451Z] 1469e6f7b9e6: Waiting [2023-05-05T01:52:11.451Z] eaf3925da568: Waiting [2023-05-05T01:52:11.451Z] 4872d77fe225: Waiting [2023-05-05T01:52:11.451Z] bab4dde63d76: Waiting [2023-05-05T01:52:11.451Z] bde34c3a00c8: Waiting [2023-05-05T01:52:11.451Z] b352a97aabf1: Waiting [2023-05-05T01:52:11.451Z] 988bab9f4d93: Waiting [2023-05-05T01:52:11.451Z] e2be974225ed: Download complete [2023-05-05T01:52:11.451Z] 988bab9f4d93: Verifying Checksum [2023-05-05T01:52:11.451Z] 988bab9f4d93: Download complete [2023-05-05T01:52:11.451Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T01:52:11.451Z] 339a4e72a1f5: Download complete [2023-05-05T01:52:11.722Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T01:52:11.722Z] 1469e6f7b9e6: Download complete [2023-05-05T01:52:11.722Z] eaf3925da568: Verifying Checksum [2023-05-05T01:52:11.722Z] eaf3925da568: Download complete [2023-05-05T01:52:11.722Z] bde34c3a00c8: Verifying Checksum [2023-05-05T01:52:11.722Z] bde34c3a00c8: Download complete [2023-05-05T01:52:11.722Z] b352a97aabf1: Download complete [2023-05-05T01:52:11.722Z] 4872d77fe225: Verifying Checksum [2023-05-05T01:52:11.722Z] 4872d77fe225: Download complete [2023-05-05T01:52:11.722Z] 5851b861e8e6: Verifying Checksum [2023-05-05T01:52:11.722Z] 5851b861e8e6: Download complete [2023-05-05T01:52:11.722Z] b85a868b505f: Verifying Checksum [2023-05-05T01:52:11.722Z] b85a868b505f: Download complete [2023-05-05T01:52:11.980Z] bab4dde63d76: Verifying Checksum [2023-05-05T01:52:11.980Z] bab4dde63d76: Download complete [2023-05-05T01:52:12.919Z] b85a868b505f: Pull complete [2023-05-05T01:52:13.183Z] e2be974225ed: Pull complete [2023-05-05T01:52:13.442Z] 339a4e72a1f5: Pull complete [2023-05-05T01:52:13.703Z] 988bab9f4d93: Pull complete [2023-05-05T01:52:13.963Z] 1469e6f7b9e6: Pull complete [2023-05-05T01:52:13.963Z] eaf3925da568: Pull complete [2023-05-05T01:52:15.868Z] bab4dde63d76: Pull complete [2023-05-05T01:52:15.868Z] bde34c3a00c8: Pull complete [2023-05-05T01:52:15.868Z] b352a97aabf1: Pull complete [2023-05-05T01:52:15.868Z] 4872d77fe225: Pull complete [2023-05-05T01:52:15.868Z] 5851b861e8e6: Pull complete [2023-05-05T01:52:15.868Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T01:52:15.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T01:52:15.868Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:52:15.964Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T01:52:15.996Z] $ 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 [2023-05-05T01:52:19.272Z] $ docker top 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 -eo pid,comm [2023-05-05T01:52:19.326Z] 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). [2023-05-05T01:52:19.326Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T01:52:19.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T01:52:19.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T01:52:19.474Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T01:52:19.475Z] $ docker exec 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 ssh-agent [2023-05-05T01:52:19.583Z] SSH_AUTH_SOCK=/tmp/ssh-JuYl7sirDNZP/agent.32 [2023-05-05T01:52:19.583Z] SSH_AGENT_PID=38 [2023-05-05T01:52:19.589Z] Running ssh-add (command line suppressed) [2023-05-05T01:52:19.694Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_596602389101219225.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_596602389101219225.key) [2023-05-05T01:52:19.715Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T01:52:20.005Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T01:52:20.022Z] $ docker exec --env ******** --env ******** 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 ssh-agent -k [2023-05-05T01:52:20.119Z] unset SSH_AUTH_SOCK; [2023-05-05T01:52:20.120Z] unset SSH_AGENT_PID; [2023-05-05T01:52:20.120Z] echo Agent pid 38 killed; [2023-05-05T01:52:20.131Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T01:52:20.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T01:52:20.152Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T01:52:20.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T01:52:20.256Z] $ docker exec 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 ssh-agent [2023-05-05T01:52:20.377Z] SSH_AUTH_SOCK=/tmp/ssh-nZm1tgmiueqS/agent.70 [2023-05-05T01:52:20.377Z] SSH_AGENT_PID=76 [2023-05-05T01:52:20.382Z] Running ssh-add (command line suppressed) [2023-05-05T01:52:20.476Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8343634717695741123.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8343634717695741123.key) [2023-05-05T01:52:20.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T01:52:20.782Z] + git semver init [2023-05-05T01:52:21.055Z] 2023-05-05 01:52:20,946 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T01:52:21.055Z] 2023-05-05 01:52:20,946 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-05-05T01:52:21.055Z] 2023-05-05 01:52:20,947 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-05-05T01:52:21.055Z] 2023-05-05 01:52:20,947 [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) [2023-05-05T01:52:21.995Z] 2023-05-05 01:52:21,909 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-05-05T01:52:21.995Z] 2023-05-05 01:52:21,910 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-05-05T01:52:21.995Z] 2023-05-05 01:52:21,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T01:52:21.995Z] 2023-05-05 01:52:21,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T01:52:21.995Z] 3.0.0-dev.23 [Pipeline] } [2023-05-05T01:52:22.005Z] $ docker exec --env ******** --env ******** 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 ssh-agent -k [2023-05-05T01:52:22.109Z] unset SSH_AUTH_SOCK; [2023-05-05T01:52:22.110Z] unset SSH_AGENT_PID; [2023-05-05T01:52:22.110Z] echo Agent pid 76 killed; [2023-05-05T01:52:22.122Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T01:52:22.427Z] + git semver [Pipeline] } [2023-05-05T01:52:22.697Z] $ docker stop --time=1 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 [2023-05-05T01:52:24.001Z] $ docker rm -f --volumes 6a8c78d4bf6f907641ae7a9483a4e4d905be57294eec976330ec2c9975428e49 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T01:52:24.338Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T01:52:24.571Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T01:52:24.574Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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 [2023-05-05T01:52:24.710Z] provisioning config files... [2023-05-05T01:52:24.719Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10473236835788407606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:52:25.011Z] ---> docker-login.sh [2023-05-05T01:52:25.011Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:52:25.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:25.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:25.011Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:25.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:25.011Z] [2023-05-05T01:52:25.011Z] Login Succeeded [2023-05-05T01:52:25.011Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:52:25.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:25.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:25.011Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:25.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:25.011Z] [2023-05-05T01:52:25.011Z] Login Succeeded [2023-05-05T01:52:25.011Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:52:25.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:25.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:25.271Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:25.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:25.271Z] [2023-05-05T01:52:25.271Z] Login Succeeded [2023-05-05T01:52:25.271Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:52:25.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:25.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:25.271Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:25.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:25.271Z] [2023-05-05T01:52:25.271Z] Login Succeeded [2023-05-05T01:52:25.271Z] docker.io [2023-05-05T01:52:25.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:52:25.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:52:25.530Z] Configure a credential helper to remove this warning. See [2023-05-05T01:52:25.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:52:25.530Z] [2023-05-05T01:52:25.530Z] Login Succeeded [2023-05-05T01:52:25.530Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:52:25.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T01:52:25.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:52:25.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:52:25.617Z] ========================================================= [2023-05-05T01:52:25.617Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T01:52:25.617Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:52:25.917Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T01:52:25.917Z] Sending build context to Docker daemon 16.08MB [2023-05-05T01:52:25.917Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:52:25.917Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T01:52:25.917Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T01:52:25.917Z] f56be85fc22e: Pulling fs layer [2023-05-05T01:52:25.917Z] 85791d961cd3: Pulling fs layer [2023-05-05T01:52:25.917Z] d694b5ae8c79: Pulling fs layer [2023-05-05T01:52:25.917Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T01:52:25.917Z] 4d19c01a9841: Pulling fs layer [2023-05-05T01:52:25.917Z] 9325e15d5711: Pulling fs layer [2023-05-05T01:52:25.917Z] 556b6ee489ea: Pulling fs layer [2023-05-05T01:52:25.917Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T01:52:25.917Z] c5a4b2cf53e6: Waiting [2023-05-05T01:52:25.917Z] 9325e15d5711: Waiting [2023-05-05T01:52:25.917Z] 9f32a84ed3da: Waiting [2023-05-05T01:52:25.917Z] 4d19c01a9841: Waiting [2023-05-05T01:52:25.917Z] 556b6ee489ea: Waiting [2023-05-05T01:52:26.178Z] 85791d961cd3: Verifying Checksum [2023-05-05T01:52:26.178Z] 85791d961cd3: Download complete [2023-05-05T01:52:26.178Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T01:52:26.178Z] 9f32a84ed3da: Download complete [2023-05-05T01:52:26.178Z] 4d19c01a9841: Download complete [2023-05-05T01:52:26.178Z] f56be85fc22e: Verifying Checksum [2023-05-05T01:52:26.178Z] f56be85fc22e: Download complete [2023-05-05T01:52:26.178Z] 9325e15d5711: Verifying Checksum [2023-05-05T01:52:26.178Z] 9325e15d5711: Download complete [2023-05-05T01:52:26.178Z] f56be85fc22e: Pull complete [2023-05-05T01:52:26.440Z] 85791d961cd3: Pull complete [2023-05-05T01:52:26.701Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T01:52:26.701Z] c5a4b2cf53e6: Download complete [2023-05-05T01:52:26.701Z] d694b5ae8c79: Verifying Checksum [2023-05-05T01:52:26.701Z] d694b5ae8c79: Download complete [2023-05-05T01:52:27.274Z] 556b6ee489ea: Download complete [2023-05-05T01:52:29.808Z] d694b5ae8c79: Pull complete [2023-05-05T01:52:29.808Z] 9f32a84ed3da: Pull complete [2023-05-05T01:52:30.067Z] 4d19c01a9841: Pull complete [2023-05-05T01:52:30.067Z] 9325e15d5711: Pull complete [2023-05-05T01:52:32.601Z] 556b6ee489ea: Pull complete [2023-05-05T01:52:33.170Z] c5a4b2cf53e6: Pull complete [2023-05-05T01:52:33.170Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T01:52:33.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T01:52:33.170Z] ---> c4be618373d6 [2023-05-05T01:52:33.170Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:52:38.482Z] ---> Running in 9f41f6a02ee9 [2023-05-05T01:52:38.741Z] Removing intermediate container 9f41f6a02ee9 [2023-05-05T01:52:38.741Z] ---> 3dfe2d78c1e5 [2023-05-05T01:52:38.741Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:52:38.741Z] ---> Running in 4b1da597c06f [2023-05-05T01:52:38.741Z] Removing intermediate container 4b1da597c06f [2023-05-05T01:52:38.741Z] ---> 5aa8923181d0 [2023-05-05T01:52:38.741Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-05T01:52:38.741Z] ---> Running in 1dc9c3ac4400 [2023-05-05T01:52:38.999Z] Removing intermediate container 1dc9c3ac4400 [2023-05-05T01:52:38.999Z] ---> f6d56a5a1dee [2023-05-05T01:52:38.999Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:52:38.999Z] ---> Running in 7481fcf2fd52 [2023-05-05T01:52:38.999Z] Removing intermediate container 7481fcf2fd52 [2023-05-05T01:52:38.999Z] ---> 332ec6cb7b9d [2023-05-05T01:52:38.999Z] Step 7/12 : WORKDIR /device-gpio [2023-05-05T01:52:38.999Z] ---> Running in 90865ed45092 [2023-05-05T01:52:39.258Z] Removing intermediate container 90865ed45092 [2023-05-05T01:52:39.258Z] ---> e708c4bf56b9 [2023-05-05T01:52:39.258Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:52:39.258Z] ---> Running in 956e4e2f2121 [2023-05-05T01:52:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:52:39.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:52:39.676Z] Still waiting to schedule task [2023-05-05T01:52:39.677Z] ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T01:52:39.677Z] ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-05T01:52:39.677Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-13345’ is offline [2023-05-05T01:52:39.777Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T01:52:39.777Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T01:52:39.777Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T01:52:39.777Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T01:52:39.777Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T01:52:39.777Z] OK: 269 MiB in 57 packages [2023-05-05T01:52:40.346Z] Removing intermediate container 956e4e2f2121 [2023-05-05T01:52:40.346Z] ---> 4b6f1776c1a3 [2023-05-05T01:52:40.346Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T01:52:40.605Z] ---> c96cc05b6aa5 [2023-05-05T01:52:40.605Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:52:40.605Z] ---> Running in 315f813a3dfd [2023-05-05T01:53:12.680Z] Removing intermediate container 315f813a3dfd [2023-05-05T01:53:12.680Z] ---> a2ef5077df2d [2023-05-05T01:53:12.680Z] Step 11/12 : COPY . . [2023-05-05T01:53:12.680Z] ---> f99ca63a8950 [2023-05-05T01:53:12.680Z] Step 12/12 : RUN ${MAKE} [2023-05-05T01:53:12.680Z] ---> Running in 8091c5eda261 [2023-05-05T01:53:12.680Z] noop [2023-05-05T01:53:12.680Z] Removing intermediate container 8091c5eda261 [2023-05-05T01:53:12.680Z] ---> 612f1e905593 [2023-05-05T01:53:12.680Z] Successfully built 612f1e905593 [2023-05-05T01:53:12.680Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:53:13.002Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T01:53:13.002Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:53:13.073Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T01:53:13.102Z] $ 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 [2023-05-05T01:53:13.463Z] $ docker top f14926b1b516909f21558bc5401e3bb0957d815991aed6bf0e0bfd66ece13b47 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:53:13.800Z] + go version [2023-05-05T01:53:13.800Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T01:53:13.809Z] $ docker stop --time=1 f14926b1b516909f21558bc5401e3bb0957d815991aed6bf0e0bfd66ece13b47 [2023-05-05T01:53:15.076Z] $ docker rm -f --volumes f14926b1b516909f21558bc5401e3bb0957d815991aed6bf0e0bfd66ece13b47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:53:15.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T01:53:15.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:53:15.555Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T01:53:15.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T01:53:15.932Z] $ docker top 6127a9acd35d6c5f255bc0766b8c97e1af914d7ec86fb47d89eff75a2d5d9af9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:53:16.279Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T01:53:16.569Z] + make test [2023-05-05T01:53:16.569Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T01:53:20.754Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-05-05T01:53:30.718Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-05-05T01:53:30.718Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-05-05T01:53:34.904Z] go vet ./... [2023-05-05T01:53:38.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T01:53:38.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T01:53:38.183Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T01:53:38.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T01:53:38.201Z] $ docker stop --time=1 6127a9acd35d6c5f255bc0766b8c97e1af914d7ec86fb47d89eff75a2d5d9af9 [2023-05-05T01:53:41.878Z] $ docker rm -f --volumes 6127a9acd35d6c5f255bc0766b8c97e1af914d7ec86fb47d89eff75a2d5d9af9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T01:53:42.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T01:53:42.375Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T01:53:42.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T01:53:43.127Z] + ls -al . [2023-05-05T01:53:43.127Z] total 156 [2023-05-05T01:53:43.127Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 01:53 . [2023-05-05T01:53:43.127Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:52 .. [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 120 May 5 01:52 .dockerignore [2023-05-05T01:53:43.127Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:52 .git [2023-05-05T01:53:43.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 .github [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 343 May 5 01:52 .gitignore [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:52 .golangci.yml [2023-05-05T01:53:43.127Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:52 .semver [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 9702 May 5 01:52 Attribution.txt [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 4069 May 5 01:52 CHANGELOG.md [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 1542 May 5 01:52 Dockerfile [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:52 GOVERNANCE.md [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 657 May 5 01:52 Jenkinsfile [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:52 LICENSE [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 1692 May 5 01:52 Makefile [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 617 May 5 01:52 OWNERS.md [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 11790 May 5 01:52 README.md [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:52 VERSION [2023-05-05T01:53:43.127Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:52 bin [2023-05-05T01:53:43.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 cmd [2023-05-05T01:53:43.127Z] -rw-r--r-- 1 jenkins jenkins 10 May 5 01:53 coverage.out [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 3269 May 5 01:52 go.mod [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 31585 May 5 01:52 go.sum [2023-05-05T01:53:43.127Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:52 internal [2023-05-05T01:53:43.127Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:52 snap [2023-05-05T01:53:43.127Z] -rw-rw-r-- 1 jenkins jenkins 209 May 5 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:53:43.487Z] + 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=45d04bf83b3f660b78aa8dfc6abcb70613e55fda --label arch=amd64 --label version=3.0.0-dev.23 . [2023-05-05T01:53:43.487Z] Sending build context to Docker daemon 16.08MB [2023-05-05T01:53:43.487Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:53:43.487Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T01:53:43.487Z] ---> 612f1e905593 [2023-05-05T01:53:43.487Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:53:43.765Z] ---> Running in be3851212baf [2023-05-05T01:53:43.765Z] Removing intermediate container be3851212baf [2023-05-05T01:53:43.765Z] ---> a3f44236f049 [2023-05-05T01:53:43.765Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:53:43.765Z] ---> Running in a4e152a15ba3 [2023-05-05T01:53:44.047Z] Removing intermediate container a4e152a15ba3 [2023-05-05T01:53:44.047Z] ---> 4c7011bbf5b7 [2023-05-05T01:53:44.047Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-05T01:53:44.047Z] ---> Running in 9d9c9c30d770 [2023-05-05T01:53:44.047Z] Removing intermediate container 9d9c9c30d770 [2023-05-05T01:53:44.047Z] ---> c8b224594725 [2023-05-05T01:53:44.047Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:53:44.047Z] ---> Running in a31577aa42cc [2023-05-05T01:53:44.047Z] Removing intermediate container a31577aa42cc [2023-05-05T01:53:44.047Z] ---> 032f9b55c952 [2023-05-05T01:53:44.047Z] Step 7/25 : WORKDIR /device-gpio [2023-05-05T01:53:44.047Z] ---> Running in f6563109b47f [2023-05-05T01:53:44.047Z] Removing intermediate container f6563109b47f [2023-05-05T01:53:44.047Z] ---> 8bd6e54dc1ff [2023-05-05T01:53:44.047Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:53:44.323Z] ---> Running in 2c6fac8b8b5d [2023-05-05T01:53:44.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:53:44.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:53:44.854Z] OK: 269 MiB in 57 packages [2023-05-05T01:53:45.114Z] Removing intermediate container 2c6fac8b8b5d [2023-05-05T01:53:45.114Z] ---> d7ea7485ceea [2023-05-05T01:53:45.114Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T01:53:45.114Z] ---> f42d60370fa5 [2023-05-05T01:53:45.114Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:53:45.114Z] ---> Running in c74f3271804f [2023-05-05T01:53:46.052Z] Removing intermediate container c74f3271804f [2023-05-05T01:53:46.052Z] ---> 521a658b4598 [2023-05-05T01:53:46.052Z] Step 11/25 : COPY . . [2023-05-05T01:53:46.619Z] ---> c826158d10ef [2023-05-05T01:53:46.619Z] Step 12/25 : RUN ${MAKE} [2023-05-05T01:53:46.619Z] ---> Running in a928c33883df [2023-05-05T01:53:46.880Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-05-05T01:54:05.774Z] Removing intermediate container a928c33883df [2023-05-05T01:54:05.774Z] ---> 61c7de3d7743 [2023-05-05T01:54:05.774Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T01:54:05.774Z] 3.17: Pulling from library/alpine [2023-05-05T01:54:05.774Z] f56be85fc22e: Already exists [2023-05-05T01:54:05.774Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T01:54:05.774Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T01:54:05.774Z] ---> 9ed4aefc74f6 [2023-05-05T01:54:05.774Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-05-05T01:54:05.774Z] ---> Running in f794d0f9cb4d [2023-05-05T01:54:05.774Z] Removing intermediate container f794d0f9cb4d [2023-05-05T01:54:05.774Z] ---> 3be07b960c38 [2023-05-05T01:54:05.774Z] Step 15/25 : RUN apk add --update --no-cache [2023-05-05T01:54:05.774Z] ---> Running in 8a5e312fa2e6 [2023-05-05T01:54:06.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T01:54:06.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T01:54:06.292Z] OK: 7 MiB in 15 packages [2023-05-05T01:54:06.860Z] Removing intermediate container 8a5e312fa2e6 [2023-05-05T01:54:06.860Z] ---> d23e83ac8d4b [2023-05-05T01:54:06.860Z] Step 16/25 : WORKDIR / [2023-05-05T01:54:06.860Z] ---> Running in 876434c34822 [2023-05-05T01:54:06.860Z] Removing intermediate container 876434c34822 [2023-05-05T01:54:06.860Z] ---> a81c38b3d1fb [2023-05-05T01:54:06.860Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-05-05T01:54:06.860Z] ---> 45edd39d2d6e [2023-05-05T01:54:06.860Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-05-05T01:54:07.117Z] ---> d54bc715a726 [2023-05-05T01:54:07.117Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-05-05T01:54:07.685Z] ---> 636c1b86a82e [2023-05-05T01:54:07.685Z] Step 20/25 : EXPOSE 59910 [2023-05-05T01:54:07.685Z] ---> Running in 914812524e1d [2023-05-05T01:54:07.685Z] Removing intermediate container 914812524e1d [2023-05-05T01:54:07.685Z] ---> 2ad8d7e72b08 [2023-05-05T01:54:07.685Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-05-05T01:54:07.685Z] ---> Running in 6985221d52db [2023-05-05T01:54:07.943Z] Removing intermediate container 6985221d52db [2023-05-05T01:54:07.943Z] ---> e4eeaa636ae7 [2023-05-05T01:54:07.943Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T01:54:07.943Z] ---> Running in f65350b51f97 [2023-05-05T01:54:07.943Z] Removing intermediate container f65350b51f97 [2023-05-05T01:54:07.943Z] ---> ea7c4faac845 [2023-05-05T01:54:07.943Z] Step 23/25 : LABEL arch=amd64 [2023-05-05T01:54:07.943Z] ---> Running in 3981a94e391d [2023-05-05T01:54:07.943Z] Removing intermediate container 3981a94e391d [2023-05-05T01:54:07.943Z] ---> 2121e80750f4 [2023-05-05T01:54:07.943Z] Step 24/25 : LABEL git_sha=45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T01:54:07.943Z] ---> Running in 31c5f299a27e [2023-05-05T01:54:08.201Z] Removing intermediate container 31c5f299a27e [2023-05-05T01:54:08.201Z] ---> 6322a6438308 [2023-05-05T01:54:08.201Z] Step 25/25 : LABEL version=3.0.0-dev.23 [2023-05-05T01:54:08.201Z] ---> Running in 292a65440777 [2023-05-05T01:54:08.201Z] Removing intermediate container 292a65440777 [2023-05-05T01:54:08.201Z] ---> 640d6c579331 [2023-05-05T01:54:08.201Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T01:54:08.201Z] Successfully built 640d6c579331 [2023-05-05T01:54:08.201Z] Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:54:08.311Z] provisioning config files... [2023-05-05T01:54:08.318Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11470412081890214517tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:54:08.610Z] ---> docker-login.sh [2023-05-05T01:54:08.610Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:54:08.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:54:08.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:54:08.610Z] Configure a credential helper to remove this warning. See [2023-05-05T01:54:08.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:54:08.610Z] [2023-05-05T01:54:08.610Z] Login Succeeded [2023-05-05T01:54:08.610Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:54:08.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:54:08.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:54:08.610Z] Configure a credential helper to remove this warning. See [2023-05-05T01:54:08.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:54:08.610Z] [2023-05-05T01:54:08.610Z] Login Succeeded [2023-05-05T01:54:08.610Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:54:08.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:54:08.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:54:08.867Z] Configure a credential helper to remove this warning. See [2023-05-05T01:54:08.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:54:08.867Z] [2023-05-05T01:54:08.867Z] Login Succeeded [2023-05-05T01:54:08.867Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:54:08.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:54:08.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:54:08.867Z] Configure a credential helper to remove this warning. See [2023-05-05T01:54:08.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:54:08.867Z] [2023-05-05T01:54:08.867Z] Login Succeeded [2023-05-05T01:54:08.867Z] docker.io [2023-05-05T01:54:08.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:54:09.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:54:09.126Z] Configure a credential helper to remove this warning. See [2023-05-05T01:54:09.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:54:09.126Z] [2023-05-05T01:54:09.126Z] Login Succeeded [2023-05-05T01:54:09.126Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:54:09.134Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T01:54:09.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:54:09.192Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-05-05T01:54:09.192Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T01:54:09.192Z] latest [2023-05-05T01:54:09.192Z] 3.0.0-dev.23 [2023-05-05T01:54:09.192Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T01:54:09.192Z] main [2023-05-05T01:54:09.192Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:09.519Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:09.831Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T01:54:09.831Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-05T01:54:09.831Z] 81e7fba6f9be: Preparing [2023-05-05T01:54:09.831Z] aff5a466e660: Preparing [2023-05-05T01:54:09.831Z] b36c3c76603b: Preparing [2023-05-05T01:54:09.831Z] 7c6ed6573e2f: Preparing [2023-05-05T01:54:09.831Z] f1417ff83b31: Preparing [2023-05-05T01:54:09.831Z] f1417ff83b31: Layer already exists [2023-05-05T01:54:09.831Z] b36c3c76603b: Pushed [2023-05-05T01:54:09.831Z] aff5a466e660: Pushed [2023-05-05T01:54:09.831Z] 7c6ed6573e2f: Pushed [2023-05-05T01:54:12.366Z] 81e7fba6f9be: Pushed [2023-05-05T01:54:12.366Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda: digest: sha256:afa81db77185f5acdd76da52759662bcab55ae3c4ae8d52fe176aa9b12b37f13 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:12.678Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:12.996Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-05-05T01:54:12.996Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-05T01:54:12.996Z] 81e7fba6f9be: Preparing [2023-05-05T01:54:12.996Z] aff5a466e660: Preparing [2023-05-05T01:54:12.996Z] b36c3c76603b: Preparing [2023-05-05T01:54:12.996Z] 7c6ed6573e2f: Preparing [2023-05-05T01:54:12.996Z] f1417ff83b31: Preparing [2023-05-05T01:54:12.996Z] f1417ff83b31: Layer already exists [2023-05-05T01:54:12.996Z] 81e7fba6f9be: Layer already exists [2023-05-05T01:54:12.996Z] b36c3c76603b: Layer already exists [2023-05-05T01:54:12.996Z] aff5a466e660: Layer already exists [2023-05-05T01:54:12.996Z] 7c6ed6573e2f: Layer already exists [2023-05-05T01:54:12.996Z] latest: digest: sha256:afa81db77185f5acdd76da52759662bcab55ae3c4ae8d52fe176aa9b12b37f13 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:13.322Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:13.627Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.23 [2023-05-05T01:54:13.627Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-05T01:54:13.627Z] 81e7fba6f9be: Preparing [2023-05-05T01:54:13.627Z] aff5a466e660: Preparing [2023-05-05T01:54:13.627Z] b36c3c76603b: Preparing [2023-05-05T01:54:13.627Z] 7c6ed6573e2f: Preparing [2023-05-05T01:54:13.627Z] f1417ff83b31: Preparing [2023-05-05T01:54:13.627Z] 81e7fba6f9be: Layer already exists [2023-05-05T01:54:13.627Z] aff5a466e660: Layer already exists [2023-05-05T01:54:13.627Z] f1417ff83b31: Layer already exists [2023-05-05T01:54:13.627Z] 7c6ed6573e2f: Layer already exists [2023-05-05T01:54:13.627Z] b36c3c76603b: Layer already exists [2023-05-05T01:54:13.627Z] 3.0.0-dev.23: digest: sha256:afa81db77185f5acdd76da52759662bcab55ae3c4ae8d52fe176aa9b12b37f13 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:13.933Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:14.235Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T01:54:14.235Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-05T01:54:14.235Z] 81e7fba6f9be: Preparing [2023-05-05T01:54:14.235Z] aff5a466e660: Preparing [2023-05-05T01:54:14.235Z] b36c3c76603b: Preparing [2023-05-05T01:54:14.235Z] 7c6ed6573e2f: Preparing [2023-05-05T01:54:14.235Z] f1417ff83b31: Preparing [2023-05-05T01:54:14.235Z] b36c3c76603b: Layer already exists [2023-05-05T01:54:14.235Z] 81e7fba6f9be: Layer already exists [2023-05-05T01:54:14.235Z] f1417ff83b31: Layer already exists [2023-05-05T01:54:14.235Z] aff5a466e660: Layer already exists [2023-05-05T01:54:14.235Z] 7c6ed6573e2f: Layer already exists [2023-05-05T01:54:14.235Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23: digest: sha256:afa81db77185f5acdd76da52759662bcab55ae3c4ae8d52fe176aa9b12b37f13 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:14.541Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:14.835Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-05-05T01:54:14.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-05-05T01:54:14.835Z] 81e7fba6f9be: Preparing [2023-05-05T01:54:14.835Z] aff5a466e660: Preparing [2023-05-05T01:54:14.835Z] b36c3c76603b: Preparing [2023-05-05T01:54:14.835Z] 7c6ed6573e2f: Preparing [2023-05-05T01:54:14.835Z] f1417ff83b31: Preparing [2023-05-05T01:54:14.835Z] f1417ff83b31: Layer already exists [2023-05-05T01:54:14.835Z] aff5a466e660: Layer already exists [2023-05-05T01:54:14.835Z] 7c6ed6573e2f: Layer already exists [2023-05-05T01:54:14.835Z] 81e7fba6f9be: Layer already exists [2023-05-05T01:54:14.835Z] b36c3c76603b: Layer already exists [2023-05-05T01:54:14.835Z] main: digest: sha256:afa81db77185f5acdd76da52759662bcab55ae3c4ae8d52fe176aa9b12b37f13 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T01:54:14.888Z] ===================================================== [Pipeline] echo [2023-05-05T01:54:14.897Z] taggedImages: [2023-05-05T01:54:14.897Z] - nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T01:54:14.897Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-05-05T01:54:14.897Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.23 [2023-05-05T01:54:14.897Z] - nexus3.edgexfoundry.org:10004/device-gpio:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T01:54:14.897Z] - 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 [2023-05-05T01:54:15.281Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:54:15.281Z] [2023-05-05T01:54:15.281Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:54:15.579Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:54:15.579Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T01:54:15.579Z] 5eb5b503b376: Pulling fs layer [2023-05-05T01:54:15.579Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T01:54:15.579Z] ec43610c2a17: Pulling fs layer [2023-05-05T01:54:15.579Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T01:54:15.579Z] 33b1e0a273af: Pulling fs layer [2023-05-05T01:54:15.579Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T01:54:15.579Z] 2f39f015ded8: Pulling fs layer [2023-05-05T01:54:15.579Z] 3a2ae6a8a46f: Waiting [2023-05-05T01:54:15.579Z] 33b1e0a273af: Waiting [2023-05-05T01:54:15.579Z] 5d3b04190fa2: Waiting [2023-05-05T01:54:15.579Z] 2f39f015ded8: Waiting [2023-05-05T01:54:15.579Z] 5c69ac0246d0: Verifying Checksum [2023-05-05T01:54:15.579Z] 5c69ac0246d0: Download complete [2023-05-05T01:54:15.579Z] 3a2ae6a8a46f: Download complete [2023-05-05T01:54:15.579Z] 33b1e0a273af: Verifying Checksum [2023-05-05T01:54:15.579Z] 33b1e0a273af: Download complete [2023-05-05T01:54:15.579Z] ec43610c2a17: Verifying Checksum [2023-05-05T01:54:15.579Z] ec43610c2a17: Download complete [2023-05-05T01:54:15.579Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T01:54:15.579Z] 5d3b04190fa2: Download complete [2023-05-05T01:54:15.837Z] 5eb5b503b376: Verifying Checksum [2023-05-05T01:54:15.837Z] 5eb5b503b376: Download complete [2023-05-05T01:54:16.403Z] 2f39f015ded8: Download complete [2023-05-05T01:54:16.969Z] 5eb5b503b376: Pull complete [2023-05-05T01:54:16.969Z] 5c69ac0246d0: Pull complete [2023-05-05T01:54:17.533Z] ec43610c2a17: Pull complete [2023-05-05T01:54:17.533Z] 3a2ae6a8a46f: Pull complete [2023-05-05T01:54:17.792Z] 33b1e0a273af: Pull complete [2023-05-05T01:54:17.792Z] 5d3b04190fa2: Pull complete [2023-05-05T01:54:22.267Z] 2f39f015ded8: Pull complete [2023-05-05T01:54:22.267Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T01:54:22.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T01:54:22.267Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:54:22.344Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T01:54:22.370Z] $ 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 [2023-05-05T01:54:26.456Z] $ docker top 7e1759872c20b8d8212fd51aaadc9fa12a575afef28fedfeff78d30934016238 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:54:26.843Z] ---> job-cost.sh [2023-05-05T01:54:26.843Z] lf-activate-venv: SKIPPING [2023-05-05T01:54:26.843Z] INFO: No Stack... [2023-05-05T01:54:27.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T01:54:27.673Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T01:54:27.969Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-05-05T01:54:27.969Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T01:54:27.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [2023-05-05T01:54:27.989Z] Resource [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] did not exist. Created. [2023-05-05T01:54:27.990Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T01:54:28.299Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T01:54:28.330Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T01:54:28.336Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T01:54:28.351Z] $ docker stop --time=1 7e1759872c20b8d8212fd51aaadc9fa12a575afef28fedfeff78d30934016238 [2023-05-05T01:54:29.501Z] $ docker rm -f --volumes 7e1759872c20b8d8212fd51aaadc9fa12a575afef28fedfeff78d30934016238 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T01:56:07.337Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13346 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-05-05T01:56:07.355Z] Running in /w/workspace/device-gpio/77 [Pipeline] { [Pipeline] checkout [2023-05-05T01:56:07.397Z] The recommended git tool is: git [2023-05-05T01:56:17.364Z] using credential edgex-jenkins-ssh [2023-05-05T01:56:17.387Z] Cloning the remote Git repository [2023-05-05T01:56:17.448Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-05-05T01:56:17.578Z] > git init /w/workspace/device-gpio/77 # timeout=10 [2023-05-05T01:56:17.783Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-05-05T01:56:17.785Z] > git --version # timeout=10 [2023-05-05T01:56:17.810Z] > git --version # 'git version 2.25.1' [2023-05-05T01:56:17.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T01:56:18.019Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T01:56:19.706Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-05-05T01:56:19.747Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T01:56:20.829Z] Avoid second fetch [2023-05-05T01:56:20.830Z] Checking out Revision 45d04bf83b3f660b78aa8dfc6abcb70613e55fda (main) [2023-05-05T01:56:21.503Z] Commit message: "Merge pull request #169 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.82" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T01:56:20.848Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T01:56:20.931Z] > git checkout -f 45d04bf83b3f660b78aa8dfc6abcb70613e55fda # timeout=10 [2023-05-05T01:56:22.499Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T01:56:22.499Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T01:56:22.499Z] Dload Upload Total Spent Left Speed [2023-05-05T01:56:22.499Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 207k 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-05-05T01:56:23.121Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T01:56:23.473Z] + + sudo jqsudo tee /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-05-05T01:56:23.473Z] /etc/docker/daemon.json [2023-05-05T01:56:23.473Z] { [2023-05-05T01:56:23.473Z] "registry-mirrors": [ [2023-05-05T01:56:23.473Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T01:56:23.473Z] ], [2023-05-05T01:56:23.473Z] "bip": "10.250.0.254/24", [2023-05-05T01:56:23.473Z] "hosts": [ [2023-05-05T01:56:23.473Z] "tcp://0.0.0.0:5555", [2023-05-05T01:56:23.473Z] "unix:///var/run/docker.sock" [2023-05-05T01:56:23.473Z] ], [2023-05-05T01:56:23.473Z] "mtu": 1458, [2023-05-05T01:56:23.473Z] "selinux-enabled": true, [2023-05-05T01:56:23.473Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T01:56:23.473Z] } [Pipeline] sh [2023-05-05T01:56:23.816Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T01:56:24.157Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T01:56:42.505Z] provisioning config files... [2023-05-05T01:56:42.574Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/77@tmp/config18179695669406596824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T01:56:42.974Z] ---> docker-login.sh [2023-05-05T01:56:42.974Z] nexus3.edgexfoundry.org:10001 [2023-05-05T01:56:43.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:56:43.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:56:43.568Z] Configure a credential helper to remove this warning. See [2023-05-05T01:56:43.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:56:43.568Z] [2023-05-05T01:56:43.568Z] Login Succeeded [2023-05-05T01:56:43.568Z] nexus3.edgexfoundry.org:10002 [2023-05-05T01:56:43.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:56:44.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:56:44.118Z] Configure a credential helper to remove this warning. See [2023-05-05T01:56:44.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:56:44.118Z] [2023-05-05T01:56:44.118Z] Login Succeeded [2023-05-05T01:56:44.118Z] nexus3.edgexfoundry.org:10003 [2023-05-05T01:56:44.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:56:44.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:56:44.393Z] Configure a credential helper to remove this warning. See [2023-05-05T01:56:44.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:56:44.393Z] [2023-05-05T01:56:44.393Z] Login Succeeded [2023-05-05T01:56:44.393Z] nexus3.edgexfoundry.org:10004 [2023-05-05T01:56:44.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:56:44.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:56:44.943Z] Configure a credential helper to remove this warning. See [2023-05-05T01:56:44.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:56:44.943Z] [2023-05-05T01:56:44.943Z] Login Succeeded [2023-05-05T01:56:44.943Z] docker.io [2023-05-05T01:56:45.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T01:56:45.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T01:56:45.489Z] Configure a credential helper to remove this warning. See [2023-05-05T01:56:45.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T01:56:45.489Z] [2023-05-05T01:56:45.489Z] Login Succeeded [2023-05-05T01:56:45.489Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T01:56:45.506Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T01:56:45.748Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:56:45.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T01:56:45.771Z] ========================================================= [2023-05-05T01:56:45.771Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T01:56:45.771Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:56:46.139Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T01:56:46.421Z] Sending build context to Docker daemon 8.119MB [2023-05-05T01:56:46.421Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T01:56:46.421Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T01:56:46.694Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T01:56:46.694Z] c41833b44d91: Pulling fs layer [2023-05-05T01:56:46.694Z] ed15518f5707: Pulling fs layer [2023-05-05T01:56:46.694Z] feae8fd75edb: Pulling fs layer [2023-05-05T01:56:46.694Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T01:56:46.694Z] 3cdef696dda3: Pulling fs layer [2023-05-05T01:56:46.694Z] 2ced38df9373: Pulling fs layer [2023-05-05T01:56:46.694Z] 58f1dce35555: Pulling fs layer [2023-05-05T01:56:46.694Z] 242c74f7c9fa: Waiting [2023-05-05T01:56:46.694Z] 3cdef696dda3: Waiting [2023-05-05T01:56:46.694Z] 2ced38df9373: Waiting [2023-05-05T01:56:46.694Z] 58f1dce35555: Waiting [2023-05-05T01:56:46.694Z] ed15518f5707: Verifying Checksum [2023-05-05T01:56:46.694Z] ed15518f5707: Download complete [2023-05-05T01:56:46.694Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T01:56:46.694Z] 242c74f7c9fa: Download complete [2023-05-05T01:56:46.967Z] 3cdef696dda3: Download complete [2023-05-05T01:56:46.968Z] c41833b44d91: Verifying Checksum [2023-05-05T01:56:47.953Z] c41833b44d91: Pull complete [2023-05-05T01:56:48.225Z] 58f1dce35555: Verifying Checksum [2023-05-05T01:56:48.225Z] 58f1dce35555: Download complete [2023-05-05T01:56:48.500Z] ed15518f5707: Pull complete [2023-05-05T01:56:49.479Z] feae8fd75edb: Verifying Checksum [2023-05-05T01:56:49.479Z] feae8fd75edb: Download complete [2023-05-05T01:56:49.479Z] 2ced38df9373: Download complete [2023-05-05T01:57:01.865Z] feae8fd75edb: Pull complete [2023-05-05T01:57:01.865Z] 242c74f7c9fa: Pull complete [2023-05-05T01:57:01.865Z] 3cdef696dda3: Pull complete [2023-05-05T01:57:08.575Z] 2ced38df9373: Pull complete [2023-05-05T01:57:11.165Z] 58f1dce35555: Pull complete [2023-05-05T01:57:11.435Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T01:57:11.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T01:57:11.435Z] ---> fadd8f120f05 [2023-05-05T01:57:11.435Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T01:57:13.392Z] ---> Running in ec6a9e4f8959 [2023-05-05T01:57:13.660Z] Removing intermediate container ec6a9e4f8959 [2023-05-05T01:57:13.660Z] ---> c90b1e9e6925 [2023-05-05T01:57:13.660Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T01:57:13.929Z] ---> Running in 5d4e174aee7f [2023-05-05T01:57:14.198Z] Removing intermediate container 5d4e174aee7f [2023-05-05T01:57:14.198Z] ---> 8e48bec82195 [2023-05-05T01:57:14.198Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-05T01:57:14.198Z] ---> Running in f16f6685f9b0 [2023-05-05T01:57:14.469Z] Removing intermediate container f16f6685f9b0 [2023-05-05T01:57:14.469Z] ---> eef70c4ab338 [2023-05-05T01:57:14.469Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T01:57:14.739Z] ---> Running in bed94bf72781 [2023-05-05T01:57:15.008Z] Removing intermediate container bed94bf72781 [2023-05-05T01:57:15.008Z] ---> 15cc08dd846d [2023-05-05T01:57:15.008Z] Step 7/12 : WORKDIR /device-gpio [2023-05-05T01:57:15.008Z] ---> Running in 745f1ab5588e [2023-05-05T01:57:15.597Z] Removing intermediate container 745f1ab5588e [2023-05-05T01:57:15.597Z] ---> 2d65c3b1ce3c [2023-05-05T01:57:15.597Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T01:57:15.597Z] ---> Running in 141414c02a25 [2023-05-05T01:57:17.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T01:57:17.288Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T01:57:18.705Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T01:57:18.705Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T01:57:18.705Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T01:57:18.705Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T01:57:18.705Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T01:57:18.705Z] OK: 268 MiB in 57 packages [2023-05-05T01:57:20.130Z] Removing intermediate container 141414c02a25 [2023-05-05T01:57:20.130Z] ---> 624731502ae2 [2023-05-05T01:57:20.130Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T01:57:20.429Z] ---> 6aa0a67469de [2023-05-05T01:57:20.429Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T01:57:20.702Z] ---> Running in c441ee543e24 [2023-05-05T01:58:57.381Z] Removing intermediate container c441ee543e24 [2023-05-05T01:58:57.381Z] ---> caf437de5acf [2023-05-05T01:58:57.382Z] Step 11/12 : COPY . . [2023-05-05T01:58:57.382Z] ---> a78eaba3de07 [2023-05-05T01:58:57.382Z] Step 12/12 : RUN ${MAKE} [2023-05-05T01:58:57.382Z] ---> Running in 6837538ef4fb [2023-05-05T01:58:57.382Z] noop [2023-05-05T01:58:57.382Z] Removing intermediate container 6837538ef4fb [2023-05-05T01:58:57.382Z] ---> 63c1a6bf232f [2023-05-05T01:58:57.382Z] Successfully built 63c1a6bf232f [2023-05-05T01:58:57.382Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:58:57.750Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T01:58:57.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:58:57.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-13346 does not seem to be running inside a container [2023-05-05T01:58:58.028Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/77 -v /w/workspace/device-gpio/77:/w/workspace/device-gpio/77:rw,z -v /w/workspace/device-gpio/77@tmp:/w/workspace/device-gpio/77@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 [2023-05-05T01:58:59.329Z] $ docker top 1ef041d2c5bfad816e9c3d9a80220ac66a6c46b23b1b884821bd544c4725d297 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:59:00.205Z] + go version [2023-05-05T01:59:00.205Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T01:59:00.222Z] $ docker stop --time=1 1ef041d2c5bfad816e9c3d9a80220ac66a6c46b23b1b884821bd544c4725d297 [2023-05-05T01:59:01.929Z] $ docker rm -f --volumes 1ef041d2c5bfad816e9c3d9a80220ac66a6c46b23b1b884821bd544c4725d297 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T01:59:02.494Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T01:59:02.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T01:59:02.701Z] prd-ubuntu20.04-docker-arm64-4c-16g-13346 does not seem to be running inside a container [2023-05-05T01:59:02.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-gpio/77 -v /w/workspace/device-gpio/77:/w/workspace/device-gpio/77:rw,z -v /w/workspace/device-gpio/77@tmp:/w/workspace/device-gpio/77@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 [2023-05-05T01:59:04.090Z] $ docker top 243167c0ae7fc03910919c7096ed41767cb7d17cd8c8710a1bb969c91be1d212 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T01:59:04.968Z] + git config --global --add safe.directory /w/workspace/device-gpio/77 [Pipeline] fileExists [Pipeline] sh [2023-05-05T01:59:05.644Z] + make test [2023-05-05T01:59:05.644Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T01:59:44.555Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-05-05T02:01:51.293Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-05-05T02:01:51.293Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-05-05T02:01:51.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T02:01:51.293Z] go vet ./... [2023-05-05T02:02:09.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T02:02:09.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T02:02:09.829Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T02:02:10.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T02:02:10.125Z] $ docker stop --time=1 243167c0ae7fc03910919c7096ed41767cb7d17cd8c8710a1bb969c91be1d212 [2023-05-05T02:02:11.921Z] $ docker rm -f --volumes 243167c0ae7fc03910919c7096ed41767cb7d17cd8c8710a1bb969c91be1d212 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T02:02:13.026Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T02:02:13.049Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T02:02:13.470Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T02:02:13.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T02:02:14.199Z] + ls -al . [2023-05-05T02:02:14.199Z] total 152 [2023-05-05T02:02:14.199Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:59 . [2023-05-05T02:02:14.199Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:56 .. [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 120 May 5 01:56 .dockerignore [2023-05-05T02:02:14.199Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 01:56 .git [2023-05-05T02:02:14.199Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:56 .github [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 343 May 5 01:56 .gitignore [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 01:56 .golangci.yml [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 9702 May 5 01:56 Attribution.txt [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 4069 May 5 01:56 CHANGELOG.md [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 1542 May 5 01:56 Dockerfile [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 01:56 GOVERNANCE.md [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 657 May 5 01:56 Jenkinsfile [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 01:56 LICENSE [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 1692 May 5 01:56 Makefile [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 617 May 5 01:56 OWNERS.md [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 11790 May 5 01:56 README.md [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 01:52 VERSION [2023-05-05T02:02:14.199Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 01:56 bin [2023-05-05T02:02:14.199Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:56 cmd [2023-05-05T02:02:14.199Z] -rw-r--r-- 1 jenkins jenkins 10 May 5 01:59 coverage.out [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 3269 May 5 01:56 go.mod [2023-05-05T02:02:14.199Z] -rw-rw-r-- 1 jenkins jenkins 31585 May 5 01:56 go.sum [2023-05-05T02:02:14.199Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 01:56 internal [2023-05-05T02:02:14.199Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 01:56 snap [2023-05-05T02:02:14.200Z] -rw-rw-r-- 1 jenkins jenkins 209 May 5 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:02:14.541Z] + 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=45d04bf83b3f660b78aa8dfc6abcb70613e55fda --label arch=arm64 --label version=3.0.0-dev.23 . [2023-05-05T02:02:14.810Z] Sending build context to Docker daemon 8.12MB [2023-05-05T02:02:14.810Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T02:02:14.810Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T02:02:14.810Z] ---> 63c1a6bf232f [2023-05-05T02:02:14.810Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T02:02:15.077Z] ---> Running in de9590632cc8 [2023-05-05T02:02:15.346Z] Removing intermediate container de9590632cc8 [2023-05-05T02:02:15.346Z] ---> 8b5d61c489ac [2023-05-05T02:02:15.346Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T02:02:15.346Z] ---> Running in 82f9b9cf66b3 [2023-05-05T02:02:15.616Z] Removing intermediate container 82f9b9cf66b3 [2023-05-05T02:02:15.616Z] ---> 9a17f1561a21 [2023-05-05T02:02:15.616Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-05-05T02:02:15.616Z] ---> Running in aaac767613f9 [2023-05-05T02:02:16.203Z] Removing intermediate container aaac767613f9 [2023-05-05T02:02:16.203Z] ---> aa1c9eb31c6b [2023-05-05T02:02:16.203Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T02:02:16.203Z] ---> Running in 6aafb8659340 [2023-05-05T02:02:16.472Z] Removing intermediate container 6aafb8659340 [2023-05-05T02:02:16.472Z] ---> 2986c5ee5597 [2023-05-05T02:02:16.472Z] Step 7/25 : WORKDIR /device-gpio [2023-05-05T02:02:16.472Z] ---> Running in a524eba37341 [2023-05-05T02:02:16.740Z] Removing intermediate container a524eba37341 [2023-05-05T02:02:16.740Z] ---> b08210aeaad2 [2023-05-05T02:02:16.740Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T02:02:17.012Z] ---> Running in 4b05fd76ec84 [2023-05-05T02:02:17.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T02:02:18.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T02:02:19.514Z] OK: 268 MiB in 57 packages [2023-05-05T02:02:20.475Z] Removing intermediate container 4b05fd76ec84 [2023-05-05T02:02:20.475Z] ---> fa339db6c503 [2023-05-05T02:02:20.475Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T02:02:20.743Z] ---> c9bec7aebbcf [2023-05-05T02:02:21.009Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T02:02:21.009Z] ---> Running in 3853d1e9782c [2023-05-05T02:02:23.600Z] Removing intermediate container 3853d1e9782c [2023-05-05T02:02:23.600Z] ---> 2c062d617cc9 [2023-05-05T02:02:23.600Z] Step 11/25 : COPY . . [2023-05-05T02:02:24.561Z] ---> 8b0175b25c5c [2023-05-05T02:02:24.561Z] Step 12/25 : RUN ${MAKE} [2023-05-05T02:02:24.561Z] ---> Running in 349f2032e291 [2023-05-05T02:02:25.519Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.23" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-05-05T02:04:47.607Z] Removing intermediate container 349f2032e291 [2023-05-05T02:04:47.607Z] ---> 6215f851af0f [2023-05-05T02:04:47.607Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T02:04:47.607Z] 3.17: Pulling from library/alpine [2023-05-05T02:04:47.607Z] c41833b44d91: Already exists [2023-05-05T02:04:47.607Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T02:04:47.607Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T02:04:47.607Z] ---> 51e60588ff2c [2023-05-05T02:04:47.607Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-05-05T02:04:47.607Z] ---> Running in 2ba998093fd4 [2023-05-05T02:04:47.607Z] Removing intermediate container 2ba998093fd4 [2023-05-05T02:04:47.607Z] ---> ba33517e5ac2 [2023-05-05T02:04:47.607Z] Step 15/25 : RUN apk add --update --no-cache [2023-05-05T02:04:47.607Z] ---> Running in 6e860f8bbdb7 [2023-05-05T02:04:47.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T02:04:47.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T02:04:47.607Z] OK: 7 MiB in 15 packages [2023-05-05T02:04:47.607Z] Removing intermediate container 6e860f8bbdb7 [2023-05-05T02:04:47.607Z] ---> 1b9a3e23bf5a [2023-05-05T02:04:47.607Z] Step 16/25 : WORKDIR / [2023-05-05T02:04:47.607Z] ---> Running in d5fffa9f0963 [2023-05-05T02:04:47.607Z] Removing intermediate container d5fffa9f0963 [2023-05-05T02:04:47.607Z] ---> eddda868644d [2023-05-05T02:04:47.607Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-05-05T02:04:47.608Z] ---> b7357af87dee [2023-05-05T02:04:47.608Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-05-05T02:04:47.608Z] ---> e413268e33f6 [2023-05-05T02:04:47.608Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-05-05T02:04:48.194Z] ---> 2ed2c20d35e1 [2023-05-05T02:04:48.194Z] Step 20/25 : EXPOSE 59910 [2023-05-05T02:04:48.464Z] ---> Running in 926850e01268 [2023-05-05T02:04:48.732Z] Removing intermediate container 926850e01268 [2023-05-05T02:04:48.732Z] ---> 2cb3fd6cc8d1 [2023-05-05T02:04:48.732Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-05-05T02:04:48.732Z] ---> Running in 53936625984d [2023-05-05T02:04:48.999Z] Removing intermediate container 53936625984d [2023-05-05T02:04:48.999Z] ---> 006daa2aac3a [2023-05-05T02:04:48.999Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-05T02:04:48.999Z] ---> Running in 31c9201cbade [2023-05-05T02:04:49.584Z] Removing intermediate container 31c9201cbade [2023-05-05T02:04:49.584Z] ---> 73acc30844c5 [2023-05-05T02:04:49.584Z] Step 23/25 : LABEL arch=arm64 [2023-05-05T02:04:49.584Z] ---> Running in 4f9f534d8187 [2023-05-05T02:04:49.854Z] Removing intermediate container 4f9f534d8187 [2023-05-05T02:04:49.854Z] ---> d58d5f354c71 [2023-05-05T02:04:49.854Z] Step 24/25 : LABEL git_sha=45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T02:04:49.854Z] ---> Running in c69c626c274a [2023-05-05T02:04:50.123Z] Removing intermediate container c69c626c274a [2023-05-05T02:04:50.123Z] ---> a4bad3276172 [2023-05-05T02:04:50.123Z] Step 25/25 : LABEL version=3.0.0-dev.23 [2023-05-05T02:04:50.123Z] ---> Running in ccbc08b2c470 [2023-05-05T02:04:50.707Z] Removing intermediate container ccbc08b2c470 [2023-05-05T02:04:50.707Z] ---> b1ab1b821f19 [2023-05-05T02:04:50.707Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T02:04:50.707Z] Successfully built b1ab1b821f19 [2023-05-05T02:04:50.707Z] 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 [2023-05-05T02:04:50.802Z] provisioning config files... [2023-05-05T02:04:50.818Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/77@tmp/config4186819721799301344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:04:51.153Z] ---> docker-login.sh [2023-05-05T02:04:51.153Z] nexus3.edgexfoundry.org:10001 [2023-05-05T02:04:51.424Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T02:04:51.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T02:04:51.424Z] Configure a credential helper to remove this warning. See [2023-05-05T02:04:51.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T02:04:51.424Z] [2023-05-05T02:04:51.424Z] Login Succeeded [2023-05-05T02:04:51.424Z] nexus3.edgexfoundry.org:10002 [2023-05-05T02:04:51.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T02:04:51.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T02:04:51.960Z] Configure a credential helper to remove this warning. See [2023-05-05T02:04:51.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T02:04:51.960Z] [2023-05-05T02:04:51.960Z] Login Succeeded [2023-05-05T02:04:51.960Z] nexus3.edgexfoundry.org:10003 [2023-05-05T02:04:52.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T02:04:52.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T02:04:52.228Z] Configure a credential helper to remove this warning. See [2023-05-05T02:04:52.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T02:04:52.228Z] [2023-05-05T02:04:52.228Z] Login Succeeded [2023-05-05T02:04:52.228Z] nexus3.edgexfoundry.org:10004 [2023-05-05T02:04:52.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T02:04:52.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T02:04:52.764Z] Configure a credential helper to remove this warning. See [2023-05-05T02:04:52.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T02:04:52.764Z] [2023-05-05T02:04:52.764Z] Login Succeeded [2023-05-05T02:04:52.764Z] docker.io [2023-05-05T02:04:53.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T02:04:53.298Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T02:04:53.298Z] Configure a credential helper to remove this warning. See [2023-05-05T02:04:53.298Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T02:04:53.298Z] [2023-05-05T02:04:53.298Z] Login Succeeded [2023-05-05T02:04:53.298Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T02:04:53.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T02:04:53.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T02:04:53.367Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-05-05T02:04:53.367Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T02:04:53.367Z] latest [2023-05-05T02:04:53.367Z] 3.0.0-dev.23 [2023-05-05T02:04:53.367Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T02:04:53.367Z] main [2023-05-05T02:04:53.367Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:04:53.723Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:04:54.065Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T02:04:54.065Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-05T02:04:54.065Z] cb5392d5fcd8: Preparing [2023-05-05T02:04:54.065Z] 8fbd19a465d8: Preparing [2023-05-05T02:04:54.065Z] 6c3c816d60db: Preparing [2023-05-05T02:04:54.065Z] ec2643e9293a: Preparing [2023-05-05T02:04:54.065Z] 26cbea5cba74: Preparing [2023-05-05T02:04:54.065Z] 26cbea5cba74: Layer already exists [2023-05-05T02:04:54.332Z] 8fbd19a465d8: Pushed [2023-05-05T02:04:54.332Z] 6c3c816d60db: Pushed [2023-05-05T02:04:54.332Z] ec2643e9293a: Pushed [2023-05-05T02:04:59.673Z] cb5392d5fcd8: Pushed [2023-05-05T02:04:59.673Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda: digest: sha256:82a5f1907b1e745cdad716d7e185b9215817d0dee1e48da70347ce77e28f3217 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:00.017Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:00.360Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-05-05T02:05:00.360Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-05T02:05:00.360Z] cb5392d5fcd8: Preparing [2023-05-05T02:05:00.360Z] 8fbd19a465d8: Preparing [2023-05-05T02:05:00.360Z] 6c3c816d60db: Preparing [2023-05-05T02:05:00.360Z] ec2643e9293a: Preparing [2023-05-05T02:05:00.360Z] 26cbea5cba74: Preparing [2023-05-05T02:05:00.360Z] 6c3c816d60db: Layer already exists [2023-05-05T02:05:00.360Z] cb5392d5fcd8: Layer already exists [2023-05-05T02:05:00.360Z] 26cbea5cba74: Layer already exists [2023-05-05T02:05:00.360Z] 8fbd19a465d8: Layer already exists [2023-05-05T02:05:00.360Z] ec2643e9293a: Layer already exists [2023-05-05T02:05:00.627Z] latest: digest: sha256:82a5f1907b1e745cdad716d7e185b9215817d0dee1e48da70347ce77e28f3217 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:00.982Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:01.320Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.23 [2023-05-05T02:05:01.320Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-05T02:05:01.320Z] cb5392d5fcd8: Preparing [2023-05-05T02:05:01.320Z] 8fbd19a465d8: Preparing [2023-05-05T02:05:01.320Z] 6c3c816d60db: Preparing [2023-05-05T02:05:01.320Z] ec2643e9293a: Preparing [2023-05-05T02:05:01.320Z] 26cbea5cba74: Preparing [2023-05-05T02:05:01.320Z] 26cbea5cba74: Layer already exists [2023-05-05T02:05:01.320Z] 6c3c816d60db: Layer already exists [2023-05-05T02:05:01.320Z] cb5392d5fcd8: Layer already exists [2023-05-05T02:05:01.320Z] ec2643e9293a: Layer already exists [2023-05-05T02:05:01.320Z] 8fbd19a465d8: Layer already exists [2023-05-05T02:05:01.586Z] 3.0.0-dev.23: digest: sha256:82a5f1907b1e745cdad716d7e185b9215817d0dee1e48da70347ce77e28f3217 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:01.933Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:02.278Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T02:05:02.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-05T02:05:02.278Z] cb5392d5fcd8: Preparing [2023-05-05T02:05:02.278Z] 8fbd19a465d8: Preparing [2023-05-05T02:05:02.278Z] 6c3c816d60db: Preparing [2023-05-05T02:05:02.278Z] ec2643e9293a: Preparing [2023-05-05T02:05:02.278Z] 26cbea5cba74: Preparing [2023-05-05T02:05:02.278Z] ec2643e9293a: Layer already exists [2023-05-05T02:05:02.278Z] cb5392d5fcd8: Layer already exists [2023-05-05T02:05:02.278Z] 6c3c816d60db: Layer already exists [2023-05-05T02:05:02.278Z] 26cbea5cba74: Layer already exists [2023-05-05T02:05:02.278Z] 8fbd19a465d8: Layer already exists [2023-05-05T02:05:02.278Z] 45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23: digest: sha256:82a5f1907b1e745cdad716d7e185b9215817d0dee1e48da70347ce77e28f3217 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:02.878Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:03.224Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-05-05T02:05:03.224Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-05-05T02:05:03.224Z] cb5392d5fcd8: Preparing [2023-05-05T02:05:03.224Z] 8fbd19a465d8: Preparing [2023-05-05T02:05:03.224Z] 6c3c816d60db: Preparing [2023-05-05T02:05:03.224Z] ec2643e9293a: Preparing [2023-05-05T02:05:03.224Z] 26cbea5cba74: Preparing [2023-05-05T02:05:03.224Z] 26cbea5cba74: Layer already exists [2023-05-05T02:05:03.224Z] ec2643e9293a: Layer already exists [2023-05-05T02:05:03.225Z] 8fbd19a465d8: Layer already exists [2023-05-05T02:05:03.225Z] 6c3c816d60db: Layer already exists [2023-05-05T02:05:03.225Z] cb5392d5fcd8: Layer already exists [2023-05-05T02:05:03.225Z] main: digest: sha256:82a5f1907b1e745cdad716d7e185b9215817d0dee1e48da70347ce77e28f3217 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T02:05:03.549Z] ===================================================== [Pipeline] echo [2023-05-05T02:05:03.559Z] taggedImages: [2023-05-05T02:05:03.559Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda [2023-05-05T02:05:03.559Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-05-05T02:05:03.559Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.23 [2023-05-05T02:05:03.559Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:45d04bf83b3f660b78aa8dfc6abcb70613e55fda-3.0.0-dev.23 [2023-05-05T02:05:03.559Z] - 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 [2023-05-05T02:05:03.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T02:05:03.934Z] [2023-05-05T02:05:03.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:04.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T02:05:04.266Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T02:05:04.266Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T02:05:04.266Z] 04944245beec: Pulling fs layer [2023-05-05T02:05:04.266Z] 699f458cf7ca: Pulling fs layer [2023-05-05T02:05:04.266Z] 765212b225bb: Pulling fs layer [2023-05-05T02:05:04.266Z] f23df028b6ca: Pulling fs layer [2023-05-05T02:05:04.266Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T02:05:04.266Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T02:05:04.266Z] 765212b225bb: Waiting [2023-05-05T02:05:04.266Z] f23df028b6ca: Waiting [2023-05-05T02:05:04.266Z] d65c8cfc05b1: Waiting [2023-05-05T02:05:04.266Z] 2437ff75d9bd: Waiting [2023-05-05T02:05:04.538Z] 04944245beec: Verifying Checksum [2023-05-05T02:05:04.538Z] 04944245beec: Download complete [2023-05-05T02:05:04.538Z] 765212b225bb: Verifying Checksum [2023-05-05T02:05:04.538Z] 765212b225bb: Download complete [2023-05-05T02:05:04.538Z] f23df028b6ca: Download complete [2023-05-05T02:05:04.538Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T02:05:04.538Z] d65c8cfc05b1: Download complete [2023-05-05T02:05:04.538Z] 699f458cf7ca: Verifying Checksum [2023-05-05T02:05:04.538Z] 699f458cf7ca: Download complete [2023-05-05T02:05:05.131Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T02:05:05.131Z] 8998bd30e6a1: Download complete [2023-05-05T02:05:07.738Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T02:05:07.739Z] 2437ff75d9bd: Download complete [2023-05-05T02:05:09.149Z] 8998bd30e6a1: Pull complete [2023-05-05T02:05:09.416Z] 04944245beec: Pull complete [2023-05-05T02:05:11.361Z] 699f458cf7ca: Pull complete [2023-05-05T02:05:11.361Z] 765212b225bb: Pull complete [2023-05-05T02:05:12.337Z] f23df028b6ca: Pull complete [2023-05-05T02:05:12.605Z] d65c8cfc05b1: Pull complete [2023-05-05T02:05:27.602Z] 2437ff75d9bd: Pull complete [2023-05-05T02:05:27.602Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T02:05:27.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T02:05:27.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:05:27.797Z] prd-ubuntu20.04-docker-arm64-4c-16g-13346 does not seem to be running inside a container [2023-05-05T02:05:27.872Z] $ 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/77 -v /w/workspace/device-gpio/77:/w/workspace/device-gpio/77:rw,z -v /w/workspace/device-gpio/77@tmp:/w/workspace/device-gpio/77@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 [2023-05-05T02:05:30.436Z] $ docker top afaa38b35a727207d3293d485a688eef7ede0fdedc3c79b8957e35fa0eb95016 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:05:31.275Z] ---> job-cost.sh [2023-05-05T02:05:31.276Z] lf-activate-venv: SKIPPING [2023-05-05T02:05:31.276Z] INFO: No Stack... [2023-05-05T02:05:31.543Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T02:05:32.504Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T02:05:33.140Z] + cat /w/workspace/device-gpio/77/archives/cost.csv [2023-05-05T02:05:33.140Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T02:05:33.178Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [2023-05-05T02:05:33.189Z] Resource [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] did not exist. Created. [2023-05-05T02:05:33.189Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T02:05:33.846Z] /w/workspace/device-gpio/77@tmp/durable-475bc646/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T02:05:34.501Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T02:05:34.525Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T02:05:34.578Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T02:05:34.589Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-77-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T02:05:34.601Z] $ docker stop --time=1 afaa38b35a727207d3293d485a688eef7ede0fdedc3c79b8957e35fa0eb95016 [2023-05-05T02:05:36.137Z] $ docker rm -f --volumes afaa38b35a727207d3293d485a688eef7ede0fdedc3c79b8957e35fa0eb95016 [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 [2023-05-05T02:05:36.553Z] provisioning config files... [2023-05-05T02:05:36.559Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17467152675665179687tmp [Pipeline] { [Pipeline] sh [2023-05-05T02:05:36.857Z] + set +x [2023-05-05T02:05:36.857Z] + curl -s https://codecov.io/bash [2023-05-05T02:05:36.857Z] + bash -s -- [2023-05-05T02:05:36.857Z] [2023-05-05T02:05:36.857Z] _____ _ [2023-05-05T02:05:36.857Z] / ____| | | [2023-05-05T02:05:36.857Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T02:05:36.857Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T02:05:36.857Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T02:05:36.857Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T02:05:36.857Z] Bash-1.0.6 [2023-05-05T02:05:36.857Z] [2023-05-05T02:05:36.857Z] [2023-05-05T02:05:36.857Z] ==> git version 2.25.1 found [2023-05-05T02:05:36.857Z] ==> 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 [2023-05-05T02:05:36.857Z] Release-Date: 2020-01-08 [2023-05-05T02:05:36.857Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-05T02:05:36.857Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T02:05:36.857Z] ==> Jenkins CI detected. [2023-05-05T02:05:36.857Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-05-05T02:05:36.857Z] project root: . [2023-05-05T02:05:36.857Z] --> token set from env [2023-05-05T02:05:36.857Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T02:05:36.857Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T02:05:36.857Z] ==> Python coveragepy not found [2023-05-05T02:05:36.857Z] ==> Searching for coverage reports in: [2023-05-05T02:05:36.857Z] + . [2023-05-05T02:05:36.857Z] -> Found 1 reports [2023-05-05T02:05:36.857Z] ==> Detecting git/mercurial file structure [2023-05-05T02:05:36.857Z] ==> Reading reports [2023-05-05T02:05:36.857Z] + ./coverage.out bytes=10 [2023-05-05T02:05:36.857Z] ==> Appending adjustments [2023-05-05T02:05:36.857Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T02:05:37.116Z] + Found adjustments [2023-05-05T02:05:37.116Z] ==> Gzipping contents [2023-05-05T02:05:37.116Z] 4.0K /tmp/codecov.fqRns4.gz [2023-05-05T02:05:37.116Z] ==> Uploading reports [2023-05-05T02:05:37.116Z] url: https://codecov.io [2023-05-05T02:05:37.116Z] query: branch=main&commit=45d04bf83b3f660b78aa8dfc6abcb70613e55fda&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T02:05:37.116Z] -> Pinging Codecov [2023-05-05T02:05:37.116Z] 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=45d04bf83b3f660b78aa8dfc6abcb70613e55fda&build=77&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F77%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T02:05:37.116Z] -> Uploading to [2023-05-05T02:05:37.116Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/3EC07B1A8CA8AF9BCAA0BB9F0134797F/45d04bf83b3f660b78aa8dfc6abcb70613e55fda/f3136074-91b2-4c2a-9b2c-e293b86aedef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T020537Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3ab64dc87ed2256958d9014db46ecd4108c69cd7d95da65853caef81d6bbc2f [2023-05-05T02:05:37.116Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T02:05:37.116Z] Dload Upload Total Spent Left Speed [2023-05-05T02:05:37.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3080 --:--:-- --:--:-- --:--:-- 3080 [2023-05-05T02:05:37.374Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] } [2023-05-05T02:05:37.381Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T02:05:37.486Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T02:05:37.498Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:37.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T02:05:37.788Z] [2023-05-05T02:05:37.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:05:38.080Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T02:05:38.080Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T02:05:38.080Z] df9b9388f04a: Pulling fs layer [2023-05-05T02:05:38.080Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T02:05:38.080Z] 25bc292e5bac: Pulling fs layer [2023-05-05T02:05:38.080Z] 114826534d7a: Pulling fs layer [2023-05-05T02:05:38.080Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T02:05:38.080Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T02:05:38.080Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T02:05:38.080Z] 114826534d7a: Waiting [2023-05-05T02:05:38.080Z] 8a3aa393b2d8: Waiting [2023-05-05T02:05:38.080Z] 6ad1cebc031e: Waiting [2023-05-05T02:05:38.080Z] 4657fd5d0bcf: Waiting [2023-05-05T02:05:38.080Z] 25bc292e5bac: Download complete [2023-05-05T02:05:38.080Z] 52dc419b0ee2: Verifying Checksum [2023-05-05T02:05:38.080Z] 52dc419b0ee2: Download complete [2023-05-05T02:05:38.080Z] 4657fd5d0bcf: Download complete [2023-05-05T02:05:38.080Z] df9b9388f04a: Verifying Checksum [2023-05-05T02:05:38.080Z] df9b9388f04a: Download complete [2023-05-05T02:05:38.340Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T02:05:38.340Z] 6ad1cebc031e: Download complete [2023-05-05T02:05:38.340Z] df9b9388f04a: Pull complete [2023-05-05T02:05:38.340Z] 52dc419b0ee2: Pull complete [2023-05-05T02:05:38.340Z] 25bc292e5bac: Pull complete [2023-05-05T02:05:38.905Z] 114826534d7a: Verifying Checksum [2023-05-05T02:05:38.906Z] 114826534d7a: Download complete [2023-05-05T02:05:38.906Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T02:05:38.906Z] 8a3aa393b2d8: Download complete [2023-05-05T02:05:42.183Z] 114826534d7a: Pull complete [2023-05-05T02:05:42.183Z] 4657fd5d0bcf: Pull complete [2023-05-05T02:05:42.440Z] 6ad1cebc031e: Pull complete [2023-05-05T02:05:45.733Z] 8a3aa393b2d8: Pull complete [2023-05-05T02:05:45.734Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T02:05:45.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T02:05:45.734Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:05:45.813Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:05:45.838Z] $ 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 [2023-05-05T02:05:50.095Z] $ docker top b1e3030f210292a161c1d5773356b94d5a95d76621a43a1d141adf19d99053a8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T02:05:50.171Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-05-05T02:05:50.450Z] + set -o pipefail [2023-05-05T02:05:50.450Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/f25a6e6c-2640-4c3f-8fda-d5b0a8b137d0 [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] [2023-05-05T02:05:55.724Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T02:05:55.724Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T02:05:55.724Z] More details here: https://snyk.co/ue1NS [2023-05-05T02:05:55.724Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T02:05:55.724Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T02:05:55.991Z] $ docker stop --time=1 b1e3030f210292a161c1d5773356b94d5a95d76621a43a1d141adf19d99053a8 [2023-05-05T02:06:00.230Z] $ docker rm -f --volumes b1e3030f210292a161c1d5773356b94d5a95d76621a43a1d141adf19d99053a8 [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 [2023-05-05T02:06:00.912Z] + git log --format=format:%s -1 45d04bf83b3f660b78aa8dfc6abcb70613e55fda [Pipeline] sh [2023-05-05T02:06:01.206Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T02:06:01.206Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:01.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T02:06:01.507Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:06:01.582Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:06:01.606Z] $ 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 [2023-05-05T02:06:02.023Z] $ docker top 123ff6e2389f61afe2c811e785b3d904dd028352be50f58a96d6e1514c140a2e -eo pid,comm [2023-05-05T02:06:02.072Z] 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). [2023-05-05T02:06:02.072Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T02:06:02.112Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T02:06:02.112Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T02:06:02.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T02:06:02.213Z] $ docker exec 123ff6e2389f61afe2c811e785b3d904dd028352be50f58a96d6e1514c140a2e ssh-agent [2023-05-05T02:06:02.318Z] SSH_AUTH_SOCK=/tmp/ssh-9cmRqb7MXrms/agent.32 [2023-05-05T02:06:02.318Z] SSH_AGENT_PID=38 [2023-05-05T02:06:02.322Z] Running ssh-add (command line suppressed) [2023-05-05T02:06:02.414Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_718864605652636251.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_718864605652636251.key) [2023-05-05T02:06:02.434Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T02:06:02.722Z] + git semver tag [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,044 [run_tag] DEBUG tag force:False [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,044 [check_head_tag] DEBUG check head tag [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,045 [execute] INFO git cat-file --batch-check [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,049 [execute] INFO git cat-file --batch [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,050 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,068 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,068 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,068 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T02:06:03.300Z] 2023-05-05 02:06:03,073 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:03.300Z] 3.0.0-dev.23 [Pipeline] } [2023-05-05T02:06:03.304Z] $ docker exec --env ******** --env ******** 123ff6e2389f61afe2c811e785b3d904dd028352be50f58a96d6e1514c140a2e ssh-agent -k [2023-05-05T02:06:03.406Z] unset SSH_AUTH_SOCK; [2023-05-05T02:06:03.407Z] unset SSH_AGENT_PID; [2023-05-05T02:06:03.407Z] echo Agent pid 38 killed; [2023-05-05T02:06:03.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T02:06:03.729Z] + git semver [Pipeline] } [2023-05-05T02:06:03.996Z] $ docker stop --time=1 123ff6e2389f61afe2c811e785b3d904dd028352be50f58a96d6e1514c140a2e [2023-05-05T02:06:05.272Z] $ docker rm -f --volumes 123ff6e2389f61afe2c811e785b3d904dd028352be50f58a96d6e1514c140a2e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:05.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T02:06:05.663Z] [2023-05-05T02:06:05.663Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:05.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T02:06:05.976Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T02:06:05.976Z] ab5ef0e58194: Pulling fs layer [2023-05-05T02:06:05.976Z] 9712f1f96733: Pulling fs layer [2023-05-05T02:06:05.976Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T02:06:05.976Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T02:06:05.976Z] e9a5061849ea: Pulling fs layer [2023-05-05T02:06:05.976Z] d747dcd14b5f: Pulling fs layer [2023-05-05T02:06:05.976Z] 2de7ff778b66: Pulling fs layer [2023-05-05T02:06:05.976Z] 0d9ebad4ef96: Waiting [2023-05-05T02:06:05.976Z] e9a5061849ea: Waiting [2023-05-05T02:06:05.976Z] 2de7ff778b66: Waiting [2023-05-05T02:06:05.976Z] d747dcd14b5f: Waiting [2023-05-05T02:06:05.976Z] 9712f1f96733: Verifying Checksum [2023-05-05T02:06:05.976Z] 9712f1f96733: Download complete [2023-05-05T02:06:06.236Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T02:06:06.236Z] 63f879dbbcfc: Download complete [2023-05-05T02:06:06.496Z] e9a5061849ea: Verifying Checksum [2023-05-05T02:06:06.496Z] e9a5061849ea: Download complete [2023-05-05T02:06:06.496Z] d747dcd14b5f: Verifying Checksum [2023-05-05T02:06:06.496Z] d747dcd14b5f: Download complete [2023-05-05T02:06:06.496Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T02:06:06.496Z] 0d9ebad4ef96: Download complete [2023-05-05T02:06:06.496Z] ab5ef0e58194: Verifying Checksum [2023-05-05T02:06:06.496Z] ab5ef0e58194: Download complete [2023-05-05T02:06:06.496Z] 2de7ff778b66: Verifying Checksum [2023-05-05T02:06:06.496Z] 2de7ff778b66: Download complete [2023-05-05T02:06:09.061Z] ab5ef0e58194: Pull complete [2023-05-05T02:06:09.061Z] 9712f1f96733: Pull complete [2023-05-05T02:06:09.996Z] 63f879dbbcfc: Pull complete [2023-05-05T02:06:13.295Z] 0d9ebad4ef96: Pull complete [2023-05-05T02:06:13.295Z] e9a5061849ea: Pull complete [2023-05-05T02:06:13.295Z] d747dcd14b5f: Pull complete [2023-05-05T02:06:14.238Z] 2de7ff778b66: Pull complete [2023-05-05T02:06:14.238Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T02:06:14.238Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T02:06:14.238Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:06:14.326Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:06:14.349Z] $ 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 [2023-05-05T02:06:22.458Z] $ docker top 57b013fb19049b9cd24c9eb98fb1827af0f30d44e8ee14d66f1f2b433032ea01 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T02:06:22.536Z] provisioning config files... [2023-05-05T02:06:22.547Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2367211245032380008tmp [2023-05-05T02:06:22.565Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8939608129191329959tmp [2023-05-05T02:06:22.577Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10880493731232373224tmp [Pipeline] { [Pipeline] echo [2023-05-05T02:06:22.592Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:22.879Z] ---> sigul-configuration.sh [2023-05-05T02:06:22.879Z] gpg: directory `/root/.gnupg' created [2023-05-05T02:06:22.879Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T02:06:22.879Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T02:06:22.879Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T02:06:22.879Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T02:06:22.879Z] gpg: CAST5 encrypted data [2023-05-05T02:06:22.879Z] gpg: encrypted with 1 passphrase [2023-05-05T02:06:22.879Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T02:06:23.179Z] + mkdir /home/jenkins [2023-05-05T02:06:23.179Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T02:06:23.469Z] + 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 [2023-05-05T02:06:23.478Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:23.760Z] ---> sigul-install.sh [2023-05-05T02:06:23.760Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T02:06:24.043Z] + git tag --list [2023-05-05T02:06:24.043Z] v1.0.0 [2023-05-05T02:06:24.043Z] v2.1.0 [2023-05-05T02:06:24.043Z] v2.1.1 [2023-05-05T02:06:24.043Z] v2.1.1-dev.1 [2023-05-05T02:06:24.043Z] v2.2.0 [2023-05-05T02:06:24.043Z] v2.2.1-dev.1 [2023-05-05T02:06:24.043Z] v2.2.1-dev.2 [2023-05-05T02:06:24.043Z] v2.2.1-dev.3 [2023-05-05T02:06:24.043Z] v2.2.1-dev.4 [2023-05-05T02:06:24.043Z] v2.3.0 [2023-05-05T02:06:24.043Z] v2.3.0-dev.10 [2023-05-05T02:06:24.043Z] v2.3.0-dev.11 [2023-05-05T02:06:24.043Z] v2.3.0-dev.12 [2023-05-05T02:06:24.043Z] v2.3.0-dev.13 [2023-05-05T02:06:24.043Z] v2.3.0-dev.14 [2023-05-05T02:06:24.043Z] v2.3.0-dev.15 [2023-05-05T02:06:24.043Z] v2.3.0-dev.16 [2023-05-05T02:06:24.043Z] v2.3.0-dev.17 [2023-05-05T02:06:24.043Z] v2.3.0-dev.18 [2023-05-05T02:06:24.043Z] v2.3.0-dev.19 [2023-05-05T02:06:24.043Z] v2.3.0-dev.20 [2023-05-05T02:06:24.043Z] v2.3.0-dev.4 [2023-05-05T02:06:24.043Z] v2.3.0-dev.5 [2023-05-05T02:06:24.043Z] v2.3.0-dev.6 [2023-05-05T02:06:24.043Z] v2.3.0-dev.7 [2023-05-05T02:06:24.043Z] v2.3.0-dev.8 [2023-05-05T02:06:24.043Z] v2.3.0-dev.9 [2023-05-05T02:06:24.043Z] v3.0.0-dev.1 [2023-05-05T02:06:24.043Z] v3.0.0-dev.10 [2023-05-05T02:06:24.043Z] v3.0.0-dev.11 [2023-05-05T02:06:24.043Z] v3.0.0-dev.12 [2023-05-05T02:06:24.043Z] v3.0.0-dev.13 [2023-05-05T02:06:24.043Z] v3.0.0-dev.14 [2023-05-05T02:06:24.043Z] v3.0.0-dev.15 [2023-05-05T02:06:24.043Z] v3.0.0-dev.16 [2023-05-05T02:06:24.043Z] v3.0.0-dev.17 [2023-05-05T02:06:24.043Z] v3.0.0-dev.18 [2023-05-05T02:06:24.043Z] v3.0.0-dev.19 [2023-05-05T02:06:24.043Z] v3.0.0-dev.2 [2023-05-05T02:06:24.043Z] v3.0.0-dev.20 [2023-05-05T02:06:24.043Z] v3.0.0-dev.21 [2023-05-05T02:06:24.043Z] v3.0.0-dev.22 [2023-05-05T02:06:24.043Z] v3.0.0-dev.23 [2023-05-05T02:06:24.043Z] v3.0.0-dev.3 [2023-05-05T02:06:24.043Z] v3.0.0-dev.4 [2023-05-05T02:06:24.043Z] v3.0.0-dev.5 [2023-05-05T02:06:24.043Z] v3.0.0-dev.6 [2023-05-05T02:06:24.044Z] v3.0.0-dev.7 [2023-05-05T02:06:24.044Z] v3.0.0-dev.8 [2023-05-05T02:06:24.044Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T02:06:24.330Z] + lftools sign git-tag v3.0.0-dev.23 [2023-05-05T02:06:24.902Z] Signing Git tag with Sigul... [2023-05-05T02:06:24.902Z] Signing v3.0.0-dev.23 [Pipeline] echo [2023-05-05T02:06:25.172Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:25.456Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T02:06:25.463Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T02:06:25.480Z] $ docker stop --time=1 57b013fb19049b9cd24c9eb98fb1827af0f30d44e8ee14d66f1f2b433032ea01 [2023-05-05T02:06:26.767Z] $ docker rm -f --volumes 57b013fb19049b9cd24c9eb98fb1827af0f30d44e8ee14d66f1f2b433032ea01 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T02:06:27.184Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T02:06:27.185Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:27.486Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T02:06:27.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:06:27.554Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:06:27.580Z] $ 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 [2023-05-05T02:06:27.904Z] $ docker top 03bc5608c2a6be3b942bd61e4bb721c2133110fa1081cc80fa387c1ca7141395 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T02:06:27.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T02:06:27.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T02:06:28.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T02:06:28.098Z] $ docker exec 03bc5608c2a6be3b942bd61e4bb721c2133110fa1081cc80fa387c1ca7141395 ssh-agent [2023-05-05T02:06:28.209Z] SSH_AUTH_SOCK=/tmp/ssh-dtCXdsuWHzLs/agent.31 [2023-05-05T02:06:28.209Z] SSH_AGENT_PID=37 [2023-05-05T02:06:28.214Z] Running ssh-add (command line suppressed) [2023-05-05T02:06:28.309Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1069504510039007899.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1069504510039007899.key) [2023-05-05T02:06:28.327Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T02:06:28.612Z] + git semver bump pre [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [bump_version] DEBUG bumped version:3.0.0-dev.24 [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,769 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,771 [execute] INFO git cat-file --batch-check [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,771 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,776 [execute] INFO git cat-file --batch [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,777 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T02:06:28.871Z] 2023-05-05 02:06:28,781 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:28.871Z] 3.0.0-dev.24 [Pipeline] } [2023-05-05T02:06:28.874Z] $ docker exec --env ******** --env ******** 03bc5608c2a6be3b942bd61e4bb721c2133110fa1081cc80fa387c1ca7141395 ssh-agent -k [2023-05-05T02:06:28.972Z] unset SSH_AUTH_SOCK; [2023-05-05T02:06:28.972Z] unset SSH_AGENT_PID; [2023-05-05T02:06:28.972Z] echo Agent pid 37 killed; [2023-05-05T02:06:28.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T02:06:29.292Z] + git semver [Pipeline] } [2023-05-05T02:06:29.559Z] $ docker stop --time=1 03bc5608c2a6be3b942bd61e4bb721c2133110fa1081cc80fa387c1ca7141395 [2023-05-05T02:06:30.816Z] $ docker rm -f --volumes 03bc5608c2a6be3b942bd61e4bb721c2133110fa1081cc80fa387c1ca7141395 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T02:06:31.166Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T02:06:31.166Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:31.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T02:06:31.473Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:06:31.550Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:06:31.568Z] $ 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 [2023-05-05T02:06:31.893Z] $ docker top 00c712d1e0fc2918b1bea05283376c554c402324f7ec364b5d269e81a7d41b95 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T02:06:31.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T02:06:31.992Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T02:06:32.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T02:06:32.124Z] $ docker exec 00c712d1e0fc2918b1bea05283376c554c402324f7ec364b5d269e81a7d41b95 ssh-agent [2023-05-05T02:06:32.227Z] SSH_AUTH_SOCK=/tmp/ssh-CmeCdejE54G2/agent.31 [2023-05-05T02:06:32.227Z] SSH_AGENT_PID=37 [2023-05-05T02:06:32.255Z] Running ssh-add (command line suppressed) [2023-05-05T02:06:32.339Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15500764625845018153.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15500764625845018153.key) [2023-05-05T02:06:32.372Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T02:06:32.718Z] + git semver push [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,850 [run_push] DEBUG push [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,850 [execute] INFO git cat-file --batch-check [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,854 [execute] INFO git rev-list 7c2f420ea7b40ab7356dad122f5e4984662370e7 -- [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,854 [execute] DEBUG Popen(['git', 'rev-list', '7c2f420ea7b40ab7356dad122f5e4984662370e7', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,860 [execute] INFO git fetch -v origin [2023-05-05T02:06:32.977Z] 2023-05-05 02:06:32,860 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-05T02:06:33.545Z] 2023-05-05 02:06:33,323 [run_push] DEBUG no remote changes detected [2023-05-05T02:06:33.545Z] 2023-05-05 02:06:33,323 [execute] INFO git push origin semver [2023-05-05T02:06:33.545Z] 2023-05-05 02:06:33,323 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T02:06:34.113Z] 2023-05-05 02:06:34,055 [run_push] DEBUG push all version tags [2023-05-05T02:06:34.113Z] 2023-05-05 02:06:34,056 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T02:06:34.113Z] 2023-05-05 02:06:34,056 [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) [2023-05-05T02:06:35.491Z] 2023-05-05 02:06:35,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-05-05T02:06:35.491Z] 3.0.0-dev.24 [Pipeline] } [2023-05-05T02:06:35.494Z] $ docker exec --env ******** --env ******** 00c712d1e0fc2918b1bea05283376c554c402324f7ec364b5d269e81a7d41b95 ssh-agent -k [2023-05-05T02:06:35.589Z] unset SSH_AUTH_SOCK; [2023-05-05T02:06:35.589Z] unset SSH_AGENT_PID; [2023-05-05T02:06:35.590Z] echo Agent pid 37 killed; [2023-05-05T02:06:35.607Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T02:06:35.917Z] + git semver [Pipeline] } [2023-05-05T02:06:36.202Z] $ docker stop --time=1 00c712d1e0fc2918b1bea05283376c554c402324f7ec364b5d269e81a7d41b95 [2023-05-05T02:06:37.436Z] $ docker rm -f --volumes 00c712d1e0fc2918b1bea05283376c554c402324f7ec364b5d269e81a7d41b95 [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 [2023-05-05T02:06:37.999Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-05-05T02:06:37.999Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-05T02:06:37.999Z] total 16 [2023-05-05T02:06:37.999Z] drwxr-xr-x 3 root root 4096 May 5 01:54 . [2023-05-05T02:06:37.999Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:06 .. [2023-05-05T02:06:37.999Z] drwxr-xr-x 2 root root 4096 May 5 01:54 cost [2023-05-05T02:06:37.999Z] -rw-r--r-- 1 root root 82 May 5 01:54 cost.csv [2023-05-05T02:06:37.999Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-05T02:06:37.999Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-05-05T02:06:37.999Z] total 16 [2023-05-05T02:06:37.999Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 01:54 . [2023-05-05T02:06:37.999Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 02:06 .. [2023-05-05T02:06:37.999Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 01:54 cost [2023-05-05T02:06:37.999Z] -rw-r--r-- 1 jenkins jenkins 82 May 5 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:38.282Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:39.147Z] ---> package-listing.sh [2023-05-05T02:06:39.147Z] ++ facter osfamily [2023-05-05T02:06:39.147Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T02:06:39.409Z] + OS_FAMILY=debian [2023-05-05T02:06:39.409Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-05-05T02:06:39.409Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T02:06:39.409Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T02:06:39.409Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T02:06:39.409Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T02:06:39.409Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-05-05T02:06:39.409Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T02:06:39.409Z] + case "${OS_FAMILY}" in [2023-05-05T02:06:39.409Z] + dpkg -l [2023-05-05T02:06:39.409Z] + grep '^ii' [2023-05-05T02:06:39.409Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T02:06:39.409Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T02:06:39.409Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T02:06:39.409Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-05-05T02:06:39.409Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-05-05T02:06:39.409Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-05-05T02:06:39.419Z] 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 [2023-05-05T02:06:39.691Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T02:06:40.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T02:06:40.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T02:06:40.318Z] prd-ubuntu20.04-docker-8c-8g-13344 does not seem to be running inside a container [2023-05-05T02:06:40.341Z] $ 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 [2023-05-05T02:06:40.569Z] $ docker top 7c25d08df4cc7dc05f4b81be4910e0970f1c72091565f6655391e014b6d4f652 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T02:06:40.917Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T02:06:41.214Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T02:06:41.502Z] + ls /var/log/sa-host [2023-05-05T02:06:41.502Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T02:06:41.582Z] provisioning config files... [2023-05-05T02:06:41.591Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1076438788652151695tmp [Pipeline] { [Pipeline] echo [2023-05-05T02:06:41.609Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:41.891Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T02:06:41.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:42.227Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T02:06:42.234Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:42.510Z] ---> sudo-logs.sh [2023-05-05T02:06:42.510Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T02:06:42.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:42.819Z] ---> job-cost.sh [2023-05-05T02:06:42.820Z] lf-activate-venv: SKIPPING [2023-05-05T02:06:42.820Z] DEBUG: total: 0.2199999988079071 [2023-05-05T02:06:42.820Z] INFO: Retrieving Stack Cost... [2023-05-05T02:06:43.079Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T02:06:43.646Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T02:06:43.657Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T02:06:43.936Z] ---> logs-deploy.sh [2023-05-05T02:06:43.936Z] lf-activate-venv: SKIPPING [2023-05-05T02:06:43.936Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/77 [2023-05-05T02:06:43.936Z] INFO: archiving workspace using pattern(s): [2023-05-05T02:06:44.870Z] Archives upload complete. [2023-05-05T02:06:45.130Z] INFO: archiving logs to Nexus