Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b9829103c2079071eaf01e57caf9b47463cebaa 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-ssh6285843647345586828.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-ssh16489095528563129942.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-ssh1589684207858599328.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-ssh13768467211652205494.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-ssh18291940467837765600.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 ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9543’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9544 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5b9829103c2079071eaf01e57caf9b47463cebaa (main) Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#161)" > git config core.sparsecheckout # timeout=10 > git checkout -f 5b9829103c2079071eaf01e57caf9b47463cebaa # timeout=10 > git rev-list --no-walk 11a3e93ce1b9de78f3ac3895831d199ada88536a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T16:01:35.589Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T16:01:35.660Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T16:01:35.676Z] ========================================================= [2023-04-24T16:01:35.676Z] EdgeX Global Pipelines Version Info [2023-04-24T16:01:35.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:01:36.395Z] ------------------- [2023-04-24T16:01:36.395Z] stable info: [2023-04-24T16:01:36.395Z] ------------------- [2023-04-24T16:01:36.395Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T16:01:36.395Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T16:01:36.395Z] Message: update stable to v1.0.248 [2023-04-24T16:01:36.968Z] ------------------- [2023-04-24T16:01:36.969Z] experimental info: [2023-04-24T16:01:36.969Z] ------------------- [2023-04-24T16:01:36.969Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T16:01:36.969Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T16:01:36.969Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T16:01:37.161Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo [2023-04-24T16:01:37.171Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo [2023-04-24T16:01:37.180Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T16:01:37.188Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T16:01:37.202Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T16:01:37.216Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T16:01:37.225Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T16:01:37.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T16:01:37.241Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T16:01:37.250Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T16:01:37.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T16:01:37.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo [2023-04-24T16:01:37.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T16:01:37.294Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T16:01:37.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T16:01:37.316Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T16:01:37.335Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T16:01:37.346Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T16:01:37.360Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T16:01:37.374Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T16:01:37.391Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T16:01:37.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T16:01:37.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T16:01:37.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T16:01:37.444Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T16:01:37.459Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T16:01:37.472Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T16:01:37.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-04-24T16:01:37.496Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-04-24T16:01:37.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-04-24T16:01:37.526Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] echo [2023-04-24T16:01:37.537Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b98291 [Pipeline] echo [2023-04-24T16:01:37.547Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:01:37.588Z] provisioning config files... [2023-04-24T16:01:37.603Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config186742845104636451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:01:37.908Z] ---> docker-login.sh [2023-04-24T16:01:37.909Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:01:38.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:38.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:38.170Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:38.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:38.170Z] [2023-04-24T16:01:38.170Z] Login Succeeded [2023-04-24T16:01:38.170Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:01:38.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:38.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:38.170Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:38.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:38.170Z] [2023-04-24T16:01:38.170Z] Login Succeeded [2023-04-24T16:01:38.170Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:01:38.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:38.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:38.432Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:38.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:38.432Z] [2023-04-24T16:01:38.432Z] Login Succeeded [2023-04-24T16:01:38.432Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:01:38.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:38.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:38.432Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:38.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:38.432Z] [2023-04-24T16:01:38.432Z] Login Succeeded [2023-04-24T16:01:38.432Z] docker.io [2023-04-24T16:01:38.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:38.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:38.693Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:38.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:38.693Z] [2023-04-24T16:01:38.693Z] Login Succeeded [2023-04-24T16:01:38.693Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:01:38.702Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T16:01:39.087Z] + git rev-list -1 --merges 5b9829103c2079071eaf01e57caf9b47463cebaa~1..5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] echo [2023-04-24T16:01:39.140Z] -----------> git rev-list -1 --merges 5b9829103c2079071eaf01e57caf9b47463cebaa~1..5b9829103c2079071eaf01e57caf9b47463cebaa 5b9829103c2079071eaf01e57caf9b47463cebaa [false] [Pipeline] sh [2023-04-24T16:01:39.429Z] + git log --format=format:%s -1 5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] echo [2023-04-24T16:01:39.443Z] ========================================================= [2023-04-24T16:01:39.443Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T16:01:39.443Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:01:39.757Z] + git log --format=format:%s -1 5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] echo [2023-04-24T16:01:39.770Z] [semverPrep] GIT_COMMIT: 5b9829103c2079071eaf01e57caf9b47463cebaa, Commit Message: build(snap): Upgrade snap base to core22, remove deprecated plug (#161) [Pipeline] echo [2023-04-24T16:01:39.778Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T16:01:40.132Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:01:40.132Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T16:01:40.132Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T16:01:40.132Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T16:01:40.132Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T16:01:40.132Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T16:01:40.132Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:01:40.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:01:40.496Z] [2023-04-24T16:01:40.496Z] 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-24T16:01:40.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:01:40.816Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T16:01:40.816Z] b85a868b505f: Pulling fs layer [2023-04-24T16:01:40.816Z] e2be974225ed: Pulling fs layer [2023-04-24T16:01:40.816Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T16:01:40.816Z] 988bab9f4d93: Pulling fs layer [2023-04-24T16:01:40.816Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T16:01:40.816Z] eaf3925da568: Pulling fs layer [2023-04-24T16:01:40.817Z] bab4dde63d76: Pulling fs layer [2023-04-24T16:01:40.817Z] bde34c3a00c8: Pulling fs layer [2023-04-24T16:01:40.817Z] b352a97aabf1: Pulling fs layer [2023-04-24T16:01:40.817Z] 4872d77fe225: Pulling fs layer [2023-04-24T16:01:40.817Z] 5851b861e8e6: Pulling fs layer [2023-04-24T16:01:40.817Z] eaf3925da568: Waiting [2023-04-24T16:01:40.817Z] 1469e6f7b9e6: Waiting [2023-04-24T16:01:40.817Z] b352a97aabf1: Waiting [2023-04-24T16:01:40.817Z] bde34c3a00c8: Waiting [2023-04-24T16:01:40.817Z] 4872d77fe225: Waiting [2023-04-24T16:01:40.817Z] 5851b861e8e6: Waiting [2023-04-24T16:01:40.817Z] bab4dde63d76: Waiting [2023-04-24T16:01:40.817Z] 988bab9f4d93: Waiting [2023-04-24T16:01:40.817Z] e2be974225ed: Download complete [2023-04-24T16:01:40.817Z] 988bab9f4d93: Verifying Checksum [2023-04-24T16:01:40.817Z] 988bab9f4d93: Download complete [2023-04-24T16:01:41.077Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T16:01:41.077Z] 1469e6f7b9e6: Download complete [2023-04-24T16:01:41.077Z] eaf3925da568: Verifying Checksum [2023-04-24T16:01:41.077Z] eaf3925da568: Download complete [2023-04-24T16:01:41.077Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T16:01:41.077Z] 339a4e72a1f5: Download complete [2023-04-24T16:01:41.077Z] bde34c3a00c8: Verifying Checksum [2023-04-24T16:01:41.077Z] bde34c3a00c8: Download complete [2023-04-24T16:01:41.077Z] b352a97aabf1: Download complete [2023-04-24T16:01:41.077Z] 4872d77fe225: Download complete [2023-04-24T16:01:41.077Z] 5851b861e8e6: Verifying Checksum [2023-04-24T16:01:41.077Z] 5851b861e8e6: Download complete [2023-04-24T16:01:41.077Z] b85a868b505f: Verifying Checksum [2023-04-24T16:01:41.077Z] b85a868b505f: Download complete [2023-04-24T16:01:41.337Z] bab4dde63d76: Verifying Checksum [2023-04-24T16:01:41.337Z] bab4dde63d76: Download complete [2023-04-24T16:01:42.278Z] b85a868b505f: Pull complete [2023-04-24T16:01:42.538Z] e2be974225ed: Pull complete [2023-04-24T16:01:43.107Z] 339a4e72a1f5: Pull complete [2023-04-24T16:01:43.107Z] 988bab9f4d93: Pull complete [2023-04-24T16:01:43.366Z] 1469e6f7b9e6: Pull complete [2023-04-24T16:01:43.366Z] eaf3925da568: Pull complete [2023-04-24T16:01:45.274Z] bab4dde63d76: Pull complete [2023-04-24T16:01:45.274Z] bde34c3a00c8: Pull complete [2023-04-24T16:01:45.274Z] b352a97aabf1: Pull complete [2023-04-24T16:01:45.274Z] 4872d77fe225: Pull complete [2023-04-24T16:01:45.274Z] 5851b861e8e6: Pull complete [2023-04-24T16:01:45.274Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T16:01:45.274Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:01:45.274Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:01:45.369Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:01:45.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:01:48.441Z] $ docker top 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca -eo pid,comm [2023-04-24T16:01:48.498Z] 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-24T16:01:48.498Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:01:48.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:01:48.534Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:01:48.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:01:48.662Z] $ docker exec 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca ssh-agent [2023-04-24T16:01:48.778Z] SSH_AUTH_SOCK=/tmp/ssh-aH5C75rSOC2b/agent.33 [2023-04-24T16:01:48.778Z] SSH_AGENT_PID=39 [2023-04-24T16:01:48.786Z] Running ssh-add (command line suppressed) [2023-04-24T16:01:48.890Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5227016944793388470.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5227016944793388470.key) [2023-04-24T16:01:48.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:01:49.193Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T16:01:49.202Z] $ docker exec --env ******** --env ******** 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca ssh-agent -k [2023-04-24T16:01:49.291Z] unset SSH_AUTH_SOCK; [2023-04-24T16:01:49.292Z] unset SSH_AGENT_PID; [2023-04-24T16:01:49.293Z] echo Agent pid 39 killed; [2023-04-24T16:01:49.302Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T16:01:49.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:01:49.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:01:49.437Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:01:49.437Z] $ docker exec 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca ssh-agent [2023-04-24T16:01:49.555Z] SSH_AUTH_SOCK=/tmp/ssh-OxhH50mbmthp/agent.71 [2023-04-24T16:01:49.555Z] SSH_AGENT_PID=77 [2023-04-24T16:01:49.560Z] Running ssh-add (command line suppressed) [2023-04-24T16:01:49.660Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3645461718572801938.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3645461718572801938.key) [2023-04-24T16:01:49.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:01:49.973Z] + git semver init [2023-04-24T16:01:50.232Z] 2023-04-24 16:01:50,161 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T16:01:50.232Z] 2023-04-24 16:01:50,161 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-24T16:01:50.232Z] 2023-04-24 16:01:50,162 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver [2023-04-24T16:01:50.232Z] 2023-04-24 16:01:50,162 [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-24T16:01:51.171Z] 2023-04-24 16:01:51,079 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude [2023-04-24T16:01:51.171Z] 2023-04-24 16:01:51,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False [2023-04-24T16:01:51.171Z] 2023-04-24 16:01:51,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:01:51.171Z] 2023-04-24 16:01:51,080 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:01:51.171Z] 3.0.0-dev.21 [Pipeline] } [2023-04-24T16:01:51.180Z] $ docker exec --env ******** --env ******** 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca ssh-agent -k [2023-04-24T16:01:51.291Z] unset SSH_AUTH_SOCK; [2023-04-24T16:01:51.291Z] unset SSH_AGENT_PID; [2023-04-24T16:01:51.291Z] echo Agent pid 77 killed; [2023-04-24T16:01:51.316Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:01:51.629Z] + git semver [Pipeline] } [2023-04-24T16:01:51.900Z] $ docker stop --time=1 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca [2023-04-24T16:01:53.279Z] $ docker rm -f --volumes 4eb9a993bcc78642a0ce5f95cba5b1ec65d2c8f9911ae195cfce59c7b1fd00ca [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:01:53.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T16:01:53.830Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T16:01:53.833Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.21 [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-24T16:01:53.944Z] provisioning config files... [2023-04-24T16:01:53.953Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config220680004518774409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:01:54.252Z] ---> docker-login.sh [2023-04-24T16:01:54.252Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:01:54.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:54.252Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:54.252Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:54.252Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:54.252Z] [2023-04-24T16:01:54.252Z] Login Succeeded [2023-04-24T16:01:54.252Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:01:54.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:54.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:54.513Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:54.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:54.513Z] [2023-04-24T16:01:54.513Z] Login Succeeded [2023-04-24T16:01:54.513Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:01:54.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:54.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:54.513Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:54.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:54.513Z] [2023-04-24T16:01:54.513Z] Login Succeeded [2023-04-24T16:01:54.513Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:01:54.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:54.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:54.772Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:54.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:54.772Z] [2023-04-24T16:01:54.772Z] Login Succeeded [2023-04-24T16:01:54.772Z] docker.io [2023-04-24T16:01:54.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:01:55.032Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:01:55.032Z] Configure a credential helper to remove this warning. See [2023-04-24T16:01:55.032Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:01:55.032Z] [2023-04-24T16:01:55.032Z] Login Succeeded [2023-04-24T16:01:55.032Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:01:55.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T16:01:55.098Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:01:55.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:01:55.117Z] ========================================================= [2023-04-24T16:01:55.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T16:01:55.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:01:55.442Z] + 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-24T16:01:55.442Z] Sending build context to Docker daemon 16.08MB [2023-04-24T16:01:55.442Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:01:55.442Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T16:01:55.442Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T16:01:55.442Z] 63b65145d645: Pulling fs layer [2023-04-24T16:01:55.442Z] a2d21d5440eb: Pulling fs layer [2023-04-24T16:01:55.442Z] 935e6c44a52c: Pulling fs layer [2023-04-24T16:01:55.442Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T16:01:55.442Z] 30dea6a524f1: Pulling fs layer [2023-04-24T16:01:55.442Z] a2aff8979fd8: Pulling fs layer [2023-04-24T16:01:55.442Z] 6808be2612f2: Pulling fs layer [2023-04-24T16:01:55.442Z] f25807f1079a: Pulling fs layer [2023-04-24T16:01:55.442Z] 94cc34f8dd06: Waiting [2023-04-24T16:01:55.442Z] 30dea6a524f1: Waiting [2023-04-24T16:01:55.442Z] a2aff8979fd8: Waiting [2023-04-24T16:01:55.442Z] 6808be2612f2: Waiting [2023-04-24T16:01:55.442Z] f25807f1079a: Waiting [2023-04-24T16:01:55.442Z] a2d21d5440eb: Download complete [2023-04-24T16:01:55.700Z] 94cc34f8dd06: Download complete [2023-04-24T16:01:55.700Z] 30dea6a524f1: Download complete [2023-04-24T16:01:55.700Z] 63b65145d645: Verifying Checksum [2023-04-24T16:01:55.700Z] 63b65145d645: Download complete [2023-04-24T16:01:55.700Z] a2aff8979fd8: Verifying Checksum [2023-04-24T16:01:55.700Z] a2aff8979fd8: Download complete [2023-04-24T16:01:55.700Z] 63b65145d645: Pull complete [2023-04-24T16:01:55.962Z] a2d21d5440eb: Pull complete [2023-04-24T16:01:56.223Z] f25807f1079a: Verifying Checksum [2023-04-24T16:01:56.223Z] f25807f1079a: Download complete [2023-04-24T16:01:56.223Z] 935e6c44a52c: Verifying Checksum [2023-04-24T16:01:56.223Z] 935e6c44a52c: Download complete [2023-04-24T16:01:56.483Z] 6808be2612f2: Verifying Checksum [2023-04-24T16:01:56.483Z] 6808be2612f2: Download complete [2023-04-24T16:01:59.770Z] 935e6c44a52c: Pull complete [2023-04-24T16:01:59.770Z] 94cc34f8dd06: Pull complete [2023-04-24T16:02:00.029Z] 30dea6a524f1: Pull complete [2023-04-24T16:02:00.029Z] a2aff8979fd8: Pull complete [2023-04-24T16:02:02.563Z] 6808be2612f2: Pull complete [2023-04-24T16:02:03.510Z] f25807f1079a: Pull complete [2023-04-24T16:02:03.510Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T16:02:03.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T16:02:03.510Z] ---> 3b553350e43f [2023-04-24T16:02:03.510Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:02:07.722Z] ---> Running in 7f1f90fbe4f6 [2023-04-24T16:02:07.722Z] Removing intermediate container 7f1f90fbe4f6 [2023-04-24T16:02:07.722Z] ---> 2d34bb720785 [2023-04-24T16:02:07.722Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:02:07.722Z] ---> Running in 8f6bc9a2ae6d [2023-04-24T16:02:07.982Z] Removing intermediate container 8f6bc9a2ae6d [2023-04-24T16:02:07.982Z] ---> d5f340a96eba [2023-04-24T16:02:07.982Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T16:02:07.982Z] ---> Running in 7511058f3048 [2023-04-24T16:02:07.982Z] Removing intermediate container 7511058f3048 [2023-04-24T16:02:07.982Z] ---> 69eb1a50b170 [2023-04-24T16:02:07.982Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:02:07.982Z] ---> Running in 338dc53747d2 [2023-04-24T16:02:08.241Z] Removing intermediate container 338dc53747d2 [2023-04-24T16:02:08.241Z] ---> a4926e9720bc [2023-04-24T16:02:08.241Z] Step 7/12 : WORKDIR /device-gpio [2023-04-24T16:02:08.241Z] ---> Running in 5d5c569465a4 [2023-04-24T16:02:08.241Z] Removing intermediate container 5d5c569465a4 [2023-04-24T16:02:08.241Z] ---> 414e50f5ad6b [2023-04-24T16:02:08.241Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:02:08.241Z] ---> Running in cbf85e0040b1 [2023-04-24T16:02:08.501Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:08.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:02:08.761Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T16:02:08.761Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T16:02:08.761Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T16:02:08.913Z] Still waiting to schedule task [2023-04-24T16:02:08.913Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9541’ [2023-04-24T16:02:09.032Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T16:02:09.032Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:02:09.032Z] OK: 269 MiB in 57 packages [2023-04-24T16:02:09.291Z] Removing intermediate container cbf85e0040b1 [2023-04-24T16:02:09.291Z] ---> a21098ca663c [2023-04-24T16:02:09.291Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T16:02:09.551Z] ---> ea8d6c73998d [2023-04-24T16:02:09.551Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:02:09.551Z] ---> Running in fff0ead6888d [2023-04-24T16:02:41.683Z] Removing intermediate container fff0ead6888d [2023-04-24T16:02:41.683Z] ---> aa5f559a2d81 [2023-04-24T16:02:41.683Z] Step 11/12 : COPY . . [2023-04-24T16:02:41.683Z] ---> 613e747a4840 [2023-04-24T16:02:41.683Z] Step 12/12 : RUN ${MAKE} [2023-04-24T16:02:41.683Z] ---> Running in e746b95d0d29 [2023-04-24T16:02:41.683Z] noop [2023-04-24T16:02:41.683Z] Removing intermediate container e746b95d0d29 [2023-04-24T16:02:41.683Z] ---> 4b0aa5a82006 [2023-04-24T16:02:41.683Z] Successfully built 4b0aa5a82006 [2023-04-24T16:02:41.683Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:41.992Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T16:02:41.992Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:02:42.072Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:02:42.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T16:02:42.449Z] $ docker top 882d45b0f4d1a955f8ccb28b9bfbbaef96ca4029a2d3ae7ef8d989042d94cbd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:02:42.802Z] + go version [2023-04-24T16:02:42.802Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T16:02:42.810Z] $ docker stop --time=1 882d45b0f4d1a955f8ccb28b9bfbbaef96ca4029a2d3ae7ef8d989042d94cbd6 [2023-04-24T16:02:44.097Z] $ docker rm -f --volumes 882d45b0f4d1a955f8ccb28b9bfbbaef96ca4029a2d3ae7ef8d989042d94cbd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:02:44.509Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T16:02:44.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:02:44.581Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:02:44.617Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-24T16:02:44.930Z] $ docker top 75f217f5c73ee3640ae6ae9f0ab8be75d8519ceb1f80d1139f1bac18b74b4f11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:02:45.274Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh [2023-04-24T16:02:45.573Z] + make test [2023-04-24T16:02:45.574Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T16:02:50.847Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-24T16:03:00.820Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-24T16:03:00.820Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-24T16:03:06.082Z] go vet ./... [2023-04-24T16:03:08.613Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T16:03:08.613Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T16:03:08.613Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T16:03:08.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T16:03:08.900Z] $ docker stop --time=1 75f217f5c73ee3640ae6ae9f0ab8be75d8519ceb1f80d1139f1bac18b74b4f11 [2023-04-24T16:03:11.832Z] $ docker rm -f --volumes 75f217f5c73ee3640ae6ae9f0ab8be75d8519ceb1f80d1139f1bac18b74b4f11 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:03:12.287Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T16:03:12.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T16:03:12.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T16:03:13.079Z] + ls -al . [2023-04-24T16:03:13.079Z] total 156 [2023-04-24T16:03:13.079Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 16:02 . [2023-04-24T16:03:13.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:01 .. [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 16:01 .dockerignore [2023-04-24T16:03:13.079Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:01 .git [2023-04-24T16:03:13.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:01 .github [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 16:01 .gitignore [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 16:01 .golangci.yml [2023-04-24T16:03:13.079Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 16:01 .semver [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 16:01 Attribution.txt [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 16:01 CHANGELOG.md [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 16:01 Dockerfile [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 16:01 GOVERNANCE.md [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 16:01 Jenkinsfile [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 16:01 LICENSE [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 16:01 Makefile [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 16:01 OWNERS.md [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 16:01 README.md [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 16:01 VERSION [2023-04-24T16:03:13.079Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 16:01 bin [2023-04-24T16:03:13.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:01 cmd [2023-04-24T16:03:13.079Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 24 16:02 coverage.out [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 16:01 go.mod [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 16:01 go.sum [2023-04-24T16:03:13.079Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:01 internal [2023-04-24T16:03:13.079Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:01 snap [2023-04-24T16:03:13.079Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:13.386Z] + 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=5b9829103c2079071eaf01e57caf9b47463cebaa --label arch=amd64 --label version=3.0.0-dev.21 . [2023-04-24T16:03:13.386Z] Sending build context to Docker daemon 16.08MB [2023-04-24T16:03:13.386Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:03:13.386Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T16:03:13.386Z] ---> 4b0aa5a82006 [2023-04-24T16:03:13.386Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:03:13.645Z] ---> Running in 9520fdd7d442 [2023-04-24T16:03:13.645Z] Removing intermediate container 9520fdd7d442 [2023-04-24T16:03:13.645Z] ---> 73ce0a438a47 [2023-04-24T16:03:13.645Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:03:13.645Z] ---> Running in cbc3131be7df [2023-04-24T16:03:13.905Z] Removing intermediate container cbc3131be7df [2023-04-24T16:03:13.905Z] ---> 1886ab719272 [2023-04-24T16:03:13.905Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T16:03:13.905Z] ---> Running in 20ec85f3cca8 [2023-04-24T16:03:13.905Z] Removing intermediate container 20ec85f3cca8 [2023-04-24T16:03:13.905Z] ---> 7d47f45b2281 [2023-04-24T16:03:13.905Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:03:13.905Z] ---> Running in 0d11dafea167 [2023-04-24T16:03:13.905Z] Removing intermediate container 0d11dafea167 [2023-04-24T16:03:13.905Z] ---> ca4c1e17c12b [2023-04-24T16:03:13.905Z] Step 7/25 : WORKDIR /device-gpio [2023-04-24T16:03:13.905Z] ---> Running in 13c146a053b6 [2023-04-24T16:03:14.165Z] Removing intermediate container 13c146a053b6 [2023-04-24T16:03:14.165Z] ---> 218d0a123d15 [2023-04-24T16:03:14.165Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:03:14.165Z] ---> Running in 72224e6e1cc5 [2023-04-24T16:03:14.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:03:14.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:03:14.693Z] OK: 269 MiB in 57 packages [2023-04-24T16:03:14.952Z] Removing intermediate container 72224e6e1cc5 [2023-04-24T16:03:14.952Z] ---> 5d70f7152625 [2023-04-24T16:03:14.952Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T16:03:15.211Z] ---> a139dc009b2c [2023-04-24T16:03:15.211Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:03:15.211Z] ---> Running in d2e505efb792 [2023-04-24T16:03:15.777Z] Removing intermediate container d2e505efb792 [2023-04-24T16:03:15.777Z] ---> 2aef5f39f96d [2023-04-24T16:03:15.777Z] Step 11/25 : COPY . . [2023-04-24T16:03:16.713Z] ---> 6a769f294829 [2023-04-24T16:03:16.713Z] Step 12/25 : RUN ${MAKE} [2023-04-24T16:03:16.713Z] ---> Running in fe086705883e [2023-04-24T16:03:16.971Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-24T16:03:39.196Z] Removing intermediate container fe086705883e [2023-04-24T16:03:39.196Z] ---> 08ae4a639d5c [2023-04-24T16:03:39.196Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T16:03:39.196Z] 3.17: Pulling from library/alpine [2023-04-24T16:03:39.196Z] f56be85fc22e: Pulling fs layer [2023-04-24T16:03:39.196Z] f56be85fc22e: Verifying Checksum [2023-04-24T16:03:39.196Z] f56be85fc22e: Download complete [2023-04-24T16:03:39.196Z] f56be85fc22e: Pull complete [2023-04-24T16:03:39.196Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T16:03:39.196Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T16:03:39.196Z] ---> 9ed4aefc74f6 [2023-04-24T16:03:39.196Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-24T16:03:39.196Z] ---> Running in 1db750497766 [2023-04-24T16:03:39.196Z] Removing intermediate container 1db750497766 [2023-04-24T16:03:39.196Z] ---> 522218e11720 [2023-04-24T16:03:39.196Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-24T16:03:39.196Z] ---> Running in 16794282281f [2023-04-24T16:03:39.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T16:03:39.196Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T16:03:39.196Z] OK: 7 MiB in 15 packages [2023-04-24T16:03:39.196Z] Removing intermediate container 16794282281f [2023-04-24T16:03:39.196Z] ---> c7fb13b7c577 [2023-04-24T16:03:39.196Z] Step 16/25 : WORKDIR / [2023-04-24T16:03:39.196Z] ---> Running in 9ea64073b2a3 [2023-04-24T16:03:39.196Z] Removing intermediate container 9ea64073b2a3 [2023-04-24T16:03:39.196Z] ---> a93f0ee4437b [2023-04-24T16:03:39.196Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-24T16:03:39.196Z] ---> 62afecbb61d3 [2023-04-24T16:03:39.196Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-24T16:03:39.196Z] ---> 87c0ddce0912 [2023-04-24T16:03:39.196Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-24T16:03:40.137Z] ---> b6ecde91f2ce [2023-04-24T16:03:40.137Z] Step 20/25 : EXPOSE 59910 [2023-04-24T16:03:40.137Z] ---> Running in 26d141963dd7 [2023-04-24T16:03:40.137Z] Removing intermediate container 26d141963dd7 [2023-04-24T16:03:40.137Z] ---> ddf4b3ffe605 [2023-04-24T16:03:40.137Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-24T16:03:40.137Z] ---> Running in 75137ff35bec [2023-04-24T16:03:40.137Z] Removing intermediate container 75137ff35bec [2023-04-24T16:03:40.137Z] ---> 2c18f55dc194 [2023-04-24T16:03:40.137Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T16:03:40.137Z] ---> Running in d99bad40a5f0 [2023-04-24T16:03:40.137Z] Removing intermediate container d99bad40a5f0 [2023-04-24T16:03:40.137Z] ---> 4da507718a76 [2023-04-24T16:03:40.137Z] Step 23/25 : LABEL arch=amd64 [2023-04-24T16:03:40.396Z] ---> Running in b41f1aaa9f93 [2023-04-24T16:03:40.396Z] Removing intermediate container b41f1aaa9f93 [2023-04-24T16:03:40.396Z] ---> 36d1265cd7f4 [2023-04-24T16:03:40.396Z] Step 24/25 : LABEL git_sha=5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:03:40.396Z] ---> Running in 78ccd7d59857 [2023-04-24T16:03:40.396Z] Removing intermediate container 78ccd7d59857 [2023-04-24T16:03:40.396Z] ---> 312d759fd992 [2023-04-24T16:03:40.396Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-04-24T16:03:40.396Z] ---> Running in 7e54a8e0fa74 [2023-04-24T16:03:40.396Z] Removing intermediate container 7e54a8e0fa74 [2023-04-24T16:03:40.396Z] ---> fa9173efc659 [2023-04-24T16:03:40.396Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T16:03:40.655Z] Successfully built fa9173efc659 [2023-04-24T16:03:40.655Z] 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-24T16:03:40.767Z] provisioning config files... [2023-04-24T16:03:40.775Z] copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12848709031334679585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:03:41.073Z] ---> docker-login.sh [2023-04-24T16:03:41.073Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:03:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:03:41.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:03:41.074Z] Configure a credential helper to remove this warning. See [2023-04-24T16:03:41.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:03:41.074Z] [2023-04-24T16:03:41.074Z] Login Succeeded [2023-04-24T16:03:41.074Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:03:41.074Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:03:41.074Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:03:41.074Z] Configure a credential helper to remove this warning. See [2023-04-24T16:03:41.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:03:41.074Z] [2023-04-24T16:03:41.074Z] Login Succeeded [2023-04-24T16:03:41.074Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:03:41.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:03:41.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:03:41.332Z] Configure a credential helper to remove this warning. See [2023-04-24T16:03:41.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:03:41.332Z] [2023-04-24T16:03:41.332Z] Login Succeeded [2023-04-24T16:03:41.332Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:03:41.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:03:41.332Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:03:41.332Z] Configure a credential helper to remove this warning. See [2023-04-24T16:03:41.332Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:03:41.332Z] [2023-04-24T16:03:41.332Z] Login Succeeded [2023-04-24T16:03:41.332Z] docker.io [2023-04-24T16:03:41.332Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:03:41.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:03:41.591Z] Configure a credential helper to remove this warning. See [2023-04-24T16:03:41.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:03:41.591Z] [2023-04-24T16:03:41.591Z] Login Succeeded [2023-04-24T16:03:41.591Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:03:41.598Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:03:41.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:03:41.662Z] [edgeXDocker.push] Tagging docker image device-gpio with the following tags: [2023-04-24T16:03:41.662Z] 5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:03:41.662Z] latest [2023-04-24T16:03:41.662Z] 3.0.0-dev.21 [2023-04-24T16:03:41.662Z] 5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:03:41.662Z] main [2023-04-24T16:03:41.662Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:41.970Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:42.285Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:03:42.285Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-24T16:03:42.285Z] 6f725106ca21: Preparing [2023-04-24T16:03:42.285Z] 14f16bdcea0d: Preparing [2023-04-24T16:03:42.285Z] b3026b20f523: Preparing [2023-04-24T16:03:42.285Z] 6109e56c1045: Preparing [2023-04-24T16:03:42.285Z] f1417ff83b31: Preparing [2023-04-24T16:03:42.285Z] f1417ff83b31: Layer already exists [2023-04-24T16:03:42.285Z] 14f16bdcea0d: Pushed [2023-04-24T16:03:42.285Z] b3026b20f523: Pushed [2023-04-24T16:03:42.285Z] 6109e56c1045: Pushed [2023-04-24T16:03:44.822Z] 6f725106ca21: Pushed [2023-04-24T16:03:44.822Z] 5b9829103c2079071eaf01e57caf9b47463cebaa: digest: sha256:edb1cab5174414ca6482472dc4d463454d0c8a54f184d1306fa2743cda958764 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:45.134Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:45.435Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-24T16:03:45.435Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-24T16:03:45.435Z] 6f725106ca21: Preparing [2023-04-24T16:03:45.435Z] 14f16bdcea0d: Preparing [2023-04-24T16:03:45.435Z] b3026b20f523: Preparing [2023-04-24T16:03:45.435Z] 6109e56c1045: Preparing [2023-04-24T16:03:45.435Z] f1417ff83b31: Preparing [2023-04-24T16:03:45.435Z] b3026b20f523: Layer already exists [2023-04-24T16:03:45.435Z] f1417ff83b31: Layer already exists [2023-04-24T16:03:45.435Z] 6109e56c1045: Layer already exists [2023-04-24T16:03:45.435Z] 14f16bdcea0d: Layer already exists [2023-04-24T16:03:45.435Z] 6f725106ca21: Layer already exists [2023-04-24T16:03:45.435Z] latest: digest: sha256:edb1cab5174414ca6482472dc4d463454d0c8a54f184d1306fa2743cda958764 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:45.747Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:46.050Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.21 [2023-04-24T16:03:46.050Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-24T16:03:46.050Z] 6f725106ca21: Preparing [2023-04-24T16:03:46.050Z] 14f16bdcea0d: Preparing [2023-04-24T16:03:46.050Z] b3026b20f523: Preparing [2023-04-24T16:03:46.050Z] 6109e56c1045: Preparing [2023-04-24T16:03:46.050Z] f1417ff83b31: Preparing [2023-04-24T16:03:46.050Z] 6109e56c1045: Layer already exists [2023-04-24T16:03:46.050Z] 14f16bdcea0d: Layer already exists [2023-04-24T16:03:46.050Z] b3026b20f523: Layer already exists [2023-04-24T16:03:46.050Z] f1417ff83b31: Layer already exists [2023-04-24T16:03:46.050Z] 6f725106ca21: Layer already exists [2023-04-24T16:03:46.050Z] 3.0.0-dev.21: digest: sha256:edb1cab5174414ca6482472dc4d463454d0c8a54f184d1306fa2743cda958764 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:46.362Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:46.668Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:03:46.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-24T16:03:46.668Z] 6f725106ca21: Preparing [2023-04-24T16:03:46.668Z] 14f16bdcea0d: Preparing [2023-04-24T16:03:46.668Z] b3026b20f523: Preparing [2023-04-24T16:03:46.668Z] 6109e56c1045: Preparing [2023-04-24T16:03:46.668Z] f1417ff83b31: Preparing [2023-04-24T16:03:46.668Z] 6f725106ca21: Layer already exists [2023-04-24T16:03:46.668Z] b3026b20f523: Layer already exists [2023-04-24T16:03:46.668Z] 14f16bdcea0d: Layer already exists [2023-04-24T16:03:46.668Z] 6109e56c1045: Layer already exists [2023-04-24T16:03:46.668Z] f1417ff83b31: Layer already exists [2023-04-24T16:03:46.668Z] 5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21: digest: sha256:edb1cab5174414ca6482472dc4d463454d0c8a54f184d1306fa2743cda958764 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:46.980Z] + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:47.288Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio:main [2023-04-24T16:03:47.288Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] [2023-04-24T16:03:47.288Z] 6f725106ca21: Preparing [2023-04-24T16:03:47.288Z] 14f16bdcea0d: Preparing [2023-04-24T16:03:47.288Z] b3026b20f523: Preparing [2023-04-24T16:03:47.288Z] 6109e56c1045: Preparing [2023-04-24T16:03:47.288Z] f1417ff83b31: Preparing [2023-04-24T16:03:47.288Z] 6109e56c1045: Layer already exists [2023-04-24T16:03:47.288Z] f1417ff83b31: Layer already exists [2023-04-24T16:03:47.288Z] 14f16bdcea0d: Layer already exists [2023-04-24T16:03:47.288Z] 6f725106ca21: Layer already exists [2023-04-24T16:03:47.288Z] b3026b20f523: Layer already exists [2023-04-24T16:03:47.288Z] main: digest: sha256:edb1cab5174414ca6482472dc4d463454d0c8a54f184d1306fa2743cda958764 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:03:47.326Z] ===================================================== [Pipeline] echo [2023-04-24T16:03:47.334Z] taggedImages: [2023-04-24T16:03:47.334Z] - nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:03:47.334Z] - nexus3.edgexfoundry.org:10004/device-gpio:latest [2023-04-24T16:03:47.334Z] - nexus3.edgexfoundry.org:10004/device-gpio:3.0.0-dev.21 [2023-04-24T16:03:47.334Z] - nexus3.edgexfoundry.org:10004/device-gpio:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:03:47.334Z] - 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-24T16:03:47.693Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:03:47.693Z] [2023-04-24T16:03:47.693Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:03:47.994Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:03:47.994Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T16:03:47.994Z] 5eb5b503b376: Pulling fs layer [2023-04-24T16:03:47.994Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T16:03:47.994Z] ec43610c2a17: Pulling fs layer [2023-04-24T16:03:47.994Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T16:03:47.994Z] 33b1e0a273af: Pulling fs layer [2023-04-24T16:03:47.994Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T16:03:47.994Z] 2f39f015ded8: Pulling fs layer [2023-04-24T16:03:47.994Z] 3a2ae6a8a46f: Waiting [2023-04-24T16:03:47.994Z] 33b1e0a273af: Waiting [2023-04-24T16:03:47.994Z] 5d3b04190fa2: Waiting [2023-04-24T16:03:47.994Z] 2f39f015ded8: Waiting [2023-04-24T16:03:47.994Z] 5c69ac0246d0: Download complete [2023-04-24T16:03:47.994Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-24T16:03:47.994Z] 33b1e0a273af: Verifying Checksum [2023-04-24T16:03:47.994Z] 33b1e0a273af: Download complete [2023-04-24T16:03:47.994Z] 5d3b04190fa2: Download complete [2023-04-24T16:03:48.254Z] ec43610c2a17: Verifying Checksum [2023-04-24T16:03:48.254Z] ec43610c2a17: Download complete [2023-04-24T16:03:48.254Z] 5eb5b503b376: Verifying Checksum [2023-04-24T16:03:48.254Z] 5eb5b503b376: Download complete [2023-04-24T16:03:48.819Z] 2f39f015ded8: Download complete [2023-04-24T16:03:49.386Z] 5eb5b503b376: Pull complete [2023-04-24T16:03:49.386Z] 5c69ac0246d0: Pull complete [2023-04-24T16:03:49.950Z] ec43610c2a17: Pull complete [2023-04-24T16:03:49.950Z] 3a2ae6a8a46f: Pull complete [2023-04-24T16:03:50.206Z] 33b1e0a273af: Pull complete [2023-04-24T16:03:50.206Z] 5d3b04190fa2: Pull complete [2023-04-24T16:03:54.388Z] 2f39f015ded8: Pull complete [2023-04-24T16:03:54.389Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T16:03:54.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:03:54.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:03:54.466Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:03:54.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T16:03:58.271Z] $ docker top 0ece2f06de0dae4df27118afe6beb437cdb8f5b4ad95370251ef52283b8de49c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:03:58.670Z] ---> job-cost.sh [2023-04-24T16:03:58.670Z] lf-activate-venv: SKIPPING [2023-04-24T16:03:58.670Z] INFO: No Stack... [2023-04-24T16:03:58.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T16:03:59.190Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T16:03:59.478Z] + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv [2023-04-24T16:03:59.478Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T16:03:59.491Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [2023-04-24T16:03:59.499Z] Resource [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] did not exist. Created. [2023-04-24T16:03:59.499Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T16:03:59.804Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T16:03:59.824Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T16:03:59.830Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T16:03:59.845Z] $ docker stop --time=1 0ece2f06de0dae4df27118afe6beb437cdb8f5b4ad95370251ef52283b8de49c [2023-04-24T16:04:01.001Z] $ docker rm -f --volumes 0ece2f06de0dae4df27118afe6beb437cdb8f5b4ad95370251ef52283b8de49c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T16:04:56.811Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9547 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws [2023-04-24T16:04:56.824Z] Running in /w/workspace/device-gpio/75 [Pipeline] { [Pipeline] checkout [2023-04-24T16:04:56.866Z] The recommended git tool is: git [2023-04-24T16:05:02.703Z] using credential edgex-jenkins-ssh [2023-04-24T16:05:02.720Z] Cloning the remote Git repository [2023-04-24T16:05:02.769Z] Cloning repository git@github.com:edgexfoundry/device-gpio.git [2023-04-24T16:05:02.866Z] > git init /w/workspace/device-gpio/75 # timeout=10 [2023-04-24T16:05:03.021Z] Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git [2023-04-24T16:05:03.022Z] > git --version # timeout=10 [2023-04-24T16:05:03.042Z] > git --version # 'git version 2.25.1' [2023-04-24T16:05:03.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T16:05:03.218Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T16:05:05.865Z] Avoid second fetch [2023-04-24T16:05:05.865Z] Checking out Revision 5b9829103c2079071eaf01e57caf9b47463cebaa (main) [2023-04-24T16:05:04.850Z] > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 [2023-04-24T16:05:04.874Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T16:05:05.884Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T16:05:06.477Z] Commit message: "build(snap): Upgrade snap base to core22, remove deprecated plug (#161)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:05:05.957Z] > git checkout -f 5b9829103c2079071eaf01e57caf9b47463cebaa # timeout=10 [2023-04-24T16:05:07.439Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T16:05:07.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T16:05:07.439Z] Dload Upload Total Spent Left Speed [2023-04-24T16:05:07.439Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh [2023-04-24T16:05:08.104Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T16:05:08.450Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T16:05:08.450Z] + sudo tee /etc/docker/daemon.new [2023-04-24T16:05:08.450Z] { [2023-04-24T16:05:08.450Z] "registry-mirrors": [ [2023-04-24T16:05:08.450Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T16:05:08.450Z] ], [2023-04-24T16:05:08.450Z] "bip": "10.250.0.254/24", [2023-04-24T16:05:08.450Z] "hosts": [ [2023-04-24T16:05:08.450Z] "tcp://0.0.0.0:5555", [2023-04-24T16:05:08.450Z] "unix:///var/run/docker.sock" [2023-04-24T16:05:08.450Z] ], [2023-04-24T16:05:08.450Z] "mtu": 1458, [2023-04-24T16:05:08.450Z] "selinux-enabled": true, [2023-04-24T16:05:08.450Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T16:05:08.450Z] } [Pipeline] sh [2023-04-24T16:05:08.804Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T16:05:09.145Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:05:27.702Z] provisioning config files... [2023-04-24T16:05:27.733Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/75@tmp/config13816856825292395862tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:05:28.106Z] ---> docker-login.sh [2023-04-24T16:05:28.106Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:05:28.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:05:28.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:05:28.698Z] Configure a credential helper to remove this warning. See [2023-04-24T16:05:28.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:05:28.698Z] [2023-04-24T16:05:28.698Z] Login Succeeded [2023-04-24T16:05:28.698Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:05:28.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:05:29.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:05:29.242Z] Configure a credential helper to remove this warning. See [2023-04-24T16:05:29.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:05:29.242Z] [2023-04-24T16:05:29.242Z] Login Succeeded [2023-04-24T16:05:29.242Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:05:29.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:05:29.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:05:29.514Z] Configure a credential helper to remove this warning. See [2023-04-24T16:05:29.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:05:29.514Z] [2023-04-24T16:05:29.514Z] Login Succeeded [2023-04-24T16:05:29.514Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:05:29.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:05:29.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:05:29.787Z] Configure a credential helper to remove this warning. See [2023-04-24T16:05:29.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:05:29.787Z] [2023-04-24T16:05:29.787Z] Login Succeeded [2023-04-24T16:05:29.787Z] docker.io [2023-04-24T16:05:30.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:05:30.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:05:30.333Z] Configure a credential helper to remove this warning. See [2023-04-24T16:05:30.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:05:30.333Z] [2023-04-24T16:05:30.333Z] Login Succeeded [2023-04-24T16:05:30.333Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:05:30.347Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T16:05:30.636Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:05:30.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:05:30.662Z] ========================================================= [2023-04-24T16:05:30.663Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T16:05:30.663Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:05:31.025Z] + 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-24T16:05:31.294Z] Sending build context to Docker daemon 8.12MB [2023-04-24T16:05:31.294Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:05:31.294Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T16:05:31.565Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T16:05:31.565Z] af6eaf76a39c: Pulling fs layer [2023-04-24T16:05:31.565Z] 55522c791124: Pulling fs layer [2023-04-24T16:05:31.565Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T16:05:31.565Z] 169dfbe0d373: Pulling fs layer [2023-04-24T16:05:31.565Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T16:05:31.565Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T16:05:31.565Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T16:05:31.565Z] 169dfbe0d373: Waiting [2023-04-24T16:05:31.565Z] e1ff8fa3b103: Waiting [2023-04-24T16:05:31.565Z] 52ebb69f0ebf: Waiting [2023-04-24T16:05:31.565Z] 5abe8eddf0d5: Waiting [2023-04-24T16:05:31.565Z] 55522c791124: Verifying Checksum [2023-04-24T16:05:31.565Z] 55522c791124: Download complete [2023-04-24T16:05:31.565Z] 169dfbe0d373: Verifying Checksum [2023-04-24T16:05:31.565Z] 169dfbe0d373: Download complete [2023-04-24T16:05:31.565Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T16:05:31.565Z] e1ff8fa3b103: Download complete [2023-04-24T16:05:31.839Z] af6eaf76a39c: Verifying Checksum [2023-04-24T16:05:32.826Z] af6eaf76a39c: Pull complete [2023-04-24T16:05:32.826Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T16:05:32.826Z] 5abe8eddf0d5: Download complete [2023-04-24T16:05:34.266Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T16:05:34.266Z] ce5c4a1c91eb: Download complete [2023-04-24T16:05:34.266Z] 52ebb69f0ebf: Verifying Checksum [2023-04-24T16:05:34.266Z] 52ebb69f0ebf: Download complete [2023-04-24T16:05:35.237Z] 55522c791124: Pull complete [2023-04-24T16:05:47.593Z] ce5c4a1c91eb: Pull complete [2023-04-24T16:05:47.593Z] 169dfbe0d373: Pull complete [2023-04-24T16:05:47.593Z] e1ff8fa3b103: Pull complete [2023-04-24T16:05:52.966Z] 52ebb69f0ebf: Pull complete [2023-04-24T16:05:54.938Z] 5abe8eddf0d5: Pull complete [2023-04-24T16:05:54.938Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T16:05:54.938Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T16:05:54.938Z] ---> 6cb57ee374ae [2023-04-24T16:05:54.938Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:05:56.921Z] ---> Running in c929091dbe17 [2023-04-24T16:05:57.188Z] Removing intermediate container c929091dbe17 [2023-04-24T16:05:57.188Z] ---> 6a865407fdea [2023-04-24T16:05:57.188Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:05:57.188Z] ---> Running in 6d14a667600a [2023-04-24T16:05:57.465Z] Removing intermediate container 6d14a667600a [2023-04-24T16:05:57.465Z] ---> 580afc51439f [2023-04-24T16:05:57.465Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T16:05:57.735Z] ---> Running in 9069e54df63c [2023-04-24T16:05:58.006Z] Removing intermediate container 9069e54df63c [2023-04-24T16:05:58.006Z] ---> 620238e14875 [2023-04-24T16:05:58.006Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:05:58.006Z] ---> Running in c49ac2eafd10 [2023-04-24T16:05:58.274Z] Removing intermediate container c49ac2eafd10 [2023-04-24T16:05:58.274Z] ---> d6e73321d129 [2023-04-24T16:05:58.274Z] Step 7/12 : WORKDIR /device-gpio [2023-04-24T16:05:58.543Z] ---> Running in 9baa1252f09b [2023-04-24T16:05:58.832Z] Removing intermediate container 9baa1252f09b [2023-04-24T16:05:58.832Z] ---> a8627a84cf33 [2023-04-24T16:05:58.832Z] Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:05:58.832Z] ---> Running in 06d84cf0dbf2 [2023-04-24T16:06:00.311Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:06:00.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:06:01.900Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T16:06:01.901Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T16:06:01.901Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T16:06:02.171Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T16:06:02.171Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T16:06:02.171Z] OK: 268 MiB in 57 packages [2023-04-24T16:06:03.141Z] Removing intermediate container 06d84cf0dbf2 [2023-04-24T16:06:03.141Z] ---> 084e65f79802 [2023-04-24T16:06:03.141Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T16:06:03.739Z] ---> 2d8dbfa71ebc [2023-04-24T16:06:03.739Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:06:03.739Z] ---> Running in 14899b3064b7 [2023-04-24T16:07:11.675Z] Removing intermediate container 14899b3064b7 [2023-04-24T16:07:11.675Z] ---> f5cc0dad72b0 [2023-04-24T16:07:11.675Z] Step 11/12 : COPY . . [2023-04-24T16:07:11.675Z] ---> 6222f33dee95 [2023-04-24T16:07:11.675Z] Step 12/12 : RUN ${MAKE} [2023-04-24T16:07:11.675Z] ---> Running in c2d6255d72a9 [2023-04-24T16:07:11.675Z] noop [2023-04-24T16:07:11.675Z] Removing intermediate container c2d6255d72a9 [2023-04-24T16:07:11.675Z] ---> cb8b19b7c95f [2023-04-24T16:07:11.675Z] Successfully built cb8b19b7c95f [2023-04-24T16:07:11.675Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:07:12.042Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T16:07:12.042Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:07:12.274Z] prd-ubuntu20.04-docker-arm64-4c-16g-9547 does not seem to be running inside a container [2023-04-24T16:07:12.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/75 -v /w/workspace/device-gpio/75:/w/workspace/device-gpio/75:rw,z -v /w/workspace/device-gpio/75@tmp:/w/workspace/device-gpio/75@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-24T16:07:13.618Z] $ docker top 12730af6cd9a1320e067c9e05adfc2c7ca3b647e89a8bc25ba85f6fcd3213b5b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:07:14.471Z] + go version [2023-04-24T16:07:14.471Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T16:07:14.495Z] $ docker stop --time=1 12730af6cd9a1320e067c9e05adfc2c7ca3b647e89a8bc25ba85f6fcd3213b5b [2023-04-24T16:07:16.167Z] $ docker rm -f --volumes 12730af6cd9a1320e067c9e05adfc2c7ca3b647e89a8bc25ba85f6fcd3213b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:07:16.717Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T16:07:16.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:07:16.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-9547 does not seem to be running inside a container [2023-04-24T16:07:17.002Z] $ 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/75 -v /w/workspace/device-gpio/75:/w/workspace/device-gpio/75:rw,z -v /w/workspace/device-gpio/75@tmp:/w/workspace/device-gpio/75@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-24T16:07:18.282Z] $ docker top 206ca3254a46c27430770db9cbb11b39a59cb88514a65bcf5e9b0c2c58d25d14 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:07:19.143Z] + git config --global --add safe.directory /w/workspace/device-gpio/75 [Pipeline] fileExists [Pipeline] sh [2023-04-24T16:07:19.807Z] + make test [2023-04-24T16:07:19.807Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T16:07:58.756Z] ? github.com/edgexfoundry/device-gpio [no test files] [2023-04-24T16:10:05.483Z] ? github.com/edgexfoundry/device-gpio/cmd [no test files] [2023-04-24T16:10:05.483Z] ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] [2023-04-24T16:10:06.075Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T16:10:06.075Z] go vet ./... [2023-04-24T16:10:38.329Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T16:10:38.329Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T16:10:38.329Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T16:10:38.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T16:10:38.364Z] $ docker stop --time=1 206ca3254a46c27430770db9cbb11b39a59cb88514a65bcf5e9b0c2c58d25d14 [2023-04-24T16:10:40.344Z] $ docker rm -f --volumes 206ca3254a46c27430770db9cbb11b39a59cb88514a65bcf5e9b0c2c58d25d14 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:10:41.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T16:10:41.575Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T16:10:42.093Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T16:10:42.468Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T16:10:42.789Z] + ls -al . [2023-04-24T16:10:42.789Z] total 152 [2023-04-24T16:10:42.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:07 . [2023-04-24T16:10:42.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:05 .. [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 120 Apr 24 16:05 .dockerignore [2023-04-24T16:10:42.789Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 16:05 .git [2023-04-24T16:10:42.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:05 .github [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 343 Apr 24 16:05 .gitignore [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 16:05 .golangci.yml [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 9702 Apr 24 16:05 Attribution.txt [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 4069 Apr 24 16:05 CHANGELOG.md [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 1542 Apr 24 16:05 Dockerfile [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 16:05 GOVERNANCE.md [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 657 Apr 24 16:05 Jenkinsfile [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 16:05 LICENSE [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 1692 Apr 24 16:05 Makefile [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 617 Apr 24 16:05 OWNERS.md [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 11790 Apr 24 16:05 README.md [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 16:01 VERSION [2023-04-24T16:10:42.789Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 16:05 bin [2023-04-24T16:10:42.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:05 cmd [2023-04-24T16:10:42.789Z] -rw-r--r-- 1 jenkins jenkins 10 Apr 24 16:07 coverage.out [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 3269 Apr 24 16:05 go.mod [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 31700 Apr 24 16:05 go.sum [2023-04-24T16:10:42.789Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 16:05 internal [2023-04-24T16:10:42.789Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 16:05 snap [2023-04-24T16:10:42.789Z] -rw-rw-r-- 1 jenkins jenkins 209 Apr 24 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:10:43.141Z] + 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=5b9829103c2079071eaf01e57caf9b47463cebaa --label arch=arm64 --label version=3.0.0-dev.21 . [2023-04-24T16:10:43.416Z] Sending build context to Docker daemon 8.121MB [2023-04-24T16:10:43.416Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T16:10:43.416Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T16:10:43.416Z] ---> cb8b19b7c95f [2023-04-24T16:10:43.416Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T16:10:43.687Z] ---> Running in 708ae960a934 [2023-04-24T16:10:43.959Z] Removing intermediate container 708ae960a934 [2023-04-24T16:10:43.959Z] ---> df96d7a26986 [2023-04-24T16:10:43.959Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T16:10:43.959Z] ---> Running in dbfb413a4d9a [2023-04-24T16:10:44.547Z] Removing intermediate container dbfb413a4d9a [2023-04-24T16:10:44.547Z] ---> b8eed25ba0fb [2023-04-24T16:10:44.547Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " [2023-04-24T16:10:44.547Z] ---> Running in 553ba9f579c7 [2023-04-24T16:10:44.817Z] Removing intermediate container 553ba9f579c7 [2023-04-24T16:10:44.817Z] ---> 6376da24791e [2023-04-24T16:10:44.817Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T16:10:44.817Z] ---> Running in 12c4172cf715 [2023-04-24T16:10:45.093Z] Removing intermediate container 12c4172cf715 [2023-04-24T16:10:45.093Z] ---> 1bfe58096818 [2023-04-24T16:10:45.093Z] Step 7/25 : WORKDIR /device-gpio [2023-04-24T16:10:45.366Z] ---> Running in 95aae5ef5ce2 [2023-04-24T16:10:45.643Z] Removing intermediate container 95aae5ef5ce2 [2023-04-24T16:10:45.643Z] ---> 744a425879a2 [2023-04-24T16:10:45.643Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T16:10:45.643Z] ---> Running in c878094e231e [2023-04-24T16:10:46.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:10:47.593Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:10:48.559Z] OK: 268 MiB in 57 packages [2023-04-24T16:10:49.523Z] Removing intermediate container c878094e231e [2023-04-24T16:10:49.523Z] ---> f9adb026e895 [2023-04-24T16:10:49.523Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T16:10:50.112Z] ---> dcb912f63e7e [2023-04-24T16:10:50.113Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T16:10:50.113Z] ---> Running in 1c3dbbef6103 [2023-04-24T16:10:54.377Z] Removing intermediate container 1c3dbbef6103 [2023-04-24T16:10:54.377Z] ---> ccd98daebe0c [2023-04-24T16:10:54.377Z] Step 11/25 : COPY . . [2023-04-24T16:10:54.644Z] ---> 1db22bb8a9f2 [2023-04-24T16:10:54.644Z] Step 12/25 : RUN ${MAKE} [2023-04-24T16:10:54.929Z] ---> Running in d6ff403f8771 [2023-04-24T16:10:55.893Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.0.0-dev.21" -trimpath -mod=readonly -o cmd/device-gpio ./cmd [2023-04-24T16:13:17.652Z] Removing intermediate container d6ff403f8771 [2023-04-24T16:13:17.652Z] ---> 902aba9d5858 [2023-04-24T16:13:17.652Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T16:13:17.652Z] 3.17: Pulling from library/alpine [2023-04-24T16:13:17.652Z] c41833b44d91: Pulling fs layer [2023-04-24T16:13:17.652Z] c41833b44d91: Download complete [2023-04-24T16:13:17.652Z] c41833b44d91: Pull complete [2023-04-24T16:13:17.652Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T16:13:17.652Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T16:13:17.652Z] ---> 51e60588ff2c [2023-04-24T16:13:17.652Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' [2023-04-24T16:13:17.652Z] ---> Running in 0c5ba52e1314 [2023-04-24T16:13:17.652Z] Removing intermediate container 0c5ba52e1314 [2023-04-24T16:13:17.652Z] ---> a92a19eec544 [2023-04-24T16:13:17.652Z] Step 15/25 : RUN apk add --update --no-cache [2023-04-24T16:13:17.652Z] ---> Running in adc83ab4a7ed [2023-04-24T16:13:17.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T16:13:17.652Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T16:13:17.652Z] OK: 7 MiB in 15 packages [2023-04-24T16:13:17.652Z] Removing intermediate container adc83ab4a7ed [2023-04-24T16:13:17.652Z] ---> 632234d4844b [2023-04-24T16:13:17.652Z] Step 16/25 : WORKDIR / [2023-04-24T16:13:17.652Z] ---> Running in 57acacc464aa [2023-04-24T16:13:17.920Z] Removing intermediate container 57acacc464aa [2023-04-24T16:13:17.920Z] ---> 7cd1a68d8c9c [2023-04-24T16:13:17.920Z] Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / [2023-04-24T16:13:18.884Z] ---> 3ac8813f7de7 [2023-04-24T16:13:18.884Z] Step 18/25 : COPY --from=builder /device-gpio/LICENSE / [2023-04-24T16:13:19.468Z] ---> 5ad768f28759 [2023-04-24T16:13:19.468Z] Step 19/25 : COPY --from=builder /device-gpio/cmd/ / [2023-04-24T16:13:20.883Z] ---> 9349382cf177 [2023-04-24T16:13:20.883Z] Step 20/25 : EXPOSE 59910 [2023-04-24T16:13:20.883Z] ---> Running in 6241c6776b42 [2023-04-24T16:13:21.152Z] Removing intermediate container 6241c6776b42 [2023-04-24T16:13:21.152Z] ---> 185ac0f9c2e1 [2023-04-24T16:13:21.152Z] Step 21/25 : ENTRYPOINT ["/device-gpio"] [2023-04-24T16:13:21.152Z] ---> Running in e10235a92256 [2023-04-24T16:13:21.418Z] Removing intermediate container e10235a92256 [2023-04-24T16:13:21.418Z] ---> cdf2191f241c [2023-04-24T16:13:21.418Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-24T16:13:21.418Z] ---> Running in a2c01496e18d [2023-04-24T16:13:21.688Z] Removing intermediate container a2c01496e18d [2023-04-24T16:13:21.688Z] ---> ee259b54dfd2 [2023-04-24T16:13:21.688Z] Step 23/25 : LABEL arch=arm64 [2023-04-24T16:13:21.956Z] ---> Running in 06a576d504a9 [2023-04-24T16:13:22.224Z] Removing intermediate container 06a576d504a9 [2023-04-24T16:13:22.224Z] ---> fbb3504cd137 [2023-04-24T16:13:22.224Z] Step 24/25 : LABEL git_sha=5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:13:22.224Z] ---> Running in 2e594a9916d9 [2023-04-24T16:13:22.492Z] Removing intermediate container 2e594a9916d9 [2023-04-24T16:13:22.492Z] ---> b9aad37e1e3e [2023-04-24T16:13:22.492Z] Step 25/25 : LABEL version=3.0.0-dev.21 [2023-04-24T16:13:22.492Z] ---> Running in 20e9b923fa3f [2023-04-24T16:13:23.088Z] Removing intermediate container 20e9b923fa3f [2023-04-24T16:13:23.088Z] ---> 796e030c09b5 [2023-04-24T16:13:23.088Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T16:13:23.088Z] Successfully built 796e030c09b5 [2023-04-24T16:13:23.088Z] 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-24T16:13:23.207Z] provisioning config files... [2023-04-24T16:13:23.222Z] copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/75@tmp/config125899256572754520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:13:23.567Z] ---> docker-login.sh [2023-04-24T16:13:23.567Z] nexus3.edgexfoundry.org:10001 [2023-04-24T16:13:23.567Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:13:23.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:13:23.834Z] Configure a credential helper to remove this warning. See [2023-04-24T16:13:23.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:13:23.834Z] [2023-04-24T16:13:23.834Z] Login Succeeded [2023-04-24T16:13:23.834Z] nexus3.edgexfoundry.org:10002 [2023-04-24T16:13:24.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:13:24.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:13:24.102Z] Configure a credential helper to remove this warning. See [2023-04-24T16:13:24.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:13:24.102Z] [2023-04-24T16:13:24.102Z] Login Succeeded [2023-04-24T16:13:24.103Z] nexus3.edgexfoundry.org:10003 [2023-04-24T16:13:24.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:13:24.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:13:24.644Z] Configure a credential helper to remove this warning. See [2023-04-24T16:13:24.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:13:24.644Z] [2023-04-24T16:13:24.644Z] Login Succeeded [2023-04-24T16:13:24.644Z] nexus3.edgexfoundry.org:10004 [2023-04-24T16:13:24.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:13:24.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:13:24.913Z] Configure a credential helper to remove this warning. See [2023-04-24T16:13:24.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:13:24.913Z] [2023-04-24T16:13:24.913Z] Login Succeeded [2023-04-24T16:13:24.913Z] docker.io [2023-04-24T16:13:25.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T16:13:25.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T16:13:25.450Z] Configure a credential helper to remove this warning. See [2023-04-24T16:13:25.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T16:13:25.450Z] [2023-04-24T16:13:25.450Z] Login Succeeded [2023-04-24T16:13:25.450Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T16:13:25.464Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:13:25.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T16:13:25.527Z] [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: [2023-04-24T16:13:25.527Z] 5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:13:25.527Z] latest [2023-04-24T16:13:25.527Z] 3.0.0-dev.21 [2023-04-24T16:13:25.527Z] 5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:13:25.527Z] main [2023-04-24T16:13:25.527Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:25.878Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:26.220Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:13:26.220Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-24T16:13:26.220Z] 01fa9b7fa43f: Preparing [2023-04-24T16:13:26.220Z] 74c42b663e24: Preparing [2023-04-24T16:13:26.220Z] e426c2f210ea: Preparing [2023-04-24T16:13:26.220Z] e6ada64ffd88: Preparing [2023-04-24T16:13:26.220Z] 26cbea5cba74: Preparing [2023-04-24T16:13:26.220Z] 26cbea5cba74: Layer already exists [2023-04-24T16:13:26.487Z] 74c42b663e24: Pushed [2023-04-24T16:13:26.487Z] e6ada64ffd88: Pushed [2023-04-24T16:13:26.487Z] e426c2f210ea: Pushed [2023-04-24T16:13:31.985Z] 01fa9b7fa43f: Pushed [2023-04-24T16:13:31.985Z] 5b9829103c2079071eaf01e57caf9b47463cebaa: digest: sha256:68ce8395c0a52ddf0fe55f74407d6dd3a55ec4841eaca5ce46e587e0c7e37833 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:32.360Z] + 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-24T16:13:32.711Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-24T16:13:32.711Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-24T16:13:32.711Z] 01fa9b7fa43f: Preparing [2023-04-24T16:13:32.711Z] 74c42b663e24: Preparing [2023-04-24T16:13:32.711Z] e426c2f210ea: Preparing [2023-04-24T16:13:32.711Z] e6ada64ffd88: Preparing [2023-04-24T16:13:32.711Z] 26cbea5cba74: Preparing [2023-04-24T16:13:32.711Z] 74c42b663e24: Layer already exists [2023-04-24T16:13:32.711Z] 26cbea5cba74: Layer already exists [2023-04-24T16:13:32.711Z] 01fa9b7fa43f: Layer already exists [2023-04-24T16:13:32.711Z] e426c2f210ea: Layer already exists [2023-04-24T16:13:32.711Z] e6ada64ffd88: Layer already exists [2023-04-24T16:13:32.711Z] latest: digest: sha256:68ce8395c0a52ddf0fe55f74407d6dd3a55ec4841eaca5ce46e587e0c7e37833 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:33.331Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:33.670Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.21 [2023-04-24T16:13:33.671Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-24T16:13:33.671Z] 01fa9b7fa43f: Preparing [2023-04-24T16:13:33.671Z] 74c42b663e24: Preparing [2023-04-24T16:13:33.671Z] e426c2f210ea: Preparing [2023-04-24T16:13:33.671Z] e6ada64ffd88: Preparing [2023-04-24T16:13:33.671Z] 26cbea5cba74: Preparing [2023-04-24T16:13:33.671Z] 01fa9b7fa43f: Layer already exists [2023-04-24T16:13:33.671Z] 26cbea5cba74: Layer already exists [2023-04-24T16:13:33.671Z] 74c42b663e24: Layer already exists [2023-04-24T16:13:33.671Z] e6ada64ffd88: Layer already exists [2023-04-24T16:13:33.671Z] e426c2f210ea: Layer already exists [2023-04-24T16:13:33.671Z] 3.0.0-dev.21: digest: sha256:68ce8395c0a52ddf0fe55f74407d6dd3a55ec4841eaca5ce46e587e0c7e37833 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:34.026Z] + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:34.378Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:13:34.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-24T16:13:34.378Z] 01fa9b7fa43f: Preparing [2023-04-24T16:13:34.378Z] 74c42b663e24: Preparing [2023-04-24T16:13:34.378Z] e426c2f210ea: Preparing [2023-04-24T16:13:34.378Z] e6ada64ffd88: Preparing [2023-04-24T16:13:34.378Z] 26cbea5cba74: Preparing [2023-04-24T16:13:34.378Z] e426c2f210ea: Layer already exists [2023-04-24T16:13:34.378Z] 74c42b663e24: Layer already exists [2023-04-24T16:13:34.378Z] e6ada64ffd88: Layer already exists [2023-04-24T16:13:34.378Z] 01fa9b7fa43f: Layer already exists [2023-04-24T16:13:34.378Z] 26cbea5cba74: Layer already exists [2023-04-24T16:13:34.378Z] 5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21: digest: sha256:68ce8395c0a52ddf0fe55f74407d6dd3a55ec4841eaca5ce46e587e0c7e37833 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:34.998Z] + 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-24T16:13:35.341Z] + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [2023-04-24T16:13:35.341Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] [2023-04-24T16:13:35.341Z] 01fa9b7fa43f: Preparing [2023-04-24T16:13:35.341Z] 74c42b663e24: Preparing [2023-04-24T16:13:35.341Z] e426c2f210ea: Preparing [2023-04-24T16:13:35.341Z] e6ada64ffd88: Preparing [2023-04-24T16:13:35.341Z] 26cbea5cba74: Preparing [2023-04-24T16:13:35.341Z] e6ada64ffd88: Layer already exists [2023-04-24T16:13:35.341Z] 74c42b663e24: Layer already exists [2023-04-24T16:13:35.341Z] 26cbea5cba74: Layer already exists [2023-04-24T16:13:35.341Z] 01fa9b7fa43f: Layer already exists [2023-04-24T16:13:35.341Z] e426c2f210ea: Layer already exists [2023-04-24T16:13:35.610Z] main: digest: sha256:68ce8395c0a52ddf0fe55f74407d6dd3a55ec4841eaca5ce46e587e0c7e37833 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-04-24T16:13:35.676Z] ===================================================== [Pipeline] echo [2023-04-24T16:13:35.689Z] taggedImages: [2023-04-24T16:13:35.689Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa [2023-04-24T16:13:35.689Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [2023-04-24T16:13:35.689Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.0.0-dev.21 [2023-04-24T16:13:35.689Z] - nexus3.edgexfoundry.org:10004/device-gpio-arm64:5b9829103c2079071eaf01e57caf9b47463cebaa-3.0.0-dev.21 [2023-04-24T16:13:35.689Z] - 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-24T16:13:36.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:13:36.067Z] [2023-04-24T16:13:36.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:13:36.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:13:36.404Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T16:13:36.404Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T16:13:36.404Z] 04944245beec: Pulling fs layer [2023-04-24T16:13:36.404Z] 699f458cf7ca: Pulling fs layer [2023-04-24T16:13:36.405Z] 765212b225bb: Pulling fs layer [2023-04-24T16:13:36.405Z] f23df028b6ca: Pulling fs layer [2023-04-24T16:13:36.405Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T16:13:36.405Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T16:13:36.405Z] 765212b225bb: Waiting [2023-04-24T16:13:36.405Z] f23df028b6ca: Waiting [2023-04-24T16:13:36.405Z] d65c8cfc05b1: Waiting [2023-04-24T16:13:36.672Z] 04944245beec: Verifying Checksum [2023-04-24T16:13:36.672Z] 04944245beec: Download complete [2023-04-24T16:13:36.672Z] 765212b225bb: Verifying Checksum [2023-04-24T16:13:36.672Z] 765212b225bb: Download complete [2023-04-24T16:13:36.672Z] f23df028b6ca: Verifying Checksum [2023-04-24T16:13:36.672Z] f23df028b6ca: Download complete [2023-04-24T16:13:36.672Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T16:13:36.672Z] d65c8cfc05b1: Download complete [2023-04-24T16:13:36.940Z] 699f458cf7ca: Verifying Checksum [2023-04-24T16:13:36.940Z] 699f458cf7ca: Download complete [2023-04-24T16:13:37.210Z] 8998bd30e6a1: Download complete [2023-04-24T16:13:39.148Z] 2437ff75d9bd: Download complete [2023-04-24T16:13:41.085Z] 8998bd30e6a1: Pull complete [2023-04-24T16:13:41.352Z] 04944245beec: Pull complete [2023-04-24T16:13:45.609Z] 699f458cf7ca: Pull complete [2023-04-24T16:13:45.875Z] 765212b225bb: Pull complete [2023-04-24T16:13:46.458Z] f23df028b6ca: Pull complete [2023-04-24T16:13:46.725Z] d65c8cfc05b1: Pull complete [2023-04-24T16:13:59.019Z] 2437ff75d9bd: Pull complete [2023-04-24T16:13:59.019Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T16:13:59.019Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T16:13:59.019Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:13:59.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-9547 does not seem to be running inside a container [2023-04-24T16:13:59.252Z] $ 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/75 -v /w/workspace/device-gpio/75:/w/workspace/device-gpio/75:rw,z -v /w/workspace/device-gpio/75@tmp:/w/workspace/device-gpio/75@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-24T16:14:01.577Z] $ docker top c80a38fa76a6c6d5934aab0612defe4b61be922d66ac1ec19db6232ce06dd5eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:14:02.075Z] ---> job-cost.sh [2023-04-24T16:14:02.340Z] lf-activate-venv: SKIPPING [2023-04-24T16:14:02.340Z] INFO: No Stack... [2023-04-24T16:14:02.921Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T16:14:03.503Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T16:14:03.818Z] + cat /w/workspace/device-gpio/75/archives/cost.csv [2023-04-24T16:14:03.818Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T16:14:03.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [2023-04-24T16:14:03.881Z] Resource [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] did not exist. Created. [2023-04-24T16:14:03.881Z] Lock acquired on [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T16:14:04.222Z] /w/workspace/device-gpio/75@tmp/durable-96279ae0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T16:14:04.543Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T16:14:04.564Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T16:14:04.605Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T16:14:04.616Z] Lock released on resource [jenkins-edgexfoundry-device-gpio-main-75-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T16:14:04.632Z] $ docker stop --time=1 c80a38fa76a6c6d5934aab0612defe4b61be922d66ac1ec19db6232ce06dd5eb [2023-04-24T16:14:06.073Z] $ docker rm -f --volumes c80a38fa76a6c6d5934aab0612defe4b61be922d66ac1ec19db6232ce06dd5eb [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-24T16:14:06.437Z] provisioning config files... [2023-04-24T16:14:06.444Z] copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9300850553928205039tmp [Pipeline] { [Pipeline] sh [2023-04-24T16:14:06.736Z] + set +x [2023-04-24T16:14:06.736Z] + + curl -s https://codecov.io/bash [2023-04-24T16:14:06.736Z] bash -s -- [2023-04-24T16:14:06.736Z] [2023-04-24T16:14:06.736Z] _____ _ [2023-04-24T16:14:06.736Z] / ____| | | [2023-04-24T16:14:06.736Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T16:14:06.736Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T16:14:06.736Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T16:14:06.736Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T16:14:06.736Z] Bash-1.0.6 [2023-04-24T16:14:06.736Z] [2023-04-24T16:14:06.736Z] [2023-04-24T16:14:06.736Z] ==> git version 2.25.1 found [2023-04-24T16:14:06.736Z] ==> 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-24T16:14:06.736Z] Release-Date: 2020-01-08 [2023-04-24T16:14:06.736Z] 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-24T16:14:06.736Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T16:14:06.736Z] ==> Jenkins CI detected. [2023-04-24T16:14:06.736Z] current dir:  /w/workspace/edgexfoundry_device-gpio_main [2023-04-24T16:14:06.736Z] project root: . [2023-04-24T16:14:06.736Z] --> token set from env [2023-04-24T16:14:06.736Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T16:14:06.736Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T16:14:06.736Z] ==> Python coveragepy not found [2023-04-24T16:14:06.736Z] ==> Searching for coverage reports in: [2023-04-24T16:14:06.736Z] + . [2023-04-24T16:14:06.736Z] -> Found 1 reports [2023-04-24T16:14:06.736Z] ==> Detecting git/mercurial file structure [2023-04-24T16:14:06.736Z] ==> Reading reports [2023-04-24T16:14:06.736Z] + ./coverage.out bytes=10 [2023-04-24T16:14:06.736Z] ==> Appending adjustments [2023-04-24T16:14:06.736Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T16:14:06.997Z] + Found adjustments [2023-04-24T16:14:06.997Z] ==> Gzipping contents [2023-04-24T16:14:06.997Z] 4.0K /tmp/codecov.XhCgvw.gz [2023-04-24T16:14:06.997Z] ==> Uploading reports [2023-04-24T16:14:06.997Z] url: https://codecov.io [2023-04-24T16:14:06.997Z] query: branch=main&commit=5b9829103c2079071eaf01e57caf9b47463cebaa&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T16:14:06.997Z] -> Pinging Codecov [2023-04-24T16:14:06.997Z] 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=5b9829103c2079071eaf01e57caf9b47463cebaa&build=75&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F75%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= [2023-04-24T16:14:06.997Z] -> Uploading to [2023-04-24T16:14:06.997Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/3EC07B1A8CA8AF9BCAA0BB9F0134797F/5b9829103c2079071eaf01e57caf9b47463cebaa/4ca3288e-18a6-45e2-af8a-807345dc4d5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T161406Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fb1f58b2750330acc53970b6555e88999f80f2fddbca0563e6a8f24bf869f6c [2023-04-24T16:14:06.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T16:14:06.997Z] Dload Upload Total Spent Left Speed [2023-04-24T16:14:07.257Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3431 --:--:-- --:--:-- --:--:-- 3447 [2023-04-24T16:14:07.257Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] } [2023-04-24T16:14:07.263Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-04-24T16:14:07.361Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-04-24T16:14:07.373Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:07.673Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:14:07.673Z] [2023-04-24T16:14:07.673Z] 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-24T16:14:07.975Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:14:07.975Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-04-24T16:14:07.975Z] df9b9388f04a: Pulling fs layer [2023-04-24T16:14:07.975Z] 52dc419b0ee2: Pulling fs layer [2023-04-24T16:14:07.975Z] 25bc292e5bac: Pulling fs layer [2023-04-24T16:14:07.975Z] 114826534d7a: Pulling fs layer [2023-04-24T16:14:07.975Z] 4657fd5d0bcf: Pulling fs layer [2023-04-24T16:14:07.975Z] 6ad1cebc031e: Pulling fs layer [2023-04-24T16:14:07.975Z] 8a3aa393b2d8: Pulling fs layer [2023-04-24T16:14:07.975Z] 114826534d7a: Waiting [2023-04-24T16:14:07.975Z] 4657fd5d0bcf: Waiting [2023-04-24T16:14:07.975Z] 6ad1cebc031e: Waiting [2023-04-24T16:14:07.975Z] 8a3aa393b2d8: Waiting [2023-04-24T16:14:07.975Z] 25bc292e5bac: Download complete [2023-04-24T16:14:07.975Z] 52dc419b0ee2: Verifying Checksum [2023-04-24T16:14:07.975Z] 52dc419b0ee2: Download complete [2023-04-24T16:14:07.975Z] 4657fd5d0bcf: Verifying Checksum [2023-04-24T16:14:07.975Z] 4657fd5d0bcf: Download complete [2023-04-24T16:14:07.975Z] df9b9388f04a: Download complete [2023-04-24T16:14:08.236Z] 6ad1cebc031e: Verifying Checksum [2023-04-24T16:14:08.236Z] 6ad1cebc031e: Download complete [2023-04-24T16:14:08.236Z] df9b9388f04a: Pull complete [2023-04-24T16:14:08.236Z] 52dc419b0ee2: Pull complete [2023-04-24T16:14:08.236Z] 25bc292e5bac: Pull complete [2023-04-24T16:14:08.800Z] 114826534d7a: Verifying Checksum [2023-04-24T16:14:08.801Z] 114826534d7a: Download complete [2023-04-24T16:14:08.801Z] 8a3aa393b2d8: Verifying Checksum [2023-04-24T16:14:08.801Z] 8a3aa393b2d8: Download complete [2023-04-24T16:14:12.077Z] 114826534d7a: Pull complete [2023-04-24T16:14:12.077Z] 4657fd5d0bcf: Pull complete [2023-04-24T16:14:12.077Z] 6ad1cebc031e: Pull complete [2023-04-24T16:14:14.609Z] 8a3aa393b2d8: Pull complete [2023-04-24T16:14:14.609Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-04-24T16:14:14.609Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-04-24T16:14:14.609Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:14:14.688Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:14:14.725Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-04-24T16:14:19.309Z] $ docker top 744c4a74627e66b654dcc21adcda9175a236e4b8fd2cf9abbef3f4474c20f240 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-04-24T16:14:19.369Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh [2023-04-24T16:14:19.648Z] + set -o pipefail [2023-04-24T16:14:19.648Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/55320860-6a73-4cb4-b9c4-500afacfc45f [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] [2023-04-24T16:14:23.835Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-04-24T16:14:23.835Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-04-24T16:14:23.835Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-04-24T16:14:23.845Z] $ docker stop --time=1 744c4a74627e66b654dcc21adcda9175a236e4b8fd2cf9abbef3f4474c20f240 [2023-04-24T16:14:27.068Z] $ docker rm -f --volumes 744c4a74627e66b654dcc21adcda9175a236e4b8fd2cf9abbef3f4474c20f240 [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-24T16:14:27.759Z] + git log --format=format:%s -1 5b9829103c2079071eaf01e57caf9b47463cebaa [Pipeline] sh [2023-04-24T16:14:28.047Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:14:28.047Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:28.351Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:14:28.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:14:28.430Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:14:28.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:14:28.878Z] $ docker top 5d23015ff44189625dab8ac0f8dc06d542b3dad5a77dcf32e9a4a5d19cd81084 -eo pid,comm [2023-04-24T16:14:28.924Z] 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-24T16:14:28.924Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:14:28.961Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:14:28.961Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:14:29.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:14:29.080Z] $ docker exec 5d23015ff44189625dab8ac0f8dc06d542b3dad5a77dcf32e9a4a5d19cd81084 ssh-agent [2023-04-24T16:14:29.203Z] SSH_AUTH_SOCK=/tmp/ssh-P2GNk5A7ozul/agent.32 [2023-04-24T16:14:29.203Z] SSH_AGENT_PID=38 [2023-04-24T16:14:29.208Z] Running ssh-add (command line suppressed) [2023-04-24T16:14:29.308Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3358367359420883066.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_3358367359420883066.key) [2023-04-24T16:14:29.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:14:29.609Z] + git semver tag [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,784 [run_tag] DEBUG tag force:False [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,784 [check_head_tag] DEBUG check head tag [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,785 [execute] INFO git cat-file --batch-check [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,785 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,788 [execute] INFO git cat-file --batch [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,803 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,803 [execute] INFO git tag -a v3.0.0-dev.21 -m v3.0.0-dev.21 [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,803 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.21', '-m', 'v3.0.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:14:29.868Z] 2023-04-24 16:14:29,808 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:29.868Z] 3.0.0-dev.21 [Pipeline] } [2023-04-24T16:14:29.875Z] $ docker exec --env ******** --env ******** 5d23015ff44189625dab8ac0f8dc06d542b3dad5a77dcf32e9a4a5d19cd81084 ssh-agent -k [2023-04-24T16:14:29.970Z] unset SSH_AUTH_SOCK; [2023-04-24T16:14:29.970Z] unset SSH_AGENT_PID; [2023-04-24T16:14:29.970Z] echo Agent pid 38 killed; [2023-04-24T16:14:29.983Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:14:30.289Z] + git semver [Pipeline] } [2023-04-24T16:14:30.558Z] $ docker stop --time=1 5d23015ff44189625dab8ac0f8dc06d542b3dad5a77dcf32e9a4a5d19cd81084 [2023-04-24T16:14:31.823Z] $ docker rm -f --volumes 5d23015ff44189625dab8ac0f8dc06d542b3dad5a77dcf32e9a4a5d19cd81084 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:32.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:14:32.213Z] [2023-04-24T16:14:32.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:32.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:14:32.513Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-04-24T16:14:32.513Z] ab5ef0e58194: Pulling fs layer [2023-04-24T16:14:32.513Z] 9712f1f96733: Pulling fs layer [2023-04-24T16:14:32.513Z] 63f879dbbcfc: Pulling fs layer [2023-04-24T16:14:32.513Z] 0d9ebad4ef96: Pulling fs layer [2023-04-24T16:14:32.513Z] e9a5061849ea: Pulling fs layer [2023-04-24T16:14:32.513Z] d747dcd14b5f: Pulling fs layer [2023-04-24T16:14:32.513Z] 2de7ff778b66: Pulling fs layer [2023-04-24T16:14:32.513Z] 0d9ebad4ef96: Waiting [2023-04-24T16:14:32.513Z] e9a5061849ea: Waiting [2023-04-24T16:14:32.513Z] d747dcd14b5f: Waiting [2023-04-24T16:14:32.513Z] 2de7ff778b66: Waiting [2023-04-24T16:14:32.773Z] 63f879dbbcfc: Verifying Checksum [2023-04-24T16:14:32.773Z] 63f879dbbcfc: Download complete [2023-04-24T16:14:33.032Z] e9a5061849ea: Verifying Checksum [2023-04-24T16:14:33.032Z] e9a5061849ea: Download complete [2023-04-24T16:14:33.032Z] d747dcd14b5f: Download complete [2023-04-24T16:14:33.032Z] ab5ef0e58194: Verifying Checksum [2023-04-24T16:14:33.032Z] ab5ef0e58194: Download complete [2023-04-24T16:14:33.032Z] 0d9ebad4ef96: Verifying Checksum [2023-04-24T16:14:33.032Z] 0d9ebad4ef96: Download complete [2023-04-24T16:14:33.032Z] 2de7ff778b66: Verifying Checksum [2023-04-24T16:14:33.032Z] 2de7ff778b66: Download complete [2023-04-24T16:14:35.560Z] ab5ef0e58194: Pull complete [2023-04-24T16:14:35.560Z] 9712f1f96733: Pull complete [2023-04-24T16:14:36.492Z] 63f879dbbcfc: Pull complete [2023-04-24T16:14:39.773Z] 0d9ebad4ef96: Pull complete [2023-04-24T16:14:39.773Z] e9a5061849ea: Pull complete [2023-04-24T16:14:40.031Z] d747dcd14b5f: Pull complete [2023-04-24T16:14:40.966Z] 2de7ff778b66: Pull complete [2023-04-24T16:14:40.966Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-04-24T16:14:40.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-04-24T16:14:40.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:14:41.045Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:14:41.070Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-04-24T16:14:46.077Z] $ docker top f59493fba27cc2fb856c2d1733273efde04551c9db172448fffc3c8186032397 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:14:46.150Z] provisioning config files... [2023-04-24T16:14:46.156Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config17224572632691270386tmp [2023-04-24T16:14:46.166Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16337021986246214037tmp [2023-04-24T16:14:46.173Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config677914530467280231tmp [Pipeline] { [Pipeline] echo [2023-04-24T16:14:46.188Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:14:46.471Z] ---> sigul-configuration.sh [2023-04-24T16:14:46.472Z] gpg: directory `/root/.gnupg' created [2023-04-24T16:14:46.472Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-04-24T16:14:46.472Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-04-24T16:14:46.472Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-04-24T16:14:46.472Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-04-24T16:14:46.472Z] gpg: CAST5 encrypted data [2023-04-24T16:14:46.472Z] gpg: encrypted with 1 passphrase [2023-04-24T16:14:46.472Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-04-24T16:14:46.757Z] + mkdir /home/jenkins [2023-04-24T16:14:46.758Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-04-24T16:14:47.040Z] + 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-24T16:14:47.048Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:14:47.334Z] ---> sigul-install.sh [2023-04-24T16:14:47.334Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-04-24T16:14:47.618Z] + git tag --list [2023-04-24T16:14:47.618Z] v1.0.0 [2023-04-24T16:14:47.618Z] v2.1.0 [2023-04-24T16:14:47.618Z] v2.1.1 [2023-04-24T16:14:47.618Z] v2.1.1-dev.1 [2023-04-24T16:14:47.618Z] v2.2.0 [2023-04-24T16:14:47.618Z] v2.2.1-dev.1 [2023-04-24T16:14:47.618Z] v2.2.1-dev.2 [2023-04-24T16:14:47.618Z] v2.2.1-dev.3 [2023-04-24T16:14:47.618Z] v2.2.1-dev.4 [2023-04-24T16:14:47.618Z] v2.3.0 [2023-04-24T16:14:47.618Z] v2.3.0-dev.10 [2023-04-24T16:14:47.618Z] v2.3.0-dev.11 [2023-04-24T16:14:47.618Z] v2.3.0-dev.12 [2023-04-24T16:14:47.618Z] v2.3.0-dev.13 [2023-04-24T16:14:47.618Z] v2.3.0-dev.14 [2023-04-24T16:14:47.618Z] v2.3.0-dev.15 [2023-04-24T16:14:47.618Z] v2.3.0-dev.16 [2023-04-24T16:14:47.618Z] v2.3.0-dev.17 [2023-04-24T16:14:47.618Z] v2.3.0-dev.18 [2023-04-24T16:14:47.618Z] v2.3.0-dev.19 [2023-04-24T16:14:47.618Z] v2.3.0-dev.20 [2023-04-24T16:14:47.618Z] v2.3.0-dev.4 [2023-04-24T16:14:47.618Z] v2.3.0-dev.5 [2023-04-24T16:14:47.618Z] v2.3.0-dev.6 [2023-04-24T16:14:47.618Z] v2.3.0-dev.7 [2023-04-24T16:14:47.618Z] v2.3.0-dev.8 [2023-04-24T16:14:47.618Z] v2.3.0-dev.9 [2023-04-24T16:14:47.618Z] v3.0.0-dev.1 [2023-04-24T16:14:47.618Z] v3.0.0-dev.10 [2023-04-24T16:14:47.618Z] v3.0.0-dev.11 [2023-04-24T16:14:47.618Z] v3.0.0-dev.12 [2023-04-24T16:14:47.618Z] v3.0.0-dev.13 [2023-04-24T16:14:47.618Z] v3.0.0-dev.14 [2023-04-24T16:14:47.618Z] v3.0.0-dev.15 [2023-04-24T16:14:47.618Z] v3.0.0-dev.16 [2023-04-24T16:14:47.618Z] v3.0.0-dev.17 [2023-04-24T16:14:47.618Z] v3.0.0-dev.18 [2023-04-24T16:14:47.618Z] v3.0.0-dev.19 [2023-04-24T16:14:47.618Z] v3.0.0-dev.2 [2023-04-24T16:14:47.618Z] v3.0.0-dev.20 [2023-04-24T16:14:47.618Z] v3.0.0-dev.21 [2023-04-24T16:14:47.618Z] v3.0.0-dev.3 [2023-04-24T16:14:47.618Z] v3.0.0-dev.4 [2023-04-24T16:14:47.618Z] v3.0.0-dev.5 [2023-04-24T16:14:47.618Z] v3.0.0-dev.6 [2023-04-24T16:14:47.618Z] v3.0.0-dev.7 [2023-04-24T16:14:47.618Z] v3.0.0-dev.8 [2023-04-24T16:14:47.618Z] v3.0.0-dev.9 [Pipeline] sh [2023-04-24T16:14:47.902Z] + lftools sign git-tag v3.0.0-dev.21 [2023-04-24T16:14:48.470Z] Signing Git tag with Sigul... [2023-04-24T16:14:48.470Z] Signing v3.0.0-dev.21 [Pipeline] echo [2023-04-24T16:14:48.740Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:14:49.023Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-04-24T16:14:49.030Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-04-24T16:14:49.044Z] $ docker stop --time=1 f59493fba27cc2fb856c2d1733273efde04551c9db172448fffc3c8186032397 [2023-04-24T16:14:50.332Z] $ docker rm -f --volumes f59493fba27cc2fb856c2d1733273efde04551c9db172448fffc3c8186032397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-04-24T16:14:50.747Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:14:50.747Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:51.047Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:14:51.047Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:14:51.127Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:14:51.154Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:14:51.476Z] $ docker top c6ba1eef9e4225d77717c4083ed986a965ff88a0a9137fe1e1486029bc3af93c -eo pid,comm [2023-04-24T16:14:51.524Z] 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-24T16:14:51.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:14:51.562Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:14:51.562Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:14:51.676Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:14:51.675Z] $ docker exec c6ba1eef9e4225d77717c4083ed986a965ff88a0a9137fe1e1486029bc3af93c ssh-agent [2023-04-24T16:14:51.782Z] SSH_AUTH_SOCK=/tmp/ssh-O1JFDYDj9Hry/agent.32 [2023-04-24T16:14:51.782Z] SSH_AGENT_PID=38 [2023-04-24T16:14:51.786Z] Running ssh-add (command line suppressed) [2023-04-24T16:14:51.879Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13416370780640379502.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_13416370780640379502.key) [2023-04-24T16:14:51.899Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:14:52.188Z] + git semver bump pre [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [bump_version] DEBUG bumping version:3.0.0-dev.21 on axis:pre with prefix:dev [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [bump_version] DEBUG bumped version:3.0.0-dev.22 [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [write_version] DEBUG write version:3.0.0-dev.22 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,370 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,373 [execute] INFO git cat-file --batch-check [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,378 [execute] INFO git cat-file --batch [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:14:52.447Z] 2023-04-24 16:14:52,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:52.447Z] 3.0.0-dev.22 [Pipeline] } [2023-04-24T16:14:52.453Z] $ docker exec --env ******** --env ******** c6ba1eef9e4225d77717c4083ed986a965ff88a0a9137fe1e1486029bc3af93c ssh-agent -k [2023-04-24T16:14:52.542Z] unset SSH_AUTH_SOCK; [2023-04-24T16:14:52.542Z] unset SSH_AGENT_PID; [2023-04-24T16:14:52.542Z] echo Agent pid 38 killed; [2023-04-24T16:14:52.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:14:52.860Z] + git semver [Pipeline] } [2023-04-24T16:14:53.129Z] $ docker stop --time=1 c6ba1eef9e4225d77717c4083ed986a965ff88a0a9137fe1e1486029bc3af93c [2023-04-24T16:14:54.377Z] $ docker rm -f --volumes c6ba1eef9e4225d77717c4083ed986a965ff88a0a9137fe1e1486029bc3af93c [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T16:14:54.718Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T16:14:54.719Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:14:55.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T16:14:55.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:14:55.089Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:14:55.116Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T16:14:55.439Z] $ docker top 72b0c03875fc7186db4ff00ec8293e9abb32c2be637cf735e7ee3295d57fb3d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T16:14:55.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T16:14:55.527Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T16:14:55.638Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T16:14:55.638Z] $ docker exec 72b0c03875fc7186db4ff00ec8293e9abb32c2be637cf735e7ee3295d57fb3d4 ssh-agent [2023-04-24T16:14:55.746Z] SSH_AUTH_SOCK=/tmp/ssh-SC3FbyZiVpwz/agent.32 [2023-04-24T16:14:55.746Z] SSH_AGENT_PID=38 [2023-04-24T16:14:55.751Z] Running ssh-add (command line suppressed) [2023-04-24T16:14:55.839Z] Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16853831877104377276.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16853831877104377276.key) [2023-04-24T16:14:55.856Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T16:14:56.140Z] + git semver push [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,313 [run_push] DEBUG push [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,314 [execute] INFO git cat-file --batch-check [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,318 [execute] INFO git rev-list 67226de1258751f9d065a4dce1a0c12cd6d8cf60 -- [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,318 [execute] DEBUG Popen(['git', 'rev-list', '67226de1258751f9d065a4dce1a0c12cd6d8cf60', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,325 [execute] INFO git fetch -v origin [2023-04-24T16:14:56.399Z] 2023-04-24 16:14:56,325 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-04-24T16:14:56.969Z] 2023-04-24 16:14:56,821 [run_push] DEBUG no remote changes detected [2023-04-24T16:14:56.969Z] 2023-04-24 16:14:56,822 [execute] INFO git push origin semver [2023-04-24T16:14:56.969Z] 2023-04-24 16:14:56,822 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-04-24T16:14:57.907Z] 2023-04-24 16:14:57,606 [run_push] DEBUG push all version tags [2023-04-24T16:14:57.907Z] 2023-04-24 16:14:57,606 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-04-24T16:14:57.907Z] 2023-04-24 16:14:57,607 [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-24T16:14:58.850Z] 2023-04-24 16:14:58,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main [2023-04-24T16:14:58.851Z] 3.0.0-dev.22 [Pipeline] } [2023-04-24T16:14:58.856Z] $ docker exec --env ******** --env ******** 72b0c03875fc7186db4ff00ec8293e9abb32c2be637cf735e7ee3295d57fb3d4 ssh-agent -k [2023-04-24T16:14:58.960Z] unset SSH_AUTH_SOCK; [2023-04-24T16:14:58.960Z] unset SSH_AGENT_PID; [2023-04-24T16:14:58.960Z] echo Agent pid 38 killed; [2023-04-24T16:14:58.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T16:14:59.286Z] + git semver [Pipeline] } [2023-04-24T16:14:59.557Z] $ docker stop --time=1 72b0c03875fc7186db4ff00ec8293e9abb32c2be637cf735e7ee3295d57fb3d4 [2023-04-24T16:15:00.833Z] $ docker rm -f --volumes 72b0c03875fc7186db4ff00ec8293e9abb32c2be637cf735e7ee3295d57fb3d4 [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-24T16:15:01.379Z] + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] [2023-04-24T16:15:01.379Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-24T16:15:01.379Z] total 16 [2023-04-24T16:15:01.379Z] drwxr-xr-x 3 root root 4096 Apr 24 16:03 . [2023-04-24T16:15:01.379Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 16:14 .. [2023-04-24T16:15:01.379Z] drwxr-xr-x 2 root root 4096 Apr 24 16:03 cost [2023-04-24T16:15:01.379Z] -rw-r--r-- 1 root root 82 Apr 24 16:03 cost.csv [2023-04-24T16:15:01.379Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-24T16:15:01.379Z] + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives [2023-04-24T16:15:01.379Z] total 16 [2023-04-24T16:15:01.379Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 16:03 . [2023-04-24T16:15:01.379Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 16:14 .. [2023-04-24T16:15:01.379Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 16:03 cost [2023-04-24T16:15:01.379Z] -rw-r--r-- 1 jenkins jenkins 82 Apr 24 16:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:01.674Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:02.584Z] ---> package-listing.sh [2023-04-24T16:15:02.584Z] ++ facter osfamily [2023-04-24T16:15:02.584Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T16:15:02.844Z] + OS_FAMILY=debian [2023-04-24T16:15:02.844Z] + workspace=/w/workspace/edgexfoundry_device-gpio_main [2023-04-24T16:15:02.844Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T16:15:02.844Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T16:15:02.844Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T16:15:02.844Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T16:15:02.844Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-24T16:15:02.844Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T16:15:02.844Z] + case "${OS_FAMILY}" in [2023-04-24T16:15:02.844Z] + dpkg -l [2023-04-24T16:15:02.844Z] + grep '^ii' [2023-04-24T16:15:02.844Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T16:15:02.844Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T16:15:02.844Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T16:15:02.844Z] + '[' /w/workspace/edgexfoundry_device-gpio_main ']' [2023-04-24T16:15:02.844Z] + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ [2023-04-24T16:15:02.844Z] + 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-24T16:15:02.853Z] 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-24T16:15:03.128Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T16:15:03.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T16:15:03.686Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T16:15:03.759Z] prd-ubuntu20.04-docker-8c-8g-9544 does not seem to be running inside a container [2023-04-24T16:15:03.808Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-24T16:15:04.016Z] $ docker top de799959f8aa64752f2fab7b026e1bf103be9fb9382c3c55f8477fa26211b3ed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T16:15:04.392Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T16:15:04.706Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T16:15:05.014Z] + ls /var/log/sa-host [2023-04-24T16:15:05.014Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T16:15:05.082Z] provisioning config files... [2023-04-24T16:15:05.089Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10638943617962360694tmp [Pipeline] { [Pipeline] echo [2023-04-24T16:15:05.100Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:05.383Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T16:15:05.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:05.725Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T16:15:05.734Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:06.017Z] ---> sudo-logs.sh [2023-04-24T16:15:06.017Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T16:15:06.050Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:06.333Z] ---> job-cost.sh [2023-04-24T16:15:06.333Z] lf-activate-venv: SKIPPING [2023-04-24T16:15:06.333Z] DEBUG: total: 0.2199999988079071 [2023-04-24T16:15:06.333Z] INFO: Retrieving Stack Cost... [2023-04-24T16:15:06.901Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T16:15:07.160Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T16:15:07.173Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T16:15:07.464Z] ---> logs-deploy.sh [2023-04-24T16:15:07.464Z] lf-activate-venv: SKIPPING [2023-04-24T16:15:07.464Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/75 [2023-04-24T16:15:07.464Z] INFO: archiving workspace using pattern(s): [2023-04-24T16:15:08.400Z] Archives upload complete. [2023-04-24T16:15:08.400Z] INFO: archiving logs to Nexus