Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 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-ssh8903131669502854999.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-ssh17489029242736553088.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-ssh1765786853415522996.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-ssh12105941231959442282.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-ssh17647290877642848602.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10253 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 # timeout=10 Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36" > git rev-list --no-walk 1df392e582ed32cc3ab577300f501a2f57a85edb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T18:43:12.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T18:43:12.250Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T18:43:12.264Z] ========================================================= [2023-10-24T18:43:12.265Z] EdgeX Global Pipelines Version Info [2023-10-24T18:43:12.265Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:43:12.971Z] ------------------- [2023-10-24T18:43:12.972Z] stable info: [2023-10-24T18:43:12.972Z] ------------------- [2023-10-24T18:43:12.972Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T18:43:12.972Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:43:12.972Z] Message: update stable to v1.0.254 [2023-10-24T18:43:13.540Z] ------------------- [2023-10-24T18:43:13.540Z] experimental info: [2023-10-24T18:43:13.540Z] ------------------- [2023-10-24T18:43:13.540Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T18:43:13.540Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T18:43:13.540Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T18:43:13.701Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-10-24T18:43:13.717Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-10-24T18:43:13.734Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T18:43:13.753Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T18:43:13.771Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T18:43:13.790Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T18:43:13.805Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T18:43:13.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T18:43:13.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T18:43:13.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T18:43:13.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T18:43:13.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-10-24T18:43:13.895Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T18:43:13.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T18:43:13.936Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:43:13.952Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T18:43:13.969Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:43:13.984Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T18:43:13.999Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T18:43:14.012Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T18:43:14.026Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T18:43:14.041Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T18:43:14.057Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T18:43:14.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T18:43:14.083Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T18:43:14.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T18:43:14.115Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T18:43:14.129Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T18:43:14.143Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T18:43:14.154Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T18:43:14.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] echo [2023-10-24T18:43:14.175Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 69ee781 [Pipeline] echo [2023-10-24T18:43:14.187Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:43:14.239Z] provisioning config files... [2023-10-24T18:43:14.253Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13802607871664923205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:43:14.562Z] ---> docker-login.sh [2023-10-24T18:43:14.562Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:43:14.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:14.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:14.823Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:14.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:14.823Z] [2023-10-24T18:43:14.823Z] Login Succeeded [2023-10-24T18:43:14.823Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:43:15.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:15.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:15.090Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:15.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:15.090Z] [2023-10-24T18:43:15.090Z] Login Succeeded [2023-10-24T18:43:15.090Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:43:15.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:15.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:15.090Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:15.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:15.090Z] [2023-10-24T18:43:15.090Z] Login Succeeded [2023-10-24T18:43:15.090Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:43:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:15.351Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:15.351Z] [2023-10-24T18:43:15.351Z] Login Succeeded [2023-10-24T18:43:15.351Z] docker.io [2023-10-24T18:43:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:15.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:15.611Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:15.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:15.611Z] [2023-10-24T18:43:15.611Z] Login Succeeded [2023-10-24T18:43:15.611Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:43:15.619Z] 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:43:15.986Z] + git rev-list -1 --merges 69ee781b107b0972e8e0a66d1ba9300a2d3ea368~1..69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] echo [2023-10-24T18:43:16.031Z] -----------> git rev-list -1 --merges 69ee781b107b0972e8e0a66d1ba9300a2d3ea368~1..69ee781b107b0972e8e0a66d1ba9300a2d3ea368 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:43:16.031Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [false] [Pipeline] sh [2023-10-24T18:43:16.319Z] + git log --format=format:%s -1 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] echo [2023-10-24T18:43:16.334Z] ========================================================= [2023-10-24T18:43:16.334Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T18:43:16.334Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:43:16.650Z] + git log --format=format:%s -1 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] echo [2023-10-24T18:43:16.660Z] [semverPrep] GIT_COMMIT: 69ee781b107b0972e8e0a66d1ba9300a2d3ea368, Commit Message: Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36 [Pipeline] echo [2023-10-24T18:43:16.668Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T18:43:17.006Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:43:17.006Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T18:43:17.006Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T18:43:17.006Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T18:43:17.006Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T18:43:17.006Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T18:43:17.006Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:43:17.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:43:17.352Z] [2023-10-24T18:43:17.352Z] 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:43:17.650Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:43:17.650Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T18:43:17.650Z] b85a868b505f: Pulling fs layer [2023-10-24T18:43:17.650Z] e2be974225ed: Pulling fs layer [2023-10-24T18:43:17.650Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T18:43:17.650Z] 988bab9f4d93: Pulling fs layer [2023-10-24T18:43:17.650Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T18:43:17.650Z] eaf3925da568: Pulling fs layer [2023-10-24T18:43:17.650Z] bab4dde63d76: Pulling fs layer [2023-10-24T18:43:17.650Z] bde34c3a00c8: Pulling fs layer [2023-10-24T18:43:17.650Z] b352a97aabf1: Pulling fs layer [2023-10-24T18:43:17.650Z] 4872d77fe225: Pulling fs layer [2023-10-24T18:43:17.650Z] 5851b861e8e6: Pulling fs layer [2023-10-24T18:43:17.650Z] 988bab9f4d93: Waiting [2023-10-24T18:43:17.650Z] 1469e6f7b9e6: Waiting [2023-10-24T18:43:17.650Z] bab4dde63d76: Waiting [2023-10-24T18:43:17.650Z] eaf3925da568: Waiting [2023-10-24T18:43:17.650Z] bde34c3a00c8: Waiting [2023-10-24T18:43:17.650Z] 4872d77fe225: Waiting [2023-10-24T18:43:17.650Z] b352a97aabf1: Waiting [2023-10-24T18:43:17.650Z] 5851b861e8e6: Waiting [2023-10-24T18:43:17.650Z] e2be974225ed: Download complete [2023-10-24T18:43:17.650Z] 988bab9f4d93: Verifying Checksum [2023-10-24T18:43:17.650Z] 988bab9f4d93: Download complete [2023-10-24T18:43:17.910Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T18:43:17.910Z] 339a4e72a1f5: Download complete [2023-10-24T18:43:17.910Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T18:43:17.910Z] 1469e6f7b9e6: Download complete [2023-10-24T18:43:17.910Z] eaf3925da568: Verifying Checksum [2023-10-24T18:43:17.910Z] eaf3925da568: Download complete [2023-10-24T18:43:17.910Z] bde34c3a00c8: Verifying Checksum [2023-10-24T18:43:17.910Z] bde34c3a00c8: Download complete [2023-10-24T18:43:17.910Z] b352a97aabf1: Verifying Checksum [2023-10-24T18:43:17.910Z] b352a97aabf1: Download complete [2023-10-24T18:43:17.910Z] 4872d77fe225: Verifying Checksum [2023-10-24T18:43:17.910Z] 4872d77fe225: Download complete [2023-10-24T18:43:17.910Z] 5851b861e8e6: Verifying Checksum [2023-10-24T18:43:17.910Z] 5851b861e8e6: Download complete [2023-10-24T18:43:17.910Z] b85a868b505f: Verifying Checksum [2023-10-24T18:43:17.910Z] b85a868b505f: Download complete [2023-10-24T18:43:18.168Z] bab4dde63d76: Verifying Checksum [2023-10-24T18:43:18.168Z] bab4dde63d76: Download complete [2023-10-24T18:43:19.102Z] b85a868b505f: Pull complete [2023-10-24T18:43:19.361Z] e2be974225ed: Pull complete [2023-10-24T18:43:19.931Z] 339a4e72a1f5: Pull complete [2023-10-24T18:43:19.931Z] 988bab9f4d93: Pull complete [2023-10-24T18:43:20.191Z] 1469e6f7b9e6: Pull complete [2023-10-24T18:43:20.191Z] eaf3925da568: Pull complete [2023-10-24T18:43:22.091Z] bab4dde63d76: Pull complete [2023-10-24T18:43:22.091Z] bde34c3a00c8: Pull complete [2023-10-24T18:43:22.350Z] b352a97aabf1: Pull complete [2023-10-24T18:43:22.350Z] 4872d77fe225: Pull complete [2023-10-24T18:43:22.350Z] 5851b861e8e6: Pull complete [2023-10-24T18:43:22.350Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T18:43:22.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:43:22.350Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:43:22.473Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:43:22.504Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:43:26.938Z] $ docker top ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f -eo pid,comm [2023-10-24T18:43:26.996Z] 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:43:26.996Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:43:27.034Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:43:27.034Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:43:27.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:43:27.150Z] $ docker exec ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f ssh-agent [2023-10-24T18:43:27.264Z] SSH_AUTH_SOCK=/tmp/ssh-Bo9ZUr2TI07F/agent.33 [2023-10-24T18:43:27.264Z] SSH_AGENT_PID=39 [2023-10-24T18:43:27.271Z] Running ssh-add (command line suppressed) [2023-10-24T18:43:27.384Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13690694455861002155.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13690694455861002155.key) [2023-10-24T18:43:27.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:43:27.685Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T18:43:27.706Z] $ docker exec --env ******** --env ******** ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f ssh-agent -k [2023-10-24T18:43:27.808Z] unset SSH_AUTH_SOCK; [2023-10-24T18:43:27.808Z] unset SSH_AGENT_PID; [2023-10-24T18:43:27.809Z] echo Agent pid 39 killed; [2023-10-24T18:43:27.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T18:43:27.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:43:27.840Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:43:27.960Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:43:27.963Z] $ docker exec ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f ssh-agent [2023-10-24T18:43:28.076Z] SSH_AUTH_SOCK=/tmp/ssh-d7sBiOprj5fq/agent.71 [2023-10-24T18:43:28.076Z] SSH_AGENT_PID=77 [2023-10-24T18:43:28.082Z] Running ssh-add (command line suppressed) [2023-10-24T18:43:28.188Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17205578682772530742.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_17205578682772530742.key) [2023-10-24T18:43:28.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:43:28.492Z] + git semver init [2023-10-24T18:43:28.752Z] 2023-10-24 18:43:28,662 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T18:43:28.752Z] 2023-10-24 18:43:28,663 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-24T18:43:28.752Z] 2023-10-24 18:43:28,663 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-10-24T18:43:28.752Z] 2023-10-24 18:43:28,663 [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:43:30.132Z] 2023-10-24 18:43:29,729 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-10-24T18:43:30.132Z] 2023-10-24 18:43:29,729 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-10-24T18:43:30.132Z] 2023-10-24 18:43:29,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:43:30.132Z] 2023-10-24 18:43:29,730 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:43:30.132Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T18:43:30.143Z] $ docker exec --env ******** --env ******** ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f ssh-agent -k [2023-10-24T18:43:30.250Z] unset SSH_AUTH_SOCK; [2023-10-24T18:43:30.251Z] unset SSH_AGENT_PID; [2023-10-24T18:43:30.253Z] echo Agent pid 77 killed; [2023-10-24T18:43:30.262Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:43:30.572Z] + git semver [Pipeline] } [2023-10-24T18:43:30.846Z] $ docker stop --time=1 ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f [2023-10-24T18:43:32.121Z] $ docker rm -f --volumes ee7a72830974039ddbb7396751f4b985db4a258ff9351c9ca8bd4d1ebea6948f [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:43:32.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T18:43:32.669Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T18:43:32.672Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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:43:32.799Z] provisioning config files... [2023-10-24T18:43:32.808Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config833629779629665968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:43:33.101Z] ---> docker-login.sh [2023-10-24T18:43:33.101Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:43:33.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:33.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:33.101Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:33.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:33.101Z] [2023-10-24T18:43:33.101Z] Login Succeeded [2023-10-24T18:43:33.101Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:43:33.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:33.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:33.101Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:33.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:33.101Z] [2023-10-24T18:43:33.101Z] Login Succeeded [2023-10-24T18:43:33.101Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:43:33.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:33.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:33.359Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:33.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:33.359Z] [2023-10-24T18:43:33.359Z] Login Succeeded [2023-10-24T18:43:33.359Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:43:33.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:33.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:33.359Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:33.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:33.359Z] [2023-10-24T18:43:33.359Z] Login Succeeded [2023-10-24T18:43:33.359Z] docker.io [2023-10-24T18:43:33.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:43:33.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:43:33.877Z] Configure a credential helper to remove this warning. See [2023-10-24T18:43:33.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:43:33.877Z] [2023-10-24T18:43:33.877Z] Login Succeeded [2023-10-24T18:43:33.877Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:43:33.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:43:33.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:43:33.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:43:33.957Z] ========================================================= [2023-10-24T18:43:33.957Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T18:43:33.957Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:43:34.261Z] + 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:43:34.261Z] Sending build context to Docker daemon 16.13MB [2023-10-24T18:43:34.261Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:43:34.261Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:43:34.261Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T18:43:34.261Z] 7264a8db6415: Pulling fs layer [2023-10-24T18:43:34.261Z] c4d48a809fc2: Pulling fs layer [2023-10-24T18:43:34.261Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T18:43:34.261Z] ad3a456e5733: Pulling fs layer [2023-10-24T18:43:34.261Z] 33e27b845d1e: Pulling fs layer [2023-10-24T18:43:34.261Z] c68163c4e522: Pulling fs layer [2023-10-24T18:43:34.261Z] 50da416c3ac9: Pulling fs layer [2023-10-24T18:43:34.261Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T18:43:34.261Z] ad3a456e5733: Waiting [2023-10-24T18:43:34.261Z] 33e27b845d1e: Waiting [2023-10-24T18:43:34.261Z] c68163c4e522: Waiting [2023-10-24T18:43:34.261Z] 50da416c3ac9: Waiting [2023-10-24T18:43:34.261Z] 23d2d4c4bb30: Waiting [2023-10-24T18:43:34.523Z] c4d48a809fc2: Verifying Checksum [2023-10-24T18:43:34.523Z] c4d48a809fc2: Download complete [2023-10-24T18:43:34.523Z] ad3a456e5733: Verifying Checksum [2023-10-24T18:43:34.523Z] ad3a456e5733: Download complete [2023-10-24T18:43:34.523Z] 33e27b845d1e: Verifying Checksum [2023-10-24T18:43:34.523Z] 33e27b845d1e: Download complete [2023-10-24T18:43:34.523Z] 7264a8db6415: Verifying Checksum [2023-10-24T18:43:34.523Z] 7264a8db6415: Download complete [2023-10-24T18:43:34.523Z] c68163c4e522: Verifying Checksum [2023-10-24T18:43:34.523Z] c68163c4e522: Download complete [2023-10-24T18:43:34.523Z] 7264a8db6415: Pull complete [2023-10-24T18:43:34.782Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T18:43:34.783Z] 23d2d4c4bb30: Download complete [2023-10-24T18:43:34.783Z] c4d48a809fc2: Pull complete [2023-10-24T18:43:34.783Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T18:43:34.783Z] 4f1c88b9dad5: Download complete [2023-10-24T18:43:35.702Z] 50da416c3ac9: Verifying Checksum [2023-10-24T18:43:35.702Z] 50da416c3ac9: Download complete [2023-10-24T18:43:38.237Z] 4f1c88b9dad5: Pull complete [2023-10-24T18:43:38.237Z] ad3a456e5733: Pull complete [2023-10-24T18:43:38.237Z] 33e27b845d1e: Pull complete [2023-10-24T18:43:38.237Z] c68163c4e522: Pull complete [2023-10-24T18:43:40.769Z] 50da416c3ac9: Pull complete [2023-10-24T18:43:41.028Z] 23d2d4c4bb30: Pull complete [2023-10-24T18:43:41.028Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T18:43:41.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T18:43:41.028Z] ---> 0786185ac409 [2023-10-24T18:43:41.028Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:43:47.602Z] ---> Running in 1aed5cbe8630 [2023-10-24T18:43:47.602Z] Removing intermediate container 1aed5cbe8630 [2023-10-24T18:43:47.602Z] ---> a35aa4c0bbd8 [2023-10-24T18:43:47.602Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:43:47.602Z] ---> Running in b469623a39ec [2023-10-24T18:43:47.602Z] Removing intermediate container b469623a39ec [2023-10-24T18:43:47.602Z] ---> 17197ce9a06c [2023-10-24T18:43:47.602Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:43:47.602Z] ---> Running in a5f46fa6a8d6 [2023-10-24T18:43:47.602Z] Removing intermediate container a5f46fa6a8d6 [2023-10-24T18:43:47.602Z] ---> 0da683d48bf9 [2023-10-24T18:43:47.602Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:43:47.602Z] ---> Running in 27581440f4a8 [2023-10-24T18:43:47.602Z] Removing intermediate container 27581440f4a8 [2023-10-24T18:43:47.602Z] ---> 09052ee77a59 [2023-10-24T18:43:47.602Z] Step 7/12 : WORKDIR /device-gpio [2023-10-24T18:43:47.602Z] ---> Running in 303527a1a4a8 [2023-10-24T18:43:47.602Z] Removing intermediate container 303527a1a4a8 [2023-10-24T18:43:47.602Z] ---> bfed347c0fc4 [2023-10-24T18:43:47.602Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:43:47.602Z] ---> Running in d748899a2622 [2023-10-24T18:43:47.754Z] Still waiting to schedule task [2023-10-24T18:43:47.755Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-10-24T18:43:47.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:43:48.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:43:48.380Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:43:48.380Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:43:48.380Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:43:48.380Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:43:48.380Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:43:48.380Z] OK: 268 MiB in 56 packages [2023-10-24T18:43:48.953Z] Removing intermediate container d748899a2622 [2023-10-24T18:43:48.953Z] ---> e2860d50c469 [2023-10-24T18:43:48.953Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:43:48.953Z] ---> ae3d2bbd17d2 [2023-10-24T18:43:48.953Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:43:48.953Z] ---> Running in faaf40328fd5 [2023-10-24T18:44:45.233Z] Removing intermediate container faaf40328fd5 [2023-10-24T18:44:45.233Z] ---> bb79566b7b48 [2023-10-24T18:44:45.233Z] Step 11/12 : COPY . . [2023-10-24T18:44:45.233Z] ---> dbddc463842b [2023-10-24T18:44:45.233Z] Step 12/12 : RUN ${MAKE} [2023-10-24T18:44:45.233Z] ---> Running in d12540d979db [2023-10-24T18:44:45.233Z] noop [2023-10-24T18:44:45.233Z] Removing intermediate container d12540d979db [2023-10-24T18:44:45.233Z] ---> 0ebed109ef7c [2023-10-24T18:44:45.233Z] Successfully built 0ebed109ef7c [2023-10-24T18:44:45.233Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:44:45.551Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:44:45.551Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:44:45.618Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:44:45.655Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T18:44:46.014Z] $ docker top f58c2b95dc66ed19a7b98c96523e62cff4474b7a72f9a804f31db0572e5f0a5e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:44:46.347Z] + go version [2023-10-24T18:44:46.347Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T18:44:46.361Z] $ docker stop --time=1 f58c2b95dc66ed19a7b98c96523e62cff4474b7a72f9a804f31db0572e5f0a5e [2023-10-24T18:44:47.660Z] $ docker rm -f --volumes f58c2b95dc66ed19a7b98c96523e62cff4474b7a72f9a804f31db0572e5f0a5e [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:44:48.054Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T18:44:48.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:44:48.124Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:44:48.157Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T18:44:48.500Z] $ docker top b8397da4d3fd1231557378a4ade85e561e5be14003228f1c65463d15fd14844a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:44:48.845Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:44:49.136Z] + make test [2023-10-24T18:44:49.136Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:44:50.509Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-24T18:45:00.472Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-24T18:45:00.472Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-24T18:45:05.735Z] go vet ./... [2023-10-24T18:45:09.013Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:45:09.013Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:45:09.013Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:45:09.278Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:45:09.293Z] $ docker stop --time=1 b8397da4d3fd1231557378a4ade85e561e5be14003228f1c65463d15fd14844a [2023-10-24T18:45:11.670Z] $ docker rm -f --volumes b8397da4d3fd1231557378a4ade85e561e5be14003228f1c65463d15fd14844a [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:45:12.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:45:12.175Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T18:45:12.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:45:12.919Z] + ls -al . [2023-10-24T18:45:12.919Z] total 160 [2023-10-24T18:45:12.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:44 . [2023-10-24T18:45:12.919Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:43 .. [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:43 .dockerignore [2023-10-24T18:45:12.919Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:44 .git [2023-10-24T18:45:12.919Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:43 .github [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:43 .gitignore [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:43 .golangci.yml [2023-10-24T18:45:12.919Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:43 .semver [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:43 Attribution.txt [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:43 CHANGELOG.md [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:43 Dockerfile [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:43 GOVERNANCE.md [2023-10-24T18:45:12.919Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:43 Jenkinsfile [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:43 LICENSE [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:43 Makefile [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:43 OWNERS.md [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:43 README.md [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:43 VERSION [2023-10-24T18:45:12.920Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:43 bin [2023-10-24T18:45:12.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:43 cmd [2023-10-24T18:45:12.920Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:44 coverage.out [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:43 go.mod [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:43 go.sum [2023-10-24T18:45:12.920Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:43 internal [2023-10-24T18:45:12.920Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:13.258Z] + 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=69ee781b107b0972e8e0a66d1ba9300a2d3ea368 --label arch=amd64 --label version=3.1.0-dev.19 . [2023-10-24T18:45:13.258Z] Sending build context to Docker daemon 16.13MB [2023-10-24T18:45:13.258Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:45:13.258Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:45:13.258Z] ---> 0ebed109ef7c [2023-10-24T18:45:13.258Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:45:13.825Z] ---> Running in aa320e3982ef [2023-10-24T18:45:13.825Z] Removing intermediate container aa320e3982ef [2023-10-24T18:45:13.825Z] ---> 25e495181b7e [2023-10-24T18:45:13.825Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:45:13.825Z] ---> Running in 5aebcdc64b01 [2023-10-24T18:45:13.825Z] Removing intermediate container 5aebcdc64b01 [2023-10-24T18:45:13.825Z] ---> 154c06716a5c [2023-10-24T18:45:13.825Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:45:13.825Z] ---> Running in 57ac91295567 [2023-10-24T18:45:14.085Z] Removing intermediate container 57ac91295567 [2023-10-24T18:45:14.085Z] ---> edafd8a252b5 [2023-10-24T18:45:14.085Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:45:14.085Z] ---> Running in 0f245c025d07 [2023-10-24T18:45:14.085Z] Removing intermediate container 0f245c025d07 [2023-10-24T18:45:14.085Z] ---> 3bbf8457dc28 [2023-10-24T18:45:14.085Z] Step 7/25 : WORKDIR /device-gpio [2023-10-24T18:45:14.085Z] ---> Running in 872a68ec1f86 [2023-10-24T18:45:14.085Z] Removing intermediate container 872a68ec1f86 [2023-10-24T18:45:14.085Z] ---> 652d34cb3f28 [2023-10-24T18:45:14.085Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:45:14.085Z] ---> Running in ddaffed9c002 [2023-10-24T18:45:14.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:45:14.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:45:14.861Z] OK: 268 MiB in 56 packages [2023-10-24T18:45:15.120Z] Removing intermediate container ddaffed9c002 [2023-10-24T18:45:15.120Z] ---> 6a19a0835abe [2023-10-24T18:45:15.120Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:45:15.120Z] ---> 286e541f05ff [2023-10-24T18:45:15.120Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:45:15.120Z] ---> Running in 43c8d2628399 [2023-10-24T18:45:16.213Z] Removing intermediate container 43c8d2628399 [2023-10-24T18:45:16.213Z] ---> 05f5bbbfef77 [2023-10-24T18:45:16.213Z] Step 11/25 : COPY . . [2023-10-24T18:45:16.471Z] ---> 5605a81b4fe6 [2023-10-24T18:45:16.471Z] Step 12/25 : RUN ${MAKE} [2023-10-24T18:45:16.471Z] ---> Running in b598a4db38d0 [2023-10-24T18:45:16.729Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-24T18:45:44.636Z] Removing intermediate container b598a4db38d0 [2023-10-24T18:45:44.636Z] ---> ea4279c18ca3 [2023-10-24T18:45:44.636Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:45:44.636Z] 3.18: Pulling from library/alpine [2023-10-24T18:45:44.636Z] 96526aa774ef: Pulling fs layer [2023-10-24T18:45:44.636Z] 96526aa774ef: Verifying Checksum [2023-10-24T18:45:44.636Z] 96526aa774ef: Download complete [2023-10-24T18:45:44.636Z] 96526aa774ef: Pull complete [2023-10-24T18:45:44.636Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:45:44.636Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:45:44.636Z] ---> 8ca4688f4f35 [2023-10-24T18:45:44.636Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-24T18:45:44.636Z] ---> Running in c70a44452d96 [2023-10-24T18:45:44.636Z] Removing intermediate container c70a44452d96 [2023-10-24T18:45:44.636Z] ---> 1a809bba2288 [2023-10-24T18:45:44.636Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-24T18:45:44.636Z] ---> Running in 46c671aba8cd [2023-10-24T18:45:44.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T18:45:44.636Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T18:45:44.636Z] OK: 7 MiB in 15 packages [2023-10-24T18:45:44.636Z] Removing intermediate container 46c671aba8cd [2023-10-24T18:45:44.636Z] ---> 0f9049780142 [2023-10-24T18:45:44.636Z] Step 16/25 : WORKDIR / [2023-10-24T18:45:44.636Z] ---> Running in 8c3bfc3a3a7b [2023-10-24T18:45:44.636Z] Removing intermediate container 8c3bfc3a3a7b [2023-10-24T18:45:44.636Z] ---> a75499b7963c [2023-10-24T18:45:44.636Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-24T18:45:44.636Z] ---> 7104193e5ae3 [2023-10-24T18:45:44.636Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-24T18:45:44.636Z] ---> 83790abb41eb [2023-10-24T18:45:44.636Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-24T18:45:44.636Z] ---> 913d46a4abdb [2023-10-24T18:45:44.636Z] Step 20/25 : EXPOSE 59910 [2023-10-24T18:45:44.636Z] ---> Running in 7936d74c8072 [2023-10-24T18:45:44.636Z] Removing intermediate container 7936d74c8072 [2023-10-24T18:45:44.636Z] ---> 8d038f4adf7d [2023-10-24T18:45:44.636Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-24T18:45:44.636Z] ---> Running in 6bba6cfdc513 [2023-10-24T18:45:44.636Z] Removing intermediate container 6bba6cfdc513 [2023-10-24T18:45:44.636Z] ---> d37feb495313 [2023-10-24T18:45:44.636Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:45:44.636Z] ---> Running in 951caa04b70b [2023-10-24T18:45:44.636Z] Removing intermediate container 951caa04b70b [2023-10-24T18:45:44.636Z] ---> d5f631c988ec [2023-10-24T18:45:44.636Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T18:45:44.636Z] ---> Running in d98f6217d892 [2023-10-24T18:45:44.636Z] Removing intermediate container d98f6217d892 [2023-10-24T18:45:44.636Z] ---> 5c4fafc1b509 [2023-10-24T18:45:44.636Z] Step 24/25 : LABEL git_sha=69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:45:44.636Z] ---> Running in 63f7d13c56f7 [2023-10-24T18:45:44.636Z] Removing intermediate container 63f7d13c56f7 [2023-10-24T18:45:44.636Z] ---> 0e064ae9ed32 [2023-10-24T18:45:44.636Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-10-24T18:45:44.636Z] ---> Running in 9f9f3d36dec7 [2023-10-24T18:45:44.636Z] Removing intermediate container 9f9f3d36dec7 [2023-10-24T18:45:44.636Z] ---> 6f2391235ea9 [2023-10-24T18:45:44.636Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:45:44.636Z] Successfully built 6f2391235ea9 [2023-10-24T18:45:44.636Z] 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:45:44.733Z] provisioning config files... [2023-10-24T18:45:44.741Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10903254199287494794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:45:45.036Z] ---> docker-login.sh [2023-10-24T18:45:45.036Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:45:45.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:45:45.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:45:45.037Z] Configure a credential helper to remove this warning. See [2023-10-24T18:45:45.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:45:45.037Z] [2023-10-24T18:45:45.037Z] Login Succeeded [2023-10-24T18:45:45.037Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:45:45.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:45:45.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:45:45.037Z] Configure a credential helper to remove this warning. See [2023-10-24T18:45:45.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:45:45.037Z] [2023-10-24T18:45:45.037Z] Login Succeeded [2023-10-24T18:45:45.037Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:45:45.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:45:45.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:45:45.295Z] Configure a credential helper to remove this warning. See [2023-10-24T18:45:45.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:45:45.295Z] [2023-10-24T18:45:45.295Z] Login Succeeded [2023-10-24T18:45:45.295Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:45:45.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:45:45.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:45:45.295Z] Configure a credential helper to remove this warning. See [2023-10-24T18:45:45.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:45:45.295Z] [2023-10-24T18:45:45.295Z] Login Succeeded [2023-10-24T18:45:45.295Z] docker.io [2023-10-24T18:45:45.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:45:45.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:45:45.722Z] Configure a credential helper to remove this warning. See [2023-10-24T18:45:45.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:45:45.722Z] [2023-10-24T18:45:45.722Z] Login Succeeded [2023-10-24T18:45:45.722Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:45:45.723Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:45:45.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:45:45.784Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-10-24T18:45:45.784Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:45:45.784Z] latest [2023-10-24T18:45:45.784Z] 3.1.0-dev.19 [2023-10-24T18:45:45.784Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:45:45.784Z] main [2023-10-24T18:45:45.784Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:46.180Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:46.509Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:45:46.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:45:46.509Z] efc6bf852682: Preparing [2023-10-24T18:45:46.509Z] 055c670e671b: Preparing [2023-10-24T18:45:46.509Z] 58c32416d891: Preparing [2023-10-24T18:45:46.509Z] e5c7208bfe05: Preparing [2023-10-24T18:45:46.509Z] cc2447e1835a: Preparing [2023-10-24T18:45:46.509Z] cc2447e1835a: Layer already exists [2023-10-24T18:45:46.509Z] 58c32416d891: Pushed [2023-10-24T18:45:46.509Z] 055c670e671b: Pushed [2023-10-24T18:45:46.509Z] e5c7208bfe05: Pushed [2023-10-24T18:45:49.797Z] efc6bf852682: Pushed [2023-10-24T18:45:49.797Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368: digest: sha256:38a0ea4ad074c7a1954591d565f24c9ca67bd19f3d82f2c7caf9c8cd395bc3ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:50.113Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:50.421Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-24T18:45:50.422Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:45:50.422Z] efc6bf852682: Preparing [2023-10-24T18:45:50.422Z] 055c670e671b: Preparing [2023-10-24T18:45:50.422Z] 58c32416d891: Preparing [2023-10-24T18:45:50.422Z] e5c7208bfe05: Preparing [2023-10-24T18:45:50.422Z] cc2447e1835a: Preparing [2023-10-24T18:45:50.422Z] 58c32416d891: Layer already exists [2023-10-24T18:45:50.422Z] 055c670e671b: Layer already exists [2023-10-24T18:45:50.422Z] cc2447e1835a: Layer already exists [2023-10-24T18:45:50.422Z] efc6bf852682: Layer already exists [2023-10-24T18:45:50.422Z] e5c7208bfe05: Layer already exists [2023-10-24T18:45:50.422Z] latest: digest: sha256:38a0ea4ad074c7a1954591d565f24c9ca67bd19f3d82f2c7caf9c8cd395bc3ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:50.726Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:51.027Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.19 [2023-10-24T18:45:51.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:45:51.027Z] efc6bf852682: Preparing [2023-10-24T18:45:51.027Z] 055c670e671b: Preparing [2023-10-24T18:45:51.027Z] 58c32416d891: Preparing [2023-10-24T18:45:51.027Z] e5c7208bfe05: Preparing [2023-10-24T18:45:51.027Z] cc2447e1835a: Preparing [2023-10-24T18:45:51.027Z] 58c32416d891: Layer already exists [2023-10-24T18:45:51.027Z] efc6bf852682: Layer already exists [2023-10-24T18:45:51.027Z] 055c670e671b: Layer already exists [2023-10-24T18:45:51.027Z] e5c7208bfe05: Layer already exists [2023-10-24T18:45:51.027Z] cc2447e1835a: Layer already exists [2023-10-24T18:45:51.027Z] 3.1.0-dev.19: digest: sha256:38a0ea4ad074c7a1954591d565f24c9ca67bd19f3d82f2c7caf9c8cd395bc3ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:51.330Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:51.634Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:45:51.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:45:51.634Z] efc6bf852682: Preparing [2023-10-24T18:45:51.634Z] 055c670e671b: Preparing [2023-10-24T18:45:51.634Z] 58c32416d891: Preparing [2023-10-24T18:45:51.634Z] e5c7208bfe05: Preparing [2023-10-24T18:45:51.634Z] cc2447e1835a: Preparing [2023-10-24T18:45:51.634Z] efc6bf852682: Layer already exists [2023-10-24T18:45:51.634Z] 58c32416d891: Layer already exists [2023-10-24T18:45:51.634Z] cc2447e1835a: Layer already exists [2023-10-24T18:45:51.634Z] e5c7208bfe05: Layer already exists [2023-10-24T18:45:51.634Z] 055c670e671b: Layer already exists [2023-10-24T18:45:51.634Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19: digest: sha256:38a0ea4ad074c7a1954591d565f24c9ca67bd19f3d82f2c7caf9c8cd395bc3ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:51.938Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:52.241Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-10-24T18:45:52.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-10-24T18:45:52.241Z] efc6bf852682: Preparing [2023-10-24T18:45:52.241Z] 055c670e671b: Preparing [2023-10-24T18:45:52.241Z] 58c32416d891: Preparing [2023-10-24T18:45:52.241Z] e5c7208bfe05: Preparing [2023-10-24T18:45:52.241Z] cc2447e1835a: Preparing [2023-10-24T18:45:52.241Z] efc6bf852682: Layer already exists [2023-10-24T18:45:52.241Z] 58c32416d891: Layer already exists [2023-10-24T18:45:52.241Z] e5c7208bfe05: Layer already exists [2023-10-24T18:45:52.241Z] cc2447e1835a: Layer already exists [2023-10-24T18:45:52.241Z] 055c670e671b: Layer already exists [2023-10-24T18:45:52.241Z] main: digest: sha256:38a0ea4ad074c7a1954591d565f24c9ca67bd19f3d82f2c7caf9c8cd395bc3ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:45:52.291Z] ===================================================== [Pipeline] echo [2023-10-24T18:45:52.299Z] taggedImages: [2023-10-24T18:45:52.299Z] - nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:45:52.299Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-10-24T18:45:52.299Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.19 [2023-10-24T18:45:52.299Z] - nexus3.edgexfoundry.org:10004/device-gpio:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:45:52.299Z] - 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:45:52.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:45:52.673Z] [2023-10-24T18:45:52.673Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:45:52.977Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:45:52.977Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T18:45:52.977Z] 5eb5b503b376: Pulling fs layer [2023-10-24T18:45:52.977Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T18:45:52.977Z] ec43610c2a17: Pulling fs layer [2023-10-24T18:45:52.977Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T18:45:52.977Z] 33b1e0a273af: Pulling fs layer [2023-10-24T18:45:52.977Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T18:45:52.978Z] 2f39f015ded8: Pulling fs layer [2023-10-24T18:45:52.978Z] 5d3b04190fa2: Waiting [2023-10-24T18:45:52.978Z] 3a2ae6a8a46f: Waiting [2023-10-24T18:45:52.978Z] 33b1e0a273af: Waiting [2023-10-24T18:45:52.978Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T18:45:52.978Z] 5c69ac0246d0: Download complete [2023-10-24T18:45:52.978Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T18:45:52.978Z] 3a2ae6a8a46f: Download complete [2023-10-24T18:45:52.978Z] 33b1e0a273af: Verifying Checksum [2023-10-24T18:45:52.978Z] 33b1e0a273af: Download complete [2023-10-24T18:45:52.978Z] ec43610c2a17: Verifying Checksum [2023-10-24T18:45:52.978Z] ec43610c2a17: Download complete [2023-10-24T18:45:52.978Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T18:45:52.978Z] 5d3b04190fa2: Download complete [2023-10-24T18:45:53.236Z] 5eb5b503b376: Verifying Checksum [2023-10-24T18:45:53.236Z] 5eb5b503b376: Download complete [2023-10-24T18:45:53.801Z] 2f39f015ded8: Download complete [2023-10-24T18:45:54.367Z] 5eb5b503b376: Pull complete [2023-10-24T18:45:54.625Z] 5c69ac0246d0: Pull complete [2023-10-24T18:45:54.883Z] ec43610c2a17: Pull complete [2023-10-24T18:45:54.883Z] 3a2ae6a8a46f: Pull complete [2023-10-24T18:45:55.141Z] 33b1e0a273af: Pull complete [2023-10-24T18:45:55.399Z] 5d3b04190fa2: Pull complete [2023-10-24T18:45:59.578Z] 2f39f015ded8: Pull complete [2023-10-24T18:45:59.578Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T18:45:59.578Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:45:59.578Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:45:59.671Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:45:59.702Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T18:46:05.985Z] $ docker top 7aaf734571f6bb579d7342d129737fba80156b9c7698ce11389719da0952e287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:46:06.343Z] ---> job-cost.sh [2023-10-24T18:46:06.343Z] lf-activate-venv: SKIPPING [2023-10-24T18:46:06.343Z] INFO: No Stack... [2023-10-24T18:46:06.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:46:06.860Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:46:07.152Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-10-24T18:46:07.152Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:46:07.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [2023-10-24T18:46:07.170Z] Resource [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] did not exist. Created. [2023-10-24T18:46:07.170Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:46:07.466Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T18:46:07.486Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:46:07.492Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:46:07.509Z] $ docker stop --time=1 7aaf734571f6bb579d7342d129737fba80156b9c7698ce11389719da0952e287 [2023-10-24T18:46:08.646Z] $ docker rm -f --volumes 7aaf734571f6bb579d7342d129737fba80156b9c7698ce11389719da0952e287 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T18:48:50.823Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10268 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-10-24T18:48:50.838Z] Running in /w/workspace/device-gpio/106 [Pipeline] { [Pipeline] checkout [2023-10-24T18:48:50.883Z] The recommended git tool is: git [2023-10-24T18:48:58.362Z] using credential edgex-jenkins-ssh [2023-10-24T18:48:58.381Z] Cloning the remote Git repository [2023-10-24T18:48:58.454Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-10-24T18:48:58.602Z] > git init /w/workspace/device-gpio/106 # timeout=10 [2023-10-24T18:48:58.801Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-10-24T18:48:58.803Z] > git --version # timeout=10 [2023-10-24T18:48:58.831Z] > git --version # 'git version 2.25.1' [2023-10-24T18:48:58.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T18:48:59.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:49:03.943Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-10-24T18:49:03.969Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T18:49:04.994Z] Avoid second fetch [2023-10-24T18:49:04.994Z] Checking out Revision 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 (main) [2023-10-24T18:49:05.656Z] Commit message: "Merge pull request #206 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.36" [2023-10-24T18:49:05.016Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T18:49:05.098Z] > git checkout -f 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:49:06.521Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T18:49:06.522Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:49:06.522Z] Dload Upload Total Spent Left Speed [2023-10-24T18:49:06.522Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 211k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-10-24T18:49:07.152Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T18:49:07.493Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T18:49:07.493Z] + sudo tee /etc/docker/daemon.new [2023-10-24T18:49:07.493Z] { [2023-10-24T18:49:07.493Z] "registry-mirrors": [ [2023-10-24T18:49:07.493Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T18:49:07.493Z] ], [2023-10-24T18:49:07.493Z] "bip": "10.250.0.254/24", [2023-10-24T18:49:07.493Z] "hosts": [ [2023-10-24T18:49:07.493Z] "tcp://0.0.0.0:5555", [2023-10-24T18:49:07.493Z] "unix:///var/run/docker.sock" [2023-10-24T18:49:07.493Z] ], [2023-10-24T18:49:07.493Z] "mtu": 1458, [2023-10-24T18:49:07.493Z] "selinux-enabled": true, [2023-10-24T18:49:07.493Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T18:49:07.493Z] } [Pipeline] sh [2023-10-24T18:49:07.849Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T18:49:08.230Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:49:26.558Z] provisioning config files... [2023-10-24T18:49:26.592Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/106@tmp/config7463796158466172096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:49:26.997Z] ---> docker-login.sh [2023-10-24T18:49:26.998Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:49:27.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:49:27.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:49:27.872Z] Configure a credential helper to remove this warning. See [2023-10-24T18:49:27.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:49:27.872Z] [2023-10-24T18:49:27.872Z] Login Succeeded [2023-10-24T18:49:27.872Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:49:28.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:49:28.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:49:28.422Z] Configure a credential helper to remove this warning. See [2023-10-24T18:49:28.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:49:28.422Z] [2023-10-24T18:49:28.422Z] Login Succeeded [2023-10-24T18:49:28.422Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:49:28.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:49:28.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:49:28.701Z] Configure a credential helper to remove this warning. See [2023-10-24T18:49:28.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:49:28.701Z] [2023-10-24T18:49:28.701Z] Login Succeeded [2023-10-24T18:49:28.701Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:49:29.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:49:29.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:49:29.314Z] Configure a credential helper to remove this warning. See [2023-10-24T18:49:29.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:49:29.314Z] [2023-10-24T18:49:29.314Z] Login Succeeded [2023-10-24T18:49:29.314Z] docker.io [2023-10-24T18:49:29.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:49:29.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:49:29.861Z] Configure a credential helper to remove this warning. See [2023-10-24T18:49:29.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:49:29.861Z] [2023-10-24T18:49:30.133Z] Login Succeeded [2023-10-24T18:49:30.133Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:49:30.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T18:49:30.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:49:30.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:49:30.502Z] ========================================================= [2023-10-24T18:49:30.502Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T18:49:30.502Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:49:30.867Z] + 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:49:31.148Z] Sending build context to Docker daemon 8.123MB [2023-10-24T18:49:31.148Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:49:31.148Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T18:49:31.423Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T18:49:31.423Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T18:49:31.423Z] 5d54e960e981: Pulling fs layer [2023-10-24T18:49:31.423Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T18:49:31.423Z] f0e02332f6b5: Pulling fs layer [2023-10-24T18:49:31.423Z] cefa15bbcfad: Pulling fs layer [2023-10-24T18:49:31.423Z] 17808c966233: Pulling fs layer [2023-10-24T18:49:31.423Z] f4c1fc716caa: Pulling fs layer [2023-10-24T18:49:31.423Z] cefa15bbcfad: Waiting [2023-10-24T18:49:31.423Z] 17808c966233: Waiting [2023-10-24T18:49:31.423Z] f4c1fc716caa: Waiting [2023-10-24T18:49:31.423Z] f0e02332f6b5: Waiting [2023-10-24T18:49:31.423Z] 5d54e960e981: Download complete [2023-10-24T18:49:31.423Z] f0e02332f6b5: Verifying Checksum [2023-10-24T18:49:31.423Z] f0e02332f6b5: Download complete [2023-10-24T18:49:31.700Z] cefa15bbcfad: Verifying Checksum [2023-10-24T18:49:31.700Z] cefa15bbcfad: Download complete [2023-10-24T18:49:31.700Z] 9fda8d8052c6: Download complete [2023-10-24T18:49:32.308Z] f4c1fc716caa: Verifying Checksum [2023-10-24T18:49:32.308Z] f4c1fc716caa: Download complete [2023-10-24T18:49:32.581Z] 9fda8d8052c6: Pull complete [2023-10-24T18:49:33.183Z] 5d54e960e981: Pull complete [2023-10-24T18:49:33.455Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T18:49:33.455Z] c4a7e357bf2a: Download complete [2023-10-24T18:49:34.879Z] 17808c966233: Verifying Checksum [2023-10-24T18:49:34.879Z] 17808c966233: Download complete [2023-10-24T18:49:47.235Z] c4a7e357bf2a: Pull complete [2023-10-24T18:49:47.236Z] f0e02332f6b5: Pull complete [2023-10-24T18:49:47.236Z] cefa15bbcfad: Pull complete [2023-10-24T18:49:57.346Z] 17808c966233: Pull complete [2023-10-24T18:49:57.939Z] f4c1fc716caa: Pull complete [2023-10-24T18:49:57.939Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T18:49:57.939Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T18:49:57.939Z] ---> ea914061e18c [2023-10-24T18:49:57.939Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:50:02.458Z] ---> Running in 3bbd4f235b01 [2023-10-24T18:50:02.769Z] Removing intermediate container 3bbd4f235b01 [2023-10-24T18:50:02.769Z] ---> 491c16dfa001 [2023-10-24T18:50:02.769Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:50:03.059Z] ---> Running in 535bd8ef4a92 [2023-10-24T18:50:03.334Z] Removing intermediate container 535bd8ef4a92 [2023-10-24T18:50:03.334Z] ---> 64a8daf4e296 [2023-10-24T18:50:03.334Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:50:03.334Z] ---> Running in c0a42acd8794 [2023-10-24T18:50:03.927Z] Removing intermediate container c0a42acd8794 [2023-10-24T18:50:03.927Z] ---> b152625c9298 [2023-10-24T18:50:03.927Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:50:03.927Z] ---> Running in 761b04e0745f [2023-10-24T18:50:04.196Z] Removing intermediate container 761b04e0745f [2023-10-24T18:50:04.196Z] ---> 2ed9e0b4d91b [2023-10-24T18:50:04.196Z] Step 7/12 : WORKDIR /device-gpio [2023-10-24T18:50:04.468Z] ---> Running in 4e45f963c3ac [2023-10-24T18:50:04.744Z] Removing intermediate container 4e45f963c3ac [2023-10-24T18:50:04.744Z] ---> 13fb7c7bc4d8 [2023-10-24T18:50:04.744Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:50:05.274Z] ---> Running in 60d09619b97d [2023-10-24T18:50:06.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:50:06.856Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:50:08.827Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T18:50:08.827Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T18:50:08.827Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T18:50:08.827Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T18:50:08.827Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T18:50:08.827Z] OK: 270 MiB in 56 packages [2023-10-24T18:50:09.814Z] Removing intermediate container 60d09619b97d [2023-10-24T18:50:09.814Z] ---> 6dce5bab8ec1 [2023-10-24T18:50:09.814Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T18:50:10.423Z] ---> 51d508210b47 [2023-10-24T18:50:10.423Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:50:10.709Z] ---> Running in c0f3e3b5144b [2023-10-24T18:51:47.609Z] Removing intermediate container c0f3e3b5144b [2023-10-24T18:51:47.609Z] ---> c2d102a979cb [2023-10-24T18:51:47.609Z] Step 11/12 : COPY . . [2023-10-24T18:51:47.609Z] ---> 885381500675 [2023-10-24T18:51:47.609Z] Step 12/12 : RUN ${MAKE} [2023-10-24T18:51:47.609Z] ---> Running in 45ad4593d1a2 [2023-10-24T18:51:47.609Z] noop [2023-10-24T18:51:47.609Z] Removing intermediate container 45ad4593d1a2 [2023-10-24T18:51:47.609Z] ---> 4e072796495f [2023-10-24T18:51:47.609Z] Successfully built 4e072796495f [2023-10-24T18:51:47.609Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:51:47.975Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:51:47.975Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:51:48.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-10268 does not seem to be running inside a container [2023-10-24T18:51:48.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/106 -v /w/workspace/device-gpio/106:/w/workspace/device-gpio/106:rw,z -v /w/workspace/device-gpio/106@tmp:/w/workspace/device-gpio/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:51:49.708Z] $ docker top 38d8aa6982f67c5dd6f0237e0230be1f4b3a16b4edb67e566cf92c1c6360602d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:51:50.570Z] + go version [2023-10-24T18:51:50.570Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T18:51:50.593Z] $ docker stop --time=1 38d8aa6982f67c5dd6f0237e0230be1f4b3a16b4edb67e566cf92c1c6360602d [2023-10-24T18:51:52.333Z] $ docker rm -f --volumes 38d8aa6982f67c5dd6f0237e0230be1f4b3a16b4edb67e566cf92c1c6360602d [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:51:52.950Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T18:51:52.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:51:53.194Z] prd-ubuntu20.04-docker-arm64-4c-16g-10268 does not seem to be running inside a container [2023-10-24T18:51:53.276Z] $ 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/106 -v /w/workspace/device-gpio/106:/w/workspace/device-gpio/106:rw,z -v /w/workspace/device-gpio/106@tmp:/w/workspace/device-gpio/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T18:51:56.418Z] $ docker top af168b544a93c77efa8622a6a93de67ae22b1f26a2c569a8318d83c3adccd54b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:51:57.317Z] + git config --global --add safe.directory /w/workspace/device-gpio/106 [Pipeline] fileExists [Pipeline] sh [2023-10-24T18:51:57.985Z] + make test [2023-10-24T18:51:57.985Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T18:52:03.370Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-10-24T18:54:10.090Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-10-24T18:54:10.090Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-10-24T18:54:10.090Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T18:54:10.090Z] go vet ./... [2023-10-24T18:54:42.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T18:54:42.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T18:54:42.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T18:54:42.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T18:54:42.389Z] $ docker stop --time=1 af168b544a93c77efa8622a6a93de67ae22b1f26a2c569a8318d83c3adccd54b [2023-10-24T18:54:44.399Z] $ docker rm -f --volumes af168b544a93c77efa8622a6a93de67ae22b1f26a2c569a8318d83c3adccd54b [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:54:45.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T18:54:45.817Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T18:54:46.330Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T18:54:46.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T18:54:47.079Z] + ls -al . [2023-10-24T18:54:47.079Z] total 156 [2023-10-24T18:54:47.079Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:52 . [2023-10-24T18:54:47.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:48 .. [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 120 Oct 24 18:49 .dockerignore [2023-10-24T18:54:47.079Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:49 .git [2023-10-24T18:54:47.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:49 .github [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 256 Oct 24 18:49 .gitignore [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:49 .golangci.yml [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 10671 Oct 24 18:49 Attribution.txt [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 6184 Oct 24 18:49 CHANGELOG.md [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 1542 Oct 24 18:49 Dockerfile [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:49 GOVERNANCE.md [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 657 Oct 24 18:49 Jenkinsfile [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:49 LICENSE [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 1923 Oct 24 18:49 Makefile [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 18:49 OWNERS.md [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 12217 Oct 24 18:49 README.md [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:43 VERSION [2023-10-24T18:54:47.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:49 bin [2023-10-24T18:54:47.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:49 cmd [2023-10-24T18:54:47.079Z] -rw-r--r-- 1 jenkins jenkins 10 Oct 24 18:52 coverage.out [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 3698 Oct 24 18:49 go.mod [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 35450 Oct 24 18:49 go.sum [2023-10-24T18:54:47.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:49 internal [2023-10-24T18:54:47.079Z] -rw-rw-r-- 1 jenkins jenkins 209 Oct 24 18:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:54:47.438Z] + 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=69ee781b107b0972e8e0a66d1ba9300a2d3ea368 --label arch=arm64 --label version=3.1.0-dev.19 . [2023-10-24T18:54:48.033Z] Sending build context to Docker daemon 8.124MB [2023-10-24T18:54:48.033Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T18:54:48.033Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T18:54:48.033Z] ---> 4e072796495f [2023-10-24T18:54:48.033Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T18:54:48.302Z] ---> Running in 310f070aa563 [2023-10-24T18:54:48.573Z] Removing intermediate container 310f070aa563 [2023-10-24T18:54:48.573Z] ---> 59025fe16d60 [2023-10-24T18:54:48.573Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T18:54:48.847Z] ---> Running in fd107b885fff [2023-10-24T18:54:49.118Z] Removing intermediate container fd107b885fff [2023-10-24T18:54:49.118Z] ---> a6539fcac24b [2023-10-24T18:54:49.118Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-10-24T18:54:49.118Z] ---> Running in bf9208f380b5 [2023-10-24T18:54:49.707Z] Removing intermediate container bf9208f380b5 [2023-10-24T18:54:49.707Z] ---> 74f27e37f0f2 [2023-10-24T18:54:49.708Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T18:54:49.708Z] ---> Running in 846859216a87 [2023-10-24T18:54:49.981Z] Removing intermediate container 846859216a87 [2023-10-24T18:54:49.981Z] ---> 0547d28a7415 [2023-10-24T18:54:49.981Z] Step 7/25 : WORKDIR /device-gpio [2023-10-24T18:54:50.252Z] ---> Running in fb61f1176f5c [2023-10-24T18:54:50.522Z] Removing intermediate container fb61f1176f5c [2023-10-24T18:54:50.522Z] ---> 6e6afe6115c9 [2023-10-24T18:54:50.522Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T18:54:50.792Z] ---> Running in 7069ba237490 [2023-10-24T18:54:52.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:54:52.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:54:53.629Z] OK: 270 MiB in 56 packages [2023-10-24T18:54:55.063Z] Removing intermediate container 7069ba237490 [2023-10-24T18:54:55.063Z] ---> 274878179be5 [2023-10-24T18:54:55.063Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T18:54:56.484Z] ---> 97efa0bead71 [2023-10-24T18:54:56.484Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T18:54:56.759Z] ---> Running in bab9352aab3f [2023-10-24T18:54:59.382Z] Removing intermediate container bab9352aab3f [2023-10-24T18:54:59.382Z] ---> f35226a94070 [2023-10-24T18:54:59.382Z] Step 11/25 : COPY . . [2023-10-24T18:55:00.358Z] ---> 296662495aa1 [2023-10-24T18:55:00.358Z] Step 12/25 : RUN ${MAKE} [2023-10-24T18:55:00.358Z] ---> Running in 4ca1ffd1b9a4 [2023-10-24T18:55:01.334Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-10-24T18:57:08.075Z] Removing intermediate container 4ca1ffd1b9a4 [2023-10-24T18:57:08.075Z] ---> 7beaba0c1bcb [2023-10-24T18:57:08.075Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T18:57:08.674Z] 3.18: Pulling from library/alpine [2023-10-24T18:57:08.941Z] 579b34f0a95b: Pulling fs layer [2023-10-24T18:57:09.208Z] 579b34f0a95b: Verifying Checksum [2023-10-24T18:57:09.208Z] 579b34f0a95b: Download complete [2023-10-24T18:57:09.791Z] 579b34f0a95b: Pull complete [2023-10-24T18:57:10.060Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T18:57:10.060Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T18:57:10.060Z] ---> 3cc203321400 [2023-10-24T18:57:10.060Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-10-24T18:57:10.060Z] ---> Running in eb1845270a53 [2023-10-24T18:57:10.328Z] Removing intermediate container eb1845270a53 [2023-10-24T18:57:10.328Z] ---> f5a3a3b579a9 [2023-10-24T18:57:10.328Z] Step 15/25 : RUN apk add --update --no-cache [2023-10-24T18:57:10.595Z] ---> Running in 02dbd5f3c515 [2023-10-24T18:57:14.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T18:57:16.570Z] WARNING: fetching https://dl-cdn.alpinelinux.org/alpine/v3.18/main: temporary error (try again later) [2023-10-24T18:57:16.570Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T18:57:17.984Z] OK: 8 MiB in 15 packages [2023-10-24T18:57:18.577Z] Removing intermediate container 02dbd5f3c515 [2023-10-24T18:57:18.577Z] ---> 88d53d936f74 [2023-10-24T18:57:18.577Z] Step 16/25 : WORKDIR / [2023-10-24T18:57:18.847Z] ---> Running in e74c81c10c16 [2023-10-24T18:57:19.115Z] Removing intermediate container e74c81c10c16 [2023-10-24T18:57:19.115Z] ---> bab95192d952 [2023-10-24T18:57:19.115Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-10-24T18:57:19.700Z] ---> 7cef2fa8bc7c [2023-10-24T18:57:19.700Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-10-24T18:57:20.283Z] ---> fdd7acd46344 [2023-10-24T18:57:20.283Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-10-24T18:57:22.236Z] ---> f9af27a0b105 [2023-10-24T18:57:22.236Z] Step 20/25 : EXPOSE 59910 [2023-10-24T18:57:22.236Z] ---> Running in 3d1e4f8d65d5 [2023-10-24T18:57:22.236Z] Removing intermediate container 3d1e4f8d65d5 [2023-10-24T18:57:22.236Z] ---> d30595aabcb4 [2023-10-24T18:57:22.236Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-10-24T18:57:22.236Z] ---> Running in d4f5d6da114a [2023-10-24T18:57:22.820Z] Removing intermediate container d4f5d6da114a [2023-10-24T18:57:22.820Z] ---> 274a7e559795 [2023-10-24T18:57:22.820Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T18:57:22.820Z] ---> Running in dec22393196f [2023-10-24T18:57:23.088Z] Removing intermediate container dec22393196f [2023-10-24T18:57:23.088Z] ---> 1ad8452df6c1 [2023-10-24T18:57:23.088Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T18:57:23.088Z] ---> Running in 3d319e2a022e [2023-10-24T18:57:23.673Z] Removing intermediate container 3d319e2a022e [2023-10-24T18:57:23.673Z] ---> c3adbd5365e2 [2023-10-24T18:57:23.673Z] Step 24/25 : LABEL git_sha=69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:57:23.673Z] ---> Running in b7e871f28bd4 [2023-10-24T18:57:23.940Z] Removing intermediate container b7e871f28bd4 [2023-10-24T18:57:23.940Z] ---> bf01977f3ad8 [2023-10-24T18:57:23.940Z] Step 25/25 : LABEL version=3.1.0-dev.19 [2023-10-24T18:57:23.940Z] ---> Running in 91d205d4cba5 [2023-10-24T18:57:24.207Z] Removing intermediate container 91d205d4cba5 [2023-10-24T18:57:24.207Z] ---> bb7b93b68aa4 [2023-10-24T18:57:24.207Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T18:57:24.474Z] Successfully built bb7b93b68aa4 [2023-10-24T18:57:24.474Z] 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:57:24.583Z] provisioning config files... [2023-10-24T18:57:24.598Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/106@tmp/config2095295059454329690tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:57:24.945Z] ---> docker-login.sh [2023-10-24T18:57:24.945Z] nexus3.edgexfoundry.org:10001 [2023-10-24T18:57:25.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:57:25.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:57:25.214Z] Configure a credential helper to remove this warning. See [2023-10-24T18:57:25.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:57:25.214Z] [2023-10-24T18:57:25.214Z] Login Succeeded [2023-10-24T18:57:25.214Z] nexus3.edgexfoundry.org:10002 [2023-10-24T18:57:25.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:57:25.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:57:25.753Z] Configure a credential helper to remove this warning. See [2023-10-24T18:57:25.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:57:25.753Z] [2023-10-24T18:57:25.753Z] Login Succeeded [2023-10-24T18:57:25.753Z] nexus3.edgexfoundry.org:10003 [2023-10-24T18:57:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:57:26.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:57:26.121Z] Configure a credential helper to remove this warning. See [2023-10-24T18:57:26.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:57:26.121Z] [2023-10-24T18:57:26.121Z] Login Succeeded [2023-10-24T18:57:26.121Z] nexus3.edgexfoundry.org:10004 [2023-10-24T18:57:26.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:57:26.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:57:26.680Z] Configure a credential helper to remove this warning. See [2023-10-24T18:57:26.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:57:26.680Z] [2023-10-24T18:57:26.680Z] Login Succeeded [2023-10-24T18:57:26.680Z] docker.io [2023-10-24T18:57:26.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T18:57:27.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T18:57:27.218Z] Configure a credential helper to remove this warning. See [2023-10-24T18:57:27.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T18:57:27.218Z] [2023-10-24T18:57:27.218Z] Login Succeeded [2023-10-24T18:57:27.218Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T18:57:27.231Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:57:27.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T18:57:27.282Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-10-24T18:57:27.282Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:57:27.282Z] latest [2023-10-24T18:57:27.282Z] 3.1.0-dev.19 [2023-10-24T18:57:27.282Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:57:27.282Z] main [2023-10-24T18:57:27.282Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:27.631Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:29.421Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:57:29.421Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:57:29.421Z] 642005aa3e95: Preparing [2023-10-24T18:57:29.421Z] 7ac310fe0151: Preparing [2023-10-24T18:57:29.421Z] 59801289c4d0: Preparing [2023-10-24T18:57:29.421Z] f32291255b9e: Preparing [2023-10-24T18:57:29.421Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:57:29.421Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:57:29.689Z] 59801289c4d0: Pushed [2023-10-24T18:57:29.689Z] 7ac310fe0151: Pushed [2023-10-24T18:57:29.689Z] f32291255b9e: Pushed [2023-10-24T18:57:35.027Z] 642005aa3e95: Pushed [2023-10-24T18:57:35.028Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368: digest: sha256:dea238834c299fb1bab5b50623bee2edfea38dd44ff35cca66b41d7c6edc51ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:35.387Z] + 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:57:35.750Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-24T18:57:35.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:57:35.750Z] 642005aa3e95: Preparing [2023-10-24T18:57:35.750Z] 7ac310fe0151: Preparing [2023-10-24T18:57:35.750Z] 59801289c4d0: Preparing [2023-10-24T18:57:35.750Z] f32291255b9e: Preparing [2023-10-24T18:57:35.750Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:57:35.750Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:57:35.750Z] 59801289c4d0: Layer already exists [2023-10-24T18:57:35.750Z] 7ac310fe0151: Layer already exists [2023-10-24T18:57:35.750Z] f32291255b9e: Layer already exists [2023-10-24T18:57:35.750Z] 642005aa3e95: Layer already exists [2023-10-24T18:57:36.018Z] latest: digest: sha256:dea238834c299fb1bab5b50623bee2edfea38dd44ff35cca66b41d7c6edc51ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:36.388Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:36.740Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.19 [2023-10-24T18:57:36.740Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:57:36.741Z] 642005aa3e95: Preparing [2023-10-24T18:57:36.741Z] 7ac310fe0151: Preparing [2023-10-24T18:57:36.741Z] 59801289c4d0: Preparing [2023-10-24T18:57:36.741Z] f32291255b9e: Preparing [2023-10-24T18:57:36.741Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:57:36.741Z] 7ac310fe0151: Layer already exists [2023-10-24T18:57:36.741Z] f32291255b9e: Layer already exists [2023-10-24T18:57:36.741Z] 59801289c4d0: Layer already exists [2023-10-24T18:57:36.741Z] 642005aa3e95: Layer already exists [2023-10-24T18:57:36.741Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:57:37.009Z] 3.1.0-dev.19: digest: sha256:dea238834c299fb1bab5b50623bee2edfea38dd44ff35cca66b41d7c6edc51ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:37.360Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:37.702Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:57:37.702Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:57:37.702Z] 642005aa3e95: Preparing [2023-10-24T18:57:37.702Z] 7ac310fe0151: Preparing [2023-10-24T18:57:37.702Z] 59801289c4d0: Preparing [2023-10-24T18:57:37.702Z] f32291255b9e: Preparing [2023-10-24T18:57:37.702Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:57:37.702Z] 59801289c4d0: Layer already exists [2023-10-24T18:57:37.702Z] f32291255b9e: Layer already exists [2023-10-24T18:57:37.702Z] 7ac310fe0151: Layer already exists [2023-10-24T18:57:37.702Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:57:37.702Z] 642005aa3e95: Layer already exists [2023-10-24T18:57:37.702Z] 69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19: digest: sha256:dea238834c299fb1bab5b50623bee2edfea38dd44ff35cca66b41d7c6edc51ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:38.327Z] + 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:57:38.680Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-10-24T18:57:38.680Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-10-24T18:57:38.680Z] 642005aa3e95: Preparing [2023-10-24T18:57:38.680Z] 7ac310fe0151: Preparing [2023-10-24T18:57:38.680Z] 59801289c4d0: Preparing [2023-10-24T18:57:38.680Z] f32291255b9e: Preparing [2023-10-24T18:57:38.680Z] 5f4d9fc4d98d: Preparing [2023-10-24T18:57:38.680Z] f32291255b9e: Layer already exists [2023-10-24T18:57:38.680Z] 642005aa3e95: Layer already exists [2023-10-24T18:57:38.680Z] 59801289c4d0: Layer already exists [2023-10-24T18:57:38.680Z] 7ac310fe0151: Layer already exists [2023-10-24T18:57:38.680Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T18:57:38.949Z] main: digest: sha256:dea238834c299fb1bab5b50623bee2edfea38dd44ff35cca66b41d7c6edc51ad size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T18:57:39.005Z] ===================================================== [Pipeline] echo [2023-10-24T18:57:39.015Z] taggedImages: [2023-10-24T18:57:39.015Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [2023-10-24T18:57:39.015Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-10-24T18:57:39.015Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.19 [2023-10-24T18:57:39.015Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:69ee781b107b0972e8e0a66d1ba9300a2d3ea368-3.1.0-dev.19 [2023-10-24T18:57:39.015Z] - 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:57:39.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:57:39.388Z] [2023-10-24T18:57:39.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:57:39.719Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:57:39.992Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T18:57:39.992Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T18:57:39.992Z] 04944245beec: Pulling fs layer [2023-10-24T18:57:39.992Z] 699f458cf7ca: Pulling fs layer [2023-10-24T18:57:39.992Z] 765212b225bb: Pulling fs layer [2023-10-24T18:57:39.992Z] f23df028b6ca: Pulling fs layer [2023-10-24T18:57:39.992Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T18:57:39.992Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T18:57:39.992Z] f23df028b6ca: Waiting [2023-10-24T18:57:39.992Z] d65c8cfc05b1: Waiting [2023-10-24T18:57:39.992Z] 2437ff75d9bd: Waiting [2023-10-24T18:57:39.992Z] 765212b225bb: Waiting [2023-10-24T18:57:39.992Z] 04944245beec: Verifying Checksum [2023-10-24T18:57:39.992Z] 04944245beec: Download complete [2023-10-24T18:57:39.992Z] 765212b225bb: Verifying Checksum [2023-10-24T18:57:39.992Z] 765212b225bb: Download complete [2023-10-24T18:57:39.992Z] f23df028b6ca: Verifying Checksum [2023-10-24T18:57:39.992Z] f23df028b6ca: Download complete [2023-10-24T18:57:39.992Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T18:57:39.992Z] d65c8cfc05b1: Download complete [2023-10-24T18:57:40.260Z] 699f458cf7ca: Verifying Checksum [2023-10-24T18:57:40.260Z] 699f458cf7ca: Download complete [2023-10-24T18:57:40.852Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T18:57:40.852Z] 8998bd30e6a1: Download complete [2023-10-24T18:57:43.435Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T18:57:43.435Z] 2437ff75d9bd: Download complete [2023-10-24T18:57:46.018Z] 8998bd30e6a1: Pull complete [2023-10-24T18:57:46.018Z] 04944245beec: Pull complete [2023-10-24T18:57:47.965Z] 699f458cf7ca: Pull complete [2023-10-24T18:57:48.231Z] 765212b225bb: Pull complete [2023-10-24T18:57:49.191Z] f23df028b6ca: Pull complete [2023-10-24T18:57:49.191Z] d65c8cfc05b1: Pull complete [2023-10-24T18:58:07.407Z] 2437ff75d9bd: Pull complete [2023-10-24T18:58:07.407Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T18:58:07.407Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T18:58:07.407Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:58:07.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-10268 does not seem to be running inside a container [2023-10-24T18:58:07.681Z] $ 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/106 -v /w/workspace/device-gpio/106:/w/workspace/device-gpio/106:rw,z -v /w/workspace/device-gpio/106@tmp:/w/workspace/device-gpio/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T18:58:10.747Z] $ docker top 337fb08499de9906d4c838a29858fc4a18386ef1ec8c5e3afbe102d808f9963c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:58:11.629Z] ---> job-cost.sh [2023-10-24T18:58:11.629Z] lf-activate-venv: SKIPPING [2023-10-24T18:58:11.629Z] INFO: No Stack... [2023-10-24T18:58:12.214Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T18:58:13.178Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T18:58:13.813Z] + cat /w/workspace/device-gpio/106/archives/cost.csv [2023-10-24T18:58:13.813Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T18:58:13.888Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [2023-10-24T18:58:13.896Z] Resource [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] did not exist. Created. [2023-10-24T18:58:13.896Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T18:58:14.557Z] /w/workspace/device-gpio/106@tmp/durable-c4a3718c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T18:58:15.204Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T18:58:15.223Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T18:58:15.278Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T18:58:15.329Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-106-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T18:58:15.352Z] $ docker stop --time=1 337fb08499de9906d4c838a29858fc4a18386ef1ec8c5e3afbe102d808f9963c [2023-10-24T18:58:16.972Z] $ docker rm -f --volumes 337fb08499de9906d4c838a29858fc4a18386ef1ec8c5e3afbe102d808f9963c [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:58:17.437Z] provisioning config files... [2023-10-24T18:58:17.443Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config7663741718732634354tmp [Pipeline] { [Pipeline] sh [2023-10-24T18:58:17.725Z] + set +x [2023-10-24T18:58:17.725Z] + curl -s https://codecov.io/bash [2023-10-24T18:58:17.725Z] + bash -s -- [2023-10-24T18:58:17.725Z] [2023-10-24T18:58:17.725Z] _____ _ [2023-10-24T18:58:17.725Z] / ____| | | [2023-10-24T18:58:17.725Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T18:58:17.725Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T18:58:17.725Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T18:58:17.725Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T18:58:17.725Z] Bash-1.0.6 [2023-10-24T18:58:17.725Z] [2023-10-24T18:58:17.725Z] [2023-10-24T18:58:17.725Z] ==> git version 2.25.1 found [2023-10-24T18:58:17.725Z] ==> 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:58:17.725Z] Release-Date: 2020-01-08 [2023-10-24T18:58:17.725Z] 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:58:17.725Z] 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:58:17.725Z] ==> Jenkins CI detected. [2023-10-24T18:58:17.725Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-10-24T18:58:17.725Z] project root: . [2023-10-24T18:58:17.725Z] --> token set from env [2023-10-24T18:58:17.725Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T18:58:17.725Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T18:58:17.725Z] ==> Python coveragepy not found [2023-10-24T18:58:17.725Z] ==> Searching for coverage reports in: [2023-10-24T18:58:17.725Z] + . [2023-10-24T18:58:17.725Z] -> Found 1 reports [2023-10-24T18:58:17.725Z] ==> Detecting git/mercurial file structure [2023-10-24T18:58:17.725Z] ==> Reading reports [2023-10-24T18:58:17.725Z] + ./coverage.out bytes=10 [2023-10-24T18:58:17.725Z] ==> Appending adjustments [2023-10-24T18:58:17.725Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T18:58:17.984Z] + Found adjustments [2023-10-24T18:58:17.984Z] ==> Gzipping contents [2023-10-24T18:58:17.984Z] 4.0K /tmp/codecov.QdfFDV.gz [2023-10-24T18:58:17.984Z] ==> Uploading reports [2023-10-24T18:58:17.984Z] url: https://codecov.io [2023-10-24T18:58:17.984Z] query: branch=main&commit=69ee781b107b0972e8e0a66d1ba9300a2d3ea368&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:58:17.984Z] -> Pinging Codecov [2023-10-24T18:58:17.984Z] 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=69ee781b107b0972e8e0a66d1ba9300a2d3ea368&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T18:58:30.201Z] -> Uploading to [2023-10-24T18:58:30.201Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/69ee781b107b0972e8e0a66d1ba9300a2d3ea368/593518a8-e72b-401c-9fab-a1c912a1462d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T185829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e7975ad6665505d2f00c1acd92772297dc074cb96839b9c2b7e7670ed432c423 [2023-10-24T18:58:30.201Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T18:58:30.201Z] Dload Upload Total Spent Left Speed [2023-10-24T18:58:30.201Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 563 0 0 100 563 0 1982 --:--:-- --:--:-- --:--:-- 1982 [2023-10-24T18:58:30.201Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] } [2023-10-24T18:58:30.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T18:58:30.328Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T18:58:30.340Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:58:30.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:58:30.646Z] [2023-10-24T18:58:30.646Z] 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:58:30.953Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:58:30.953Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T18:58:30.953Z] df9b9388f04a: Pulling fs layer [2023-10-24T18:58:30.953Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T18:58:30.953Z] 25bc292e5bac: Pulling fs layer [2023-10-24T18:58:30.953Z] 114826534d7a: Pulling fs layer [2023-10-24T18:58:30.953Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T18:58:30.953Z] 4657fd5d0bcf: Waiting [2023-10-24T18:58:30.953Z] 114826534d7a: Waiting [2023-10-24T18:58:30.953Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T18:58:30.953Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T18:58:30.953Z] 8a3aa393b2d8: Waiting [2023-10-24T18:58:30.953Z] 25bc292e5bac: Verifying Checksum [2023-10-24T18:58:30.953Z] 25bc292e5bac: Download complete [2023-10-24T18:58:30.953Z] 52dc419b0ee2: Verifying Checksum [2023-10-24T18:58:30.953Z] 52dc419b0ee2: Download complete [2023-10-24T18:58:30.953Z] 4657fd5d0bcf: Verifying Checksum [2023-10-24T18:58:30.953Z] 4657fd5d0bcf: Download complete [2023-10-24T18:58:30.953Z] df9b9388f04a: Download complete [2023-10-24T18:58:31.212Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T18:58:31.212Z] 6ad1cebc031e: Download complete [2023-10-24T18:58:31.212Z] df9b9388f04a: Pull complete [2023-10-24T18:58:31.212Z] 52dc419b0ee2: Pull complete [2023-10-24T18:58:31.471Z] 25bc292e5bac: Pull complete [2023-10-24T18:58:31.728Z] 114826534d7a: Verifying Checksum [2023-10-24T18:58:31.728Z] 114826534d7a: Download complete [2023-10-24T18:58:31.728Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T18:58:31.728Z] 8a3aa393b2d8: Download complete [2023-10-24T18:58:35.002Z] 114826534d7a: Pull complete [2023-10-24T18:58:35.002Z] 4657fd5d0bcf: Pull complete [2023-10-24T18:58:35.259Z] 6ad1cebc031e: Pull complete [2023-10-24T18:58:37.786Z] 8a3aa393b2d8: Pull complete [2023-10-24T18:58:37.786Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T18:58:37.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T18:58:37.786Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:58:37.858Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:58:37.877Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T18:58:43.099Z] $ docker top 128cb6bce7b79c9e606f84121094f142453049e52fc4f37de91c2ec6b5a3512e -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T18:58:43.182Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-10-24T18:58:43.458Z] + set -o pipefail [2023-10-24T18:58:43.458Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-10-24T18:58:50.033Z] [2023-10-24T18:58:50.033Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-10-24T18:58:50.033Z] [2023-10-24T18:58:50.033Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/4fac0a98-5ca9-4393-bd3a-b54145a49782 [2023-10-24T18:58:50.033Z] [2023-10-24T18:58:50.033Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T18:58:50.033Z] [2023-10-24T18:58:50.033Z] [2023-10-24T18:58:50.033Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T18:58:50.033Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T18:58:50.033Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T18:58:50.032Z] $ docker stop --time=1 128cb6bce7b79c9e606f84121094f142453049e52fc4f37de91c2ec6b5a3512e [2023-10-24T18:58:54.124Z] $ docker rm -f --volumes 128cb6bce7b79c9e606f84121094f142453049e52fc4f37de91c2ec6b5a3512e [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:58:54.833Z] + git log --format=format:%s -1 69ee781b107b0972e8e0a66d1ba9300a2d3ea368 [Pipeline] sh [2023-10-24T18:58:55.126Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:58:55.126Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:58:55.421Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:58:55.421Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:58:55.491Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:58:55.508Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:58:56.072Z] $ docker top ef9f5520ffbe4d66d750f557cdf5e0b427f40377e18aed04642bfdb899f6f742 -eo pid,comm [2023-10-24T18:58:56.126Z] 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:58:56.126Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:58:56.167Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:58:56.167Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:58:56.280Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:58:56.271Z] $ docker exec ef9f5520ffbe4d66d750f557cdf5e0b427f40377e18aed04642bfdb899f6f742 ssh-agent [2023-10-24T18:58:56.387Z] SSH_AUTH_SOCK=/tmp/ssh-Wj5EdIlSO14D/agent.33 [2023-10-24T18:58:56.388Z] SSH_AGENT_PID=39 [2023-10-24T18:58:56.393Z] Running ssh-add (command line suppressed) [2023-10-24T18:58:56.486Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1076085256141508525.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1076085256141508525.key) [2023-10-24T18:58:56.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:58:56.795Z] + git semver tag [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,963 [run_tag] DEBUG tag force:False [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,963 [check_head_tag] DEBUG check head tag [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,964 [execute] INFO git cat-file --batch-check [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,964 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,967 [execute] INFO git cat-file --batch [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,975 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,975 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,975 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:58:57.054Z] 2023-10-24 18:58:56,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:58:57.054Z] 3.1.0-dev.19 [Pipeline] } [2023-10-24T18:58:57.053Z] $ docker exec --env ******** --env ******** ef9f5520ffbe4d66d750f557cdf5e0b427f40377e18aed04642bfdb899f6f742 ssh-agent -k [2023-10-24T18:58:57.145Z] unset SSH_AUTH_SOCK; [2023-10-24T18:58:57.145Z] unset SSH_AGENT_PID; [2023-10-24T18:58:57.146Z] echo Agent pid 39 killed; [2023-10-24T18:58:57.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:58:57.468Z] + git semver [Pipeline] } [2023-10-24T18:58:57.744Z] $ docker stop --time=1 ef9f5520ffbe4d66d750f557cdf5e0b427f40377e18aed04642bfdb899f6f742 [2023-10-24T18:58:59.054Z] $ docker rm -f --volumes ef9f5520ffbe4d66d750f557cdf5e0b427f40377e18aed04642bfdb899f6f742 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:58:59.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:58:59.570Z] [2023-10-24T18:58:59.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:58:59.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:58:59.867Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T18:58:59.867Z] ab5ef0e58194: Pulling fs layer [2023-10-24T18:58:59.867Z] 9712f1f96733: Pulling fs layer [2023-10-24T18:58:59.867Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T18:58:59.867Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T18:58:59.867Z] e9a5061849ea: Pulling fs layer [2023-10-24T18:58:59.867Z] d747dcd14b5f: Pulling fs layer [2023-10-24T18:58:59.867Z] 2de7ff778b66: Pulling fs layer [2023-10-24T18:58:59.867Z] 0d9ebad4ef96: Waiting [2023-10-24T18:58:59.867Z] e9a5061849ea: Waiting [2023-10-24T18:58:59.867Z] 2de7ff778b66: Waiting [2023-10-24T18:58:59.867Z] d747dcd14b5f: Waiting [2023-10-24T18:58:59.867Z] 9712f1f96733: Verifying Checksum [2023-10-24T18:58:59.867Z] 9712f1f96733: Download complete [2023-10-24T18:59:00.125Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T18:59:00.126Z] 63f879dbbcfc: Download complete [2023-10-24T18:59:00.383Z] e9a5061849ea: Verifying Checksum [2023-10-24T18:59:00.383Z] e9a5061849ea: Download complete [2023-10-24T18:59:00.383Z] d747dcd14b5f: Verifying Checksum [2023-10-24T18:59:00.383Z] d747dcd14b5f: Download complete [2023-10-24T18:59:00.383Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T18:59:00.383Z] 0d9ebad4ef96: Download complete [2023-10-24T18:59:00.383Z] ab5ef0e58194: Verifying Checksum [2023-10-24T18:59:00.383Z] ab5ef0e58194: Download complete [2023-10-24T18:59:00.383Z] 2de7ff778b66: Verifying Checksum [2023-10-24T18:59:00.383Z] 2de7ff778b66: Download complete [2023-10-24T18:59:02.908Z] ab5ef0e58194: Pull complete [2023-10-24T18:59:02.908Z] 9712f1f96733: Pull complete [2023-10-24T18:59:03.475Z] 63f879dbbcfc: Pull complete [2023-10-24T18:59:07.660Z] 0d9ebad4ef96: Pull complete [2023-10-24T18:59:07.660Z] e9a5061849ea: Pull complete [2023-10-24T18:59:07.660Z] d747dcd14b5f: Pull complete [2023-10-24T18:59:08.594Z] 2de7ff778b66: Pull complete [2023-10-24T18:59:08.594Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T18:59:08.594Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T18:59:08.594Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:59:08.675Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:59:08.693Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T18:59:15.909Z] $ docker top a8e791a49a3f2cc3ee9d73de57bbb361e395c907a4d27546028f5efbcd9fd11e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:59:15.982Z] provisioning config files... [2023-10-24T18:59:15.989Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6914716338480889472tmp [2023-10-24T18:59:15.999Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13426740422930725600tmp [2023-10-24T18:59:16.010Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17200541710968555457tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:59:16.024Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:16.303Z] ---> sigul-configuration.sh [2023-10-24T18:59:16.303Z] gpg: directory `/root/.gnupg' created [2023-10-24T18:59:16.303Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T18:59:16.303Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T18:59:16.303Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T18:59:16.303Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T18:59:16.303Z] gpg: CAST5 encrypted data [2023-10-24T18:59:16.303Z] gpg: encrypted with 1 passphrase [2023-10-24T18:59:16.303Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T18:59:16.587Z] + mkdir /home/jenkins [2023-10-24T18:59:16.587Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T18:59:16.871Z] + 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:59:16.878Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:17.161Z] ---> sigul-install.sh [2023-10-24T18:59:17.161Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T18:59:17.446Z] + git tag --list [2023-10-24T18:59:17.446Z] v1.0.0 [2023-10-24T18:59:17.446Z] v2.1.0 [2023-10-24T18:59:17.446Z] v2.1.1 [2023-10-24T18:59:17.446Z] v2.2.0 [2023-10-24T18:59:17.446Z] v2.3.0 [2023-10-24T18:59:17.446Z] v3.0 [2023-10-24T18:59:17.446Z] v3.0.0 [2023-10-24T18:59:17.446Z] v3.1.0-dev.1 [2023-10-24T18:59:17.446Z] v3.1.0-dev.10 [2023-10-24T18:59:17.446Z] v3.1.0-dev.11 [2023-10-24T18:59:17.446Z] v3.1.0-dev.12 [2023-10-24T18:59:17.446Z] v3.1.0-dev.13 [2023-10-24T18:59:17.446Z] v3.1.0-dev.14 [2023-10-24T18:59:17.446Z] v3.1.0-dev.15 [2023-10-24T18:59:17.446Z] v3.1.0-dev.16 [2023-10-24T18:59:17.446Z] v3.1.0-dev.17 [2023-10-24T18:59:17.446Z] v3.1.0-dev.18 [2023-10-24T18:59:17.446Z] v3.1.0-dev.19 [2023-10-24T18:59:17.446Z] v3.1.0-dev.2 [2023-10-24T18:59:17.446Z] v3.1.0-dev.3 [2023-10-24T18:59:17.446Z] v3.1.0-dev.4 [2023-10-24T18:59:17.446Z] v3.1.0-dev.5 [2023-10-24T18:59:17.446Z] v3.1.0-dev.6 [2023-10-24T18:59:17.446Z] v3.1.0-dev.7 [2023-10-24T18:59:17.446Z] v3.1.0-dev.8 [2023-10-24T18:59:17.446Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T18:59:17.729Z] + lftools sign git-tag v3.1.0-dev.19 [2023-10-24T18:59:18.296Z] Signing Git tag with Sigul... [2023-10-24T18:59:18.296Z] Signing v3.1.0-dev.19 [Pipeline] echo [2023-10-24T18:59:18.870Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:19.155Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T18:59:19.161Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T18:59:19.163Z] $ docker stop --time=1 a8e791a49a3f2cc3ee9d73de57bbb361e395c907a4d27546028f5efbcd9fd11e [2023-10-24T18:59:20.457Z] $ docker rm -f --volumes a8e791a49a3f2cc3ee9d73de57bbb361e395c907a4d27546028f5efbcd9fd11e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T18:59:20.887Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:59:20.887Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:59:21.184Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:59:21.184Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:59:21.249Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:59:21.266Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:59:21.584Z] $ docker top f26f9858637bbb40427332ce633e812d0d21c7718bc3289941bcdbc629503d81 -eo pid,comm [2023-10-24T18:59:21.642Z] 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:59:21.642Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:59:21.682Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:59:21.682Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:59:21.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:59:21.801Z] $ docker exec f26f9858637bbb40427332ce633e812d0d21c7718bc3289941bcdbc629503d81 ssh-agent [2023-10-24T18:59:21.929Z] SSH_AUTH_SOCK=/tmp/ssh-UBeL4OdqZsJk/agent.33 [2023-10-24T18:59:21.929Z] SSH_AGENT_PID=39 [2023-10-24T18:59:21.934Z] Running ssh-add (command line suppressed) [2023-10-24T18:59:22.026Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6700413784227786517.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6700413784227786517.key) [2023-10-24T18:59:22.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:59:22.334Z] + git semver bump pre [2023-10-24T18:59:22.593Z] 2023-10-24 18:59:22,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:59:22.593Z] 2023-10-24 18:59:22,514 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev [2023-10-24T18:59:22.593Z] 2023-10-24 18:59:22,514 [bump_version] DEBUG bumped version:3.1.0-dev.20 [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,514 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,514 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,514 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,516 [execute] INFO git cat-file --batch-check [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,516 [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:59:22.594Z] 2023-10-24 18:59:22,521 [execute] INFO git cat-file --batch [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T18:59:22.594Z] 2023-10-24 18:59:22,526 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:59:22.594Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T18:59:22.591Z] $ docker exec --env ******** --env ******** f26f9858637bbb40427332ce633e812d0d21c7718bc3289941bcdbc629503d81 ssh-agent -k [2023-10-24T18:59:22.696Z] unset SSH_AUTH_SOCK; [2023-10-24T18:59:22.696Z] unset SSH_AGENT_PID; [2023-10-24T18:59:22.697Z] echo Agent pid 39 killed; [2023-10-24T18:59:22.717Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:59:23.016Z] + git semver [Pipeline] } [2023-10-24T18:59:23.273Z] $ docker stop --time=1 f26f9858637bbb40427332ce633e812d0d21c7718bc3289941bcdbc629503d81 [2023-10-24T18:59:24.548Z] $ docker rm -f --volumes f26f9858637bbb40427332ce633e812d0d21c7718bc3289941bcdbc629503d81 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T18:59:24.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T18:59:24.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:59:25.214Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T18:59:25.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:59:25.283Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:59:25.301Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T18:59:25.659Z] $ docker top 5641180a0e68adbcc5ca37421dcae066e3d06a47abcb74d64adbe5c3e9ae254b -eo pid,comm [2023-10-24T18:59:25.742Z] 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:59:25.742Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T18:59:25.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T18:59:25.782Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T18:59:25.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T18:59:25.909Z] $ docker exec 5641180a0e68adbcc5ca37421dcae066e3d06a47abcb74d64adbe5c3e9ae254b ssh-agent [2023-10-24T18:59:26.031Z] SSH_AUTH_SOCK=/tmp/ssh-uSNFCyX9JKxg/agent.31 [2023-10-24T18:59:26.031Z] SSH_AGENT_PID=37 [2023-10-24T18:59:26.036Z] Running ssh-add (command line suppressed) [2023-10-24T18:59:26.134Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15660818913003498243.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15660818913003498243.key) [2023-10-24T18:59:26.161Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T18:59:26.445Z] + git semver push [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,617 [run_push] DEBUG push [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,617 [execute] INFO git cat-file --batch-check [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,618 [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:59:26.703Z] 2023-10-24 18:59:26,622 [execute] INFO git rev-list 54d19b884e113cef1eb9d22e30c1ea4f16c55250 -- [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,622 [execute] DEBUG Popen(['git', 'rev-list', '54d19b884e113cef1eb9d22e30c1ea4f16c55250', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,630 [execute] INFO git fetch -v origin [2023-10-24T18:59:26.703Z] 2023-10-24 18:59:26,630 [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:59:27.272Z] 2023-10-24 18:59:27,159 [run_push] DEBUG no remote changes detected [2023-10-24T18:59:27.272Z] 2023-10-24 18:59:27,159 [execute] INFO git push origin semver [2023-10-24T18:59:27.272Z] 2023-10-24 18:59:27,160 [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:59:28.208Z] 2023-10-24 18:59:27,967 [run_push] DEBUG push all version tags [2023-10-24T18:59:28.208Z] 2023-10-24 18:59:27,968 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T18:59:28.208Z] 2023-10-24 18:59:27,968 [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:59:29.142Z] 2023-10-24 18:59:28,763 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-10-24T18:59:29.143Z] 3.1.0-dev.20 [Pipeline] } [2023-10-24T18:59:29.138Z] $ docker exec --env ******** --env ******** 5641180a0e68adbcc5ca37421dcae066e3d06a47abcb74d64adbe5c3e9ae254b ssh-agent -k [2023-10-24T18:59:29.228Z] unset SSH_AUTH_SOCK; [2023-10-24T18:59:29.228Z] unset SSH_AGENT_PID; [2023-10-24T18:59:29.228Z] echo Agent pid 37 killed; [2023-10-24T18:59:29.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T18:59:29.552Z] + git semver [Pipeline] } [2023-10-24T18:59:29.809Z] $ docker stop --time=1 5641180a0e68adbcc5ca37421dcae066e3d06a47abcb74d64adbe5c3e9ae254b [2023-10-24T18:59:31.107Z] $ docker rm -f --volumes 5641180a0e68adbcc5ca37421dcae066e3d06a47abcb74d64adbe5c3e9ae254b [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:59:31.770Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-10-24T18:59:31.770Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:59:31.770Z] total 16 [2023-10-24T18:59:31.770Z] drwxr-xr-x 3 root root 4096 Oct 24 18:46 . [2023-10-24T18:59:31.770Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:59 .. [2023-10-24T18:59:31.770Z] drwxr-xr-x 2 root root 4096 Oct 24 18:46 cost [2023-10-24T18:59:31.770Z] -rw-r--r-- 1 root root 83 Oct 24 18:46 cost.csv [2023-10-24T18:59:31.770Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:59:31.770Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-10-24T18:59:31.770Z] total 16 [2023-10-24T18:59:31.771Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:46 . [2023-10-24T18:59:31.771Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:59 .. [2023-10-24T18:59:31.771Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:46 cost [2023-10-24T18:59:31.771Z] -rw-r--r-- 1 jenkins jenkins 83 Oct 24 18:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:32.060Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:32.918Z] ---> package-listing.sh [2023-10-24T18:59:32.918Z] ++ facter osfamily [2023-10-24T18:59:32.918Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T18:59:33.177Z] + OS_FAMILY=debian [2023-10-24T18:59:33.177Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-10-24T18:59:33.177Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T18:59:33.177Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T18:59:33.177Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T18:59:33.177Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T18:59:33.177Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-24T18:59:33.177Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T18:59:33.177Z] + case "${OS_FAMILY}" in [2023-10-24T18:59:33.177Z] + dpkg -l [2023-10-24T18:59:33.177Z] + grep '^ii' [2023-10-24T18:59:33.177Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T18:59:33.177Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T18:59:33.177Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T18:59:33.177Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-10-24T18:59:33.177Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-10-24T18:59:33.177Z] + 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:59:33.188Z] 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:59:33.463Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T18:59:34.010Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T18:59:34.010Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T18:59:34.081Z] prd-ubuntu20.04-docker-8c-8g-10253 does not seem to be running inside a container [2023-10-24T18:59:34.099Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T18:59:34.315Z] $ docker top 7b15a7d97429d01db5d85843d89e78905bb60f029a5af896142e9853d608aac3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T18:59:34.663Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T18:59:34.948Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T18:59:35.233Z] + ls /var/log/sa-host [2023-10-24T18:59:35.233Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T18:59:35.314Z] provisioning config files... [2023-10-24T18:59:35.321Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9524562112178829008tmp [Pipeline] { [Pipeline] echo [2023-10-24T18:59:35.333Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:35.613Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T18:59:35.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:35.939Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T18:59:35.947Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:36.250Z] ---> sudo-logs.sh [2023-10-24T18:59:36.250Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T18:59:36.281Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:36.560Z] ---> job-cost.sh [2023-10-24T18:59:36.560Z] lf-activate-venv: SKIPPING [2023-10-24T18:59:36.560Z] DEBUG: total: 0.2199999988079071 [2023-10-24T18:59:36.560Z] INFO: Retrieving Stack Cost... [2023-10-24T18:59:36.825Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T18:59:37.394Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T18:59:37.404Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T18:59:37.687Z] ---> logs-deploy.sh [2023-10-24T18:59:37.687Z] lf-activate-venv: SKIPPING [2023-10-24T18:59:37.687Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/106 [2023-10-24T18:59:37.687Z] INFO: archiving workspace using pattern(s): [2023-10-24T18:59:38.624Z] Archives upload complete. [2023-10-24T18:59:38.624Z] INFO: archiving logs to Nexus