Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1df392e582ed32cc3ab577300f501a2f57a85edb 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-ssh12505090750047507187.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-ssh18365248936271671600.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-ssh14699745185259792839.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-ssh5624271893551165115.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-ssh1265975834028879198.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-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-9982’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9992’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9993’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9993 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 > 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 Avoid second fetch Checking out Revision 1df392e582ed32cc3ab577300f501a2f57a85edb (main) Commit message: "Merge pull request #205 from MonicaisHer/remove-snap" > git config core.sparsecheckout # timeout=10 > git checkout -f 1df392e582ed32cc3ab577300f501a2f57a85edb # timeout=10 > git rev-list --no-walk 394f7e51838f4f11b1408721525dc4e9609626b3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T18:11:17.637Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T18:11:17.695Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T18:11:17.714Z] ========================================================= [2023-10-24T18:11:17.714Z] EdgeX Global Pipelines Version Info [2023-10-24T18:11:17.714Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:18.431Z] ------------------- [2023-10-24T18:11:18.431Z] stable info: [2023-10-24T18:11:18.431Z] ------------------- [2023-10-24T18:11:18.431Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T18:11:18.431Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:11:18.431Z] Message: update stable to v1.0.254 [2023-10-24T18:11:19.003Z] ------------------- [2023-10-24T18:11:19.003Z] experimental info: [2023-10-24T18:11:19.003Z] ------------------- [2023-10-24T18:11:19.003Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T18:11:19.003Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:11:19.003Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T18:11:19.194Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-10-24T18:11:19.203Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-10-24T18:11:19.213Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T18:11:19.223Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T18:11:19.240Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T18:11:19.256Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T18:11:19.270Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T18:11:19.281Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T18:11:19.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T18:11:19.310Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T18:11:19.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T18:11:19.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-10-24T18:11:19.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T18:11:19.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T18:11:19.394Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:11:19.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:11:19.424Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:11:19.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:11:19.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T18:11:19.452Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T18:11:19.462Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T18:11:19.471Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T18:11:19.485Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T18:11:19.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T18:11:19.515Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T18:11:19.528Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T18:11:19.543Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T18:11:19.555Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T18:11:19.574Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T18:11:19.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T18:11:19.607Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] echo [2023-10-24T18:11:19.619Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1df392e [Pipeline] echo [2023-10-24T18:11:19.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:11:19.680Z] provisioning config files... [2023-10-24T18:11:19.691Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11648420215083609365tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:19.990Z] ---> docker-login.sh [2023-10-24T18:11:19.990Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:11:20.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:20.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:20.249Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:20.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:20.250Z] [2023-10-24T18:11:20.250Z] Login Succeeded [2023-10-24T18:11:20.250Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:11:20.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:20.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:20.250Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:20.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:20.250Z] [2023-10-24T18:11:20.250Z] Login Succeeded [2023-10-24T18:11:20.250Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:11:20.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:20.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:20.510Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:20.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:20.510Z] [2023-10-24T18:11:20.510Z] Login Succeeded [2023-10-24T18:11:20.510Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:11:20.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:20.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:20.510Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:20.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:20.510Z] [2023-10-24T18:11:20.510Z] Login Succeeded [2023-10-24T18:11:20.510Z] docker.io [2023-10-24T18:11:20.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:20.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:20.768Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:20.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:20.768Z] [2023-10-24T18:11:20.768Z] Login Succeeded [2023-10-24T18:11:20.768Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:11:20.775Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T18:11:21.136Z] + git rev-list -1 --merges 1df392e582ed32cc3ab577300f501a2f57a85edb~1..1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] echo [2023-10-24T18:11:21.180Z] -----------> git rev-list -1 --merges 1df392e582ed32cc3ab577300f501a2f57a85edb~1..1df392e582ed32cc3ab577300f501a2f57a85edb 1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:11:21.180Z] 1df392e582ed32cc3ab577300f501a2f57a85edb [false] [Pipeline] sh [2023-10-24T18:11:21.465Z] + git log --format=format:%s -1 1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] echo [2023-10-24T18:11:21.479Z] ========================================================= [2023-10-24T18:11:21.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T18:11:21.479Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:11:21.822Z] + git log --format=format:%s -1 1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] echo [2023-10-24T18:11:21.854Z] [semverPrep] GIT_COMMIT: 1df392e582ed32cc3ab577300f501a2f57a85edb, Commit Message: Merge pull request #205 from MonicaisHer/remove-snap [Pipeline] echo [2023-10-24T18:11:21.862Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T18:11:22.202Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:11:22.202Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T18:11:22.202Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T18:11:22.202Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T18:11:22.202Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T18:11:22.202Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T18:11:22.202Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:22.683Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:22.683Z] [2023-10-24T18:11:22.683Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:22.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:22.988Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T18:11:22.988Z] b85a868b505f: Pulling fs layer [2023-10-24T18:11:22.988Z] e2be974225ed: Pulling fs layer [2023-10-24T18:11:22.988Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T18:11:22.988Z] 988bab9f4d93: Pulling fs layer [2023-10-24T18:11:22.988Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T18:11:22.988Z] eaf3925da568: Pulling fs layer [2023-10-24T18:11:22.988Z] bab4dde63d76: Pulling fs layer [2023-10-24T18:11:22.988Z] bde34c3a00c8: Pulling fs layer [2023-10-24T18:11:22.988Z] b352a97aabf1: Pulling fs layer [2023-10-24T18:11:22.988Z] 4872d77fe225: Pulling fs layer [2023-10-24T18:11:22.988Z] 5851b861e8e6: Pulling fs layer [2023-10-24T18:11:22.988Z] bde34c3a00c8: Waiting [2023-10-24T18:11:22.988Z] 4872d77fe225: Waiting [2023-10-24T18:11:22.988Z] 1469e6f7b9e6: Waiting [2023-10-24T18:11:22.988Z] 5851b861e8e6: Waiting [2023-10-24T18:11:22.988Z] eaf3925da568: Waiting [2023-10-24T18:11:22.988Z] 988bab9f4d93: Waiting [2023-10-24T18:11:22.988Z] b352a97aabf1: Waiting [2023-10-24T18:11:22.988Z] bab4dde63d76: Waiting [2023-10-24T18:11:22.988Z] e2be974225ed: Verifying Checksum [2023-10-24T18:11:22.988Z] e2be974225ed: Download complete [2023-10-24T18:11:22.988Z] 988bab9f4d93: Verifying Checksum [2023-10-24T18:11:22.988Z] 988bab9f4d93: Download complete [2023-10-24T18:11:22.988Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T18:11:22.988Z] 1469e6f7b9e6: Download complete [2023-10-24T18:11:22.988Z] eaf3925da568: Verifying Checksum [2023-10-24T18:11:22.988Z] eaf3925da568: Download complete [2023-10-24T18:11:22.988Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T18:11:22.988Z] 339a4e72a1f5: Download complete [2023-10-24T18:11:23.247Z] bde34c3a00c8: Download complete [2023-10-24T18:11:23.247Z] b352a97aabf1: Download complete [2023-10-24T18:11:23.247Z] 4872d77fe225: Verifying Checksum [2023-10-24T18:11:23.247Z] 4872d77fe225: Download complete [2023-10-24T18:11:23.247Z] 5851b861e8e6: Verifying Checksum [2023-10-24T18:11:23.247Z] 5851b861e8e6: Download complete [2023-10-24T18:11:23.247Z] b85a868b505f: Verifying Checksum [2023-10-24T18:11:23.247Z] b85a868b505f: Download complete [2023-10-24T18:11:23.505Z] bab4dde63d76: Download complete [2023-10-24T18:11:24.438Z] b85a868b505f: Pull complete [2023-10-24T18:11:24.696Z] e2be974225ed: Pull complete [2023-10-24T18:11:24.954Z] 339a4e72a1f5: Pull complete [2023-10-24T18:11:25.212Z] 988bab9f4d93: Pull complete [2023-10-24T18:11:25.470Z] 1469e6f7b9e6: Pull complete [2023-10-24T18:11:25.470Z] eaf3925da568: Pull complete [2023-10-24T18:11:27.374Z] bab4dde63d76: Pull complete [2023-10-24T18:11:27.374Z] bde34c3a00c8: Pull complete [2023-10-24T18:11:27.374Z] b352a97aabf1: Pull complete [2023-10-24T18:11:27.374Z] 4872d77fe225: Pull complete [2023-10-24T18:11:27.374Z] 5851b861e8e6: Pull complete [2023-10-24T18:11:27.374Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T18:11:27.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:11:27.374Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:11:27.467Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:11:27.499Z] $ 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-10-24T18:11:31.666Z] $ docker top 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 -eo pid,comm [2023-10-24T18:11:31.716Z] 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-10-24T18:11:31.716Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:11:31.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:11:31.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:11:31.844Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:11:31.852Z] $ docker exec 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 ssh-agent [2023-10-24T18:11:31.945Z] SSH_AUTH_SOCK=/tmp/ssh-hYo1NosttoRi/agent.32 [2023-10-24T18:11:31.945Z] SSH_AGENT_PID=38 [2023-10-24T18:11:31.951Z] Running ssh-add (command line suppressed) [2023-10-24T18:11:32.048Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8782161227700602075.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8782161227700602075.key) [2023-10-24T18:11:32.057Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:11:32.344Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T18:11:32.366Z] $ docker exec --env ******** --env ******** 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 ssh-agent -k [2023-10-24T18:11:32.469Z] unset SSH_AUTH_SOCK; [2023-10-24T18:11:32.469Z] unset SSH_AGENT_PID; [2023-10-24T18:11:32.469Z] echo Agent pid 38 killed; [2023-10-24T18:11:32.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T18:11:32.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:11:32.500Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:11:32.609Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:11:32.616Z] $ docker exec 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 ssh-agent [2023-10-24T18:11:32.719Z] SSH_AUTH_SOCK=/tmp/ssh-ozopUaEn8XDX/agent.70 [2023-10-24T18:11:32.719Z] SSH_AGENT_PID=76 [2023-10-24T18:11:32.724Z] Running ssh-add (command line suppressed) [2023-10-24T18:11:32.827Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9682906943225964551.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9682906943225964551.key) [2023-10-24T18:11:32.842Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:11:33.128Z] + git semver init [2023-10-24T18:11:33.387Z] 2023-10-24 18:11:33,322 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T18:11:33.387Z] 2023-10-24 18:11:33,323 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-24T18:11:33.387Z] 2023-10-24 18:11:33,323 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-24T18:11:33.387Z] 2023-10-24 18:11:33,323 [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-10-24T18:11:34.765Z] 2023-10-24 18:11:34,434 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-10-24T18:11:34.765Z] 2023-10-24 18:11:34,435 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-10-24T18:11:34.765Z] 2023-10-24 18:11:34,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:11:34.765Z] 2023-10-24 18:11:34,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:11:34.765Z] 3.1.0-dev.18 [Pipeline] } [2023-10-24T18:11:34.777Z] $ docker exec --env ******** --env ******** 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 ssh-agent -k [2023-10-24T18:11:34.873Z] unset SSH_AUTH_SOCK; [2023-10-24T18:11:34.873Z] unset SSH_AGENT_PID; [2023-10-24T18:11:34.873Z] echo Agent pid 76 killed; [2023-10-24T18:11:34.881Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:11:35.186Z] + git semver [Pipeline] } [2023-10-24T18:11:35.462Z] $ docker stop --time=1 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 [2023-10-24T18:11:36.773Z] $ docker rm -f --volumes 136faa5c73558e8e1a4ac6c3b7324d0bd736532c8f164f55cdc0737c8b719c51 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:11:37.108Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T18:11:37.331Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T18:11:37.334Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [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-10-24T18:11:37.485Z] provisioning config files... [2023-10-24T18:11:37.495Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2251538970713346645tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:11:37.790Z] ---> docker-login.sh [2023-10-24T18:11:37.791Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:11:37.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:37.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:37.791Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:37.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:37.791Z] [2023-10-24T18:11:37.791Z] Login Succeeded [2023-10-24T18:11:37.791Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:11:38.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:38.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:38.051Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:38.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:38.051Z] [2023-10-24T18:11:38.051Z] Login Succeeded [2023-10-24T18:11:38.051Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:11:38.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:38.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:38.051Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:38.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:38.051Z] [2023-10-24T18:11:38.051Z] Login Succeeded [2023-10-24T18:11:38.051Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:11:38.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:38.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:38.310Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:38.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:38.310Z] [2023-10-24T18:11:38.310Z] Login Succeeded [2023-10-24T18:11:38.310Z] docker.io [2023-10-24T18:11:38.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:11:38.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:11:38.569Z] Configure a credential helper to remove this warning. See [2023-10-24T18:11:38.569Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:11:38.569Z] [2023-10-24T18:11:38.569Z] Login Succeeded [2023-10-24T18:11:38.569Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:11:38.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:11:38.634Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:11:38.647Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:11:38.656Z] ========================================================= [2023-10-24T18:11:38.656Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T18:11:38.656Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:11:38.970Z] + 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-10-24T18:11:38.970Z] Sending build context to Docker daemon 16.16MB [2023-10-24T18:11:38.970Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:11:38.970Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:11:38.970Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T18:11:38.970Z] 7264a8db6415: Pulling fs layer [2023-10-24T18:11:38.970Z] c4d48a809fc2: Pulling fs layer [2023-10-24T18:11:38.970Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T18:11:38.970Z] ad3a456e5733: Pulling fs layer [2023-10-24T18:11:38.970Z] 33e27b845d1e: Pulling fs layer [2023-10-24T18:11:38.970Z] c68163c4e522: Pulling fs layer [2023-10-24T18:11:38.970Z] 50da416c3ac9: Pulling fs layer [2023-10-24T18:11:38.970Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T18:11:38.970Z] ad3a456e5733: Waiting [2023-10-24T18:11:38.970Z] 23d2d4c4bb30: Waiting [2023-10-24T18:11:38.970Z] 50da416c3ac9: Waiting [2023-10-24T18:11:38.970Z] 33e27b845d1e: Waiting [2023-10-24T18:11:39.229Z] c4d48a809fc2: Download complete [2023-10-24T18:11:39.229Z] ad3a456e5733: Download complete [2023-10-24T18:11:39.229Z] 33e27b845d1e: Download complete [2023-10-24T18:11:39.229Z] 7264a8db6415: Verifying Checksum [2023-10-24T18:11:39.229Z] c68163c4e522: Verifying Checksum [2023-10-24T18:11:39.229Z] c68163c4e522: Download complete [2023-10-24T18:11:39.229Z] 7264a8db6415: Pull complete [2023-10-24T18:11:39.487Z] c4d48a809fc2: Pull complete [2023-10-24T18:11:39.487Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T18:11:39.487Z] 23d2d4c4bb30: Download complete [2023-10-24T18:11:39.487Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T18:11:39.487Z] 4f1c88b9dad5: Download complete [2023-10-24T18:11:40.052Z] 50da416c3ac9: Verifying Checksum [2023-10-24T18:11:40.052Z] 50da416c3ac9: Download complete [2023-10-24T18:11:42.581Z] 4f1c88b9dad5: Pull complete [2023-10-24T18:11:42.581Z] ad3a456e5733: Pull complete [2023-10-24T18:11:42.581Z] 33e27b845d1e: Pull complete [2023-10-24T18:11:42.839Z] c68163c4e522: Pull complete [2023-10-24T18:11:45.376Z] 50da416c3ac9: Pull complete [2023-10-24T18:11:45.376Z] 23d2d4c4bb30: Pull complete [2023-10-24T18:11:45.376Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T18:11:45.376Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T18:11:45.376Z] ---> 0786185ac409 [2023-10-24T18:11:45.376Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:11:51.944Z] ---> Running in 97141b081eb3 [2023-10-24T18:11:51.944Z] Removing intermediate container 97141b081eb3 [2023-10-24T18:11:51.944Z] ---> 57f05f42349c [2023-10-24T18:11:51.944Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:11:51.944Z] ---> Running in 939b3da59c4e [2023-10-24T18:11:52.202Z] Removing intermediate container 939b3da59c4e [2023-10-24T18:11:52.202Z] ---> 645313c1da40 [2023-10-24T18:11:52.202Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:11:52.202Z] ---> Running in e92809404032 [2023-10-24T18:11:52.202Z] Removing intermediate container e92809404032 [2023-10-24T18:11:52.202Z] ---> c964d50338d0 [2023-10-24T18:11:52.202Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:11:52.202Z] ---> Running in cf557eaea04a [2023-10-24T18:11:52.202Z] Removing intermediate container cf557eaea04a [2023-10-24T18:11:52.202Z] ---> b66cbc376bbd [2023-10-24T18:11:52.202Z] Step 7/12 : WORKDIR /device-gpio [2023-10-24T18:11:52.447Z] Still waiting to schedule task [2023-10-24T18:11:52.447Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9983’ [2023-10-24T18:11:52.460Z] ---> Running in fa517e826f70 [2023-10-24T18:11:52.460Z] Removing intermediate container fa517e826f70 [2023-10-24T18:11:52.460Z] ---> 82cfd9283a62 [2023-10-24T18:11:52.460Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:11:52.460Z] ---> Running in 064680db9a98 [2023-10-24T18:11:52.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:11:52.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:11:52.976Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:11:52.976Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:11:52.976Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:11:52.976Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:11:52.976Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:11:52.976Z] OK: 268 MiB in 56 packages [2023-10-24T18:11:53.542Z] Removing intermediate container 064680db9a98 [2023-10-24T18:11:53.542Z] ---> a146dd8d043f [2023-10-24T18:11:53.542Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:11:53.804Z] ---> cee20eacb940 [2023-10-24T18:11:53.804Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:11:53.804Z] ---> Running in bb795385d387 [2023-10-24T18:13:01.590Z] Removing intermediate container bb795385d387 [2023-10-24T18:13:01.590Z] ---> dbdba0a3874f [2023-10-24T18:13:01.590Z] Step 11/12 : COPY . . [2023-10-24T18:13:01.590Z] ---> 9b1780424510 [2023-10-24T18:13:01.590Z] Step 12/12 : RUN ${MAKE} [2023-10-24T18:13:01.590Z] ---> Running in 08c69415558a [2023-10-24T18:13:01.590Z] noop [2023-10-24T18:13:01.590Z] Removing intermediate container 08c69415558a [2023-10-24T18:13:01.590Z] ---> 4aba703c7c4f [2023-10-24T18:13:01.590Z] Successfully built 4aba703c7c4f [2023-10-24T18:13:01.590Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:01.893Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:13:01.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:13:01.959Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:13:01.991Z] $ 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-10-24T18:13:02.332Z] $ docker top 3160379e1c8cc74285a709bfb12f135e755664cc14dbd59c79d7bb46239108d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:13:02.663Z] + go version [2023-10-24T18:13:02.663Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T18:13:02.675Z] $ docker stop --time=1 3160379e1c8cc74285a709bfb12f135e755664cc14dbd59c79d7bb46239108d4 [2023-10-24T18:13:03.953Z] $ docker rm -f --volumes 3160379e1c8cc74285a709bfb12f135e755664cc14dbd59c79d7bb46239108d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:04.352Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:13:04.352Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:13:04.421Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:13:04.460Z] $ 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-10-24T18:13:04.758Z] $ docker top 774e5b516dfd97d4f273de8c2f810c14c51a01c3363b89b282c97a41d96c5ffc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:13:05.090Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:13:05.383Z] + make test [2023-10-24T18:13:05.383Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:13:06.759Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-24T18:13:16.741Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-24T18:13:16.741Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-24T18:13:21.995Z] go vet ./... [2023-10-24T18:13:24.518Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:13:24.518Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:13:24.518Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:13:24.785Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:13:24.798Z] $ docker stop --time=1 774e5b516dfd97d4f273de8c2f810c14c51a01c3363b89b282c97a41d96c5ffc [2023-10-24T18:13:28.810Z] $ docker rm -f --volumes 774e5b516dfd97d4f273de8c2f810c14c51a01c3363b89b282c97a41d96c5ffc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:13:29.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:13:29.320Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T18:13:29.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:13:30.135Z] + ls -al . [2023-10-24T18:13:30.135Z] total 160 [2023-10-24T18:13:30.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 . [2023-10-24T18:13:30.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:11 .. [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:11 .dockerignore [2023-10-24T18:13:30.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:13 .git [2023-10-24T18:13:30.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 .github [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:11 .gitignore [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:11 .golangci.yml [2023-10-24T18:13:30.136Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:11 .semver [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:11 Attribution.txt [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:11 CHANGELOG.md [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:11 Dockerfile [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:11 GOVERNANCE.md [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:11 Jenkinsfile [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:11 LICENSE [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:11 Makefile [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:11 OWNERS.md [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:11 README.md [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:11 VERSION [2023-10-24T18:13:30.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:11 bin [2023-10-24T18:13:30.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 cmd [2023-10-24T18:13:30.136Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:13 coverage.out [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:11 go.mod [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:11 go.sum [2023-10-24T18:13:30.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:11 internal [2023-10-24T18:13:30.136Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:30.506Z] + 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=1df392e582ed32cc3ab577300f501a2f57a85edb --label arch=amd64 --label version=3.1.0-dev.18 . [2023-10-24T18:13:30.506Z] Sending build context to Docker daemon 16.16MB [2023-10-24T18:13:30.506Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:13:30.506Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:13:30.506Z] ---> 4aba703c7c4f [2023-10-24T18:13:30.506Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:13:30.763Z] ---> Running in 2cf9f2fa8563 [2023-10-24T18:13:30.763Z] Removing intermediate container 2cf9f2fa8563 [2023-10-24T18:13:30.763Z] ---> 50c5709d7973 [2023-10-24T18:13:30.763Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:13:30.763Z] ---> Running in f12fa57b3964 [2023-10-24T18:13:31.024Z] Removing intermediate container f12fa57b3964 [2023-10-24T18:13:31.024Z] ---> 7b2b1747298a [2023-10-24T18:13:31.024Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:13:31.024Z] ---> Running in 6a58bcfcdd67 [2023-10-24T18:13:31.024Z] Removing intermediate container 6a58bcfcdd67 [2023-10-24T18:13:31.024Z] ---> 32ae85f67fc4 [2023-10-24T18:13:31.024Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:13:31.024Z] ---> Running in 60287173f42d [2023-10-24T18:13:31.024Z] Removing intermediate container 60287173f42d [2023-10-24T18:13:31.024Z] ---> 9a477eaa7d3a [2023-10-24T18:13:31.024Z] Step 7/25 : WORKDIR /device-gpio [2023-10-24T18:13:31.024Z] ---> Running in 7699a9ea96ec [2023-10-24T18:13:31.282Z] Removing intermediate container 7699a9ea96ec [2023-10-24T18:13:31.282Z] ---> 3bb653843531 [2023-10-24T18:13:31.282Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:13:31.282Z] ---> Running in 2644ed6d4e40 [2023-10-24T18:13:31.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:31.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:31.797Z] OK: 268 MiB in 56 packages [2023-10-24T18:13:32.056Z] Removing intermediate container 2644ed6d4e40 [2023-10-24T18:13:32.056Z] ---> 62e8e5af3a7e [2023-10-24T18:13:32.056Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:13:32.056Z] ---> 84f95c69c8a1 [2023-10-24T18:13:32.056Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:13:32.056Z] ---> Running in 5972a8948fb7 [2023-10-24T18:13:33.189Z] Removing intermediate container 5972a8948fb7 [2023-10-24T18:13:33.189Z] ---> f7c8744671bd [2023-10-24T18:13:33.189Z] Step 11/25 : COPY . . [2023-10-24T18:13:33.452Z] ---> 7a0ead29c47b [2023-10-24T18:13:33.452Z] Step 12/25 : RUN ${MAKE} [2023-10-24T18:13:33.452Z] ---> Running in 7475044d265e [2023-10-24T18:13:33.709Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-24T18:13:55.723Z] Removing intermediate container 7475044d265e [2023-10-24T18:13:55.723Z] ---> 32a66c020e83 [2023-10-24T18:13:55.723Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:13:55.723Z] 3.18: Pulling from library/alpine [2023-10-24T18:13:55.723Z] 96526aa774ef: Pulling fs layer [2023-10-24T18:13:55.723Z] 96526aa774ef: Verifying Checksum [2023-10-24T18:13:55.723Z] 96526aa774ef: Download complete [2023-10-24T18:13:55.723Z] 96526aa774ef: Pull complete [2023-10-24T18:13:55.723Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:13:55.723Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:13:55.723Z] ---> 8ca4688f4f35 [2023-10-24T18:13:55.723Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-24T18:13:55.723Z] ---> Running in 62498fe7a6c6 [2023-10-24T18:13:55.723Z] Removing intermediate container 62498fe7a6c6 [2023-10-24T18:13:55.723Z] ---> 2e2fd71f964d [2023-10-24T18:13:55.723Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-24T18:13:55.723Z] ---> Running in 80bd8d877eba [2023-10-24T18:13:55.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:55.723Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:13:55.723Z] OK: 7 MiB in 15 packages [2023-10-24T18:13:55.723Z] Removing intermediate container 80bd8d877eba [2023-10-24T18:13:55.723Z] ---> 2a08ed31c754 [2023-10-24T18:13:55.723Z] Step 16/25 : WORKDIR / [2023-10-24T18:13:55.723Z] ---> Running in aeaff2d8d717 [2023-10-24T18:13:55.723Z] Removing intermediate container aeaff2d8d717 [2023-10-24T18:13:55.723Z] ---> ebc0205bbfd9 [2023-10-24T18:13:55.723Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-24T18:13:55.723Z] ---> 9ecab35993be [2023-10-24T18:13:55.723Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-24T18:13:55.723Z] ---> e55434dea313 [2023-10-24T18:13:55.723Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-24T18:13:55.982Z] ---> 66af32ce0cd9 [2023-10-24T18:13:55.982Z] Step 20/25 : EXPOSE 59910 [2023-10-24T18:13:55.983Z] ---> Running in f2b63b96801b [2023-10-24T18:13:55.983Z] Removing intermediate container f2b63b96801b [2023-10-24T18:13:55.983Z] ---> b5e463841f74 [2023-10-24T18:13:55.983Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-24T18:13:55.983Z] ---> Running in 30133b840a91 [2023-10-24T18:13:55.983Z] Removing intermediate container 30133b840a91 [2023-10-24T18:13:55.983Z] ---> aa7d7861a433 [2023-10-24T18:13:55.983Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:13:55.983Z] ---> Running in 12cbb2c09167 [2023-10-24T18:13:56.241Z] Removing intermediate container 12cbb2c09167 [2023-10-24T18:13:56.241Z] ---> 8463ec703fd1 [2023-10-24T18:13:56.241Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T18:13:56.241Z] ---> Running in 9569a1a1fb86 [2023-10-24T18:13:56.241Z] Removing intermediate container 9569a1a1fb86 [2023-10-24T18:13:56.241Z] ---> f3144f24f390 [2023-10-24T18:13:56.241Z] Step 24/25 : LABEL git_sha=1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:13:56.241Z] ---> Running in 4fa77659874f [2023-10-24T18:13:56.241Z] Removing intermediate container 4fa77659874f [2023-10-24T18:13:56.241Z] ---> b883fdb0bf76 [2023-10-24T18:13:56.241Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-10-24T18:13:56.241Z] ---> Running in 681d2af1541f [2023-10-24T18:13:56.500Z] Removing intermediate container 681d2af1541f [2023-10-24T18:13:56.500Z] ---> d1a8ac67294e [2023-10-24T18:13:56.500Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:13:56.500Z] Successfully built d1a8ac67294e [2023-10-24T18:13:56.500Z] 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-10-24T18:13:56.621Z] provisioning config files... [2023-10-24T18:13:56.630Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4081847661359380315tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:13:56.923Z] ---> docker-login.sh [2023-10-24T18:13:56.923Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:13:56.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:13:56.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:13:56.923Z] Configure a credential helper to remove this warning. See [2023-10-24T18:13:56.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:13:56.923Z] [2023-10-24T18:13:56.923Z] Login Succeeded [2023-10-24T18:13:56.923Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:13:56.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:13:56.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:13:56.923Z] Configure a credential helper to remove this warning. See [2023-10-24T18:13:56.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:13:56.924Z] [2023-10-24T18:13:56.924Z] Login Succeeded [2023-10-24T18:13:56.924Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:13:57.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:13:57.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:13:57.181Z] Configure a credential helper to remove this warning. See [2023-10-24T18:13:57.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:13:57.181Z] [2023-10-24T18:13:57.181Z] Login Succeeded [2023-10-24T18:13:57.181Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:13:57.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:13:57.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:13:57.181Z] Configure a credential helper to remove this warning. See [2023-10-24T18:13:57.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:13:57.181Z] [2023-10-24T18:13:57.181Z] Login Succeeded [2023-10-24T18:13:57.181Z] docker.io [2023-10-24T18:13:57.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:13:57.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:13:57.697Z] Configure a credential helper to remove this warning. See [2023-10-24T18:13:57.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:13:57.697Z] [2023-10-24T18:13:57.697Z] Login Succeeded [2023-10-24T18:13:57.697Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:13:57.705Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:13:57.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:13:57.752Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-10-24T18:13:57.752Z] 1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:13:57.752Z] latest [2023-10-24T18:13:57.752Z] 3.1.0-dev.18 [2023-10-24T18:13:57.752Z] 1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:13:57.752Z] main [2023-10-24T18:13:57.752Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:58.069Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:13:58.370Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:13:58.370Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:13:58.370Z] ac02e8189367: Preparing [2023-10-24T18:13:58.370Z] 16a82c842d0e: Preparing [2023-10-24T18:13:58.370Z] a545efcef29b: Preparing [2023-10-24T18:13:58.370Z] 99eed34ad7e9: Preparing [2023-10-24T18:13:58.370Z] cc2447e1835a: Preparing [2023-10-24T18:13:58.370Z] cc2447e1835a: Layer already exists [2023-10-24T18:13:58.370Z] a545efcef29b: Pushed [2023-10-24T18:13:58.370Z] 99eed34ad7e9: Pushed [2023-10-24T18:13:58.370Z] 16a82c842d0e: Pushed [2023-10-24T18:14:00.898Z] ac02e8189367: Pushed [2023-10-24T18:14:00.898Z] 1df392e582ed32cc3ab577300f501a2f57a85edb: digest: sha256:f964c7711b2f41770c629cc03b935864111f4bc51d127688a4bf648434daa9d2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:01.204Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:01.503Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-24T18:14:01.503Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:14:01.503Z] ac02e8189367: Preparing [2023-10-24T18:14:01.503Z] 16a82c842d0e: Preparing [2023-10-24T18:14:01.503Z] a545efcef29b: Preparing [2023-10-24T18:14:01.503Z] 99eed34ad7e9: Preparing [2023-10-24T18:14:01.503Z] cc2447e1835a: Preparing [2023-10-24T18:14:01.503Z] a545efcef29b: Layer already exists [2023-10-24T18:14:01.503Z] ac02e8189367: Layer already exists [2023-10-24T18:14:01.503Z] 16a82c842d0e: Layer already exists [2023-10-24T18:14:01.503Z] 99eed34ad7e9: Layer already exists [2023-10-24T18:14:01.503Z] cc2447e1835a: Layer already exists [2023-10-24T18:14:01.503Z] latest: digest: sha256:f964c7711b2f41770c629cc03b935864111f4bc51d127688a4bf648434daa9d2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:01.808Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:02.107Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.18 [2023-10-24T18:14:02.108Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:14:02.108Z] ac02e8189367: Preparing [2023-10-24T18:14:02.108Z] 16a82c842d0e: Preparing [2023-10-24T18:14:02.108Z] a545efcef29b: Preparing [2023-10-24T18:14:02.108Z] 99eed34ad7e9: Preparing [2023-10-24T18:14:02.108Z] cc2447e1835a: Preparing [2023-10-24T18:14:02.108Z] 99eed34ad7e9: Layer already exists [2023-10-24T18:14:02.108Z] 16a82c842d0e: Layer already exists [2023-10-24T18:14:02.108Z] a545efcef29b: Layer already exists [2023-10-24T18:14:02.108Z] cc2447e1835a: Layer already exists [2023-10-24T18:14:02.108Z] ac02e8189367: Layer already exists [2023-10-24T18:14:02.108Z] 3.1.0-dev.18: digest: sha256:f964c7711b2f41770c629cc03b935864111f4bc51d127688a4bf648434daa9d2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:02.421Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:02.721Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:14:02.721Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:14:02.721Z] ac02e8189367: Preparing [2023-10-24T18:14:02.721Z] 16a82c842d0e: Preparing [2023-10-24T18:14:02.721Z] a545efcef29b: Preparing [2023-10-24T18:14:02.721Z] 99eed34ad7e9: Preparing [2023-10-24T18:14:02.721Z] cc2447e1835a: Preparing [2023-10-24T18:14:02.721Z] a545efcef29b: Layer already exists [2023-10-24T18:14:02.721Z] ac02e8189367: Layer already exists [2023-10-24T18:14:02.721Z] 16a82c842d0e: Layer already exists [2023-10-24T18:14:02.721Z] 99eed34ad7e9: Layer already exists [2023-10-24T18:14:02.721Z] cc2447e1835a: Layer already exists [2023-10-24T18:14:02.721Z] 1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18: digest: sha256:f964c7711b2f41770c629cc03b935864111f4bc51d127688a4bf648434daa9d2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:03.032Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:03.340Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-10-24T18:14:03.340Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:14:03.340Z] ac02e8189367: Preparing [2023-10-24T18:14:03.340Z] 16a82c842d0e: Preparing [2023-10-24T18:14:03.340Z] a545efcef29b: Preparing [2023-10-24T18:14:03.340Z] 99eed34ad7e9: Preparing [2023-10-24T18:14:03.340Z] cc2447e1835a: Preparing [2023-10-24T18:14:03.340Z] cc2447e1835a: Layer already exists [2023-10-24T18:14:03.340Z] a545efcef29b: Layer already exists [2023-10-24T18:14:03.340Z] 99eed34ad7e9: Layer already exists [2023-10-24T18:14:03.340Z] 16a82c842d0e: Layer already exists [2023-10-24T18:14:03.340Z] ac02e8189367: Layer already exists [2023-10-24T18:14:03.340Z] main: digest: sha256:f964c7711b2f41770c629cc03b935864111f4bc51d127688a4bf648434daa9d2 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:14:03.382Z] ===================================================== [Pipeline] echo [2023-10-24T18:14:03.392Z] taggedImages: [2023-10-24T18:14:03.392Z] - nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:14:03.392Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-24T18:14:03.392Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.18 [2023-10-24T18:14:03.392Z] - nexus3.edgexfoundry.org:10004/device-gpio:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:14:03.392Z] - 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-10-24T18:14:03.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:14:03.774Z] [2023-10-24T18:14:03.774Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:14:04.068Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:14:04.068Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T18:14:04.068Z] 5eb5b503b376: Pulling fs layer [2023-10-24T18:14:04.068Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T18:14:04.068Z] ec43610c2a17: Pulling fs layer [2023-10-24T18:14:04.068Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T18:14:04.068Z] 33b1e0a273af: Pulling fs layer [2023-10-24T18:14:04.068Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T18:14:04.068Z] 2f39f015ded8: Pulling fs layer [2023-10-24T18:14:04.068Z] 3a2ae6a8a46f: Waiting [2023-10-24T18:14:04.068Z] 33b1e0a273af: Waiting [2023-10-24T18:14:04.068Z] 5d3b04190fa2: Waiting [2023-10-24T18:14:04.068Z] 2f39f015ded8: Waiting [2023-10-24T18:14:04.068Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T18:14:04.068Z] 5c69ac0246d0: Download complete [2023-10-24T18:14:04.068Z] 3a2ae6a8a46f: Download complete [2023-10-24T18:14:04.068Z] 33b1e0a273af: Verifying Checksum [2023-10-24T18:14:04.068Z] 33b1e0a273af: Download complete [2023-10-24T18:14:04.068Z] 5d3b04190fa2: Download complete [2023-10-24T18:14:04.329Z] ec43610c2a17: Verifying Checksum [2023-10-24T18:14:04.329Z] ec43610c2a17: Download complete [2023-10-24T18:14:04.329Z] 5eb5b503b376: Verifying Checksum [2023-10-24T18:14:04.329Z] 5eb5b503b376: Download complete [2023-10-24T18:14:04.897Z] 2f39f015ded8: Download complete [2023-10-24T18:14:05.462Z] 5eb5b503b376: Pull complete [2023-10-24T18:14:05.718Z] 5c69ac0246d0: Pull complete [2023-10-24T18:14:05.977Z] ec43610c2a17: Pull complete [2023-10-24T18:14:05.977Z] 3a2ae6a8a46f: Pull complete [2023-10-24T18:14:06.236Z] 33b1e0a273af: Pull complete [2023-10-24T18:14:06.496Z] 5d3b04190fa2: Pull complete [2023-10-24T18:14:10.673Z] 2f39f015ded8: Pull complete [2023-10-24T18:14:10.673Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T18:14:10.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:14:10.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:14:10.757Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:14:10.790Z] $ 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-10-24T18:14:15.707Z] $ docker top 15f2078d7a02b1a80904119209443ca75042989ec012299b17b01dc0eaf57ddc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:14:16.075Z] ---> job-cost.sh [2023-10-24T18:14:16.075Z] lf-activate-venv: SKIPPING [2023-10-24T18:14:16.075Z] INFO: No Stack... [2023-10-24T18:14:16.333Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:14:16.591Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:14:16.882Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-10-24T18:14:16.882Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:14:16.892Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [2023-10-24T18:14:16.898Z] Resource [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] did not exist. Created. [2023-10-24T18:14:16.898Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:14:17.190Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T18:14:17.217Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:14:17.223Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:14:17.245Z] $ docker stop --time=1 15f2078d7a02b1a80904119209443ca75042989ec012299b17b01dc0eaf57ddc [2023-10-24T18:14:18.395Z] $ docker rm -f --volumes 15f2078d7a02b1a80904119209443ca75042989ec012299b17b01dc0eaf57ddc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T18:14:53.412Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10003 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-10-24T18:14:53.425Z] Running in /w/workspace/device-gpio/105 [Pipeline] { [Pipeline] checkout [2023-10-24T18:14:53.464Z] The recommended git tool is: git [2023-10-24T18:15:01.111Z] using credential edgex-jenkins-ssh [2023-10-24T18:15:01.133Z] Cloning the remote Git repository [2023-10-24T18:15:01.219Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-10-24T18:15:01.391Z] > git init /w/workspace/device-gpio/105 # timeout=10 [2023-10-24T18:15:01.658Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-10-24T18:15:01.660Z] > git --version # timeout=10 [2023-10-24T18:15:01.694Z] > git --version # 'git version 2.25.1' [2023-10-24T18:15:01.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:15:01.929Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:15:05.095Z] Avoid second fetch [2023-10-24T18:15:05.095Z] Checking out Revision 1df392e582ed32cc3ab577300f501a2f57a85edb (main) [2023-10-24T18:15:03.819Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-10-24T18:15:03.846Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:15:05.125Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:15:05.216Z] > git checkout -f 1df392e582ed32cc3ab577300f501a2f57a85edb # timeout=10 [2023-10-24T18:15:05.839Z] Commit message: "Merge pull request #205 from MonicaisHer/remove-snap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:15:06.974Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T18:15:06.974Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:15:06.974Z] Dload Upload Total Spent Left Speed [2023-10-24T18:15:06.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-10-24T18:15:07.801Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T18:15:08.172Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T18:15:08.172Z] + sudo tee /etc/docker/daemon.new [2023-10-24T18:15:08.172Z] { [2023-10-24T18:15:08.172Z] "registry-mirrors": [ [2023-10-24T18:15:08.172Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T18:15:08.172Z] ], [2023-10-24T18:15:08.172Z] "bip": "10.250.0.254/24", [2023-10-24T18:15:08.172Z] "hosts": [ [2023-10-24T18:15:08.172Z] "tcp://0.0.0.0:5555", [2023-10-24T18:15:08.172Z] "unix:///var/run/docker.sock" [2023-10-24T18:15:08.172Z] ], [2023-10-24T18:15:08.172Z] "mtu": 1458, [2023-10-24T18:15:08.172Z] "selinux-enabled": true, [2023-10-24T18:15:08.172Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T18:15:08.172Z] } [Pipeline] sh [2023-10-24T18:15:08.543Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T18:15:08.921Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:15:27.286Z] provisioning config files... [2023-10-24T18:15:27.320Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/105@tmp/config12380797804642324624tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:15:27.716Z] ---> docker-login.sh [2023-10-24T18:15:27.716Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:15:28.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:15:28.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:15:28.593Z] Configure a credential helper to remove this warning. See [2023-10-24T18:15:28.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:15:28.593Z] [2023-10-24T18:15:28.593Z] Login Succeeded [2023-10-24T18:15:28.593Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:15:28.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:15:28.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:15:28.875Z] Configure a credential helper to remove this warning. See [2023-10-24T18:15:28.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:15:28.875Z] [2023-10-24T18:15:28.875Z] Login Succeeded [2023-10-24T18:15:29.160Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:15:29.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:15:29.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:15:29.436Z] Configure a credential helper to remove this warning. See [2023-10-24T18:15:29.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:15:29.436Z] [2023-10-24T18:15:29.436Z] Login Succeeded [2023-10-24T18:15:29.436Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:15:29.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:15:30.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:15:30.008Z] Configure a credential helper to remove this warning. See [2023-10-24T18:15:30.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:15:30.008Z] [2023-10-24T18:15:30.008Z] Login Succeeded [2023-10-24T18:15:30.008Z] docker.io [2023-10-24T18:15:30.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:15:30.891Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:15:30.891Z] Configure a credential helper to remove this warning. See [2023-10-24T18:15:30.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:15:30.891Z] [2023-10-24T18:15:30.891Z] Login Succeeded [2023-10-24T18:15:30.891Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:15:30.911Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:15:31.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:15:31.301Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:15:31.312Z] ========================================================= [2023-10-24T18:15:31.312Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T18:15:31.312Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:15:31.681Z] + 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-10-24T18:15:31.971Z] Sending build context to Docker daemon 8.142MB [2023-10-24T18:15:32.242Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:15:32.242Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:15:32.517Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T18:15:32.517Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T18:15:32.517Z] 5d54e960e981: Pulling fs layer [2023-10-24T18:15:32.517Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T18:15:32.517Z] f0e02332f6b5: Pulling fs layer [2023-10-24T18:15:32.517Z] cefa15bbcfad: Pulling fs layer [2023-10-24T18:15:32.517Z] 17808c966233: Pulling fs layer [2023-10-24T18:15:32.517Z] f4c1fc716caa: Pulling fs layer [2023-10-24T18:15:32.517Z] f0e02332f6b5: Waiting [2023-10-24T18:15:32.517Z] cefa15bbcfad: Waiting [2023-10-24T18:15:32.517Z] 17808c966233: Waiting [2023-10-24T18:15:32.517Z] f4c1fc716caa: Waiting [2023-10-24T18:15:32.517Z] 5d54e960e981: Download complete [2023-10-24T18:15:32.517Z] f0e02332f6b5: Download complete [2023-10-24T18:15:32.517Z] cefa15bbcfad: Verifying Checksum [2023-10-24T18:15:32.517Z] cefa15bbcfad: Download complete [2023-10-24T18:15:32.517Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T18:15:32.517Z] 9fda8d8052c6: Download complete [2023-10-24T18:15:33.126Z] f4c1fc716caa: Verifying Checksum [2023-10-24T18:15:33.126Z] f4c1fc716caa: Download complete [2023-10-24T18:15:33.724Z] 9fda8d8052c6: Pull complete [2023-10-24T18:15:34.341Z] 5d54e960e981: Pull complete [2023-10-24T18:15:34.615Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T18:15:34.615Z] c4a7e357bf2a: Download complete [2023-10-24T18:15:35.591Z] 17808c966233: Verifying Checksum [2023-10-24T18:15:35.591Z] 17808c966233: Download complete [2023-10-24T18:15:50.664Z] c4a7e357bf2a: Pull complete [2023-10-24T18:15:50.664Z] f0e02332f6b5: Pull complete [2023-10-24T18:15:50.664Z] cefa15bbcfad: Pull complete [2023-10-24T18:15:59.059Z] 17808c966233: Pull complete [2023-10-24T18:15:59.656Z] f4c1fc716caa: Pull complete [2023-10-24T18:15:59.656Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T18:15:59.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T18:15:59.656Z] ---> ea914061e18c [2023-10-24T18:15:59.656Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:16:00.629Z] ---> Running in 6c68261e7284 [2023-10-24T18:16:00.900Z] Removing intermediate container 6c68261e7284 [2023-10-24T18:16:00.900Z] ---> f6645860d553 [2023-10-24T18:16:00.900Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:16:01.167Z] ---> Running in 7e16aac041e2 [2023-10-24T18:16:01.436Z] Removing intermediate container 7e16aac041e2 [2023-10-24T18:16:01.436Z] ---> 402ac8708098 [2023-10-24T18:16:01.436Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:16:01.436Z] ---> Running in e0bcf4a36399 [2023-10-24T18:16:02.031Z] Removing intermediate container e0bcf4a36399 [2023-10-24T18:16:02.031Z] ---> d7c960c66ea5 [2023-10-24T18:16:02.031Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:16:02.031Z] ---> Running in 9de3607a06bf [2023-10-24T18:16:02.299Z] Removing intermediate container 9de3607a06bf [2023-10-24T18:16:02.299Z] ---> 7b9afeceb263 [2023-10-24T18:16:02.299Z] Step 7/12 : WORKDIR /device-gpio [2023-10-24T18:16:02.569Z] ---> Running in 944fced9bd4b [2023-10-24T18:16:02.840Z] Removing intermediate container 944fced9bd4b [2023-10-24T18:16:02.840Z] ---> 845fb46cbba6 [2023-10-24T18:16:02.840Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:16:03.110Z] ---> Running in 83a7ec630b81 [2023-10-24T18:16:04.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:16:04.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:16:06.087Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:16:06.087Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:16:06.087Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:16:06.371Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:16:06.371Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:16:06.372Z] OK: 270 MiB in 56 packages [2023-10-24T18:16:07.795Z] Removing intermediate container 83a7ec630b81 [2023-10-24T18:16:07.795Z] ---> 4040d6e428c4 [2023-10-24T18:16:07.795Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:16:08.391Z] ---> feb1e408c932 [2023-10-24T18:16:08.391Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:16:08.391Z] ---> Running in 33dd595682f8 [2023-10-24T18:18:00.208Z] Removing intermediate container 33dd595682f8 [2023-10-24T18:18:00.208Z] ---> de83a0728d7b [2023-10-24T18:18:00.208Z] Step 11/12 : COPY . . [2023-10-24T18:18:00.208Z] ---> 21fe019861d8 [2023-10-24T18:18:00.208Z] Step 12/12 : RUN ${MAKE} [2023-10-24T18:18:00.208Z] ---> Running in f66954028324 [2023-10-24T18:18:00.208Z] noop [2023-10-24T18:18:00.208Z] Removing intermediate container f66954028324 [2023-10-24T18:18:00.208Z] ---> 166d2d224d60 [2023-10-24T18:18:00.208Z] Successfully built 166d2d224d60 [2023-10-24T18:18:00.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:18:00.595Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:18:00.595Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:18:00.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-10003 does not seem to be running inside a container [2023-10-24T18:18:00.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/105 -v /w/workspace/device-gpio/105:/w/workspace/device-gpio/105:rw,z -v /w/workspace/device-gpio/105@tmp:/w/workspace/device-gpio/105@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 ******** ci-base-image-arm64 cat [2023-10-24T18:18:02.709Z] $ docker top 637391b99ad35d497eaa092aea39d534be8e9126fcdf1ac60ed04605e83e89ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:18:03.675Z] + go version [2023-10-24T18:18:03.675Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T18:18:03.706Z] $ docker stop --time=1 637391b99ad35d497eaa092aea39d534be8e9126fcdf1ac60ed04605e83e89ae [2023-10-24T18:18:05.580Z] $ docker rm -f --volumes 637391b99ad35d497eaa092aea39d534be8e9126fcdf1ac60ed04605e83e89ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:18:06.192Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:18:06.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:18:06.418Z] prd-ubuntu20.04-docker-arm64-4c-16g-10003 does not seem to be running inside a container [2023-10-24T18:18:06.528Z] $ 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/105 -v /w/workspace/device-gpio/105:/w/workspace/device-gpio/105:rw,z -v /w/workspace/device-gpio/105@tmp:/w/workspace/device-gpio/105@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 ******** ci-base-image-arm64 cat [2023-10-24T18:18:07.992Z] $ docker top 901dfc4f697da9ed40bb4e6c946364b1a3d5810e4d0c9b6c5db6e3928c8bb7ba -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:18:08.897Z] + git config --global --add safe.directory /w/workspace/device-gpio/105 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:18:09.842Z] + make test [2023-10-24T18:18:09.842Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:18:15.252Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-24T18:20:37.138Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-24T18:20:37.138Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-24T18:20:37.138Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T18:20:37.138Z] go vet ./... [2023-10-24T18:21:09.464Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:21:09.464Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:21:09.464Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:21:09.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:21:09.518Z] $ docker stop --time=1 901dfc4f697da9ed40bb4e6c946364b1a3d5810e4d0c9b6c5db6e3928c8bb7ba [2023-10-24T18:21:14.665Z] $ docker rm -f --volumes 901dfc4f697da9ed40bb4e6c946364b1a3d5810e4d0c9b6c5db6e3928c8bb7ba [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:21:16.027Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:21:16.053Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T18:21:16.665Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:21:17.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:21:17.386Z] + ls -al . [2023-10-24T18:21:17.386Z] total 156 [2023-10-24T18:21:17.386Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:18 . [2023-10-24T18:21:17.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:15 .. [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:15 .dockerignore [2023-10-24T18:21:17.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:15 .git [2023-10-24T18:21:17.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:15 .github [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:15 .gitignore [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:15 .golangci.yml [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:15 Attribution.txt [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:15 CHANGELOG.md [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:15 Dockerfile [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:15 GOVERNANCE.md [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:15 Jenkinsfile [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:15 LICENSE [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:15 Makefile [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:15 OWNERS.md [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:15 README.md [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:11 VERSION [2023-10-24T18:21:17.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:15 bin [2023-10-24T18:21:17.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:15 cmd [2023-10-24T18:21:17.386Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:18 coverage.out [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:15 go.mod [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:15 go.sum [2023-10-24T18:21:17.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:15 internal [2023-10-24T18:21:17.386Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:21:17.756Z] + 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=1df392e582ed32cc3ab577300f501a2f57a85edb --label arch=arm64 --label version=3.1.0-dev.18 . [2023-10-24T18:21:18.350Z] Sending build context to Docker daemon 8.143MB [2023-10-24T18:21:18.350Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:21:18.350Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:21:18.350Z] ---> 166d2d224d60 [2023-10-24T18:21:18.350Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:21:18.621Z] ---> Running in a4d652115c7d [2023-10-24T18:21:18.941Z] Removing intermediate container a4d652115c7d [2023-10-24T18:21:18.941Z] ---> 95241c4c3538 [2023-10-24T18:21:18.941Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:21:18.941Z] ---> Running in b5eae820f910 [2023-10-24T18:21:19.532Z] Removing intermediate container b5eae820f910 [2023-10-24T18:21:19.532Z] ---> c21e24dff577 [2023-10-24T18:21:19.532Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:21:19.532Z] ---> Running in 0a2a8bcd28d3 [2023-10-24T18:21:19.813Z] Removing intermediate container 0a2a8bcd28d3 [2023-10-24T18:21:19.813Z] ---> aad4611d0a0e [2023-10-24T18:21:19.813Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:21:20.088Z] ---> Running in 22d2f747f652 [2023-10-24T18:21:20.362Z] Removing intermediate container 22d2f747f652 [2023-10-24T18:21:20.362Z] ---> a260f823390f [2023-10-24T18:21:20.362Z] Step 7/25 : WORKDIR /device-gpio [2023-10-24T18:21:20.639Z] ---> Running in fa7d63995330 [2023-10-24T18:21:20.915Z] Removing intermediate container fa7d63995330 [2023-10-24T18:21:20.915Z] ---> ec92e3447568 [2023-10-24T18:21:20.916Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:21:21.192Z] ---> Running in 73d38a81090b [2023-10-24T18:21:22.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:21:22.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:21:24.356Z] OK: 270 MiB in 56 packages [2023-10-24T18:21:26.963Z] Removing intermediate container 73d38a81090b [2023-10-24T18:21:26.963Z] ---> f41ff606776f [2023-10-24T18:21:26.963Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:21:27.563Z] ---> cebd70e267f3 [2023-10-24T18:21:27.563Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:21:27.563Z] ---> Running in 6aa852497e69 [2023-10-24T18:21:30.178Z] Removing intermediate container 6aa852497e69 [2023-10-24T18:21:30.178Z] ---> 25da48c4902f [2023-10-24T18:21:30.178Z] Step 11/25 : COPY . . [2023-10-24T18:21:31.155Z] ---> 27fb3a7db231 [2023-10-24T18:21:31.155Z] Step 12/25 : RUN ${MAKE} [2023-10-24T18:21:31.427Z] ---> Running in 0c22673725d8 [2023-10-24T18:21:32.398Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-24T18:24:09.280Z] Removing intermediate container 0c22673725d8 [2023-10-24T18:24:09.280Z] ---> db8310cd8ca7 [2023-10-24T18:24:09.280Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:24:09.280Z] 3.18: Pulling from library/alpine [2023-10-24T18:24:09.280Z] 579b34f0a95b: Pulling fs layer [2023-10-24T18:24:09.280Z] 579b34f0a95b: Download complete [2023-10-24T18:24:09.280Z] 579b34f0a95b: Pull complete [2023-10-24T18:24:09.280Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:24:09.280Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:24:09.280Z] ---> 3cc203321400 [2023-10-24T18:24:09.280Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-24T18:24:09.280Z] ---> Running in 76754009c737 [2023-10-24T18:24:09.280Z] Removing intermediate container 76754009c737 [2023-10-24T18:24:09.280Z] ---> 45d3cab33a33 [2023-10-24T18:24:09.280Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-24T18:24:09.280Z] ---> Running in 31fbb08b8612 [2023-10-24T18:24:09.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:24:09.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:24:09.280Z] OK: 8 MiB in 15 packages [2023-10-24T18:24:09.280Z] Removing intermediate container 31fbb08b8612 [2023-10-24T18:24:09.280Z] ---> bd22058e5e14 [2023-10-24T18:24:09.280Z] Step 16/25 : WORKDIR / [2023-10-24T18:24:09.280Z] ---> Running in 835b13f6d3b6 [2023-10-24T18:24:09.280Z] Removing intermediate container 835b13f6d3b6 [2023-10-24T18:24:09.280Z] ---> 9c8a6edf3c3e [2023-10-24T18:24:09.280Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-24T18:24:09.280Z] ---> 804ec8972b15 [2023-10-24T18:24:09.280Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-24T18:24:09.280Z] ---> cadc54dfb123 [2023-10-24T18:24:09.280Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-24T18:24:10.690Z] ---> c4736f60ae31 [2023-10-24T18:24:10.690Z] Step 20/25 : EXPOSE 59910 [2023-10-24T18:24:10.690Z] ---> Running in 71793fbf5d70 [2023-10-24T18:24:11.275Z] Removing intermediate container 71793fbf5d70 [2023-10-24T18:24:11.275Z] ---> d02d87d59538 [2023-10-24T18:24:11.275Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-24T18:24:11.275Z] ---> Running in a7f5d495e8de [2023-10-24T18:24:11.542Z] Removing intermediate container a7f5d495e8de [2023-10-24T18:24:11.542Z] ---> ea8a78312b5d [2023-10-24T18:24:11.542Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:24:11.816Z] ---> Running in f87ad7fe9f6d [2023-10-24T18:24:12.088Z] Removing intermediate container f87ad7fe9f6d [2023-10-24T18:24:12.088Z] ---> 629a973dcd16 [2023-10-24T18:24:12.088Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T18:24:12.088Z] ---> Running in 6c433371a5b6 [2023-10-24T18:24:12.688Z] Removing intermediate container 6c433371a5b6 [2023-10-24T18:24:12.688Z] ---> 796428e8f000 [2023-10-24T18:24:12.688Z] Step 24/25 : LABEL git_sha=1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:24:12.688Z] ---> Running in cd56e89563e7 [2023-10-24T18:24:12.968Z] Removing intermediate container cd56e89563e7 [2023-10-24T18:24:12.968Z] ---> af0f87776123 [2023-10-24T18:24:12.968Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-10-24T18:24:13.242Z] ---> Running in c6143b003df8 [2023-10-24T18:24:13.509Z] Removing intermediate container c6143b003df8 [2023-10-24T18:24:13.509Z] ---> b9d70ab43788 [2023-10-24T18:24:13.509Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:24:13.509Z] Successfully built b9d70ab43788 [2023-10-24T18:24:13.509Z] 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-10-24T18:24:13.638Z] provisioning config files... [2023-10-24T18:24:13.654Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/105@tmp/config7151026021743053583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:24:13.996Z] ---> docker-login.sh [2023-10-24T18:24:13.996Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:24:13.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:24:14.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:24:14.264Z] Configure a credential helper to remove this warning. See [2023-10-24T18:24:14.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:24:14.264Z] [2023-10-24T18:24:14.264Z] Login Succeeded [2023-10-24T18:24:14.264Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:24:14.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:24:14.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:24:14.799Z] Configure a credential helper to remove this warning. See [2023-10-24T18:24:14.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:24:14.799Z] [2023-10-24T18:24:14.799Z] Login Succeeded [2023-10-24T18:24:14.799Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:24:15.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:24:15.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:24:15.065Z] Configure a credential helper to remove this warning. See [2023-10-24T18:24:15.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:24:15.065Z] [2023-10-24T18:24:15.065Z] Login Succeeded [2023-10-24T18:24:15.065Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:24:15.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:24:15.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:24:15.600Z] Configure a credential helper to remove this warning. See [2023-10-24T18:24:15.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:24:15.600Z] [2023-10-24T18:24:15.600Z] Login Succeeded [2023-10-24T18:24:15.600Z] docker.io [2023-10-24T18:24:15.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:24:16.137Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:24:16.137Z] Configure a credential helper to remove this warning. See [2023-10-24T18:24:16.137Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:24:16.137Z] [2023-10-24T18:24:16.137Z] Login Succeeded [2023-10-24T18:24:16.137Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:24:16.149Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:24:16.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:24:16.190Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-10-24T18:24:16.190Z] 1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:24:16.190Z] latest [2023-10-24T18:24:16.190Z] 3.1.0-dev.18 [2023-10-24T18:24:16.190Z] 1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:24:16.190Z] main [2023-10-24T18:24:16.190Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:16.536Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:16.890Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:24:16.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:24:16.890Z] 31b75c901cbf: Preparing [2023-10-24T18:24:16.890Z] 5b278f14d45f: Preparing [2023-10-24T18:24:16.890Z] a07b280eb114: Preparing [2023-10-24T18:24:16.890Z] 15d38a170411: Preparing [2023-10-24T18:24:16.890Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:24:16.890Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:24:17.158Z] a07b280eb114: Pushed [2023-10-24T18:24:17.158Z] 5b278f14d45f: Pushed [2023-10-24T18:24:17.158Z] 15d38a170411: Pushed [2023-10-24T18:24:23.937Z] 31b75c901cbf: Pushed [2023-10-24T18:24:23.937Z] 1df392e582ed32cc3ab577300f501a2f57a85edb: digest: sha256:35114e13064bcea64d23490404a965ce7a2e1ed4579a359aac9e5d93d212f85b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:24.432Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:24.801Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-24T18:24:24.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:24:24.801Z] 31b75c901cbf: Preparing [2023-10-24T18:24:24.801Z] 5b278f14d45f: Preparing [2023-10-24T18:24:24.801Z] a07b280eb114: Preparing [2023-10-24T18:24:24.801Z] 15d38a170411: Preparing [2023-10-24T18:24:24.801Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:24:24.801Z] 31b75c901cbf: Layer already exists [2023-10-24T18:24:24.801Z] 5b278f14d45f: Layer already exists [2023-10-24T18:24:24.801Z] 15d38a170411: Layer already exists [2023-10-24T18:24:24.801Z] a07b280eb114: Layer already exists [2023-10-24T18:24:24.801Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:24:25.073Z] latest: digest: sha256:35114e13064bcea64d23490404a965ce7a2e1ed4579a359aac9e5d93d212f85b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:25.460Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:25.827Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.18 [2023-10-24T18:24:25.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:24:25.827Z] 31b75c901cbf: Preparing [2023-10-24T18:24:25.827Z] 5b278f14d45f: Preparing [2023-10-24T18:24:25.827Z] a07b280eb114: Preparing [2023-10-24T18:24:25.827Z] 15d38a170411: Preparing [2023-10-24T18:24:25.827Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:24:25.827Z] 15d38a170411: Layer already exists [2023-10-24T18:24:25.827Z] 5b278f14d45f: Layer already exists [2023-10-24T18:24:25.827Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:24:25.827Z] 31b75c901cbf: Layer already exists [2023-10-24T18:24:25.827Z] a07b280eb114: Layer already exists [2023-10-24T18:24:26.096Z] 3.1.0-dev.18: digest: sha256:35114e13064bcea64d23490404a965ce7a2e1ed4579a359aac9e5d93d212f85b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:26.451Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:26.804Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:24:26.804Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:24:26.804Z] 31b75c901cbf: Preparing [2023-10-24T18:24:26.804Z] 5b278f14d45f: Preparing [2023-10-24T18:24:26.804Z] a07b280eb114: Preparing [2023-10-24T18:24:26.804Z] 15d38a170411: Preparing [2023-10-24T18:24:26.804Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:24:26.804Z] 15d38a170411: Layer already exists [2023-10-24T18:24:26.804Z] a07b280eb114: Layer already exists [2023-10-24T18:24:26.804Z] 5b278f14d45f: Layer already exists [2023-10-24T18:24:26.804Z] 31b75c901cbf: Layer already exists [2023-10-24T18:24:26.804Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:24:27.072Z] 1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18: digest: sha256:35114e13064bcea64d23490404a965ce7a2e1ed4579a359aac9e5d93d212f85b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:27.432Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:27.779Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-10-24T18:24:27.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:24:27.779Z] 31b75c901cbf: Preparing [2023-10-24T18:24:27.779Z] 5b278f14d45f: Preparing [2023-10-24T18:24:27.779Z] a07b280eb114: Preparing [2023-10-24T18:24:27.779Z] 15d38a170411: Preparing [2023-10-24T18:24:27.779Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:24:27.779Z] a07b280eb114: Layer already exists [2023-10-24T18:24:27.779Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:24:27.779Z] 5b278f14d45f: Layer already exists [2023-10-24T18:24:27.779Z] 31b75c901cbf: Layer already exists [2023-10-24T18:24:27.779Z] 15d38a170411: Layer already exists [2023-10-24T18:24:28.046Z] main: digest: sha256:35114e13064bcea64d23490404a965ce7a2e1ed4579a359aac9e5d93d212f85b size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:24:28.102Z] ===================================================== [Pipeline] echo [2023-10-24T18:24:28.113Z] taggedImages: [2023-10-24T18:24:28.113Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb [2023-10-24T18:24:28.113Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-24T18:24:28.113Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.18 [2023-10-24T18:24:28.113Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1df392e582ed32cc3ab577300f501a2f57a85edb-3.1.0-dev.18 [2023-10-24T18:24:28.113Z] - 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-10-24T18:24:28.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:24:28.557Z] [2023-10-24T18:24:28.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:24:28.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:24:29.870Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T18:24:29.870Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T18:24:29.870Z] 04944245beec: Pulling fs layer [2023-10-24T18:24:29.870Z] 699f458cf7ca: Pulling fs layer [2023-10-24T18:24:29.870Z] 765212b225bb: Pulling fs layer [2023-10-24T18:24:29.870Z] f23df028b6ca: Pulling fs layer [2023-10-24T18:24:29.870Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T18:24:29.870Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T18:24:29.870Z] 765212b225bb: Waiting [2023-10-24T18:24:29.870Z] f23df028b6ca: Waiting [2023-10-24T18:24:29.870Z] d65c8cfc05b1: Waiting [2023-10-24T18:24:29.870Z] 2437ff75d9bd: Waiting [2023-10-24T18:24:29.870Z] 04944245beec: Verifying Checksum [2023-10-24T18:24:29.870Z] 04944245beec: Download complete [2023-10-24T18:24:29.870Z] 765212b225bb: Verifying Checksum [2023-10-24T18:24:29.870Z] 765212b225bb: Download complete [2023-10-24T18:24:29.870Z] f23df028b6ca: Verifying Checksum [2023-10-24T18:24:29.870Z] f23df028b6ca: Download complete [2023-10-24T18:24:29.870Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T18:24:29.870Z] d65c8cfc05b1: Download complete [2023-10-24T18:24:29.870Z] 699f458cf7ca: Verifying Checksum [2023-10-24T18:24:29.870Z] 699f458cf7ca: Download complete [2023-10-24T18:24:30.458Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T18:24:30.458Z] 8998bd30e6a1: Download complete [2023-10-24T18:24:33.045Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T18:24:33.045Z] 2437ff75d9bd: Download complete [2023-10-24T18:24:34.989Z] 8998bd30e6a1: Pull complete [2023-10-24T18:24:35.570Z] 04944245beec: Pull complete [2023-10-24T18:24:37.516Z] 699f458cf7ca: Pull complete [2023-10-24T18:24:37.516Z] 765212b225bb: Pull complete [2023-10-24T18:24:38.483Z] f23df028b6ca: Pull complete [2023-10-24T18:24:38.751Z] d65c8cfc05b1: Pull complete [2023-10-24T18:24:56.969Z] 2437ff75d9bd: Pull complete [2023-10-24T18:24:56.969Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T18:24:58.399Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:24:58.399Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:24:58.615Z] prd-ubuntu20.04-docker-arm64-4c-16g-10003 does not seem to be running inside a container [2023-10-24T18:24:58.709Z] $ 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/105 -v /w/workspace/device-gpio/105:/w/workspace/device-gpio/105:rw,z -v /w/workspace/device-gpio/105@tmp:/w/workspace/device-gpio/105@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:arm64 cat [2023-10-24T18:25:02.001Z] $ docker top 45602ba788270c8d4e015d2dd27dc4a3dd1f92e1ba10b8be510f56098d8d1a56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:25:02.873Z] ---> job-cost.sh [2023-10-24T18:25:02.873Z] lf-activate-venv: SKIPPING [2023-10-24T18:25:02.873Z] INFO: No Stack... [2023-10-24T18:25:03.474Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T18:25:04.445Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:25:05.116Z] + cut -d, -f6 [2023-10-24T18:25:05.116Z] + cat /w/workspace/device-gpio/105/archives/cost.csv [Pipeline] lock [2023-10-24T18:25:05.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [2023-10-24T18:25:05.209Z] Resource [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] did not exist. Created. [2023-10-24T18:25:05.209Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:25:05.884Z] /w/workspace/device-gpio/105@tmp/durable-b9c00d1d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T18:25:06.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T18:25:06.594Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T18:25:06.655Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:25:06.667Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-105-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:25:06.700Z] $ docker stop --time=1 45602ba788270c8d4e015d2dd27dc4a3dd1f92e1ba10b8be510f56098d8d1a56 [2023-10-24T18:25:08.339Z] $ docker rm -f --volumes 45602ba788270c8d4e015d2dd27dc4a3dd1f92e1ba10b8be510f56098d8d1a56 [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-10-24T18:25:08.730Z] provisioning config files... [2023-10-24T18:25:08.737Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config706472510175261004tmp [Pipeline] { [Pipeline] sh [2023-10-24T18:25:09.028Z] + set +x [2023-10-24T18:25:09.029Z] + + bash -s -- [2023-10-24T18:25:09.029Z] curl -s https://codecov.io/bash [2023-10-24T18:25:09.029Z] [2023-10-24T18:25:09.029Z] _____ _ [2023-10-24T18:25:09.029Z] / ____| | | [2023-10-24T18:25:09.029Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T18:25:09.029Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T18:25:09.029Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T18:25:09.029Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T18:25:09.029Z] Bash-1.0.6 [2023-10-24T18:25:09.029Z] [2023-10-24T18:25:09.029Z] [2023-10-24T18:25:09.029Z] ==> git version 2.25.1 found [2023-10-24T18:25:09.029Z] ==> 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-10-24T18:25:09.029Z] Release-Date: 2020-01-08 [2023-10-24T18:25:09.029Z] 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-10-24T18:25:09.029Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T18:25:09.029Z] ==> Jenkins CI detected. [2023-10-24T18:25:09.029Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-10-24T18:25:09.029Z] project root: . [2023-10-24T18:25:09.029Z] --> token set from env [2023-10-24T18:25:09.029Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T18:25:09.029Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T18:25:09.029Z] ==> Python coveragepy not found [2023-10-24T18:25:09.029Z] ==> Searching for coverage reports in: [2023-10-24T18:25:09.029Z] + . [2023-10-24T18:25:09.029Z] -> Found 1 reports [2023-10-24T18:25:09.029Z] ==> Detecting git/mercurial file structure [2023-10-24T18:25:09.029Z] ==> Reading reports [2023-10-24T18:25:09.029Z] + ./coverage.out bytes=10 [2023-10-24T18:25:09.029Z] ==> Appending adjustments [2023-10-24T18:25:09.029Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T18:25:09.288Z] + Found adjustments [2023-10-24T18:25:09.288Z] ==> Gzipping contents [2023-10-24T18:25:09.288Z] 4.0K /tmp/codecov.h1poVg.gz [2023-10-24T18:25:09.288Z] ==> Uploading reports [2023-10-24T18:25:09.288Z] url: https://codecov.io [2023-10-24T18:25:09.288Z] query: branch=main&commit=1df392e582ed32cc3ab577300f501a2f57a85edb&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:25:09.288Z] -> Pinging Codecov [2023-10-24T18:25:09.288Z] 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=1df392e582ed32cc3ab577300f501a2f57a85edb&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:25:09.288Z] -> Uploading to [2023-10-24T18:25:09.288Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1df392e582ed32cc3ab577300f501a2f57a85edb/019d27ea-32b1-475d-9c81-3623e7be6d29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T182509Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4cec58562e28a57d01a30ed39d49aca20d502abe919a3ecb7c4e4972ede2600f [2023-10-24T18:25:09.288Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:25:09.288Z] Dload Upload Total Spent Left Speed [2023-10-24T18:25:09.548Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 1968 --:--:-- --:--:-- --:--:-- 1961 100 563 0 0 100 563 0 1968 --:--:-- --:--:-- --:--:-- 1961 [2023-10-24T18:25:09.548Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] } [2023-10-24T18:25:09.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T18:25:09.687Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T18:25:09.697Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:25:09.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:25:09.992Z] [2023-10-24T18:25:09.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:25:10.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:25:10.550Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T18:25:10.550Z] df9b9388f04a: Pulling fs layer [2023-10-24T18:25:10.550Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T18:25:10.550Z] 25bc292e5bac: Pulling fs layer [2023-10-24T18:25:10.550Z] 114826534d7a: Pulling fs layer [2023-10-24T18:25:10.550Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T18:25:10.550Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T18:25:10.550Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T18:25:10.550Z] 114826534d7a: Waiting [2023-10-24T18:25:10.550Z] 4657fd5d0bcf: Waiting [2023-10-24T18:25:10.550Z] 6ad1cebc031e: Waiting [2023-10-24T18:25:10.550Z] 8a3aa393b2d8: Waiting [2023-10-24T18:25:10.550Z] 25bc292e5bac: Verifying Checksum [2023-10-24T18:25:10.550Z] 25bc292e5bac: Download complete [2023-10-24T18:25:10.550Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T18:25:10.550Z] 52dc419b0ee2: Download complete [2023-10-24T18:25:10.550Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T18:25:10.550Z] 4657fd5d0bcf: Download complete [2023-10-24T18:25:10.550Z] df9b9388f04a: Verifying Checksum [2023-10-24T18:25:10.550Z] df9b9388f04a: Download complete [2023-10-24T18:25:10.839Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T18:25:10.839Z] 6ad1cebc031e: Download complete [2023-10-24T18:25:11.409Z] df9b9388f04a: Pull complete [2023-10-24T18:25:11.409Z] 114826534d7a: Verifying Checksum [2023-10-24T18:25:11.409Z] 114826534d7a: Download complete [2023-10-24T18:25:11.409Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T18:25:11.666Z] 52dc419b0ee2: Pull complete [2023-10-24T18:25:12.242Z] 25bc292e5bac: Pull complete [2023-10-24T18:25:17.562Z] 114826534d7a: Pull complete [2023-10-24T18:25:17.562Z] 4657fd5d0bcf: Pull complete [2023-10-24T18:25:18.936Z] 6ad1cebc031e: Pull complete [2023-10-24T18:25:23.114Z] 8a3aa393b2d8: Pull complete [2023-10-24T18:25:23.372Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T18:25:23.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:25:23.632Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:25:23.712Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:25:23.743Z] $ 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-10-24T18:25:47.008Z] $ docker top 9e38e20816eeef0328f0c9ff4469c19a5ea68a899d986d9b6b944c8bf9b847e0 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T18:25:47.076Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-10-24T18:25:47.353Z] + set -o pipefail [2023-10-24T18:25:47.353Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-10-24T18:25:53.907Z] [2023-10-24T18:25:53.907Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-10-24T18:25:53.907Z] [2023-10-24T18:25:53.907Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/93ac8005-3860-4a1e-bd82-72ef8103ae33 [2023-10-24T18:25:53.907Z] [2023-10-24T18:25:53.907Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T18:25:53.907Z] [2023-10-24T18:25:53.907Z] [2023-10-24T18:25:53.907Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T18:25:53.907Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T18:25:53.907Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T18:25:53.917Z] $ docker stop --time=1 9e38e20816eeef0328f0c9ff4469c19a5ea68a899d986d9b6b944c8bf9b847e0 [2023-10-24T18:26:11.456Z] $ docker rm -f --volumes 9e38e20816eeef0328f0c9ff4469c19a5ea68a899d986d9b6b944c8bf9b847e0 [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-10-24T18:26:12.446Z] + git log --format=format:%s -1 1df392e582ed32cc3ab577300f501a2f57a85edb [Pipeline] sh [2023-10-24T18:26:12.734Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:26:12.734Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:13.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:26:13.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:13.094Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:26:13.120Z] $ 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-10-24T18:26:15.815Z] $ docker top 5bab8358312626759a6f49509bbb152eee4dacda691175275efd607f6d3dcf17 -eo pid,comm [2023-10-24T18:26:15.861Z] 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-10-24T18:26:15.861Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:26:15.895Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:26:15.895Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:26:15.997Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:26:15.998Z] $ docker exec 5bab8358312626759a6f49509bbb152eee4dacda691175275efd607f6d3dcf17 ssh-agent [2023-10-24T18:26:16.121Z] SSH_AUTH_SOCK=/tmp/ssh-gR9qHbgbMgEp/agent.14 [2023-10-24T18:26:16.121Z] SSH_AGENT_PID=20 [2023-10-24T18:26:16.125Z] Running ssh-add (command line suppressed) [2023-10-24T18:26:16.222Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12768100128134233195.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12768100128134233195.key) [2023-10-24T18:26:16.237Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:26:16.534Z] + git semver tag [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,735 [run_tag] DEBUG tag force:False [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,735 [check_head_tag] DEBUG check head tag [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,736 [execute] INFO git cat-file --batch-check [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,740 [execute] INFO git cat-file --batch [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,758 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,758 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:26:16.793Z] 2023-10-24 18:26:16,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:16.793Z] 3.1.0-dev.18 [Pipeline] } [2023-10-24T18:26:16.802Z] $ docker exec --env ******** --env ******** 5bab8358312626759a6f49509bbb152eee4dacda691175275efd607f6d3dcf17 ssh-agent -k [2023-10-24T18:26:16.925Z] unset SSH_AUTH_SOCK; [2023-10-24T18:26:16.926Z] unset SSH_AGENT_PID; [2023-10-24T18:26:16.926Z] echo Agent pid 20 killed; [2023-10-24T18:26:16.934Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:26:17.232Z] + git semver [Pipeline] } [2023-10-24T18:26:17.500Z] $ docker stop --time=1 5bab8358312626759a6f49509bbb152eee4dacda691175275efd607f6d3dcf17 [2023-10-24T18:26:20.328Z] $ docker rm -f --volumes 5bab8358312626759a6f49509bbb152eee4dacda691175275efd607f6d3dcf17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:21.011Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:26:21.011Z] [2023-10-24T18:26:21.011Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:21.301Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:26:21.868Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T18:26:21.868Z] ab5ef0e58194: Pulling fs layer [2023-10-24T18:26:21.868Z] 9712f1f96733: Pulling fs layer [2023-10-24T18:26:21.868Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T18:26:21.868Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T18:26:21.868Z] e9a5061849ea: Pulling fs layer [2023-10-24T18:26:21.869Z] d747dcd14b5f: Pulling fs layer [2023-10-24T18:26:21.869Z] 0d9ebad4ef96: Waiting [2023-10-24T18:26:21.869Z] e9a5061849ea: Waiting [2023-10-24T18:26:21.869Z] 2de7ff778b66: Pulling fs layer [2023-10-24T18:26:21.869Z] 2de7ff778b66: Waiting [2023-10-24T18:26:21.869Z] 9712f1f96733: Verifying Checksum [2023-10-24T18:26:21.869Z] 9712f1f96733: Download complete [2023-10-24T18:26:22.127Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T18:26:22.127Z] 63f879dbbcfc: Download complete [2023-10-24T18:26:22.127Z] ab5ef0e58194: Download complete [2023-10-24T18:26:22.127Z] e9a5061849ea: Verifying Checksum [2023-10-24T18:26:22.127Z] e9a5061849ea: Download complete [2023-10-24T18:26:22.384Z] d747dcd14b5f: Verifying Checksum [2023-10-24T18:26:22.384Z] d747dcd14b5f: Download complete [2023-10-24T18:26:22.384Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T18:26:22.384Z] 0d9ebad4ef96: Download complete [2023-10-24T18:26:22.384Z] 2de7ff778b66: Verifying Checksum [2023-10-24T18:26:22.384Z] 2de7ff778b66: Download complete [2023-10-24T18:26:25.675Z] ab5ef0e58194: Pull complete [2023-10-24T18:26:25.675Z] 9712f1f96733: Pull complete [2023-10-24T18:26:26.608Z] 63f879dbbcfc: Pull complete [2023-10-24T18:26:30.784Z] 0d9ebad4ef96: Pull complete [2023-10-24T18:26:31.043Z] e9a5061849ea: Pull complete [2023-10-24T18:26:31.302Z] d747dcd14b5f: Pull complete [2023-10-24T18:26:32.673Z] 2de7ff778b66: Pull complete [2023-10-24T18:26:32.673Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T18:26:32.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:26:32.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:32.745Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:26:32.771Z] $ 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-10-24T18:26:40.929Z] $ docker top b2e531ce53776a570d27d76f258bcadb3a5f222a596b4ace23a8f114590b027d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:26:40.987Z] provisioning config files... [2023-10-24T18:26:40.992Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8052210528864237577tmp [2023-10-24T18:26:41.001Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12350636922679924578tmp [2023-10-24T18:26:41.009Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17959845893845565098tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:26:41.021Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:26:41.302Z] ---> sigul-configuration.sh [2023-10-24T18:26:41.302Z] gpg: directory `/root/.gnupg' created [2023-10-24T18:26:41.302Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T18:26:41.302Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T18:26:41.302Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T18:26:41.302Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T18:26:41.302Z] gpg: CAST5 encrypted data [2023-10-24T18:26:41.302Z] gpg: encrypted with 1 passphrase [2023-10-24T18:26:41.302Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T18:26:41.581Z] + mkdir /home/jenkins [2023-10-24T18:26:41.582Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T18:26:41.865Z] + 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-10-24T18:26:41.872Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:26:42.153Z] ---> sigul-install.sh [2023-10-24T18:26:42.153Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T18:26:42.436Z] + git tag --list [2023-10-24T18:26:42.436Z] v1.0.0 [2023-10-24T18:26:42.436Z] v2.1.0 [2023-10-24T18:26:42.436Z] v2.1.1 [2023-10-24T18:26:42.436Z] v2.2.0 [2023-10-24T18:26:42.436Z] v2.3.0 [2023-10-24T18:26:42.436Z] v3.0 [2023-10-24T18:26:42.436Z] v3.0.0 [2023-10-24T18:26:42.436Z] v3.1.0-dev.1 [2023-10-24T18:26:42.436Z] v3.1.0-dev.10 [2023-10-24T18:26:42.436Z] v3.1.0-dev.11 [2023-10-24T18:26:42.436Z] v3.1.0-dev.12 [2023-10-24T18:26:42.436Z] v3.1.0-dev.13 [2023-10-24T18:26:42.436Z] v3.1.0-dev.14 [2023-10-24T18:26:42.436Z] v3.1.0-dev.15 [2023-10-24T18:26:42.436Z] v3.1.0-dev.16 [2023-10-24T18:26:42.436Z] v3.1.0-dev.17 [2023-10-24T18:26:42.436Z] v3.1.0-dev.18 [2023-10-24T18:26:42.436Z] v3.1.0-dev.2 [2023-10-24T18:26:42.436Z] v3.1.0-dev.3 [2023-10-24T18:26:42.436Z] v3.1.0-dev.4 [2023-10-24T18:26:42.436Z] v3.1.0-dev.5 [2023-10-24T18:26:42.436Z] v3.1.0-dev.6 [2023-10-24T18:26:42.436Z] v3.1.0-dev.7 [2023-10-24T18:26:42.436Z] v3.1.0-dev.8 [2023-10-24T18:26:42.436Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T18:26:42.719Z] + lftools sign git-tag v3.1.0-dev.18 [2023-10-24T18:26:43.285Z] Signing Git tag with Sigul... [2023-10-24T18:26:43.285Z] Signing v3.1.0-dev.18 [Pipeline] echo [2023-10-24T18:26:43.550Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:26:43.834Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T18:26:43.840Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T18:26:43.856Z] $ docker stop --time=1 b2e531ce53776a570d27d76f258bcadb3a5f222a596b4ace23a8f114590b027d [2023-10-24T18:26:45.214Z] $ docker rm -f --volumes b2e531ce53776a570d27d76f258bcadb3a5f222a596b4ace23a8f114590b027d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T18:26:45.616Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:26:45.616Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:45.912Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:26:45.912Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:45.980Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:26:46.012Z] $ 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-10-24T18:26:46.339Z] $ docker top c0dc6ae4565462625647b190db4ceff4dde45d47f20b59c6a2084517bdf0fc78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:26:46.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:26:46.412Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:26:46.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:26:46.523Z] $ docker exec c0dc6ae4565462625647b190db4ceff4dde45d47f20b59c6a2084517bdf0fc78 ssh-agent [2023-10-24T18:26:46.622Z] SSH_AUTH_SOCK=/tmp/ssh-W8g5J1p8mXZy/agent.31 [2023-10-24T18:26:46.622Z] SSH_AGENT_PID=37 [2023-10-24T18:26:46.626Z] Running ssh-add (command line suppressed) [2023-10-24T18:26:46.726Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16090470086924861639.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16090470086924861639.key) [2023-10-24T18:26:46.740Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:26:47.122Z] + git semver bump pre [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [bump_version] DEBUG bumped version:3.1.0-dev.19 [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,339 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,341 [execute] INFO git cat-file --batch-check [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,346 [execute] INFO git cat-file --batch [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,346 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:26:47.380Z] 2023-10-24 18:26:47,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:47.380Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T18:26:47.388Z] $ docker exec --env ******** --env ******** c0dc6ae4565462625647b190db4ceff4dde45d47f20b59c6a2084517bdf0fc78 ssh-agent -k [2023-10-24T18:26:47.489Z] unset SSH_AUTH_SOCK; [2023-10-24T18:26:47.489Z] unset SSH_AGENT_PID; [2023-10-24T18:26:47.489Z] echo Agent pid 37 killed; [2023-10-24T18:26:47.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:26:47.802Z] + git semver [Pipeline] } [2023-10-24T18:26:48.073Z] $ docker stop --time=1 c0dc6ae4565462625647b190db4ceff4dde45d47f20b59c6a2084517bdf0fc78 [2023-10-24T18:26:49.322Z] $ docker rm -f --volumes c0dc6ae4565462625647b190db4ceff4dde45d47f20b59c6a2084517bdf0fc78 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:26:49.651Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:26:49.651Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:49.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:26:49.941Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:50.006Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:26:50.030Z] $ 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-10-24T18:26:50.353Z] $ docker top 643fe0cd4c7d473af829817b046a3ce97b2bff202c3d4070a02df7fb7c09e46a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:26:50.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:26:50.432Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:26:50.534Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:26:50.535Z] $ docker exec 643fe0cd4c7d473af829817b046a3ce97b2bff202c3d4070a02df7fb7c09e46a ssh-agent [2023-10-24T18:26:50.642Z] SSH_AUTH_SOCK=/tmp/ssh-wR9rJB3IyAew/agent.33 [2023-10-24T18:26:50.642Z] SSH_AGENT_PID=39 [2023-10-24T18:26:50.645Z] Running ssh-add (command line suppressed) [2023-10-24T18:26:50.739Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13574720607804038530.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13574720607804038530.key) [2023-10-24T18:26:50.754Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:26:51.037Z] + git semver push [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,198 [run_push] DEBUG push [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,199 [execute] INFO git cat-file --batch-check [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,203 [execute] INFO git rev-list 19fac7acae594087e292237f017290b1acf9ab16 -- [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,203 [execute] DEBUG Popen(['git', 'rev-list', '19fac7acae594087e292237f017290b1acf9ab16', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,211 [execute] INFO git fetch -v origin [2023-10-24T18:26:51.295Z] 2023-10-24 18:26:51,211 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T18:26:51.861Z] 2023-10-24 18:26:51,741 [run_push] DEBUG no remote changes detected [2023-10-24T18:26:51.861Z] 2023-10-24 18:26:51,742 [execute] INFO git push origin semver [2023-10-24T18:26:51.861Z] 2023-10-24 18:26:51,742 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:26:53.236Z] 2023-10-24 18:26:52,831 [run_push] DEBUG push all version tags [2023-10-24T18:26:53.236Z] 2023-10-24 18:26:52,832 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T18:26:53.236Z] 2023-10-24 18:26:52,832 [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-10-24T18:26:53.803Z] 2023-10-24 18:26:53,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:26:53.803Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T18:26:54.070Z] $ docker exec --env ******** --env ******** 643fe0cd4c7d473af829817b046a3ce97b2bff202c3d4070a02df7fb7c09e46a ssh-agent -k [2023-10-24T18:26:54.169Z] unset SSH_AUTH_SOCK; [2023-10-24T18:26:54.170Z] unset SSH_AGENT_PID; [2023-10-24T18:26:54.170Z] echo Agent pid 39 killed; [2023-10-24T18:26:54.183Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:26:54.487Z] + git semver [Pipeline] } [2023-10-24T18:26:54.757Z] $ docker stop --time=1 643fe0cd4c7d473af829817b046a3ce97b2bff202c3d4070a02df7fb7c09e46a [2023-10-24T18:26:56.106Z] $ docker rm -f --volumes 643fe0cd4c7d473af829817b046a3ce97b2bff202c3d4070a02df7fb7c09e46a [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-10-24T18:26:56.631Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-10-24T18:26:56.631Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:26:56.631Z] total 16 [2023-10-24T18:26:56.631Z] drwxr-xr-x 3 root root 4096 Oct 24 18:14 . [2023-10-24T18:26:56.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:26 .. [2023-10-24T18:26:56.631Z] drwxr-xr-x 2 root root 4096 Oct 24 18:14 cost [2023-10-24T18:26:56.631Z] -rw-r--r-- 1 root root 83 Oct 24 18:14 cost.csv [2023-10-24T18:26:56.631Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:26:56.631Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:26:56.631Z] total 16 [2023-10-24T18:26:56.631Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:14 . [2023-10-24T18:26:56.631Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:26 .. [2023-10-24T18:26:56.631Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:14 cost [2023-10-24T18:26:56.631Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 24 18:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:26:56.914Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:26:57.878Z] ---> package-listing.sh [2023-10-24T18:26:57.879Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T18:26:57.879Z] ++ facter osfamily [2023-10-24T18:26:57.879Z] + OS_FAMILY=debian [2023-10-24T18:26:57.879Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-10-24T18:26:57.879Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T18:26:57.879Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T18:26:57.879Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T18:26:57.879Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T18:26:57.879Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-24T18:26:57.879Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T18:26:57.879Z] + case "${OS_FAMILY}" in [2023-10-24T18:26:57.879Z] + dpkg -l [2023-10-24T18:26:57.879Z] + grep '^ii' [2023-10-24T18:26:58.149Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T18:26:58.149Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T18:26:58.149Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T18:26:58.149Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-24T18:26:58.149Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-10-24T18:26:58.150Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-10-24T18:26:58.175Z] 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-10-24T18:26:58.506Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:26:58.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:26:58.797Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:26:58.863Z] prd-ubuntu20.04-docker-8c-8g-9993 does not seem to be running inside a container [2023-10-24T18:26:58.890Z] $ 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-10-24T18:26:59.438Z] $ docker top 7e4580a207a78396a0ca1a81fc2268f709acfb8dc7d54543bde79a03dfc8a553 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:26:59.767Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T18:27:00.049Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T18:27:00.330Z] + ls /var/log/sa-host [2023-10-24T18:27:00.330Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:27:00.400Z] provisioning config files... [2023-10-24T18:27:00.408Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config14505185663268183851tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:27:00.417Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:00.698Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T18:27:00.703Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:01.015Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T18:27:01.022Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:01.303Z] ---> sudo-logs.sh [2023-10-24T18:27:01.303Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T18:27:01.332Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:01.617Z] ---> job-cost.sh [2023-10-24T18:27:01.617Z] lf-activate-venv: SKIPPING [2023-10-24T18:27:01.617Z] DEBUG: total: 0.2199999988079071 [2023-10-24T18:27:01.617Z] INFO: Retrieving Stack Cost... [2023-10-24T18:27:01.876Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:27:02.445Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T18:27:02.456Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:27:02.739Z] ---> logs-deploy.sh [2023-10-24T18:27:02.739Z] lf-activate-venv: SKIPPING [2023-10-24T18:27:02.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/105 [2023-10-24T18:27:02.739Z] INFO: archiving workspace using pattern(s): [2023-10-24T18:27:03.677Z] Archives upload complete. [2023-10-24T18:27:03.677Z] INFO: archiving logs to Nexus