Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 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-ssh6711040761671168157.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3153600046855542770.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/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-ssh12389670029391884562.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8930928798558224545.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-ssh17499178734573046231.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6251 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 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (main) Commit message: "Merge pull request #98 from chc69/issue-97" > 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 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 > git rev-list --no-walk 9fd98a26a9ea9701925160950e3b0ed34522a85d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-16T03:45:15.375Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-16T03:45:15.437Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-16T03:45:15.453Z] ========================================================= [2023-02-16T03:45:15.453Z] EdgeX Global Pipelines Version Info [2023-02-16T03:45:15.453Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:45:16.174Z] ------------------- [2023-02-16T03:45:16.174Z] stable info: [2023-02-16T03:45:16.174Z] ------------------- [2023-02-16T03:45:16.174Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-16T03:45:16.174Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T03:45:16.174Z] Message: update stable to v1.0.244 [2023-02-16T03:45:16.746Z] ------------------- [2023-02-16T03:45:16.746Z] experimental info: [2023-02-16T03:45:16.746Z] ------------------- [2023-02-16T03:45:16.746Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-16T03:45:16.746Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-16T03:45:16.746Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-16T03:45:16.898Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-02-16T03:45:16.906Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-02-16T03:45:16.915Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-16T03:45:16.923Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-16T03:45:16.934Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-16T03:45:16.944Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-16T03:45:16.954Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-16T03:45:16.963Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-16T03:45:16.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-16T03:45:16.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-16T03:45:17.007Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-16T03:45:17.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-02-16T03:45:17.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-16T03:45:17.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-16T03:45:17.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T03:45:17.077Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-16T03:45:17.089Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T03:45:17.101Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-16T03:45:17.115Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-16T03:45:17.135Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-16T03:45:17.145Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-16T03:45:17.156Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-16T03:45:17.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-16T03:45:17.191Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-16T03:45:17.211Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-16T03:45:17.231Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-16T03:45:17.251Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-16T03:45:17.272Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-16T03:45:17.292Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-16T03:45:17.310Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-16T03:45:17.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] echo [2023-02-16T03:45:17.356Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 192d2e5 [Pipeline] echo [2023-02-16T03:45:17.378Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T03:45:17.428Z] provisioning config files... [2023-02-16T03:45:17.441Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12652554881828896518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:45:17.742Z] ---> docker-login.sh [2023-02-16T03:45:17.742Z] nexus3.edgexfoundry.org:10001 [2023-02-16T03:45:18.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:18.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:18.008Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:18.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:18.008Z] [2023-02-16T03:45:18.008Z] Login Succeeded [2023-02-16T03:45:18.008Z] nexus3.edgexfoundry.org:10002 [2023-02-16T03:45:18.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:18.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:18.269Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:18.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:18.269Z] [2023-02-16T03:45:18.269Z] Login Succeeded [2023-02-16T03:45:18.269Z] nexus3.edgexfoundry.org:10003 [2023-02-16T03:45:18.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:18.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:18.269Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:18.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:18.269Z] [2023-02-16T03:45:18.269Z] Login Succeeded [2023-02-16T03:45:18.269Z] nexus3.edgexfoundry.org:10004 [2023-02-16T03:45:18.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:18.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:18.528Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:18.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:18.528Z] [2023-02-16T03:45:18.528Z] Login Succeeded [2023-02-16T03:45:18.528Z] docker.io [2023-02-16T03:45:18.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:18.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:18.787Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:18.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:18.787Z] [2023-02-16T03:45:18.787Z] Login Succeeded [2023-02-16T03:45:18.787Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T03:45:18.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-16T03:45:19.159Z] + git rev-list -1 --merges 192d2e5d52be7054ee8f5929c78a4d9d1a66e905~1..192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] echo [2023-02-16T03:45:19.202Z] -----------> git rev-list -1 --merges 192d2e5d52be7054ee8f5929c78a4d9d1a66e905~1..192d2e5d52be7054ee8f5929c78a4d9d1a66e905 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:45:19.202Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [false] [Pipeline] sh [2023-02-16T03:45:19.488Z] + git log --format=format:%s -1 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] echo [2023-02-16T03:45:19.507Z] ========================================================= [2023-02-16T03:45:19.507Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-16T03:45:19.507Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T03:45:19.847Z] + git log --format=format:%s -1 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] echo [2023-02-16T03:45:19.860Z] [semverPrep] GIT_COMMIT: 192d2e5d52be7054ee8f5929c78a4d9d1a66e905, Commit Message: Merge pull request #98 from chc69/issue-97 [Pipeline] echo [2023-02-16T03:45:19.871Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-16T03:45:20.234Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T03:45:20.234Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-16T03:45:20.234Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-16T03:45:20.234Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-16T03:45:20.234Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-16T03:45:20.234Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-16T03:45:20.234Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:45:20.630Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:45:20.630Z] [2023-02-16T03:45:20.630Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:45:20.930Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:45:20.930Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-16T03:45:20.930Z] b85a868b505f: Pulling fs layer [2023-02-16T03:45:20.930Z] e2be974225ed: Pulling fs layer [2023-02-16T03:45:20.930Z] 339a4e72a1f5: Pulling fs layer [2023-02-16T03:45:20.930Z] 988bab9f4d93: Pulling fs layer [2023-02-16T03:45:20.930Z] 1469e6f7b9e6: Pulling fs layer [2023-02-16T03:45:20.930Z] eaf3925da568: Pulling fs layer [2023-02-16T03:45:20.930Z] bab4dde63d76: Pulling fs layer [2023-02-16T03:45:20.930Z] bde34c3a00c8: Pulling fs layer [2023-02-16T03:45:20.930Z] b352a97aabf1: Pulling fs layer [2023-02-16T03:45:20.930Z] 4872d77fe225: Pulling fs layer [2023-02-16T03:45:20.930Z] 5851b861e8e6: Pulling fs layer [2023-02-16T03:45:20.930Z] bab4dde63d76: Waiting [2023-02-16T03:45:20.930Z] 4872d77fe225: Waiting [2023-02-16T03:45:20.930Z] 988bab9f4d93: Waiting [2023-02-16T03:45:20.930Z] bde34c3a00c8: Waiting [2023-02-16T03:45:20.930Z] 5851b861e8e6: Waiting [2023-02-16T03:45:20.930Z] b352a97aabf1: Waiting [2023-02-16T03:45:20.930Z] 1469e6f7b9e6: Waiting [2023-02-16T03:45:20.930Z] eaf3925da568: Waiting [2023-02-16T03:45:20.930Z] e2be974225ed: Download complete [2023-02-16T03:45:20.930Z] 988bab9f4d93: Download complete [2023-02-16T03:45:21.193Z] 339a4e72a1f5: Verifying Checksum [2023-02-16T03:45:21.193Z] 339a4e72a1f5: Download complete [2023-02-16T03:45:21.193Z] 1469e6f7b9e6: Verifying Checksum [2023-02-16T03:45:21.193Z] eaf3925da568: Verifying Checksum [2023-02-16T03:45:21.193Z] eaf3925da568: Download complete [2023-02-16T03:45:21.193Z] bde34c3a00c8: Verifying Checksum [2023-02-16T03:45:21.193Z] bde34c3a00c8: Download complete [2023-02-16T03:45:21.193Z] b352a97aabf1: Download complete [2023-02-16T03:45:21.193Z] 4872d77fe225: Verifying Checksum [2023-02-16T03:45:21.193Z] 4872d77fe225: Download complete [2023-02-16T03:45:21.454Z] 5851b861e8e6: Verifying Checksum [2023-02-16T03:45:21.454Z] 5851b861e8e6: Download complete [2023-02-16T03:45:21.454Z] b85a868b505f: Verifying Checksum [2023-02-16T03:45:21.454Z] b85a868b505f: Download complete [2023-02-16T03:45:21.712Z] bab4dde63d76: Verifying Checksum [2023-02-16T03:45:21.712Z] bab4dde63d76: Download complete [2023-02-16T03:45:22.651Z] b85a868b505f: Pull complete [2023-02-16T03:45:22.651Z] e2be974225ed: Pull complete [2023-02-16T03:45:23.221Z] 339a4e72a1f5: Pull complete [2023-02-16T03:45:23.221Z] 988bab9f4d93: Pull complete [2023-02-16T03:45:23.481Z] 1469e6f7b9e6: Pull complete [2023-02-16T03:45:23.481Z] eaf3925da568: Pull complete [2023-02-16T03:45:25.384Z] bab4dde63d76: Pull complete [2023-02-16T03:45:25.384Z] bde34c3a00c8: Pull complete [2023-02-16T03:45:25.384Z] b352a97aabf1: Pull complete [2023-02-16T03:45:25.384Z] 4872d77fe225: Pull complete [2023-02-16T03:45:25.384Z] 5851b861e8e6: Pull complete [2023-02-16T03:45:25.384Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-16T03:45:25.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:45:25.384Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:45:25.484Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:45:25.512Z] $ 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-02-16T03:45:26.745Z] $ docker top 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e -eo pid,comm [2023-02-16T03:45:26.795Z] 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-02-16T03:45:26.795Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T03:45:26.824Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T03:45:26.824Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T03:45:26.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T03:45:26.925Z] $ docker exec 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e ssh-agent [2023-02-16T03:45:27.019Z] SSH_AUTH_SOCK=/tmp/ssh-d8ucYEAEFHwy/agent.31 [2023-02-16T03:45:27.019Z] SSH_AGENT_PID=37 [2023-02-16T03:45:27.026Z] Running ssh-add (command line suppressed) [2023-02-16T03:45:27.114Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10611425538245710020.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10611425538245710020.key) [2023-02-16T03:45:27.126Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T03:45:27.410Z] + git tag --points-at HEAD [Pipeline] } [2023-02-16T03:45:27.429Z] $ docker exec --env ******** --env ******** 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e ssh-agent -k [2023-02-16T03:45:27.518Z] unset SSH_AUTH_SOCK; [2023-02-16T03:45:27.519Z] unset SSH_AGENT_PID; [2023-02-16T03:45:27.519Z] echo Agent pid 37 killed; [2023-02-16T03:45:27.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-16T03:45:27.552Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T03:45:27.552Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T03:45:27.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T03:45:27.661Z] $ docker exec 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e ssh-agent [2023-02-16T03:45:27.764Z] SSH_AUTH_SOCK=/tmp/ssh-GimzeswyOcW8/agent.69 [2023-02-16T03:45:27.764Z] SSH_AGENT_PID=75 [2023-02-16T03:45:27.770Z] Running ssh-add (command line suppressed) [2023-02-16T03:45:27.860Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9361722814966872378.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9361722814966872378.key) [2023-02-16T03:45:27.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T03:45:28.160Z] + git semver init [2023-02-16T03:45:28.420Z] 2023-02-16 03:45:28,329 [run_init] DEBUG init version:0.0.0 force:False [2023-02-16T03:45:28.420Z] 2023-02-16 03:45:28,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-02-16T03:45:28.420Z] 2023-02-16 03:45:28,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-02-16T03:45:28.420Z] 2023-02-16 03:45:28,330 [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-02-16T03:45:29.358Z] 2023-02-16 03:45:29,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-02-16T03:45:29.358Z] 2023-02-16 03:45:29,344 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-02-16T03:45:29.358Z] 2023-02-16 03:45:29,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:45:29.358Z] 2023-02-16 03:45:29,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:45:29.358Z] 3.0.0-dev.8 [Pipeline] } [2023-02-16T03:45:29.626Z] $ docker exec --env ******** --env ******** 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e ssh-agent -k [2023-02-16T03:45:29.726Z] unset SSH_AUTH_SOCK; [2023-02-16T03:45:29.726Z] unset SSH_AGENT_PID; [2023-02-16T03:45:29.726Z] echo Agent pid 75 killed; [2023-02-16T03:45:29.746Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T03:45:30.055Z] + git semver [Pipeline] } [2023-02-16T03:45:30.327Z] $ docker stop --time=1 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e [2023-02-16T03:45:31.618Z] $ docker rm -f --volumes 4b08f8c9afec4c444868b1c17416fc5510c9bef0e9d0aba8ac6c1c90c03b250e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T03:45:31.956Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-16T03:45:32.180Z] Stashed 1 file(s) [Pipeline] echo [2023-02-16T03:45:32.183Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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-02-16T03:45:32.346Z] provisioning config files... [2023-02-16T03:45:32.355Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6740032434062075968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:45:32.651Z] ---> docker-login.sh [2023-02-16T03:45:32.651Z] nexus3.edgexfoundry.org:10001 [2023-02-16T03:45:32.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:32.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:32.651Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:32.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:32.651Z] [2023-02-16T03:45:32.651Z] Login Succeeded [2023-02-16T03:45:32.651Z] nexus3.edgexfoundry.org:10002 [2023-02-16T03:45:32.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:32.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:32.651Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:32.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:32.651Z] [2023-02-16T03:45:32.651Z] Login Succeeded [2023-02-16T03:45:32.651Z] nexus3.edgexfoundry.org:10003 [2023-02-16T03:45:32.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:32.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:32.910Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:32.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:32.910Z] [2023-02-16T03:45:32.910Z] Login Succeeded [2023-02-16T03:45:32.910Z] nexus3.edgexfoundry.org:10004 [2023-02-16T03:45:32.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:32.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:32.910Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:32.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:32.910Z] [2023-02-16T03:45:32.910Z] Login Succeeded [2023-02-16T03:45:32.910Z] docker.io [2023-02-16T03:45:33.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:45:33.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:45:33.169Z] Configure a credential helper to remove this warning. See [2023-02-16T03:45:33.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:45:33.169Z] [2023-02-16T03:45:33.169Z] Login Succeeded [2023-02-16T03:45:33.169Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T03:45:33.178Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T03:45:33.232Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:45:33.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:45:33.256Z] ========================================================= [2023-02-16T03:45:33.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-16T03:45:33.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:45:33.573Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T03:45:33.573Z] Sending build context to Docker daemon 15.98MB [2023-02-16T03:45:33.573Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T03:45:33.573Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T03:45:33.573Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-16T03:45:33.573Z] 213ec9aee27d: Pulling fs layer [2023-02-16T03:45:33.573Z] 4583459ba037: Pulling fs layer [2023-02-16T03:45:33.573Z] 93c1e223e6f2: Pulling fs layer [2023-02-16T03:45:33.573Z] 53926ce57604: Pulling fs layer [2023-02-16T03:45:33.573Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-16T03:45:33.573Z] 22ff95d597cd: Pulling fs layer [2023-02-16T03:45:33.573Z] 12d6caf4c0d1: Pulling fs layer [2023-02-16T03:45:33.573Z] 96b7cbca73a9: Pulling fs layer [2023-02-16T03:45:33.573Z] a7acece74701: Pulling fs layer [2023-02-16T03:45:33.573Z] 53926ce57604: Waiting [2023-02-16T03:45:33.573Z] 21b2b0c7a3f4: Waiting [2023-02-16T03:45:33.573Z] 22ff95d597cd: Waiting [2023-02-16T03:45:33.573Z] 96b7cbca73a9: Waiting [2023-02-16T03:45:33.573Z] 12d6caf4c0d1: Waiting [2023-02-16T03:45:33.573Z] a7acece74701: Waiting [2023-02-16T03:45:33.841Z] 93c1e223e6f2: Download complete [2023-02-16T03:45:33.841Z] 4583459ba037: Download complete [2023-02-16T03:45:33.841Z] 21b2b0c7a3f4: Download complete [2023-02-16T03:45:33.841Z] 22ff95d597cd: Verifying Checksum [2023-02-16T03:45:33.841Z] 22ff95d597cd: Download complete [2023-02-16T03:45:33.841Z] 213ec9aee27d: Verifying Checksum [2023-02-16T03:45:33.841Z] 213ec9aee27d: Download complete [2023-02-16T03:45:33.841Z] 12d6caf4c0d1: Download complete [2023-02-16T03:45:34.106Z] 213ec9aee27d: Pull complete [2023-02-16T03:45:34.106Z] 4583459ba037: Pull complete [2023-02-16T03:45:34.106Z] 93c1e223e6f2: Pull complete [2023-02-16T03:45:34.696Z] a7acece74701: Verifying Checksum [2023-02-16T03:45:34.696Z] a7acece74701: Download complete [2023-02-16T03:45:34.956Z] 96b7cbca73a9: Download complete [2023-02-16T03:45:34.956Z] 53926ce57604: Verifying Checksum [2023-02-16T03:45:34.956Z] 53926ce57604: Download complete [2023-02-16T03:45:38.264Z] 53926ce57604: Pull complete [2023-02-16T03:45:38.264Z] 21b2b0c7a3f4: Pull complete [2023-02-16T03:45:38.264Z] 22ff95d597cd: Pull complete [2023-02-16T03:45:38.522Z] 12d6caf4c0d1: Pull complete [2023-02-16T03:45:40.423Z] 96b7cbca73a9: Pull complete [2023-02-16T03:45:40.995Z] a7acece74701: Pull complete [2023-02-16T03:45:40.995Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-16T03:45:40.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-16T03:45:40.995Z] ---> db6d94c90886 [2023-02-16T03:45:40.995Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T03:45:42.374Z] ---> Running in 0cb50cd9a329 [2023-02-16T03:45:42.634Z] Removing intermediate container 0cb50cd9a329 [2023-02-16T03:45:42.634Z] ---> eef40debb995 [2023-02-16T03:45:42.634Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T03:45:42.634Z] ---> Running in 3b7b60a46f03 [2023-02-16T03:45:42.634Z] Removing intermediate container 3b7b60a46f03 [2023-02-16T03:45:42.634Z] ---> dc080014e3aa [2023-02-16T03:45:42.634Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T03:45:42.634Z] ---> Running in 0b4657527b9c [2023-02-16T03:45:42.893Z] Removing intermediate container 0b4657527b9c [2023-02-16T03:45:42.894Z] ---> bda46e7b68e4 [2023-02-16T03:45:42.894Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T03:45:42.894Z] ---> Running in c09f82066b22 [2023-02-16T03:45:42.894Z] Removing intermediate container c09f82066b22 [2023-02-16T03:45:42.894Z] ---> 52e4a427417a [2023-02-16T03:45:42.894Z] Step 7/12 : WORKDIR /device-gpio [2023-02-16T03:45:42.894Z] ---> Running in 8acf507baba8 [2023-02-16T03:45:43.152Z] Removing intermediate container 8acf507baba8 [2023-02-16T03:45:43.152Z] ---> 35532a1d4d2e [2023-02-16T03:45:43.152Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T03:45:43.152Z] ---> Running in 01945c1e2f7f [2023-02-16T03:45:43.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T03:45:43.412Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T03:45:43.672Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T03:45:43.672Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T03:45:43.672Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T03:45:43.932Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T03:45:43.932Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T03:45:43.932Z] OK: 216 MiB in 55 packages [2023-02-16T03:45:44.193Z] Removing intermediate container 01945c1e2f7f [2023-02-16T03:45:44.193Z] ---> 0e3a34e54800 [2023-02-16T03:45:44.193Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T03:45:44.452Z] ---> 576eebf16106 [2023-02-16T03:45:44.452Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T03:45:44.452Z] ---> Running in 92ff206437d8 [2023-02-16T03:45:47.298Z] Still waiting to schedule task [2023-02-16T03:45:47.298Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-16T03:46:16.547Z] Removing intermediate container 92ff206437d8 [2023-02-16T03:46:16.547Z] ---> 11efba0ef2c9 [2023-02-16T03:46:16.547Z] Step 11/12 : COPY . . [2023-02-16T03:46:16.547Z] ---> e6e47cf50dc0 [2023-02-16T03:46:16.547Z] Step 12/12 : RUN ${MAKE} [2023-02-16T03:46:16.547Z] ---> Running in c3d4f806207e [2023-02-16T03:46:16.547Z] noop [2023-02-16T03:46:16.547Z] Removing intermediate container c3d4f806207e [2023-02-16T03:46:16.547Z] ---> c95435401432 [2023-02-16T03:46:16.547Z] Successfully built c95435401432 [2023-02-16T03:46:16.547Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:46:16.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T03:46:16.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:46:16.932Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:46:16.959Z] $ 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-02-16T03:46:17.308Z] $ docker top 82e6a8fd5623b894faedfcd37a784bf9fd09edc01dbb4236c505320c8d62642a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T03:46:17.652Z] + go version [2023-02-16T03:46:17.652Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-16T03:46:17.666Z] $ docker stop --time=1 82e6a8fd5623b894faedfcd37a784bf9fd09edc01dbb4236c505320c8d62642a [2023-02-16T03:46:18.930Z] $ docker rm -f --volumes 82e6a8fd5623b894faedfcd37a784bf9fd09edc01dbb4236c505320c8d62642a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:46:19.315Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-16T03:46:19.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:46:19.387Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:46:19.418Z] $ 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-02-16T03:46:19.787Z] $ docker top 18ffdc2dbcce1b047d1159280f03eedcf27bd2dfcbf8f5d89aeb8e170af3a0ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T03:46:20.124Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-02-16T03:46:20.416Z] + make test [2023-02-16T03:46:20.416Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T03:46:20.674Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-16T03:46:28.788Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-16T03:46:28.788Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-16T03:46:35.349Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-16T03:46:35.349Z] go vet ./... [2023-02-16T03:46:37.876Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T03:46:37.876Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T03:46:37.876Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T03:46:37.889Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T03:46:37.906Z] $ docker stop --time=1 18ffdc2dbcce1b047d1159280f03eedcf27bd2dfcbf8f5d89aeb8e170af3a0ae [2023-02-16T03:46:39.572Z] $ docker rm -f --volumes 18ffdc2dbcce1b047d1159280f03eedcf27bd2dfcbf8f5d89aeb8e170af3a0ae [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T03:46:40.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T03:46:40.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-16T03:46:40.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T03:46:40.893Z] + ls -al . [2023-02-16T03:46:40.893Z] total 168 [2023-02-16T03:46:40.893Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 16 03:46 . [2023-02-16T03:46:40.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 03:45 .. [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 16 03:45 .dockerignore [2023-02-16T03:46:40.893Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 03:46 .git [2023-02-16T03:46:40.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:45 .github [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 16 03:45 .gitignore [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 03:45 .golangci.yml [2023-02-16T03:46:40.893Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 03:45 .semver [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 16 03:45 Attribution.txt [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 16 03:45 CHANGELOG.md [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 16 03:45 Dockerfile [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 03:45 GOVERNANCE.md [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 16 03:45 Jenkinsfile [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 03:45 LICENSE [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 1657 Feb 16 03:45 Makefile [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 16 03:45 OWNERS.md [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 16 03:45 README.md [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 16 03:45 VERSION [2023-02-16T03:46:40.893Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 03:45 bin [2023-02-16T03:46:40.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:45 cmd [2023-02-16T03:46:40.893Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 16 03:46 coverage.out [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 16 03:45 go.mod [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 44944 Feb 16 03:45 go.sum [2023-02-16T03:46:40.893Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:45 internal [2023-02-16T03:46:40.893Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 03:45 snap [2023-02-16T03:46:40.893Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 16 03:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:46:41.201Z] + 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=192d2e5d52be7054ee8f5929c78a4d9d1a66e905 --label arch=amd64 --label version=3.0.0-dev.8 . [2023-02-16T03:46:41.201Z] Sending build context to Docker daemon 15.98MB [2023-02-16T03:46:41.201Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T03:46:41.201Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-16T03:46:41.201Z] ---> c95435401432 [2023-02-16T03:46:41.201Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-16T03:46:41.201Z] ---> Running in aac940bd0a0f [2023-02-16T03:46:41.462Z] Removing intermediate container aac940bd0a0f [2023-02-16T03:46:41.462Z] ---> c76bd8d2b441 [2023-02-16T03:46:41.462Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T03:46:41.462Z] ---> Running in d5f28172b9a7 [2023-02-16T03:46:41.462Z] Removing intermediate container d5f28172b9a7 [2023-02-16T03:46:41.462Z] ---> 770a9db5c44b [2023-02-16T03:46:41.462Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T03:46:41.462Z] ---> Running in 34010029a1a9 [2023-02-16T03:46:41.721Z] Removing intermediate container 34010029a1a9 [2023-02-16T03:46:41.721Z] ---> bafe9d0a4e3e [2023-02-16T03:46:41.721Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T03:46:41.721Z] ---> Running in 74b28aac4576 [2023-02-16T03:46:41.721Z] Removing intermediate container 74b28aac4576 [2023-02-16T03:46:41.721Z] ---> 37dbc7b48374 [2023-02-16T03:46:41.721Z] Step 7/25 : WORKDIR /device-gpio [2023-02-16T03:46:41.721Z] ---> Running in c4c8c4badb26 [2023-02-16T03:46:41.721Z] Removing intermediate container c4c8c4badb26 [2023-02-16T03:46:41.721Z] ---> a472436c2380 [2023-02-16T03:46:41.721Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T03:46:41.980Z] ---> Running in 824ed52abda0 [2023-02-16T03:46:42.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T03:46:42.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T03:46:42.499Z] OK: 216 MiB in 55 packages [2023-02-16T03:46:43.066Z] Removing intermediate container 824ed52abda0 [2023-02-16T03:46:43.066Z] ---> 4a8474261999 [2023-02-16T03:46:43.066Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-16T03:46:43.066Z] ---> ead14e4658f7 [2023-02-16T03:46:43.066Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T03:46:43.066Z] ---> Running in 394225cd7fad [2023-02-16T03:46:43.635Z] Removing intermediate container 394225cd7fad [2023-02-16T03:46:43.635Z] ---> d28954f271b4 [2023-02-16T03:46:43.635Z] Step 11/25 : COPY . . [2023-02-16T03:46:44.201Z] ---> 35c00fd9a3d9 [2023-02-16T03:46:44.201Z] Step 12/25 : RUN ${MAKE} [2023-02-16T03:46:44.201Z] ---> Running in 85dbf3e6cd72 [2023-02-16T03:46:44.201Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-02-16T03:47:02.274Z] Removing intermediate container 85dbf3e6cd72 [2023-02-16T03:47:02.274Z] ---> 4ea0224794aa [2023-02-16T03:47:02.274Z] Step 13/25 : FROM alpine:3.16 [2023-02-16T03:47:02.274Z] 3.16: Pulling from library/alpine [2023-02-16T03:47:02.274Z] ef5531b6e74e: Pulling fs layer [2023-02-16T03:47:02.274Z] ef5531b6e74e: Verifying Checksum [2023-02-16T03:47:02.274Z] ef5531b6e74e: Download complete [2023-02-16T03:47:02.274Z] ef5531b6e74e: Pull complete [2023-02-16T03:47:02.274Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T03:47:02.274Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T03:47:02.274Z] ---> dfd21b5a31f5 [2023-02-16T03:47:02.274Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-16T03:47:02.274Z] ---> Running in 8f22fde0613e [2023-02-16T03:47:02.274Z] Removing intermediate container 8f22fde0613e [2023-02-16T03:47:02.274Z] ---> b13952424a7b [2023-02-16T03:47:02.274Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-16T03:47:02.274Z] ---> Running in 2bc15e6f2448 [2023-02-16T03:47:02.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-16T03:47:02.274Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-16T03:47:02.843Z] OK: 6 MiB in 14 packages [2023-02-16T03:47:03.103Z] Removing intermediate container 2bc15e6f2448 [2023-02-16T03:47:03.103Z] ---> ff9e87d2e9a3 [2023-02-16T03:47:03.103Z] Step 16/25 : WORKDIR / [2023-02-16T03:47:03.103Z] ---> Running in c5551088f772 [2023-02-16T03:47:03.103Z] Removing intermediate container c5551088f772 [2023-02-16T03:47:03.103Z] ---> 31f008ae9100 [2023-02-16T03:47:03.103Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-16T03:47:03.362Z] ---> 77e547216434 [2023-02-16T03:47:03.362Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-16T03:47:03.362Z] ---> 1e4ff1dad834 [2023-02-16T03:47:03.362Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-16T03:47:03.930Z] ---> da8568eb2709 [2023-02-16T03:47:03.930Z] Step 20/25 : EXPOSE 59910 [2023-02-16T03:47:03.930Z] ---> Running in 547250d8bf11 [2023-02-16T03:47:03.930Z] Removing intermediate container 547250d8bf11 [2023-02-16T03:47:03.930Z] ---> 7db8d47d0779 [2023-02-16T03:47:03.930Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-16T03:47:03.930Z] ---> Running in 20bb7b226b74 [2023-02-16T03:47:04.189Z] Removing intermediate container 20bb7b226b74 [2023-02-16T03:47:04.189Z] ---> 225c04a1a7ae [2023-02-16T03:47:04.189Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T03:47:04.189Z] ---> Running in 440d91557867 [2023-02-16T03:47:04.189Z] Removing intermediate container 440d91557867 [2023-02-16T03:47:04.189Z] ---> ece4cd4a4c65 [2023-02-16T03:47:04.189Z] Step 23/25 : LABEL arch=amd64 [2023-02-16T03:47:04.189Z] ---> Running in ae12751a9735 [2023-02-16T03:47:04.189Z] Removing intermediate container ae12751a9735 [2023-02-16T03:47:04.189Z] ---> f433472fb75a [2023-02-16T03:47:04.189Z] Step 24/25 : LABEL git_sha=192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:47:04.448Z] ---> Running in 4ad86536351a [2023-02-16T03:47:04.448Z] Removing intermediate container 4ad86536351a [2023-02-16T03:47:04.448Z] ---> 51d38064a22f [2023-02-16T03:47:04.448Z] Step 25/25 : LABEL version=3.0.0-dev.8 [2023-02-16T03:47:04.448Z] ---> Running in ace7cfa43bf9 [2023-02-16T03:47:04.448Z] Removing intermediate container ace7cfa43bf9 [2023-02-16T03:47:04.448Z] ---> a16197a0d358 [2023-02-16T03:47:04.448Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T03:47:04.448Z] Successfully built a16197a0d358 [2023-02-16T03:47:04.448Z] 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-02-16T03:47:04.525Z] provisioning config files... [2023-02-16T03:47:04.532Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5534253494988566954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:47:04.824Z] ---> docker-login.sh [2023-02-16T03:47:04.825Z] nexus3.edgexfoundry.org:10001 [2023-02-16T03:47:04.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:47:04.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:47:04.825Z] Configure a credential helper to remove this warning. See [2023-02-16T03:47:04.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:47:04.825Z] [2023-02-16T03:47:04.825Z] Login Succeeded [2023-02-16T03:47:04.825Z] nexus3.edgexfoundry.org:10002 [2023-02-16T03:47:04.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:47:04.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:47:04.825Z] Configure a credential helper to remove this warning. See [2023-02-16T03:47:04.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:47:04.825Z] [2023-02-16T03:47:04.825Z] Login Succeeded [2023-02-16T03:47:04.825Z] nexus3.edgexfoundry.org:10003 [2023-02-16T03:47:05.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:47:05.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:47:05.083Z] Configure a credential helper to remove this warning. See [2023-02-16T03:47:05.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:47:05.083Z] [2023-02-16T03:47:05.083Z] Login Succeeded [2023-02-16T03:47:05.083Z] nexus3.edgexfoundry.org:10004 [2023-02-16T03:47:05.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:47:05.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:47:05.083Z] Configure a credential helper to remove this warning. See [2023-02-16T03:47:05.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:47:05.083Z] [2023-02-16T03:47:05.083Z] Login Succeeded [2023-02-16T03:47:05.083Z] docker.io [2023-02-16T03:47:05.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:47:05.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:47:05.342Z] Configure a credential helper to remove this warning. See [2023-02-16T03:47:05.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:47:05.342Z] [2023-02-16T03:47:05.342Z] Login Succeeded [2023-02-16T03:47:05.342Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T03:47:05.348Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-16T03:47:05.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:47:05.389Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-02-16T03:47:05.389Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:47:05.389Z] latest [2023-02-16T03:47:05.389Z] 3.0.0-dev.8 [2023-02-16T03:47:05.389Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:47:05.389Z] main [2023-02-16T03:47:05.389Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:05.697Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:05.998Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:47:05.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-02-16T03:47:05.998Z] 5addcf94065f: Preparing [2023-02-16T03:47:05.998Z] e30f545606b5: Preparing [2023-02-16T03:47:05.998Z] 3dba36163caf: Preparing [2023-02-16T03:47:05.998Z] 44a21fa38e3a: Preparing [2023-02-16T03:47:05.998Z] aa5968d388b8: Preparing [2023-02-16T03:47:05.998Z] aa5968d388b8: Layer already exists [2023-02-16T03:47:05.998Z] 44a21fa38e3a: Pushed [2023-02-16T03:47:05.998Z] 3dba36163caf: Pushed [2023-02-16T03:47:05.998Z] e30f545606b5: Pushed [2023-02-16T03:47:08.540Z] 5addcf94065f: Pushed [2023-02-16T03:47:08.540Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905: digest: sha256:7759288f51fae6344aaa4895766df98e1a1e08c36c14ab906690017acc4e110a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:08.908Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:09.239Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-02-16T03:47:09.239Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-02-16T03:47:09.239Z] 5addcf94065f: Preparing [2023-02-16T03:47:09.239Z] e30f545606b5: Preparing [2023-02-16T03:47:09.239Z] 3dba36163caf: Preparing [2023-02-16T03:47:09.239Z] 44a21fa38e3a: Preparing [2023-02-16T03:47:09.239Z] aa5968d388b8: Preparing [2023-02-16T03:47:09.239Z] 5addcf94065f: Layer already exists [2023-02-16T03:47:09.239Z] 3dba36163caf: Layer already exists [2023-02-16T03:47:09.239Z] aa5968d388b8: Layer already exists [2023-02-16T03:47:09.239Z] 44a21fa38e3a: Layer already exists [2023-02-16T03:47:09.239Z] e30f545606b5: Layer already exists [2023-02-16T03:47:09.537Z] latest: digest: sha256:7759288f51fae6344aaa4895766df98e1a1e08c36c14ab906690017acc4e110a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:09.870Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:10.184Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.8 [2023-02-16T03:47:10.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-02-16T03:47:10.184Z] 5addcf94065f: Preparing [2023-02-16T03:47:10.184Z] e30f545606b5: Preparing [2023-02-16T03:47:10.184Z] 3dba36163caf: Preparing [2023-02-16T03:47:10.184Z] 44a21fa38e3a: Preparing [2023-02-16T03:47:10.184Z] aa5968d388b8: Preparing [2023-02-16T03:47:10.184Z] aa5968d388b8: Layer already exists [2023-02-16T03:47:10.184Z] 44a21fa38e3a: Layer already exists [2023-02-16T03:47:10.184Z] 5addcf94065f: Layer already exists [2023-02-16T03:47:10.184Z] 3dba36163caf: Layer already exists [2023-02-16T03:47:10.184Z] e30f545606b5: Layer already exists [2023-02-16T03:47:10.184Z] 3.0.0-dev.8: digest: sha256:7759288f51fae6344aaa4895766df98e1a1e08c36c14ab906690017acc4e110a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:10.490Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:10.795Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:47:10.795Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-02-16T03:47:10.795Z] 5addcf94065f: Preparing [2023-02-16T03:47:10.795Z] e30f545606b5: Preparing [2023-02-16T03:47:10.795Z] 3dba36163caf: Preparing [2023-02-16T03:47:10.795Z] 44a21fa38e3a: Preparing [2023-02-16T03:47:10.795Z] aa5968d388b8: Preparing [2023-02-16T03:47:10.795Z] aa5968d388b8: Layer already exists [2023-02-16T03:47:10.795Z] 44a21fa38e3a: Layer already exists [2023-02-16T03:47:10.795Z] e30f545606b5: Layer already exists [2023-02-16T03:47:10.795Z] 3dba36163caf: Layer already exists [2023-02-16T03:47:10.795Z] 5addcf94065f: Layer already exists [2023-02-16T03:47:10.795Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8: digest: sha256:7759288f51fae6344aaa4895766df98e1a1e08c36c14ab906690017acc4e110a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:11.099Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:11.405Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-02-16T03:47:11.405Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-02-16T03:47:11.405Z] 5addcf94065f: Preparing [2023-02-16T03:47:11.405Z] e30f545606b5: Preparing [2023-02-16T03:47:11.405Z] 3dba36163caf: Preparing [2023-02-16T03:47:11.405Z] 44a21fa38e3a: Preparing [2023-02-16T03:47:11.405Z] aa5968d388b8: Preparing [2023-02-16T03:47:11.405Z] 3dba36163caf: Layer already exists [2023-02-16T03:47:11.405Z] 5addcf94065f: Layer already exists [2023-02-16T03:47:11.405Z] aa5968d388b8: Layer already exists [2023-02-16T03:47:11.405Z] e30f545606b5: Layer already exists [2023-02-16T03:47:11.405Z] 44a21fa38e3a: Layer already exists [2023-02-16T03:47:11.405Z] main: digest: sha256:7759288f51fae6344aaa4895766df98e1a1e08c36c14ab906690017acc4e110a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-16T03:47:11.444Z] ===================================================== [Pipeline] echo [2023-02-16T03:47:11.449Z] taggedImages: [2023-02-16T03:47:11.449Z] - nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:47:11.449Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-02-16T03:47:11.449Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.8 [2023-02-16T03:47:11.449Z] - nexus3.edgexfoundry.org:10004/device-gpio:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:47:11.449Z] - 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-02-16T03:47:11.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T03:47:11.813Z] [2023-02-16T03:47:11.813Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:47:12.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T03:47:12.114Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-16T03:47:12.114Z] 5eb5b503b376: Pulling fs layer [2023-02-16T03:47:12.114Z] 5c69ac0246d0: Pulling fs layer [2023-02-16T03:47:12.114Z] ec43610c2a17: Pulling fs layer [2023-02-16T03:47:12.114Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-16T03:47:12.114Z] 33b1e0a273af: Pulling fs layer [2023-02-16T03:47:12.114Z] 5d3b04190fa2: Pulling fs layer [2023-02-16T03:47:12.114Z] 2f39f015ded8: Pulling fs layer [2023-02-16T03:47:12.114Z] 33b1e0a273af: Waiting [2023-02-16T03:47:12.114Z] 5d3b04190fa2: Waiting [2023-02-16T03:47:12.114Z] 2f39f015ded8: Waiting [2023-02-16T03:47:12.114Z] 3a2ae6a8a46f: Waiting [2023-02-16T03:47:12.114Z] 5c69ac0246d0: Download complete [2023-02-16T03:47:12.114Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-16T03:47:12.114Z] 3a2ae6a8a46f: Download complete [2023-02-16T03:47:12.378Z] 33b1e0a273af: Verifying Checksum [2023-02-16T03:47:12.378Z] 33b1e0a273af: Download complete [2023-02-16T03:47:12.378Z] 5d3b04190fa2: Download complete [2023-02-16T03:47:12.378Z] ec43610c2a17: Download complete [2023-02-16T03:47:12.638Z] 5eb5b503b376: Verifying Checksum [2023-02-16T03:47:12.638Z] 5eb5b503b376: Download complete [2023-02-16T03:47:13.203Z] 2f39f015ded8: Verifying Checksum [2023-02-16T03:47:13.203Z] 2f39f015ded8: Download complete [2023-02-16T03:47:13.462Z] 5eb5b503b376: Pull complete [2023-02-16T03:47:13.720Z] 5c69ac0246d0: Pull complete [2023-02-16T03:47:13.980Z] ec43610c2a17: Pull complete [2023-02-16T03:47:14.238Z] 3a2ae6a8a46f: Pull complete [2023-02-16T03:47:14.238Z] 33b1e0a273af: Pull complete [2023-02-16T03:47:14.501Z] 5d3b04190fa2: Pull complete [2023-02-16T03:47:18.683Z] 2f39f015ded8: Pull complete [2023-02-16T03:47:18.683Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-16T03:47:18.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T03:47:18.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:47:18.770Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:47:18.798Z] $ 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-02-16T03:47:20.275Z] $ docker top be4c27a74611d5131d4daa1982ec6cfc8f30c87b509152ec0e277f573defc590 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:47:20.643Z] ---> job-cost.sh [2023-02-16T03:47:20.643Z] lf-activate-venv: SKIPPING [2023-02-16T03:47:20.643Z] INFO: No Stack... [2023-02-16T03:47:21.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T03:47:21.839Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T03:47:22.126Z] + + cut -d, -f6 [2023-02-16T03:47:22.126Z] cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [Pipeline] lock [2023-02-16T03:47:22.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [2023-02-16T03:47:22.149Z] Resource [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] did not exist. Created. [2023-02-16T03:47:22.150Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T03:47:22.448Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-16T03:47:22.478Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T03:47:22.485Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T03:47:22.502Z] $ docker stop --time=1 be4c27a74611d5131d4daa1982ec6cfc8f30c87b509152ec0e277f573defc590 [2023-02-16T03:47:23.659Z] $ docker rm -f --volumes be4c27a74611d5131d4daa1982ec6cfc8f30c87b509152ec0e277f573defc590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-16T03:49:21.855Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6252 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-02-16T03:49:21.870Z] Running in /w/workspace/device-gpio/60 [Pipeline] { [Pipeline] checkout [2023-02-16T03:49:21.912Z] The recommended git tool is: git [2023-02-16T03:49:27.862Z] using credential edgex-jenkins-ssh [2023-02-16T03:49:27.886Z] Cloning the remote Git repository [2023-02-16T03:49:27.927Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-02-16T03:49:28.001Z] > git init /w/workspace/device-gpio/60 # timeout=10 [2023-02-16T03:49:28.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-02-16T03:49:28.157Z] > git --version # timeout=10 [2023-02-16T03:49:28.176Z] > git --version # 'git version 2.25.1' [2023-02-16T03:49:28.179Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-16T03:49:28.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T03:49:31.789Z] Avoid second fetch [2023-02-16T03:49:31.790Z] Checking out Revision 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 (main) [2023-02-16T03:49:30.832Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-02-16T03:49:30.855Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-16T03:49:31.804Z] > git config core.sparsecheckout # timeout=10 [2023-02-16T03:49:31.824Z] > git checkout -f 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 # timeout=10 [2023-02-16T03:49:32.340Z] Commit message: "Merge pull request #98 from chc69/issue-97" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T03:49:33.256Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-16T03:49:33.257Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T03:49:33.257Z] Dload Upload Total Spent Left Speed [2023-02-16T03:49:33.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh [2023-02-16T03:49:33.920Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-16T03:49:34.254Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-16T03:49:34.255Z] + sudo tee /etc/docker/daemon.new [2023-02-16T03:49:34.255Z] { [2023-02-16T03:49:34.255Z] "registry-mirrors": [ [2023-02-16T03:49:34.255Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-16T03:49:34.255Z] ], [2023-02-16T03:49:34.255Z] "bip": "10.250.0.254/24", [2023-02-16T03:49:34.255Z] "hosts": [ [2023-02-16T03:49:34.255Z] "tcp://0.0.0.0:5555", [2023-02-16T03:49:34.255Z] "unix:///var/run/docker.sock" [2023-02-16T03:49:34.255Z] ], [2023-02-16T03:49:34.255Z] "mtu": 1458, [2023-02-16T03:49:34.255Z] "selinux-enabled": true, [2023-02-16T03:49:34.255Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-16T03:49:34.255Z] } [Pipeline] sh [2023-02-16T03:49:34.584Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-16T03:49:34.929Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T03:49:53.187Z] provisioning config files... [2023-02-16T03:49:53.214Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/60@tmp/config8893308044987508715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:49:53.573Z] ---> docker-login.sh [2023-02-16T03:49:53.573Z] nexus3.edgexfoundry.org:10001 [2023-02-16T03:49:54.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:49:54.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:49:54.162Z] Configure a credential helper to remove this warning. See [2023-02-16T03:49:54.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:49:54.162Z] [2023-02-16T03:49:54.162Z] Login Succeeded [2023-02-16T03:49:54.162Z] nexus3.edgexfoundry.org:10002 [2023-02-16T03:49:54.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:49:54.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:49:54.433Z] Configure a credential helper to remove this warning. See [2023-02-16T03:49:54.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:49:54.433Z] [2023-02-16T03:49:54.433Z] Login Succeeded [2023-02-16T03:49:54.433Z] nexus3.edgexfoundry.org:10003 [2023-02-16T03:49:54.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:49:54.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:49:54.990Z] Configure a credential helper to remove this warning. See [2023-02-16T03:49:54.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:49:54.990Z] [2023-02-16T03:49:54.990Z] Login Succeeded [2023-02-16T03:49:54.990Z] nexus3.edgexfoundry.org:10004 [2023-02-16T03:49:55.263Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:49:55.263Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:49:55.263Z] Configure a credential helper to remove this warning. See [2023-02-16T03:49:55.263Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:49:55.263Z] [2023-02-16T03:49:55.263Z] Login Succeeded [2023-02-16T03:49:55.263Z] docker.io [2023-02-16T03:49:55.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:49:55.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:49:55.806Z] Configure a credential helper to remove this warning. See [2023-02-16T03:49:55.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:49:55.806Z] [2023-02-16T03:49:55.806Z] Login Succeeded [2023-02-16T03:49:55.806Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T03:49:55.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-16T03:49:56.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:49:56.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:49:56.128Z] ========================================================= [2023-02-16T03:49:56.128Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-16T03:49:56.128Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:49:56.477Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-16T03:49:56.746Z] Sending build context to Docker daemon 8.068MB [2023-02-16T03:49:56.747Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T03:49:56.747Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-16T03:49:57.017Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-16T03:49:57.017Z] 9b18e9b68314: Pulling fs layer [2023-02-16T03:49:57.017Z] 35d82f9e3411: Pulling fs layer [2023-02-16T03:49:57.017Z] e16973657156: Pulling fs layer [2023-02-16T03:49:57.017Z] fc693d55d65f: Pulling fs layer [2023-02-16T03:49:57.017Z] 7e9fc2657dce: Pulling fs layer [2023-02-16T03:49:57.017Z] dda99020689f: Pulling fs layer [2023-02-16T03:49:57.017Z] db1c61fa0a46: Pulling fs layer [2023-02-16T03:49:57.017Z] 891c053d2c06: Pulling fs layer [2023-02-16T03:49:57.017Z] fc693d55d65f: Waiting [2023-02-16T03:49:57.017Z] 7e9fc2657dce: Waiting [2023-02-16T03:49:57.017Z] db1c61fa0a46: Waiting [2023-02-16T03:49:57.017Z] 891c053d2c06: Waiting [2023-02-16T03:49:57.017Z] e16973657156: Verifying Checksum [2023-02-16T03:49:57.017Z] e16973657156: Download complete [2023-02-16T03:49:57.017Z] 35d82f9e3411: Verifying Checksum [2023-02-16T03:49:57.017Z] 35d82f9e3411: Download complete [2023-02-16T03:49:57.017Z] 7e9fc2657dce: Verifying Checksum [2023-02-16T03:49:57.017Z] 7e9fc2657dce: Download complete [2023-02-16T03:49:57.017Z] dda99020689f: Verifying Checksum [2023-02-16T03:49:57.017Z] dda99020689f: Download complete [2023-02-16T03:49:57.017Z] 9b18e9b68314: Verifying Checksum [2023-02-16T03:49:57.017Z] 9b18e9b68314: Download complete [2023-02-16T03:49:58.445Z] 9b18e9b68314: Pull complete [2023-02-16T03:49:58.445Z] 891c053d2c06: Verifying Checksum [2023-02-16T03:49:58.445Z] 891c053d2c06: Download complete [2023-02-16T03:49:58.715Z] 35d82f9e3411: Pull complete [2023-02-16T03:49:58.992Z] e16973657156: Pull complete [2023-02-16T03:49:59.584Z] db1c61fa0a46: Verifying Checksum [2023-02-16T03:49:59.584Z] db1c61fa0a46: Download complete [2023-02-16T03:50:00.172Z] fc693d55d65f: Verifying Checksum [2023-02-16T03:50:00.172Z] fc693d55d65f: Download complete [2023-02-16T03:50:12.500Z] fc693d55d65f: Pull complete [2023-02-16T03:50:12.500Z] 7e9fc2657dce: Pull complete [2023-02-16T03:50:12.500Z] dda99020689f: Pull complete [2023-02-16T03:50:17.853Z] db1c61fa0a46: Pull complete [2023-02-16T03:50:22.119Z] 891c053d2c06: Pull complete [2023-02-16T03:50:22.119Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-16T03:50:22.119Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-16T03:50:22.119Z] ---> f96f9c87975a [2023-02-16T03:50:22.119Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-16T03:50:24.070Z] ---> Running in e8ba16bb17e9 [2023-02-16T03:50:24.070Z] Removing intermediate container e8ba16bb17e9 [2023-02-16T03:50:24.070Z] ---> bdb17ab91221 [2023-02-16T03:50:24.070Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T03:50:24.339Z] ---> Running in 3583f51ee65c [2023-02-16T03:50:24.611Z] Removing intermediate container 3583f51ee65c [2023-02-16T03:50:24.611Z] ---> 71e001f127f6 [2023-02-16T03:50:24.611Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T03:50:24.611Z] ---> Running in aa3b9c8bef33 [2023-02-16T03:50:24.879Z] Removing intermediate container aa3b9c8bef33 [2023-02-16T03:50:24.879Z] ---> 785addb78456 [2023-02-16T03:50:24.879Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T03:50:25.158Z] ---> Running in c8195066f24a [2023-02-16T03:50:25.427Z] Removing intermediate container c8195066f24a [2023-02-16T03:50:25.427Z] ---> 04af9b3a6403 [2023-02-16T03:50:25.427Z] Step 7/12 : WORKDIR /device-gpio [2023-02-16T03:50:25.427Z] ---> Running in 2312e546e3bc [2023-02-16T03:50:25.696Z] Removing intermediate container 2312e546e3bc [2023-02-16T03:50:25.696Z] ---> 4cfd8e3e86fa [2023-02-16T03:50:25.696Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T03:50:25.696Z] ---> Running in 908d3ae6cabb [2023-02-16T03:50:27.182Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T03:50:27.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T03:50:28.441Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-16T03:50:28.441Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-16T03:50:28.441Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-16T03:50:28.441Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-16T03:50:28.441Z] Executing busybox-1.35.0-r17.trigger [2023-02-16T03:50:28.441Z] OK: 226 MiB in 55 packages [2023-02-16T03:50:29.406Z] Removing intermediate container 908d3ae6cabb [2023-02-16T03:50:29.406Z] ---> ba0d77b77746 [2023-02-16T03:50:29.406Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-16T03:50:29.996Z] ---> a86a270687a3 [2023-02-16T03:50:29.996Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T03:50:29.996Z] ---> Running in 9057df753d3a [2023-02-16T03:51:26.434Z] Removing intermediate container 9057df753d3a [2023-02-16T03:51:26.434Z] ---> 88ba79ff5c6b [2023-02-16T03:51:26.434Z] Step 11/12 : COPY . . [2023-02-16T03:51:27.019Z] ---> 5cba50dc5066 [2023-02-16T03:51:27.019Z] Step 12/12 : RUN ${MAKE} [2023-02-16T03:51:27.019Z] ---> Running in f977572ac91c [2023-02-16T03:51:27.984Z] noop [2023-02-16T03:51:28.951Z] Removing intermediate container f977572ac91c [2023-02-16T03:51:28.951Z] ---> baed047fcf82 [2023-02-16T03:51:28.951Z] Successfully built baed047fcf82 [2023-02-16T03:51:28.951Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:51:29.307Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T03:51:29.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:51:29.500Z] prd-ubuntu20.04-docker-arm64-4c-16g-6252 does not seem to be running inside a container [2023-02-16T03:51:29.566Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/60 -v /w/workspace/device-gpio/60:/w/workspace/device-gpio/60:rw,z -v /w/workspace/device-gpio/60@tmp:/w/workspace/device-gpio/60@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-02-16T03:51:30.768Z] $ docker top b95bed9ceebc6aa085ecc37416c52a700a5547208c77aa8c6c76f2fa6d742794 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T03:51:31.580Z] + go version [2023-02-16T03:51:31.580Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-16T03:51:31.598Z] $ docker stop --time=1 b95bed9ceebc6aa085ecc37416c52a700a5547208c77aa8c6c76f2fa6d742794 [2023-02-16T03:51:33.226Z] $ docker rm -f --volumes b95bed9ceebc6aa085ecc37416c52a700a5547208c77aa8c6c76f2fa6d742794 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:51:33.756Z] + docker inspect -f . ci-base-image-arm64 [2023-02-16T03:51:33.756Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:51:33.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-6252 does not seem to be running inside a container [2023-02-16T03:51:34.007Z] $ 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/60 -v /w/workspace/device-gpio/60:/w/workspace/device-gpio/60:rw,z -v /w/workspace/device-gpio/60@tmp:/w/workspace/device-gpio/60@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-02-16T03:51:35.192Z] $ docker top 9504de0f51fa60e719bde8322c3be38fb0bf7850f3b167e5c8d00c8305ef31ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T03:51:35.715Z] + git config --global --add safe.directory /w/workspace/device-gpio/60 [Pipeline] fileExists [Pipeline] sh [2023-02-16T03:51:36.377Z] + make test [2023-02-16T03:51:36.377Z] go test ./... -coverprofile=coverage.out ./... [2023-02-16T03:51:37.809Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-02-16T03:52:59.475Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-02-16T03:52:59.475Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-02-16T03:52:59.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-16T03:52:59.475Z] go vet ./... [2023-02-16T03:53:14.478Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-16T03:53:14.478Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-16T03:53:14.478Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-16T03:53:14.497Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-16T03:53:14.510Z] $ docker stop --time=1 9504de0f51fa60e719bde8322c3be38fb0bf7850f3b167e5c8d00c8305ef31ce [2023-02-16T03:53:16.309Z] $ docker rm -f --volumes 9504de0f51fa60e719bde8322c3be38fb0bf7850f3b167e5c8d00c8305ef31ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T03:53:17.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-16T03:53:17.195Z] Warning: overwriting stash ‘coverage-report’ [2023-02-16T03:53:17.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-16T03:53:17.969Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-16T03:53:18.291Z] + ls -al . [2023-02-16T03:53:18.291Z] total 164 [2023-02-16T03:53:18.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 03:51 . [2023-02-16T03:53:18.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 03:49 .. [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 120 Feb 16 03:49 .dockerignore [2023-02-16T03:53:18.291Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 16 03:49 .git [2023-02-16T03:53:18.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:49 .github [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 343 Feb 16 03:49 .gitignore [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 16 03:49 .golangci.yml [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 9587 Feb 16 03:49 Attribution.txt [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 4069 Feb 16 03:49 CHANGELOG.md [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 1542 Feb 16 03:49 Dockerfile [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 16 03:49 GOVERNANCE.md [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 657 Feb 16 03:49 Jenkinsfile [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 16 03:49 LICENSE [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 1657 Feb 16 03:49 Makefile [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 617 Feb 16 03:49 OWNERS.md [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 11842 Feb 16 03:49 README.md [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 16 03:45 VERSION [2023-02-16T03:53:18.291Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 16 03:49 bin [2023-02-16T03:53:18.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:49 cmd [2023-02-16T03:53:18.291Z] -rw-r--r-- 1 jenkins jenkins 10 Feb 16 03:51 coverage.out [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 16 03:49 go.mod [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 44944 Feb 16 03:49 go.sum [2023-02-16T03:53:18.291Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 16 03:49 internal [2023-02-16T03:53:18.291Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 16 03:49 snap [2023-02-16T03:53:18.291Z] -rw-rw-r-- 1 jenkins jenkins 209 Feb 16 03:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:53:18.628Z] + 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=192d2e5d52be7054ee8f5929c78a4d9d1a66e905 --label arch=arm64 --label version=3.0.0-dev.8 . [2023-02-16T03:53:18.894Z] Sending build context to Docker daemon 8.069MB [2023-02-16T03:53:18.894Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-16T03:53:18.894Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-16T03:53:18.894Z] ---> baed047fcf82 [2023-02-16T03:53:18.894Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-16T03:53:19.161Z] ---> Running in 0273827f37b6 [2023-02-16T03:53:19.427Z] Removing intermediate container 0273827f37b6 [2023-02-16T03:53:19.427Z] ---> 0268af515454 [2023-02-16T03:53:19.427Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-16T03:53:19.427Z] ---> Running in 0eaeb386c430 [2023-02-16T03:53:19.696Z] Removing intermediate container 0eaeb386c430 [2023-02-16T03:53:19.696Z] ---> 9539ffcb0808 [2023-02-16T03:53:19.696Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-02-16T03:53:19.696Z] ---> Running in 625eeeee5f01 [2023-02-16T03:53:19.963Z] Removing intermediate container 625eeeee5f01 [2023-02-16T03:53:19.963Z] ---> 126e2e6ebe30 [2023-02-16T03:53:19.963Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-16T03:53:20.235Z] ---> Running in d7fa89080b74 [2023-02-16T03:53:20.502Z] Removing intermediate container d7fa89080b74 [2023-02-16T03:53:20.502Z] ---> db9aa5088b53 [2023-02-16T03:53:20.502Z] Step 7/25 : WORKDIR /device-gpio [2023-02-16T03:53:20.502Z] ---> Running in 1409b7bd705c [2023-02-16T03:53:20.768Z] Removing intermediate container 1409b7bd705c [2023-02-16T03:53:20.768Z] ---> 1245b3041052 [2023-02-16T03:53:20.768Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-16T03:53:20.768Z] ---> Running in f01a54b55e06 [2023-02-16T03:53:21.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T03:53:21.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T03:53:22.958Z] OK: 226 MiB in 55 packages [2023-02-16T03:53:23.918Z] Removing intermediate container f01a54b55e06 [2023-02-16T03:53:23.918Z] ---> 044f795e4f87 [2023-02-16T03:53:23.918Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-16T03:53:24.190Z] ---> b87ac97bf2ae [2023-02-16T03:53:24.190Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-16T03:53:24.457Z] ---> Running in 2e898099c746 [2023-02-16T03:53:26.402Z] Removing intermediate container 2e898099c746 [2023-02-16T03:53:26.402Z] ---> 79ac820e678d [2023-02-16T03:53:26.402Z] Step 11/25 : COPY . . [2023-02-16T03:53:26.985Z] ---> 49cae62ae485 [2023-02-16T03:53:26.985Z] Step 12/25 : RUN ${MAKE} [2023-02-16T03:53:27.263Z] ---> Running in 50e848f2c270 [2023-02-16T03:53:28.223Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-02-16T03:55:34.940Z] Removing intermediate container 50e848f2c270 [2023-02-16T03:55:34.940Z] ---> c9b46dff60c5 [2023-02-16T03:55:34.940Z] Step 13/25 : FROM alpine:3.16 [2023-02-16T03:55:34.940Z] 3.16: Pulling from library/alpine [2023-02-16T03:55:34.940Z] 3760b48202b3: Pulling fs layer [2023-02-16T03:55:34.940Z] 3760b48202b3: Download complete [2023-02-16T03:55:34.940Z] 3760b48202b3: Pull complete [2023-02-16T03:55:34.940Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-16T03:55:34.940Z] Status: Downloaded newer image for alpine:3.16 [2023-02-16T03:55:34.940Z] ---> 4c81e5bf8899 [2023-02-16T03:55:34.940Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-02-16T03:55:34.940Z] ---> Running in 6593b8cda74f [2023-02-16T03:55:34.940Z] Removing intermediate container 6593b8cda74f [2023-02-16T03:55:34.940Z] ---> c7cf57367740 [2023-02-16T03:55:34.940Z] Step 15/25 : RUN apk add --update --no-cache [2023-02-16T03:55:34.940Z] ---> Running in 2721bcef2621 [2023-02-16T03:55:35.526Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-16T03:55:35.794Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-16T03:55:36.754Z] OK: 5 MiB in 14 packages [2023-02-16T03:55:37.733Z] Removing intermediate container 2721bcef2621 [2023-02-16T03:55:37.733Z] ---> 5e5d302907c5 [2023-02-16T03:55:37.733Z] Step 16/25 : WORKDIR / [2023-02-16T03:55:37.733Z] ---> Running in c97b6b2875bb [2023-02-16T03:55:38.000Z] Removing intermediate container c97b6b2875bb [2023-02-16T03:55:38.000Z] ---> b64564cd9481 [2023-02-16T03:55:38.000Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-02-16T03:55:38.587Z] ---> 18eed6be2834 [2023-02-16T03:55:38.587Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-02-16T03:55:38.854Z] ---> dbd1857e6f01 [2023-02-16T03:55:38.854Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-02-16T03:55:40.264Z] ---> ec614996d196 [2023-02-16T03:55:40.264Z] Step 20/25 : EXPOSE 59910 [2023-02-16T03:55:40.264Z] ---> Running in 7dd11be1ea43 [2023-02-16T03:55:40.532Z] Removing intermediate container 7dd11be1ea43 [2023-02-16T03:55:40.532Z] ---> 58a58e042c43 [2023-02-16T03:55:40.532Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-02-16T03:55:40.532Z] ---> Running in f9c1f0558bc6 [2023-02-16T03:55:41.116Z] Removing intermediate container f9c1f0558bc6 [2023-02-16T03:55:41.116Z] ---> ce276eed3d2f [2023-02-16T03:55:41.116Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-16T03:55:41.116Z] ---> Running in 3c8a0512d954 [2023-02-16T03:55:41.384Z] Removing intermediate container 3c8a0512d954 [2023-02-16T03:55:41.384Z] ---> 7bd033c33fb9 [2023-02-16T03:55:41.384Z] Step 23/25 : LABEL arch=arm64 [2023-02-16T03:55:41.384Z] ---> Running in 43718ed68073 [2023-02-16T03:55:43.324Z] Removing intermediate container 43718ed68073 [2023-02-16T03:55:43.324Z] ---> 2821e71351f1 [2023-02-16T03:55:43.324Z] Step 24/25 : LABEL git_sha=192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:55:43.324Z] ---> Running in fe40db664eb1 [2023-02-16T03:55:43.324Z] Removing intermediate container fe40db664eb1 [2023-02-16T03:55:43.324Z] ---> 31819981dc03 [2023-02-16T03:55:43.324Z] Step 25/25 : LABEL version=3.0.0-dev.8 [2023-02-16T03:55:43.590Z] ---> Running in df1654a7429c [2023-02-16T03:55:43.857Z] Removing intermediate container df1654a7429c [2023-02-16T03:55:43.857Z] ---> ac575d140c7a [2023-02-16T03:55:43.857Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-16T03:55:43.857Z] Successfully built ac575d140c7a [2023-02-16T03:55:43.857Z] 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-02-16T03:55:43.981Z] provisioning config files... [2023-02-16T03:55:43.995Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/60@tmp/config14188233185534425174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:55:44.325Z] ---> docker-login.sh [2023-02-16T03:55:44.325Z] nexus3.edgexfoundry.org:10001 [2023-02-16T03:55:44.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:55:44.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:55:44.592Z] Configure a credential helper to remove this warning. See [2023-02-16T03:55:44.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:55:44.592Z] [2023-02-16T03:55:44.592Z] Login Succeeded [2023-02-16T03:55:44.592Z] nexus3.edgexfoundry.org:10002 [2023-02-16T03:55:44.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:55:44.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:55:44.859Z] Configure a credential helper to remove this warning. See [2023-02-16T03:55:44.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:55:44.859Z] [2023-02-16T03:55:44.859Z] Login Succeeded [2023-02-16T03:55:45.126Z] nexus3.edgexfoundry.org:10003 [2023-02-16T03:55:45.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:55:45.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:55:45.395Z] Configure a credential helper to remove this warning. See [2023-02-16T03:55:45.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:55:45.395Z] [2023-02-16T03:55:45.395Z] Login Succeeded [2023-02-16T03:55:45.395Z] nexus3.edgexfoundry.org:10004 [2023-02-16T03:55:45.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:55:45.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:55:45.664Z] Configure a credential helper to remove this warning. See [2023-02-16T03:55:45.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:55:45.664Z] [2023-02-16T03:55:45.664Z] Login Succeeded [2023-02-16T03:55:45.664Z] docker.io [2023-02-16T03:55:45.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-16T03:55:46.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-16T03:55:46.199Z] Configure a credential helper to remove this warning. See [2023-02-16T03:55:46.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-16T03:55:46.199Z] [2023-02-16T03:55:46.199Z] Login Succeeded [2023-02-16T03:55:46.199Z] ---> docker-login.sh ends [Pipeline] } [2023-02-16T03:55:46.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-16T03:55:46.237Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-16T03:55:46.252Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-02-16T03:55:46.252Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:55:46.252Z] latest [2023-02-16T03:55:46.252Z] 3.0.0-dev.8 [2023-02-16T03:55:46.252Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:55:46.252Z] main [2023-02-16T03:55:46.252Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:46.589Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:46.940Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:55:46.940Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-02-16T03:55:46.940Z] 5592fa8d1668: Preparing [2023-02-16T03:55:46.940Z] 98087c868985: Preparing [2023-02-16T03:55:46.940Z] 70ffbe0f5615: Preparing [2023-02-16T03:55:46.940Z] 6a3343978a3b: Preparing [2023-02-16T03:55:46.940Z] f70ee36035b9: Preparing [2023-02-16T03:55:46.940Z] f70ee36035b9: Layer already exists [2023-02-16T03:55:47.207Z] 70ffbe0f5615: Pushed [2023-02-16T03:55:47.207Z] 98087c868985: Pushed [2023-02-16T03:55:47.207Z] 6a3343978a3b: Pushed [2023-02-16T03:55:52.553Z] 5592fa8d1668: Pushed [2023-02-16T03:55:52.553Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905: digest: sha256:435bc4c8a3aa1f6b3fa609a7318c11d39a110aeba7166b00b849c97edc88f3d1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:52.895Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:53.228Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-02-16T03:55:53.228Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-02-16T03:55:53.228Z] 5592fa8d1668: Preparing [2023-02-16T03:55:53.228Z] 98087c868985: Preparing [2023-02-16T03:55:53.228Z] 70ffbe0f5615: Preparing [2023-02-16T03:55:53.228Z] 6a3343978a3b: Preparing [2023-02-16T03:55:53.228Z] f70ee36035b9: Preparing [2023-02-16T03:55:53.228Z] f70ee36035b9: Layer already exists [2023-02-16T03:55:53.228Z] 98087c868985: Layer already exists [2023-02-16T03:55:53.228Z] 70ffbe0f5615: Layer already exists [2023-02-16T03:55:53.228Z] 6a3343978a3b: Layer already exists [2023-02-16T03:55:53.228Z] 5592fa8d1668: Layer already exists [2023-02-16T03:55:53.228Z] latest: digest: sha256:435bc4c8a3aa1f6b3fa609a7318c11d39a110aeba7166b00b849c97edc88f3d1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:53.840Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:54.184Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.8 [2023-02-16T03:55:54.184Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-02-16T03:55:54.184Z] 5592fa8d1668: Preparing [2023-02-16T03:55:54.184Z] 98087c868985: Preparing [2023-02-16T03:55:54.184Z] 70ffbe0f5615: Preparing [2023-02-16T03:55:54.184Z] 6a3343978a3b: Preparing [2023-02-16T03:55:54.184Z] f70ee36035b9: Preparing [2023-02-16T03:55:54.184Z] 98087c868985: Layer already exists [2023-02-16T03:55:54.184Z] 6a3343978a3b: Layer already exists [2023-02-16T03:55:54.184Z] 70ffbe0f5615: Layer already exists [2023-02-16T03:55:54.184Z] f70ee36035b9: Layer already exists [2023-02-16T03:55:54.184Z] 5592fa8d1668: Layer already exists [2023-02-16T03:55:54.184Z] 3.0.0-dev.8: digest: sha256:435bc4c8a3aa1f6b3fa609a7318c11d39a110aeba7166b00b849c97edc88f3d1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:54.529Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:54.874Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:55:54.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-02-16T03:55:54.875Z] 5592fa8d1668: Preparing [2023-02-16T03:55:54.875Z] 98087c868985: Preparing [2023-02-16T03:55:54.875Z] 70ffbe0f5615: Preparing [2023-02-16T03:55:54.875Z] 6a3343978a3b: Preparing [2023-02-16T03:55:54.875Z] f70ee36035b9: Preparing [2023-02-16T03:55:54.875Z] 98087c868985: Layer already exists [2023-02-16T03:55:54.875Z] 5592fa8d1668: Layer already exists [2023-02-16T03:55:54.875Z] f70ee36035b9: Layer already exists [2023-02-16T03:55:54.875Z] 70ffbe0f5615: Layer already exists [2023-02-16T03:55:54.875Z] 6a3343978a3b: Layer already exists [2023-02-16T03:55:54.875Z] 192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8: digest: sha256:435bc4c8a3aa1f6b3fa609a7318c11d39a110aeba7166b00b849c97edc88f3d1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:55.225Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:55.638Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-02-16T03:55:55.638Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-02-16T03:55:55.638Z] 5592fa8d1668: Preparing [2023-02-16T03:55:55.638Z] 98087c868985: Preparing [2023-02-16T03:55:55.638Z] 70ffbe0f5615: Preparing [2023-02-16T03:55:55.638Z] 6a3343978a3b: Preparing [2023-02-16T03:55:55.638Z] f70ee36035b9: Preparing [2023-02-16T03:55:55.638Z] f70ee36035b9: Layer already exists [2023-02-16T03:55:55.638Z] 70ffbe0f5615: Layer already exists [2023-02-16T03:55:55.638Z] 98087c868985: Layer already exists [2023-02-16T03:55:55.638Z] 6a3343978a3b: Layer already exists [2023-02-16T03:55:55.638Z] 5592fa8d1668: Layer already exists [2023-02-16T03:55:55.910Z] main: digest: sha256:435bc4c8a3aa1f6b3fa609a7318c11d39a110aeba7166b00b849c97edc88f3d1 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-16T03:55:55.969Z] ===================================================== [Pipeline] echo [2023-02-16T03:55:55.977Z] taggedImages: [2023-02-16T03:55:55.977Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [2023-02-16T03:55:55.977Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-02-16T03:55:55.977Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.8 [2023-02-16T03:55:55.977Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:192d2e5d52be7054ee8f5929c78a4d9d1a66e905-3.0.0-dev.8 [2023-02-16T03:55:55.977Z] - 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-02-16T03:55:56.343Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T03:55:56.343Z] [2023-02-16T03:55:56.343Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:55:56.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T03:55:56.689Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-16T03:55:56.689Z] 8998bd30e6a1: Pulling fs layer [2023-02-16T03:55:56.689Z] 04944245beec: Pulling fs layer [2023-02-16T03:55:56.689Z] 699f458cf7ca: Pulling fs layer [2023-02-16T03:55:56.689Z] 765212b225bb: Pulling fs layer [2023-02-16T03:55:56.689Z] f23df028b6ca: Pulling fs layer [2023-02-16T03:55:56.689Z] d65c8cfc05b1: Pulling fs layer [2023-02-16T03:55:56.689Z] 2437ff75d9bd: Pulling fs layer [2023-02-16T03:55:56.689Z] 765212b225bb: Waiting [2023-02-16T03:55:56.689Z] f23df028b6ca: Waiting [2023-02-16T03:55:56.689Z] d65c8cfc05b1: Waiting [2023-02-16T03:55:56.689Z] 2437ff75d9bd: Waiting [2023-02-16T03:55:56.963Z] 04944245beec: Verifying Checksum [2023-02-16T03:55:56.963Z] 04944245beec: Download complete [2023-02-16T03:55:56.963Z] 765212b225bb: Verifying Checksum [2023-02-16T03:55:56.963Z] 765212b225bb: Download complete [2023-02-16T03:55:56.963Z] f23df028b6ca: Verifying Checksum [2023-02-16T03:55:56.963Z] f23df028b6ca: Download complete [2023-02-16T03:55:56.963Z] d65c8cfc05b1: Verifying Checksum [2023-02-16T03:55:56.963Z] d65c8cfc05b1: Download complete [2023-02-16T03:55:57.240Z] 699f458cf7ca: Verifying Checksum [2023-02-16T03:55:57.240Z] 699f458cf7ca: Download complete [2023-02-16T03:55:57.521Z] 8998bd30e6a1: Verifying Checksum [2023-02-16T03:55:57.521Z] 8998bd30e6a1: Download complete [2023-02-16T03:56:00.133Z] 2437ff75d9bd: Verifying Checksum [2023-02-16T03:56:00.133Z] 2437ff75d9bd: Download complete [2023-02-16T03:56:01.543Z] 8998bd30e6a1: Pull complete [2023-02-16T03:56:02.128Z] 04944245beec: Pull complete [2023-02-16T03:56:03.536Z] 699f458cf7ca: Pull complete [2023-02-16T03:56:03.536Z] 765212b225bb: Pull complete [2023-02-16T03:56:04.495Z] f23df028b6ca: Pull complete [2023-02-16T03:56:04.495Z] d65c8cfc05b1: Pull complete [2023-02-16T03:56:19.490Z] 2437ff75d9bd: Pull complete [2023-02-16T03:56:19.490Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-16T03:56:19.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-16T03:56:19.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:56:19.683Z] prd-ubuntu20.04-docker-arm64-4c-16g-6252 does not seem to be running inside a container [2023-02-16T03:56:19.743Z] $ 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/60 -v /w/workspace/device-gpio/60:/w/workspace/device-gpio/60:rw,z -v /w/workspace/device-gpio/60@tmp:/w/workspace/device-gpio/60@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-02-16T03:56:22.411Z] $ docker top 860c68ad6d76fd946936f70027702dd2718ab67717dd5e73de892a749f8c34a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:56:23.231Z] ---> job-cost.sh [2023-02-16T03:56:23.231Z] lf-activate-venv: SKIPPING [2023-02-16T03:56:23.231Z] INFO: No Stack... [2023-02-16T03:56:23.496Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-16T03:56:24.452Z] INFO: Archiving Costs [Pipeline] sh [2023-02-16T03:56:24.776Z] + + cutcat -d, /w/workspace/device-gpio/60/archives/cost.csv -f6 [2023-02-16T03:56:24.776Z] [Pipeline] lock [2023-02-16T03:56:25.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [2023-02-16T03:56:25.115Z] Resource [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] did not exist. Created. [2023-02-16T03:56:25.115Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-16T03:56:25.459Z] /w/workspace/device-gpio/60@tmp/durable-2c089669/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-16T03:56:25.798Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-16T03:56:26.094Z] Warning: overwriting stash ‘stack-cost’ [2023-02-16T03:56:26.145Z] Stashed 1 file(s) [Pipeline] } [2023-02-16T03:56:26.154Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-60-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-16T03:56:26.170Z] $ docker stop --time=1 860c68ad6d76fd946936f70027702dd2718ab67717dd5e73de892a749f8c34a4 [2023-02-16T03:56:27.664Z] $ docker rm -f --volumes 860c68ad6d76fd946936f70027702dd2718ab67717dd5e73de892a749f8c34a4 [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-02-16T03:56:28.081Z] provisioning config files... [2023-02-16T03:56:28.088Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config690852400811117083tmp [Pipeline] { [Pipeline] sh [2023-02-16T03:56:28.379Z] + set +x [2023-02-16T03:56:28.379Z] + curl+ -s https://codecov.io/bash [2023-02-16T03:56:28.379Z] bash -s -- [2023-02-16T03:56:28.379Z] [2023-02-16T03:56:28.379Z] _____ _ [2023-02-16T03:56:28.379Z] / ____| | | [2023-02-16T03:56:28.379Z] | | ___ __| | ___ ___ _____ __ [2023-02-16T03:56:28.379Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-16T03:56:28.379Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-16T03:56:28.379Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-16T03:56:28.379Z] Bash-1.0.6 [2023-02-16T03:56:28.379Z] [2023-02-16T03:56:28.379Z] [2023-02-16T03:56:28.379Z] ==> git version 2.25.1 found [2023-02-16T03:56:28.379Z] ==> 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-02-16T03:56:28.379Z] Release-Date: 2020-01-08 [2023-02-16T03:56:28.379Z] 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-02-16T03:56:28.379Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-16T03:56:28.379Z] ==> Jenkins CI detected. [2023-02-16T03:56:28.379Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-02-16T03:56:28.379Z] project root: . [2023-02-16T03:56:28.379Z] --> token set from env [2023-02-16T03:56:28.379Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-16T03:56:28.379Z] ==> Running gcov in . (disable via -X gcov) [2023-02-16T03:56:28.379Z] ==> Python coveragepy not found [2023-02-16T03:56:28.379Z] ==> Searching for coverage reports in: [2023-02-16T03:56:28.379Z] + . [2023-02-16T03:56:28.379Z] -> Found 1 reports [2023-02-16T03:56:28.379Z] ==> Detecting git/mercurial file structure [2023-02-16T03:56:28.379Z] ==> Reading reports [2023-02-16T03:56:28.379Z] + ./coverage.out bytes=10 [2023-02-16T03:56:28.379Z] ==> Appending adjustments [2023-02-16T03:56:28.379Z] https://docs.codecov.io/docs/fixing-reports [2023-02-16T03:56:28.639Z] + Found adjustments [2023-02-16T03:56:28.639Z] ==> Gzipping contents [2023-02-16T03:56:28.639Z] 4.0K /tmp/codecov.FxDfPf.gz [2023-02-16T03:56:28.639Z] ==> Uploading reports [2023-02-16T03:56:28.639Z] url: https://codecov.io [2023-02-16T03:56:28.639Z] query: branch=main&commit=192d2e5d52be7054ee8f5929c78a4d9d1a66e905&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-16T03:56:28.639Z] -> Pinging Codecov [2023-02-16T03:56:28.639Z] 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=192d2e5d52be7054ee8f5929c78a4d9d1a66e905&build=60&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F60%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-16T03:56:28.639Z] -> Uploading to [2023-02-16T03:56:28.639Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-16/3EC07B1A8CA8AF9BCAA0BB9F0134797F/192d2e5d52be7054ee8f5929c78a4d9d1a66e905/ef495cee-619c-4cf3-bbc7-1d71232ff420.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230216%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230216T035628Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af822048c18ce0a489ff989151f4f8393f735d27b8a5105396d2c4e4e5618edb [2023-02-16T03:56:28.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-16T03:56:28.639Z] Dload Upload Total Spent Left Speed [2023-02-16T03:56:29.208Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 742 0 0 100 742 0 2424 --:--:-- --:--:-- --:--:-- 2424 [2023-02-16T03:56:29.208Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] } [2023-02-16T03:56:29.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-16T03:56:29.449Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-16T03:56:29.458Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:56:29.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-16T03:56:29.748Z] [2023-02-16T03:56:29.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:56:30.050Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-16T03:56:30.050Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-16T03:56:30.050Z] df9b9388f04a: Pulling fs layer [2023-02-16T03:56:30.050Z] 52dc419b0ee2: Pulling fs layer [2023-02-16T03:56:30.050Z] 25bc292e5bac: Pulling fs layer [2023-02-16T03:56:30.050Z] 114826534d7a: Pulling fs layer [2023-02-16T03:56:30.050Z] 4657fd5d0bcf: Pulling fs layer [2023-02-16T03:56:30.050Z] 6ad1cebc031e: Pulling fs layer [2023-02-16T03:56:30.050Z] 8a3aa393b2d8: Pulling fs layer [2023-02-16T03:56:30.050Z] 114826534d7a: Waiting [2023-02-16T03:56:30.050Z] 6ad1cebc031e: Waiting [2023-02-16T03:56:30.050Z] 4657fd5d0bcf: Waiting [2023-02-16T03:56:30.050Z] 25bc292e5bac: Verifying Checksum [2023-02-16T03:56:30.050Z] 25bc292e5bac: Download complete [2023-02-16T03:56:30.050Z] 52dc419b0ee2: Verifying Checksum [2023-02-16T03:56:30.050Z] 52dc419b0ee2: Download complete [2023-02-16T03:56:30.050Z] 4657fd5d0bcf: Download complete [2023-02-16T03:56:30.050Z] df9b9388f04a: Download complete [2023-02-16T03:56:30.318Z] df9b9388f04a: Pull complete [2023-02-16T03:56:30.318Z] 52dc419b0ee2: Pull complete [2023-02-16T03:56:30.579Z] 25bc292e5bac: Pull complete [2023-02-16T03:56:30.579Z] 6ad1cebc031e: Verifying Checksum [2023-02-16T03:56:30.579Z] 6ad1cebc031e: Download complete [2023-02-16T03:56:31.148Z] 114826534d7a: Verifying Checksum [2023-02-16T03:56:31.148Z] 114826534d7a: Download complete [2023-02-16T03:56:31.406Z] 8a3aa393b2d8: Verifying Checksum [2023-02-16T03:56:31.406Z] 8a3aa393b2d8: Download complete [2023-02-16T03:56:34.688Z] 114826534d7a: Pull complete [2023-02-16T03:56:34.688Z] 4657fd5d0bcf: Pull complete [2023-02-16T03:56:34.947Z] 6ad1cebc031e: Pull complete [2023-02-16T03:56:37.477Z] 8a3aa393b2d8: Pull complete [2023-02-16T03:56:37.477Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-16T03:56:37.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-16T03:56:37.477Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:56:37.561Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:56:37.588Z] $ 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-02-16T03:56:39.311Z] $ docker top a3ba61cf889b65a555cfa368abb367d2ee269828057062a951fcbc1215bb1000 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-16T03:56:39.392Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-02-16T03:56:39.669Z] + set -o pipefail [2023-02-16T03:56:39.669Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/83580224-946d-4dac-834b-7a33146f0718 [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] [2023-02-16T03:56:47.791Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-16T03:56:47.791Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-16T03:56:47.791Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-16T03:56:47.796Z] $ docker stop --time=1 a3ba61cf889b65a555cfa368abb367d2ee269828057062a951fcbc1215bb1000 [2023-02-16T03:56:49.995Z] $ docker rm -f --volumes a3ba61cf889b65a555cfa368abb367d2ee269828057062a951fcbc1215bb1000 [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-02-16T03:56:50.756Z] + git log --format=format:%s -1 192d2e5d52be7054ee8f5929c78a4d9d1a66e905 [Pipeline] sh [2023-02-16T03:56:51.053Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T03:56:51.053Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:56:51.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:56:51.359Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:56:51.432Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:56:51.458Z] $ 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-02-16T03:56:51.837Z] $ docker top db7aee3944ce36002ba1984a2a53b0e430bec537e470e843ac9074c63835e912 -eo pid,comm [2023-02-16T03:56:51.887Z] 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-02-16T03:56:51.887Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T03:56:51.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T03:56:51.926Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T03:56:52.050Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T03:56:52.047Z] $ docker exec db7aee3944ce36002ba1984a2a53b0e430bec537e470e843ac9074c63835e912 ssh-agent [2023-02-16T03:56:52.155Z] SSH_AUTH_SOCK=/tmp/ssh-vgMShvyIroQi/agent.32 [2023-02-16T03:56:52.155Z] SSH_AGENT_PID=38 [2023-02-16T03:56:52.160Z] Running ssh-add (command line suppressed) [2023-02-16T03:56:52.249Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1079963927070443361.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1079963927070443361.key) [2023-02-16T03:56:52.265Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T03:56:52.554Z] + git semver tag [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,753 [run_tag] DEBUG tag force:False [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,753 [check_head_tag] DEBUG check head tag [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,754 [execute] INFO git cat-file --batch-check [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,754 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,758 [execute] INFO git cat-file --batch [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,770 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:56:52.814Z] 2023-02-16 03:56:52,771 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 [2023-02-16T03:56:52.815Z] 2023-02-16 03:56:52,771 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-02-16T03:56:52.815Z] 2023-02-16 03:56:52,775 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:56:52.815Z] 3.0.0-dev.8 [Pipeline] } [2023-02-16T03:56:52.820Z] $ docker exec --env ******** --env ******** db7aee3944ce36002ba1984a2a53b0e430bec537e470e843ac9074c63835e912 ssh-agent -k [2023-02-16T03:56:52.923Z] unset SSH_AUTH_SOCK; [2023-02-16T03:56:52.923Z] unset SSH_AGENT_PID; [2023-02-16T03:56:52.923Z] echo Agent pid 38 killed; [2023-02-16T03:56:52.937Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T03:56:53.245Z] + git semver [Pipeline] } [2023-02-16T03:56:53.513Z] $ docker stop --time=1 db7aee3944ce36002ba1984a2a53b0e430bec537e470e843ac9074c63835e912 [2023-02-16T03:56:54.806Z] $ docker rm -f --volumes db7aee3944ce36002ba1984a2a53b0e430bec537e470e843ac9074c63835e912 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:56:55.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-16T03:56:55.187Z] [2023-02-16T03:56:55.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:56:55.487Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-16T03:56:55.487Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-16T03:56:55.487Z] ab5ef0e58194: Pulling fs layer [2023-02-16T03:56:55.487Z] 9712f1f96733: Pulling fs layer [2023-02-16T03:56:55.487Z] 63f879dbbcfc: Pulling fs layer [2023-02-16T03:56:55.487Z] 0d9ebad4ef96: Pulling fs layer [2023-02-16T03:56:55.487Z] e9a5061849ea: Pulling fs layer [2023-02-16T03:56:55.487Z] d747dcd14b5f: Pulling fs layer [2023-02-16T03:56:55.487Z] 2de7ff778b66: Pulling fs layer [2023-02-16T03:56:55.487Z] 0d9ebad4ef96: Waiting [2023-02-16T03:56:55.487Z] e9a5061849ea: Waiting [2023-02-16T03:56:55.487Z] d747dcd14b5f: Waiting [2023-02-16T03:56:55.487Z] 2de7ff778b66: Waiting [2023-02-16T03:56:55.487Z] 9712f1f96733: Download complete [2023-02-16T03:56:56.433Z] 63f879dbbcfc: Verifying Checksum [2023-02-16T03:56:56.433Z] 63f879dbbcfc: Download complete [2023-02-16T03:56:56.433Z] 0d9ebad4ef96: Verifying Checksum [2023-02-16T03:56:56.433Z] 0d9ebad4ef96: Download complete [2023-02-16T03:56:56.694Z] d747dcd14b5f: Download complete [2023-02-16T03:56:56.694Z] e9a5061849ea: Verifying Checksum [2023-02-16T03:56:56.694Z] ab5ef0e58194: Verifying Checksum [2023-02-16T03:56:56.694Z] ab5ef0e58194: Download complete [2023-02-16T03:56:56.694Z] 2de7ff778b66: Verifying Checksum [2023-02-16T03:56:56.694Z] 2de7ff778b66: Download complete [2023-02-16T03:56:59.222Z] ab5ef0e58194: Pull complete [2023-02-16T03:56:59.222Z] 9712f1f96733: Pull complete [2023-02-16T03:56:59.789Z] 63f879dbbcfc: Pull complete [2023-02-16T03:57:03.072Z] 0d9ebad4ef96: Pull complete [2023-02-16T03:57:03.072Z] e9a5061849ea: Pull complete [2023-02-16T03:57:03.072Z] d747dcd14b5f: Pull complete [2023-02-16T03:57:04.007Z] 2de7ff778b66: Pull complete [2023-02-16T03:57:04.007Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-16T03:57:04.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-16T03:57:04.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:57:04.082Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:57:04.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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-16T03:57:06.153Z] $ docker top 59b6593b600d8ad1de06de50cb7c44f13df2b9fd584b4b01990b100bcd15faf3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-16T03:57:06.226Z] provisioning config files... [2023-02-16T03:57:06.232Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14370456232201059662tmp [2023-02-16T03:57:06.240Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7463045125933907824tmp [2023-02-16T03:57:06.248Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config272716893608178668tmp [Pipeline] { [Pipeline] echo [2023-02-16T03:57:06.262Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:06.546Z] ---> sigul-configuration.sh [2023-02-16T03:57:06.546Z] gpg: directory `/root/.gnupg' created [2023-02-16T03:57:06.546Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-16T03:57:06.546Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-16T03:57:06.546Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-16T03:57:06.546Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-16T03:57:06.546Z] gpg: CAST5 encrypted data [2023-02-16T03:57:06.546Z] gpg: encrypted with 1 passphrase [2023-02-16T03:57:06.546Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-16T03:57:06.832Z] + mkdir /home/jenkins [2023-02-16T03:57:06.832Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-16T03:57:07.117Z] + 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-02-16T03:57:07.126Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:07.411Z] ---> sigul-install.sh [2023-02-16T03:57:07.411Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-16T03:57:07.698Z] + git tag --list [2023-02-16T03:57:07.698Z] v1.0.0 [2023-02-16T03:57:07.698Z] v2.1.0 [2023-02-16T03:57:07.698Z] v2.1.1 [2023-02-16T03:57:07.698Z] v2.1.1-dev.1 [2023-02-16T03:57:07.698Z] v2.2.0 [2023-02-16T03:57:07.698Z] v2.2.1-dev.1 [2023-02-16T03:57:07.698Z] v2.2.1-dev.2 [2023-02-16T03:57:07.698Z] v2.2.1-dev.3 [2023-02-16T03:57:07.698Z] v2.2.1-dev.4 [2023-02-16T03:57:07.698Z] v2.3.0 [2023-02-16T03:57:07.698Z] v2.3.0-dev.10 [2023-02-16T03:57:07.698Z] v2.3.0-dev.11 [2023-02-16T03:57:07.698Z] v2.3.0-dev.12 [2023-02-16T03:57:07.698Z] v2.3.0-dev.13 [2023-02-16T03:57:07.698Z] v2.3.0-dev.14 [2023-02-16T03:57:07.698Z] v2.3.0-dev.15 [2023-02-16T03:57:07.698Z] v2.3.0-dev.16 [2023-02-16T03:57:07.698Z] v2.3.0-dev.17 [2023-02-16T03:57:07.698Z] v2.3.0-dev.18 [2023-02-16T03:57:07.698Z] v2.3.0-dev.19 [2023-02-16T03:57:07.698Z] v2.3.0-dev.20 [2023-02-16T03:57:07.698Z] v2.3.0-dev.4 [2023-02-16T03:57:07.698Z] v2.3.0-dev.5 [2023-02-16T03:57:07.698Z] v2.3.0-dev.6 [2023-02-16T03:57:07.698Z] v2.3.0-dev.7 [2023-02-16T03:57:07.698Z] v2.3.0-dev.8 [2023-02-16T03:57:07.698Z] v2.3.0-dev.9 [2023-02-16T03:57:07.698Z] v3.0.0-dev.1 [2023-02-16T03:57:07.698Z] v3.0.0-dev.2 [2023-02-16T03:57:07.698Z] v3.0.0-dev.3 [2023-02-16T03:57:07.698Z] v3.0.0-dev.4 [2023-02-16T03:57:07.698Z] v3.0.0-dev.5 [2023-02-16T03:57:07.698Z] v3.0.0-dev.6 [2023-02-16T03:57:07.698Z] v3.0.0-dev.7 [2023-02-16T03:57:07.698Z] v3.0.0-dev.8 [Pipeline] sh [2023-02-16T03:57:07.981Z] + lftools sign git-tag v3.0.0-dev.8 [2023-02-16T03:57:08.548Z] Signing Git tag with Sigul... [2023-02-16T03:57:08.548Z] Signing v3.0.0-dev.8 [Pipeline] echo [2023-02-16T03:57:09.122Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:09.408Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-16T03:57:09.415Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-16T03:57:09.429Z] $ docker stop --time=1 59b6593b600d8ad1de06de50cb7c44f13df2b9fd584b4b01990b100bcd15faf3 [2023-02-16T03:57:10.734Z] $ docker rm -f --volumes 59b6593b600d8ad1de06de50cb7c44f13df2b9fd584b4b01990b100bcd15faf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-16T03:57:11.143Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T03:57:11.144Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:57:11.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:57:11.445Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:57:11.523Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:57:11.548Z] $ 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-02-16T03:57:11.886Z] $ docker top 54e01bdf107240c73c1ace69ee38b3ee78e498f58e6ff402e4011d16082f159a -eo pid,comm [2023-02-16T03:57:11.940Z] 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-02-16T03:57:11.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T03:57:11.980Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T03:57:11.980Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T03:57:12.070Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T03:57:12.067Z] $ docker exec 54e01bdf107240c73c1ace69ee38b3ee78e498f58e6ff402e4011d16082f159a ssh-agent [2023-02-16T03:57:12.175Z] SSH_AUTH_SOCK=/tmp/ssh-sRpntcNNMPqd/agent.32 [2023-02-16T03:57:12.175Z] SSH_AGENT_PID=38 [2023-02-16T03:57:12.180Z] Running ssh-add (command line suppressed) [2023-02-16T03:57:12.275Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15866321374438405695.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15866321374438405695.key) [2023-02-16T03:57:12.290Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T03:57:12.576Z] + git semver bump pre [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,855 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,855 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,855 [bump_version] DEBUG bumped version:3.0.0-dev.9 [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,855 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,855 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,856 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,857 [execute] INFO git cat-file --batch-check [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,865 [execute] INFO git cat-file --batch [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,866 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T03:57:13.143Z] 2023-02-16 03:57:12,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:57:13.143Z] 3.0.0-dev.9 [Pipeline] } [2023-02-16T03:57:13.147Z] $ docker exec --env ******** --env ******** 54e01bdf107240c73c1ace69ee38b3ee78e498f58e6ff402e4011d16082f159a ssh-agent -k [2023-02-16T03:57:13.267Z] unset SSH_AUTH_SOCK; [2023-02-16T03:57:13.268Z] unset SSH_AGENT_PID; [2023-02-16T03:57:13.268Z] echo Agent pid 38 killed; [2023-02-16T03:57:13.280Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T03:57:13.579Z] + git semver [Pipeline] } [2023-02-16T03:57:13.847Z] $ docker stop --time=1 54e01bdf107240c73c1ace69ee38b3ee78e498f58e6ff402e4011d16082f159a [2023-02-16T03:57:15.110Z] $ docker rm -f --volumes 54e01bdf107240c73c1ace69ee38b3ee78e498f58e6ff402e4011d16082f159a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-16T03:57:15.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-16T03:57:15.456Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:57:15.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-16T03:57:15.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:57:15.813Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:57:15.838Z] $ 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-02-16T03:57:16.149Z] $ docker top 80c9de907def37c76fb8ddd536e340424afdb913439d71ec1a3e1cf701a1cc42 -eo pid,comm [2023-02-16T03:57:16.196Z] 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-02-16T03:57:16.196Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-16T03:57:16.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-16T03:57:16.232Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-16T03:57:16.342Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-16T03:57:16.338Z] $ docker exec 80c9de907def37c76fb8ddd536e340424afdb913439d71ec1a3e1cf701a1cc42 ssh-agent [2023-02-16T03:57:16.440Z] SSH_AUTH_SOCK=/tmp/ssh-vCWRGASAYUGO/agent.32 [2023-02-16T03:57:16.440Z] SSH_AGENT_PID=38 [2023-02-16T03:57:16.445Z] Running ssh-add (command line suppressed) [2023-02-16T03:57:16.536Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1728555313271424824.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1728555313271424824.key) [2023-02-16T03:57:16.553Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-16T03:57:16.847Z] + git semver push [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,059 [run_push] DEBUG push [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,060 [execute] INFO git cat-file --batch-check [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,064 [execute] INFO git rev-list 1b50fe9ed21ddbf98b5109aa57030d0a2d5c7195 -- [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,065 [execute] DEBUG Popen(['git', 'rev-list', '1b50fe9ed21ddbf98b5109aa57030d0a2d5c7195', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,073 [execute] INFO git fetch -v origin [2023-02-16T03:57:17.108Z] 2023-02-16 03:57:17,073 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-16T03:57:17.676Z] 2023-02-16 03:57:17,670 [run_push] DEBUG no remote changes detected [2023-02-16T03:57:17.676Z] 2023-02-16 03:57:17,670 [execute] INFO git push origin semver [2023-02-16T03:57:17.936Z] 2023-02-16 03:57:17,670 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-16T03:57:18.503Z] 2023-02-16 03:57:18,487 [run_push] DEBUG push all version tags [2023-02-16T03:57:18.503Z] 2023-02-16 03:57:18,487 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-16T03:57:18.503Z] 2023-02-16 03:57:18,488 [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-02-16T03:57:19.443Z] 2023-02-16 03:57:19,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-02-16T03:57:19.443Z] 3.0.0-dev.9 [Pipeline] } [2023-02-16T03:57:19.446Z] $ docker exec --env ******** --env ******** 80c9de907def37c76fb8ddd536e340424afdb913439d71ec1a3e1cf701a1cc42 ssh-agent -k [2023-02-16T03:57:19.547Z] unset SSH_AUTH_SOCK; [2023-02-16T03:57:19.547Z] unset SSH_AGENT_PID; [2023-02-16T03:57:19.547Z] echo Agent pid 38 killed; [2023-02-16T03:57:19.564Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-16T03:57:19.869Z] + git semver [Pipeline] } [2023-02-16T03:57:20.135Z] $ docker stop --time=1 80c9de907def37c76fb8ddd536e340424afdb913439d71ec1a3e1cf701a1cc42 [2023-02-16T03:57:21.460Z] $ docker rm -f --volumes 80c9de907def37c76fb8ddd536e340424afdb913439d71ec1a3e1cf701a1cc42 [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-02-16T03:57:22.012Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-02-16T03:57:22.012Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-02-16T03:57:22.012Z] total 16 [2023-02-16T03:57:22.012Z] drwxr-xr-x 3 root root 4096 Feb 16 03:47 . [2023-02-16T03:57:22.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 03:57 .. [2023-02-16T03:57:22.012Z] drwxr-xr-x 2 root root 4096 Feb 16 03:47 cost [2023-02-16T03:57:22.012Z] -rw-r--r-- 1 root root 82 Feb 16 03:47 cost.csv [2023-02-16T03:57:22.012Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-02-16T03:57:22.012Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-02-16T03:57:22.012Z] total 16 [2023-02-16T03:57:22.012Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 16 03:47 . [2023-02-16T03:57:22.012Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 16 03:57 .. [2023-02-16T03:57:22.012Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 16 03:47 cost [2023-02-16T03:57:22.012Z] -rw-r--r-- 1 jenkins jenkins 82 Feb 16 03:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:22.299Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:23.152Z] ---> package-listing.sh [2023-02-16T03:57:23.152Z] ++ facter osfamily [2023-02-16T03:57:23.152Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-16T03:57:23.412Z] + OS_FAMILY=debian [2023-02-16T03:57:23.412Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-02-16T03:57:23.412Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-16T03:57:23.412Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-16T03:57:23.412Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-16T03:57:23.412Z] + PACKAGES=/tmp/packages_start.txt [2023-02-16T03:57:23.412Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-02-16T03:57:23.412Z] + PACKAGES=/tmp/packages_end.txt [2023-02-16T03:57:23.412Z] + case "${OS_FAMILY}" in [2023-02-16T03:57:23.412Z] + grep '^ii' [2023-02-16T03:57:23.412Z] + dpkg -l [2023-02-16T03:57:23.412Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-16T03:57:23.412Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-16T03:57:23.412Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-16T03:57:23.412Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-02-16T03:57:23.412Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-02-16T03:57:23.412Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-02-16T03:57:23.423Z] 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-02-16T03:57:23.696Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-16T03:57:24.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-16T03:57:24.262Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-16T03:57:24.333Z] prd-ubuntu20.04-docker-8c-8g-6251 does not seem to be running inside a container [2023-02-16T03:57:24.354Z] $ 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-02-16T03:57:24.569Z] $ docker top 5d3c11714a3a3e0869357fefbcab0e8e5a3cf57ed03611347096d6266f9cadcd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-16T03:57:24.968Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-16T03:57:25.303Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-16T03:57:25.584Z] + ls /var/log/sa-host [2023-02-16T03:57:25.584Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-16T03:57:25.650Z] provisioning config files... [2023-02-16T03:57:25.658Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12729631740305641062tmp [Pipeline] { [Pipeline] echo [2023-02-16T03:57:25.673Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:25.952Z] ---> create-netrc.sh [Pipeline] } [2023-02-16T03:57:25.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:26.280Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-16T03:57:26.289Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:26.573Z] ---> sudo-logs.sh [2023-02-16T03:57:26.573Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-16T03:57:26.602Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:26.883Z] ---> job-cost.sh [2023-02-16T03:57:26.884Z] lf-activate-venv: SKIPPING [2023-02-16T03:57:26.884Z] DEBUG: total: 0.2199999988079071 [2023-02-16T03:57:26.884Z] INFO: Retrieving Stack Cost... [2023-02-16T03:57:27.450Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-16T03:57:28.014Z] INFO: Archiving Costs [Pipeline] echo [2023-02-16T03:57:28.025Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-16T03:57:28.302Z] ---> logs-deploy.sh [2023-02-16T03:57:28.302Z] lf-activate-venv: SKIPPING [2023-02-16T03:57:28.302Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/60 [2023-02-16T03:57:28.302Z] INFO: archiving workspace using pattern(s): [2023-02-16T03:57:29.236Z] Archives upload complete. [2023-02-16T03:57:29.494Z] INFO: archiving logs to Nexus