Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b744bfde03dbd717ba3f435291983dbb9a905fb 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-ssh9090100417107006801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4783595398614892000.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh11929616390710066979.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh4791662781539638395.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-ssh5307242946281023727.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8913 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 9b744bfde03dbd717ba3f435291983dbb9a905fb (main) Commit message: "Merge pull request #155 from hahattan/bump-sdk" > 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 9b744bfde03dbd717ba3f435291983dbb9a905fb # timeout=10 > git rev-list --no-walk ccc7c8b3ba967118ae25d51feb931af0a88af0c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T11:36:14.348Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T11:36:14.412Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T11:36:14.432Z] ========================================================= [2023-04-18T11:36:14.432Z] EdgeX Global Pipelines Version Info [2023-04-18T11:36:14.432Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:36:15.149Z] ------------------- [2023-04-18T11:36:15.149Z] stable info: [2023-04-18T11:36:15.149Z] ------------------- [2023-04-18T11:36:15.149Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T11:36:15.149Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T11:36:15.149Z] Message: update stable to v1.0.248 [2023-04-18T11:36:15.722Z] ------------------- [2023-04-18T11:36:15.722Z] experimental info: [2023-04-18T11:36:15.722Z] ------------------- [2023-04-18T11:36:15.722Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T11:36:15.722Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T11:36:15.722Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T11:36:15.869Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-18T11:36:15.877Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-18T11:36:15.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T11:36:15.895Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T11:36:15.904Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T11:36:15.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T11:36:15.923Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T11:36:15.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-18T11:36:15.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T11:36:15.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T11:36:15.966Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T11:36:15.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-18T11:36:15.985Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T11:36:15.994Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T11:36:16.003Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T11:36:16.011Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T11:36:16.020Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T11:36:16.029Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T11:36:16.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T11:36:16.045Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T11:36:16.055Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-18T11:36:16.069Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-18T11:36:16.080Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T11:36:16.093Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T11:36:16.104Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T11:36:16.115Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T11:36:16.128Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T11:36:16.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-18T11:36:16.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-18T11:36:16.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-18T11:36:16.176Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] echo [2023-04-18T11:36:16.187Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b744bf [Pipeline] echo [2023-04-18T11:36:16.204Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:36:16.244Z] provisioning config files... [2023-04-18T11:36:16.256Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16320611017677580138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:36:16.561Z] ---> docker-login.sh [2023-04-18T11:36:16.561Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:36:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:16.821Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:16.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:16.821Z] [2023-04-18T11:36:16.821Z] Login Succeeded [2023-04-18T11:36:16.821Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:36:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:16.821Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:16.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:16.821Z] [2023-04-18T11:36:16.821Z] Login Succeeded [2023-04-18T11:36:16.821Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:36:17.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:17.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:17.081Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:17.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:17.081Z] [2023-04-18T11:36:17.081Z] Login Succeeded [2023-04-18T11:36:17.081Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:36:17.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:17.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:17.081Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:17.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:17.081Z] [2023-04-18T11:36:17.081Z] Login Succeeded [2023-04-18T11:36:17.081Z] docker.io [2023-04-18T11:36:17.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:17.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:17.341Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:17.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:17.341Z] [2023-04-18T11:36:17.341Z] Login Succeeded [2023-04-18T11:36:17.341Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:36:17.349Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T11:36:17.729Z] + git rev-list -1 --merges 9b744bfde03dbd717ba3f435291983dbb9a905fb~1..9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] echo [2023-04-18T11:36:17.774Z] -----------> git rev-list -1 --merges 9b744bfde03dbd717ba3f435291983dbb9a905fb~1..9b744bfde03dbd717ba3f435291983dbb9a905fb 9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:36:17.774Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb [false] [Pipeline] sh [2023-04-18T11:36:18.062Z] + git log --format=format:%s -1 9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] echo [2023-04-18T11:36:18.078Z] ========================================================= [2023-04-18T11:36:18.078Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T11:36:18.078Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:36:18.407Z] + git log --format=format:%s -1 9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] echo [2023-04-18T11:36:18.433Z] [semverPrep] GIT_COMMIT: 9b744bfde03dbd717ba3f435291983dbb9a905fb, Commit Message: Merge pull request #155 from hahattan/bump-sdk [Pipeline] echo [2023-04-18T11:36:18.441Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T11:36:18.792Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:36:18.792Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T11:36:18.792Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T11:36:18.792Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T11:36:18.792Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-18T11:36:18.792Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-18T11:36:18.792Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:36:19.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:36:19.197Z] [2023-04-18T11:36:19.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:36:19.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:36:19.494Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T11:36:19.494Z] b85a868b505f: Pulling fs layer [2023-04-18T11:36:19.494Z] e2be974225ed: Pulling fs layer [2023-04-18T11:36:19.495Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T11:36:19.495Z] 988bab9f4d93: Pulling fs layer [2023-04-18T11:36:19.495Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T11:36:19.495Z] eaf3925da568: Pulling fs layer [2023-04-18T11:36:19.495Z] bab4dde63d76: Pulling fs layer [2023-04-18T11:36:19.495Z] bde34c3a00c8: Pulling fs layer [2023-04-18T11:36:19.495Z] b352a97aabf1: Pulling fs layer [2023-04-18T11:36:19.495Z] 4872d77fe225: Pulling fs layer [2023-04-18T11:36:19.495Z] 5851b861e8e6: Pulling fs layer [2023-04-18T11:36:19.495Z] 988bab9f4d93: Waiting [2023-04-18T11:36:19.495Z] 1469e6f7b9e6: Waiting [2023-04-18T11:36:19.495Z] bab4dde63d76: Waiting [2023-04-18T11:36:19.495Z] bde34c3a00c8: Waiting [2023-04-18T11:36:19.495Z] b352a97aabf1: Waiting [2023-04-18T11:36:19.495Z] 5851b861e8e6: Waiting [2023-04-18T11:36:19.495Z] eaf3925da568: Waiting [2023-04-18T11:36:19.495Z] e2be974225ed: Download complete [2023-04-18T11:36:19.495Z] 988bab9f4d93: Verifying Checksum [2023-04-18T11:36:19.495Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T11:36:19.495Z] 1469e6f7b9e6: Download complete [2023-04-18T11:36:19.495Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T11:36:19.495Z] 339a4e72a1f5: Download complete [2023-04-18T11:36:19.753Z] eaf3925da568: Verifying Checksum [2023-04-18T11:36:19.753Z] eaf3925da568: Download complete [2023-04-18T11:36:19.753Z] bde34c3a00c8: Download complete [2023-04-18T11:36:19.753Z] b352a97aabf1: Verifying Checksum [2023-04-18T11:36:19.753Z] b352a97aabf1: Download complete [2023-04-18T11:36:19.753Z] 4872d77fe225: Verifying Checksum [2023-04-18T11:36:19.753Z] 4872d77fe225: Download complete [2023-04-18T11:36:19.753Z] 5851b861e8e6: Verifying Checksum [2023-04-18T11:36:19.753Z] 5851b861e8e6: Download complete [2023-04-18T11:36:19.753Z] b85a868b505f: Verifying Checksum [2023-04-18T11:36:19.753Z] b85a868b505f: Download complete [2023-04-18T11:36:20.014Z] bab4dde63d76: Verifying Checksum [2023-04-18T11:36:20.014Z] bab4dde63d76: Download complete [2023-04-18T11:36:20.952Z] b85a868b505f: Pull complete [2023-04-18T11:36:20.952Z] e2be974225ed: Pull complete [2023-04-18T11:36:21.524Z] 339a4e72a1f5: Pull complete [2023-04-18T11:36:21.524Z] 988bab9f4d93: Pull complete [2023-04-18T11:36:21.783Z] 1469e6f7b9e6: Pull complete [2023-04-18T11:36:21.783Z] eaf3925da568: Pull complete [2023-04-18T11:36:23.158Z] bab4dde63d76: Pull complete [2023-04-18T11:36:23.419Z] bde34c3a00c8: Pull complete [2023-04-18T11:36:23.419Z] b352a97aabf1: Pull complete [2023-04-18T11:36:23.419Z] 4872d77fe225: Pull complete [2023-04-18T11:36:23.678Z] 5851b861e8e6: Pull complete [2023-04-18T11:36:23.678Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T11:36:23.678Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:36:23.678Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:36:23.764Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:36:23.791Z] $ 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-04-18T11:36:26.739Z] $ docker top 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc -eo pid,comm [2023-04-18T11:36:26.800Z] 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-04-18T11:36:26.800Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:36:26.828Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:36:26.828Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:36:26.936Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:36:26.935Z] $ docker exec 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc ssh-agent [2023-04-18T11:36:27.048Z] SSH_AUTH_SOCK=/tmp/ssh-mqGbRiMOEp07/agent.32 [2023-04-18T11:36:27.048Z] SSH_AGENT_PID=38 [2023-04-18T11:36:27.053Z] Running ssh-add (command line suppressed) [2023-04-18T11:36:27.157Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15434235422299756406.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15434235422299756406.key) [2023-04-18T11:36:27.173Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:36:27.459Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T11:36:27.475Z] $ docker exec --env ******** --env ******** 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc ssh-agent -k [2023-04-18T11:36:27.569Z] unset SSH_AUTH_SOCK; [2023-04-18T11:36:27.570Z] unset SSH_AGENT_PID; [2023-04-18T11:36:27.570Z] echo Agent pid 38 killed; [2023-04-18T11:36:27.582Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T11:36:27.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:36:27.603Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:36:27.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:36:27.702Z] $ docker exec 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc ssh-agent [2023-04-18T11:36:27.809Z] SSH_AUTH_SOCK=/tmp/ssh-CdzEClbkA4Vs/agent.70 [2023-04-18T11:36:27.809Z] SSH_AGENT_PID=76 [2023-04-18T11:36:27.817Z] Running ssh-add (command line suppressed) [2023-04-18T11:36:27.926Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1637909084975662679.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_1637909084975662679.key) [2023-04-18T11:36:27.946Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:36:28.241Z] + git semver init [2023-04-18T11:36:28.501Z] 2023-04-18 11:36:28,412 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T11:36:28.501Z] 2023-04-18 11:36:28,413 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-18T11:36:28.501Z] 2023-04-18 11:36:28,413 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-18T11:36:28.501Z] 2023-04-18 11:36:28,413 [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-04-18T11:36:29.441Z] 2023-04-18 11:36:29,391 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-04-18T11:36:29.441Z] 2023-04-18 11:36:29,391 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-04-18T11:36:29.441Z] 2023-04-18 11:36:29,391 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:36:29.441Z] 2023-04-18 11:36:29,392 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:36:29.441Z] 3.0.0-dev.19 [Pipeline] } [2023-04-18T11:36:29.448Z] $ docker exec --env ******** --env ******** 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc ssh-agent -k [2023-04-18T11:36:29.556Z] unset SSH_AUTH_SOCK; [2023-04-18T11:36:29.556Z] unset SSH_AGENT_PID; [2023-04-18T11:36:29.556Z] echo Agent pid 76 killed; [2023-04-18T11:36:29.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:36:29.863Z] + git semver [Pipeline] } [2023-04-18T11:36:30.133Z] $ docker stop --time=1 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc [2023-04-18T11:36:31.438Z] $ docker rm -f --volumes 1c9cad81b0c277fd854cfc495d7f996849efa6d58a5f0b24ec5dd3bde7d68fbc [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:36:31.781Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T11:36:31.997Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T11:36:32.000Z] [edgeXSemver]: initialized semver on version 3.0.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-04-18T11:36:32.151Z] provisioning config files... [2023-04-18T11:36:32.159Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4652013374039807778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:36:32.452Z] ---> docker-login.sh [2023-04-18T11:36:32.452Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:36:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:32.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:32.452Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:32.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:32.452Z] [2023-04-18T11:36:32.452Z] Login Succeeded [2023-04-18T11:36:32.452Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:36:32.452Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:32.452Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:32.452Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:32.452Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:32.452Z] [2023-04-18T11:36:32.452Z] Login Succeeded [2023-04-18T11:36:32.452Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:36:32.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:32.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:32.711Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:32.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:32.711Z] [2023-04-18T11:36:32.711Z] Login Succeeded [2023-04-18T11:36:32.711Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:36:32.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:32.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:32.711Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:32.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:32.711Z] [2023-04-18T11:36:32.711Z] Login Succeeded [2023-04-18T11:36:32.711Z] docker.io [2023-04-18T11:36:32.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:36:32.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:36:32.969Z] Configure a credential helper to remove this warning. See [2023-04-18T11:36:32.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:36:32.969Z] [2023-04-18T11:36:32.969Z] Login Succeeded [2023-04-18T11:36:32.969Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:36:32.976Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T11:36:33.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:36:33.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:36:33.043Z] ========================================================= [2023-04-18T11:36:33.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T11:36:33.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:36:33.341Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T11:36:33.341Z] Sending build context to Docker daemon 16.06MB [2023-04-18T11:36:33.341Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:36:33.341Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T11:36:33.341Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T11:36:33.341Z] 63b65145d645: Pulling fs layer [2023-04-18T11:36:33.341Z] a2d21d5440eb: Pulling fs layer [2023-04-18T11:36:33.341Z] 935e6c44a52c: Pulling fs layer [2023-04-18T11:36:33.341Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T11:36:33.341Z] 30dea6a524f1: Pulling fs layer [2023-04-18T11:36:33.341Z] a2aff8979fd8: Pulling fs layer [2023-04-18T11:36:33.341Z] 94cc34f8dd06: Waiting [2023-04-18T11:36:33.341Z] 30dea6a524f1: Waiting [2023-04-18T11:36:33.341Z] 6808be2612f2: Pulling fs layer [2023-04-18T11:36:33.341Z] f25807f1079a: Pulling fs layer [2023-04-18T11:36:33.341Z] a2aff8979fd8: Waiting [2023-04-18T11:36:33.341Z] f25807f1079a: Waiting [2023-04-18T11:36:33.616Z] a2d21d5440eb: Verifying Checksum [2023-04-18T11:36:33.616Z] a2d21d5440eb: Download complete [2023-04-18T11:36:33.616Z] 94cc34f8dd06: Verifying Checksum [2023-04-18T11:36:33.616Z] 94cc34f8dd06: Download complete [2023-04-18T11:36:33.616Z] 30dea6a524f1: Download complete [2023-04-18T11:36:33.616Z] 63b65145d645: Verifying Checksum [2023-04-18T11:36:33.616Z] 63b65145d645: Download complete [2023-04-18T11:36:33.616Z] a2aff8979fd8: Verifying Checksum [2023-04-18T11:36:33.616Z] a2aff8979fd8: Download complete [2023-04-18T11:36:33.616Z] 63b65145d645: Pull complete [2023-04-18T11:36:33.888Z] a2d21d5440eb: Pull complete [2023-04-18T11:36:34.156Z] f25807f1079a: Verifying Checksum [2023-04-18T11:36:34.156Z] f25807f1079a: Download complete [2023-04-18T11:36:34.156Z] 935e6c44a52c: Verifying Checksum [2023-04-18T11:36:34.156Z] 935e6c44a52c: Download complete [2023-04-18T11:36:34.414Z] 6808be2612f2: Verifying Checksum [2023-04-18T11:36:34.414Z] 6808be2612f2: Download complete [2023-04-18T11:36:37.695Z] 935e6c44a52c: Pull complete [2023-04-18T11:36:37.695Z] 94cc34f8dd06: Pull complete [2023-04-18T11:36:37.695Z] 30dea6a524f1: Pull complete [2023-04-18T11:36:37.695Z] a2aff8979fd8: Pull complete [2023-04-18T11:36:40.224Z] 6808be2612f2: Pull complete [2023-04-18T11:36:40.484Z] f25807f1079a: Pull complete [2023-04-18T11:36:40.484Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T11:36:40.484Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T11:36:40.484Z] ---> 3b553350e43f [2023-04-18T11:36:40.484Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:36:45.759Z] ---> Running in 77a32eb3fb14 [2023-04-18T11:36:45.759Z] Removing intermediate container 77a32eb3fb14 [2023-04-18T11:36:45.759Z] ---> af504b3b880c [2023-04-18T11:36:45.759Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:36:45.759Z] ---> Running in 8f4844387edc [2023-04-18T11:36:45.759Z] Removing intermediate container 8f4844387edc [2023-04-18T11:36:45.759Z] ---> b533f4cf75da [2023-04-18T11:36:45.759Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-18T11:36:45.759Z] ---> Running in 2a82f794ea2c [2023-04-18T11:36:45.759Z] Removing intermediate container 2a82f794ea2c [2023-04-18T11:36:45.759Z] ---> 34ae0239a84c [2023-04-18T11:36:45.759Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:36:45.759Z] ---> Running in 561858ec646d [2023-04-18T11:36:45.759Z] Removing intermediate container 561858ec646d [2023-04-18T11:36:45.759Z] ---> c19ca0454ce4 [2023-04-18T11:36:45.759Z] Step 7/12 : WORKDIR /device-gpio [2023-04-18T11:36:45.759Z] ---> Running in 363bf80c92e7 [2023-04-18T11:36:45.759Z] Removing intermediate container 363bf80c92e7 [2023-04-18T11:36:45.759Z] ---> 10787d264810 [2023-04-18T11:36:45.759Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:36:45.759Z] ---> Running in f45151864ecd [2023-04-18T11:36:46.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:36:46.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:36:46.278Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T11:36:46.278Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T11:36:46.278Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T11:36:46.278Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T11:36:46.278Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:36:46.278Z] OK: 269 MiB in 57 packages [2023-04-18T11:36:46.849Z] Removing intermediate container f45151864ecd [2023-04-18T11:36:46.849Z] ---> c8d9bd32e1ee [2023-04-18T11:36:46.849Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T11:36:46.849Z] ---> 9b2e96ed3463 [2023-04-18T11:36:46.849Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:36:46.849Z] ---> Running in 6de16aa26582 [2023-04-18T11:36:47.107Z] Still waiting to schedule task [2023-04-18T11:36:47.107Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-18T11:37:33.539Z] Removing intermediate container 6de16aa26582 [2023-04-18T11:37:33.539Z] ---> cde4b81ec5d0 [2023-04-18T11:37:33.539Z] Step 11/12 : COPY . . [2023-04-18T11:37:33.539Z] ---> 33f2723b8ff0 [2023-04-18T11:37:33.539Z] Step 12/12 : RUN ${MAKE} [2023-04-18T11:37:33.539Z] ---> Running in 0fc960650266 [2023-04-18T11:37:33.539Z] noop [2023-04-18T11:37:33.539Z] Removing intermediate container 0fc960650266 [2023-04-18T11:37:33.539Z] ---> 0a5fb2e9cbdb [2023-04-18T11:37:33.539Z] Successfully built 0a5fb2e9cbdb [2023-04-18T11:37:33.539Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:37:33.869Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T11:37:33.869Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:37:33.941Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:37:33.974Z] $ 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-04-18T11:37:34.301Z] $ docker top 44031bfc7ab3ea6ab423be28ee49b000672e556aee8428a3209cf5e5f5166c09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:37:34.650Z] + go version [2023-04-18T11:37:34.650Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T11:37:34.664Z] $ docker stop --time=1 44031bfc7ab3ea6ab423be28ee49b000672e556aee8428a3209cf5e5f5166c09 [2023-04-18T11:37:35.921Z] $ docker rm -f --volumes 44031bfc7ab3ea6ab423be28ee49b000672e556aee8428a3209cf5e5f5166c09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:37:36.394Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T11:37:36.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:37:36.460Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:37:36.493Z] $ 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-04-18T11:37:36.813Z] $ docker top 637487ee406aeda4d172b283aad588e17c6f5f12dd80169189e6796723720d4e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:37:37.149Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-04-18T11:37:37.444Z] + make test [2023-04-18T11:37:37.444Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T11:37:42.719Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-18T11:37:50.822Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-18T11:37:50.822Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-18T11:37:56.082Z] go vet ./... [2023-04-18T11:37:59.366Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T11:37:59.366Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T11:37:59.366Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T11:37:59.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T11:37:59.391Z] $ docker stop --time=1 637487ee406aeda4d172b283aad588e17c6f5f12dd80169189e6796723720d4e [2023-04-18T11:38:02.250Z] $ docker rm -f --volumes 637487ee406aeda4d172b283aad588e17c6f5f12dd80169189e6796723720d4e [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:38:02.690Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T11:38:02.732Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T11:38:03.252Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T11:38:03.537Z] + ls -al . [2023-04-18T11:38:03.537Z] total 156 [2023-04-18T11:38:03.537Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 11:37 . [2023-04-18T11:38:03.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:36 .. [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 18 11:36 .dockerignore [2023-04-18T11:38:03.537Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:36 .git [2023-04-18T11:38:03.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:36 .github [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 18 11:36 .gitignore [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:36 .golangci.yml [2023-04-18T11:38:03.537Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:36 .semver [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 18 11:36 Attribution.txt [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 18 11:36 CHANGELOG.md [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 18 11:36 Dockerfile [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:36 GOVERNANCE.md [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 18 11:36 Jenkinsfile [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:36 LICENSE [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 18 11:36 Makefile [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 18 11:36 OWNERS.md [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 18 11:36 README.md [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:36 VERSION [2023-04-18T11:38:03.537Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:36 bin [2023-04-18T11:38:03.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:36 cmd [2023-04-18T11:38:03.537Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 18 11:37 coverage.out [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 18 11:36 go.mod [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 18 11:36 go.sum [2023-04-18T11:38:03.537Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:36 internal [2023-04-18T11:38:03.537Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:36 snap [2023-04-18T11:38:03.537Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 18 11:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:03.834Z] + 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=9b744bfde03dbd717ba3f435291983dbb9a905fb --label arch=amd64 --label version=3.0.0-dev.19 . [2023-04-18T11:38:03.834Z] Sending build context to Docker daemon 16.06MB [2023-04-18T11:38:03.834Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:38:03.834Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T11:38:03.834Z] ---> 0a5fb2e9cbdb [2023-04-18T11:38:03.834Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:38:04.093Z] ---> Running in 8518f4ecfb68 [2023-04-18T11:38:04.093Z] Removing intermediate container 8518f4ecfb68 [2023-04-18T11:38:04.093Z] ---> 06d93d998a47 [2023-04-18T11:38:04.093Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:38:04.093Z] ---> Running in 2ce8b10c9f12 [2023-04-18T11:38:04.093Z] Removing intermediate container 2ce8b10c9f12 [2023-04-18T11:38:04.093Z] ---> 0edab3fe03db [2023-04-18T11:38:04.093Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-18T11:38:04.093Z] ---> Running in 6dc1438ef3c9 [2023-04-18T11:38:04.352Z] Removing intermediate container 6dc1438ef3c9 [2023-04-18T11:38:04.352Z] ---> b517a7b48b27 [2023-04-18T11:38:04.352Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:38:04.352Z] ---> Running in ca0ac85d6e9b [2023-04-18T11:38:04.352Z] Removing intermediate container ca0ac85d6e9b [2023-04-18T11:38:04.352Z] ---> 53c75884440b [2023-04-18T11:38:04.352Z] Step 7/25 : WORKDIR /device-gpio [2023-04-18T11:38:04.352Z] ---> Running in d080470e31d2 [2023-04-18T11:38:04.611Z] Removing intermediate container d080470e31d2 [2023-04-18T11:38:04.611Z] ---> 7233b2ce701c [2023-04-18T11:38:04.611Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:38:04.611Z] ---> Running in bf8c7dd74d79 [2023-04-18T11:38:04.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:38:04.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:38:05.130Z] OK: 269 MiB in 57 packages [2023-04-18T11:38:05.393Z] Removing intermediate container bf8c7dd74d79 [2023-04-18T11:38:05.393Z] ---> 063d3003b6cb [2023-04-18T11:38:05.393Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T11:38:05.655Z] ---> 796917b89a32 [2023-04-18T11:38:05.655Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:38:05.655Z] ---> Running in 34cd46cdf34f [2023-04-18T11:38:06.265Z] Removing intermediate container 34cd46cdf34f [2023-04-18T11:38:06.265Z] ---> 9b79b89eca76 [2023-04-18T11:38:06.265Z] Step 11/25 : COPY . . [2023-04-18T11:38:06.858Z] ---> 3194ee05c459 [2023-04-18T11:38:06.858Z] Step 12/25 : RUN ${MAKE} [2023-04-18T11:38:06.858Z] ---> Running in dbdcca654c6c [2023-04-18T11:38:07.131Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-18T11:38:22.935Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8915 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-04-18T11:38:22.949Z] Running in /w/workspace/device-gpio/72 [Pipeline] { [Pipeline] checkout [2023-04-18T11:38:22.978Z] The recommended git tool is: git [2023-04-18T11:38:25.243Z] Removing intermediate container dbdcca654c6c [2023-04-18T11:38:25.243Z] ---> 36d3953fbfc9 [2023-04-18T11:38:25.243Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T11:38:25.501Z] 3.17: Pulling from library/alpine [2023-04-18T11:38:25.501Z] f56be85fc22e: Pulling fs layer [2023-04-18T11:38:25.767Z] f56be85fc22e: Verifying Checksum [2023-04-18T11:38:25.767Z] f56be85fc22e: Download complete [2023-04-18T11:38:25.767Z] f56be85fc22e: Pull complete [2023-04-18T11:38:25.767Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T11:38:25.767Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T11:38:25.767Z] ---> 9ed4aefc74f6 [2023-04-18T11:38:25.767Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-18T11:38:26.026Z] ---> Running in cb34c7a74fc7 [2023-04-18T11:38:26.026Z] Removing intermediate container cb34c7a74fc7 [2023-04-18T11:38:26.026Z] ---> 1bb5b1b2a9ff [2023-04-18T11:38:26.026Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-18T11:38:26.026Z] ---> Running in 217ea4b29462 [2023-04-18T11:38:26.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T11:38:26.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T11:38:26.541Z] OK: 7 MiB in 15 packages [2023-04-18T11:38:26.800Z] Removing intermediate container 217ea4b29462 [2023-04-18T11:38:26.800Z] ---> 033f59c8bd64 [2023-04-18T11:38:26.800Z] Step 16/25 : WORKDIR / [2023-04-18T11:38:26.800Z] ---> Running in 0f5bb09adbb4 [2023-04-18T11:38:27.061Z] Removing intermediate container 0f5bb09adbb4 [2023-04-18T11:38:27.061Z] ---> 00286c4c4617 [2023-04-18T11:38:27.061Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-18T11:38:27.061Z] ---> 46da53f4d1e3 [2023-04-18T11:38:27.061Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-18T11:38:27.319Z] ---> f26feb6cba23 [2023-04-18T11:38:27.319Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-18T11:38:27.885Z] ---> feb98434f6a4 [2023-04-18T11:38:27.885Z] Step 20/25 : EXPOSE 59910 [2023-04-18T11:38:27.885Z] ---> Running in 27c080345b1c [2023-04-18T11:38:27.885Z] Removing intermediate container 27c080345b1c [2023-04-18T11:38:27.885Z] ---> 006b158dc962 [2023-04-18T11:38:27.885Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-18T11:38:27.885Z] ---> Running in 399d08a27691 [2023-04-18T11:38:27.910Z] using credential edgex-jenkins-ssh [2023-04-18T11:38:28.021Z] Cloning the remote Git repository [2023-04-18T11:38:28.144Z] Removing intermediate container 399d08a27691 [2023-04-18T11:38:28.144Z] ---> 362d10bd8c7f [2023-04-18T11:38:28.144Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T11:38:28.144Z] ---> Running in 87dd9046cd5c [2023-04-18T11:38:28.144Z] Removing intermediate container 87dd9046cd5c [2023-04-18T11:38:28.144Z] ---> a5d23045f268 [2023-04-18T11:38:28.144Z] Step 23/25 : LABEL arch=amd64 [2023-04-18T11:38:28.144Z] ---> Running in 671c19f7fbe8 [2023-04-18T11:38:28.144Z] Removing intermediate container 671c19f7fbe8 [2023-04-18T11:38:28.144Z] ---> 7b6ff22888e7 [2023-04-18T11:38:28.144Z] Step 24/25 : LABEL git_sha=9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:38:28.144Z] ---> Running in e4aa45b28572 [2023-04-18T11:38:28.403Z] Removing intermediate container e4aa45b28572 [2023-04-18T11:38:28.403Z] ---> 5943ef5f6fc0 [2023-04-18T11:38:28.403Z] Step 25/25 : LABEL version=3.0.0-dev.19 [2023-04-18T11:38:28.403Z] ---> Running in 3cd80491c7fd [2023-04-18T11:38:28.403Z] Removing intermediate container 3cd80491c7fd [2023-04-18T11:38:28.403Z] ---> 0d109e4a9b9b [2023-04-18T11:38:28.403Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T11:38:28.403Z] Successfully built 0d109e4a9b9b [2023-04-18T11:38:28.403Z] 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-04-18T11:38:28.491Z] provisioning config files... [2023-04-18T11:38:28.500Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3103374053326615237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:38:28.788Z] ---> docker-login.sh [2023-04-18T11:38:28.788Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:38:28.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:28.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:28.788Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:28.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:28.788Z] [2023-04-18T11:38:28.788Z] Login Succeeded [2023-04-18T11:38:28.788Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:38:28.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:28.788Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:28.788Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:28.788Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:28.788Z] [2023-04-18T11:38:28.788Z] Login Succeeded [2023-04-18T11:38:28.788Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:38:29.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:29.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:29.047Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:29.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:29.047Z] [2023-04-18T11:38:29.047Z] Login Succeeded [2023-04-18T11:38:29.047Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:38:29.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:29.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:29.047Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:29.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:29.047Z] [2023-04-18T11:38:29.047Z] Login Succeeded [2023-04-18T11:38:29.047Z] docker.io [2023-04-18T11:38:29.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:28.069Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-18T11:38:28.153Z] > git init /w/workspace/device-gpio/72 # timeout=10 [2023-04-18T11:38:28.282Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-18T11:38:28.283Z] > git --version # timeout=10 [2023-04-18T11:38:28.303Z] > git --version # 'git version 2.25.1' [2023-04-18T11:38:28.306Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T11:38:28.461Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T11:38:29.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:29.306Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:29.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:29.306Z] [2023-04-18T11:38:29.306Z] Login Succeeded [2023-04-18T11:38:29.306Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:38:29.313Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:38:29.338Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:38:29.354Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-04-18T11:38:29.354Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:38:29.354Z] latest [2023-04-18T11:38:29.354Z] 3.0.0-dev.19 [2023-04-18T11:38:29.354Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:38:29.354Z] main [2023-04-18T11:38:29.354Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:29.657Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:29.954Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:38:29.954Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-18T11:38:29.954Z] a32feedb5e2f: Preparing [2023-04-18T11:38:29.954Z] 663acb1ce71b: Preparing [2023-04-18T11:38:29.954Z] 1ff48bd30bde: Preparing [2023-04-18T11:38:29.954Z] d7e65b75947a: Preparing [2023-04-18T11:38:29.954Z] f1417ff83b31: Preparing [2023-04-18T11:38:29.954Z] f1417ff83b31: Layer already exists [2023-04-18T11:38:29.954Z] 663acb1ce71b: Pushed [2023-04-18T11:38:29.954Z] 1ff48bd30bde: Pushed [2023-04-18T11:38:29.954Z] d7e65b75947a: Pushed [2023-04-18T11:38:30.037Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-18T11:38:30.057Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T11:38:30.888Z] Avoid second fetch [2023-04-18T11:38:30.888Z] Checking out Revision 9b744bfde03dbd717ba3f435291983dbb9a905fb (main) [2023-04-18T11:38:31.417Z] Commit message: "Merge pull request #155 from hahattan/bump-sdk" [2023-04-18T11:38:30.907Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T11:38:30.974Z] > git checkout -f 9b744bfde03dbd717ba3f435291983dbb9a905fb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:38:32.357Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T11:38:32.357Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T11:38:32.357Z] Dload Upload Total Spent Left Speed [2023-04-18T11:38:32.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86155 [2023-04-18T11:38:32.493Z] a32feedb5e2f: Pushed [2023-04-18T11:38:32.493Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb: digest: sha256:76231920de4ddb7a84cea3a92aa05e1106cb743e2d446e8dc65c9708d0c9e9e6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-04-18T11:38:32.791Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:33.054Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T11:38:33.095Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-18T11:38:33.095Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-18T11:38:33.095Z] a32feedb5e2f: Preparing [2023-04-18T11:38:33.095Z] 663acb1ce71b: Preparing [2023-04-18T11:38:33.095Z] 1ff48bd30bde: Preparing [2023-04-18T11:38:33.095Z] d7e65b75947a: Preparing [2023-04-18T11:38:33.095Z] f1417ff83b31: Preparing [2023-04-18T11:38:33.095Z] f1417ff83b31: Layer already exists [2023-04-18T11:38:33.095Z] d7e65b75947a: Layer already exists [2023-04-18T11:38:33.095Z] 663acb1ce71b: Layer already exists [2023-04-18T11:38:33.095Z] a32feedb5e2f: Layer already exists [2023-04-18T11:38:33.095Z] 1ff48bd30bde: Layer already exists [2023-04-18T11:38:33.095Z] latest: digest: sha256:76231920de4ddb7a84cea3a92aa05e1106cb743e2d446e8dc65c9708d0c9e9e6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:33.379Z] + sudo tee /etc/docker/daemon.new [2023-04-18T11:38:33.379Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-18T11:38:33.379Z] { [2023-04-18T11:38:33.379Z] "registry-mirrors": [ [2023-04-18T11:38:33.379Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T11:38:33.379Z] ], [2023-04-18T11:38:33.379Z] "bip": "10.250.0.254/24", [2023-04-18T11:38:33.379Z] "hosts": [ [2023-04-18T11:38:33.379Z] "tcp://0.0.0.0:5555", [2023-04-18T11:38:33.379Z] "unix:///var/run/docker.sock" [2023-04-18T11:38:33.379Z] ], [2023-04-18T11:38:33.379Z] "mtu": 1458, [2023-04-18T11:38:33.379Z] "selinux-enabled": true, [2023-04-18T11:38:33.379Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T11:38:33.379Z] } [Pipeline] sh [2023-04-18T11:38:33.425Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:33.730Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T11:38:33.766Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.19 [2023-04-18T11:38:33.766Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-18T11:38:33.766Z] a32feedb5e2f: Preparing [2023-04-18T11:38:33.766Z] 663acb1ce71b: Preparing [2023-04-18T11:38:33.766Z] 1ff48bd30bde: Preparing [2023-04-18T11:38:33.766Z] d7e65b75947a: Preparing [2023-04-18T11:38:33.766Z] f1417ff83b31: Preparing [2023-04-18T11:38:33.766Z] d7e65b75947a: Layer already exists [2023-04-18T11:38:33.766Z] a32feedb5e2f: Layer already exists [2023-04-18T11:38:33.766Z] f1417ff83b31: Layer already exists [2023-04-18T11:38:33.766Z] 663acb1ce71b: Layer already exists [2023-04-18T11:38:33.766Z] 1ff48bd30bde: Layer already exists [2023-04-18T11:38:33.766Z] 3.0.0-dev.19: digest: sha256:76231920de4ddb7a84cea3a92aa05e1106cb743e2d446e8dc65c9708d0c9e9e6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:34.060Z] + sudo service docker restart [2023-04-18T11:38:34.098Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:34.399Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:38:34.399Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-18T11:38:34.399Z] a32feedb5e2f: Preparing [2023-04-18T11:38:34.399Z] 663acb1ce71b: Preparing [2023-04-18T11:38:34.399Z] 1ff48bd30bde: Preparing [2023-04-18T11:38:34.399Z] d7e65b75947a: Preparing [2023-04-18T11:38:34.399Z] f1417ff83b31: Preparing [2023-04-18T11:38:34.399Z] d7e65b75947a: Layer already exists [2023-04-18T11:38:34.399Z] a32feedb5e2f: Layer already exists [2023-04-18T11:38:34.399Z] 1ff48bd30bde: Layer already exists [2023-04-18T11:38:34.399Z] 663acb1ce71b: Layer already exists [2023-04-18T11:38:34.399Z] f1417ff83b31: Layer already exists [2023-04-18T11:38:34.399Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19: digest: sha256:76231920de4ddb7a84cea3a92aa05e1106cb743e2d446e8dc65c9708d0c9e9e6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:34.708Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:35.017Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-04-18T11:38:35.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-18T11:38:35.017Z] a32feedb5e2f: Preparing [2023-04-18T11:38:35.017Z] 663acb1ce71b: Preparing [2023-04-18T11:38:35.017Z] 1ff48bd30bde: Preparing [2023-04-18T11:38:35.017Z] d7e65b75947a: Preparing [2023-04-18T11:38:35.017Z] f1417ff83b31: Preparing [2023-04-18T11:38:35.017Z] a32feedb5e2f: Layer already exists [2023-04-18T11:38:35.017Z] 1ff48bd30bde: Layer already exists [2023-04-18T11:38:35.017Z] d7e65b75947a: Layer already exists [2023-04-18T11:38:35.017Z] 663acb1ce71b: Layer already exists [2023-04-18T11:38:35.017Z] f1417ff83b31: Layer already exists [2023-04-18T11:38:35.017Z] main: digest: sha256:76231920de4ddb7a84cea3a92aa05e1106cb743e2d446e8dc65c9708d0c9e9e6 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:38:35.064Z] ===================================================== [Pipeline] echo [2023-04-18T11:38:35.073Z] taggedImages: [2023-04-18T11:38:35.073Z] - nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:38:35.073Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-18T11:38:35.073Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.19 [2023-04-18T11:38:35.073Z] - nexus3.edgexfoundry.org:10004/device-gpio:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:38:35.073Z] - 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-04-18T11:38:35.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:38:35.431Z] [2023-04-18T11:38:35.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:35.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:38:35.739Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T11:38:35.739Z] 5eb5b503b376: Pulling fs layer [2023-04-18T11:38:35.739Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T11:38:35.739Z] ec43610c2a17: Pulling fs layer [2023-04-18T11:38:35.739Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T11:38:35.739Z] 33b1e0a273af: Pulling fs layer [2023-04-18T11:38:35.739Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T11:38:35.739Z] 2f39f015ded8: Pulling fs layer [2023-04-18T11:38:35.740Z] 33b1e0a273af: Waiting [2023-04-18T11:38:35.740Z] 5d3b04190fa2: Waiting [2023-04-18T11:38:35.740Z] 2f39f015ded8: Waiting [2023-04-18T11:38:35.740Z] 3a2ae6a8a46f: Waiting [2023-04-18T11:38:35.740Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T11:38:35.740Z] 5c69ac0246d0: Download complete [2023-04-18T11:38:35.740Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-18T11:38:35.740Z] 3a2ae6a8a46f: Download complete [2023-04-18T11:38:35.740Z] 33b1e0a273af: Verifying Checksum [2023-04-18T11:38:35.740Z] 33b1e0a273af: Download complete [2023-04-18T11:38:35.740Z] ec43610c2a17: Verifying Checksum [2023-04-18T11:38:35.740Z] ec43610c2a17: Download complete [2023-04-18T11:38:35.740Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T11:38:35.740Z] 5d3b04190fa2: Download complete [2023-04-18T11:38:36.008Z] 5eb5b503b376: Verifying Checksum [2023-04-18T11:38:36.008Z] 5eb5b503b376: Download complete [2023-04-18T11:38:36.573Z] 2f39f015ded8: Verifying Checksum [2023-04-18T11:38:36.573Z] 2f39f015ded8: Download complete [2023-04-18T11:38:37.137Z] 5eb5b503b376: Pull complete [2023-04-18T11:38:37.137Z] 5c69ac0246d0: Pull complete [2023-04-18T11:38:37.703Z] ec43610c2a17: Pull complete [2023-04-18T11:38:37.703Z] 3a2ae6a8a46f: Pull complete [2023-04-18T11:38:37.962Z] 33b1e0a273af: Pull complete [2023-04-18T11:38:37.962Z] 5d3b04190fa2: Pull complete [2023-04-18T11:38:42.151Z] 2f39f015ded8: Pull complete [2023-04-18T11:38:42.151Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T11:38:42.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:38:42.151Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:38:42.225Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:38:42.254Z] $ 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-04-18T11:38:46.482Z] $ docker top 7cf8599cbf90ed4f750e32b4be85bedb7bbabf89508f65489176bd0675977ba4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:38:46.875Z] ---> job-cost.sh [2023-04-18T11:38:46.875Z] lf-activate-venv: SKIPPING [2023-04-18T11:38:46.875Z] INFO: No Stack... [2023-04-18T11:38:47.135Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T11:38:47.394Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T11:38:47.681Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-04-18T11:38:47.681Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T11:38:47.694Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [2023-04-18T11:38:47.701Z] Resource [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] did not exist. Created. [2023-04-18T11:38:47.701Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:38:48.004Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T11:38:48.034Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T11:38:48.040Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T11:38:48.059Z] $ docker stop --time=1 7cf8599cbf90ed4f750e32b4be85bedb7bbabf89508f65489176bd0675977ba4 [2023-04-18T11:38:49.194Z] $ docker rm -f --volumes 7cf8599cbf90ed4f750e32b4be85bedb7bbabf89508f65489176bd0675977ba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:38:52.320Z] provisioning config files... [2023-04-18T11:38:52.349Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/72@tmp/config6643480981553618725tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:38:52.696Z] ---> docker-login.sh [2023-04-18T11:38:52.696Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:38:52.963Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:53.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:53.234Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:53.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:53.234Z] [2023-04-18T11:38:53.234Z] Login Succeeded [2023-04-18T11:38:53.234Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:38:53.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:53.502Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:53.502Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:53.502Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:53.502Z] [2023-04-18T11:38:53.502Z] Login Succeeded [2023-04-18T11:38:53.502Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:38:53.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:53.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:53.770Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:53.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:53.770Z] [2023-04-18T11:38:53.770Z] Login Succeeded [2023-04-18T11:38:54.037Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:38:54.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:54.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:54.305Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:54.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:54.305Z] [2023-04-18T11:38:54.305Z] Login Succeeded [2023-04-18T11:38:54.305Z] docker.io [2023-04-18T11:38:54.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:38:54.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:38:54.574Z] Configure a credential helper to remove this warning. See [2023-04-18T11:38:54.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:38:54.574Z] [2023-04-18T11:38:54.574Z] Login Succeeded [2023-04-18T11:38:54.574Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:38:54.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T11:38:54.818Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:38:54.834Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:38:54.844Z] ========================================================= [2023-04-18T11:38:54.844Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T11:38:54.844Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:38:55.188Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T11:38:55.456Z] Sending build context to Docker daemon 8.1MB [2023-04-18T11:38:55.456Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:38:55.456Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-18T11:38:55.726Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T11:38:55.726Z] af6eaf76a39c: Pulling fs layer [2023-04-18T11:38:55.726Z] 55522c791124: Pulling fs layer [2023-04-18T11:38:55.726Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T11:38:55.726Z] 169dfbe0d373: Pulling fs layer [2023-04-18T11:38:55.726Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T11:38:55.726Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T11:38:55.726Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T11:38:55.726Z] 169dfbe0d373: Waiting [2023-04-18T11:38:55.726Z] e1ff8fa3b103: Waiting [2023-04-18T11:38:55.726Z] 52ebb69f0ebf: Waiting [2023-04-18T11:38:55.726Z] 5abe8eddf0d5: Waiting [2023-04-18T11:38:55.726Z] 55522c791124: Verifying Checksum [2023-04-18T11:38:55.726Z] 55522c791124: Download complete [2023-04-18T11:38:55.726Z] 169dfbe0d373: Verifying Checksum [2023-04-18T11:38:55.726Z] 169dfbe0d373: Download complete [2023-04-18T11:38:55.726Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T11:38:55.726Z] e1ff8fa3b103: Download complete [2023-04-18T11:38:55.726Z] af6eaf76a39c: Download complete [2023-04-18T11:38:56.699Z] af6eaf76a39c: Pull complete [2023-04-18T11:38:56.699Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T11:38:56.699Z] 5abe8eddf0d5: Download complete [2023-04-18T11:38:57.293Z] 55522c791124: Pull complete [2023-04-18T11:38:57.903Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T11:38:57.903Z] 52ebb69f0ebf: Download complete [2023-04-18T11:38:58.173Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T11:38:58.173Z] ce5c4a1c91eb: Download complete [2023-04-18T11:39:10.536Z] ce5c4a1c91eb: Pull complete [2023-04-18T11:39:10.536Z] 169dfbe0d373: Pull complete [2023-04-18T11:39:10.536Z] e1ff8fa3b103: Pull complete [2023-04-18T11:39:18.778Z] 52ebb69f0ebf: Pull complete [2023-04-18T11:39:20.197Z] 5abe8eddf0d5: Pull complete [2023-04-18T11:39:20.197Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T11:39:20.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T11:39:20.197Z] ---> 6cb57ee374ae [2023-04-18T11:39:20.197Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:39:22.148Z] ---> Running in 7f72a1971886 [2023-04-18T11:39:22.416Z] Removing intermediate container 7f72a1971886 [2023-04-18T11:39:22.416Z] ---> 038932d864b7 [2023-04-18T11:39:22.416Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:39:22.416Z] ---> Running in 6863353b4d0b [2023-04-18T11:39:22.684Z] Removing intermediate container 6863353b4d0b [2023-04-18T11:39:22.684Z] ---> d4c0bb72eb53 [2023-04-18T11:39:22.684Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-18T11:39:22.684Z] ---> Running in 36f292efc590 [2023-04-18T11:39:22.952Z] Removing intermediate container 36f292efc590 [2023-04-18T11:39:22.952Z] ---> 3ac55ac947bf [2023-04-18T11:39:22.952Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:39:23.220Z] ---> Running in 2403d6c05400 [2023-04-18T11:39:23.487Z] Removing intermediate container 2403d6c05400 [2023-04-18T11:39:23.487Z] ---> 12ef167cbda0 [2023-04-18T11:39:23.487Z] Step 7/12 : WORKDIR /device-gpio [2023-04-18T11:39:23.487Z] ---> Running in 7e356ab36a05 [2023-04-18T11:39:23.762Z] Removing intermediate container 7e356ab36a05 [2023-04-18T11:39:23.762Z] ---> 396a03039171 [2023-04-18T11:39:23.762Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:39:24.031Z] ---> Running in 8adb92ab5418 [2023-04-18T11:39:24.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:39:25.577Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:39:26.543Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-18T11:39:26.544Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-18T11:39:26.544Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-18T11:39:26.544Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-18T11:39:26.544Z] Executing busybox-1.35.0-r29.trigger [2023-04-18T11:39:26.813Z] OK: 268 MiB in 57 packages [2023-04-18T11:39:27.796Z] Removing intermediate container 8adb92ab5418 [2023-04-18T11:39:27.796Z] ---> f5c4519ecc6e [2023-04-18T11:39:27.796Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-18T11:39:28.065Z] ---> 8e2746d52743 [2023-04-18T11:39:28.065Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:39:28.335Z] ---> Running in d9efbf39f81f [2023-04-18T11:40:36.221Z] Removing intermediate container d9efbf39f81f [2023-04-18T11:40:36.221Z] ---> b91a6dbd54bb [2023-04-18T11:40:36.221Z] Step 11/12 : COPY . . [2023-04-18T11:40:36.221Z] ---> db431e829933 [2023-04-18T11:40:36.221Z] Step 12/12 : RUN ${MAKE} [2023-04-18T11:40:36.221Z] ---> Running in d56552d637be [2023-04-18T11:40:36.221Z] noop [2023-04-18T11:40:36.221Z] Removing intermediate container d56552d637be [2023-04-18T11:40:36.221Z] ---> 599831ae4dd6 [2023-04-18T11:40:36.221Z] Successfully built 599831ae4dd6 [2023-04-18T11:40:36.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:40:36.571Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T11:40:36.571Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:40:36.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-8915 does not seem to be running inside a container [2023-04-18T11:40:36.838Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/72 -v /w/workspace/device-gpio/72:/w/workspace/device-gpio/72:rw,z -v /w/workspace/device-gpio/72@tmp:/w/workspace/device-gpio/72@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-04-18T11:40:38.027Z] $ docker top c1698aece43090435ea28327123372f66479419b4e3cdf65ba2d901f936a3fb9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:40:38.835Z] + go version [2023-04-18T11:40:38.835Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T11:40:38.855Z] $ docker stop --time=1 c1698aece43090435ea28327123372f66479419b4e3cdf65ba2d901f936a3fb9 [2023-04-18T11:40:40.478Z] $ docker rm -f --volumes c1698aece43090435ea28327123372f66479419b4e3cdf65ba2d901f936a3fb9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:40:40.994Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T11:40:40.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:40:41.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-8915 does not seem to be running inside a container [2023-04-18T11:40:41.256Z] $ 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/72 -v /w/workspace/device-gpio/72:/w/workspace/device-gpio/72:rw,z -v /w/workspace/device-gpio/72@tmp:/w/workspace/device-gpio/72@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-04-18T11:40:42.403Z] $ docker top 99fc0b3c4640c3b83765bfed94b47b24fe8b009d79cc1b5871daf72faae40ec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:40:42.887Z] + git config --global --add safe.directory /w/workspace/device-gpio/72 [Pipeline] fileExists [Pipeline] sh [2023-04-18T11:40:43.223Z] + make test [2023-04-18T11:40:43.223Z] go test ./... -coverprofile=coverage.out ./... [2023-04-18T11:41:15.469Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-18T11:43:07.156Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-18T11:43:07.156Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-18T11:43:07.156Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T11:43:07.156Z] go vet ./... [2023-04-18T11:43:29.212Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T11:43:29.212Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T11:43:29.212Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T11:43:29.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T11:43:29.244Z] $ docker stop --time=1 99fc0b3c4640c3b83765bfed94b47b24fe8b009d79cc1b5871daf72faae40ec9 [2023-04-18T11:43:31.029Z] $ docker rm -f --volumes 99fc0b3c4640c3b83765bfed94b47b24fe8b009d79cc1b5871daf72faae40ec9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:43:32.128Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T11:43:32.151Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T11:43:32.541Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T11:43:32.938Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T11:43:33.254Z] + ls -al . [2023-04-18T11:43:33.254Z] total 152 [2023-04-18T11:43:33.254Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:40 . [2023-04-18T11:43:33.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:38 .. [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 18 11:38 .dockerignore [2023-04-18T11:43:33.254Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 11:38 .git [2023-04-18T11:43:33.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:38 .github [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 18 11:38 .gitignore [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 11:38 .golangci.yml [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 18 11:38 Attribution.txt [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 18 11:38 CHANGELOG.md [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 18 11:38 Dockerfile [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 11:38 GOVERNANCE.md [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 18 11:38 Jenkinsfile [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 11:38 LICENSE [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 18 11:38 Makefile [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 18 11:38 OWNERS.md [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 18 11:38 README.md [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 11:36 VERSION [2023-04-18T11:43:33.254Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 11:38 bin [2023-04-18T11:43:33.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:38 cmd [2023-04-18T11:43:33.254Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 18 11:40 coverage.out [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 18 11:38 go.mod [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 31810 Apr 18 11:38 go.sum [2023-04-18T11:43:33.254Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 11:38 internal [2023-04-18T11:43:33.254Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 11:38 snap [2023-04-18T11:43:33.254Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 18 11:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:43:33.589Z] + 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=9b744bfde03dbd717ba3f435291983dbb9a905fb --label arch=arm64 --label version=3.0.0-dev.19 . [2023-04-18T11:43:33.856Z] Sending build context to Docker daemon 8.101MB [2023-04-18T11:43:33.856Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T11:43:33.856Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-18T11:43:33.856Z] ---> 599831ae4dd6 [2023-04-18T11:43:33.857Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-18T11:43:34.126Z] ---> Running in 8c1cea9675e2 [2023-04-18T11:43:34.396Z] Removing intermediate container 8c1cea9675e2 [2023-04-18T11:43:34.396Z] ---> 45c5f7f431f1 [2023-04-18T11:43:34.396Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-18T11:43:34.396Z] ---> Running in 98594e521239 [2023-04-18T11:43:34.664Z] Removing intermediate container 98594e521239 [2023-04-18T11:43:34.664Z] ---> 137943209efe [2023-04-18T11:43:34.664Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-18T11:43:34.664Z] ---> Running in 771cf0e11bc5 [2023-04-18T11:43:35.251Z] Removing intermediate container 771cf0e11bc5 [2023-04-18T11:43:35.251Z] ---> 45eb0c145626 [2023-04-18T11:43:35.251Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-18T11:43:35.251Z] ---> Running in 438ad986e35c [2023-04-18T11:43:35.519Z] Removing intermediate container 438ad986e35c [2023-04-18T11:43:35.519Z] ---> 2e5209701ab6 [2023-04-18T11:43:35.519Z] Step 7/25 : WORKDIR /device-gpio [2023-04-18T11:43:35.519Z] ---> Running in 5b0ba55a99fd [2023-04-18T11:43:35.791Z] Removing intermediate container 5b0ba55a99fd [2023-04-18T11:43:35.791Z] ---> efbe9b473a41 [2023-04-18T11:43:35.791Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-18T11:43:35.791Z] ---> Running in 0e4120d7895d [2023-04-18T11:43:37.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:43:37.476Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:43:38.892Z] OK: 268 MiB in 57 packages [2023-04-18T11:43:39.479Z] Removing intermediate container 0e4120d7895d [2023-04-18T11:43:39.479Z] ---> 353806a19f5b [2023-04-18T11:43:39.479Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-18T11:43:40.064Z] ---> 85412679b51f [2023-04-18T11:43:40.064Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T11:43:40.064Z] ---> Running in bc8184c46ee0 [2023-04-18T11:43:44.328Z] Removing intermediate container bc8184c46ee0 [2023-04-18T11:43:44.328Z] ---> 47edc2141750 [2023-04-18T11:43:44.328Z] Step 11/25 : COPY . . [2023-04-18T11:43:44.597Z] ---> d3616bddf227 [2023-04-18T11:43:44.597Z] Step 12/25 : RUN ${MAKE} [2023-04-18T11:43:44.866Z] ---> Running in 0c5f5dd884f2 [2023-04-18T11:43:45.830Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.19" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-18T11:45:52.525Z] Removing intermediate container 0c5f5dd884f2 [2023-04-18T11:45:52.525Z] ---> efb9ea814222 [2023-04-18T11:45:52.525Z] Step 13/25 : FROM alpine:3.17 [2023-04-18T11:45:52.525Z] 3.17: Pulling from library/alpine [2023-04-18T11:45:52.525Z] c41833b44d91: Pulling fs layer [2023-04-18T11:45:52.525Z] c41833b44d91: Download complete [2023-04-18T11:45:52.525Z] c41833b44d91: Pull complete [2023-04-18T11:45:52.525Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T11:45:52.525Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T11:45:52.525Z] ---> 51e60588ff2c [2023-04-18T11:45:52.525Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-18T11:45:52.525Z] ---> Running in b40c54976395 [2023-04-18T11:45:52.525Z] Removing intermediate container b40c54976395 [2023-04-18T11:45:52.525Z] ---> 8fc0088a672a [2023-04-18T11:45:52.525Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-18T11:45:52.525Z] ---> Running in 05cbb9b5a9be [2023-04-18T11:45:52.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T11:45:52.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T11:45:53.486Z] OK: 7 MiB in 15 packages [2023-04-18T11:45:56.073Z] Removing intermediate container 05cbb9b5a9be [2023-04-18T11:45:56.073Z] ---> c1401db88fcc [2023-04-18T11:45:56.073Z] Step 16/25 : WORKDIR / [2023-04-18T11:45:56.073Z] ---> Running in 28ad458468a5 [2023-04-18T11:45:56.342Z] Removing intermediate container 28ad458468a5 [2023-04-18T11:45:56.342Z] ---> 979f142f9d5b [2023-04-18T11:45:56.342Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-18T11:45:56.929Z] ---> 1b74fc33757c [2023-04-18T11:45:56.929Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-18T11:45:57.513Z] ---> 419dc934c439 [2023-04-18T11:45:57.513Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-18T11:45:58.925Z] ---> 8f9cfae8e624 [2023-04-18T11:45:58.925Z] Step 20/25 : EXPOSE 59910 [2023-04-18T11:45:58.925Z] ---> Running in 0e2a51666adf [2023-04-18T11:45:59.192Z] Removing intermediate container 0e2a51666adf [2023-04-18T11:45:59.192Z] ---> 4f04a218375f [2023-04-18T11:45:59.192Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-18T11:45:59.192Z] ---> Running in d4a28023c5a4 [2023-04-18T11:45:59.460Z] Removing intermediate container d4a28023c5a4 [2023-04-18T11:45:59.460Z] ---> cc6a082ab93c [2023-04-18T11:45:59.460Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T11:45:59.460Z] ---> Running in 8e3629d03d9c [2023-04-18T11:45:59.727Z] Removing intermediate container 8e3629d03d9c [2023-04-18T11:45:59.727Z] ---> 9432aace1085 [2023-04-18T11:45:59.727Z] Step 23/25 : LABEL arch=arm64 [2023-04-18T11:45:59.995Z] ---> Running in d0ef75471def [2023-04-18T11:46:00.263Z] Removing intermediate container d0ef75471def [2023-04-18T11:46:00.263Z] ---> b9d916cd18ae [2023-04-18T11:46:00.263Z] Step 24/25 : LABEL git_sha=9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:46:00.263Z] ---> Running in 02641e97763b [2023-04-18T11:46:00.532Z] Removing intermediate container 02641e97763b [2023-04-18T11:46:00.532Z] ---> 9b25bd2b4ab9 [2023-04-18T11:46:00.532Z] Step 25/25 : LABEL version=3.0.0-dev.19 [2023-04-18T11:46:00.532Z] ---> Running in 2d1408f1a277 [2023-04-18T11:46:00.800Z] Removing intermediate container 2d1408f1a277 [2023-04-18T11:46:00.800Z] ---> 2d6f6ba51085 [2023-04-18T11:46:00.800Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T11:46:00.800Z] Successfully built 2d6f6ba51085 [2023-04-18T11:46:01.067Z] 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-04-18T11:46:01.186Z] provisioning config files... [2023-04-18T11:46:01.201Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/72@tmp/config12049164913375943228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:46:01.531Z] ---> docker-login.sh [2023-04-18T11:46:01.531Z] nexus3.edgexfoundry.org:10001 [2023-04-18T11:46:01.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:46:01.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:46:01.800Z] Configure a credential helper to remove this warning. See [2023-04-18T11:46:01.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:46:01.800Z] [2023-04-18T11:46:01.800Z] Login Succeeded [2023-04-18T11:46:01.800Z] nexus3.edgexfoundry.org:10002 [2023-04-18T11:46:02.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:46:02.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:46:02.068Z] Configure a credential helper to remove this warning. See [2023-04-18T11:46:02.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:46:02.068Z] [2023-04-18T11:46:02.068Z] Login Succeeded [2023-04-18T11:46:02.068Z] nexus3.edgexfoundry.org:10003 [2023-04-18T11:46:02.334Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:46:02.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:46:02.602Z] Configure a credential helper to remove this warning. See [2023-04-18T11:46:02.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:46:02.602Z] [2023-04-18T11:46:02.602Z] Login Succeeded [2023-04-18T11:46:02.602Z] nexus3.edgexfoundry.org:10004 [2023-04-18T11:46:02.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:46:02.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:46:02.871Z] Configure a credential helper to remove this warning. See [2023-04-18T11:46:02.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:46:02.871Z] [2023-04-18T11:46:02.871Z] Login Succeeded [2023-04-18T11:46:02.871Z] docker.io [2023-04-18T11:46:03.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T11:46:03.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T11:46:03.403Z] Configure a credential helper to remove this warning. See [2023-04-18T11:46:03.403Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T11:46:03.403Z] [2023-04-18T11:46:03.403Z] Login Succeeded [2023-04-18T11:46:03.403Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T11:46:03.416Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:46:03.452Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T11:46:03.480Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-04-18T11:46:03.480Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:46:03.480Z] latest [2023-04-18T11:46:03.480Z] 3.0.0-dev.19 [2023-04-18T11:46:03.480Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:46:03.480Z] main [2023-04-18T11:46:03.480Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:03.834Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:04.168Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:46:04.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-18T11:46:04.168Z] 1ab1379db019: Preparing [2023-04-18T11:46:04.168Z] 61d1a6b924d7: Preparing [2023-04-18T11:46:04.168Z] 2cd1c52c53e2: Preparing [2023-04-18T11:46:04.168Z] 6c126551516c: Preparing [2023-04-18T11:46:04.168Z] 26cbea5cba74: Preparing [2023-04-18T11:46:04.168Z] 26cbea5cba74: Layer already exists [2023-04-18T11:46:04.435Z] 2cd1c52c53e2: Pushed [2023-04-18T11:46:04.435Z] 6c126551516c: Pushed [2023-04-18T11:46:04.435Z] 61d1a6b924d7: Pushed [2023-04-18T11:46:09.776Z] 1ab1379db019: Pushed [2023-04-18T11:46:09.776Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb: digest: sha256:a5020f9a93f81c9c12ea36243e66c94aced87cfeb679f23379274a2c7edc81d8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:10.127Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:10.472Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-18T11:46:10.472Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-18T11:46:10.472Z] 1ab1379db019: Preparing [2023-04-18T11:46:10.472Z] 61d1a6b924d7: Preparing [2023-04-18T11:46:10.472Z] 2cd1c52c53e2: Preparing [2023-04-18T11:46:10.472Z] 6c126551516c: Preparing [2023-04-18T11:46:10.472Z] 26cbea5cba74: Preparing [2023-04-18T11:46:10.472Z] 1ab1379db019: Layer already exists [2023-04-18T11:46:10.472Z] 6c126551516c: Layer already exists [2023-04-18T11:46:10.472Z] 61d1a6b924d7: Layer already exists [2023-04-18T11:46:10.472Z] 2cd1c52c53e2: Layer already exists [2023-04-18T11:46:10.472Z] 26cbea5cba74: Layer already exists [2023-04-18T11:46:10.472Z] latest: digest: sha256:a5020f9a93f81c9c12ea36243e66c94aced87cfeb679f23379274a2c7edc81d8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:11.090Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:11.431Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.19 [2023-04-18T11:46:11.432Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-18T11:46:11.432Z] 1ab1379db019: Preparing [2023-04-18T11:46:11.432Z] 61d1a6b924d7: Preparing [2023-04-18T11:46:11.432Z] 2cd1c52c53e2: Preparing [2023-04-18T11:46:11.432Z] 6c126551516c: Preparing [2023-04-18T11:46:11.432Z] 26cbea5cba74: Preparing [2023-04-18T11:46:11.432Z] 61d1a6b924d7: Layer already exists [2023-04-18T11:46:11.432Z] 26cbea5cba74: Layer already exists [2023-04-18T11:46:11.432Z] 6c126551516c: Layer already exists [2023-04-18T11:46:11.432Z] 1ab1379db019: Layer already exists [2023-04-18T11:46:11.432Z] 2cd1c52c53e2: Layer already exists [2023-04-18T11:46:11.432Z] 3.0.0-dev.19: digest: sha256:a5020f9a93f81c9c12ea36243e66c94aced87cfeb679f23379274a2c7edc81d8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:11.806Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:12.162Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:46:12.162Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-18T11:46:12.162Z] 1ab1379db019: Preparing [2023-04-18T11:46:12.162Z] 61d1a6b924d7: Preparing [2023-04-18T11:46:12.162Z] 2cd1c52c53e2: Preparing [2023-04-18T11:46:12.162Z] 6c126551516c: Preparing [2023-04-18T11:46:12.162Z] 26cbea5cba74: Preparing [2023-04-18T11:46:12.162Z] 6c126551516c: Layer already exists [2023-04-18T11:46:12.163Z] 26cbea5cba74: Layer already exists [2023-04-18T11:46:12.163Z] 2cd1c52c53e2: Layer already exists [2023-04-18T11:46:12.163Z] 1ab1379db019: Layer already exists [2023-04-18T11:46:12.163Z] 61d1a6b924d7: Layer already exists [2023-04-18T11:46:12.163Z] 9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19: digest: sha256:a5020f9a93f81c9c12ea36243e66c94aced87cfeb679f23379274a2c7edc81d8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:12.790Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:13.140Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-04-18T11:46:13.140Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-18T11:46:13.140Z] 1ab1379db019: Preparing [2023-04-18T11:46:13.140Z] 61d1a6b924d7: Preparing [2023-04-18T11:46:13.140Z] 2cd1c52c53e2: Preparing [2023-04-18T11:46:13.140Z] 6c126551516c: Preparing [2023-04-18T11:46:13.140Z] 26cbea5cba74: Preparing [2023-04-18T11:46:13.140Z] 26cbea5cba74: Layer already exists [2023-04-18T11:46:13.140Z] 1ab1379db019: Layer already exists [2023-04-18T11:46:13.140Z] 61d1a6b924d7: Layer already exists [2023-04-18T11:46:13.140Z] 6c126551516c: Layer already exists [2023-04-18T11:46:13.140Z] 2cd1c52c53e2: Layer already exists [2023-04-18T11:46:13.412Z] main: digest: sha256:a5020f9a93f81c9c12ea36243e66c94aced87cfeb679f23379274a2c7edc81d8 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-18T11:46:13.474Z] ===================================================== [Pipeline] echo [2023-04-18T11:46:13.486Z] taggedImages: [2023-04-18T11:46:13.486Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb [2023-04-18T11:46:13.486Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-18T11:46:13.486Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.19 [2023-04-18T11:46:13.486Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:9b744bfde03dbd717ba3f435291983dbb9a905fb-3.0.0-dev.19 [2023-04-18T11:46:13.486Z] - 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-04-18T11:46:13.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:46:13.849Z] [2023-04-18T11:46:13.849Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:14.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:46:14.452Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T11:46:14.452Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T11:46:14.452Z] 04944245beec: Pulling fs layer [2023-04-18T11:46:14.452Z] 699f458cf7ca: Pulling fs layer [2023-04-18T11:46:14.452Z] 765212b225bb: Pulling fs layer [2023-04-18T11:46:14.452Z] f23df028b6ca: Pulling fs layer [2023-04-18T11:46:14.452Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T11:46:14.452Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T11:46:14.452Z] 765212b225bb: Waiting [2023-04-18T11:46:14.452Z] f23df028b6ca: Waiting [2023-04-18T11:46:14.452Z] d65c8cfc05b1: Waiting [2023-04-18T11:46:14.452Z] 2437ff75d9bd: Waiting [2023-04-18T11:46:14.719Z] 04944245beec: Verifying Checksum [2023-04-18T11:46:14.719Z] 04944245beec: Download complete [2023-04-18T11:46:14.719Z] 765212b225bb: Verifying Checksum [2023-04-18T11:46:14.719Z] 765212b225bb: Download complete [2023-04-18T11:46:14.985Z] f23df028b6ca: Verifying Checksum [2023-04-18T11:46:14.985Z] f23df028b6ca: Download complete [2023-04-18T11:46:14.985Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T11:46:14.985Z] d65c8cfc05b1: Download complete [2023-04-18T11:46:15.571Z] 699f458cf7ca: Verifying Checksum [2023-04-18T11:46:15.571Z] 699f458cf7ca: Download complete [2023-04-18T11:46:16.160Z] 8998bd30e6a1: Download complete [2023-04-18T11:46:18.752Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T11:46:18.752Z] 2437ff75d9bd: Download complete [2023-04-18T11:46:19.711Z] 8998bd30e6a1: Pull complete [2023-04-18T11:46:23.255Z] 04944245beec: Pull complete [2023-04-18T11:46:23.255Z] 699f458cf7ca: Pull complete [2023-04-18T11:46:23.255Z] 765212b225bb: Pull complete [2023-04-18T11:46:23.522Z] f23df028b6ca: Pull complete [2023-04-18T11:46:23.790Z] d65c8cfc05b1: Pull complete [2023-04-18T11:46:38.784Z] 2437ff75d9bd: Pull complete [2023-04-18T11:46:38.784Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T11:46:38.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T11:46:38.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:46:38.982Z] prd-ubuntu20.04-docker-arm64-4c-16g-8915 does not seem to be running inside a container [2023-04-18T11:46:39.046Z] $ 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/72 -v /w/workspace/device-gpio/72:/w/workspace/device-gpio/72:rw,z -v /w/workspace/device-gpio/72@tmp:/w/workspace/device-gpio/72@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-04-18T11:46:41.466Z] $ docker top 6509fa722fbeb40bc62338eea85ab8452c3f7b00ee8b653f0af58320e0550530 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:46:42.324Z] ---> job-cost.sh [2023-04-18T11:46:42.324Z] lf-activate-venv: SKIPPING [2023-04-18T11:46:42.324Z] INFO: No Stack... [2023-04-18T11:46:42.907Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T11:46:43.492Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T11:46:43.807Z] + + cut -d, -f6 [2023-04-18T11:46:43.807Z] cat /w/workspace/device-gpio/72/archives/cost.csv [Pipeline] lock [2023-04-18T11:46:44.133Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [2023-04-18T11:46:44.140Z] Resource [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] did not exist. Created. [2023-04-18T11:46:44.140Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T11:46:44.477Z] /w/workspace/device-gpio/72@tmp/durable-2a636227/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T11:46:44.809Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T11:46:44.833Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T11:46:44.877Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T11:46:44.884Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-72-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T11:46:44.899Z] $ docker stop --time=1 6509fa722fbeb40bc62338eea85ab8452c3f7b00ee8b653f0af58320e0550530 [2023-04-18T11:46:46.385Z] $ docker rm -f --volumes 6509fa722fbeb40bc62338eea85ab8452c3f7b00ee8b653f0af58320e0550530 [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-04-18T11:46:46.754Z] provisioning config files... [2023-04-18T11:46:46.759Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6371665035252451184tmp [Pipeline] { [Pipeline] sh [2023-04-18T11:46:47.046Z] + set +x [2023-04-18T11:46:47.046Z] + curl -s https://codecov.io/bash [2023-04-18T11:46:47.046Z] + bash -s -- [2023-04-18T11:46:47.046Z] [2023-04-18T11:46:47.046Z] _____ _ [2023-04-18T11:46:47.046Z] / ____| | | [2023-04-18T11:46:47.046Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T11:46:47.046Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T11:46:47.046Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T11:46:47.046Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T11:46:47.046Z] Bash-1.0.6 [2023-04-18T11:46:47.046Z] [2023-04-18T11:46:47.046Z] [2023-04-18T11:46:47.046Z] ==> git version 2.25.1 found [2023-04-18T11:46:47.046Z] ==> 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-04-18T11:46:47.046Z] Release-Date: 2020-01-08 [2023-04-18T11:46:47.046Z] 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-04-18T11:46:47.046Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T11:46:47.046Z] ==> Jenkins CI detected. [2023-04-18T11:46:47.046Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-04-18T11:46:47.046Z] project root: . [2023-04-18T11:46:47.046Z] --> token set from env [2023-04-18T11:46:47.046Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T11:46:47.046Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T11:46:47.046Z] ==> Python coveragepy not found [2023-04-18T11:46:47.046Z] ==> Searching for coverage reports in: [2023-04-18T11:46:47.046Z] + . [2023-04-18T11:46:47.305Z] -> Found 1 reports [2023-04-18T11:46:47.305Z] ==> Detecting git/mercurial file structure [2023-04-18T11:46:47.305Z] ==> Reading reports [2023-04-18T11:46:47.305Z] + ./coverage.out bytes=10 [2023-04-18T11:46:47.305Z] ==> Appending adjustments [2023-04-18T11:46:47.305Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T11:46:47.305Z] + Found adjustments [2023-04-18T11:46:47.305Z] ==> Gzipping contents [2023-04-18T11:46:47.305Z] 4.0K /tmp/codecov.KiuLbO.gz [2023-04-18T11:46:47.305Z] ==> Uploading reports [2023-04-18T11:46:47.305Z] url: https://codecov.io [2023-04-18T11:46:47.305Z] query: branch=main&commit=9b744bfde03dbd717ba3f435291983dbb9a905fb&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T11:46:47.305Z] -> Pinging Codecov [2023-04-18T11:46:47.305Z] 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=9b744bfde03dbd717ba3f435291983dbb9a905fb&build=72&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F72%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-18T11:46:47.565Z] -> Uploading to [2023-04-18T11:46:47.565Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/3EC07B1A8CA8AF9BCAA0BB9F0134797F/9b744bfde03dbd717ba3f435291983dbb9a905fb/06ba4c68-068b-46be-9d9c-79768389ebe6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T114647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=840d7e56813fdf90aad971c935ca13fff523a40abd754bd7799c25a24bfe9432 [2023-04-18T11:46:47.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T11:46:47.565Z] Dload Upload Total Spent Left Speed [2023-04-18T11:46:47.565Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3016 --:--:-- --:--:-- --:--:-- 3016 [2023-04-18T11:46:47.565Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] } [2023-04-18T11:46:47.572Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-18T11:46:47.750Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-18T11:46:47.759Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:48.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:46:48.051Z] [2023-04-18T11:46:48.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:46:48.370Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:46:48.370Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-18T11:46:48.370Z] df9b9388f04a: Pulling fs layer [2023-04-18T11:46:48.370Z] 52dc419b0ee2: Pulling fs layer [2023-04-18T11:46:48.370Z] 25bc292e5bac: Pulling fs layer [2023-04-18T11:46:48.370Z] 114826534d7a: Pulling fs layer [2023-04-18T11:46:48.370Z] 4657fd5d0bcf: Pulling fs layer [2023-04-18T11:46:48.370Z] 6ad1cebc031e: Pulling fs layer [2023-04-18T11:46:48.370Z] 8a3aa393b2d8: Pulling fs layer [2023-04-18T11:46:48.370Z] 114826534d7a: Waiting [2023-04-18T11:46:48.370Z] 4657fd5d0bcf: Waiting [2023-04-18T11:46:48.370Z] 6ad1cebc031e: Waiting [2023-04-18T11:46:48.370Z] 8a3aa393b2d8: Waiting [2023-04-18T11:46:48.370Z] 25bc292e5bac: Verifying Checksum [2023-04-18T11:46:48.370Z] 25bc292e5bac: Download complete [2023-04-18T11:46:48.370Z] 52dc419b0ee2: Verifying Checksum [2023-04-18T11:46:48.370Z] 52dc419b0ee2: Download complete [2023-04-18T11:46:48.370Z] 4657fd5d0bcf: Verifying Checksum [2023-04-18T11:46:48.370Z] 4657fd5d0bcf: Download complete [2023-04-18T11:46:48.370Z] df9b9388f04a: Verifying Checksum [2023-04-18T11:46:48.370Z] df9b9388f04a: Download complete [2023-04-18T11:46:48.633Z] df9b9388f04a: Pull complete [2023-04-18T11:46:48.633Z] 52dc419b0ee2: Pull complete [2023-04-18T11:46:48.633Z] 6ad1cebc031e: Verifying Checksum [2023-04-18T11:46:48.633Z] 6ad1cebc031e: Download complete [2023-04-18T11:46:48.633Z] 25bc292e5bac: Pull complete [2023-04-18T11:46:49.208Z] 114826534d7a: Verifying Checksum [2023-04-18T11:46:49.208Z] 114826534d7a: Download complete [2023-04-18T11:46:49.466Z] 8a3aa393b2d8: Verifying Checksum [2023-04-18T11:46:49.466Z] 8a3aa393b2d8: Download complete [2023-04-18T11:46:52.747Z] 114826534d7a: Pull complete [2023-04-18T11:46:52.747Z] 4657fd5d0bcf: Pull complete [2023-04-18T11:46:52.747Z] 6ad1cebc031e: Pull complete [2023-04-18T11:46:56.039Z] 8a3aa393b2d8: Pull complete [2023-04-18T11:46:56.039Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-18T11:46:56.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-18T11:46:56.039Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:46:56.114Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:46:56.149Z] $ 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-04-18T11:47:00.509Z] $ docker top 91e295d88d1b8cebf8cc1ff8d4c032055976547537646c66d1523c01fd7e7e7f -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-18T11:47:00.572Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-04-18T11:47:00.847Z] + set -o pipefail [2023-04-18T11:47:00.847Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/80c4b8ca-02da-4519-84af-6832fb4b6ae6 [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] [2023-04-18T11:47:05.037Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-18T11:47:05.037Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-18T11:47:05.037Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-18T11:47:05.050Z] $ docker stop --time=1 91e295d88d1b8cebf8cc1ff8d4c032055976547537646c66d1523c01fd7e7e7f [2023-04-18T11:47:08.164Z] $ docker rm -f --volumes 91e295d88d1b8cebf8cc1ff8d4c032055976547537646c66d1523c01fd7e7e7f [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-04-18T11:47:08.830Z] + git log --format=format:%s -1 9b744bfde03dbd717ba3f435291983dbb9a905fb [Pipeline] sh [2023-04-18T11:47:09.125Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:47:09.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:09.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:47:09.429Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:47:09.495Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:47:09.530Z] $ 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-04-18T11:47:09.910Z] $ docker top 7b4ccf1b615297e54b660720f0152e76911b0c49fcc4b00cbb0b09e115502bc7 -eo pid,comm [2023-04-18T11:47:09.953Z] 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-04-18T11:47:09.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:47:09.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:47:09.996Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:47:10.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:47:10.114Z] $ docker exec 7b4ccf1b615297e54b660720f0152e76911b0c49fcc4b00cbb0b09e115502bc7 ssh-agent [2023-04-18T11:47:10.224Z] SSH_AUTH_SOCK=/tmp/ssh-ZUgocmfmbStQ/agent.33 [2023-04-18T11:47:10.224Z] SSH_AGENT_PID=40 [2023-04-18T11:47:10.228Z] Running ssh-add (command line suppressed) [2023-04-18T11:47:10.335Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9369689423260878309.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9369689423260878309.key) [2023-04-18T11:47:10.345Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:47:10.629Z] + git semver tag [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,793 [run_tag] DEBUG tag force:False [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,793 [check_head_tag] DEBUG check head tag [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,793 [execute] INFO git cat-file --batch-check [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,798 [execute] INFO git cat-file --batch [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,799 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,815 [execute] INFO git tag -a v3.0.0-dev.19 -m v3.0.0-dev.19 [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,816 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.19', '-m', 'v3.0.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:47:10.887Z] 2023-04-18 11:47:10,820 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:10.887Z] 3.0.0-dev.19 [Pipeline] } [2023-04-18T11:47:10.897Z] $ docker exec --env ******** --env ******** 7b4ccf1b615297e54b660720f0152e76911b0c49fcc4b00cbb0b09e115502bc7 ssh-agent -k [2023-04-18T11:47:10.999Z] unset SSH_AUTH_SOCK; [2023-04-18T11:47:11.000Z] unset SSH_AGENT_PID; [2023-04-18T11:47:11.000Z] echo Agent pid 40 killed; [2023-04-18T11:47:11.008Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:47:11.305Z] + git semver [Pipeline] } [2023-04-18T11:47:11.578Z] $ docker stop --time=1 7b4ccf1b615297e54b660720f0152e76911b0c49fcc4b00cbb0b09e115502bc7 [2023-04-18T11:47:12.869Z] $ docker rm -f --volumes 7b4ccf1b615297e54b660720f0152e76911b0c49fcc4b00cbb0b09e115502bc7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:13.257Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:47:13.257Z] [2023-04-18T11:47:13.257Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:13.562Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:47:13.562Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-18T11:47:13.562Z] ab5ef0e58194: Pulling fs layer [2023-04-18T11:47:13.562Z] 9712f1f96733: Pulling fs layer [2023-04-18T11:47:13.562Z] 63f879dbbcfc: Pulling fs layer [2023-04-18T11:47:13.562Z] 0d9ebad4ef96: Pulling fs layer [2023-04-18T11:47:13.562Z] e9a5061849ea: Pulling fs layer [2023-04-18T11:47:13.562Z] d747dcd14b5f: Pulling fs layer [2023-04-18T11:47:13.562Z] 2de7ff778b66: Pulling fs layer [2023-04-18T11:47:13.562Z] d747dcd14b5f: Waiting [2023-04-18T11:47:13.562Z] 0d9ebad4ef96: Waiting [2023-04-18T11:47:13.562Z] e9a5061849ea: Waiting [2023-04-18T11:47:13.562Z] 2de7ff778b66: Waiting [2023-04-18T11:47:13.562Z] 9712f1f96733: Verifying Checksum [2023-04-18T11:47:13.562Z] 9712f1f96733: Download complete [2023-04-18T11:47:13.833Z] 63f879dbbcfc: Verifying Checksum [2023-04-18T11:47:13.833Z] 63f879dbbcfc: Download complete [2023-04-18T11:47:14.091Z] e9a5061849ea: Verifying Checksum [2023-04-18T11:47:14.091Z] e9a5061849ea: Download complete [2023-04-18T11:47:14.091Z] 0d9ebad4ef96: Verifying Checksum [2023-04-18T11:47:14.091Z] 0d9ebad4ef96: Download complete [2023-04-18T11:47:14.091Z] d747dcd14b5f: Verifying Checksum [2023-04-18T11:47:14.091Z] d747dcd14b5f: Download complete [2023-04-18T11:47:14.091Z] ab5ef0e58194: Verifying Checksum [2023-04-18T11:47:14.091Z] ab5ef0e58194: Download complete [2023-04-18T11:47:14.091Z] 2de7ff778b66: Verifying Checksum [2023-04-18T11:47:14.091Z] 2de7ff778b66: Download complete [2023-04-18T11:47:16.621Z] ab5ef0e58194: Pull complete [2023-04-18T11:47:16.621Z] 9712f1f96733: Pull complete [2023-04-18T11:47:17.188Z] 63f879dbbcfc: Pull complete [2023-04-18T11:47:20.469Z] 0d9ebad4ef96: Pull complete [2023-04-18T11:47:20.469Z] e9a5061849ea: Pull complete [2023-04-18T11:47:20.728Z] d747dcd14b5f: Pull complete [2023-04-18T11:47:21.664Z] 2de7ff778b66: Pull complete [2023-04-18T11:47:21.664Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-18T11:47:21.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-18T11:47:21.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:47:21.754Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:47:21.786Z] $ 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-04-18T11:47:26.639Z] $ docker top 06e0709fc4ed14d14f7985a75f65b2a32d23c31de003eeaf4b66fe5d1333421e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:47:26.703Z] provisioning config files... [2023-04-18T11:47:26.709Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config2348342784934234015tmp [2023-04-18T11:47:26.719Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1225270790689957566tmp [2023-04-18T11:47:26.730Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11748332160086530343tmp [Pipeline] { [Pipeline] echo [2023-04-18T11:47:26.743Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:27.025Z] ---> sigul-configuration.sh [2023-04-18T11:47:27.025Z] gpg: directory `/root/.gnupg' created [2023-04-18T11:47:27.025Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-18T11:47:27.025Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-18T11:47:27.025Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-18T11:47:27.025Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-18T11:47:27.025Z] gpg: CAST5 encrypted data [2023-04-18T11:47:27.025Z] gpg: encrypted with 1 passphrase [2023-04-18T11:47:27.025Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-18T11:47:27.311Z] + mkdir /home/jenkins [2023-04-18T11:47:27.311Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-18T11:47:27.599Z] + 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-04-18T11:47:27.607Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:27.893Z] ---> sigul-install.sh [2023-04-18T11:47:27.893Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-18T11:47:28.178Z] + git tag --list [2023-04-18T11:47:28.178Z] v1.0.0 [2023-04-18T11:47:28.178Z] v2.1.0 [2023-04-18T11:47:28.178Z] v2.1.1 [2023-04-18T11:47:28.178Z] v2.1.1-dev.1 [2023-04-18T11:47:28.178Z] v2.2.0 [2023-04-18T11:47:28.178Z] v2.2.1-dev.1 [2023-04-18T11:47:28.178Z] v2.2.1-dev.2 [2023-04-18T11:47:28.178Z] v2.2.1-dev.3 [2023-04-18T11:47:28.178Z] v2.2.1-dev.4 [2023-04-18T11:47:28.178Z] v2.3.0 [2023-04-18T11:47:28.178Z] v2.3.0-dev.10 [2023-04-18T11:47:28.178Z] v2.3.0-dev.11 [2023-04-18T11:47:28.178Z] v2.3.0-dev.12 [2023-04-18T11:47:28.178Z] v2.3.0-dev.13 [2023-04-18T11:47:28.178Z] v2.3.0-dev.14 [2023-04-18T11:47:28.178Z] v2.3.0-dev.15 [2023-04-18T11:47:28.178Z] v2.3.0-dev.16 [2023-04-18T11:47:28.178Z] v2.3.0-dev.17 [2023-04-18T11:47:28.178Z] v2.3.0-dev.18 [2023-04-18T11:47:28.178Z] v2.3.0-dev.19 [2023-04-18T11:47:28.178Z] v2.3.0-dev.20 [2023-04-18T11:47:28.178Z] v2.3.0-dev.4 [2023-04-18T11:47:28.178Z] v2.3.0-dev.5 [2023-04-18T11:47:28.178Z] v2.3.0-dev.6 [2023-04-18T11:47:28.178Z] v2.3.0-dev.7 [2023-04-18T11:47:28.178Z] v2.3.0-dev.8 [2023-04-18T11:47:28.178Z] v2.3.0-dev.9 [2023-04-18T11:47:28.178Z] v3.0.0-dev.1 [2023-04-18T11:47:28.178Z] v3.0.0-dev.10 [2023-04-18T11:47:28.178Z] v3.0.0-dev.11 [2023-04-18T11:47:28.178Z] v3.0.0-dev.12 [2023-04-18T11:47:28.178Z] v3.0.0-dev.13 [2023-04-18T11:47:28.178Z] v3.0.0-dev.14 [2023-04-18T11:47:28.178Z] v3.0.0-dev.15 [2023-04-18T11:47:28.178Z] v3.0.0-dev.16 [2023-04-18T11:47:28.178Z] v3.0.0-dev.17 [2023-04-18T11:47:28.178Z] v3.0.0-dev.18 [2023-04-18T11:47:28.178Z] v3.0.0-dev.19 [2023-04-18T11:47:28.178Z] v3.0.0-dev.2 [2023-04-18T11:47:28.178Z] v3.0.0-dev.3 [2023-04-18T11:47:28.178Z] v3.0.0-dev.4 [2023-04-18T11:47:28.178Z] v3.0.0-dev.5 [2023-04-18T11:47:28.178Z] v3.0.0-dev.6 [2023-04-18T11:47:28.178Z] v3.0.0-dev.7 [2023-04-18T11:47:28.178Z] v3.0.0-dev.8 [2023-04-18T11:47:28.178Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-18T11:47:28.464Z] + lftools sign git-tag v3.0.0-dev.19 [2023-04-18T11:47:29.034Z] Signing Git tag with Sigul... [2023-04-18T11:47:29.034Z] Signing v3.0.0-dev.19 [Pipeline] echo [2023-04-18T11:47:29.300Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:29.584Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-18T11:47:29.591Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-18T11:47:29.611Z] $ docker stop --time=1 06e0709fc4ed14d14f7985a75f65b2a32d23c31de003eeaf4b66fe5d1333421e [2023-04-18T11:47:30.879Z] $ docker rm -f --volumes 06e0709fc4ed14d14f7985a75f65b2a32d23c31de003eeaf4b66fe5d1333421e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-18T11:47:31.279Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:47:31.279Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:31.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:47:31.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:47:31.642Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:47:31.675Z] $ 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-04-18T11:47:31.996Z] $ docker top 23fadaa7f6de517578b0c3a02dcdbd11346533d7f76b92e31bd78ad4ab2ff639 -eo pid,comm [2023-04-18T11:47:32.042Z] 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-04-18T11:47:32.042Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:47:32.081Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:47:32.081Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:47:32.195Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:47:32.199Z] $ docker exec 23fadaa7f6de517578b0c3a02dcdbd11346533d7f76b92e31bd78ad4ab2ff639 ssh-agent [2023-04-18T11:47:32.303Z] SSH_AUTH_SOCK=/tmp/ssh-83neOmo5CmXK/agent.32 [2023-04-18T11:47:32.303Z] SSH_AGENT_PID=38 [2023-04-18T11:47:32.308Z] Running ssh-add (command line suppressed) [2023-04-18T11:47:32.410Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8141176618754344412.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_8141176618754344412.key) [2023-04-18T11:47:32.422Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:47:32.712Z] + git semver bump pre [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [bump_version] DEBUG bumping version:3.0.0-dev.19 on axis:pre with prefix:dev [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [bump_version] DEBUG bumped version:3.0.0-dev.20 [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [write_version] DEBUG write version:3.0.0-dev.20 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,890 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,892 [execute] INFO git cat-file --batch-check [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,896 [execute] INFO git cat-file --batch [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:47:32.972Z] 2023-04-18 11:47:32,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:32.972Z] 3.0.0-dev.20 [Pipeline] } [2023-04-18T11:47:32.984Z] $ docker exec --env ******** --env ******** 23fadaa7f6de517578b0c3a02dcdbd11346533d7f76b92e31bd78ad4ab2ff639 ssh-agent -k [2023-04-18T11:47:33.081Z] unset SSH_AUTH_SOCK; [2023-04-18T11:47:33.081Z] unset SSH_AGENT_PID; [2023-04-18T11:47:33.081Z] echo Agent pid 38 killed; [2023-04-18T11:47:33.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:47:33.397Z] + git semver [Pipeline] } [2023-04-18T11:47:33.672Z] $ docker stop --time=1 23fadaa7f6de517578b0c3a02dcdbd11346533d7f76b92e31bd78ad4ab2ff639 [2023-04-18T11:47:34.938Z] $ docker rm -f --volumes 23fadaa7f6de517578b0c3a02dcdbd11346533d7f76b92e31bd78ad4ab2ff639 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T11:47:35.267Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T11:47:35.267Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:35.562Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T11:47:35.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:47:35.628Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:47:35.659Z] $ 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-04-18T11:47:35.965Z] $ docker top 551168a1cb0f876383d460c43c1058d0bee9cb1d7b304cb5ef817927374d3caf -eo pid,comm [2023-04-18T11:47:36.011Z] 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-04-18T11:47:36.011Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T11:47:36.047Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T11:47:36.047Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T11:47:36.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T11:47:36.148Z] $ docker exec 551168a1cb0f876383d460c43c1058d0bee9cb1d7b304cb5ef817927374d3caf ssh-agent [2023-04-18T11:47:36.261Z] SSH_AUTH_SOCK=/tmp/ssh-6AxS9EmL0gFH/agent.32 [2023-04-18T11:47:36.261Z] SSH_AGENT_PID=38 [2023-04-18T11:47:36.265Z] Running ssh-add (command line suppressed) [2023-04-18T11:47:36.367Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7416149054693035663.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7416149054693035663.key) [2023-04-18T11:47:36.377Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T11:47:36.664Z] + git semver push [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,823 [run_push] DEBUG push [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,824 [execute] INFO git cat-file --batch-check [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,828 [execute] INFO git rev-list 3f1f96f3a9e454ca075b0c4e983364964f08800e -- [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,828 [execute] DEBUG Popen(['git', 'rev-list', '3f1f96f3a9e454ca075b0c4e983364964f08800e', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,834 [execute] INFO git fetch -v origin [2023-04-18T11:47:36.923Z] 2023-04-18 11:47:36,834 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-18T11:47:37.495Z] 2023-04-18 11:47:37,326 [run_push] DEBUG no remote changes detected [2023-04-18T11:47:37.495Z] 2023-04-18 11:47:37,327 [execute] INFO git push origin semver [2023-04-18T11:47:37.495Z] 2023-04-18 11:47:37,327 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-18T11:47:38.433Z] 2023-04-18 11:47:38,119 [run_push] DEBUG push all version tags [2023-04-18T11:47:38.433Z] 2023-04-18 11:47:38,119 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-18T11:47:38.433Z] 2023-04-18 11:47:38,119 [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-04-18T11:47:39.002Z] 2023-04-18 11:47:38,824 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-18T11:47:39.002Z] 3.0.0-dev.20 [Pipeline] } [2023-04-18T11:47:39.015Z] $ docker exec --env ******** --env ******** 551168a1cb0f876383d460c43c1058d0bee9cb1d7b304cb5ef817927374d3caf ssh-agent -k [2023-04-18T11:47:39.110Z] unset SSH_AUTH_SOCK; [2023-04-18T11:47:39.110Z] unset SSH_AGENT_PID; [2023-04-18T11:47:39.110Z] echo Agent pid 38 killed; [2023-04-18T11:47:39.123Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T11:47:39.435Z] + git semver [Pipeline] } [2023-04-18T11:47:39.708Z] $ docker stop --time=1 551168a1cb0f876383d460c43c1058d0bee9cb1d7b304cb5ef817927374d3caf [2023-04-18T11:47:40.957Z] $ docker rm -f --volumes 551168a1cb0f876383d460c43c1058d0bee9cb1d7b304cb5ef817927374d3caf [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-04-18T11:47:41.509Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-04-18T11:47:41.509Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-18T11:47:41.509Z] total 16 [2023-04-18T11:47:41.509Z] drwxr-xr-x 3 root root 4096 Apr 18 11:38 . [2023-04-18T11:47:41.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 11:47 .. [2023-04-18T11:47:41.509Z] drwxr-xr-x 2 root root 4096 Apr 18 11:38 cost [2023-04-18T11:47:41.509Z] -rw-r--r-- 1 root root 82 Apr 18 11:38 cost.csv [2023-04-18T11:47:41.509Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-18T11:47:41.509Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-18T11:47:41.509Z] total 16 [2023-04-18T11:47:41.509Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 11:38 . [2023-04-18T11:47:41.509Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 11:47 .. [2023-04-18T11:47:41.509Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 11:38 cost [2023-04-18T11:47:41.509Z] -rw-r--r-- 1 jenkins jenkins 82 Apr 18 11:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:41.798Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:42.656Z] ---> package-listing.sh [2023-04-18T11:47:42.656Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T11:47:42.656Z] ++ facter osfamily [2023-04-18T11:47:42.915Z] + OS_FAMILY=debian [2023-04-18T11:47:42.915Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-04-18T11:47:42.915Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T11:47:42.915Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T11:47:42.915Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T11:47:42.915Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T11:47:42.915Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-18T11:47:42.915Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T11:47:42.915Z] + case "${OS_FAMILY}" in [2023-04-18T11:47:42.915Z] + dpkg -l [2023-04-18T11:47:42.915Z] + grep '^ii' [2023-04-18T11:47:42.915Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T11:47:42.915Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T11:47:42.915Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T11:47:42.915Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-18T11:47:42.915Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-04-18T11:47:42.915Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo [2023-04-18T11:47:42.924Z] 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-04-18T11:47:43.199Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T11:47:43.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T11:47:43.750Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T11:47:43.813Z] prd-ubuntu20.04-docker-8c-8g-8913 does not seem to be running inside a container [2023-04-18T11:47:43.841Z] $ 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-04-18T11:47:44.055Z] $ docker top 2fc9910ab6cf91e6eb17a073c79f22b8893401cd425bee71363c1ef15b2f1aa2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T11:47:44.385Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T11:47:44.668Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T11:47:44.947Z] + ls /var/log/sa-host [2023-04-18T11:47:44.947Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T11:47:45.080Z] provisioning config files... [2023-04-18T11:47:45.087Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config6226966009288589584tmp [Pipeline] { [Pipeline] echo [2023-04-18T11:47:45.101Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:45.465Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T11:47:45.497Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:45.873Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T11:47:45.888Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:46.169Z] ---> sudo-logs.sh [2023-04-18T11:47:46.169Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T11:47:46.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:46.480Z] ---> job-cost.sh [2023-04-18T11:47:46.480Z] lf-activate-venv: SKIPPING [2023-04-18T11:47:46.480Z] DEBUG: total: 0.2199999988079071 [2023-04-18T11:47:46.480Z] INFO: Retrieving Stack Cost... [2023-04-18T11:47:47.048Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T11:47:47.307Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T11:47:47.319Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T11:47:47.600Z] ---> logs-deploy.sh [2023-04-18T11:47:47.600Z] lf-activate-venv: SKIPPING [2023-04-18T11:47:47.600Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/72 [2023-04-18T11:47:47.600Z] INFO: archiving workspace using pattern(s): [2023-04-18T11:47:48.535Z] Archives upload complete. [2023-04-18T11:47:48.535Z] INFO: archiving logs to Nexus