Started by upstream project "edgexfoundry/cd-management/release-lts" build number 100 originally caused by: Started by user Cloud Tsai Replayed #97 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 999ef3d11ad738bdf74684299325b745b91d47d8 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-ssh3473561185013495215.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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-ssh5600905153275481444.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 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 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/odessa/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/odessa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10457527632536064453.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa # timeout=10 Commit message: "fix: add new goLTSImages 1.23 (#466)" > 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-ssh14648705334560228323.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/odessa/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/odessa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12666590060995770638.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.23 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 Executor slot already in use ‘prd-centos7-blackbox-4c-2g-40618’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-40619’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-41143’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-41144’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41145’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41146’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41151’ is offline ‘prd-ubuntu20.04-docker-8c-8g-41152’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41151 in /w/workspace/edgexfoundry_device-gpio_odessa [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_odessa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 999ef3d11ad738bdf74684299325b745b91d47d8 (odessa) > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 999ef3d11ad738bdf74684299325b745b91d47d8 # timeout=10 Commit message: "ci(lts-release): LTS release v4.0.0 @99341b5" > git rev-list --no-walk 999ef3d11ad738bdf74684299325b745b91d47d8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:09:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:09:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:09:42 ========================================================= 11:09:42 EdgeX Global Pipelines Version Info 11:09:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:09:43 ------------------- 11:09:43 stable info: 11:09:43 ------------------- 11:09:43 Commited By: Cherry Wang cherry@iotechsys.com 11:09:43 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 11:09:43 Message: update stable to v1.0.271 11:09:44 ------------------- 11:09:44 experimental info: 11:09:44 ------------------- 11:09:44 Commited By: **** collab-it+edgex@linuxfoundation.org 11:09:44 Commit SHA: 5f16b0674693bda8419e7356c8caa12f8ebbbe1e 11:09:44 Message: update experimental to v1.0.272 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:09:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = odessa [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = odessa [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = odessa [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 999ef3d [Pipeline] echo 11:09:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:09:45 provisioning config files... 11:09:45 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config9228953457999803065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:09:45 ---> ****-login.sh 11:09:45 nexus3.edgexfoundry.org:10001 11:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 nexus3.edgexfoundry.org:10002 11:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 nexus3.edgexfoundry.org:10003 11:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 nexus3.edgexfoundry.org:10004 11:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 ****.io 11:09:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:09:46 Configure a credential helper to remove this warning. See 11:09:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:09:46 11:09:46 Login Succeeded 11:09:46 ---> ****-login.sh ends [Pipeline] } 11:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:09:46 + git rev-list -1 --merges 999ef3d11ad738bdf74684299325b745b91d47d8~1..999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] echo 11:09:47 -----------> git rev-list -1 --merges 999ef3d11ad738bdf74684299325b745b91d47d8~1..999ef3d11ad738bdf74684299325b745b91d47d8 999ef3d11ad738bdf74684299325b745b91d47d8 [false] [Pipeline] sh 11:09:47 + git log --format=format:%s -1 999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] echo 11:09:47 ========================================================= 11:09:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 11:09:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:09:47 + git log --format=format:%s -1 999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] echo 11:09:47 [semverPrep] GIT_COMMIT: 999ef3d11ad738bdf74684299325b745b91d47d8, Commit Message: ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] echo 11:09:47 [semverPrep] This is not a build commit. [Pipeline] sh 11:09:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:09:48 + grep -v github /etc/ssh/ssh_known_hosts 11:09:48 + [ -e /tmp/ssh_known_hosts ] 11:09:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:09:48 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 11:09:48 -a /etc/ssh/ssh_known_hosts 11:09:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:48 11:09:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:09:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:48 0.1.4: Pulling from edgex-devops/py-git-semver 11:09:48 b85a868b505f: Pulling fs layer 11:09:48 e2be974225ed: Pulling fs layer 11:09:48 339a4e72a1f5: Pulling fs layer 11:09:48 988bab9f4d93: Pulling fs layer 11:09:48 1469e6f7b9e6: Pulling fs layer 11:09:48 988bab9f4d93: Waiting 11:09:48 eaf3925da568: Pulling fs layer 11:09:48 bab4dde63d76: Pulling fs layer 11:09:48 1469e6f7b9e6: Waiting 11:09:48 eaf3925da568: Waiting 11:09:48 bde34c3a00c8: Pulling fs layer 11:09:48 b352a97aabf1: Pulling fs layer 11:09:48 bab4dde63d76: Waiting 11:09:48 4872d77fe225: Pulling fs layer 11:09:48 b352a97aabf1: Waiting 11:09:48 5851b861e8e6: Pulling fs layer 11:09:48 4872d77fe225: Waiting 11:09:48 bde34c3a00c8: Waiting 11:09:48 e2be974225ed: Verifying Checksum 11:09:48 e2be974225ed: Download complete 11:09:48 988bab9f4d93: Verifying Checksum 11:09:48 988bab9f4d93: Download complete 11:09:48 1469e6f7b9e6: Verifying Checksum 11:09:48 1469e6f7b9e6: Download complete 11:09:48 eaf3925da568: Verifying Checksum 11:09:48 eaf3925da568: Download complete 11:09:48 339a4e72a1f5: Verifying Checksum 11:09:48 339a4e72a1f5: Download complete 11:09:48 bde34c3a00c8: Download complete 11:09:48 b352a97aabf1: Verifying Checksum 11:09:48 b352a97aabf1: Download complete 11:09:48 4872d77fe225: Download complete 11:09:48 5851b861e8e6: Download complete 11:09:48 b85a868b505f: Verifying Checksum 11:09:48 b85a868b505f: Download complete 11:09:49 bab4dde63d76: Verifying Checksum 11:09:49 bab4dde63d76: Download complete 11:09:50 b85a868b505f: Pull complete 11:09:50 e2be974225ed: Pull complete 11:09:50 339a4e72a1f5: Pull complete 11:09:50 988bab9f4d93: Pull complete 11:09:51 1469e6f7b9e6: Pull complete 11:09:51 eaf3925da568: Pull complete 11:09:53 bab4dde63d76: Pull complete 11:09:53 bde34c3a00c8: Pull complete 11:09:53 b352a97aabf1: Pull complete 11:09:53 4872d77fe225: Pull complete 11:09:53 5851b861e8e6: Pull complete 11:09:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:09:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:09:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:09:53 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:09:56 $ docker top c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 -eo pid,comm 11:09:56 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). 11:09:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:56 [ssh-agent] Looking for ssh-agent implementation... 11:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:56 $ docker exec c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 ssh-agent 11:09:56 SSH_AUTH_SOCK=/tmp/ssh-CDLV8jbgDdxJ/agent.33 11:09:56 SSH_AGENT_PID=39 11:09:56 Running ssh-add (command line suppressed) 11:09:56 Identity added: /w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_11205679396280481106.key (/w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_11205679396280481106.key) 11:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:56 + git tag --points-at 999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] } 11:09:56 $ docker exec --env ******** --env ******** c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 ssh-agent -k 11:09:56 unset SSH_AUTH_SOCK; 11:09:56 unset SSH_AGENT_PID; 11:09:56 echo Agent pid 39 killed; 11:09:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 11:09:56 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v4.0.0' [Pipeline] sshagent 11:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:09:56 [ssh-agent] Looking for ssh-agent implementation... 11:09:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:09:57 $ docker exec c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 ssh-agent 11:09:57 SSH_AUTH_SOCK=/tmp/ssh-scaY8GMrZQKB/agent.72 11:09:57 SSH_AGENT_PID=78 11:09:57 Running ssh-add (command line suppressed) 11:09:57 Identity added: /w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_12030213441674708843.key (/w/workspace/edgexfoundry_device-gpio_odessa@tmp/private_key_12030213441674708843.key) 11:09:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:09:57 + git semver init 11:09:57 2025-03-12 11:09:57,812 [run_init] DEBUG init version:0.0.0 force:False 11:09:57 2025-03-12 11:09:57,813 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_odessa/.semver 11:09:57 2025-03-12 11:09:57,814 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_odessa/.semver 11:09:57 2025-03-12 11:09:57,814 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_odessa/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_odessa, universal_newlines=False, shell=None, istream=None) 11:10:00 2025-03-12 11:09:59,798 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_odessa/.git/info/exclude 11:10:00 2025-03-12 11:09:59,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa with force:False 11:10:00 2025-03-12 11:09:59,798 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa 11:10:00 2025-03-12 11:09:59,799 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_odessa/.semver/odessa 11:10:00 4.0.0 [Pipeline] } 11:10:00 $ docker exec --env ******** --env ******** c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 ssh-agent -k 11:10:00 unset SSH_AUTH_SOCK; 11:10:00 unset SSH_AGENT_PID; 11:10:00 echo Agent pid 78 killed; 11:10:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:10:00 + git semver [Pipeline] } 11:10:01 $ docker stop --time=1 c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 11:10:02 $ docker rm -f --volumes c862a13c948792cc08f0a86cca544ed8163f65ed5517056046368aef485092e3 [Pipeline] // withDockerContainer [Pipeline] sh 11:10:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:10:03 Stashed 1 file(s) [Pipeline] echo 11:10:03 [edgeXSemver]: initialized semver on version 4.0.0 [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] sh 11:10:03 + git checkout 999ef3d11ad738bdf74684299325b745b91d47d8 11:10:03 HEAD is now at 999ef3d ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:03 provisioning config files... 11:10:03 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config13793554096276511031tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:03 ---> ****-login.sh 11:10:03 nexus3.edgexfoundry.org:10001 11:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:03 Configure a credential helper to remove this warning. See 11:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:03 11:10:03 Login Succeeded 11:10:03 nexus3.edgexfoundry.org:10002 11:10:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:03 Configure a credential helper to remove this warning. See 11:10:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:03 11:10:03 Login Succeeded 11:10:03 nexus3.edgexfoundry.org:10003 11:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:04 Configure a credential helper to remove this warning. See 11:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:04 11:10:04 Login Succeeded 11:10:04 nexus3.edgexfoundry.org:10004 11:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:04 Configure a credential helper to remove this warning. See 11:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:04 11:10:04 Login Succeeded 11:10:04 ****.io 11:10:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:10:04 Configure a credential helper to remove this warning. See 11:10:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:10:04 11:10:04 Login Succeeded 11:10:04 ---> ****-login.sh ends [Pipeline] } 11:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:04 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:10:04 + + grep ^go [0-9].[0-9]* go.mod 11:10:04 cut -d -f 2 [Pipeline] echo 11:10:04 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:10:04 ========================================================= 11:10:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts] 11:10:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:10:05 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:10:05 Sending build context to Docker daemon 80.75MB 11:10:05 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:10:05 Step 2/12 : FROM ${BASE} AS builder 11:10:05 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base 11:10:05 0a9a5dfd008f: Pulling fs layer 11:10:05 8833042f23b5: Pulling fs layer 11:10:05 6ca661eb024f: Pulling fs layer 11:10:05 b5acb76e9680: Pulling fs layer 11:10:05 4f4fb700ef54: Pulling fs layer 11:10:05 012bb1f9d321: Pulling fs layer 11:10:05 97255f1bc79d: Pulling fs layer 11:10:05 454448c9edf9: Pulling fs layer 11:10:05 15f87924ceaf: Pulling fs layer 11:10:05 b5acb76e9680: Waiting 11:10:05 4f4fb700ef54: Waiting 11:10:05 012bb1f9d321: Waiting 11:10:05 97255f1bc79d: Waiting 11:10:05 454448c9edf9: Waiting 11:10:05 15f87924ceaf: Waiting 11:10:05 8833042f23b5: Verifying Checksum 11:10:05 8833042f23b5: Download complete 11:10:05 b5acb76e9680: Verifying Checksum 11:10:05 b5acb76e9680: Download complete 11:10:05 4f4fb700ef54: Verifying Checksum 11:10:05 4f4fb700ef54: Download complete 11:10:05 012bb1f9d321: Verifying Checksum 11:10:05 012bb1f9d321: Download complete 11:10:05 0a9a5dfd008f: Verifying Checksum 11:10:05 0a9a5dfd008f: Download complete 11:10:05 97255f1bc79d: Verifying Checksum 11:10:05 97255f1bc79d: Download complete 11:10:05 0a9a5dfd008f: Pull complete 11:10:06 8833042f23b5: Pull complete 11:10:06 15f87924ceaf: Verifying Checksum 11:10:06 15f87924ceaf: Download complete 11:10:06 6ca661eb024f: Download complete 11:10:06 454448c9edf9: Verifying Checksum 11:10:06 454448c9edf9: Download complete 11:10:10 6ca661eb024f: Pull complete 11:10:10 b5acb76e9680: Pull complete 11:10:10 4f4fb700ef54: Pull complete 11:10:10 012bb1f9d321: Pull complete 11:10:10 97255f1bc79d: Pull complete 11:10:11 454448c9edf9: Pull complete 11:10:12 15f87924ceaf: Pull complete 11:10:12 Digest: sha256:13490a1e6eed117a10b338392fa532bd4755c6135795303ade0591b05f77a5dd 11:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.23-alpine-lts 11:10:12 ---> bc3d7bf65e23 11:10:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:10:16 ---> Running in 51abda9e045c 11:10:16 Removing intermediate container 51abda9e045c 11:10:16 ---> a1a71c440101 11:10:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:10:16 ---> Running in 09ad60fd6088 11:10:16 Removing intermediate container 09ad60fd6088 11:10:16 ---> 4833ba9cd106 11:10:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 11:10:16 ---> Running in 7afe6fd545cc 11:10:16 Removing intermediate container 7afe6fd545cc 11:10:16 ---> 5771a916349d 11:10:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:10:16 ---> Running in 59fbbad4fdb5 11:10:16 Removing intermediate container 59fbbad4fdb5 11:10:16 ---> 69dcc2ffce0f 11:10:16 Step 7/12 : WORKDIR /device-gpio 11:10:17 ---> Running in d68a7af713a8 11:10:17 Removing intermediate container d68a7af713a8 11:10:17 ---> ffc04d4ff395 11:10:17 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:10:17 ---> Running in d13a0e657232 11:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:10:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:10:17 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:10:17 (2/4) Installing libedit (20240517.3.1-r0) 11:10:17 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:10:17 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:10:17 Executing busybox-1.36.1-r29.trigger 11:10:17 OK: 252 MiB in 62 packages 11:10:18 Still waiting to schedule task 11:10:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:10:18 Removing intermediate container d13a0e657232 11:10:18 ---> 934ff6718afc 11:10:18 Step 9/12 : COPY go.mod vendor* ./ 11:10:20 ---> 7b10eca16f55 11:10:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:10:20 ---> Running in 39d2e92ff284 11:10:59 Removing intermediate container 39d2e92ff284 11:10:59 ---> d2b406d9d273 11:10:59 Step 11/12 : COPY . . 11:10:59 ---> a8df2c90e7ca 11:10:59 Step 12/12 : RUN ${MAKE} 11:10:59 ---> Running in 922ddc153d02 11:10:59 noop 11:11:00 Removing intermediate container 922ddc153d02 11:11:00 ---> 6c7f9b5a02b0 11:11:00 Successfully built 6c7f9b5a02b0 11:11:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:00 + docker inspect -f . ci-base-image-x86_64 11:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:00 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:11:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:11:00 $ docker top ffeb0924410b4cc1f9ae88201852c00f60750313473ec0d20172e650693f9994 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:01 + go version 11:11:01 go version go1.23.7 linux/amd64 [Pipeline] } 11:11:01 $ docker stop --time=1 ffeb0924410b4cc1f9ae88201852c00f60750313473ec0d20172e650693f9994 11:11:02 $ docker rm -f --volumes ffeb0924410b4cc1f9ae88201852c00f60750313473ec0d20172e650693f9994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:02 + docker inspect -f . ci-base-image-x86_64 11:11:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:11:03 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:11:03 $ 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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:11:03 $ docker top 93e225c8b3dd04f890352a6ea7087641cadd50f8fdeea687bd6f6fe9a921d6a7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:11:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] fileExists [Pipeline] sh 11:11:04 + make test 11:11:04 go test ./... -coverprofile=coverage.out ./... 11:11:05 ? github.com/edgexfoundry/device-gpio [no test files] 11:11:26 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 11:11:26 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 11:11:36 go vet ./... 11:11:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:11:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:11:42 ./bin/test-attribution-txt.sh [Pipeline] echo 11:11:42 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:11:42 + go mod tidy [Pipeline] } 11:11:43 $ docker stop --time=1 93e225c8b3dd04f890352a6ea7087641cadd50f8fdeea687bd6f6fe9a921d6a7 11:11:45 $ docker rm -f --volumes 93e225c8b3dd04f890352a6ea7087641cadd50f8fdeea687bd6f6fe9a921d6a7 [Pipeline] // withDockerContainer [Pipeline] sh 11:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:11:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:11:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:11:47 + ls -al . 11:11:47 total 228 11:11:47 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 11:11 . 11:11:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:09 .. 11:11:47 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 11:09 .dockerignore 11:11:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:11 .git 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 .github 11:11:47 -rw-rw-r-- 1 jenkins jenkins 269 Mar 12 11:09 .gitignore 11:11:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 11:09 .golangci.yml 11:11:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:09 .semver 11:11:47 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 11:09 Attribution.txt 11:11:47 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 11:09 CHANGELOG.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 11:09 Dockerfile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:09 GOVERNANCE.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 11:09 Jenkinsfile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:09 LICENSE 11:11:47 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 11:09 Makefile 11:11:47 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 11:09 OWNERS.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 11:09 README.md 11:11:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:11:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:09 bin 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 cmd 11:11:47 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 11:11 coverage.out 11:11:47 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 11:09 go.mod 11:11:47 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 11:09 go.sum 11:11:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:09 internal 11:11:47 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:09 vendor 11:11:47 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 11:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:11:47 + 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=999ef3d11ad738bdf74684299325b745b91d47d8 --label arch=amd64 --label version=4.0.0 . 11:11:48 Sending build context to Docker daemon 80.76MB 11:11:48 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:11:48 Step 2/26 : FROM ${BASE} AS builder 11:11:48 ---> 6c7f9b5a02b0 11:11:48 Step 3/26 : ARG ADD_BUILD_TAGS="" 11:11:48 ---> Running in e904aa2c4e92 11:11:48 Removing intermediate container e904aa2c4e92 11:11:48 ---> 33e33bf5bf5d 11:11:48 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:11:48 ---> Running in 303e54797757 11:11:48 Removing intermediate container 303e54797757 11:11:48 ---> 5d0e59e74e3d 11:11:48 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 11:11:48 ---> Running in 41d0a95fa577 11:11:49 Removing intermediate container 41d0a95fa577 11:11:49 ---> d6c241cdc725 11:11:49 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 11:11:49 ---> Running in 4d0e5bb26708 11:11:49 Removing intermediate container 4d0e5bb26708 11:11:49 ---> 5cd33e297d05 11:11:49 Step 7/26 : WORKDIR /device-gpio 11:11:49 ---> Running in bfe0afa7711a 11:11:49 Removing intermediate container bfe0afa7711a 11:11:49 ---> 63a0286a7af7 11:11:49 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:49 ---> Running in a0f229bd47de 11:11:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:11:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:11:50 OK: 252 MiB in 62 packages 11:11:50 Removing intermediate container a0f229bd47de 11:11:50 ---> e97e725a7932 11:11:50 Step 9/26 : COPY go.mod vendor* ./ 11:11:52 ---> 9d60fbeb5d75 11:11:52 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:52 ---> Running in ae0c734d15b4 11:11:53 skipping... 11:11:53 Removing intermediate container ae0c734d15b4 11:11:53 ---> d606500649fb 11:11:53 Step 11/26 : COPY . . 11:11:56 ---> 53996c03418e 11:11:56 Step 12/26 : RUN ${MAKE} 11:11:56 ---> Running in 9bcbef905ae1 11:11:56 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 11:12:28 Removing intermediate container 9bcbef905ae1 11:12:28 ---> 8e9752420460 11:12:28 Step 13/26 : FROM alpine:3.20 11:12:28 3.20: Pulling from library/alpine 11:12:28 0a9a5dfd008f: Already exists 11:12:28 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:12:28 Status: Downloaded newer image for alpine:3.20 11:12:28 ---> ff221270b9fb 11:12:28 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 11:12:28 ---> Running in 1fd6bf94f30a 11:12:28 Removing intermediate container 1fd6bf94f30a 11:12:28 ---> 40281677afba 11:12:28 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:12:28 ---> Running in 828204b980e0 11:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:28 (1/1) Installing dumb-init (1.2.5-r3) 11:12:28 Executing busybox-1.36.1-r29.trigger 11:12:28 OK: 8 MiB in 15 packages 11:12:28 Removing intermediate container 828204b980e0 11:12:28 ---> b920f7301773 11:12:28 Step 16/26 : RUN apk --no-cache upgrade 11:12:28 ---> Running in 6d68bcc1d26f 11:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 11:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 11:12:29 OK: 8 MiB in 15 packages 11:12:30 Removing intermediate container 6d68bcc1d26f 11:12:30 ---> bb6f7d09fb5c 11:12:30 Step 17/26 : WORKDIR / 11:12:30 ---> Running in 68efb7495ab3 11:12:30 Removing intermediate container 68efb7495ab3 11:12:30 ---> 4d952a09f9c2 11:12:30 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 11:12:30 ---> a7af6f80eadc 11:12:30 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 11:12:30 ---> bb2f7e6b7cc0 11:12:30 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 11:12:31 ---> fdf013f98aec 11:12:31 Step 21/26 : EXPOSE 59910 11:12:31 ---> Running in b3d715b70373 11:12:31 Removing intermediate container b3d715b70373 11:12:31 ---> 45cbc61fe195 11:12:31 Step 22/26 : ENTRYPOINT ["/device-gpio"] 11:12:31 ---> Running in 8b554108a277 11:12:31 Removing intermediate container 8b554108a277 11:12:31 ---> 7416c305190e 11:12:31 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:12:31 ---> Running in c4d984528a9f 11:12:31 Removing intermediate container c4d984528a9f 11:12:31 ---> 8fb2171d5d5f 11:12:31 Step 24/26 : LABEL arch=amd64 11:12:31 ---> Running in c8de4a983793 11:12:31 Removing intermediate container c8de4a983793 11:12:31 ---> f940a8c1d9ed 11:12:31 Step 25/26 : LABEL git_sha=999ef3d11ad738bdf74684299325b745b91d47d8 11:12:31 ---> Running in 5837cb1f16a0 11:12:31 Removing intermediate container 5837cb1f16a0 11:12:31 ---> 9f8f853bd5d5 11:12:31 Step 26/26 : LABEL version=4.0.0 11:12:31 ---> Running in ad1305d00b48 11:12:31 Removing intermediate container ad1305d00b48 11:12:31 ---> e58f5e8cc20b 11:12:31 [Warning] One or more build-args [ARCH] were not consumed 11:12:31 Successfully built e58f5e8cc20b 11:12:31 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:12:31 provisioning config files... 11:12:31 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config16234520308134119130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:32 ---> ****-login.sh 11:12:32 nexus3.edgexfoundry.org:10001 11:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:32 Configure a credential helper to remove this warning. See 11:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:32 11:12:32 Login Succeeded 11:12:32 nexus3.edgexfoundry.org:10002 11:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:32 Configure a credential helper to remove this warning. See 11:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:32 11:12:32 Login Succeeded 11:12:32 nexus3.edgexfoundry.org:10003 11:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:32 Configure a credential helper to remove this warning. See 11:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:32 11:12:32 Login Succeeded 11:12:32 nexus3.edgexfoundry.org:10004 11:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:32 Configure a credential helper to remove this warning. See 11:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:32 11:12:32 Login Succeeded 11:12:32 ****.io 11:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:12:32 Configure a credential helper to remove this warning. See 11:12:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:12:32 11:12:32 Login Succeeded 11:12:32 ---> ****-login.sh ends [Pipeline] } 11:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:32 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:12:32 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 11:12:32 999ef3d11ad738bdf74684299325b745b91d47d8 11:12:32 4.0.0 11:12:32 999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:12:32 odessa 11:12:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:33 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:33 + docker push nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8 11:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 11:12:33 7895ff4ea768: Preparing 11:12:33 736ddb606918: Preparing 11:12:33 c2d3d54e6057: Preparing 11:12:33 2613e4c6619a: Preparing 11:12:33 a85439b3c94c: Preparing 11:12:33 994456c4fd7b: Preparing 11:12:33 994456c4fd7b: Waiting 11:12:33 c2d3d54e6057: Pushed 11:12:33 2613e4c6619a: Pushed 11:12:33 736ddb606918: Pushed 11:12:33 a85439b3c94c: Pushed 11:12:33 994456c4fd7b: Layer already exists 11:12:37 7895ff4ea768: Pushed 11:12:37 999ef3d11ad738bdf74684299325b745b91d47d8: digest: sha256:4042378af4923537ebcc1bc3517f9a52f8fd397621afc2150b76226bdc2e5a8d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:38 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:38 + docker push nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 11:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 11:12:38 7895ff4ea768: Preparing 11:12:38 736ddb606918: Preparing 11:12:38 c2d3d54e6057: Preparing 11:12:38 2613e4c6619a: Preparing 11:12:38 a85439b3c94c: Preparing 11:12:38 994456c4fd7b: Preparing 11:12:38 994456c4fd7b: Waiting 11:12:38 c2d3d54e6057: Layer already exists 11:12:38 736ddb606918: Layer already exists 11:12:38 a85439b3c94c: Layer already exists 11:12:38 2613e4c6619a: Layer already exists 11:12:38 7895ff4ea768: Layer already exists 11:12:38 994456c4fd7b: Layer already exists 11:12:38 4.0.0: digest: sha256:4042378af4923537ebcc1bc3517f9a52f8fd397621afc2150b76226bdc2e5a8d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:38 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 11:12:39 7895ff4ea768: Preparing 11:12:39 736ddb606918: Preparing 11:12:39 c2d3d54e6057: Preparing 11:12:39 2613e4c6619a: Preparing 11:12:39 a85439b3c94c: Preparing 11:12:39 994456c4fd7b: Preparing 11:12:39 994456c4fd7b: Waiting 11:12:39 7895ff4ea768: Layer already exists 11:12:39 c2d3d54e6057: Layer already exists 11:12:39 736ddb606918: Layer already exists 11:12:39 a85439b3c94c: Layer already exists 11:12:39 2613e4c6619a: Layer already exists 11:12:39 994456c4fd7b: Layer already exists 11:12:39 999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0: digest: sha256:4042378af4923537ebcc1bc3517f9a52f8fd397621afc2150b76226bdc2e5a8d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:39 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:39 + docker push nexus3.edgexfoundry.org:10004/device-gpio:odessa 11:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 11:12:39 7895ff4ea768: Preparing 11:12:39 736ddb606918: Preparing 11:12:39 c2d3d54e6057: Preparing 11:12:39 2613e4c6619a: Preparing 11:12:39 a85439b3c94c: Preparing 11:12:39 994456c4fd7b: Preparing 11:12:39 994456c4fd7b: Waiting 11:12:39 2613e4c6619a: Layer already exists 11:12:39 736ddb606918: Layer already exists 11:12:39 c2d3d54e6057: Layer already exists 11:12:39 7895ff4ea768: Layer already exists 11:12:39 a85439b3c94c: Layer already exists 11:12:39 994456c4fd7b: Layer already exists 11:12:39 odessa: digest: sha256:4042378af4923537ebcc1bc3517f9a52f8fd397621afc2150b76226bdc2e5a8d size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:12:39 ===================================================== [Pipeline] echo 11:12:39 taggedImages: 11:12:39 - nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8 11:12:39 - nexus3.edgexfoundry.org:10004/device-gpio:4.0.0 11:12:39 - nexus3.edgexfoundry.org:10004/device-gpio:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:12:39 - nexus3.edgexfoundry.org:10004/device-gpio:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:40 11:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:40 latest: Pulling from edgex-lftools-log-publisher 11:12:40 5eb5b503b376: Pulling fs layer 11:12:40 5c69ac0246d0: Pulling fs layer 11:12:40 ec43610c2a17: Pulling fs layer 11:12:40 3a2ae6a8a46f: Pulling fs layer 11:12:40 33b1e0a273af: Pulling fs layer 11:12:40 5d3b04190fa2: Pulling fs layer 11:12:40 2f39f015ded8: Pulling fs layer 11:12:40 5d3b04190fa2: Waiting 11:12:40 2f39f015ded8: Waiting 11:12:40 33b1e0a273af: Waiting 11:12:40 5c69ac0246d0: Download complete 11:12:40 3a2ae6a8a46f: Download complete 11:12:40 33b1e0a273af: Verifying Checksum 11:12:40 33b1e0a273af: Download complete 11:12:40 5d3b04190fa2: Download complete 11:12:40 ec43610c2a17: Verifying Checksum 11:12:40 ec43610c2a17: Download complete 11:12:40 5eb5b503b376: Verifying Checksum 11:12:40 5eb5b503b376: Download complete 11:12:41 2f39f015ded8: Verifying Checksum 11:12:41 2f39f015ded8: Download complete 11:12:42 5eb5b503b376: Pull complete 11:12:42 5c69ac0246d0: Pull complete 11:12:42 ec43610c2a17: Pull complete 11:12:42 3a2ae6a8a46f: Pull complete 11:12:42 33b1e0a273af: Pull complete 11:12:43 5d3b04190fa2: Pull complete 11:12:47 2f39f015ded8: Pull complete 11:12:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:12:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:12:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:12:47 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:12:47 $ 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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:12:49 $ docker top 3d4e5feb0a27db0a50a4ed944b202e5c127b6d1b51156443e87e6ee0d3931386 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:12:49 ---> job-cost.sh 11:12:49 lf-activate-venv: SKIPPING 11:12:49 INFO: No Stack... 11:12:50 INFO: Retrieving Pricing Info for: v3-standard-8 11:12:50 INFO: Archiving Costs [Pipeline] sh 11:12:51 + cat /w/workspace/edgexfoundry_device-gpio_odessa/archives/cost.csv 11:12:51 + cut -d, -f6 [Pipeline] lock 11:12:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] 11:12:51 Resource [jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] did not exist. Created. 11:12:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:12:51 + echo total: 0.2199999988079071 [Pipeline] stash 11:12:51 Stashed 1 file(s) [Pipeline] } 11:12:51 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:12:51 $ docker stop --time=1 3d4e5feb0a27db0a50a4ed944b202e5c127b6d1b51156443e87e6ee0d3931386 11:12:52 $ docker rm -f --volumes 3d4e5feb0a27db0a50a4ed944b202e5c127b6d1b51156443e87e6ee0d3931386 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:13:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41159 in /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] { [Pipeline] ws 11:13:00 Running in /w/workspace/device-gpio/4 [Pipeline] { [Pipeline] checkout 11:13:00 The recommended git tool is: git 11:13:07 using credential edgex-jenkins-ssh 11:13:07 Cloning the remote Git repository 11:13:07 Cloning repository git@github.com:edgexfoundry/device-gpio.git 11:13:07 > git init /w/workspace/device-gpio/4 # timeout=10 11:13:07 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 11:13:07 > git --version # timeout=10 11:13:07 > git --version # 'git version 2.25.1' 11:13:07 using GIT_SSH to set credentials SSH Credentials for GitHub 11:13:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:11 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 11:13:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:13:12 Avoid second fetch 11:13:12 Checking out Revision 999ef3d11ad738bdf74684299325b745b91d47d8 (odessa) 11:13:12 > git config core.sparsecheckout # timeout=10 11:13:12 > git checkout -f 999ef3d11ad738bdf74684299325b745b91d47d8 # timeout=10 11:13:15 Commit message: "ci(lts-release): LTS release v4.0.0 @99341b5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:13:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:13:20 % Total % Received % Xferd Average Speed Time Time Time Current 11:13:20 Dload Upload Total Spent Left Speed 11:13:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 11:13:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:13:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:13:21 + sudo tee /etc/docker/daemon.new 11:13:21 { 11:13:21 "registry-mirrors": [ 11:13:21 "https://nexus3.edgexfoundry.org:10001" 11:13:21 ], 11:13:21 "bip": "10.250.0.254/24", 11:13:21 "hosts": [ 11:13:21 "tcp://0.0.0.0:5555", 11:13:21 "unix:///var/run/docker.sock" 11:13:21 ], 11:13:21 "mtu": 1458, 11:13:21 "selinux-enabled": true, 11:13:21 "seccomp-profile": "/etc/docker/seccomp.json" 11:13:21 } [Pipeline] sh 11:13:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:13:21 + sudo service docker restart [Pipeline] sh 11:13:40 + git checkout 999ef3d11ad738bdf74684299325b745b91d47d8 11:13:40 HEAD is now at 999ef3d ci(lts-release): LTS release v4.0.0 @99341b5 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:13:40 provisioning config files... 11:13:40 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config10907855309197375618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:13:41 ---> ****-login.sh 11:13:41 nexus3.edgexfoundry.org:10001 11:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:42 Configure a credential helper to remove this warning. See 11:13:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:42 11:13:42 Login Succeeded 11:13:42 nexus3.edgexfoundry.org:10002 11:13:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:42 Configure a credential helper to remove this warning. See 11:13:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:42 11:13:42 Login Succeeded 11:13:42 nexus3.edgexfoundry.org:10003 11:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:43 Configure a credential helper to remove this warning. See 11:13:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:43 11:13:43 Login Succeeded 11:13:43 nexus3.edgexfoundry.org:10004 11:13:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:43 Configure a credential helper to remove this warning. See 11:13:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:43 11:13:43 Login Succeeded 11:13:43 ****.io 11:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:13:44 Configure a credential helper to remove this warning. See 11:13:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:13:44 11:13:44 Login Succeeded 11:13:44 ---> ****-login.sh ends [Pipeline] } 11:13:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:13:44 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] sh 11:13:45 + grep ^go [0-9].[0-9]* go.mod 11:13:45 + cut -d -f 2 [Pipeline] echo 11:13:45 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:13:45 ========================================================= 11:13:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts] 11:13:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:13:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts --build-arg MAKE=echo noop --target=builder . 11:13:49 Sending build context to Docker daemon 60.7MB 11:13:50 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 11:13:50 Step 2/12 : FROM ${BASE} AS builder 11:13:50 1.23-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 11:13:50 94e9d8af2201: Pulling fs layer 11:13:50 345fe9f21930: Pulling fs layer 11:13:50 b40fc9e46828: Pulling fs layer 11:13:50 c9804373a1e5: Pulling fs layer 11:13:50 4f4fb700ef54: Pulling fs layer 11:13:50 f5a772c54f75: Pulling fs layer 11:13:50 e2dd1b2a9dca: Pulling fs layer 11:13:50 0a0502178392: Pulling fs layer 11:13:50 c9804373a1e5: Waiting 11:13:50 4f4fb700ef54: Waiting 11:13:50 f5a772c54f75: Waiting 11:13:50 e2dd1b2a9dca: Waiting 11:13:50 0a0502178392: Waiting 11:13:50 345fe9f21930: Verifying Checksum 11:13:50 345fe9f21930: Download complete 11:13:50 c9804373a1e5: Verifying Checksum 11:13:50 c9804373a1e5: Download complete 11:13:50 4f4fb700ef54: Verifying Checksum 11:13:50 4f4fb700ef54: Download complete 11:13:50 f5a772c54f75: Verifying Checksum 11:13:50 f5a772c54f75: Download complete 11:13:50 94e9d8af2201: Verifying Checksum 11:13:50 94e9d8af2201: Download complete 11:13:51 0a0502178392: Verifying Checksum 11:13:51 0a0502178392: Download complete 11:13:51 94e9d8af2201: Pull complete 11:13:52 345fe9f21930: Pull complete 11:13:53 b40fc9e46828: Verifying Checksum 11:13:53 b40fc9e46828: Download complete 11:13:53 e2dd1b2a9dca: Verifying Checksum 11:13:53 e2dd1b2a9dca: Download complete 11:14:09 b40fc9e46828: Pull complete 11:14:09 c9804373a1e5: Pull complete 11:14:09 4f4fb700ef54: Pull complete 11:14:09 f5a772c54f75: Pull complete 11:14:17 e2dd1b2a9dca: Pull complete 11:14:19 0a0502178392: Pull complete 11:14:19 Digest: sha256:cb630d247bcc3b1d0751040a39c4e103216f7d9e7edda4006e03146d987d6ddf 11:14:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.23-alpine-lts 11:14:19 ---> 72db82c1953f 11:14:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:14:21 ---> Running in 0c9db6921d94 11:14:22 Removing intermediate container 0c9db6921d94 11:14:22 ---> 482751ed8f77 11:14:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:14:22 ---> Running in 22aebade46a8 11:14:22 Removing intermediate container 22aebade46a8 11:14:22 ---> cd2d538ca784 11:14:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 11:14:23 ---> Running in e42c830b9157 11:14:23 Removing intermediate container e42c830b9157 11:14:23 ---> 02da85b0fe7e 11:14:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:14:23 ---> Running in f38276d9eb22 11:14:23 Removing intermediate container f38276d9eb22 11:14:23 ---> 47bafa540b9f 11:14:23 Step 7/12 : WORKDIR /device-gpio 11:14:23 ---> Running in a884b0a60981 11:14:24 Removing intermediate container a884b0a60981 11:14:24 ---> 23fdebbe0b7f 11:14:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:24 ---> Running in 1e28b61741c6 11:14:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:14:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:14:28 (1/4) Installing openssh-keygen (9.7_p1-r5) 11:14:28 (2/4) Installing libedit (20240517.3.1-r0) 11:14:28 (3/4) Installing openssh-client-common (9.7_p1-r5) 11:14:28 (4/4) Installing openssh-client-default (9.7_p1-r5) 11:14:28 Executing busybox-1.36.1-r29.trigger 11:14:28 OK: 244 MiB in 62 packages 11:14:30 Removing intermediate container 1e28b61741c6 11:14:30 ---> 609945768b66 11:14:30 Step 9/12 : COPY go.mod vendor* ./ 11:14:45 ---> 92c58c7c49e8 11:14:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:45 ---> Running in 6cae4f0f7243 11:16:37 Removing intermediate container 6cae4f0f7243 11:16:37 ---> e9761a4db296 11:16:37 Step 11/12 : COPY . . 11:16:52 ---> 60beede157c9 11:16:52 Step 12/12 : RUN ${MAKE} 11:16:52 ---> Running in e369150d5956 11:16:52 noop 11:16:53 Removing intermediate container e369150d5956 11:16:53 ---> a63e8aa3f802 11:16:54 Successfully built a63e8aa3f802 11:16:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:54 + docker inspect -f . ci-base-image-arm64 11:16:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:54 prd-ubuntu20.04-docker-arm64-4c-16g-41159 does not seem to be running inside a container 11:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 11:16:56 $ docker top 29e545236f72b497b7818a41bb7a65c6a8165706b2a05bcc4ad4e884dacd257e -eo pid,comm [Pipeline] { [Pipeline] sh 11:16:57 + go version 11:16:57 go version go1.23.7 linux/arm64 [Pipeline] } 11:16:57 $ docker stop --time=1 29e545236f72b497b7818a41bb7a65c6a8165706b2a05bcc4ad4e884dacd257e 11:16:59 $ docker rm -f --volumes 29e545236f72b497b7818a41bb7a65c6a8165706b2a05bcc4ad4e884dacd257e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:59 + docker inspect -f . ci-base-image-arm64 11:16:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:00 prd-ubuntu20.04-docker-arm64-4c-16g-41159 does not seem to be running inside a container 11:17:00 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 11:17:01 $ docker top 241b1d45d105620561145b2bb19ea3205e41c671643eaf688db5a99b7d1c6bb1 -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:02 + git config --global --add safe.directory /w/workspace/device-gpio/4 [Pipeline] fileExists [Pipeline] sh 11:17:03 + make test 11:17:03 go test ./... -coverprofile=coverage.out ./... 11:17:07 ? github.com/edgexfoundry/device-gpio [no test files] 11:21:29 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 11:21:29 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 11:21:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:21:29 go vet ./... 11:22:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:22:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:22:25 ./bin/test-attribution-txt.sh [Pipeline] echo 11:22:25 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 11:22:26 + go mod tidy [Pipeline] } 11:22:33 $ docker stop --time=1 241b1d45d105620561145b2bb19ea3205e41c671643eaf688db5a99b7d1c6bb1 11:22:35 $ docker rm -f --volumes 241b1d45d105620561145b2bb19ea3205e41c671643eaf688db5a99b7d1c6bb1 [Pipeline] // withDockerContainer [Pipeline] sh 11:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:22:37 Warning: overwriting stash ‘coverage-report’ 11:22:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:22:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:22:39 + ls -al . 11:22:39 total 224 11:22:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:17 . 11:22:39 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 11:13 .. 11:22:39 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 11:13 .dockerignore 11:22:39 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 11:13 .git 11:22:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 .github 11:22:39 -rw-rw-r-- 1 jenkins jenkins 269 Mar 12 11:13 .gitignore 11:22:39 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 11:13 .golangci.yml 11:22:39 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 11:13 Attribution.txt 11:22:39 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 11:13 CHANGELOG.md 11:22:39 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 11:13 Dockerfile 11:22:39 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 11:13 GOVERNANCE.md 11:22:39 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 11:13 Jenkinsfile 11:22:39 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 11:13 LICENSE 11:22:39 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 11:13 Makefile 11:22:39 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 11:13 OWNERS.md 11:22:39 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 11:13 README.md 11:22:39 -rw-rw-r-- 1 jenkins jenkins 5 Mar 12 11:10 VERSION 11:22:39 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 11:13 bin 11:22:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 cmd 11:22:39 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 11:21 coverage.out 11:22:39 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 11:13 go.mod 11:22:39 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 11:13 go.sum 11:22:39 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 11:13 internal 11:22:39 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:13 vendor 11:22:39 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 11:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:22:40 + 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=999ef3d11ad738bdf74684299325b745b91d47d8 --label arch=arm64 --label version=4.0.0 . 11:22:44 Sending build context to Docker daemon 60.71MB 11:22:44 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 11:22:44 Step 2/26 : FROM ${BASE} AS builder 11:22:44 ---> a63e8aa3f802 11:22:44 Step 3/26 : ARG ADD_BUILD_TAGS="" 11:22:45 ---> Running in 479044fd557d 11:22:45 Removing intermediate container 479044fd557d 11:22:45 ---> 4d53e9f0f297 11:22:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:22:45 ---> Running in 1053d80ada49 11:22:45 Removing intermediate container 1053d80ada49 11:22:45 ---> 5360a30f04aa 11:22:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 11:22:45 ---> Running in 502ba23e7688 11:22:46 Removing intermediate container 502ba23e7688 11:22:46 ---> 4ed6a6b95152 11:22:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 11:22:46 ---> Running in bbda5d004576 11:22:46 Removing intermediate container bbda5d004576 11:22:46 ---> 38ce9dd82289 11:22:46 Step 7/26 : WORKDIR /device-gpio 11:22:46 ---> Running in 1d8cf1f1766e 11:22:47 Removing intermediate container 1d8cf1f1766e 11:22:47 ---> 9729a38e19ff 11:22:47 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:22:47 ---> Running in 7f61e3e45309 11:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:22:50 OK: 244 MiB in 62 packages 11:22:51 Removing intermediate container 7f61e3e45309 11:22:51 ---> eecbcad739be 11:22:51 Step 9/26 : COPY go.mod vendor* ./ 11:23:06 ---> aaa95b5e9c28 11:23:06 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:23:06 ---> Running in 63e84f781d42 11:23:06 skipping... 11:23:08 Removing intermediate container 63e84f781d42 11:23:08 ---> 14f82bf37402 11:23:08 Step 11/26 : COPY . . 11:23:26 ---> 6f9ca5908521 11:23:26 Step 12/26 : RUN ${MAKE} 11:23:26 ---> Running in 82624d975fbc 11:23:26 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 11:28:03 Removing intermediate container 82624d975fbc 11:28:03 ---> 05977d48f320 11:28:03 Step 13/26 : FROM alpine:3.20 11:28:03 3.20: Pulling from library/alpine 11:28:03 94e9d8af2201: Already exists 11:28:03 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 11:28:03 Status: Downloaded newer image for alpine:3.20 11:28:03 ---> 7aab056cecc6 11:28:03 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 11:28:03 ---> Running in 359c8bee34a1 11:28:03 Removing intermediate container 359c8bee34a1 11:28:03 ---> 25fa33d4948c 11:28:03 Step 15/26 : RUN apk add --update --no-cache dumb-init 11:28:03 ---> Running in e02c05a07990 11:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:28:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:28:04 (1/1) Installing dumb-init (1.2.5-r3) 11:28:04 Executing busybox-1.36.1-r29.trigger 11:28:04 OK: 9 MiB in 15 packages 11:28:05 Removing intermediate container e02c05a07990 11:28:05 ---> ffc9c0ae4dc9 11:28:05 Step 16/26 : RUN apk --no-cache upgrade 11:28:05 ---> Running in d66552b8027c 11:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 11:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 11:28:08 OK: 9 MiB in 15 packages 11:28:09 Removing intermediate container d66552b8027c 11:28:09 ---> ae1d50fb08b6 11:28:09 Step 17/26 : WORKDIR / 11:28:09 ---> Running in fd61e30b00f4 11:28:10 Removing intermediate container fd61e30b00f4 11:28:10 ---> dc72e97aa9cc 11:28:10 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 11:28:11 ---> 6e380b642444 11:28:11 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 11:28:11 ---> 7d1cb5c48ca2 11:28:11 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 11:28:14 ---> c8b412d0c4ff 11:28:14 Step 21/26 : EXPOSE 59910 11:28:14 ---> Running in bf1a47037d26 11:28:14 Removing intermediate container bf1a47037d26 11:28:14 ---> 006f12cb9335 11:28:14 Step 22/26 : ENTRYPOINT ["/device-gpio"] 11:28:14 ---> Running in 00fec05e1684 11:28:14 Removing intermediate container 00fec05e1684 11:28:14 ---> 7ceff94887d3 11:28:14 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 11:28:14 ---> Running in 3309ce5fa681 11:28:15 Removing intermediate container 3309ce5fa681 11:28:15 ---> 24920f4fa0e2 11:28:15 Step 24/26 : LABEL arch=arm64 11:28:15 ---> Running in 94316286018e 11:28:15 Removing intermediate container 94316286018e 11:28:15 ---> a5780a3352e3 11:28:15 Step 25/26 : LABEL git_sha=999ef3d11ad738bdf74684299325b745b91d47d8 11:28:15 ---> Running in a9f57e1088ab 11:28:16 Removing intermediate container a9f57e1088ab 11:28:16 ---> 81aa31baad6b 11:28:16 Step 26/26 : LABEL version=4.0.0 11:28:16 ---> Running in 1d4704af6b85 11:28:16 Removing intermediate container 1d4704af6b85 11:28:16 ---> e85a0532139b 11:28:16 [Warning] One or more build-args [ARCH] were not consumed 11:28:17 Successfully built e85a0532139b 11:28:17 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 11:28:17 provisioning config files... 11:28:17 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/4@tmp/config2368187952413977839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:17 ---> ****-login.sh 11:28:17 nexus3.edgexfoundry.org:10001 11:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:18 Configure a credential helper to remove this warning. See 11:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:18 11:28:18 Login Succeeded 11:28:18 nexus3.edgexfoundry.org:10002 11:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:18 Configure a credential helper to remove this warning. See 11:28:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:18 11:28:18 Login Succeeded 11:28:18 nexus3.edgexfoundry.org:10003 11:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:19 Configure a credential helper to remove this warning. See 11:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:19 11:28:19 Login Succeeded 11:28:19 nexus3.edgexfoundry.org:10004 11:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:19 Configure a credential helper to remove this warning. See 11:28:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:19 11:28:19 Login Succeeded 11:28:19 ****.io 11:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 11:28:20 Configure a credential helper to remove this warning. See 11:28:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 11:28:20 11:28:20 Login Succeeded 11:28:20 ---> ****-login.sh ends [Pipeline] } 11:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:28:20 [edgeX.isLTS] Checking if [odessa] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 11:28:20 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 11:28:20 999ef3d11ad738bdf74684299325b745b91d47d8 11:28:20 4.0.0 11:28:20 999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:28:20 odessa 11:28:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:20 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:21 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8 11:28:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 11:28:21 9a2f34e60053: Preparing 11:28:21 2f1cca7c387e: Preparing 11:28:21 fd32022b4009: Preparing 11:28:21 42fb56c63d08: Preparing 11:28:21 8860055ede74: Preparing 11:28:21 dd9c8f8612c8: Preparing 11:28:21 dd9c8f8612c8: Waiting 11:28:21 42fb56c63d08: Pushed 11:28:21 2f1cca7c387e: Pushed 11:28:21 fd32022b4009: Pushed 11:28:21 8860055ede74: Pushed 11:28:21 dd9c8f8612c8: Layer already exists 11:28:31 9a2f34e60053: Pushed 11:28:31 999ef3d11ad738bdf74684299325b745b91d47d8: digest: sha256:43264f62997655229e74f06b8b87e1f48218d59d9c589844249e7e8bbc09c4e9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:31 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 11:28:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 11:28:32 9a2f34e60053: Preparing 11:28:32 2f1cca7c387e: Preparing 11:28:32 fd32022b4009: Preparing 11:28:32 42fb56c63d08: Preparing 11:28:32 8860055ede74: Preparing 11:28:32 dd9c8f8612c8: Preparing 11:28:32 dd9c8f8612c8: Waiting 11:28:32 42fb56c63d08: Layer already exists 11:28:32 fd32022b4009: Layer already exists 11:28:32 9a2f34e60053: Layer already exists 11:28:32 8860055ede74: Layer already exists 11:28:32 2f1cca7c387e: Layer already exists 11:28:32 dd9c8f8612c8: Layer already exists 11:28:32 4.0.0: digest: sha256:43264f62997655229e74f06b8b87e1f48218d59d9c589844249e7e8bbc09c4e9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:32 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:33 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:28:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 11:28:33 9a2f34e60053: Preparing 11:28:33 2f1cca7c387e: Preparing 11:28:33 fd32022b4009: Preparing 11:28:33 42fb56c63d08: Preparing 11:28:33 8860055ede74: Preparing 11:28:33 dd9c8f8612c8: Preparing 11:28:33 dd9c8f8612c8: Waiting 11:28:33 2f1cca7c387e: Layer already exists 11:28:33 8860055ede74: Layer already exists 11:28:33 fd32022b4009: Layer already exists 11:28:33 42fb56c63d08: Layer already exists 11:28:33 9a2f34e60053: Layer already exists 11:28:33 dd9c8f8612c8: Layer already exists 11:28:33 999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0: digest: sha256:43264f62997655229e74f06b8b87e1f48218d59d9c589844249e7e8bbc09c4e9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:33 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:34 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa 11:28:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 11:28:34 9a2f34e60053: Preparing 11:28:34 2f1cca7c387e: Preparing 11:28:34 fd32022b4009: Preparing 11:28:34 42fb56c63d08: Preparing 11:28:34 8860055ede74: Preparing 11:28:34 dd9c8f8612c8: Preparing 11:28:34 dd9c8f8612c8: Waiting 11:28:34 2f1cca7c387e: Layer already exists 11:28:34 fd32022b4009: Layer already exists 11:28:34 42fb56c63d08: Layer already exists 11:28:34 9a2f34e60053: Layer already exists 11:28:34 8860055ede74: Layer already exists 11:28:34 dd9c8f8612c8: Layer already exists 11:28:34 odessa: digest: sha256:43264f62997655229e74f06b8b87e1f48218d59d9c589844249e7e8bbc09c4e9 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:28:34 ===================================================== [Pipeline] echo 11:28:34 taggedImages: 11:28:34 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8 11:28:34 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0 11:28:34 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:999ef3d11ad738bdf74684299325b745b91d47d8-4.0.0 11:28:34 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:odessa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:34 11:28:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:35 arm64: Pulling from edgex-lftools-log-publisher 11:28:35 8998bd30e6a1: Pulling fs layer 11:28:35 04944245beec: Pulling fs layer 11:28:35 699f458cf7ca: Pulling fs layer 11:28:35 765212b225bb: Pulling fs layer 11:28:35 765212b225bb: Waiting 11:28:35 f23df028b6ca: Pulling fs layer 11:28:35 d65c8cfc05b1: Pulling fs layer 11:28:35 2437ff75d9bd: Pulling fs layer 11:28:35 d65c8cfc05b1: Waiting 11:28:35 2437ff75d9bd: Waiting 11:28:35 f23df028b6ca: Waiting 11:28:35 04944245beec: Verifying Checksum 11:28:35 04944245beec: Download complete 11:28:35 765212b225bb: Verifying Checksum 11:28:35 765212b225bb: Download complete 11:28:35 f23df028b6ca: Verifying Checksum 11:28:35 f23df028b6ca: Download complete 11:28:35 d65c8cfc05b1: Verifying Checksum 11:28:35 d65c8cfc05b1: Download complete 11:28:35 699f458cf7ca: Verifying Checksum 11:28:35 699f458cf7ca: Download complete 11:28:36 8998bd30e6a1: Verifying Checksum 11:28:36 8998bd30e6a1: Download complete 11:28:38 2437ff75d9bd: Verifying Checksum 11:28:38 2437ff75d9bd: Download complete 11:28:41 8998bd30e6a1: Pull complete 11:28:41 04944245beec: Pull complete 11:28:43 699f458cf7ca: Pull complete 11:28:43 765212b225bb: Pull complete 11:28:44 f23df028b6ca: Pull complete 11:28:44 d65c8cfc05b1: Pull complete 11:29:02 2437ff75d9bd: Pull complete 11:29:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:29:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:29:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:03 prd-ubuntu20.04-docker-arm64-4c-16g-41159 does not seem to be running inside a container 11:29:03 $ 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/4 -v /w/workspace/device-gpio/4:/w/workspace/device-gpio/4:rw,z -v /w/workspace/device-gpio/4@tmp:/w/workspace/device-gpio/4@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 11:29:06 $ docker top 46d9025605d47b1a98d264eb20f1b8d0c36e7c672df95f8e8f4abac803ce844d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:07 ---> job-cost.sh 11:29:07 lf-activate-venv: SKIPPING 11:29:07 INFO: No Stack... 11:29:08 INFO: Retrieving Pricing Info for: v3-standard-4 11:29:08 INFO: Archiving Costs [Pipeline] sh 11:29:09 + cat /w/workspace/device-gpio/4/archives/cost.csv 11:29:09 + cut -d, -f6 [Pipeline] lock 11:29:09 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] 11:29:09 Resource [jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] did not exist. Created. 11:29:09 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:29:10 /w/workspace/device-gpio/4@tmp/durable-a0863968/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:29:10 + echo total: 0.10999999940395355 [Pipeline] stash 11:29:10 Warning: overwriting stash ‘stack-cost’ 11:29:11 Stashed 1 file(s) [Pipeline] } 11:29:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-odessa-4-stack-cost] [Pipeline] // lock [Pipeline] } 11:29:11 $ docker stop --time=1 46d9025605d47b1a98d264eb20f1b8d0c36e7c672df95f8e8f4abac803ce844d 11:29:13 $ docker rm -f --volumes 46d9025605d47b1a98d264eb20f1b8d0c36e7c672df95f8e8f4abac803ce844d [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 11:29:13 provisioning config files... 11:29:13 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config17707762074416180491tmp [Pipeline] { [Pipeline] sh 11:29:14 + set +x 11:29:14 + + curlbash -s -s https://codecov.io/bash -- 11:29:14 11:29:14 11:29:14 _____ _ 11:29:14 / ____| | | 11:29:14 | | ___ __| | ___ ___ _____ __ 11:29:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:29:14 | |___| (_) | (_| | __/ (_| (_) \ V / 11:29:14 \_____\___/ \__,_|\___|\___\___/ \_/ 11:29:14 Bash-1.0.6 11:29:14 11:29:14 11:29:14 ==> git version 2.25.1 found 11:29:14 ==> 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 11:29:14 Release-Date: 2020-01-08 11:29:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:29:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:29:14 ==> Jenkins CI detected. 11:29:14 current dir:  /w/workspace/edgexfoundry_device-gpio_odessa 11:29:14 project root: . 11:29:14 --> token set from env 11:29:14 Yaml found at: vendor/github.com/go-openapi/analysis/.codecov.yml 11:29:14 ==> Running gcov in . (disable via -X gcov) 11:29:14 ==> Python coveragepy not found 11:29:14 ==> Searching for coverage reports in: 11:29:14 + . 11:29:14 -> Found 1 reports 11:29:14 ==> Detecting git/mercurial file structure 11:29:14 ==> Reading reports 11:29:14 + ./coverage.out bytes=11486 11:29:14 ==> Appending adjustments 11:29:14 https://docs.codecov.io/docs/fixing-reports 11:29:14 + Found adjustments 11:29:14 ==> Gzipping contents 11:29:14 28K /tmp/codecov.yGiLkP.gz 11:29:14 ==> Uploading reports 11:29:14 url: https://codecov.io 11:29:14 query: branch=odessa&commit=999ef3d11ad738bdf74684299325b745b91d47d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 11:29:14 -> Pinging Codecov 11:29:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=odessa&commit=999ef3d11ad738bdf74684299325b745b91d47d8&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fodessa%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 11:29:14 -> Uploading to 11:29:14 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/999ef3d11ad738bdf74684299325b745b91d47d8/a69dc0b9-9312-4260-b9b8-83f612228bda.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T112914Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cafc13defe6f2d5e4f928abe1c35dd9eeaa96aaeb7237aff27d62a6d97c31df0 11:29:14 % Total % Received % Xferd Average Speed Time Time Time Current 11:29:14 Dload Upload Total Spent Left Speed 11:29:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 26234 0 0 100 26234 0 189k --:--:-- --:--:-- --:--:-- 189k 11:29:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] } 11:29:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:29:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:29:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:29:15 11:29:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:29:15 latest: Pulling from edgex-devops/edgex-snyk-go 11:29:15 43c4264eed91: Pulling fs layer 11:29:15 4cc291be95ef: Pulling fs layer 11:29:15 2ac1f1163629: Pulling fs layer 11:29:15 5c3c966382ef: Pulling fs layer 11:29:15 4f4fb700ef54: Pulling fs layer 11:29:15 d9c7d2e4e75e: Pulling fs layer 11:29:15 9c3e1370e548: Pulling fs layer 11:29:15 4f4fb700ef54: Waiting 11:29:15 d9c7d2e4e75e: Waiting 11:29:15 4cc291be95ef: Verifying Checksum 11:29:15 4cc291be95ef: Download complete 11:29:15 5c3c966382ef: Verifying Checksum 11:29:15 5c3c966382ef: Download complete 11:29:15 4f4fb700ef54: Verifying Checksum 11:29:15 4f4fb700ef54: Download complete 11:29:15 43c4264eed91: Download complete 11:29:15 43c4264eed91: Pull complete 11:29:15 d9c7d2e4e75e: Verifying Checksum 11:29:15 d9c7d2e4e75e: Download complete 11:29:15 4cc291be95ef: Pull complete 11:29:16 2ac1f1163629: Download complete 11:29:16 9c3e1370e548: Verifying Checksum 11:29:16 9c3e1370e548: Download complete 11:29:20 2ac1f1163629: Pull complete 11:29:20 5c3c966382ef: Pull complete 11:29:20 4f4fb700ef54: Pull complete 11:29:20 d9c7d2e4e75e: Pull complete 11:29:23 9c3e1370e548: Pull complete 11:29:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 11:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 11:29:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:23 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:29:23 $ 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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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:latest cat 11:29:26 $ docker top bef512bb347516732fc86e63d19648297e85cb051dd2631dc4e39c79637208b2 -eo pid,comm [Pipeline] { [Pipeline] sh 11:29:26 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_odessa [Pipeline] echo 11:29:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:odessa' [Pipeline] sh 11:29:26 + set -o pipefail 11:29:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:odessa' 11:29:30 11:29:30 Monitoring /w/workspace/edgexfoundry_device-gpio_odessa (github.com/edgexfoundry/device-gpio)... 11:29:30 11:29:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/620c5184-7817-481e-8c97-94c6567935ff/history/009f8856-ca76-411f-bc9f-9751a7af3767 11:29:30 11:29:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:29:30 11:29:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:29:30 11:29:30 11:29:30 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 11:29:30 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 11:29:31 $ docker stop --time=1 bef512bb347516732fc86e63d19648297e85cb051dd2631dc4e39c79637208b2 11:29:32 $ docker rm -f --volumes bef512bb347516732fc86e63d19648297e85cb051dd2631dc4e39c79637208b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:29:33 + git log --format=format:%s -1 999ef3d11ad738bdf74684299325b745b91d47d8 [Pipeline] sh 11:29:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:34 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:29:34 $ docker top 7e0bdc2f83d7c461fa5132ea35933eeed5c46ce339f8621c77f9781a3850eb17 -eo pid,comm 11:29:34 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). 11:29:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:34 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:34 + git semver [Pipeline] } 11:29:35 $ docker stop --time=1 7e0bdc2f83d7c461fa5132ea35933eeed5c46ce339f8621c77f9781a3850eb17 11:29:36 $ docker rm -f --volumes 7e0bdc2f83d7c461fa5132ea35933eeed5c46ce339f8621c77f9781a3850eb17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:36 11:29:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:37 0.23.1-centos7: Pulling from edgex-lftools 11:29:37 ab5ef0e58194: Pulling fs layer 11:29:37 9712f1f96733: Pulling fs layer 11:29:37 63f879dbbcfc: Pulling fs layer 11:29:37 0d9ebad4ef96: Pulling fs layer 11:29:37 e9a5061849ea: Pulling fs layer 11:29:37 d747dcd14b5f: Pulling fs layer 11:29:37 2de7ff778b66: Pulling fs layer 11:29:37 d747dcd14b5f: Waiting 11:29:37 e9a5061849ea: Waiting 11:29:37 2de7ff778b66: Waiting 11:29:37 9712f1f96733: Verifying Checksum 11:29:37 9712f1f96733: Download complete 11:29:37 63f879dbbcfc: Download complete 11:29:37 0d9ebad4ef96: Verifying Checksum 11:29:37 0d9ebad4ef96: Download complete 11:29:37 e9a5061849ea: Download complete 11:29:37 d747dcd14b5f: Download complete 11:29:37 ab5ef0e58194: Verifying Checksum 11:29:37 ab5ef0e58194: Download complete 11:29:37 2de7ff778b66: Verifying Checksum 11:29:37 2de7ff778b66: Download complete 11:29:41 ab5ef0e58194: Pull complete 11:29:41 9712f1f96733: Pull complete 11:29:41 63f879dbbcfc: Pull complete 11:29:45 0d9ebad4ef96: Pull complete 11:29:45 e9a5061849ea: Pull complete 11:29:45 d747dcd14b5f: Pull complete 11:29:46 2de7ff778b66: Pull complete 11:29:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:29:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:46 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:29:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:29:49 $ docker top 75f5ec82fbe326454383f54489ddb4436f92dbe8f8501613493dcdf0bb123017 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:29:49 provisioning config files... 11:29:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config10056081749525116666tmp 11:29:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config8298434784241911641tmp 11:29:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config2088681216176441169tmp [Pipeline] { [Pipeline] echo 11:29:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:29:49 ---> sigul-configuration.sh 11:29:49 gpg: directory `/root/.gnupg' created 11:29:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:29:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:29:49 gpg: keyring `/root/.gnupg/secring.gpg' created 11:29:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:29:49 gpg: CAST5 encrypted data 11:29:49 gpg: encrypted with 1 passphrase 11:29:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:29:50 + mkdir /home/jenkins 11:29:50 + mkdir /home/jenkins/sigul [Pipeline] sh 11:29:50 + 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 11:29:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:29:50 ---> sigul-install.sh 11:29:50 Sigul already installed; skipping installation. [Pipeline] sh 11:29:51 + git tag --list 11:29:51 v1.0.0 11:29:51 v2.1.0 11:29:51 v2.1.1 11:29:51 v2.2.0 11:29:51 v2.3.0 11:29:51 v3.0 11:29:51 v3.0.0 11:29:51 v3.1 11:29:51 v3.1.0 11:29:51 v3.1.0-dev.1 11:29:51 v3.1.0-dev.10 11:29:51 v3.1.0-dev.11 11:29:51 v3.1.0-dev.12 11:29:51 v3.1.0-dev.13 11:29:51 v3.1.0-dev.14 11:29:51 v3.1.0-dev.15 11:29:51 v3.1.0-dev.16 11:29:51 v3.1.0-dev.17 11:29:51 v3.1.0-dev.18 11:29:51 v3.1.0-dev.19 11:29:51 v3.1.0-dev.2 11:29:51 v3.1.0-dev.20 11:29:51 v3.1.0-dev.21 11:29:51 v3.1.0-dev.22 11:29:51 v3.1.0-dev.23 11:29:51 v3.1.0-dev.24 11:29:51 v3.1.0-dev.25 11:29:51 v3.1.0-dev.26 11:29:51 v3.1.0-dev.3 11:29:51 v3.1.0-dev.4 11:29:51 v3.1.0-dev.5 11:29:51 v3.1.0-dev.6 11:29:51 v3.1.0-dev.7 11:29:51 v3.1.0-dev.8 11:29:51 v3.1.0-dev.9 11:29:51 v3.1.1 11:29:51 v3.1.1-dev.1 11:29:51 v3.2.0-dev.1 11:29:51 v3.2.0-dev.10 11:29:51 v3.2.0-dev.11 11:29:51 v3.2.0-dev.12 11:29:51 v3.2.0-dev.13 11:29:51 v3.2.0-dev.2 11:29:51 v3.2.0-dev.3 11:29:51 v3.2.0-dev.4 11:29:51 v3.2.0-dev.5 11:29:51 v3.2.0-dev.6 11:29:51 v3.2.0-dev.7 11:29:51 v3.2.0-dev.8 11:29:51 v3.2.0-dev.9 11:29:51 v4.0 11:29:51 v4.0.0 11:29:51 v4.0.0-dev.1 11:29:51 v4.0.0-dev.2 11:29:51 v4.0.0-dev.3 11:29:51 v4.0.0-dev.4 [Pipeline] sh 11:29:51 + lftools sign git-tag v4.0.0 11:29:52 Signing Git tag with Sigul... 11:29:52 Signing v4.0.0 [Pipeline] echo 11:29:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:29:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:29:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:29:52 $ docker stop --time=1 75f5ec82fbe326454383f54489ddb4436f92dbe8f8501613493dcdf0bb123017 11:29:53 $ docker rm -f --volumes 75f5ec82fbe326454383f54489ddb4436f92dbe8f8501613493dcdf0bb123017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:29:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:54 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:29:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:29:55 $ docker top 1be345f3cac9f40a5a7534de368ae7db2fc128f3a245e408561f87a769f94f11 -eo pid,comm 11:29:55 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). 11:29:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:55 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:55 + git semver [Pipeline] } 11:29:55 $ docker stop --time=1 1be345f3cac9f40a5a7534de368ae7db2fc128f3a245e408561f87a769f94f11 11:29:57 $ docker rm -f --volumes 1be345f3cac9f40a5a7534de368ae7db2fc128f3a245e408561f87a769f94f11 [Pipeline] // withDockerContainer [Pipeline] sh 11:29:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:29:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:29:57 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:29:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:29:58 $ docker top e69b67b592091c0722f6ee5096eaf089997336439ee2d58837efd574fd544bf8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:29:58 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v4.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:29:58 + git semver [Pipeline] } 11:29:58 $ docker stop --time=1 e69b67b592091c0722f6ee5096eaf089997336439ee2d58837efd574fd544bf8 11:30:00 $ docker rm -f --volumes e69b67b592091c0722f6ee5096eaf089997336439ee2d58837efd574fd544bf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:30:00 + [ -d /w/workspace/edgexfoundry_device-gpio_odessa/archives ] 11:30:00 + ls -al /w/workspace/edgexfoundry_device-gpio_odessa/archives 11:30:00 total 16 11:30:00 drwxr-xr-x 3 root root 4096 Mar 12 11:12 . 11:30:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:29 .. 11:30:00 drwxr-xr-x 2 root root 4096 Mar 12 11:12 cost 11:30:00 -rw-r--r-- 1 root root 83 Mar 12 11:12 cost.csv 11:30:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_odessa/archives 11:30:00 + ls -al /w/workspace/edgexfoundry_device-gpio_odessa/archives 11:30:00 total 16 11:30:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 11:12 . 11:30:00 drwxrwxr-x 10 jenkins jenkins 4096 Mar 12 11:29 .. 11:30:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 11:12 cost 11:30:00 -rw-r--r-- 1 jenkins jenkins 83 Mar 12 11:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:30:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:30:01 ---> package-listing.sh 11:30:01 ++ facter osfamily 11:30:01 ++ tr '[:upper:]' '[:lower:]' 11:30:01 + OS_FAMILY=debian 11:30:01 + workspace=/w/workspace/edgexfoundry_device-gpio_odessa 11:30:01 + START_PACKAGES=/tmp/packages_start.txt 11:30:01 + END_PACKAGES=/tmp/packages_end.txt 11:30:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:30:01 + PACKAGES=/tmp/packages_start.txt 11:30:01 + '[' /w/workspace/edgexfoundry_device-gpio_odessa ']' 11:30:01 + PACKAGES=/tmp/packages_end.txt 11:30:01 + case "${OS_FAMILY}" in 11:30:01 + dpkg -l 11:30:01 + grep '^ii' 11:30:02 + '[' -f /tmp/packages_start.txt ']' 11:30:02 + '[' -f /tmp/packages_end.txt ']' 11:30:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:30:02 + '[' /w/workspace/edgexfoundry_device-gpio_odessa ']' 11:30:02 + mkdir -p /w/workspace/edgexfoundry_device-gpio_odessa/archives/ 11:30:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_odessa/archives/ [Pipeline] echo 11:30:02 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_odessa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:30:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:30:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:30:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:30:03 prd-ubuntu20.04-docker-8c-8g-41151 does not seem to be running inside a container 11:30:03 $ 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_odessa/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_odessa -v /w/workspace/edgexfoundry_device-gpio_odessa:/w/workspace/edgexfoundry_device-gpio_odessa:rw,z -v /w/workspace/edgexfoundry_device-gpio_odessa@tmp:/w/workspace/edgexfoundry_device-gpio_odessa@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 11:30:03 $ docker top a9c0e7b4760389ef2587f9e4958598a639655caaf634e2b470895d8c7f10401e -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:03 + touch /tmp/pre-build-complete [Pipeline] sh 11:30:03 + mkdir -p /var/log/sysstat [Pipeline] sh 11:30:04 + ls /var/log/sa-host 11:30:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:30:04 provisioning config files... 11:30:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_odessa@tmp/config9715435946693913433tmp [Pipeline] { [Pipeline] echo 11:30:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:30:04 ---> create-netrc.sh [Pipeline] } 11:30:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:30:04 ---> python-tools-install.sh [Pipeline] echo 11:30:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:30:05 ---> sudo-logs.sh 11:30:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:30:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:30:05 ---> job-cost.sh 11:30:05 lf-activate-venv: SKIPPING 11:30:05 DEBUG: total: 0.2199999988079071 11:30:05 INFO: Retrieving Stack Cost... 11:30:06 INFO: Retrieving Pricing Info for: v3-standard-8 11:30:06 INFO: Archiving Costs [Pipeline] echo 11:30:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:30:06 ---> logs-deploy.sh 11:30:06 lf-activate-venv: SKIPPING 11:30:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/odessa/4 11:30:06 INFO: archiving workspace using pattern(s): 11:30:07 Archives upload complete. 11:30:07 INFO: archiving logs to Nexus