Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 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-ssh14324487774632490082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5340676766752855779.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh13726661230956938334.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh3914727829226479845.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-ssh6073773693898346748.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.21 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 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6730’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6731’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6732’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6734’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6735’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6736’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6737’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6738’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6749’ is offline ‘prd-ubuntu20.04-docker-8c-8g-6977’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-6741’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6742’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6743’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6745’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6746’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6747’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6748’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6752’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6756’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6945’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6950’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-6951’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7007 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 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 # timeout=10 Commit message: "Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.27" > git rev-list --no-walk 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-20T17:38:49.460Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-20T17:38:49.516Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-20T17:38:49.535Z] ========================================================= [2023-09-20T17:38:49.535Z] EdgeX Global Pipelines Version Info [2023-09-20T17:38:49.535Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:50.267Z] ------------------- [2023-09-20T17:38:50.267Z] stable info: [2023-09-20T17:38:50.267Z] ------------------- [2023-09-20T17:38:50.267Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-20T17:38:50.267Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:38:50.267Z] Message: update stable to v1.0.254 [2023-09-20T17:38:50.837Z] ------------------- [2023-09-20T17:38:50.837Z] experimental info: [2023-09-20T17:38:50.837Z] ------------------- [2023-09-20T17:38:50.837Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-20T17:38:50.837Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-20T17:38:50.837Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-20T17:38:51.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-09-20T17:38:51.019Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-09-20T17:38:51.038Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-20T17:38:51.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-20T17:38:51.074Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-20T17:38:51.094Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-20T17:38:51.110Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-20T17:38:51.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-20T17:38:51.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-20T17:38:51.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-20T17:38:51.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-20T17:38:51.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-09-20T17:38:51.193Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-20T17:38:51.205Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-20T17:38:51.217Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:38:51.230Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-20T17:38:51.242Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:38:51.256Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-20T17:38:51.269Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-20T17:38:51.283Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-20T17:38:51.297Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-20T17:38:51.316Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-20T17:38:51.334Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-20T17:38:51.352Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-20T17:38:51.363Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-20T17:38:51.379Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-20T17:38:51.398Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-20T17:38:51.416Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-20T17:38:51.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-20T17:38:51.452Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-20T17:38:51.463Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] echo [2023-09-20T17:38:51.480Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b159d9 [Pipeline] echo [2023-09-20T17:38:51.500Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:38:51.610Z] provisioning config files... [2023-09-20T17:38:51.628Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config731377383216866665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:38:51.932Z] ---> docker-login.sh [2023-09-20T17:38:51.932Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:38:52.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:52.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:52.191Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:52.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:52.191Z] [2023-09-20T17:38:52.191Z] Login Succeeded [2023-09-20T17:38:52.191Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:38:52.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:52.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:52.191Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:52.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:52.191Z] [2023-09-20T17:38:52.191Z] Login Succeeded [2023-09-20T17:38:52.191Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:38:52.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:52.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:52.451Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:52.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:52.451Z] [2023-09-20T17:38:52.451Z] Login Succeeded [2023-09-20T17:38:52.451Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:38:52.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:52.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:52.451Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:52.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:52.451Z] [2023-09-20T17:38:52.451Z] Login Succeeded [2023-09-20T17:38:52.451Z] docker.io [2023-09-20T17:38:52.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:38:52.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:38:52.972Z] Configure a credential helper to remove this warning. See [2023-09-20T17:38:52.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:38:52.972Z] [2023-09-20T17:38:52.972Z] Login Succeeded [2023-09-20T17:38:52.972Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:38:52.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-20T17:38:53.362Z] + git rev-list -1 --merges 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3~1..8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] echo [2023-09-20T17:38:53.425Z] -----------> git rev-list -1 --merges 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3~1..8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:38:53.425Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [false] [Pipeline] sh [2023-09-20T17:38:53.719Z] + git log --format=format:%s -1 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] echo [2023-09-20T17:38:53.735Z] ========================================================= [2023-09-20T17:38:53.735Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-20T17:38:53.735Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:38:54.078Z] + git log --format=format:%s -1 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] echo [2023-09-20T17:38:54.088Z] [semverPrep] GIT_COMMIT: 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3, Commit Message: Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.27 [Pipeline] echo [2023-09-20T17:38:54.096Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-20T17:38:54.442Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:38:54.442Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-20T17:38:54.442Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-20T17:38:54.443Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-20T17:38:54.443Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-20T17:38:54.443Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-20T17:38:54.443Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:54.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:54.800Z] [2023-09-20T17:38:54.800Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:38:55.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:55.105Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-20T17:38:55.105Z] b85a868b505f: Pulling fs layer [2023-09-20T17:38:55.105Z] e2be974225ed: Pulling fs layer [2023-09-20T17:38:55.105Z] 339a4e72a1f5: Pulling fs layer [2023-09-20T17:38:55.105Z] 988bab9f4d93: Pulling fs layer [2023-09-20T17:38:55.105Z] 1469e6f7b9e6: Pulling fs layer [2023-09-20T17:38:55.105Z] eaf3925da568: Pulling fs layer [2023-09-20T17:38:55.105Z] bab4dde63d76: Pulling fs layer [2023-09-20T17:38:55.105Z] bde34c3a00c8: Pulling fs layer [2023-09-20T17:38:55.105Z] b352a97aabf1: Pulling fs layer [2023-09-20T17:38:55.105Z] 4872d77fe225: Pulling fs layer [2023-09-20T17:38:55.105Z] 5851b861e8e6: Pulling fs layer [2023-09-20T17:38:55.105Z] bab4dde63d76: Waiting [2023-09-20T17:38:55.105Z] bde34c3a00c8: Waiting [2023-09-20T17:38:55.105Z] b352a97aabf1: Waiting [2023-09-20T17:38:55.105Z] 4872d77fe225: Waiting [2023-09-20T17:38:55.105Z] 5851b861e8e6: Waiting [2023-09-20T17:38:55.105Z] 988bab9f4d93: Waiting [2023-09-20T17:38:55.105Z] eaf3925da568: Waiting [2023-09-20T17:38:55.105Z] e2be974225ed: Verifying Checksum [2023-09-20T17:38:55.105Z] e2be974225ed: Download complete [2023-09-20T17:38:55.105Z] 988bab9f4d93: Verifying Checksum [2023-09-20T17:38:55.105Z] 988bab9f4d93: Download complete [2023-09-20T17:38:55.387Z] 1469e6f7b9e6: Verifying Checksum [2023-09-20T17:38:55.387Z] 1469e6f7b9e6: Download complete [2023-09-20T17:38:55.387Z] eaf3925da568: Verifying Checksum [2023-09-20T17:38:55.387Z] eaf3925da568: Download complete [2023-09-20T17:38:55.387Z] 339a4e72a1f5: Verifying Checksum [2023-09-20T17:38:55.387Z] 339a4e72a1f5: Download complete [2023-09-20T17:38:55.387Z] bde34c3a00c8: Download complete [2023-09-20T17:38:55.387Z] b352a97aabf1: Verifying Checksum [2023-09-20T17:38:55.387Z] b352a97aabf1: Download complete [2023-09-20T17:38:55.387Z] 4872d77fe225: Verifying Checksum [2023-09-20T17:38:55.387Z] 4872d77fe225: Download complete [2023-09-20T17:38:55.387Z] 5851b861e8e6: Download complete [2023-09-20T17:38:55.647Z] b85a868b505f: Verifying Checksum [2023-09-20T17:38:55.647Z] b85a868b505f: Download complete [2023-09-20T17:38:55.906Z] bab4dde63d76: Download complete [2023-09-20T17:38:56.850Z] b85a868b505f: Pull complete [2023-09-20T17:38:56.850Z] e2be974225ed: Pull complete [2023-09-20T17:38:57.415Z] 339a4e72a1f5: Pull complete [2023-09-20T17:38:57.415Z] 988bab9f4d93: Pull complete [2023-09-20T17:38:57.675Z] 1469e6f7b9e6: Pull complete [2023-09-20T17:38:57.934Z] eaf3925da568: Pull complete [2023-09-20T17:38:59.321Z] bab4dde63d76: Pull complete [2023-09-20T17:38:59.580Z] bde34c3a00c8: Pull complete [2023-09-20T17:38:59.580Z] b352a97aabf1: Pull complete [2023-09-20T17:38:59.580Z] 4872d77fe225: Pull complete [2023-09-20T17:38:59.839Z] 5851b861e8e6: Pull complete [2023-09-20T17:38:59.839Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-20T17:38:59.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:38:59.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:38:59.935Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:38:59.968Z] $ 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-09-20T17:39:02.974Z] $ docker top af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 -eo pid,comm [2023-09-20T17:39:03.032Z] 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-09-20T17:39:03.032Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:39:03.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:39:03.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:39:03.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:39:03.173Z] $ docker exec af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 ssh-agent [2023-09-20T17:39:03.287Z] SSH_AUTH_SOCK=/tmp/ssh-xV5AZOk9ya97/agent.32 [2023-09-20T17:39:03.287Z] SSH_AGENT_PID=38 [2023-09-20T17:39:03.294Z] Running ssh-add (command line suppressed) [2023-09-20T17:39:03.383Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4372101625996147163.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4372101625996147163.key) [2023-09-20T17:39:03.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:39:03.685Z] + git tag --points-at HEAD [Pipeline] } [2023-09-20T17:39:03.698Z] $ docker exec --env ******** --env ******** af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 ssh-agent -k [2023-09-20T17:39:03.807Z] unset SSH_AUTH_SOCK; [2023-09-20T17:39:03.808Z] unset SSH_AGENT_PID; [2023-09-20T17:39:03.808Z] echo Agent pid 38 killed; [2023-09-20T17:39:03.821Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-20T17:39:03.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:39:03.845Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:39:03.965Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:39:03.965Z] $ docker exec af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 ssh-agent [2023-09-20T17:39:04.079Z] SSH_AUTH_SOCK=/tmp/ssh-bRb7btNxZ0uq/agent.71 [2023-09-20T17:39:04.079Z] SSH_AGENT_PID=77 [2023-09-20T17:39:04.084Z] Running ssh-add (command line suppressed) [2023-09-20T17:39:04.182Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8651703056563138063.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8651703056563138063.key) [2023-09-20T17:39:04.200Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:39:04.485Z] + git semver init [2023-09-20T17:39:04.745Z] 2023-09-20 17:39:04,665 [run_init] DEBUG init version:0.0.0 force:False [2023-09-20T17:39:04.745Z] 2023-09-20 17:39:04,666 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-20T17:39:04.745Z] 2023-09-20 17:39:04,666 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-09-20T17:39:04.745Z] 2023-09-20 17:39:04,667 [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-09-20T17:39:05.680Z] 2023-09-20 17:39:05,663 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-09-20T17:39:05.680Z] 2023-09-20 17:39:05,664 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-09-20T17:39:05.680Z] 2023-09-20 17:39:05,664 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:39:05.680Z] 2023-09-20 17:39:05,664 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:39:05.680Z] 3.1.0-dev.10 [Pipeline] } [2023-09-20T17:39:05.946Z] $ docker exec --env ******** --env ******** af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 ssh-agent -k [2023-09-20T17:39:06.051Z] unset SSH_AUTH_SOCK; [2023-09-20T17:39:06.052Z] unset SSH_AGENT_PID; [2023-09-20T17:39:06.052Z] echo Agent pid 77 killed; [2023-09-20T17:39:06.065Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:39:06.371Z] + git semver [Pipeline] } [2023-09-20T17:39:06.638Z] $ docker stop --time=1 af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 [2023-09-20T17:39:07.952Z] $ docker rm -f --volumes af2e41c8a526de7f09bcfc7fb2c1c7afc55cdf75b5fc5982b36d03a783db6cb2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:39:08.288Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-20T17:39:08.501Z] Stashed 1 file(s) [Pipeline] echo [2023-09-20T17:39:08.504Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.10 [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-09-20T17:39:08.655Z] provisioning config files... [2023-09-20T17:39:08.663Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16135844795354879249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:39:08.983Z] ---> docker-login.sh [2023-09-20T17:39:08.983Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:39:08.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:08.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:08.983Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:08.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:08.983Z] [2023-09-20T17:39:08.983Z] Login Succeeded [2023-09-20T17:39:08.983Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:39:08.983Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:08.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:08.983Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:08.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:08.983Z] [2023-09-20T17:39:08.983Z] Login Succeeded [2023-09-20T17:39:08.983Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:39:09.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:09.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:09.243Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:09.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:09.243Z] [2023-09-20T17:39:09.243Z] Login Succeeded [2023-09-20T17:39:09.243Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:39:09.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:09.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:09.243Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:09.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:09.243Z] [2023-09-20T17:39:09.243Z] Login Succeeded [2023-09-20T17:39:09.243Z] docker.io [2023-09-20T17:39:09.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:39:09.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:39:09.501Z] Configure a credential helper to remove this warning. See [2023-09-20T17:39:09.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:39:09.501Z] [2023-09-20T17:39:09.501Z] Login Succeeded [2023-09-20T17:39:09.501Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:39:09.509Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:39:09.568Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:39:09.582Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:39:09.590Z] ========================================================= [2023-09-20T17:39:09.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-20T17:39:09.590Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:39:09.904Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:39:09.904Z] Sending build context to Docker daemon 16.1MB [2023-09-20T17:39:09.904Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:39:09.904Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:39:09.904Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-20T17:39:09.904Z] 7264a8db6415: Pulling fs layer [2023-09-20T17:39:09.904Z] c4d48a809fc2: Pulling fs layer [2023-09-20T17:39:09.904Z] 4f1c88b9dad5: Pulling fs layer [2023-09-20T17:39:09.904Z] ad3a456e5733: Pulling fs layer [2023-09-20T17:39:09.904Z] 33e27b845d1e: Pulling fs layer [2023-09-20T17:39:09.904Z] c68163c4e522: Pulling fs layer [2023-09-20T17:39:09.904Z] 33e27b845d1e: Waiting [2023-09-20T17:39:09.904Z] ad3a456e5733: Waiting [2023-09-20T17:39:09.904Z] 50da416c3ac9: Pulling fs layer [2023-09-20T17:39:09.904Z] 23d2d4c4bb30: Pulling fs layer [2023-09-20T17:39:09.904Z] 50da416c3ac9: Waiting [2023-09-20T17:39:09.904Z] c68163c4e522: Waiting [2023-09-20T17:39:09.904Z] c4d48a809fc2: Verifying Checksum [2023-09-20T17:39:09.904Z] c4d48a809fc2: Download complete [2023-09-20T17:39:09.904Z] ad3a456e5733: Verifying Checksum [2023-09-20T17:39:09.904Z] ad3a456e5733: Download complete [2023-09-20T17:39:09.904Z] 33e27b845d1e: Verifying Checksum [2023-09-20T17:39:09.904Z] 33e27b845d1e: Download complete [2023-09-20T17:39:10.163Z] 7264a8db6415: Download complete [2023-09-20T17:39:10.163Z] c68163c4e522: Verifying Checksum [2023-09-20T17:39:10.163Z] c68163c4e522: Download complete [2023-09-20T17:39:10.163Z] 7264a8db6415: Pull complete [2023-09-20T17:39:10.423Z] c4d48a809fc2: Pull complete [2023-09-20T17:39:10.423Z] 23d2d4c4bb30: Verifying Checksum [2023-09-20T17:39:10.423Z] 23d2d4c4bb30: Download complete [2023-09-20T17:39:10.683Z] 4f1c88b9dad5: Verifying Checksum [2023-09-20T17:39:10.683Z] 4f1c88b9dad5: Download complete [2023-09-20T17:39:10.942Z] 50da416c3ac9: Verifying Checksum [2023-09-20T17:39:10.942Z] 50da416c3ac9: Download complete [2023-09-20T17:39:13.470Z] 4f1c88b9dad5: Pull complete [2023-09-20T17:39:13.728Z] ad3a456e5733: Pull complete [2023-09-20T17:39:13.729Z] 33e27b845d1e: Pull complete [2023-09-20T17:39:13.729Z] c68163c4e522: Pull complete [2023-09-20T17:39:16.434Z] 50da416c3ac9: Pull complete [2023-09-20T17:39:16.434Z] 23d2d4c4bb30: Pull complete [2023-09-20T17:39:16.434Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-20T17:39:16.435Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-20T17:39:16.435Z] ---> 0786185ac409 [2023-09-20T17:39:16.435Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:39:19.732Z] ---> Running in 0b3b0e4ce3f1 [2023-09-20T17:39:19.991Z] Removing intermediate container 0b3b0e4ce3f1 [2023-09-20T17:39:19.991Z] ---> d60b48c382e8 [2023-09-20T17:39:19.991Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:39:19.991Z] ---> Running in d7dfc6c23d7f [2023-09-20T17:39:20.249Z] Removing intermediate container d7dfc6c23d7f [2023-09-20T17:39:20.249Z] ---> b4b8df566335 [2023-09-20T17:39:20.249Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-20T17:39:20.249Z] ---> Running in fe553fffee5b [2023-09-20T17:39:20.249Z] Removing intermediate container fe553fffee5b [2023-09-20T17:39:20.249Z] ---> 91c411a54227 [2023-09-20T17:39:20.249Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:39:20.249Z] ---> Running in 404370cd833a [2023-09-20T17:39:20.508Z] Removing intermediate container 404370cd833a [2023-09-20T17:39:20.508Z] ---> 7119ae8d82f1 [2023-09-20T17:39:20.508Z] Step 7/12 : WORKDIR /device-gpio [2023-09-20T17:39:20.508Z] ---> Running in 0d29c00244da [2023-09-20T17:39:20.508Z] Removing intermediate container 0d29c00244da [2023-09-20T17:39:20.508Z] ---> d98759c864ad [2023-09-20T17:39:20.508Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:39:20.508Z] ---> Running in b5d752bad30a [2023-09-20T17:39:20.766Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:21.025Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:39:21.286Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:39:21.286Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:39:21.286Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:39:21.286Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:39:21.286Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:39:21.286Z] OK: 268 MiB in 56 packages [2023-09-20T17:39:21.855Z] Removing intermediate container b5d752bad30a [2023-09-20T17:39:21.855Z] ---> b3f9712b056e [2023-09-20T17:39:21.855Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:39:21.855Z] ---> d042aa346a5f [2023-09-20T17:39:21.855Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:39:21.855Z] ---> Running in 3ff9e24d1bb0 [2023-09-20T17:39:23.610Z] Still waiting to schedule task [2023-09-20T17:39:23.610Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-09-20T17:40:00.579Z] Removing intermediate container 3ff9e24d1bb0 [2023-09-20T17:40:00.579Z] ---> f23f381659b6 [2023-09-20T17:40:00.579Z] Step 11/12 : COPY . . [2023-09-20T17:40:00.579Z] ---> b33a445918b5 [2023-09-20T17:40:00.579Z] Step 12/12 : RUN ${MAKE} [2023-09-20T17:40:00.579Z] ---> Running in 9cd047abd31b [2023-09-20T17:40:00.579Z] noop [2023-09-20T17:40:00.579Z] Removing intermediate container 9cd047abd31b [2023-09-20T17:40:00.579Z] ---> eb87332cd141 [2023-09-20T17:40:00.579Z] Successfully built eb87332cd141 [2023-09-20T17:40:00.579Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:00.884Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:40:00.884Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:00.952Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:40:00.977Z] $ 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-09-20T17:40:01.293Z] $ docker top c12b5240b1b1edc6654eb38c3aa47b6143b407658f8257f50f12b8ac6568d93a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:40:01.629Z] + go version [2023-09-20T17:40:01.629Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-20T17:40:01.642Z] $ docker stop --time=1 c12b5240b1b1edc6654eb38c3aa47b6143b407658f8257f50f12b8ac6568d93a [2023-09-20T17:40:02.925Z] $ docker rm -f --volumes c12b5240b1b1edc6654eb38c3aa47b6143b407658f8257f50f12b8ac6568d93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:03.339Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-20T17:40:03.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:40:03.411Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:40:03.441Z] $ 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-09-20T17:40:03.780Z] $ docker top 87d222038f36b4a4b1a2576a73578dda94f3387eb36ddf5398575fb25e0cac37 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:40:04.120Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:40:04.422Z] + make test [2023-09-20T17:40:04.422Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:40:05.794Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-20T17:40:15.753Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-20T17:40:15.753Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-20T17:40:21.008Z] go vet ./... [2023-09-20T17:40:24.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:40:24.289Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:40:24.289Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:40:24.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:40:24.313Z] $ docker stop --time=1 87d222038f36b4a4b1a2576a73578dda94f3387eb36ddf5398575fb25e0cac37 [2023-09-20T17:40:28.101Z] $ docker rm -f --volumes 87d222038f36b4a4b1a2576a73578dda94f3387eb36ddf5398575fb25e0cac37 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:40:28.560Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:40:28.601Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-20T17:40:29.002Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:40:29.293Z] + ls -al . [2023-09-20T17:40:29.293Z] total 168 [2023-09-20T17:40:29.293Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 17:40 . [2023-09-20T17:40:29.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:38 .. [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 17:38 .dockerignore [2023-09-20T17:40:29.293Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:40 .git [2023-09-20T17:40:29.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 .github [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:38 .gitignore [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:38 .golangci.yml [2023-09-20T17:40:29.293Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:39 .semver [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 17:38 Attribution.txt [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 17:38 CHANGELOG.md [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 17:38 Dockerfile [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:38 GOVERNANCE.md [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 17:38 Jenkinsfile [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:38 LICENSE [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 17:38 Makefile [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:38 OWNERS.md [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 17:38 README.md [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:39 VERSION [2023-09-20T17:40:29.293Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:38 bin [2023-09-20T17:40:29.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 cmd [2023-09-20T17:40:29.293Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:40 coverage.out [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 17:38 go.mod [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 17:38 go.sum [2023-09-20T17:40:29.293Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:38 internal [2023-09-20T17:40:29.293Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:38 snap [2023-09-20T17:40:29.293Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:29.597Z] + 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=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 --label arch=amd64 --label version=3.1.0-dev.10 . [2023-09-20T17:40:29.598Z] Sending build context to Docker daemon 16.1MB [2023-09-20T17:40:29.598Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:40:29.598Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:40:29.598Z] ---> eb87332cd141 [2023-09-20T17:40:29.598Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:40:29.857Z] ---> Running in 7c059312182c [2023-09-20T17:40:29.857Z] Removing intermediate container 7c059312182c [2023-09-20T17:40:29.857Z] ---> c9dc995d16d2 [2023-09-20T17:40:29.857Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:40:30.116Z] ---> Running in b78cad7a60e5 [2023-09-20T17:40:30.116Z] Removing intermediate container b78cad7a60e5 [2023-09-20T17:40:30.116Z] ---> 8cf150f5b469 [2023-09-20T17:40:30.116Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-20T17:40:30.116Z] ---> Running in 9d0c5040b4e5 [2023-09-20T17:40:30.116Z] Removing intermediate container 9d0c5040b4e5 [2023-09-20T17:40:30.116Z] ---> b40078cc057c [2023-09-20T17:40:30.116Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:40:30.116Z] ---> Running in 0e3b995ff7da [2023-09-20T17:40:30.375Z] Removing intermediate container 0e3b995ff7da [2023-09-20T17:40:30.375Z] ---> ec616db2c72b [2023-09-20T17:40:30.375Z] Step 7/25 : WORKDIR /device-gpio [2023-09-20T17:40:30.375Z] ---> Running in 504e7f4518e5 [2023-09-20T17:40:30.376Z] Removing intermediate container 504e7f4518e5 [2023-09-20T17:40:30.376Z] ---> b305452e9009 [2023-09-20T17:40:30.376Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:40:30.376Z] ---> Running in 71de8ad68e35 [2023-09-20T17:40:30.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:30.635Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:31.205Z] OK: 268 MiB in 56 packages [2023-09-20T17:40:31.464Z] Removing intermediate container 71de8ad68e35 [2023-09-20T17:40:31.464Z] ---> eded701b7967 [2023-09-20T17:40:31.464Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T17:40:31.464Z] ---> 580bd7155018 [2023-09-20T17:40:31.464Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:40:31.464Z] ---> Running in 015758fde120 [2023-09-20T17:40:32.091Z] Removing intermediate container 015758fde120 [2023-09-20T17:40:32.091Z] ---> b2f464f36d23 [2023-09-20T17:40:32.091Z] Step 11/25 : COPY . . [2023-09-20T17:40:33.202Z] ---> 817a3e3b3b84 [2023-09-20T17:40:33.202Z] Step 12/25 : RUN ${MAKE} [2023-09-20T17:40:33.202Z] ---> Running in 844e05afb752 [2023-09-20T17:40:33.202Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-20T17:40:55.137Z] Removing intermediate container 844e05afb752 [2023-09-20T17:40:55.137Z] ---> 2044e60f4ad4 [2023-09-20T17:40:55.137Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:40:55.137Z] 3.18: Pulling from library/alpine [2023-09-20T17:40:55.137Z] 7264a8db6415: Already exists [2023-09-20T17:40:55.137Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:40:55.137Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:40:55.137Z] ---> 7e01a0d0a1dc [2023-09-20T17:40:55.137Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T17:40:55.137Z] ---> Running in 58d249a42f9f [2023-09-20T17:40:55.137Z] Removing intermediate container 58d249a42f9f [2023-09-20T17:40:55.137Z] ---> 0d77687deb2f [2023-09-20T17:40:55.137Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-20T17:40:55.137Z] ---> Running in 4989048ba401 [2023-09-20T17:40:55.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:55.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-20T17:40:55.137Z] OK: 7 MiB in 15 packages [2023-09-20T17:40:55.137Z] Removing intermediate container 4989048ba401 [2023-09-20T17:40:55.137Z] ---> 174092143cdb [2023-09-20T17:40:55.137Z] Step 16/25 : WORKDIR / [2023-09-20T17:40:55.137Z] ---> Running in 6fe01f6f10ad [2023-09-20T17:40:55.137Z] Removing intermediate container 6fe01f6f10ad [2023-09-20T17:40:55.137Z] ---> e03b31a3bcd0 [2023-09-20T17:40:55.137Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-20T17:40:55.137Z] ---> 0852a5913017 [2023-09-20T17:40:55.137Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-20T17:40:55.137Z] ---> bd172383fe73 [2023-09-20T17:40:55.137Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-20T17:40:55.137Z] ---> 1796038fd4f7 [2023-09-20T17:40:55.137Z] Step 20/25 : EXPOSE 59910 [2023-09-20T17:40:55.137Z] ---> Running in 10bfb2791c10 [2023-09-20T17:40:55.137Z] Removing intermediate container 10bfb2791c10 [2023-09-20T17:40:55.137Z] ---> f3f4b9d02cf6 [2023-09-20T17:40:55.137Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-20T17:40:55.137Z] ---> Running in 238c8900d786 [2023-09-20T17:40:55.398Z] Removing intermediate container 238c8900d786 [2023-09-20T17:40:55.398Z] ---> bd0fe80e3f3d [2023-09-20T17:40:55.398Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:40:55.398Z] ---> Running in fc8cc1604af2 [2023-09-20T17:40:55.398Z] Removing intermediate container fc8cc1604af2 [2023-09-20T17:40:55.398Z] ---> 1103d4963b58 [2023-09-20T17:40:55.398Z] Step 23/25 : LABEL arch=amd64 [2023-09-20T17:40:55.398Z] ---> Running in 523499108a48 [2023-09-20T17:40:55.398Z] Removing intermediate container 523499108a48 [2023-09-20T17:40:55.398Z] ---> 8fbb04c82499 [2023-09-20T17:40:55.398Z] Step 24/25 : LABEL git_sha=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:40:55.398Z] ---> Running in 8b809fa4e574 [2023-09-20T17:40:55.657Z] Removing intermediate container 8b809fa4e574 [2023-09-20T17:40:55.657Z] ---> dd49ecdbd852 [2023-09-20T17:40:55.657Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-20T17:40:55.657Z] ---> Running in efb098afb4ce [2023-09-20T17:40:55.657Z] Removing intermediate container efb098afb4ce [2023-09-20T17:40:55.657Z] ---> de9a546d3dee [2023-09-20T17:40:55.657Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:40:55.657Z] Successfully built de9a546d3dee [2023-09-20T17:40:55.657Z] 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-09-20T17:40:55.737Z] provisioning config files... [2023-09-20T17:40:55.746Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3240421862798868444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:40:56.040Z] ---> docker-login.sh [2023-09-20T17:40:56.040Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:40:56.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:56.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:56.040Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:56.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:56.040Z] [2023-09-20T17:40:56.040Z] Login Succeeded [2023-09-20T17:40:56.040Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:40:56.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:56.040Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:56.040Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:56.040Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:56.040Z] [2023-09-20T17:40:56.040Z] Login Succeeded [2023-09-20T17:40:56.040Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:40:56.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:56.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:56.299Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:56.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:56.299Z] [2023-09-20T17:40:56.299Z] Login Succeeded [2023-09-20T17:40:56.299Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:40:56.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:56.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:56.299Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:56.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:56.299Z] [2023-09-20T17:40:56.299Z] Login Succeeded [2023-09-20T17:40:56.299Z] docker.io [2023-09-20T17:40:56.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:40:56.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:40:56.559Z] Configure a credential helper to remove this warning. See [2023-09-20T17:40:56.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:40:56.559Z] [2023-09-20T17:40:56.559Z] Login Succeeded [2023-09-20T17:40:56.559Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:40:56.567Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:40:56.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:40:56.609Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-09-20T17:40:56.609Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:40:56.609Z] latest [2023-09-20T17:40:56.609Z] 3.1.0-dev.10 [2023-09-20T17:40:56.609Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:40:56.609Z] main [2023-09-20T17:40:56.609Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:56.911Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:40:57.214Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:40:57.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-20T17:40:57.214Z] 813ae943922a: Preparing [2023-09-20T17:40:57.214Z] 6b7aae330215: Preparing [2023-09-20T17:40:57.214Z] 8a1c0071e9b3: Preparing [2023-09-20T17:40:57.214Z] abb81e59a144: Preparing [2023-09-20T17:40:57.214Z] 4693057ce236: Preparing [2023-09-20T17:40:57.214Z] 4693057ce236: Layer already exists [2023-09-20T17:40:57.214Z] abb81e59a144: Pushed [2023-09-20T17:40:57.214Z] 8a1c0071e9b3: Pushed [2023-09-20T17:40:57.214Z] 6b7aae330215: Pushed [2023-09-20T17:40:59.741Z] 813ae943922a: Pushed [2023-09-20T17:40:59.998Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3: digest: sha256:3604cfe0c49bae0fa8a82bfdd59828d34620ef74e1de5ad7765d13ea570e77ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:00.314Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:00.625Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-20T17:41:00.625Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-20T17:41:00.625Z] 813ae943922a: Preparing [2023-09-20T17:41:00.625Z] 6b7aae330215: Preparing [2023-09-20T17:41:00.625Z] 8a1c0071e9b3: Preparing [2023-09-20T17:41:00.625Z] abb81e59a144: Preparing [2023-09-20T17:41:00.625Z] 4693057ce236: Preparing [2023-09-20T17:41:00.625Z] 6b7aae330215: Layer already exists [2023-09-20T17:41:00.625Z] abb81e59a144: Layer already exists [2023-09-20T17:41:00.625Z] 8a1c0071e9b3: Layer already exists [2023-09-20T17:41:00.625Z] 4693057ce236: Layer already exists [2023-09-20T17:41:00.625Z] 813ae943922a: Layer already exists [2023-09-20T17:41:00.625Z] latest: digest: sha256:3604cfe0c49bae0fa8a82bfdd59828d34620ef74e1de5ad7765d13ea570e77ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:00.929Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:01.229Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.10 [2023-09-20T17:41:01.229Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-20T17:41:01.229Z] 813ae943922a: Preparing [2023-09-20T17:41:01.229Z] 6b7aae330215: Preparing [2023-09-20T17:41:01.229Z] 8a1c0071e9b3: Preparing [2023-09-20T17:41:01.229Z] abb81e59a144: Preparing [2023-09-20T17:41:01.229Z] 4693057ce236: Preparing [2023-09-20T17:41:01.229Z] 4693057ce236: Layer already exists [2023-09-20T17:41:01.229Z] 6b7aae330215: Layer already exists [2023-09-20T17:41:01.229Z] 813ae943922a: Layer already exists [2023-09-20T17:41:01.229Z] 8a1c0071e9b3: Layer already exists [2023-09-20T17:41:01.229Z] abb81e59a144: Layer already exists [2023-09-20T17:41:01.229Z] 3.1.0-dev.10: digest: sha256:3604cfe0c49bae0fa8a82bfdd59828d34620ef74e1de5ad7765d13ea570e77ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:01.531Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:01.832Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:41:01.832Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-20T17:41:01.832Z] 813ae943922a: Preparing [2023-09-20T17:41:01.832Z] 6b7aae330215: Preparing [2023-09-20T17:41:01.832Z] 8a1c0071e9b3: Preparing [2023-09-20T17:41:01.832Z] abb81e59a144: Preparing [2023-09-20T17:41:01.832Z] 4693057ce236: Preparing [2023-09-20T17:41:01.832Z] 813ae943922a: Layer already exists [2023-09-20T17:41:01.832Z] 6b7aae330215: Layer already exists [2023-09-20T17:41:01.832Z] 4693057ce236: Layer already exists [2023-09-20T17:41:01.832Z] 8a1c0071e9b3: Layer already exists [2023-09-20T17:41:01.832Z] abb81e59a144: Layer already exists [2023-09-20T17:41:01.832Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10: digest: sha256:3604cfe0c49bae0fa8a82bfdd59828d34620ef74e1de5ad7765d13ea570e77ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:02.139Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:02.443Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-09-20T17:41:02.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-09-20T17:41:02.443Z] 813ae943922a: Preparing [2023-09-20T17:41:02.443Z] 6b7aae330215: Preparing [2023-09-20T17:41:02.443Z] 8a1c0071e9b3: Preparing [2023-09-20T17:41:02.443Z] abb81e59a144: Preparing [2023-09-20T17:41:02.443Z] 4693057ce236: Preparing [2023-09-20T17:41:02.443Z] 6b7aae330215: Layer already exists [2023-09-20T17:41:02.443Z] 4693057ce236: Layer already exists [2023-09-20T17:41:02.443Z] 8a1c0071e9b3: Layer already exists [2023-09-20T17:41:02.443Z] abb81e59a144: Layer already exists [2023-09-20T17:41:02.443Z] 813ae943922a: Layer already exists [2023-09-20T17:41:02.443Z] main: digest: sha256:3604cfe0c49bae0fa8a82bfdd59828d34620ef74e1de5ad7765d13ea570e77ce size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:41:02.486Z] ===================================================== [Pipeline] echo [2023-09-20T17:41:02.492Z] taggedImages: [2023-09-20T17:41:02.492Z] - nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:41:02.492Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-09-20T17:41:02.492Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.10 [2023-09-20T17:41:02.492Z] - nexus3.edgexfoundry.org:10004/device-gpio:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:41:02.492Z] - 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-09-20T17:41:02.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:41:02.853Z] [2023-09-20T17:41:02.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:41:03.143Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:41:03.144Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-20T17:41:03.144Z] 5eb5b503b376: Pulling fs layer [2023-09-20T17:41:03.144Z] 5c69ac0246d0: Pulling fs layer [2023-09-20T17:41:03.144Z] ec43610c2a17: Pulling fs layer [2023-09-20T17:41:03.144Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-20T17:41:03.144Z] 33b1e0a273af: Pulling fs layer [2023-09-20T17:41:03.144Z] 5d3b04190fa2: Pulling fs layer [2023-09-20T17:41:03.144Z] 2f39f015ded8: Pulling fs layer [2023-09-20T17:41:03.144Z] 3a2ae6a8a46f: Waiting [2023-09-20T17:41:03.144Z] 33b1e0a273af: Waiting [2023-09-20T17:41:03.144Z] 5d3b04190fa2: Waiting [2023-09-20T17:41:03.144Z] 5c69ac0246d0: Download complete [2023-09-20T17:41:03.144Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-20T17:41:03.144Z] 3a2ae6a8a46f: Download complete [2023-09-20T17:41:03.144Z] 33b1e0a273af: Verifying Checksum [2023-09-20T17:41:03.144Z] 33b1e0a273af: Download complete [2023-09-20T17:41:03.144Z] 5d3b04190fa2: Verifying Checksum [2023-09-20T17:41:03.144Z] 5d3b04190fa2: Download complete [2023-09-20T17:41:03.410Z] ec43610c2a17: Verifying Checksum [2023-09-20T17:41:03.410Z] ec43610c2a17: Download complete [2023-09-20T17:41:03.410Z] 5eb5b503b376: Verifying Checksum [2023-09-20T17:41:03.410Z] 5eb5b503b376: Download complete [2023-09-20T17:41:03.977Z] 2f39f015ded8: Download complete [2023-09-20T17:41:04.555Z] 5eb5b503b376: Pull complete [2023-09-20T17:41:04.555Z] 5c69ac0246d0: Pull complete [2023-09-20T17:41:05.121Z] ec43610c2a17: Pull complete [2023-09-20T17:41:05.121Z] 3a2ae6a8a46f: Pull complete [2023-09-20T17:41:05.380Z] 33b1e0a273af: Pull complete [2023-09-20T17:41:05.380Z] 5d3b04190fa2: Pull complete [2023-09-20T17:41:09.574Z] 2f39f015ded8: Pull complete [2023-09-20T17:41:09.574Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-20T17:41:09.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:41:09.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:41:09.652Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:41:09.694Z] $ 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-09-20T17:41:13.943Z] $ docker top 7e6bd1311028908234b4a76b6ecdc81c54410fcf019e3907cef453889d0122ca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:41:14.320Z] ---> job-cost.sh [2023-09-20T17:41:14.320Z] lf-activate-venv: SKIPPING [2023-09-20T17:41:14.320Z] INFO: No Stack... [2023-09-20T17:41:14.580Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:41:14.840Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:41:15.128Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-09-20T17:41:15.128Z] + cut -d, -f6 [Pipeline] lock [2023-09-20T17:41:15.141Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [2023-09-20T17:41:15.149Z] Resource [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] did not exist. Created. [2023-09-20T17:41:15.149Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:41:15.452Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-20T17:41:15.489Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:41:15.495Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:41:15.510Z] $ docker stop --time=1 7e6bd1311028908234b4a76b6ecdc81c54410fcf019e3907cef453889d0122ca [2023-09-20T17:41:16.670Z] $ docker rm -f --volumes 7e6bd1311028908234b4a76b6ecdc81c54410fcf019e3907cef453889d0122ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-20T17:48:34.722Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7180 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-09-20T17:48:34.739Z] Running in /w/workspace/device-gpio/97 [Pipeline] { [Pipeline] checkout [2023-09-20T17:48:34.782Z] The recommended git tool is: git [2023-09-20T17:48:42.757Z] using credential edgex-jenkins-ssh [2023-09-20T17:48:42.783Z] Cloning the remote Git repository [2023-09-20T17:48:42.840Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-09-20T17:48:42.952Z] > git init /w/workspace/device-gpio/97 # timeout=10 [2023-09-20T17:48:43.119Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-09-20T17:48:43.121Z] > git --version # timeout=10 [2023-09-20T17:48:43.145Z] > git --version # 'git version 2.25.1' [2023-09-20T17:48:43.148Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-20T17:48:43.349Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:44.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-09-20T17:48:44.957Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-20T17:48:45.959Z] Avoid second fetch [2023-09-20T17:48:45.959Z] Checking out Revision 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 (main) [2023-09-20T17:48:45.980Z] > git config core.sparsecheckout # timeout=10 [2023-09-20T17:48:46.062Z] > git checkout -f 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 # timeout=10 [2023-09-20T17:48:46.577Z] Commit message: "Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.27" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:48:47.518Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-20T17:48:47.518Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:48:47.518Z] Dload Upload Total Spent Left Speed [2023-09-20T17:48:47.518Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-09-20T17:48:48.293Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-20T17:48:48.637Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-20T17:48:48.638Z] + sudo tee /etc/docker/daemon.new [2023-09-20T17:48:48.638Z] { [2023-09-20T17:48:48.638Z] "registry-mirrors": [ [2023-09-20T17:48:48.638Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-20T17:48:48.638Z] ], [2023-09-20T17:48:48.638Z] "bip": "10.250.0.254/24", [2023-09-20T17:48:48.638Z] "hosts": [ [2023-09-20T17:48:48.638Z] "tcp://0.0.0.0:5555", [2023-09-20T17:48:48.638Z] "unix:///var/run/docker.sock" [2023-09-20T17:48:48.638Z] ], [2023-09-20T17:48:48.638Z] "mtu": 1458, [2023-09-20T17:48:48.638Z] "selinux-enabled": true, [2023-09-20T17:48:48.638Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-20T17:48:48.638Z] } [Pipeline] sh [2023-09-20T17:48:48.987Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-20T17:48:49.331Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:49:07.639Z] provisioning config files... [2023-09-20T17:49:07.676Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/97@tmp/config12612712492543424508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:49:08.069Z] ---> docker-login.sh [2023-09-20T17:49:08.069Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:49:08.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:08.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:08.672Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:08.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:08.672Z] [2023-09-20T17:49:08.672Z] Login Succeeded [2023-09-20T17:49:08.947Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:49:09.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:09.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:09.222Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:09.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:09.222Z] [2023-09-20T17:49:09.222Z] Login Succeeded [2023-09-20T17:49:09.222Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:49:09.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:09.773Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:09.773Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:09.773Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:09.773Z] [2023-09-20T17:49:09.773Z] Login Succeeded [2023-09-20T17:49:09.773Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:49:10.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:10.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:10.329Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:10.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:10.329Z] [2023-09-20T17:49:10.329Z] Login Succeeded [2023-09-20T17:49:10.329Z] docker.io [2023-09-20T17:49:10.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:49:10.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:49:10.878Z] Configure a credential helper to remove this warning. See [2023-09-20T17:49:10.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:49:10.878Z] [2023-09-20T17:49:10.878Z] Login Succeeded [2023-09-20T17:49:10.878Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:49:10.899Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-20T17:49:11.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:11.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:49:11.449Z] ========================================================= [2023-09-20T17:49:11.449Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-20T17:49:11.449Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:49:11.834Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-20T17:49:12.141Z] Sending build context to Docker daemon 8.112MB [2023-09-20T17:49:12.141Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:49:12.141Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-20T17:49:12.417Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-20T17:49:12.418Z] 9fda8d8052c6: Pulling fs layer [2023-09-20T17:49:12.418Z] 5d54e960e981: Pulling fs layer [2023-09-20T17:49:12.418Z] c4a7e357bf2a: Pulling fs layer [2023-09-20T17:49:12.418Z] f0e02332f6b5: Pulling fs layer [2023-09-20T17:49:12.418Z] cefa15bbcfad: Pulling fs layer [2023-09-20T17:49:12.418Z] 17808c966233: Pulling fs layer [2023-09-20T17:49:12.418Z] f4c1fc716caa: Pulling fs layer [2023-09-20T17:49:12.418Z] f0e02332f6b5: Waiting [2023-09-20T17:49:12.418Z] cefa15bbcfad: Waiting [2023-09-20T17:49:12.418Z] 17808c966233: Waiting [2023-09-20T17:49:12.418Z] f4c1fc716caa: Waiting [2023-09-20T17:49:12.709Z] 5d54e960e981: Verifying Checksum [2023-09-20T17:49:12.709Z] 5d54e960e981: Download complete [2023-09-20T17:49:12.709Z] f0e02332f6b5: Download complete [2023-09-20T17:49:12.709Z] cefa15bbcfad: Verifying Checksum [2023-09-20T17:49:12.709Z] cefa15bbcfad: Download complete [2023-09-20T17:49:12.709Z] 9fda8d8052c6: Download complete [2023-09-20T17:49:13.336Z] f4c1fc716caa: Verifying Checksum [2023-09-20T17:49:13.336Z] f4c1fc716caa: Download complete [2023-09-20T17:49:13.631Z] 9fda8d8052c6: Pull complete [2023-09-20T17:49:14.234Z] 5d54e960e981: Pull complete [2023-09-20T17:49:14.512Z] c4a7e357bf2a: Download complete [2023-09-20T17:49:15.963Z] 17808c966233: Verifying Checksum [2023-09-20T17:49:15.963Z] 17808c966233: Download complete [2023-09-20T17:49:26.109Z] c4a7e357bf2a: Pull complete [2023-09-20T17:49:26.109Z] f0e02332f6b5: Pull complete [2023-09-20T17:49:26.707Z] cefa15bbcfad: Pull complete [2023-09-20T17:49:35.005Z] 17808c966233: Pull complete [2023-09-20T17:49:35.603Z] f4c1fc716caa: Pull complete [2023-09-20T17:49:35.603Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-20T17:49:35.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-20T17:49:35.603Z] ---> ea914061e18c [2023-09-20T17:49:35.603Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:49:38.228Z] ---> Running in ae792978ebda [2023-09-20T17:49:38.228Z] Removing intermediate container ae792978ebda [2023-09-20T17:49:38.228Z] ---> 3bee8ab57905 [2023-09-20T17:49:38.228Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:49:38.499Z] ---> Running in 6a3f0d16d52e [2023-09-20T17:49:38.772Z] Removing intermediate container 6a3f0d16d52e [2023-09-20T17:49:38.772Z] ---> 8de0b60c059d [2023-09-20T17:49:38.772Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-20T17:49:39.043Z] ---> Running in 0f86b23cf8b9 [2023-09-20T17:49:39.313Z] Removing intermediate container 0f86b23cf8b9 [2023-09-20T17:49:39.313Z] ---> bace394b1fa2 [2023-09-20T17:49:39.313Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:49:39.313Z] ---> Running in a0f36f795af2 [2023-09-20T17:49:39.928Z] Removing intermediate container a0f36f795af2 [2023-09-20T17:49:39.928Z] ---> 95c3a367d535 [2023-09-20T17:49:39.928Z] Step 7/12 : WORKDIR /device-gpio [2023-09-20T17:49:39.928Z] ---> Running in 4969308634dc [2023-09-20T17:49:40.520Z] Removing intermediate container 4969308634dc [2023-09-20T17:49:40.521Z] ---> f2f3ae8752ff [2023-09-20T17:49:40.521Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:49:40.521Z] ---> Running in 9ee69bb16978 [2023-09-20T17:49:41.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:42.222Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:49:43.648Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-20T17:49:43.648Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-20T17:49:43.648Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-20T17:49:43.648Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-20T17:49:43.648Z] Executing busybox-1.36.1-r2.trigger [2023-09-20T17:49:43.648Z] OK: 270 MiB in 56 packages [2023-09-20T17:49:44.634Z] Removing intermediate container 9ee69bb16978 [2023-09-20T17:49:44.634Z] ---> 2ade2ae8c335 [2023-09-20T17:49:44.634Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-20T17:49:45.236Z] ---> be811ebcd383 [2023-09-20T17:49:45.236Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:49:45.524Z] ---> Running in ba6cfdcb1230 [2023-09-20T17:51:07.504Z] Removing intermediate container ba6cfdcb1230 [2023-09-20T17:51:07.504Z] ---> 0e6036b105ef [2023-09-20T17:51:07.504Z] Step 11/12 : COPY . . [2023-09-20T17:51:07.504Z] ---> 04b2fcc2dd5c [2023-09-20T17:51:07.504Z] Step 12/12 : RUN ${MAKE} [2023-09-20T17:51:07.504Z] ---> Running in f0111564443b [2023-09-20T17:51:07.504Z] noop [2023-09-20T17:51:08.483Z] Removing intermediate container f0111564443b [2023-09-20T17:51:08.483Z] ---> f7c3963a05a3 [2023-09-20T17:51:08.483Z] Successfully built f7c3963a05a3 [2023-09-20T17:51:08.483Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:08.855Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:08.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:09.105Z] prd-ubuntu20.04-docker-arm64-4c-16g-7180 does not seem to be running inside a container [2023-09-20T17:51:09.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/97 -v /w/workspace/device-gpio/97:/w/workspace/device-gpio/97:rw,z -v /w/workspace/device-gpio/97@tmp:/w/workspace/device-gpio/97@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-09-20T17:51:10.545Z] $ docker top aec80c498975b14e8785f5668636f98f5891bba12a16a7c6c5c8c9a58b57b396 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:11.421Z] + go version [2023-09-20T17:51:11.421Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-20T17:51:11.447Z] $ docker stop --time=1 aec80c498975b14e8785f5668636f98f5891bba12a16a7c6c5c8c9a58b57b396 [2023-09-20T17:51:13.130Z] $ docker rm -f --volumes aec80c498975b14e8785f5668636f98f5891bba12a16a7c6c5c8c9a58b57b396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:51:13.711Z] + docker inspect -f . ci-base-image-arm64 [2023-09-20T17:51:13.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:51:14.071Z] prd-ubuntu20.04-docker-arm64-4c-16g-7180 does not seem to be running inside a container [2023-09-20T17:51:14.162Z] $ 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/97 -v /w/workspace/device-gpio/97:/w/workspace/device-gpio/97:rw,z -v /w/workspace/device-gpio/97@tmp:/w/workspace/device-gpio/97@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-09-20T17:51:15.459Z] $ docker top 36a25168b1071385f4af57156c26a08c47871356ba617476df152758295222ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:51:16.320Z] + git config --global --add safe.directory /w/workspace/device-gpio/97 [Pipeline] fileExists [Pipeline] sh [2023-09-20T17:51:16.990Z] + make test [2023-09-20T17:51:16.990Z] go test ./... -coverprofile=coverage.out ./... [2023-09-20T17:51:21.268Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-09-20T17:53:43.107Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-09-20T17:53:43.107Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-09-20T17:53:43.107Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-20T17:53:43.107Z] go vet ./... [2023-09-20T17:54:15.432Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-20T17:54:15.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-20T17:54:15.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-20T17:54:15.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-20T17:54:15.480Z] $ docker stop --time=1 36a25168b1071385f4af57156c26a08c47871356ba617476df152758295222ad [2023-09-20T17:54:17.814Z] $ docker rm -f --volumes 36a25168b1071385f4af57156c26a08c47871356ba617476df152758295222ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:54:19.396Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-20T17:54:19.422Z] Warning: overwriting stash ‘coverage-report’ [2023-09-20T17:54:20.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-20T17:54:20.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-20T17:54:20.904Z] + ls -al . [2023-09-20T17:54:20.904Z] total 164 [2023-09-20T17:54:20.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:51 . [2023-09-20T17:54:20.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 .. [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 120 Sep 20 17:48 .dockerignore [2023-09-20T17:54:20.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:48 .git [2023-09-20T17:54:20.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 .github [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 343 Sep 20 17:48 .gitignore [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 17:48 .golangci.yml [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 10671 Sep 20 17:48 Attribution.txt [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 6184 Sep 20 17:48 CHANGELOG.md [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 1542 Sep 20 17:48 Dockerfile [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:48 GOVERNANCE.md [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 657 Sep 20 17:48 Jenkinsfile [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 17:48 LICENSE [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 1923 Sep 20 17:48 Makefile [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 20 17:48 OWNERS.md [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 12293 Sep 20 17:48 README.md [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 17:39 VERSION [2023-09-20T17:54:20.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:48 bin [2023-09-20T17:54:20.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 cmd [2023-09-20T17:54:20.904Z] -rw-r--r-- 1 jenkins jenkins 10 Sep 20 17:51 coverage.out [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 3697 Sep 20 17:48 go.mod [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 35979 Sep 20 17:48 go.sum [2023-09-20T17:54:20.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:48 internal [2023-09-20T17:54:20.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:48 snap [2023-09-20T17:54:20.904Z] -rw-rw-r-- 1 jenkins jenkins 209 Sep 20 17:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:54:21.279Z] + 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=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 --label arch=arm64 --label version=3.1.0-dev.10 . [2023-09-20T17:54:21.878Z] Sending build context to Docker daemon 8.113MB [2023-09-20T17:54:21.878Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-20T17:54:21.878Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-20T17:54:21.878Z] ---> f7c3963a05a3 [2023-09-20T17:54:21.878Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-20T17:54:21.878Z] ---> Running in 0473706915be [2023-09-20T17:54:22.474Z] Removing intermediate container 0473706915be [2023-09-20T17:54:22.474Z] ---> e400636bfac2 [2023-09-20T17:54:22.474Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-20T17:54:22.474Z] ---> Running in 0703b6ae1190 [2023-09-20T17:54:22.754Z] Removing intermediate container 0703b6ae1190 [2023-09-20T17:54:22.754Z] ---> 3feccff36994 [2023-09-20T17:54:22.754Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-09-20T17:54:23.033Z] ---> Running in 093d55d8b0f0 [2023-09-20T17:54:23.306Z] Removing intermediate container 093d55d8b0f0 [2023-09-20T17:54:23.306Z] ---> 909750e3ce67 [2023-09-20T17:54:23.306Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-20T17:54:23.576Z] ---> Running in 4127616746e1 [2023-09-20T17:54:23.846Z] Removing intermediate container 4127616746e1 [2023-09-20T17:54:23.846Z] ---> 6ffe05314091 [2023-09-20T17:54:23.846Z] Step 7/25 : WORKDIR /device-gpio [2023-09-20T17:54:23.846Z] ---> Running in 32c0719c4b58 [2023-09-20T17:54:24.116Z] Removing intermediate container 32c0719c4b58 [2023-09-20T17:54:24.116Z] ---> 36eaf9af075f [2023-09-20T17:54:24.116Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-20T17:54:24.385Z] ---> Running in 7ab96d10593b [2023-09-20T17:54:25.354Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:54:25.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:54:27.914Z] OK: 270 MiB in 56 packages [2023-09-20T17:54:28.505Z] Removing intermediate container 7ab96d10593b [2023-09-20T17:54:28.505Z] ---> 7eb9991ac58b [2023-09-20T17:54:28.505Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-20T17:54:29.474Z] ---> f2ea68ff76f0 [2023-09-20T17:54:29.474Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-20T17:54:29.474Z] ---> Running in 73e944ae065d [2023-09-20T17:54:32.075Z] Removing intermediate container 73e944ae065d [2023-09-20T17:54:32.075Z] ---> f2d25e65ef13 [2023-09-20T17:54:32.075Z] Step 11/25 : COPY . . [2023-09-20T17:54:36.342Z] ---> 8523f274a59f [2023-09-20T17:54:36.342Z] Step 12/25 : RUN ${MAKE} [2023-09-20T17:54:36.342Z] ---> Running in e74bafaea7ec [2023-09-20T17:54:37.309Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.10 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.27" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-09-20T17:56:59.329Z] Removing intermediate container e74bafaea7ec [2023-09-20T17:56:59.330Z] ---> b29823bcdf5f [2023-09-20T17:56:59.330Z] Step 13/25 : FROM alpine:3.18 [2023-09-20T17:56:59.330Z] 3.18: Pulling from library/alpine [2023-09-20T17:56:59.330Z] 9fda8d8052c6: Already exists [2023-09-20T17:56:59.330Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-20T17:56:59.330Z] Status: Downloaded newer image for alpine:3.18 [2023-09-20T17:56:59.330Z] ---> f6648c04cd6c [2023-09-20T17:56:59.330Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-09-20T17:56:59.330Z] ---> Running in 75f374bd4055 [2023-09-20T17:56:59.330Z] Removing intermediate container 75f374bd4055 [2023-09-20T17:56:59.330Z] ---> dc1d6492a6e7 [2023-09-20T17:56:59.330Z] Step 15/25 : RUN apk add --update --no-cache [2023-09-20T17:56:59.330Z] ---> Running in 34c80a241dba [2023-09-20T17:56:59.607Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-20T17:56:59.883Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-20T17:57:01.315Z] OK: 8 MiB in 15 packages [2023-09-20T17:57:02.291Z] Removing intermediate container 34c80a241dba [2023-09-20T17:57:02.291Z] ---> a3601070ac5a [2023-09-20T17:57:02.291Z] Step 16/25 : WORKDIR / [2023-09-20T17:57:02.562Z] ---> Running in 46f38eaa5493 [2023-09-20T17:57:02.834Z] Removing intermediate container 46f38eaa5493 [2023-09-20T17:57:02.834Z] ---> b32921eb7a8c [2023-09-20T17:57:02.834Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-09-20T17:57:03.422Z] ---> b7ced8f69413 [2023-09-20T17:57:03.422Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-09-20T17:57:04.020Z] ---> b9b7cedf693a [2023-09-20T17:57:04.020Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-09-20T17:57:05.438Z] ---> f3cbd3e0a3ab [2023-09-20T17:57:05.438Z] Step 20/25 : EXPOSE 59910 [2023-09-20T17:57:05.438Z] ---> Running in aa4e996979cd [2023-09-20T17:57:06.032Z] Removing intermediate container aa4e996979cd [2023-09-20T17:57:06.032Z] ---> 08dacbabee49 [2023-09-20T17:57:06.032Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-09-20T17:57:06.033Z] ---> Running in 4b5f44cf885c [2023-09-20T17:57:06.300Z] Removing intermediate container 4b5f44cf885c [2023-09-20T17:57:06.300Z] ---> f246d8add43c [2023-09-20T17:57:06.300Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-20T17:57:06.300Z] ---> Running in 181132b2dbf9 [2023-09-20T17:57:06.568Z] Removing intermediate container 181132b2dbf9 [2023-09-20T17:57:06.568Z] ---> 39aec1e52c86 [2023-09-20T17:57:06.568Z] Step 23/25 : LABEL arch=arm64 [2023-09-20T17:57:06.839Z] ---> Running in e02a6315b62a [2023-09-20T17:57:07.106Z] Removing intermediate container e02a6315b62a [2023-09-20T17:57:07.106Z] ---> 46f16db1817c [2023-09-20T17:57:07.106Z] Step 24/25 : LABEL git_sha=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:57:07.106Z] ---> Running in f81dbaa0cb90 [2023-09-20T17:57:07.375Z] Removing intermediate container f81dbaa0cb90 [2023-09-20T17:57:07.375Z] ---> 2852653e57e4 [2023-09-20T17:57:07.375Z] Step 25/25 : LABEL version=3.1.0-dev.10 [2023-09-20T17:57:07.375Z] ---> Running in 342ebd77a6a0 [2023-09-20T17:57:07.964Z] Removing intermediate container 342ebd77a6a0 [2023-09-20T17:57:07.964Z] ---> b2ac429d3d0f [2023-09-20T17:57:07.964Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-20T17:57:07.964Z] Successfully built b2ac429d3d0f [2023-09-20T17:57:07.964Z] 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-09-20T17:57:08.081Z] provisioning config files... [2023-09-20T17:57:08.097Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/97@tmp/config13414099788462199124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:57:08.436Z] ---> docker-login.sh [2023-09-20T17:57:08.436Z] nexus3.edgexfoundry.org:10001 [2023-09-20T17:57:08.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:08.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:08.707Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:08.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:08.707Z] [2023-09-20T17:57:08.707Z] Login Succeeded [2023-09-20T17:57:08.707Z] nexus3.edgexfoundry.org:10002 [2023-09-20T17:57:08.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:09.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:09.244Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:09.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:09.244Z] [2023-09-20T17:57:09.244Z] Login Succeeded [2023-09-20T17:57:09.244Z] nexus3.edgexfoundry.org:10003 [2023-09-20T17:57:09.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:09.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:09.513Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:09.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:09.513Z] [2023-09-20T17:57:09.513Z] Login Succeeded [2023-09-20T17:57:09.513Z] nexus3.edgexfoundry.org:10004 [2023-09-20T17:57:09.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:10.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:10.052Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:10.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:10.052Z] [2023-09-20T17:57:10.052Z] Login Succeeded [2023-09-20T17:57:10.052Z] docker.io [2023-09-20T17:57:10.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-20T17:57:10.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-20T17:57:10.598Z] Configure a credential helper to remove this warning. See [2023-09-20T17:57:10.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-20T17:57:10.598Z] [2023-09-20T17:57:10.598Z] Login Succeeded [2023-09-20T17:57:10.598Z] ---> docker-login.sh ends [Pipeline] } [2023-09-20T17:57:10.611Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:57:10.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-20T17:57:10.652Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-09-20T17:57:10.652Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:57:10.652Z] latest [2023-09-20T17:57:10.652Z] 3.1.0-dev.10 [2023-09-20T17:57:10.652Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:57:10.652Z] main [2023-09-20T17:57:10.652Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:10.998Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:11.358Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:57:11.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-20T17:57:11.358Z] c706e6102e82: Preparing [2023-09-20T17:57:11.358Z] 4c824862d6ed: Preparing [2023-09-20T17:57:11.358Z] bed81b874126: Preparing [2023-09-20T17:57:11.358Z] 9e649fbd89ac: Preparing [2023-09-20T17:57:11.358Z] b2191e2be29d: Preparing [2023-09-20T17:57:11.358Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:11.632Z] bed81b874126: Pushed [2023-09-20T17:57:11.632Z] 4c824862d6ed: Pushed [2023-09-20T17:57:11.632Z] 9e649fbd89ac: Pushed [2023-09-20T17:57:22.309Z] c706e6102e82: Pushed [2023-09-20T17:57:22.309Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3: digest: sha256:7c59bad98080ef48c5ca3c02959772fbf623c403464f989568b902fa41c8fc73 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:22.675Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:23.027Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-20T17:57:23.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-20T17:57:23.027Z] c706e6102e82: Preparing [2023-09-20T17:57:23.027Z] 4c824862d6ed: Preparing [2023-09-20T17:57:23.027Z] bed81b874126: Preparing [2023-09-20T17:57:23.027Z] 9e649fbd89ac: Preparing [2023-09-20T17:57:23.027Z] b2191e2be29d: Preparing [2023-09-20T17:57:23.027Z] c706e6102e82: Layer already exists [2023-09-20T17:57:23.027Z] 4c824862d6ed: Layer already exists [2023-09-20T17:57:23.027Z] bed81b874126: Layer already exists [2023-09-20T17:57:23.027Z] 9e649fbd89ac: Layer already exists [2023-09-20T17:57:23.027Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:23.298Z] latest: digest: sha256:7c59bad98080ef48c5ca3c02959772fbf623c403464f989568b902fa41c8fc73 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:23.666Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:24.019Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.10 [2023-09-20T17:57:24.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-20T17:57:24.019Z] c706e6102e82: Preparing [2023-09-20T17:57:24.019Z] 4c824862d6ed: Preparing [2023-09-20T17:57:24.019Z] bed81b874126: Preparing [2023-09-20T17:57:24.019Z] 9e649fbd89ac: Preparing [2023-09-20T17:57:24.019Z] b2191e2be29d: Preparing [2023-09-20T17:57:24.019Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:24.019Z] c706e6102e82: Layer already exists [2023-09-20T17:57:24.019Z] 4c824862d6ed: Layer already exists [2023-09-20T17:57:24.019Z] 9e649fbd89ac: Layer already exists [2023-09-20T17:57:24.019Z] bed81b874126: Layer already exists [2023-09-20T17:57:24.287Z] 3.1.0-dev.10: digest: sha256:7c59bad98080ef48c5ca3c02959772fbf623c403464f989568b902fa41c8fc73 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:24.641Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:24.988Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:57:24.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-20T17:57:24.988Z] c706e6102e82: Preparing [2023-09-20T17:57:24.988Z] 4c824862d6ed: Preparing [2023-09-20T17:57:24.988Z] bed81b874126: Preparing [2023-09-20T17:57:24.988Z] 9e649fbd89ac: Preparing [2023-09-20T17:57:24.988Z] b2191e2be29d: Preparing [2023-09-20T17:57:24.988Z] 4c824862d6ed: Layer already exists [2023-09-20T17:57:24.988Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:24.988Z] bed81b874126: Layer already exists [2023-09-20T17:57:24.988Z] c706e6102e82: Layer already exists [2023-09-20T17:57:24.988Z] 9e649fbd89ac: Layer already exists [2023-09-20T17:57:24.988Z] 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10: digest: sha256:7c59bad98080ef48c5ca3c02959772fbf623c403464f989568b902fa41c8fc73 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:25.619Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:25.974Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-09-20T17:57:25.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-09-20T17:57:25.974Z] c706e6102e82: Preparing [2023-09-20T17:57:25.974Z] 4c824862d6ed: Preparing [2023-09-20T17:57:25.974Z] bed81b874126: Preparing [2023-09-20T17:57:25.974Z] 9e649fbd89ac: Preparing [2023-09-20T17:57:25.974Z] b2191e2be29d: Preparing [2023-09-20T17:57:25.974Z] bed81b874126: Layer already exists [2023-09-20T17:57:25.974Z] c706e6102e82: Layer already exists [2023-09-20T17:57:25.974Z] 9e649fbd89ac: Layer already exists [2023-09-20T17:57:25.974Z] 4c824862d6ed: Layer already exists [2023-09-20T17:57:25.974Z] b2191e2be29d: Layer already exists [2023-09-20T17:57:26.244Z] main: digest: sha256:7c59bad98080ef48c5ca3c02959772fbf623c403464f989568b902fa41c8fc73 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-20T17:57:26.309Z] ===================================================== [Pipeline] echo [2023-09-20T17:57:26.318Z] taggedImages: [2023-09-20T17:57:26.318Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [2023-09-20T17:57:26.318Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-09-20T17:57:26.318Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.10 [2023-09-20T17:57:26.318Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:8b159d95d2ff57b5c188e3e0f29dca75026e8aa3-3.1.0-dev.10 [2023-09-20T17:57:26.318Z] - 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-09-20T17:57:26.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:26.701Z] [2023-09-20T17:57:26.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:57:27.037Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:27.037Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-20T17:57:27.037Z] 8998bd30e6a1: Pulling fs layer [2023-09-20T17:57:27.037Z] 04944245beec: Pulling fs layer [2023-09-20T17:57:27.037Z] 699f458cf7ca: Pulling fs layer [2023-09-20T17:57:27.037Z] 765212b225bb: Pulling fs layer [2023-09-20T17:57:27.037Z] f23df028b6ca: Pulling fs layer [2023-09-20T17:57:27.037Z] d65c8cfc05b1: Pulling fs layer [2023-09-20T17:57:27.037Z] 2437ff75d9bd: Pulling fs layer [2023-09-20T17:57:27.037Z] f23df028b6ca: Waiting [2023-09-20T17:57:27.037Z] d65c8cfc05b1: Waiting [2023-09-20T17:57:27.037Z] 765212b225bb: Waiting [2023-09-20T17:57:27.037Z] 2437ff75d9bd: Waiting [2023-09-20T17:57:27.305Z] 04944245beec: Verifying Checksum [2023-09-20T17:57:27.305Z] 04944245beec: Download complete [2023-09-20T17:57:27.305Z] 765212b225bb: Verifying Checksum [2023-09-20T17:57:27.305Z] 765212b225bb: Download complete [2023-09-20T17:57:27.305Z] f23df028b6ca: Verifying Checksum [2023-09-20T17:57:27.305Z] f23df028b6ca: Download complete [2023-09-20T17:57:27.305Z] d65c8cfc05b1: Verifying Checksum [2023-09-20T17:57:27.305Z] d65c8cfc05b1: Download complete [2023-09-20T17:57:27.574Z] 699f458cf7ca: Verifying Checksum [2023-09-20T17:57:27.574Z] 699f458cf7ca: Download complete [2023-09-20T17:57:27.842Z] 8998bd30e6a1: Verifying Checksum [2023-09-20T17:57:27.842Z] 8998bd30e6a1: Download complete [2023-09-20T17:57:30.441Z] 2437ff75d9bd: Verifying Checksum [2023-09-20T17:57:30.441Z] 2437ff75d9bd: Download complete [2023-09-20T17:57:33.791Z] 8998bd30e6a1: Pull complete [2023-09-20T17:57:34.373Z] 04944245beec: Pull complete [2023-09-20T17:57:35.336Z] 699f458cf7ca: Pull complete [2023-09-20T17:57:35.608Z] 765212b225bb: Pull complete [2023-09-20T17:57:36.569Z] f23df028b6ca: Pull complete [2023-09-20T17:57:36.569Z] d65c8cfc05b1: Pull complete [2023-09-20T17:57:51.574Z] 2437ff75d9bd: Pull complete [2023-09-20T17:57:51.574Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-20T17:57:51.575Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-20T17:57:51.575Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:57:51.782Z] prd-ubuntu20.04-docker-arm64-4c-16g-7180 does not seem to be running inside a container [2023-09-20T17:57:51.861Z] $ 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/97 -v /w/workspace/device-gpio/97:/w/workspace/device-gpio/97:rw,z -v /w/workspace/device-gpio/97@tmp:/w/workspace/device-gpio/97@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-09-20T17:57:54.791Z] $ docker top ed621fb8258a1b9b3ca2c11ead448705b7e83df2b01846e97f527129f44162d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:57:55.643Z] ---> job-cost.sh [2023-09-20T17:57:55.643Z] lf-activate-venv: SKIPPING [2023-09-20T17:57:55.644Z] INFO: No Stack... [2023-09-20T17:57:55.910Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-20T17:57:56.881Z] INFO: Archiving Costs [Pipeline] sh [2023-09-20T17:57:57.532Z] + cut -d, -f6 [2023-09-20T17:57:57.532Z] + cat /w/workspace/device-gpio/97/archives/cost.csv [Pipeline] lock [2023-09-20T17:57:57.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [2023-09-20T17:57:57.619Z] Resource [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] did not exist. Created. [2023-09-20T17:57:57.619Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-20T17:57:58.284Z] /w/workspace/device-gpio/97@tmp/durable-45186a76/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-20T17:57:58.962Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-20T17:57:58.988Z] Warning: overwriting stash ‘stack-cost’ [2023-09-20T17:57:59.057Z] Stashed 1 file(s) [Pipeline] } [2023-09-20T17:57:59.066Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-97-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-20T17:57:59.091Z] $ docker stop --time=1 ed621fb8258a1b9b3ca2c11ead448705b7e83df2b01846e97f527129f44162d3 [2023-09-20T17:58:00.630Z] $ docker rm -f --volumes ed621fb8258a1b9b3ca2c11ead448705b7e83df2b01846e97f527129f44162d3 [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-09-20T17:58:01.049Z] provisioning config files... [2023-09-20T17:58:01.055Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5771520263480156946tmp [Pipeline] { [Pipeline] sh [2023-09-20T17:58:01.351Z] + set +x [2023-09-20T17:58:01.351Z] + curl -s https://codecov.io/bash [2023-09-20T17:58:01.351Z] + bash -s -- [2023-09-20T17:58:01.351Z] [2023-09-20T17:58:01.351Z] _____ _ [2023-09-20T17:58:01.351Z] / ____| | | [2023-09-20T17:58:01.351Z] | | ___ __| | ___ ___ _____ __ [2023-09-20T17:58:01.351Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-20T17:58:01.351Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-20T17:58:01.351Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-20T17:58:01.351Z] Bash-1.0.6 [2023-09-20T17:58:01.351Z] [2023-09-20T17:58:01.351Z] [2023-09-20T17:58:01.351Z] ==> git version 2.25.1 found [2023-09-20T17:58:01.351Z] ==> 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-09-20T17:58:01.351Z] Release-Date: 2020-01-08 [2023-09-20T17:58:01.351Z] 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-09-20T17:58:01.351Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-20T17:58:01.351Z] ==> Jenkins CI detected. [2023-09-20T17:58:01.351Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-09-20T17:58:01.351Z] project root: . [2023-09-20T17:58:01.351Z] --> token set from env [2023-09-20T17:58:01.351Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-20T17:58:01.610Z] ==> Running gcov in . (disable via -X gcov) [2023-09-20T17:58:01.610Z] ==> Python coveragepy not found [2023-09-20T17:58:01.610Z] ==> Searching for coverage reports in: [2023-09-20T17:58:01.610Z] + . [2023-09-20T17:58:01.610Z] -> Found 1 reports [2023-09-20T17:58:01.610Z] ==> Detecting git/mercurial file structure [2023-09-20T17:58:01.610Z] ==> Reading reports [2023-09-20T17:58:01.610Z] + ./coverage.out bytes=10 [2023-09-20T17:58:01.610Z] ==> Appending adjustments [2023-09-20T17:58:01.610Z] https://docs.codecov.io/docs/fixing-reports [2023-09-20T17:58:01.610Z] + Found adjustments [2023-09-20T17:58:01.610Z] ==> Gzipping contents [2023-09-20T17:58:01.610Z] 4.0K /tmp/codecov.JkItFm.gz [2023-09-20T17:58:01.610Z] ==> Uploading reports [2023-09-20T17:58:01.610Z] url: https://codecov.io [2023-09-20T17:58:01.610Z] query: branch=main&commit=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:01.610Z] -> Pinging Codecov [2023-09-20T17:58:01.610Z] 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=8b159d95d2ff57b5c188e3e0f29dca75026e8aa3&build=97&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F97%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-20T17:58:01.610Z] -> Uploading to [2023-09-20T17:58:01.610Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-20/3EC07B1A8CA8AF9BCAA0BB9F0134797F/8b159d95d2ff57b5c188e3e0f29dca75026e8aa3/c41ed1df-e0bf-449a-88e1-9b354544458e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T175801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e4c1750576986d7ee88f90a31f0d06e353ff64fc04af5807d583e7848deadf9 [2023-09-20T17:58:01.872Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-20T17:58:01.872Z] Dload Upload Total Spent Left Speed [2023-09-20T17:58:01.872Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3080 --:--:-- --:--:-- --:--:-- 3080 [2023-09-20T17:58:01.873Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] } [2023-09-20T17:58:01.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-20T17:58:02.100Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-20T17:58:02.111Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:02.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:02.406Z] [2023-09-20T17:58:02.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:02.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:02.746Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-20T17:58:02.746Z] df9b9388f04a: Pulling fs layer [2023-09-20T17:58:02.746Z] 52dc419b0ee2: Pulling fs layer [2023-09-20T17:58:02.746Z] 25bc292e5bac: Pulling fs layer [2023-09-20T17:58:02.746Z] 114826534d7a: Pulling fs layer [2023-09-20T17:58:02.746Z] 4657fd5d0bcf: Pulling fs layer [2023-09-20T17:58:02.746Z] 6ad1cebc031e: Pulling fs layer [2023-09-20T17:58:02.746Z] 8a3aa393b2d8: Pulling fs layer [2023-09-20T17:58:02.746Z] 4657fd5d0bcf: Waiting [2023-09-20T17:58:02.746Z] 8a3aa393b2d8: Waiting [2023-09-20T17:58:02.746Z] 6ad1cebc031e: Waiting [2023-09-20T17:58:02.746Z] 25bc292e5bac: Verifying Checksum [2023-09-20T17:58:02.746Z] 25bc292e5bac: Download complete [2023-09-20T17:58:02.746Z] 52dc419b0ee2: Verifying Checksum [2023-09-20T17:58:02.746Z] 52dc419b0ee2: Download complete [2023-09-20T17:58:02.746Z] 4657fd5d0bcf: Verifying Checksum [2023-09-20T17:58:02.746Z] 4657fd5d0bcf: Download complete [2023-09-20T17:58:02.746Z] df9b9388f04a: Verifying Checksum [2023-09-20T17:58:02.746Z] df9b9388f04a: Download complete [2023-09-20T17:58:03.021Z] df9b9388f04a: Pull complete [2023-09-20T17:58:03.021Z] 6ad1cebc031e: Verifying Checksum [2023-09-20T17:58:03.021Z] 6ad1cebc031e: Download complete [2023-09-20T17:58:03.021Z] 52dc419b0ee2: Pull complete [2023-09-20T17:58:03.021Z] 25bc292e5bac: Pull complete [2023-09-20T17:58:03.587Z] 114826534d7a: Download complete [2023-09-20T17:58:03.587Z] 8a3aa393b2d8: Download complete [2023-09-20T17:58:07.767Z] 114826534d7a: Pull complete [2023-09-20T17:58:07.767Z] 4657fd5d0bcf: Pull complete [2023-09-20T17:58:07.767Z] 6ad1cebc031e: Pull complete [2023-09-20T17:58:11.052Z] 8a3aa393b2d8: Pull complete [2023-09-20T17:58:11.052Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-20T17:58:11.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-20T17:58:11.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:11.124Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:58:11.158Z] $ 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-09-20T17:58:16.716Z] $ docker top 502a02621a4a4700deaa4861193cca9be44cd5f1bc4335af141ce0bddb3986c4 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-20T17:58:16.784Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-09-20T17:58:17.062Z] + set -o pipefail [2023-09-20T17:58:17.062Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/484f3fda-f327-4c81-beec-a1214dcef8cc [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] [2023-09-20T17:58:23.624Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-20T17:58:23.624Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-20T17:58:23.624Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-20T17:58:23.637Z] $ docker stop --time=1 502a02621a4a4700deaa4861193cca9be44cd5f1bc4335af141ce0bddb3986c4 [2023-09-20T17:58:28.587Z] $ docker rm -f --volumes 502a02621a4a4700deaa4861193cca9be44cd5f1bc4335af141ce0bddb3986c4 [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-09-20T17:58:29.340Z] + git log --format=format:%s -1 8b159d95d2ff57b5c188e3e0f29dca75026e8aa3 [Pipeline] sh [2023-09-20T17:58:29.626Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:29.626Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:29.924Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:29.924Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:29.994Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:58:30.025Z] $ 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-09-20T17:58:30.995Z] $ docker top 2f545cbd8b7c570047c6ca4fe7bd17d3189dc388d287268532dc28e4eefb2724 -eo pid,comm [2023-09-20T17:58:31.052Z] 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-09-20T17:58:31.052Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:31.090Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:31.090Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:31.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:31.195Z] $ docker exec 2f545cbd8b7c570047c6ca4fe7bd17d3189dc388d287268532dc28e4eefb2724 ssh-agent [2023-09-20T17:58:31.306Z] SSH_AUTH_SOCK=/tmp/ssh-y7h67j5pR7zA/agent.14 [2023-09-20T17:58:31.306Z] SSH_AGENT_PID=20 [2023-09-20T17:58:31.310Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:31.408Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14474641612163381797.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_14474641612163381797.key) [2023-09-20T17:58:31.426Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:31.713Z] + git semver tag [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,893 [run_tag] DEBUG tag force:False [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,893 [check_head_tag] DEBUG check head tag [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,894 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,897 [execute] INFO git cat-file --batch [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,904 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,904 [execute] INFO git tag -a v3.1.0-dev.10 -m v3.1.0-dev.10 [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,904 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.10', '-m', 'v3.1.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:58:31.972Z] 2023-09-20 17:58:31,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:31.972Z] 3.1.0-dev.10 [Pipeline] } [2023-09-20T17:58:31.982Z] $ docker exec --env ******** --env ******** 2f545cbd8b7c570047c6ca4fe7bd17d3189dc388d287268532dc28e4eefb2724 ssh-agent -k [2023-09-20T17:58:32.068Z] unset SSH_AUTH_SOCK; [2023-09-20T17:58:32.069Z] unset SSH_AGENT_PID; [2023-09-20T17:58:32.069Z] echo Agent pid 20 killed; [2023-09-20T17:58:32.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:58:32.373Z] + git semver [Pipeline] } [2023-09-20T17:58:32.646Z] $ docker stop --time=1 2f545cbd8b7c570047c6ca4fe7bd17d3189dc388d287268532dc28e4eefb2724 [2023-09-20T17:58:33.901Z] $ docker rm -f --volumes 2f545cbd8b7c570047c6ca4fe7bd17d3189dc388d287268532dc28e4eefb2724 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:34.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:34.336Z] [2023-09-20T17:58:34.336Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:34.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:34.630Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-20T17:58:34.630Z] ab5ef0e58194: Pulling fs layer [2023-09-20T17:58:34.630Z] 9712f1f96733: Pulling fs layer [2023-09-20T17:58:34.630Z] 63f879dbbcfc: Pulling fs layer [2023-09-20T17:58:34.630Z] 0d9ebad4ef96: Pulling fs layer [2023-09-20T17:58:34.630Z] e9a5061849ea: Pulling fs layer [2023-09-20T17:58:34.630Z] d747dcd14b5f: Pulling fs layer [2023-09-20T17:58:34.630Z] 2de7ff778b66: Pulling fs layer [2023-09-20T17:58:34.630Z] 0d9ebad4ef96: Waiting [2023-09-20T17:58:34.630Z] e9a5061849ea: Waiting [2023-09-20T17:58:34.630Z] d747dcd14b5f: Waiting [2023-09-20T17:58:34.630Z] 2de7ff778b66: Waiting [2023-09-20T17:58:34.630Z] 9712f1f96733: Verifying Checksum [2023-09-20T17:58:34.903Z] 63f879dbbcfc: Verifying Checksum [2023-09-20T17:58:34.903Z] 63f879dbbcfc: Download complete [2023-09-20T17:58:35.170Z] e9a5061849ea: Verifying Checksum [2023-09-20T17:58:35.170Z] e9a5061849ea: Download complete [2023-09-20T17:58:35.170Z] d747dcd14b5f: Download complete [2023-09-20T17:58:35.170Z] ab5ef0e58194: Verifying Checksum [2023-09-20T17:58:35.170Z] ab5ef0e58194: Download complete [2023-09-20T17:58:35.428Z] 2de7ff778b66: Verifying Checksum [2023-09-20T17:58:35.428Z] 2de7ff778b66: Download complete [2023-09-20T17:58:35.428Z] 0d9ebad4ef96: Verifying Checksum [2023-09-20T17:58:35.428Z] 0d9ebad4ef96: Download complete [2023-09-20T17:58:37.975Z] ab5ef0e58194: Pull complete [2023-09-20T17:58:37.975Z] 9712f1f96733: Pull complete [2023-09-20T17:58:38.543Z] 63f879dbbcfc: Pull complete [2023-09-20T17:58:41.822Z] 0d9ebad4ef96: Pull complete [2023-09-20T17:58:42.080Z] e9a5061849ea: Pull complete [2023-09-20T17:58:42.337Z] d747dcd14b5f: Pull complete [2023-09-20T17:58:43.271Z] 2de7ff778b66: Pull complete [2023-09-20T17:58:43.271Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-20T17:58:43.271Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-20T17:58:43.271Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:43.349Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:58:43.376Z] $ 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-09-20T17:58:49.328Z] $ docker top 5ebec3242407415d63709a347fca1826f5b9cc88b2ad14aa5a805a9c3474f943 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:58:49.392Z] provisioning config files... [2023-09-20T17:58:49.398Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14929934312080862379tmp [2023-09-20T17:58:49.407Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5700828167950057235tmp [2023-09-20T17:58:49.414Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1566438080246193549tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:58:49.429Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:49.710Z] ---> sigul-configuration.sh [2023-09-20T17:58:49.710Z] gpg: directory `/root/.gnupg' created [2023-09-20T17:58:49.710Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-20T17:58:49.710Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-20T17:58:49.710Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-20T17:58:49.710Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-20T17:58:49.710Z] gpg: CAST5 encrypted data [2023-09-20T17:58:49.710Z] gpg: encrypted with 1 passphrase [2023-09-20T17:58:49.710Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-20T17:58:49.995Z] + mkdir /home/jenkins [2023-09-20T17:58:49.995Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-20T17:58:50.284Z] + 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-09-20T17:58:50.291Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:50.572Z] ---> sigul-install.sh [2023-09-20T17:58:50.572Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-20T17:58:50.868Z] + git tag --list [2023-09-20T17:58:50.868Z] v1.0.0 [2023-09-20T17:58:50.868Z] v2.1.0 [2023-09-20T17:58:50.868Z] v2.1.1 [2023-09-20T17:58:50.868Z] v2.2.0 [2023-09-20T17:58:50.868Z] v2.3.0 [2023-09-20T17:58:50.868Z] v3.0 [2023-09-20T17:58:50.868Z] v3.0.0 [2023-09-20T17:58:50.868Z] v3.1.0-dev.1 [2023-09-20T17:58:50.868Z] v3.1.0-dev.10 [2023-09-20T17:58:50.868Z] v3.1.0-dev.2 [2023-09-20T17:58:50.868Z] v3.1.0-dev.3 [2023-09-20T17:58:50.868Z] v3.1.0-dev.4 [2023-09-20T17:58:50.868Z] v3.1.0-dev.5 [2023-09-20T17:58:50.868Z] v3.1.0-dev.6 [2023-09-20T17:58:50.868Z] v3.1.0-dev.7 [2023-09-20T17:58:50.868Z] v3.1.0-dev.8 [2023-09-20T17:58:50.868Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-20T17:58:51.159Z] + lftools sign git-tag v3.1.0-dev.10 [2023-09-20T17:58:51.726Z] Signing Git tag with Sigul... [2023-09-20T17:58:51.726Z] Signing v3.1.0-dev.10 [Pipeline] echo [2023-09-20T17:58:51.993Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:58:52.277Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-20T17:58:52.285Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-20T17:58:52.309Z] $ docker stop --time=1 5ebec3242407415d63709a347fca1826f5b9cc88b2ad14aa5a805a9c3474f943 [2023-09-20T17:58:53.613Z] $ docker rm -f --volumes 5ebec3242407415d63709a347fca1826f5b9cc88b2ad14aa5a805a9c3474f943 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-20T17:58:54.008Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:54.009Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:54.308Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:54.308Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:54.381Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:58:54.416Z] $ 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-09-20T17:58:54.772Z] $ docker top 56adac2ee3c077bc1bdad81416721133dbf4588f18df2b4a67f06c9e974f1eae -eo pid,comm [2023-09-20T17:58:54.819Z] 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-09-20T17:58:54.819Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:54.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:54.855Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:54.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:54.965Z] $ docker exec 56adac2ee3c077bc1bdad81416721133dbf4588f18df2b4a67f06c9e974f1eae ssh-agent [2023-09-20T17:58:55.069Z] SSH_AUTH_SOCK=/tmp/ssh-38nN6HY61j5r/agent.32 [2023-09-20T17:58:55.069Z] SSH_AGENT_PID=38 [2023-09-20T17:58:55.074Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:55.180Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17428161212032919223.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17428161212032919223.key) [2023-09-20T17:58:55.192Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:55.482Z] + git semver bump pre [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [bump_version] DEBUG bumping version:3.1.0-dev.10 on axis:pre with prefix:dev [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [bump_version] DEBUG bumped version:3.1.0-dev.11 [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [write_version] DEBUG write version:3.1.0-dev.11 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,651 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,653 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,658 [execute] INFO git cat-file --batch [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:55.741Z] 2023-09-20 17:58:55,663 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:58:55.741Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:58:55.752Z] $ docker exec --env ******** --env ******** 56adac2ee3c077bc1bdad81416721133dbf4588f18df2b4a67f06c9e974f1eae ssh-agent -k [2023-09-20T17:58:55.857Z] unset SSH_AUTH_SOCK; [2023-09-20T17:58:55.857Z] unset SSH_AGENT_PID; [2023-09-20T17:58:55.858Z] echo Agent pid 38 killed; [2023-09-20T17:58:55.865Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:58:56.175Z] + git semver [Pipeline] } [2023-09-20T17:58:56.451Z] $ docker stop --time=1 56adac2ee3c077bc1bdad81416721133dbf4588f18df2b4a67f06c9e974f1eae [2023-09-20T17:58:57.718Z] $ docker rm -f --volumes 56adac2ee3c077bc1bdad81416721133dbf4588f18df2b4a67f06c9e974f1eae [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-20T17:58:58.060Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-20T17:58:58.060Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:58:58.364Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-20T17:58:58.364Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:58:58.439Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:58:58.472Z] $ 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-09-20T17:58:58.906Z] $ docker top 25fb09c94ca1a9d0953885aaafc6b5faad349f0a21c9a23eeecc45300c946f2f -eo pid,comm [2023-09-20T17:58:58.965Z] 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-09-20T17:58:58.965Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-20T17:58:59.008Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-20T17:58:59.008Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-20T17:58:59.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-20T17:58:59.127Z] $ docker exec 25fb09c94ca1a9d0953885aaafc6b5faad349f0a21c9a23eeecc45300c946f2f ssh-agent [2023-09-20T17:58:59.232Z] SSH_AUTH_SOCK=/tmp/ssh-sKySZg9SdJWH/agent.32 [2023-09-20T17:58:59.232Z] SSH_AGENT_PID=38 [2023-09-20T17:58:59.236Z] Running ssh-add (command line suppressed) [2023-09-20T17:58:59.383Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4465412030081480406.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_4465412030081480406.key) [2023-09-20T17:58:59.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-20T17:58:59.685Z] + git semver push [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,855 [run_push] DEBUG push [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,855 [execute] INFO git cat-file --batch-check [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,859 [execute] INFO git rev-list f65e345c98a170291c5977572bb9ac70df687d00 -- [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,859 [execute] DEBUG Popen(['git', 'rev-list', 'f65e345c98a170291c5977572bb9ac70df687d00', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,865 [execute] INFO git fetch -v origin [2023-09-20T17:58:59.944Z] 2023-09-20 17:58:59,866 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-20T17:59:00.512Z] 2023-09-20 17:59:00,326 [run_push] DEBUG no remote changes detected [2023-09-20T17:59:00.512Z] 2023-09-20 17:59:00,326 [execute] INFO git push origin semver [2023-09-20T17:59:00.512Z] 2023-09-20 17:59:00,327 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-20T17:59:01.454Z] 2023-09-20 17:59:01,142 [run_push] DEBUG push all version tags [2023-09-20T17:59:01.454Z] 2023-09-20 17:59:01,142 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-20T17:59:01.454Z] 2023-09-20 17:59:01,143 [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-09-20T17:59:02.023Z] 2023-09-20 17:59:01,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-09-20T17:59:02.023Z] 3.1.0-dev.11 [Pipeline] } [2023-09-20T17:59:02.033Z] $ docker exec --env ******** --env ******** 25fb09c94ca1a9d0953885aaafc6b5faad349f0a21c9a23eeecc45300c946f2f ssh-agent -k [2023-09-20T17:59:02.134Z] unset SSH_AUTH_SOCK; [2023-09-20T17:59:02.134Z] unset SSH_AGENT_PID; [2023-09-20T17:59:02.134Z] echo Agent pid 38 killed; [2023-09-20T17:59:02.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-20T17:59:02.453Z] + git semver [Pipeline] } [2023-09-20T17:59:02.727Z] $ docker stop --time=1 25fb09c94ca1a9d0953885aaafc6b5faad349f0a21c9a23eeecc45300c946f2f [2023-09-20T17:59:04.166Z] $ docker rm -f --volumes 25fb09c94ca1a9d0953885aaafc6b5faad349f0a21c9a23eeecc45300c946f2f [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-09-20T17:59:04.779Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-09-20T17:59:04.779Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-20T17:59:04.779Z] total 16 [2023-09-20T17:59:04.779Z] drwxr-xr-x 3 root root 4096 Sep 20 17:41 . [2023-09-20T17:59:04.779Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:58 .. [2023-09-20T17:59:04.779Z] drwxr-xr-x 2 root root 4096 Sep 20 17:41 cost [2023-09-20T17:59:04.779Z] -rw-r--r-- 1 root root 82 Sep 20 17:41 cost.csv [2023-09-20T17:59:04.779Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-20T17:59:04.779Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-09-20T17:59:04.779Z] total 16 [2023-09-20T17:59:04.779Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:41 . [2023-09-20T17:59:04.779Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:58 .. [2023-09-20T17:59:04.779Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:41 cost [2023-09-20T17:59:04.779Z] -rw-r--r-- 1 jenkins jenkins 82 Sep 20 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:05.065Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:05.916Z] ---> package-listing.sh [2023-09-20T17:59:05.916Z] ++ facter osfamily [2023-09-20T17:59:05.916Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-20T17:59:06.174Z] + OS_FAMILY=debian [2023-09-20T17:59:06.174Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-09-20T17:59:06.174Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:06.174Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:06.174Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-20T17:59:06.174Z] + PACKAGES=/tmp/packages_start.txt [2023-09-20T17:59:06.174Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-20T17:59:06.174Z] + PACKAGES=/tmp/packages_end.txt [2023-09-20T17:59:06.174Z] + case "${OS_FAMILY}" in [2023-09-20T17:59:06.174Z] + dpkg -l [2023-09-20T17:59:06.174Z] + grep '^ii' [2023-09-20T17:59:06.174Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-20T17:59:06.174Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-20T17:59:06.174Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-20T17:59:06.174Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-09-20T17:59:06.174Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-09-20T17:59:06.174Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-09-20T17:59:06.184Z] 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-09-20T17:59:06.459Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-20T17:59:07.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-20T17:59:07.011Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-20T17:59:07.123Z] prd-ubuntu20.04-docker-8c-8g-7007 does not seem to be running inside a container [2023-09-20T17:59:07.197Z] $ 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-09-20T17:59:07.432Z] $ docker top 96090d17e06ef2e890b1323c159c53b6fc544064568e8b2164af102709ecda17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-20T17:59:07.771Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-20T17:59:08.053Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-20T17:59:08.336Z] + ls /var/log/sa-host [2023-09-20T17:59:08.336Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-20T17:59:08.396Z] provisioning config files... [2023-09-20T17:59:08.404Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1851843706768493929tmp [Pipeline] { [Pipeline] echo [2023-09-20T17:59:08.415Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:08.696Z] ---> create-netrc.sh [Pipeline] } [2023-09-20T17:59:08.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:09.040Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-20T17:59:09.049Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:09.362Z] ---> sudo-logs.sh [2023-09-20T17:59:09.362Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-20T17:59:09.385Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:09.666Z] ---> job-cost.sh [2023-09-20T17:59:09.666Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:09.666Z] DEBUG: total: 0.2199999988079071 [2023-09-20T17:59:09.666Z] INFO: Retrieving Stack Cost... [2023-09-20T17:59:09.925Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-20T17:59:10.498Z] INFO: Archiving Costs [Pipeline] echo [2023-09-20T17:59:10.510Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-20T17:59:10.791Z] ---> logs-deploy.sh [2023-09-20T17:59:10.791Z] lf-activate-venv: SKIPPING [2023-09-20T17:59:10.791Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/97 [2023-09-20T17:59:10.791Z] INFO: archiving workspace using pattern(s): [2023-09-20T17:59:11.736Z] Archives upload complete. [2023-09-20T17:59:11.736Z] INFO: archiving logs to Nexus