Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99341b55b6a412f9218defbeb1518dbc282c704d 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-ssh16521133896285678772.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-ssh9733391061119924509.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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1077995838124558083.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-ssh12691785054302524290.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13121756866927068505.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40981 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 99341b55b6a412f9218defbeb1518dbc282c704d (main) Commit message: "Merge pull request #250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" > 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 99341b55b6a412f9218defbeb1518dbc282c704d # timeout=10 > git rev-list --no-walk a47bf9256c62d18f557478b0cd646d555129a6a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:52:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:53 ========================================================= 01:52:53 EdgeX Global Pipelines Version Info 01:52:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:54 ------------------- 01:52:54 stable info: 01:52:54 ------------------- 01:52:54 Commited By: Cherry Wang cherry@iotechsys.com 01:52:54 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 01:52:54 Message: update stable to v1.0.271 01:52:54 ------------------- 01:52:54 experimental info: 01:52:54 ------------------- 01:52:54 Commited By: **** collab-it+edgex@linuxfoundation.org 01:52:54 Commit SHA: 1fb09f2f04337f862ccd4ddbc4d09c840662fcaa 01:52:54 Message: update experimental to v1.0.271 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99341b5 [Pipeline] echo 01:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:55 provisioning config files... 01:52:55 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5598282168392212065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:56 ---> ****-login.sh 01:52:56 nexus3.edgexfoundry.org:10001 01:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:56 Configure a credential helper to remove this warning. See 01:52:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:56 01:52:56 Login Succeeded 01:52:56 nexus3.edgexfoundry.org:10002 01:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:56 Configure a credential helper to remove this warning. See 01:52:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:56 01:52:56 Login Succeeded 01:52:56 nexus3.edgexfoundry.org:10003 01:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:56 Configure a credential helper to remove this warning. See 01:52:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:56 01:52:56 Login Succeeded 01:52:56 nexus3.edgexfoundry.org:10004 01:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:57 Configure a credential helper to remove this warning. See 01:52:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:57 01:52:57 Login Succeeded 01:52:57 ****.io 01:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:57 Configure a credential helper to remove this warning. See 01:52:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:57 01:52:57 Login Succeeded 01:52:57 ---> ****-login.sh ends [Pipeline] } 01:52:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:57 + git rev-list -1 --merges 99341b55b6a412f9218defbeb1518dbc282c704d~1..99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] echo 01:52:57 -----------> git rev-list -1 --merges 99341b55b6a412f9218defbeb1518dbc282c704d~1..99341b55b6a412f9218defbeb1518dbc282c704d 99341b55b6a412f9218defbeb1518dbc282c704d 01:52:57 99341b55b6a412f9218defbeb1518dbc282c704d [false] [Pipeline] sh 01:52:58 + git log --format=format:%s -1 99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] echo 01:52:58 ========================================================= 01:52:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:58 + git log --format=format:%s -1 99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] echo 01:52:58 [semverPrep] GIT_COMMIT: 99341b55b6a412f9218defbeb1518dbc282c704d, Commit Message: Merge pull request #250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0 [Pipeline] echo 01:52:58 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:58 + grep -v github /etc/ssh/ssh_known_hosts 01:52:58 + [ -e /tmp/ssh_known_hosts ] 01:52:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:52:58 + sudo tee -a /etc/ssh/ssh_known_hosts 01:52:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:59 01:52:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:59 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:59 b85a868b505f: Pulling fs layer 01:52:59 e2be974225ed: Pulling fs layer 01:52:59 339a4e72a1f5: Pulling fs layer 01:52:59 988bab9f4d93: Pulling fs layer 01:52:59 1469e6f7b9e6: Pulling fs layer 01:52:59 eaf3925da568: Pulling fs layer 01:52:59 bab4dde63d76: Pulling fs layer 01:52:59 bde34c3a00c8: Pulling fs layer 01:52:59 b352a97aabf1: Pulling fs layer 01:52:59 4872d77fe225: Pulling fs layer 01:52:59 5851b861e8e6: Pulling fs layer 01:52:59 988bab9f4d93: Waiting 01:52:59 1469e6f7b9e6: Waiting 01:52:59 bde34c3a00c8: Waiting 01:52:59 b352a97aabf1: Waiting 01:52:59 eaf3925da568: Waiting 01:52:59 bab4dde63d76: Waiting 01:52:59 4872d77fe225: Waiting 01:52:59 5851b861e8e6: Waiting 01:52:59 e2be974225ed: Verifying Checksum 01:52:59 e2be974225ed: Download complete 01:52:59 988bab9f4d93: Verifying Checksum 01:52:59 988bab9f4d93: Download complete 01:52:59 1469e6f7b9e6: Verifying Checksum 01:52:59 1469e6f7b9e6: Download complete 01:52:59 339a4e72a1f5: Verifying Checksum 01:52:59 339a4e72a1f5: Download complete 01:52:59 eaf3925da568: Verifying Checksum 01:52:59 eaf3925da568: Download complete 01:52:59 bde34c3a00c8: Download complete 01:52:59 b352a97aabf1: Verifying Checksum 01:52:59 b352a97aabf1: Download complete 01:52:59 4872d77fe225: Download complete 01:52:59 5851b861e8e6: Download complete 01:52:59 b85a868b505f: Verifying Checksum 01:52:59 b85a868b505f: Download complete 01:53:00 bab4dde63d76: Verifying Checksum 01:53:00 bab4dde63d76: Download complete 01:53:00 b85a868b505f: Pull complete 01:53:00 e2be974225ed: Pull complete 01:53:01 339a4e72a1f5: Pull complete 01:53:01 988bab9f4d93: Pull complete 01:53:01 1469e6f7b9e6: Pull complete 01:53:02 eaf3925da568: Pull complete 01:53:03 bab4dde63d76: Pull complete 01:53:03 bde34c3a00c8: Pull complete 01:53:03 b352a97aabf1: Pull complete 01:53:03 4872d77fe225: Pull complete 01:53:03 5851b861e8e6: Pull complete 01:53:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:53:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:53:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:04 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 01:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:53:06 $ docker top 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 -eo pid,comm 01:53:06 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). 01:53:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:53:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:06 [ssh-agent] Looking for ssh-agent implementation... 01:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:07 $ docker exec 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 ssh-agent 01:53:07 SSH_AUTH_SOCK=/tmp/ssh-P5nD2trkFp0B/agent.33 01:53:07 SSH_AGENT_PID=39 01:53:07 Running ssh-add (command line suppressed) 01:53:07 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11776017798328805870.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_11776017798328805870.key) 01:53:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:07 + git tag --points-at HEAD [Pipeline] } 01:53:07 $ docker exec --env ******** --env ******** 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 ssh-agent -k 01:53:07 unset SSH_AUTH_SOCK; 01:53:07 unset SSH_AGENT_PID; 01:53:07 echo Agent pid 39 killed; 01:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:53:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:07 [ssh-agent] Looking for ssh-agent implementation... 01:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:07 $ docker exec 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 ssh-agent 01:53:08 SSH_AUTH_SOCK=/tmp/ssh-TKy86n7tTN3i/agent.72 01:53:08 SSH_AGENT_PID=78 01:53:08 Running ssh-add (command line suppressed) 01:53:08 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5120630081969442967.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_5120630081969442967.key) 01:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:10 + git semver init 01:53:10 2025-03-12 01:53:09,309 [run_init] DEBUG init version:0.0.0 force:False 01:53:10 2025-03-12 01:53:09,310 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 01:53:10 2025-03-12 01:53:09,310 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 01:53:10 2025-03-12 01:53:09,310 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-gpio.git', '/w/workspace/edgexfoundry_device-gpio_main/.semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 01:53:17 2025-03-12 01:53:16,754 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 01:53:17 2025-03-12 01:53:16,755 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 01:53:17 2025-03-12 01:53:16,755 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:53:17 2025-03-12 01:53:16,755 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 01:53:17 4.0.0-dev.4 [Pipeline] } 01:53:17 $ docker exec --env ******** --env ******** 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 ssh-agent -k 01:53:17 unset SSH_AUTH_SOCK; 01:53:17 unset SSH_AGENT_PID; 01:53:17 echo Agent pid 78 killed; 01:53:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:53:17 + git semver [Pipeline] } 01:53:17 $ docker stop --time=1 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 01:53:20 $ docker rm -f --volumes 216436578c37454becd10058438190c28be3808e488f60823eb9a0f881ed2399 [Pipeline] // withDockerContainer [Pipeline] sh 01:53:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:53:20 Stashed 1 file(s) [Pipeline] echo 01:53:20 [edgeXSemver]: initialized semver on version 4.0.0-dev.4 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:20 provisioning config files... 01:53:20 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10390514372909454448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:21 ---> ****-login.sh 01:53:21 nexus3.edgexfoundry.org:10001 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10002 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10003 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 nexus3.edgexfoundry.org:10004 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 ****.io 01:53:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:53:21 Configure a credential helper to remove this warning. See 01:53:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:53:21 01:53:21 Login Succeeded 01:53:21 ---> ****-login.sh ends [Pipeline] } 01:53:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:53:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:53:21 ========================================================= 01:53:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 01:53:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:53:22 Sending build context to Docker daemon 30.44MB 01:53:22 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:53:22 Step 2/12 : FROM ${BASE} AS builder 01:53:22 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 01:53:22 da9db072f522: Pulling fs layer 01:53:22 6ef4a4ee8ca5: Pulling fs layer 01:53:22 06f05ace1117: Pulling fs layer 01:53:22 5fe327b54edc: Pulling fs layer 01:53:22 4f4fb700ef54: Pulling fs layer 01:53:22 92a5565b7b96: Pulling fs layer 01:53:22 ff9bb7016b71: Pulling fs layer 01:53:22 b67dba6c2c7d: Pulling fs layer 01:53:22 a813b0c90790: Pulling fs layer 01:53:22 5fe327b54edc: Waiting 01:53:22 b67dba6c2c7d: Waiting 01:53:22 a813b0c90790: Waiting 01:53:22 4f4fb700ef54: Waiting 01:53:22 ff9bb7016b71: Waiting 01:53:22 6ef4a4ee8ca5: Verifying Checksum 01:53:22 6ef4a4ee8ca5: Download complete 01:53:22 5fe327b54edc: Download complete 01:53:22 4f4fb700ef54: Verifying Checksum 01:53:22 4f4fb700ef54: Download complete 01:53:22 da9db072f522: Verifying Checksum 01:53:22 da9db072f522: Download complete 01:53:22 92a5565b7b96: Download complete 01:53:22 ff9bb7016b71: Verifying Checksum 01:53:22 ff9bb7016b71: Download complete 01:53:22 da9db072f522: Pull complete 01:53:22 a813b0c90790: Verifying Checksum 01:53:22 a813b0c90790: Download complete 01:53:22 6ef4a4ee8ca5: Pull complete 01:53:22 06f05ace1117: Verifying Checksum 01:53:22 06f05ace1117: Download complete 01:53:23 b67dba6c2c7d: Verifying Checksum 01:53:23 b67dba6c2c7d: Download complete 01:53:26 06f05ace1117: Pull complete 01:53:26 5fe327b54edc: Pull complete 01:53:26 4f4fb700ef54: Pull complete 01:53:26 92a5565b7b96: Pull complete 01:53:26 ff9bb7016b71: Pull complete 01:53:29 b67dba6c2c7d: Pull complete 01:53:29 a813b0c90790: Pull complete 01:53:29 Digest: sha256:964ace759d82d3ebab8e83e8290b66622521f026e03af45cdd06fa8134ce19f9 01:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 01:53:29 ---> 3ba60ce46760 01:53:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:53:34 ---> Running in 15754ca11481 01:53:34 Removing intermediate container 15754ca11481 01:53:34 ---> 77b97646d341 01:53:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:34 ---> Running in ff46d7a4e7a0 01:53:35 Removing intermediate container ff46d7a4e7a0 01:53:35 ---> 70723fb567f9 01:53:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:53:35 ---> Running in 86cab4a9d7fc 01:53:35 Removing intermediate container 86cab4a9d7fc 01:53:35 ---> 5d2b48e77d48 01:53:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:53:35 ---> Running in c35face547e8 01:53:35 Removing intermediate container c35face547e8 01:53:35 ---> d64814d62ab3 01:53:35 Step 7/12 : WORKDIR /device-gpio 01:53:35 ---> Running in e1f277d7e336 01:53:35 Removing intermediate container e1f277d7e336 01:53:35 ---> bea9dbfc60fa 01:53:35 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:35 ---> Running in 40446345bbb3 01:53:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:53:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:53:35 Still waiting to schedule task 01:53:35 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-40973’ 01:53:36 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:53:36 (2/4) Installing libedit (20240517.3.1-r0) 01:53:36 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:53:36 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:53:36 Executing busybox-1.36.1-r29.trigger 01:53:36 OK: 252 MiB in 62 packages 01:53:36 Removing intermediate container 40446345bbb3 01:53:36 ---> c3f073d521ee 01:53:36 Step 9/12 : COPY go.mod vendor* ./ 01:53:36 ---> bb6478c4d267 01:53:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:36 ---> Running in f5cbb33e215f 01:54:23 Removing intermediate container f5cbb33e215f 01:54:23 ---> 2076634247c4 01:54:23 Step 11/12 : COPY . . 01:54:23 ---> 3475d120d758 01:54:23 Step 12/12 : RUN ${MAKE} 01:54:23 ---> Running in b316dfecfba1 01:54:23 noop 01:54:23 Removing intermediate container b316dfecfba1 01:54:23 ---> be7a72d63387 01:54:23 Successfully built be7a72d63387 01:54:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:23 + docker inspect -f . ci-base-image-x86_64 01:54:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:23 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 01:54:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:54:24 $ docker top 2e5be5c21c9dd69944922aae930b3169815f582362a815a2457d1198c40ae6d5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:24 + go version 01:54:24 go version go1.23.4 linux/amd64 [Pipeline] } 01:54:24 $ docker stop --time=1 2e5be5c21c9dd69944922aae930b3169815f582362a815a2457d1198c40ae6d5 01:54:25 $ docker rm -f --volumes 2e5be5c21c9dd69944922aae930b3169815f582362a815a2457d1198c40ae6d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:26 + docker inspect -f . ci-base-image-x86_64 01:54:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:26 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 01:54:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:54:26 $ docker top 834245f24e4b27fdef170583a0171ba71244869b221f403921f62678a11f2dfa -eo pid,comm [Pipeline] { [Pipeline] sh 01:54:27 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 01:54:27 + make test 01:54:27 go test ./... -coverprofile=coverage.out ./... 01:54:28 ? github.com/edgexfoundry/device-gpio [no test files] 01:54:46 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 01:54:46 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 01:54:55 go vet ./... 01:55:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:00 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 01:55:00 $ docker stop --time=1 834245f24e4b27fdef170583a0171ba71244869b221f403921f62678a11f2dfa 01:55:14 $ docker rm -f --volumes 834245f24e4b27fdef170583a0171ba71244869b221f403921f62678a11f2dfa [Pipeline] // withDockerContainer [Pipeline] sh 01:55:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:15 + ls -al . 01:55:15 total 224 01:55:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 01:54 . 01:55:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 01:52 .. 01:55:15 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 01:52 .dockerignore 01:55:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 01:54 .git 01:55:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:52 .github 01:55:15 -rw-rw-r-- 1 jenkins jenkins 277 Mar 12 01:52 .gitignore 01:55:15 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 01:52 .golangci.yml 01:55:15 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 01:53 .semver 01:55:15 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 01:52 Attribution.txt 01:55:15 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 01:52 CHANGELOG.md 01:55:15 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 01:52 Dockerfile 01:55:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 01:52 GOVERNANCE.md 01:55:15 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 01:52 Jenkinsfile 01:55:15 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 01:52 LICENSE 01:55:15 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 01:52 Makefile 01:55:15 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 01:52 OWNERS.md 01:55:15 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 01:52 README.md 01:55:15 -rw-rw-r-- 1 jenkins jenkins 11 Mar 12 01:53 VERSION 01:55:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 01:52 bin 01:55:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:52 cmd 01:55:15 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 01:54 coverage.out 01:55:15 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 01:52 go.mod 01:55:15 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 01:52 go.sum 01:55:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:52 internal 01:55:15 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:16 + 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=99341b55b6a412f9218defbeb1518dbc282c704d --label arch=amd64 --label version=4.0.0-dev.4 . 01:55:16 Sending build context to Docker daemon 30.45MB 01:55:16 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 01:55:16 Step 2/26 : FROM ${BASE} AS builder 01:55:16 ---> be7a72d63387 01:55:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 01:55:18 ---> Running in 8a2938fa395c 01:55:19 Removing intermediate container 8a2938fa395c 01:55:19 ---> ac21c4cda762 01:55:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:55:20 ---> Running in 3e7ee888af46 01:55:21 Removing intermediate container 3e7ee888af46 01:55:21 ---> 838a5d2928e8 01:55:21 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:55:21 ---> Running in 11ac18dd917f 01:55:22 Removing intermediate container 11ac18dd917f 01:55:22 ---> 3b708fdc7b08 01:55:22 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 01:55:23 ---> Running in e6dd3d003d5e 01:55:24 Removing intermediate container e6dd3d003d5e 01:55:24 ---> 5d9a5ffb432a 01:55:24 Step 7/26 : WORKDIR /device-gpio 01:55:24 ---> Running in 6cdb2d6ba578 01:55:25 Removing intermediate container 6cdb2d6ba578 01:55:25 ---> df5fbe6bd5e2 01:55:25 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:55:25 ---> Running in 20db4385ef35 01:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:55:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:55:27 OK: 252 MiB in 62 packages 01:55:29 Removing intermediate container 20db4385ef35 01:55:29 ---> fef8a1995829 01:55:29 Step 9/26 : COPY go.mod vendor* ./ 01:55:29 ---> 7e81a80e3986 01:55:29 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:30 ---> Running in 5c8d107c636b 01:55:33 Removing intermediate container 5c8d107c636b 01:55:33 ---> 8ff7d02ca49d 01:55:33 Step 11/26 : COPY . . 01:55:35 ---> 2be29fc46613 01:55:35 Step 12/26 : RUN ${MAKE} 01:55:36 ---> Running in ddc79011f6a1 01:55:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 01:56:22 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40983 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 01:56:22 Running in /w/workspace/device-gpio/130 [Pipeline] { [Pipeline] checkout 01:56:23 Removing intermediate container ddc79011f6a1 01:56:23 ---> 97527b970482 01:56:23 Step 13/26 : FROM alpine:3.20 01:56:23 3.20: Pulling from library/alpine 01:56:23 0a9a5dfd008f: Pulling fs layer 01:56:23 0a9a5dfd008f: Verifying Checksum 01:56:23 0a9a5dfd008f: Download complete 01:56:23 0a9a5dfd008f: Pull complete 01:56:23 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 01:56:23 Status: Downloaded newer image for alpine:3.20 01:56:23 ---> ff221270b9fb 01:56:23 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 01:56:23 ---> Running in 719b227172f5 01:56:23 Removing intermediate container 719b227172f5 01:56:23 ---> c4be4e7c701b 01:56:23 Step 15/26 : RUN apk add --update --no-cache dumb-init 01:56:24 ---> Running in 713e069f1688 01:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:25 (1/1) Installing dumb-init (1.2.5-r3) 01:56:25 Executing busybox-1.36.1-r29.trigger 01:56:25 OK: 8 MiB in 15 packages 01:56:25 The recommended git tool is: git 01:56:27 Removing intermediate container 713e069f1688 01:56:27 ---> 54582bc2ce28 01:56:27 Step 16/26 : RUN apk --no-cache upgrade 01:56:27 ---> Running in 0060c63048a1 01:56:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 01:56:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 01:56:28 OK: 8 MiB in 15 packages 01:56:30 Removing intermediate container 0060c63048a1 01:56:30 ---> 587544da6a61 01:56:30 Step 17/26 : WORKDIR / 01:56:30 using credential edgex-jenkins-ssh 01:56:30 Cloning the remote Git repository 01:56:31 ---> Running in d510169c154c 01:56:30 Cloning repository git@github.com:edgexfoundry/device-gpio.git 01:56:30 > git init /w/workspace/device-gpio/130 # timeout=10 01:56:30 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 01:56:30 > git --version # timeout=10 01:56:30 > git --version # 'git version 2.25.1' 01:56:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:32 Removing intermediate container d510169c154c 01:56:32 ---> f21802f77133 01:56:32 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 01:56:32 ---> 8ac16405546a 01:56:32 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 01:56:34 ---> 7fb029ee398d 01:56:34 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 01:56:34 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 01:56:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:35 Avoid second fetch 01:56:35 Checking out Revision 99341b55b6a412f9218defbeb1518dbc282c704d (main) 01:56:35 > git config core.sparsecheckout # timeout=10 01:56:35 > git checkout -f 99341b55b6a412f9218defbeb1518dbc282c704d # timeout=10 01:56:35 Commit message: "Merge pull request #250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v4-4.0.0" 01:56:37 ---> b520bd527ad9 01:56:37 Step 21/26 : EXPOSE 59910 01:56:37 ---> Running in 45dfb0140074 01:56:37 Removing intermediate container 45dfb0140074 01:56:37 ---> eb0bbb5f1ac6 01:56:37 Step 22/26 : ENTRYPOINT ["/device-gpio"] 01:56:38 ---> Running in e5ca2c3558db 01:56:39 Removing intermediate container e5ca2c3558db 01:56:39 ---> d0d72e086337 01:56:39 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 01:56:40 ---> Running in 81536232b708 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:56:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:56:40 Dload Upload Total Spent Left Speed 01:56:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 95022 0 --:--:-- --:--:-- --:--:-- 95022 [Pipeline] sh 01:56:40 Removing intermediate container 81536232b708 01:56:40 ---> b018ef400b25 01:56:40 Step 24/26 : LABEL arch=amd64 01:56:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:56:41 ---> Running in 04425447eca8 01:56:41 + sudo tee /etc/docker/daemon.new 01:56:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:56:41 { 01:56:41 "registry-mirrors": [ 01:56:41 "https://nexus3.edgexfoundry.org:10001" 01:56:41 ], 01:56:41 "bip": "10.250.0.254/24", 01:56:41 "hosts": [ 01:56:41 "tcp://0.0.0.0:5555", 01:56:41 "unix:///var/run/docker.sock" 01:56:41 ], 01:56:41 "mtu": 1458, 01:56:41 "selinux-enabled": true, 01:56:41 "seccomp-profile": "/etc/docker/seccomp.json" 01:56:41 } [Pipeline] sh 01:56:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:56:41 Removing intermediate container 04425447eca8 01:56:41 ---> f473e7501519 01:56:41 Step 25/26 : LABEL git_sha=99341b55b6a412f9218defbeb1518dbc282c704d 01:56:42 + sudo service docker restart 01:56:42 ---> Running in 7b849db29526 01:56:43 Removing intermediate container 7b849db29526 01:56:43 ---> cfd74f9a2f99 01:56:43 Step 26/26 : LABEL version=4.0.0-dev.4 01:56:43 ---> Running in 846b1fb2fc8f 01:56:44 Removing intermediate container 846b1fb2fc8f 01:56:44 ---> aa353fb7375f 01:56:44 [Warning] One or more build-args [ARCH] were not consumed 01:56:44 Successfully built aa353fb7375f 01:56:44 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:44 provisioning config files... 01:56:44 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config519108930249170177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:45 ---> ****-login.sh 01:56:45 nexus3.edgexfoundry.org:10001 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 nexus3.edgexfoundry.org:10002 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 nexus3.edgexfoundry.org:10003 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 nexus3.edgexfoundry.org:10004 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 ****.io 01:56:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:45 Configure a credential helper to remove this warning. See 01:56:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:45 01:56:45 Login Succeeded 01:56:45 ---> ****-login.sh ends [Pipeline] } 01:56:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:56:45 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 01:56:45 99341b55b6a412f9218defbeb1518dbc282c704d 01:56:45 latest 01:56:45 4.0.0-dev.4 01:56:45 99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 01:56:45 main 01:56:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:46 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:46 + docker push nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d 01:56:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:56:46 110c36511988: Preparing 01:56:46 326a7ba87080: Preparing 01:56:46 10d8ba197d93: Preparing 01:56:46 65ca5361e534: Preparing 01:56:46 c2ac1989f44f: Preparing 01:56:46 994456c4fd7b: Preparing 01:56:46 994456c4fd7b: Waiting 01:56:46 326a7ba87080: Pushed 01:56:46 c2ac1989f44f: Pushed 01:56:46 10d8ba197d93: Pushed 01:56:46 65ca5361e534: Pushed 01:56:47 994456c4fd7b: Layer already exists 01:56:50 110c36511988: Pushed 01:56:50 99341b55b6a412f9218defbeb1518dbc282c704d: digest: sha256:55c96dee7c014d2ce6b351d734fd1bbcfff6cd44042c02c3a0ce2515c620d25a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:50 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:50 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 01:56:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:56:50 110c36511988: Preparing 01:56:50 326a7ba87080: Preparing 01:56:50 10d8ba197d93: Preparing 01:56:50 65ca5361e534: Preparing 01:56:50 c2ac1989f44f: Preparing 01:56:50 994456c4fd7b: Preparing 01:56:50 994456c4fd7b: Waiting 01:56:50 326a7ba87080: Layer already exists 01:56:50 110c36511988: Layer already exists 01:56:50 c2ac1989f44f: Layer already exists 01:56:50 10d8ba197d93: Layer already exists 01:56:50 65ca5361e534: Layer already exists 01:56:50 994456c4fd7b: Layer already exists 01:56:50 latest: digest: sha256:55c96dee7c014d2ce6b351d734fd1bbcfff6cd44042c02c3a0ce2515c620d25a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:51 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:51 + docker push nexus3.edgexfoundry.org:10004/device-gpio:4.0.0-dev.4 01:56:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:56:51 110c36511988: Preparing 01:56:51 326a7ba87080: Preparing 01:56:51 10d8ba197d93: Preparing 01:56:51 65ca5361e534: Preparing 01:56:51 c2ac1989f44f: Preparing 01:56:51 994456c4fd7b: Preparing 01:56:51 994456c4fd7b: Waiting 01:56:51 c2ac1989f44f: Layer already exists 01:56:51 10d8ba197d93: Layer already exists 01:56:51 326a7ba87080: Layer already exists 01:56:51 65ca5361e534: Layer already exists 01:56:51 110c36511988: Layer already exists 01:56:51 994456c4fd7b: Layer already exists 01:56:51 4.0.0-dev.4: digest: sha256:55c96dee7c014d2ce6b351d734fd1bbcfff6cd44042c02c3a0ce2515c620d25a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:51 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 01:56:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:56:52 110c36511988: Preparing 01:56:52 326a7ba87080: Preparing 01:56:52 10d8ba197d93: Preparing 01:56:52 65ca5361e534: Preparing 01:56:52 c2ac1989f44f: Preparing 01:56:52 994456c4fd7b: Preparing 01:56:52 994456c4fd7b: Waiting 01:56:52 65ca5361e534: Layer already exists 01:56:52 10d8ba197d93: Layer already exists 01:56:52 c2ac1989f44f: Layer already exists 01:56:52 110c36511988: Layer already exists 01:56:52 326a7ba87080: Layer already exists 01:56:52 994456c4fd7b: Layer already exists 01:56:52 99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4: digest: sha256:55c96dee7c014d2ce6b351d734fd1bbcfff6cd44042c02c3a0ce2515c620d25a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:52 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:52 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 01:56:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 01:56:52 110c36511988: Preparing 01:56:52 326a7ba87080: Preparing 01:56:52 10d8ba197d93: Preparing 01:56:52 65ca5361e534: Preparing 01:56:52 c2ac1989f44f: Preparing 01:56:52 994456c4fd7b: Preparing 01:56:52 994456c4fd7b: Waiting 01:56:52 110c36511988: Layer already exists 01:56:52 326a7ba87080: Layer already exists 01:56:52 65ca5361e534: Layer already exists 01:56:52 c2ac1989f44f: Layer already exists 01:56:52 994456c4fd7b: Layer already exists 01:56:52 10d8ba197d93: Layer already exists 01:56:52 main: digest: sha256:55c96dee7c014d2ce6b351d734fd1bbcfff6cd44042c02c3a0ce2515c620d25a size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:56:53 ===================================================== [Pipeline] echo 01:56:53 taggedImages: 01:56:53 - nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d 01:56:53 - nexus3.edgexfoundry.org:10004/device-gpio:latest 01:56:53 - nexus3.edgexfoundry.org:10004/device-gpio:4.0.0-dev.4 01:56:53 - nexus3.edgexfoundry.org:10004/device-gpio:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 01:56:53 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:53 01:56:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:56:54 latest: Pulling from edgex-lftools-log-publisher 01:56:54 5eb5b503b376: Pulling fs layer 01:56:54 5c69ac0246d0: Pulling fs layer 01:56:54 ec43610c2a17: Pulling fs layer 01:56:54 3a2ae6a8a46f: Pulling fs layer 01:56:54 33b1e0a273af: Pulling fs layer 01:56:54 5d3b04190fa2: Pulling fs layer 01:56:54 2f39f015ded8: Pulling fs layer 01:56:54 3a2ae6a8a46f: Waiting 01:56:54 33b1e0a273af: Waiting 01:56:54 5d3b04190fa2: Waiting 01:56:54 2f39f015ded8: Waiting 01:56:54 5c69ac0246d0: Download complete 01:56:54 3a2ae6a8a46f: Verifying Checksum 01:56:54 3a2ae6a8a46f: Download complete 01:56:54 33b1e0a273af: Verifying Checksum 01:56:54 33b1e0a273af: Download complete 01:56:54 ec43610c2a17: Verifying Checksum 01:56:54 ec43610c2a17: Download complete 01:56:54 5d3b04190fa2: Download complete 01:56:54 5eb5b503b376: Verifying Checksum 01:56:54 5eb5b503b376: Download complete 01:56:55 2f39f015ded8: Download complete 01:56:56 5eb5b503b376: Pull complete 01:56:56 5c69ac0246d0: Pull complete 01:56:57 ec43610c2a17: Pull complete 01:56:57 3a2ae6a8a46f: Pull complete 01:56:57 33b1e0a273af: Pull complete 01:56:59 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:00 provisioning config files... 01:57:00 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/130@tmp/config12304540444982177734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:00 ---> ****-login.sh 01:57:00 nexus3.edgexfoundry.org:10001 01:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:01 Configure a credential helper to remove this warning. See 01:57:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:01 01:57:01 Login Succeeded 01:57:01 nexus3.edgexfoundry.org:10002 01:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:01 Configure a credential helper to remove this warning. See 01:57:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:01 01:57:01 Login Succeeded 01:57:01 nexus3.edgexfoundry.org:10003 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 nexus3.edgexfoundry.org:10004 01:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:02 Configure a credential helper to remove this warning. See 01:57:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:02 01:57:02 Login Succeeded 01:57:02 ****.io 01:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:03 Configure a credential helper to remove this warning. See 01:57:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:03 01:57:03 Login Succeeded 01:57:03 ---> ****-login.sh ends [Pipeline] } 01:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] 01:57:03 2f39f015ded8: Pull complete [Pipeline] echo 01:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 01:57:03 ========================================================= 01:57:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 01:57:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 01:57:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:57:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:04 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 01:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:57:04 Sending build context to Docker daemon 15.3MB 01:57:04 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 01:57:04 Step 2/12 : FROM ${BASE} AS builder 01:57:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:57:04 9986a736f7d3: Pulling fs layer 01:57:04 1f018df60701: Pulling fs layer 01:57:04 39f8f326b044: Pulling fs layer 01:57:04 e6a1e7a6a96a: Pulling fs layer 01:57:04 4f4fb700ef54: Pulling fs layer 01:57:04 d45d956e0dbf: Pulling fs layer 01:57:04 d7702b0d1db1: Pulling fs layer 01:57:04 5c7f0f088c93: Pulling fs layer 01:57:04 4fdc064ae6cf: Pulling fs layer 01:57:04 e6a1e7a6a96a: Waiting 01:57:04 4f4fb700ef54: Waiting 01:57:04 d45d956e0dbf: Waiting 01:57:04 4fdc064ae6cf: Waiting 01:57:04 5c7f0f088c93: Waiting 01:57:04 1f018df60701: Verifying Checksum 01:57:04 1f018df60701: Download complete 01:57:04 e6a1e7a6a96a: Download complete 01:57:04 4f4fb700ef54: Verifying Checksum 01:57:04 4f4fb700ef54: Download complete 01:57:04 d45d956e0dbf: Verifying Checksum 01:57:04 d45d956e0dbf: Download complete 01:57:04 9986a736f7d3: Verifying Checksum 01:57:04 9986a736f7d3: Download complete 01:57:04 d7702b0d1db1: Verifying Checksum 01:57:04 d7702b0d1db1: Download complete 01:57:05 4fdc064ae6cf: Verifying Checksum 01:57:05 4fdc064ae6cf: Download complete 01:57:05 9986a736f7d3: Pull complete 01:57:06 1f018df60701: Pull complete 01:57:07 39f8f326b044: Download complete 01:57:07 5c7f0f088c93: Verifying Checksum 01:57:07 5c7f0f088c93: Download complete 01:57:22 39f8f326b044: Pull complete 01:57:22 e6a1e7a6a96a: Pull complete 01:57:22 4f4fb700ef54: Pull complete 01:57:22 d45d956e0dbf: Pull complete 01:57:22 d7702b0d1db1: Pull complete 01:57:23 $ docker top 525a6adb222612d48fa1f806cde6f73673a81cd99b4d452150a1b5d56a8f2a8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:23 ---> job-cost.sh 01:57:23 lf-activate-venv: SKIPPING 01:57:23 INFO: No Stack... 01:57:24 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:24 INFO: Archiving Costs [Pipeline] sh 01:57:24 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 01:57:24 + cut -d, -f6 [Pipeline] lock 01:57:24 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] 01:57:24 Resource [jenkins-edgexfoundry-device-gpio-main-130-stack-cost] did not exist. Created. 01:57:24 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:57:24 + echo total: 0.2199999988079071 [Pipeline] stash 01:57:24 Stashed 1 file(s) [Pipeline] } 01:57:24 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 01:57:25 $ docker stop --time=1 525a6adb222612d48fa1f806cde6f73673a81cd99b4d452150a1b5d56a8f2a8c 01:57:27 $ docker rm -f --volumes 525a6adb222612d48fa1f806cde6f73673a81cd99b4d452150a1b5d56a8f2a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:57:29 5c7f0f088c93: Pull complete 01:57:31 4fdc064ae6cf: Pull complete 01:57:31 Digest: sha256:893e96b74bf3454b753fb363ebcc6a8ebafe2402b1f6d57d79e3fb85017208f2 01:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 01:57:31 ---> 63f30b955cb9 01:57:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:57:33 ---> Running in fea85fc49cf8 01:57:34 Removing intermediate container fea85fc49cf8 01:57:34 ---> 34d9cf477b35 01:57:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:34 ---> Running in 37827fec8d86 01:57:34 Removing intermediate container 37827fec8d86 01:57:34 ---> ee03d44a9e26 01:57:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 01:57:34 ---> Running in 301350cb8294 01:57:34 Removing intermediate container 301350cb8294 01:57:34 ---> edf92b2161d8 01:57:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:57:35 ---> Running in 8bcae4b0bbcb 01:57:35 Removing intermediate container 8bcae4b0bbcb 01:57:35 ---> 90ba489c80d2 01:57:35 Step 7/12 : WORKDIR /device-gpio 01:57:35 ---> Running in 47ec24fba89f 01:57:36 Removing intermediate container 47ec24fba89f 01:57:36 ---> b0a4a2f18177 01:57:36 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:36 ---> Running in c75e82f98514 01:57:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 01:57:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 01:57:38 (1/4) Installing openssh-keygen (9.7_p1-r5) 01:57:38 (2/4) Installing libedit (20240517.3.1-r0) 01:57:38 (3/4) Installing openssh-client-common (9.7_p1-r5) 01:57:38 (4/4) Installing openssh-client-default (9.7_p1-r5) 01:57:38 Executing busybox-1.36.1-r29.trigger 01:57:38 OK: 244 MiB in 62 packages 01:57:40 Removing intermediate container c75e82f98514 01:57:40 ---> 6c7f3494d53d 01:57:40 Step 9/12 : COPY go.mod vendor* ./ 01:57:40 ---> 444ce818c825 01:57:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:40 ---> Running in ccb8bed52775 01:59:17 Removing intermediate container ccb8bed52775 01:59:17 ---> 8c93775f1298 01:59:17 Step 11/12 : COPY . . 01:59:17 ---> 17dead56d9d9 01:59:17 Step 12/12 : RUN ${MAKE} 01:59:17 ---> Running in 5649f81e0bde 01:59:18 noop 01:59:19 Removing intermediate container 5649f81e0bde 01:59:19 ---> fd2a6ec39014 01:59:19 Successfully built fd2a6ec39014 01:59:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:20 + docker inspect -f . ci-base-image-arm64 01:59:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:20 prd-ubuntu20.04-docker-arm64-4c-16g-40983 does not seem to be running inside a container 01:59:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/130 -v /w/workspace/device-gpio/130:/w/workspace/device-gpio/130:rw,z -v /w/workspace/device-gpio/130@tmp:/w/workspace/device-gpio/130@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 01:59:21 $ docker top 12f94ebe56e207e0836b05439cf3a014e26b52f41a95e9fd73ed18b5fa24d8cc -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:22 + go version 01:59:22 go version go1.23.4 linux/arm64 [Pipeline] } 01:59:22 $ docker stop --time=1 12f94ebe56e207e0836b05439cf3a014e26b52f41a95e9fd73ed18b5fa24d8cc 01:59:24 $ docker rm -f --volumes 12f94ebe56e207e0836b05439cf3a014e26b52f41a95e9fd73ed18b5fa24d8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:24 + docker inspect -f . ci-base-image-arm64 01:59:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:24 prd-ubuntu20.04-docker-arm64-4c-16g-40983 does not seem to be running inside a container 01:59:25 $ 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/130 -v /w/workspace/device-gpio/130:/w/workspace/device-gpio/130:rw,z -v /w/workspace/device-gpio/130@tmp:/w/workspace/device-gpio/130@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 01:59:26 $ docker top cba747fa6263e3e81038ac482d04a0a40524addb9af941739fe6944a6a52b27f -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:27 + git config --global --add safe.directory /w/workspace/device-gpio/130 [Pipeline] fileExists [Pipeline] sh 01:59:27 + make test 01:59:27 go test ./... -coverprofile=coverage.out ./... 01:59:34 ? github.com/edgexfoundry/device-gpio [no test files] 02:03:11 github.com/edgexfoundry/device-gpio/cmd coverage: 0.0% of statements 02:03:11 github.com/edgexfoundry/device-gpio/internal/driver coverage: 0.0% of statements 02:03:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:03:11 go vet ./... 02:04:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:04:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:04:07 ./bin/test-attribution-txt.sh [Pipeline] echo 02:04:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] } 02:04:07 $ docker stop --time=1 cba747fa6263e3e81038ac482d04a0a40524addb9af941739fe6944a6a52b27f 02:04:09 $ docker rm -f --volumes cba747fa6263e3e81038ac482d04a0a40524addb9af941739fe6944a6a52b27f [Pipeline] // withDockerContainer [Pipeline] sh 02:04:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:04:11 Warning: overwriting stash ‘coverage-report’ 02:04:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:04:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:04:12 + ls -al . 02:04:12 total 220 02:04:12 drwxrwxr-x 7 jenkins jenkins 4096 Mar 12 01:59 . 02:04:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 12 01:56 .. 02:04:12 -rw-rw-r-- 1 jenkins jenkins 120 Mar 12 01:56 .dockerignore 02:04:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 12 01:56 .git 02:04:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:56 .github 02:04:12 -rw-rw-r-- 1 jenkins jenkins 277 Mar 12 01:56 .gitignore 02:04:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 12 01:56 .golangci.yml 02:04:12 -rw-rw-r-- 1 jenkins jenkins 19399 Mar 12 01:56 Attribution.txt 02:04:12 -rw-rw-r-- 1 jenkins jenkins 7819 Mar 12 01:56 CHANGELOG.md 02:04:12 -rw-rw-r-- 1 jenkins jenkins 1694 Mar 12 01:56 Dockerfile 02:04:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 12 01:56 GOVERNANCE.md 02:04:12 -rw-rw-r-- 1 jenkins jenkins 657 Mar 12 01:56 Jenkinsfile 02:04:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 12 01:56 LICENSE 02:04:12 -rw-rw-r-- 1 jenkins jenkins 1923 Mar 12 01:56 Makefile 02:04:12 -rw-rw-r-- 1 jenkins jenkins 617 Mar 12 01:56 OWNERS.md 02:04:12 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 12 01:56 README.md 02:04:12 -rw-rw-r-- 1 jenkins jenkins 11 Mar 12 01:53 VERSION 02:04:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 12 01:56 bin 02:04:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:56 cmd 02:04:12 -rw-r--r-- 1 jenkins jenkins 11486 Mar 12 02:03 coverage.out 02:04:12 -rw-rw-r-- 1 jenkins jenkins 6050 Mar 12 01:56 go.mod 02:04:12 -rw-rw-r-- 1 jenkins jenkins 86888 Mar 12 01:56 go.sum 02:04:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 12 01:56 internal 02:04:12 -rw-rw-r-- 1 jenkins jenkins 209 Mar 12 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:13 + 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=99341b55b6a412f9218defbeb1518dbc282c704d --label arch=arm64 --label version=4.0.0-dev.4 . 02:04:13 Sending build context to Docker daemon 15.31MB 02:04:13 Step 1/26 : ARG BASE=golang:1.23-alpine3.20 02:04:13 Step 2/26 : FROM ${BASE} AS builder 02:04:13 ---> fd2a6ec39014 02:04:13 Step 3/26 : ARG ADD_BUILD_TAGS="" 02:04:14 ---> Running in 9bbaaf4aa216 02:04:14 Removing intermediate container 9bbaaf4aa216 02:04:14 ---> 126a341a6016 02:04:14 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:14 ---> Running in 5857211af7fa 02:04:14 Removing intermediate container 5857211af7fa 02:04:14 ---> 9731ca24b3b3 02:04:14 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:04:14 ---> Running in 39e7a8bce3e3 02:04:14 Removing intermediate container 39e7a8bce3e3 02:04:14 ---> 6360ff68a7cb 02:04:14 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 02:04:15 ---> Running in 995db03edcc4 02:04:15 Removing intermediate container 995db03edcc4 02:04:15 ---> 524ca3b4165e 02:04:15 Step 7/26 : WORKDIR /device-gpio 02:04:15 ---> Running in a10a569f18e0 02:04:16 Removing intermediate container a10a569f18e0 02:04:16 ---> b406d897cec2 02:04:16 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:16 ---> Running in 5e35230b82ae 02:04:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:04:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:04:18 OK: 244 MiB in 62 packages 02:04:19 Removing intermediate container 5e35230b82ae 02:04:19 ---> 905047f0b967 02:04:19 Step 9/26 : COPY go.mod vendor* ./ 02:04:20 ---> a743d0e225c5 02:04:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:20 ---> Running in 4c8fc94eee2f 02:04:22 Removing intermediate container 4c8fc94eee2f 02:04:22 ---> b098488acf10 02:04:22 Step 11/26 : COPY . . 02:04:23 ---> 7c29ded47305 02:04:23 Step 12/26 : RUN ${MAKE} 02:04:24 ---> Running in 5697a6af9b95 02:04:25 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=4.0.0-dev.4 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:08:16 Removing intermediate container 5697a6af9b95 02:08:16 ---> e0a47ca35811 02:08:16 Step 13/26 : FROM alpine:3.20 02:08:16 3.20: Pulling from library/alpine 02:08:16 94e9d8af2201: Pulling fs layer 02:08:16 94e9d8af2201: Verifying Checksum 02:08:16 94e9d8af2201: Download complete 02:08:16 94e9d8af2201: Pull complete 02:08:16 Digest: sha256:de4fe7064d8f98419ea6b49190df1abbf43450c1702eeb864fe9ced453c1cc5f 02:08:16 Status: Downloaded newer image for alpine:3.20 02:08:16 ---> 7aab056cecc6 02:08:16 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:08:16 ---> Running in 545903497db8 02:08:16 Removing intermediate container 545903497db8 02:08:16 ---> faf0ff07e8c9 02:08:16 Step 15/26 : RUN apk add --update --no-cache dumb-init 02:08:16 ---> Running in 75549522afcc 02:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:08:16 (1/1) Installing dumb-init (1.2.5-r3) 02:08:16 Executing busybox-1.36.1-r29.trigger 02:08:16 OK: 9 MiB in 15 packages 02:08:16 Removing intermediate container 75549522afcc 02:08:16 ---> a0250a61c2f0 02:08:16 Step 16/26 : RUN apk --no-cache upgrade 02:08:16 ---> Running in 288ce0173dfa 02:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 02:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 02:08:16 OK: 9 MiB in 15 packages 02:08:16 Removing intermediate container 288ce0173dfa 02:08:16 ---> ae7916c74c07 02:08:16 Step 17/26 : WORKDIR / 02:08:16 ---> Running in 5f56ff1475c0 02:08:16 Removing intermediate container 5f56ff1475c0 02:08:16 ---> 069dda53427c 02:08:16 Step 18/26 : COPY --from=builder /device-gpio/Attribution.txt / 02:08:16 ---> 15f1505be866 02:08:16 Step 19/26 : COPY --from=builder /device-gpio/LICENSE / 02:08:16 ---> 1a98f4e900a5 02:08:16 Step 20/26 : COPY --from=builder /device-gpio/cmd/ / 02:08:16 ---> 6c9c40897c88 02:08:16 Step 21/26 : EXPOSE 59910 02:08:16 ---> Running in 4423700cca02 02:08:16 Removing intermediate container 4423700cca02 02:08:16 ---> 9b826fdc7ecb 02:08:16 Step 22/26 : ENTRYPOINT ["/device-gpio"] 02:08:16 ---> Running in 289d12c2b10e 02:08:16 Removing intermediate container 289d12c2b10e 02:08:16 ---> 1500946c6383 02:08:16 Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] 02:08:16 ---> Running in 87994c79f562 02:08:16 Removing intermediate container 87994c79f562 02:08:16 ---> 1e78b34d135b 02:08:16 Step 24/26 : LABEL arch=arm64 02:08:16 ---> Running in d5bc24e785e5 02:08:17 Removing intermediate container d5bc24e785e5 02:08:17 ---> 10734250d550 02:08:17 Step 25/26 : LABEL git_sha=99341b55b6a412f9218defbeb1518dbc282c704d 02:08:17 ---> Running in 516ce9948754 02:08:17 Removing intermediate container 516ce9948754 02:08:17 ---> 099a7aaf5f33 02:08:17 Step 26/26 : LABEL version=4.0.0-dev.4 02:08:17 ---> Running in 251e0db3110d 02:08:17 Removing intermediate container 251e0db3110d 02:08:17 ---> 9dcf8cc66b47 02:08:17 [Warning] One or more build-args [ARCH] were not consumed 02:08:18 Successfully built 9dcf8cc66b47 02:08:18 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 02:08:18 provisioning config files... 02:08:18 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/130@tmp/config8053492185881723235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:08:18 ---> ****-login.sh 02:08:18 nexus3.edgexfoundry.org:10001 02:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:18 Configure a credential helper to remove this warning. See 02:08:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:18 02:08:18 Login Succeeded 02:08:18 nexus3.edgexfoundry.org:10002 02:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:19 Configure a credential helper to remove this warning. See 02:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:19 02:08:19 Login Succeeded 02:08:19 nexus3.edgexfoundry.org:10003 02:08:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:19 Configure a credential helper to remove this warning. See 02:08:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:19 02:08:19 Login Succeeded 02:08:19 nexus3.edgexfoundry.org:10004 02:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:20 Configure a credential helper to remove this warning. See 02:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:20 02:08:20 Login Succeeded 02:08:20 ****.io 02:08:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:08:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:08:20 Configure a credential helper to remove this warning. See 02:08:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:08:20 02:08:20 Login Succeeded 02:08:20 ---> ****-login.sh ends [Pipeline] } 02:08:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:08:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^odessa$, ^lts-test$]] [Pipeline] echo 02:08:20 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 02:08:20 99341b55b6a412f9218defbeb1518dbc282c704d 02:08:20 latest 02:08:20 4.0.0-dev.4 02:08:20 99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 02:08:20 main 02:08:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:21 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:21 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d 02:08:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:08:21 49f6217bbf8a: Preparing 02:08:21 0989126c3162: Preparing 02:08:21 2b99fc1eb762: Preparing 02:08:21 ff017b5cbbba: Preparing 02:08:21 b89022564cf3: Preparing 02:08:21 dd9c8f8612c8: Preparing 02:08:21 dd9c8f8612c8: Waiting 02:08:21 b89022564cf3: Pushed 02:08:21 0989126c3162: Pushed 02:08:21 2b99fc1eb762: Pushed 02:08:21 ff017b5cbbba: Pushed 02:08:21 dd9c8f8612c8: Layer already exists 02:08:32 49f6217bbf8a: Pushed 02:08:32 99341b55b6a412f9218defbeb1518dbc282c704d: digest: sha256:6d31874ed506ffa6d30952130af6a4fb42bfb38c4f1e3564588e00523bba65e1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:32 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:32 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:08:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:08:32 49f6217bbf8a: Preparing 02:08:32 0989126c3162: Preparing 02:08:32 2b99fc1eb762: Preparing 02:08:32 ff017b5cbbba: Preparing 02:08:32 b89022564cf3: Preparing 02:08:32 dd9c8f8612c8: Preparing 02:08:32 dd9c8f8612c8: Waiting 02:08:32 ff017b5cbbba: Layer already exists 02:08:32 2b99fc1eb762: Layer already exists 02:08:32 b89022564cf3: Layer already exists 02:08:32 0989126c3162: Layer already exists 02:08:32 49f6217bbf8a: Layer already exists 02:08:32 dd9c8f8612c8: Layer already exists 02:08:33 latest: digest: sha256:6d31874ed506ffa6d30952130af6a4fb42bfb38c4f1e3564588e00523bba65e1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:33 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:33 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0-dev.4 02:08:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:08:33 49f6217bbf8a: Preparing 02:08:33 0989126c3162: Preparing 02:08:33 2b99fc1eb762: Preparing 02:08:33 ff017b5cbbba: Preparing 02:08:33 b89022564cf3: Preparing 02:08:33 dd9c8f8612c8: Preparing 02:08:33 dd9c8f8612c8: Waiting 02:08:33 49f6217bbf8a: Layer already exists 02:08:33 b89022564cf3: Layer already exists 02:08:33 2b99fc1eb762: Layer already exists 02:08:33 0989126c3162: Layer already exists 02:08:33 ff017b5cbbba: Layer already exists 02:08:33 dd9c8f8612c8: Layer already exists 02:08:34 4.0.0-dev.4: digest: sha256:6d31874ed506ffa6d30952130af6a4fb42bfb38c4f1e3564588e00523bba65e1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:34 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:34 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 02:08:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:08:34 49f6217bbf8a: Preparing 02:08:34 0989126c3162: Preparing 02:08:34 2b99fc1eb762: Preparing 02:08:34 ff017b5cbbba: Preparing 02:08:34 b89022564cf3: Preparing 02:08:34 dd9c8f8612c8: Preparing 02:08:34 dd9c8f8612c8: Waiting 02:08:34 0989126c3162: Layer already exists 02:08:34 2b99fc1eb762: Layer already exists 02:08:34 49f6217bbf8a: Layer already exists 02:08:34 b89022564cf3: Layer already exists 02:08:34 ff017b5cbbba: Layer already exists 02:08:34 dd9c8f8612c8: Layer already exists 02:08:35 99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4: digest: sha256:6d31874ed506ffa6d30952130af6a4fb42bfb38c4f1e3564588e00523bba65e1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:35 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:35 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 02:08:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:08:35 49f6217bbf8a: Preparing 02:08:35 0989126c3162: Preparing 02:08:35 2b99fc1eb762: Preparing 02:08:35 ff017b5cbbba: Preparing 02:08:35 b89022564cf3: Preparing 02:08:35 dd9c8f8612c8: Preparing 02:08:35 dd9c8f8612c8: Waiting 02:08:35 ff017b5cbbba: Layer already exists 02:08:35 0989126c3162: Layer already exists 02:08:35 2b99fc1eb762: Layer already exists 02:08:35 b89022564cf3: Layer already exists 02:08:35 49f6217bbf8a: Layer already exists 02:08:35 dd9c8f8612c8: Layer already exists 02:08:36 main: digest: sha256:6d31874ed506ffa6d30952130af6a4fb42bfb38c4f1e3564588e00523bba65e1 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:08:36 ===================================================== [Pipeline] echo 02:08:36 taggedImages: 02:08:36 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d 02:08:36 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:08:36 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:4.0.0-dev.4 02:08:36 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:99341b55b6a412f9218defbeb1518dbc282c704d-4.0.0-dev.4 02:08:36 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:36 02:08:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:37 arm64: Pulling from edgex-lftools-log-publisher 02:08:37 8998bd30e6a1: Pulling fs layer 02:08:37 04944245beec: Pulling fs layer 02:08:37 699f458cf7ca: Pulling fs layer 02:08:37 765212b225bb: Pulling fs layer 02:08:37 f23df028b6ca: Pulling fs layer 02:08:37 d65c8cfc05b1: Pulling fs layer 02:08:37 2437ff75d9bd: Pulling fs layer 02:08:37 765212b225bb: Waiting 02:08:37 f23df028b6ca: Waiting 02:08:37 d65c8cfc05b1: Waiting 02:08:37 2437ff75d9bd: Waiting 02:08:37 04944245beec: Verifying Checksum 02:08:37 04944245beec: Download complete 02:08:37 765212b225bb: Verifying Checksum 02:08:37 765212b225bb: Download complete 02:08:37 f23df028b6ca: Verifying Checksum 02:08:37 f23df028b6ca: Download complete 02:08:37 d65c8cfc05b1: Verifying Checksum 02:08:37 d65c8cfc05b1: Download complete 02:08:37 699f458cf7ca: Verifying Checksum 02:08:37 699f458cf7ca: Download complete 02:08:38 8998bd30e6a1: Verifying Checksum 02:08:38 8998bd30e6a1: Download complete 02:08:40 2437ff75d9bd: Verifying Checksum 02:08:40 2437ff75d9bd: Download complete 02:08:42 8998bd30e6a1: Pull complete 02:08:43 04944245beec: Pull complete 02:08:45 699f458cf7ca: Pull complete 02:08:45 765212b225bb: Pull complete 02:08:45 f23df028b6ca: Pull complete 02:08:45 d65c8cfc05b1: Pull complete 02:09:04 2437ff75d9bd: Pull complete 02:09:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:04 prd-ubuntu20.04-docker-arm64-4c-16g-40983 does not seem to be running inside a container 02:09:04 $ 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/130 -v /w/workspace/device-gpio/130:/w/workspace/device-gpio/130:rw,z -v /w/workspace/device-gpio/130@tmp:/w/workspace/device-gpio/130@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 02:09:07 $ docker top 2c78b7315364b4507d4b869ea6a8c4ddf430b214a168d231731072c73e6ba360 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:08 ---> job-cost.sh 02:09:08 lf-activate-venv: SKIPPING 02:09:08 INFO: No Stack... 02:09:08 INFO: Retrieving Pricing Info for: v3-standard-4 02:09:09 INFO: Archiving Costs [Pipeline] sh 02:09:10 + cat /w/workspace/device-gpio/130/archives/cost.csv 02:09:10 + cut -d, -f6 [Pipeline] lock 02:09:10 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] 02:09:10 Resource [jenkins-edgexfoundry-device-gpio-main-130-stack-cost] did not exist. Created. 02:09:10 Lock acquired on [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:09:10 /w/workspace/device-gpio/130@tmp/durable-e1154505/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:09:11 + echo total: 0.10999999940395355 [Pipeline] stash 02:09:11 Warning: overwriting stash ‘stack-cost’ 02:09:11 Stashed 1 file(s) [Pipeline] } 02:09:11 Lock released on resource [Resource: jenkins-edgexfoundry-device-gpio-main-130-stack-cost] [Pipeline] // lock [Pipeline] } 02:09:11 $ docker stop --time=1 2c78b7315364b4507d4b869ea6a8c4ddf430b214a168d231731072c73e6ba360 02:09:13 $ docker rm -f --volumes 2c78b7315364b4507d4b869ea6a8c4ddf430b214a168d231731072c73e6ba360 [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 02:09:13 provisioning config files... 02:09:13 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3936164465374540090tmp [Pipeline] { [Pipeline] sh 02:09:13 + set +x 02:09:13 + bash -s -- 02:09:13 + curl -s https://codecov.io/bash 02:09:13 02:09:13 _____ _ 02:09:13 / ____| | | 02:09:13 | | ___ __| | ___ ___ _____ __ 02:09:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:09:13 | |___| (_) | (_| | __/ (_| (_) \ V / 02:09:13 \_____\___/ \__,_|\___|\___\___/ \_/ 02:09:13 Bash-1.0.6 02:09:13 02:09:13 02:09:13 ==> git version 2.25.1 found 02:09:13 ==> 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 02:09:13 Release-Date: 2020-01-08 02:09:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:09:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:09:13 ==> Jenkins CI detected. 02:09:13 current dir:  /w/workspace/edgexfoundry_device-gpio_main 02:09:13 project root: . 02:09:13 --> token set from env 02:09:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:09:14 ==> Running gcov in . (disable via -X gcov) 02:09:14 ==> Python coveragepy not found 02:09:14 ==> Searching for coverage reports in: 02:09:14 + . 02:09:14 -> Found 1 reports 02:09:14 ==> Detecting git/mercurial file structure 02:09:14 ==> Reading reports 02:09:14 + ./coverage.out bytes=11486 02:09:14 ==> Appending adjustments 02:09:14 https://docs.codecov.io/docs/fixing-reports 02:09:14 + Found adjustments 02:09:14 ==> Gzipping contents 02:09:14 4.0K /tmp/codecov.W97GfM.gz 02:09:14 ==> Uploading reports 02:09:14 url: https://codecov.io 02:09:14 query: branch=main&commit=99341b55b6a412f9218defbeb1518dbc282c704d&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:09:14 -> Pinging Codecov 02:09:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=99341b55b6a412f9218defbeb1518dbc282c704d&build=130&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F130%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:09:14 -> Uploading to 02:09:14 https://storage.googleapis.com/codecov-production/shelter/v4/github/edgexfoundry/device-gpio/99341b55b6a412f9218defbeb1518dbc282c704d/a034a985-2ef3-4209-9502-d47de1352b8f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20250312%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20250312T020914Z&X-Amz-Expires=120&X-Amz-SignedHeaders=host&X-Amz-Signature=cbbe84bc658be7f92e3c086c3d40bf5799da94ba9e04b4029750710da2ff3193 02:09:14 % Total % Received % Xferd Average Speed Time Time Time Current 02:09:14 Dload Upload Total Spent Left Speed 02:09:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1713 0 0 100 1713 0 14275 --:--:-- --:--:-- --:--:-- 14275 02:09:14 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] } 02:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:09:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:09:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:09:14 02:09:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:09:15 latest: Pulling from edgex-devops/edgex-snyk-go 02:09:15 43c4264eed91: Pulling fs layer 02:09:15 4cc291be95ef: Pulling fs layer 02:09:15 2ac1f1163629: Pulling fs layer 02:09:15 5c3c966382ef: Pulling fs layer 02:09:15 4f4fb700ef54: Pulling fs layer 02:09:15 d9c7d2e4e75e: Pulling fs layer 02:09:15 9c3e1370e548: Pulling fs layer 02:09:15 d9c7d2e4e75e: Waiting 02:09:15 5c3c966382ef: Waiting 02:09:15 4cc291be95ef: Download complete 02:09:15 5c3c966382ef: Verifying Checksum 02:09:15 5c3c966382ef: Download complete 02:09:15 43c4264eed91: Download complete 02:09:15 d9c7d2e4e75e: Verifying Checksum 02:09:15 d9c7d2e4e75e: Download complete 02:09:15 43c4264eed91: Pull complete 02:09:15 4cc291be95ef: Pull complete 02:09:15 2ac1f1163629: Verifying Checksum 02:09:15 2ac1f1163629: Download complete 02:09:16 9c3e1370e548: Verifying Checksum 02:09:19 2ac1f1163629: Pull complete 02:09:19 5c3c966382ef: Pull complete 02:09:19 4f4fb700ef54: Pull complete 02:09:19 d9c7d2e4e75e: Pull complete 02:09:23 9c3e1370e548: Pull complete 02:09:23 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 02:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 02:09:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:23 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:09: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_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat 02:09:28 $ docker top f0b7c54b6852ff380e564e80c066a52a7a8ec043d325da73264f19a34e699603 -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] echo 02:09:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 02:09:29 + set -o pipefail 02:09:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 02:09:35 02:09:35 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 02:09:35 02:09:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/934c5325-6bfa-42f0-9131-d7c3b7d1c836/history/1d687247-51cd-4b5f-9e60-70d7590bda8e 02:09:35 02:09:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:09:35 02:09:35 02:09:35 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 02:09:35 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:09:35 $ docker stop --time=1 f0b7c54b6852ff380e564e80c066a52a7a8ec043d325da73264f19a34e699603 02:09:39 $ docker rm -f --volumes f0b7c54b6852ff380e564e80c066a52a7a8ec043d325da73264f19a34e699603 [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 02:09:40 + git log --format=format:%s -1 99341b55b6a412f9218defbeb1518dbc282c704d [Pipeline] sh 02:09:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:09:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:09:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:40 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:09:41 $ docker top 0ed7e3d20b566e64fad0f1b4ef4e411b2f032daa4fb62d9d6274505713acfc86 -eo pid,comm 02:09:41 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). 02:09:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:09:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:09:41 [ssh-agent] Looking for ssh-agent implementation... 02:09:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:09:41 $ docker exec 0ed7e3d20b566e64fad0f1b4ef4e411b2f032daa4fb62d9d6274505713acfc86 ssh-agent 02:09:41 SSH_AUTH_SOCK=/tmp/ssh-5iD42yveHL8t/agent.32 02:09:41 SSH_AGENT_PID=38 02:09:41 Running ssh-add (command line suppressed) 02:09:41 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10044764699049582148.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10044764699049582148.key) 02:09:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:09:42 + git semver tag 02:09:42 2025-03-12 02:09:42,513 [run_tag] DEBUG tag force:False 02:09:42 2025-03-12 02:09:42,513 [check_head_tag] DEBUG check head tag 02:09:42 2025-03-12 02:09:42,514 [execute] INFO git cat-file --batch-check 02:09:42 2025-03-12 02:09:42,514 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:09:42 2025-03-12 02:09:42,519 [execute] INFO git cat-file --batch 02:09:42 2025-03-12 02:09:42,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:09:42 2025-03-12 02:09:42,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:09:42 2025-03-12 02:09:42,535 [execute] INFO git tag -a v4.0.0-dev.4 -m v4.0.0-dev.4 02:09:42 2025-03-12 02:09:42,535 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.4', '-m', 'v4.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 02:09:42 2025-03-12 02:09:42,540 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:09:42 4.0.0-dev.4 [Pipeline] } 02:09:42 $ docker exec --env ******** --env ******** 0ed7e3d20b566e64fad0f1b4ef4e411b2f032daa4fb62d9d6274505713acfc86 ssh-agent -k 02:09:42 unset SSH_AUTH_SOCK; 02:09:42 unset SSH_AGENT_PID; 02:09:42 echo Agent pid 38 killed; 02:09:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:09:43 + git semver [Pipeline] } 02:09:43 $ docker stop --time=1 0ed7e3d20b566e64fad0f1b4ef4e411b2f032daa4fb62d9d6274505713acfc86 02:09:44 $ docker rm -f --volumes 0ed7e3d20b566e64fad0f1b4ef4e411b2f032daa4fb62d9d6274505713acfc86 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:09:45 02:09:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:09:45 0.23.1-centos7: Pulling from edgex-lftools 02:09:45 ab5ef0e58194: Pulling fs layer 02:09:45 9712f1f96733: Pulling fs layer 02:09:45 63f879dbbcfc: Pulling fs layer 02:09:45 0d9ebad4ef96: Pulling fs layer 02:09:45 e9a5061849ea: Pulling fs layer 02:09:45 d747dcd14b5f: Pulling fs layer 02:09:45 2de7ff778b66: Pulling fs layer 02:09:45 e9a5061849ea: Waiting 02:09:45 0d9ebad4ef96: Waiting 02:09:45 d747dcd14b5f: Waiting 02:09:45 2de7ff778b66: Waiting 02:09:45 9712f1f96733: Verifying Checksum 02:09:45 9712f1f96733: Download complete 02:09:45 63f879dbbcfc: Verifying Checksum 02:09:45 63f879dbbcfc: Download complete 02:09:46 e9a5061849ea: Verifying Checksum 02:09:46 e9a5061849ea: Download complete 02:09:46 d747dcd14b5f: Verifying Checksum 02:09:46 d747dcd14b5f: Download complete 02:09:46 ab5ef0e58194: Verifying Checksum 02:09:46 ab5ef0e58194: Download complete 02:09:46 2de7ff778b66: Verifying Checksum 02:09:46 0d9ebad4ef96: Download complete 02:09:48 ab5ef0e58194: Pull complete 02:09:49 9712f1f96733: Pull complete 02:09:49 63f879dbbcfc: Pull complete 02:09:52 0d9ebad4ef96: Pull complete 02:09:52 e9a5061849ea: Pull complete 02:09:52 d747dcd14b5f: Pull complete 02:09:53 2de7ff778b66: Pull complete 02:09:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:09:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:09:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:54 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:09:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:09:58 $ docker top dbeeba42722f312643d2bbd2e621ca26162e2055c2c74d65d6f817fbe6eff7e9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:09:58 provisioning config files... 02:09:58 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config11192547499952485161tmp 02:09:58 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config16138074189327486367tmp 02:09:58 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13261164172237296079tmp [Pipeline] { [Pipeline] echo 02:09:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:09:59 ---> sigul-configuration.sh 02:09:59 gpg: directory `/root/.gnupg' created 02:09:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:09:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:09:59 gpg: keyring `/root/.gnupg/secring.gpg' created 02:09:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:09:59 gpg: CAST5 encrypted data 02:09:59 gpg: encrypted with 1 passphrase 02:09:59 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:09:59 + mkdir /home/jenkins 02:09:59 + mkdir /home/jenkins/sigul [Pipeline] sh 02:09:59 + 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 02:09:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:10:00 ---> sigul-install.sh 02:10:00 Sigul already installed; skipping installation. [Pipeline] sh 02:10:00 + git tag --list 02:10:00 v1.0.0 02:10:00 v2.1.0 02:10:00 v2.1.1 02:10:00 v2.2.0 02:10:00 v2.3.0 02:10:00 v3.0 02:10:00 v3.0.0 02:10:00 v3.1 02:10:00 v3.1.0 02:10:00 v3.1.0-dev.1 02:10:00 v3.1.0-dev.10 02:10:00 v3.1.0-dev.11 02:10:00 v3.1.0-dev.12 02:10:00 v3.1.0-dev.13 02:10:00 v3.1.0-dev.14 02:10:00 v3.1.0-dev.15 02:10:00 v3.1.0-dev.16 02:10:00 v3.1.0-dev.17 02:10:00 v3.1.0-dev.18 02:10:00 v3.1.0-dev.19 02:10:00 v3.1.0-dev.2 02:10:00 v3.1.0-dev.20 02:10:00 v3.1.0-dev.21 02:10:00 v3.1.0-dev.22 02:10:00 v3.1.0-dev.23 02:10:00 v3.1.0-dev.24 02:10:00 v3.1.0-dev.25 02:10:00 v3.1.0-dev.26 02:10:00 v3.1.0-dev.3 02:10:00 v3.1.0-dev.4 02:10:00 v3.1.0-dev.5 02:10:00 v3.1.0-dev.6 02:10:00 v3.1.0-dev.7 02:10:00 v3.1.0-dev.8 02:10:00 v3.1.0-dev.9 02:10:00 v3.1.1 02:10:00 v3.1.1-dev.1 02:10:00 v3.2.0-dev.1 02:10:00 v3.2.0-dev.10 02:10:00 v3.2.0-dev.11 02:10:00 v3.2.0-dev.12 02:10:00 v3.2.0-dev.13 02:10:00 v3.2.0-dev.2 02:10:00 v3.2.0-dev.3 02:10:00 v3.2.0-dev.4 02:10:00 v3.2.0-dev.5 02:10:00 v3.2.0-dev.6 02:10:00 v3.2.0-dev.7 02:10:00 v3.2.0-dev.8 02:10:00 v3.2.0-dev.9 02:10:00 v4.0.0-dev.1 02:10:00 v4.0.0-dev.2 02:10:00 v4.0.0-dev.3 02:10:00 v4.0.0-dev.4 [Pipeline] sh 02:10:00 + lftools sign git-tag v4.0.0-dev.4 02:10:01 Signing Git tag with Sigul... 02:10:01 Signing v4.0.0-dev.4 [Pipeline] echo 02:10:02 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:10:02 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:10:02 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:10:02 $ docker stop --time=1 dbeeba42722f312643d2bbd2e621ca26162e2055c2c74d65d6f817fbe6eff7e9 02:10:03 $ docker rm -f --volumes dbeeba42722f312643d2bbd2e621ca26162e2055c2c74d65d6f817fbe6eff7e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:10:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:04 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:10:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:49 $ docker top 6fe0eb415d7616b82d63480612377ecf24faacd5af3418dcc1f80d0ec1a0f919 -eo pid,comm 02:10:49 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). 02:10:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:49 [ssh-agent] Looking for ssh-agent implementation... 02:10:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:49 $ docker exec 6fe0eb415d7616b82d63480612377ecf24faacd5af3418dcc1f80d0ec1a0f919 ssh-agent 02:10:49 SSH_AUTH_SOCK=/tmp/ssh-miqAx0p9qrkI/agent.14 02:10:49 SSH_AGENT_PID=20 02:10:49 Running ssh-add (command line suppressed) 02:10:49 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9458076886069826544.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9458076886069826544.key) 02:10:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:49 + git semver bump pre 02:10:50 2025-03-12 02:10:50,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:50 2025-03-12 02:10:50,151 [bump_version] DEBUG bumping version:4.0.0-dev.4 on axis:pre with prefix:dev 02:10:50 2025-03-12 02:10:50,151 [bump_version] DEBUG bumped version:4.0.0-dev.5 02:10:50 2025-03-12 02:10:50,151 [write_version] DEBUG write version:4.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 02:10:50 2025-03-12 02:10:50,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:50 2025-03-12 02:10:50,152 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:50 2025-03-12 02:10:50,155 [execute] INFO git cat-file --batch-check 02:10:50 2025-03-12 02:10:50,155 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:50 2025-03-12 02:10:50,163 [execute] INFO git cat-file --batch 02:10:50 2025-03-12 02:10:50,163 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:50 2025-03-12 02:10:50,169 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:10:50 4.0.0-dev.5 [Pipeline] } 02:10:50 $ docker exec --env ******** --env ******** 6fe0eb415d7616b82d63480612377ecf24faacd5af3418dcc1f80d0ec1a0f919 ssh-agent -k 02:10:50 unset SSH_AUTH_SOCK; 02:10:50 unset SSH_AGENT_PID; 02:10:50 echo Agent pid 20 killed; 02:10:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:10:50 + git semver [Pipeline] } 02:10:51 $ docker stop --time=1 6fe0eb415d7616b82d63480612377ecf24faacd5af3418dcc1f80d0ec1a0f919 02:10:54 $ docker rm -f --volumes 6fe0eb415d7616b82d63480612377ecf24faacd5af3418dcc1f80d0ec1a0f919 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:10:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:10:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:10:55 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:10:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:10:58 $ docker top 219bf712ff81c4b885e0c1cebe6838992457da6c1b8f33b72596e967495a13f2 -eo pid,comm 02:10:58 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). 02:10:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:10:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:10:58 [ssh-agent] Looking for ssh-agent implementation... 02:10:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:10:58 $ docker exec 219bf712ff81c4b885e0c1cebe6838992457da6c1b8f33b72596e967495a13f2 ssh-agent 02:10:58 SSH_AUTH_SOCK=/tmp/ssh-CMBPqFDWVrIh/agent.14 02:10:58 SSH_AGENT_PID=20 02:10:58 Running ssh-add (command line suppressed) 02:10:58 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12458100239174029156.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12458100239174029156.key) 02:10:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:10:59 + git semver push 02:10:59 2025-03-12 02:10:59,392 [run_push] DEBUG push 02:10:59 2025-03-12 02:10:59,393 [execute] INFO git cat-file --batch-check 02:10:59 2025-03-12 02:10:59,394 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:10:59 2025-03-12 02:10:59,399 [execute] INFO git rev-list ec893b548f91e9b5d603377a648047b8a8c88687 -- 02:10:59 2025-03-12 02:10:59,399 [execute] DEBUG Popen(['git', 'rev-list', 'ec893b548f91e9b5d603377a648047b8a8c88687', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:10:59 2025-03-12 02:10:59,408 [execute] INFO git fetch -v origin 02:10:59 2025-03-12 02:10:59,408 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 02:11:01 2025-03-12 02:11:01,271 [run_push] DEBUG no remote changes detected 02:11:01 2025-03-12 02:11:01,271 [execute] INFO git push origin semver 02:11:01 2025-03-12 02:11:01,271 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:11:02 2025-03-12 02:11:02,047 [run_push] DEBUG push all version tags 02:11:02 2025-03-12 02:11:02,048 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:11:02 2025-03-12 02:11:02,048 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 02:11:02 2025-03-12 02:11:02,665 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:11:02 4.0.0-dev.5 [Pipeline] } 02:11:02 $ docker exec --env ******** --env ******** 219bf712ff81c4b885e0c1cebe6838992457da6c1b8f33b72596e967495a13f2 ssh-agent -k 02:11:03 unset SSH_AUTH_SOCK; 02:11:03 unset SSH_AGENT_PID; 02:11:03 echo Agent pid 20 killed; 02:11:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:03 + git semver [Pipeline] } 02:11:03 $ docker stop --time=1 219bf712ff81c4b885e0c1cebe6838992457da6c1b8f33b72596e967495a13f2 02:11:06 $ docker rm -f --volumes 219bf712ff81c4b885e0c1cebe6838992457da6c1b8f33b72596e967495a13f2 [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 02:11:07 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 02:11:07 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:07 total 16 02:11:07 drwxr-xr-x 3 root root 4096 Mar 12 01:57 . 02:11:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 02:09 .. 02:11:07 drwxr-xr-x 2 root root 4096 Mar 12 01:57 cost 02:11:07 -rw-r--r-- 1 root root 83 Mar 12 01:57 cost.csv 02:11:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:07 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:11:07 total 16 02:11:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 12 01:57 . 02:11:07 drwxrwxr-x 9 jenkins jenkins 4096 Mar 12 02:09 .. 02:11:07 drwxr-xr-x 2 jenkins jenkins 4096 Mar 12 01:57 cost 02:11:07 -rw-r--r-- 1 jenkins jenkins 83 Mar 12 01:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:09 ---> package-listing.sh 02:11:09 ++ facter osfamily 02:11:09 ++ tr '[:upper:]' '[:lower:]' 02:11:09 + OS_FAMILY=debian 02:11:09 + workspace=/w/workspace/edgexfoundry_device-gpio_main 02:11:09 + START_PACKAGES=/tmp/packages_start.txt 02:11:09 + END_PACKAGES=/tmp/packages_end.txt 02:11:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:09 + PACKAGES=/tmp/packages_start.txt 02:11:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:11:09 + PACKAGES=/tmp/packages_end.txt 02:11:09 + case "${OS_FAMILY}" in 02:11:09 + dpkg -l 02:11:09 + grep '^ii' 02:11:09 + '[' -f /tmp/packages_start.txt ']' 02:11:09 + '[' -f /tmp/packages_end.txt ']' 02:11:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:09 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:11:09 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 02:11:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 02:11:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:10 prd-ubuntu20.04-docker-8c-8g-40981 does not seem to be running inside a container 02:11:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-gpio_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:11:14 $ docker top 0be555fe6651464f8fa4b7b35dba0466666762207b63597d6e1912a6602ff8e0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:14 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:14 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:15 + ls /var/log/sa-host 02:11:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:15 provisioning config files... 02:11:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config10363903033254110443tmp [Pipeline] { [Pipeline] echo 02:11:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:15 ---> create-netrc.sh [Pipeline] } 02:11:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:15 ---> python-tools-install.sh [Pipeline] echo 02:11:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:16 ---> sudo-logs.sh 02:11:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:16 ---> job-cost.sh 02:11:16 lf-activate-venv: SKIPPING 02:11:16 DEBUG: total: 0.2199999988079071 02:11:16 INFO: Retrieving Stack Cost... 02:11:16 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:17 INFO: Archiving Costs [Pipeline] echo 02:11:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:17 ---> logs-deploy.sh 02:11:17 lf-activate-venv: SKIPPING 02:11:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/130 02:11:17 INFO: archiving workspace using pattern(s): 02:11:18 Archives upload complete. 02:11:18 INFO: archiving logs to Nexus