Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 55c1d344d8db4a0ebfd83c23655690c476512767 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-ssh17056085126152903842.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6371486573356617855.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-gpio/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11486580657353148923.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11324520876668259615.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-ssh13927631364400507393.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-gpio] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-gpio-settings PROJECT: device-gpio USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-gpio DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6442’ Running on prd-ubuntu20.04-docker-8c-8g-6450 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 55c1d344d8db4a0ebfd83c23655690c476512767 (main) Commit message: "Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" > git config core.sparsecheckout # timeout=10 > git checkout -f 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 > git rev-list --no-walk bc7e5252a6371971a8ca64433ac86b0abda7502e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:33:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:33:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:33:06 ========================================================= 02:33:06 EdgeX Global Pipelines Version Info 02:33:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:33:07 ------------------- 02:33:07 stable info: 02:33:07 ------------------- 02:33:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:33:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:33:07 Message: update stable to v1.0.254 02:33:07 ------------------- 02:33:07 experimental info: 02:33:07 ------------------- 02:33:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:33:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 02:33:07 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55c1d34 [Pipeline] echo 02:33:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:33:08 provisioning config files... 02:33:08 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5151273232132376865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:08 ---> docker-login.sh 02:33:08 nexus3.edgexfoundry.org:10001 02:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:09 Configure a credential helper to remove this warning. See 02:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:09 02:33:09 Login Succeeded 02:33:09 nexus3.edgexfoundry.org:10002 02:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:09 Configure a credential helper to remove this warning. See 02:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:09 02:33:09 Login Succeeded 02:33:09 nexus3.edgexfoundry.org:10003 02:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:09 Configure a credential helper to remove this warning. See 02:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:09 02:33:09 Login Succeeded 02:33:09 nexus3.edgexfoundry.org:10004 02:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:09 Configure a credential helper to remove this warning. See 02:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:09 02:33:09 Login Succeeded 02:33:09 docker.io 02:33:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:09 Configure a credential helper to remove this warning. See 02:33:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:09 02:33:09 Login Succeeded 02:33:09 ---> docker-login.sh ends [Pipeline] } 02:33:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:33:10 + git rev-list -1 --merges 55c1d344d8db4a0ebfd83c23655690c476512767~1..55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] echo 02:33:10 -----------> git rev-list -1 --merges 55c1d344d8db4a0ebfd83c23655690c476512767~1..55c1d344d8db4a0ebfd83c23655690c476512767 55c1d344d8db4a0ebfd83c23655690c476512767 02:33:10 55c1d344d8db4a0ebfd83c23655690c476512767 [false] [Pipeline] sh 02:33:10 + git log --format=format:%s -1 55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] echo 02:33:10 ========================================================= 02:33:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:33:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:33:11 + git log --format=format:%s -1 55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] echo 02:33:11 [semverPrep] GIT_COMMIT: 55c1d344d8db4a0ebfd83c23655690c476512767, Commit Message: Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24 [Pipeline] echo 02:33:11 [semverPrep] This is not a build commit. [Pipeline] sh 02:33:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:33:11 + grep -v github /etc/ssh/ssh_known_hosts 02:33:11 + [ -e /tmp/ssh_known_hosts ] 02:33:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:33:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:33:11 + sudo tee -a /etc/ssh/ssh_known_hosts 02:33:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:11 02:33:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:12 0.1.4: Pulling from edgex-devops/py-git-semver 02:33:12 b85a868b505f: Pulling fs layer 02:33:12 e2be974225ed: Pulling fs layer 02:33:12 339a4e72a1f5: Pulling fs layer 02:33:12 988bab9f4d93: Pulling fs layer 02:33:12 1469e6f7b9e6: Pulling fs layer 02:33:12 eaf3925da568: Pulling fs layer 02:33:12 bab4dde63d76: Pulling fs layer 02:33:12 bde34c3a00c8: Pulling fs layer 02:33:12 b352a97aabf1: Pulling fs layer 02:33:12 4872d77fe225: Pulling fs layer 02:33:12 5851b861e8e6: Pulling fs layer 02:33:12 1469e6f7b9e6: Waiting 02:33:12 988bab9f4d93: Waiting 02:33:12 b352a97aabf1: Waiting 02:33:12 eaf3925da568: Waiting 02:33:12 bde34c3a00c8: Waiting 02:33:12 bab4dde63d76: Waiting 02:33:12 5851b861e8e6: Waiting 02:33:12 e2be974225ed: Download complete 02:33:12 988bab9f4d93: Verifying Checksum 02:33:12 988bab9f4d93: Download complete 02:33:12 1469e6f7b9e6: Verifying Checksum 02:33:12 1469e6f7b9e6: Download complete 02:33:12 eaf3925da568: Download complete 02:33:12 339a4e72a1f5: Verifying Checksum 02:33:12 339a4e72a1f5: Download complete 02:33:12 bde34c3a00c8: Verifying Checksum 02:33:12 bde34c3a00c8: Download complete 02:33:12 b352a97aabf1: Verifying Checksum 02:33:12 b352a97aabf1: Download complete 02:33:12 4872d77fe225: Verifying Checksum 02:33:12 4872d77fe225: Download complete 02:33:12 5851b861e8e6: Verifying Checksum 02:33:12 5851b861e8e6: Download complete 02:33:12 b85a868b505f: Download complete 02:33:12 bab4dde63d76: Verifying Checksum 02:33:12 bab4dde63d76: Download complete 02:33:14 b85a868b505f: Pull complete 02:33:14 e2be974225ed: Pull complete 02:33:14 339a4e72a1f5: Pull complete 02:33:14 988bab9f4d93: Pull complete 02:33:14 1469e6f7b9e6: Pull complete 02:33:15 eaf3925da568: Pull complete 02:33:17 bab4dde63d76: Pull complete 02:33:17 bde34c3a00c8: Pull complete 02:33:17 b352a97aabf1: Pull complete 02:33:17 4872d77fe225: Pull complete 02:33:17 5851b861e8e6: Pull complete 02:33:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:33:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:33:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:33:17 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:33:17 $ 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 02:33:21 $ docker top 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 -eo pid,comm 02:33:21 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:33:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:33:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:21 [ssh-agent] Looking for ssh-agent implementation... 02:33:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:22 $ docker exec 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 ssh-agent 02:33:22 SSH_AUTH_SOCK=/tmp/ssh-SYjkPO9nsRv6/agent.31 02:33:22 SSH_AGENT_PID=37 02:33:22 Running ssh-add (command line suppressed) 02:33:22 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15438764485338321332.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_15438764485338321332.key) 02:33:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:22 + git tag --points-at HEAD [Pipeline] } 02:33:22 $ docker exec --env ******** --env ******** 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 ssh-agent -k 02:33:22 unset SSH_AUTH_SOCK; 02:33:22 unset SSH_AGENT_PID; 02:33:22 echo Agent pid 37 killed; 02:33:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:33:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:33:22 [ssh-agent] Looking for ssh-agent implementation... 02:33:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:33:22 $ docker exec 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 ssh-agent 02:33:22 SSH_AUTH_SOCK=/tmp/ssh-g746A1dt1vtV/agent.71 02:33:22 SSH_AGENT_PID=77 02:33:22 Running ssh-add (command line suppressed) 02:33:23 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10403885010613267889.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10403885010613267889.key) 02:33:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:33:23 + git semver init 02:33:23 2023-09-19 02:33:23,593 [run_init] DEBUG init version:0.0.0 force:False 02:33:23 2023-09-19 02:33:23,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 02:33:23 2023-09-19 02:33:23,594 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 02:33:23 2023-09-19 02:33:23,594 [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) 02:33:24 2023-09-19 02:33:24,589 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 02:33:24 2023-09-19 02:33:24,591 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 02:33:24 2023-09-19 02:33:24,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:33:24 2023-09-19 02:33:24,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:33:24 3.1.0-dev.9 [Pipeline] } 02:33:24 $ docker exec --env ******** --env ******** 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 ssh-agent -k 02:33:24 unset SSH_AUTH_SOCK; 02:33:24 unset SSH_AGENT_PID; 02:33:24 echo Agent pid 77 killed; 02:33:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:33:25 + git semver [Pipeline] } 02:33:25 $ docker stop --time=1 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 02:33:26 $ docker rm -f --volumes 8817d2f57bd33ebc788d02e2bf54fc31fcea916d3146bca4c29ed72f7da27747 [Pipeline] // withDockerContainer [Pipeline] sh 02:33:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:33:27 Stashed 1 file(s) [Pipeline] echo 02:33:27 [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [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 02:33:27 provisioning config files... 02:33:27 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15727598842619174205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:33:27 ---> docker-login.sh 02:33:27 nexus3.edgexfoundry.org:10001 02:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:27 Configure a credential helper to remove this warning. See 02:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:27 02:33:27 Login Succeeded 02:33:27 nexus3.edgexfoundry.org:10002 02:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:27 Configure a credential helper to remove this warning. See 02:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:27 02:33:27 Login Succeeded 02:33:27 nexus3.edgexfoundry.org:10003 02:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:28 Configure a credential helper to remove this warning. See 02:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:28 02:33:28 Login Succeeded 02:33:28 nexus3.edgexfoundry.org:10004 02:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:28 Configure a credential helper to remove this warning. See 02:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:28 02:33:28 Login Succeeded 02:33:28 docker.io 02:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:33:28 Configure a credential helper to remove this warning. See 02:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:33:28 02:33:28 Login Succeeded 02:33:28 ---> docker-login.sh ends [Pipeline] } 02:33:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:33:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:33:28 ========================================================= 02:33:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 02:33:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:33:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:33:28 Sending build context to Docker daemon 16.09MB 02:33:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:33:28 Step 2/12 : FROM ${BASE} AS builder 02:33:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 02:33:29 7264a8db6415: Pulling fs layer 02:33:29 c4d48a809fc2: Pulling fs layer 02:33:29 4f1c88b9dad5: Pulling fs layer 02:33:29 ad3a456e5733: Pulling fs layer 02:33:29 9e4f439ed901: Pulling fs layer 02:33:29 feaf6a47b606: Pulling fs layer 02:33:29 5e8b037d7d82: Pulling fs layer 02:33:29 ad3a456e5733: Waiting 02:33:29 9e4f439ed901: Waiting 02:33:29 feaf6a47b606: Waiting 02:33:29 8ac70367396e: Pulling fs layer 02:33:29 6db16350a2e2: Pulling fs layer 02:33:29 5e8b037d7d82: Waiting 02:33:29 8ac70367396e: Waiting 02:33:29 6db16350a2e2: Waiting 02:33:29 9250d5d63582: Pulling fs layer 02:33:29 9250d5d63582: Waiting 02:33:29 c4d48a809fc2: Verifying Checksum 02:33:29 c4d48a809fc2: Download complete 02:33:29 ad3a456e5733: Verifying Checksum 02:33:29 ad3a456e5733: Download complete 02:33:29 9e4f439ed901: Download complete 02:33:29 7264a8db6415: Verifying Checksum 02:33:29 7264a8db6415: Download complete 02:33:29 feaf6a47b606: Verifying Checksum 02:33:29 feaf6a47b606: Download complete 02:33:29 7264a8db6415: Pull complete 02:33:29 c4d48a809fc2: Pull complete 02:33:29 8ac70367396e: Verifying Checksum 02:33:29 8ac70367396e: Download complete 02:33:29 4f1c88b9dad5: Verifying Checksum 02:33:29 4f1c88b9dad5: Download complete 02:33:29 6db16350a2e2: Verifying Checksum 02:33:29 6db16350a2e2: Download complete 02:33:30 5e8b037d7d82: Verifying Checksum 02:33:30 5e8b037d7d82: Download complete 02:33:30 9250d5d63582: Verifying Checksum 02:33:30 9250d5d63582: Download complete 02:33:33 4f1c88b9dad5: Pull complete 02:33:33 ad3a456e5733: Pull complete 02:33:33 9e4f439ed901: Pull complete 02:33:33 feaf6a47b606: Pull complete 02:33:36 5e8b037d7d82: Pull complete 02:33:36 8ac70367396e: Pull complete 02:33:36 6db16350a2e2: Pull complete 02:33:37 9250d5d63582: Pull complete 02:33:37 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 02:33:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 02:33:37 ---> fa269f55d9b9 02:33:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:33:42 Still waiting to schedule task 02:33:42 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6448’ 02:33:45 ---> Running in 65b8602cbe6a 02:33:45 Removing intermediate container 65b8602cbe6a 02:33:45 ---> e1f7ab0d91d2 02:33:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:33:45 ---> Running in 6ef158b924ea 02:33:45 Removing intermediate container 6ef158b924ea 02:33:45 ---> 002822f7a39b 02:33:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:33:45 ---> Running in b385b448ff18 02:33:45 Removing intermediate container b385b448ff18 02:33:45 ---> ab3c6438e5c6 02:33:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:33:45 ---> Running in adeef0a9b589 02:33:45 Removing intermediate container adeef0a9b589 02:33:45 ---> 7a31738f43a3 02:33:45 Step 7/12 : WORKDIR /device-gpio 02:33:46 ---> Running in 449ffc8f67df 02:33:46 Removing intermediate container 449ffc8f67df 02:33:46 ---> 64b9e37dd176 02:33:46 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:33:46 ---> Running in 93d70944dad0 02:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:33:46 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:33:46 (2/4) Installing libedit (20221030.3.1-r1) 02:33:46 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:33:46 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:33:46 Executing busybox-1.36.1-r2.trigger 02:33:46 OK: 270 MiB in 60 packages 02:33:47 Removing intermediate container 93d70944dad0 02:33:47 ---> 8088db50d9d1 02:33:47 Step 9/12 : COPY go.mod vendor* ./ 02:33:47 ---> e3f902978652 02:33:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:33:47 ---> Running in ec67479f72bd 02:34:55 Removing intermediate container ec67479f72bd 02:34:55 ---> 7aa53ba70265 02:34:55 Step 11/12 : COPY . . 02:34:55 ---> 4a26b5a6ad35 02:34:55 Step 12/12 : RUN ${MAKE} 02:34:55 ---> Running in 0fecdd7c089d 02:34:55 noop 02:34:55 Removing intermediate container 0fecdd7c089d 02:34:55 ---> 320b30115d86 02:34:55 Successfully built 320b30115d86 02:34:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:55 + docker inspect -f . ci-base-image-x86_64 02:34:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:55 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:34:55 $ 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 02:34:56 $ docker top 2c233676c26cc96fe249d5e34739ec5b0c58b7707a4f237b4471ae448f0b8c3a -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:56 + go version 02:34:56 go version go1.21.0 linux/amd64 [Pipeline] } 02:34:56 $ docker stop --time=1 2c233676c26cc96fe249d5e34739ec5b0c58b7707a4f237b4471ae448f0b8c3a 02:34:57 $ docker rm -f --volumes 2c233676c26cc96fe249d5e34739ec5b0c58b7707a4f237b4471ae448f0b8c3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:58 + docker inspect -f . ci-base-image-x86_64 02:34:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:58 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:34:58 $ 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 02:34:58 $ docker top a69bc39e5ebf3e0598d8394c37aa70788cda110e1c5ef9f2f52d3d4cc3d36f9c -eo pid,comm [Pipeline] { [Pipeline] sh 02:34:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 02:34:59 + make test 02:34:59 go test ./... -coverprofile=coverage.out ./... 02:35:00 ? github.com/edgexfoundry/device-gpio [no test files] 02:35:10 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:35:10 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:35:16 go vet ./... 02:35:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:19 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:19 $ docker stop --time=1 a69bc39e5ebf3e0598d8394c37aa70788cda110e1c5ef9f2f52d3d4cc3d36f9c 02:35:23 $ docker rm -f --volumes a69bc39e5ebf3e0598d8394c37aa70788cda110e1c5ef9f2f52d3d4cc3d36f9c [Pipeline] // withDockerContainer [Pipeline] sh 02:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:35:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:35:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:35:25 + ls -al . 02:35:25 total 168 02:35:25 drwxrwxr-x 9 jenkins jenkins 4096 Sep 19 02:34 . 02:35:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:33 .. 02:35:25 -rw-rw-r-- 1 jenkins jenkins 120 Sep 19 02:33 .dockerignore 02:35:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:35 .git 02:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:33 .github 02:35:25 -rw-rw-r-- 1 jenkins jenkins 343 Sep 19 02:33 .gitignore 02:35:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:33 .golangci.yml 02:35:25 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:33 .semver 02:35:25 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 19 02:33 Attribution.txt 02:35:25 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 19 02:33 CHANGELOG.md 02:35:25 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 19 02:33 Dockerfile 02:35:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:33 GOVERNANCE.md 02:35:25 -rw-rw-r-- 1 jenkins jenkins 657 Sep 19 02:33 Jenkinsfile 02:35:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:33 LICENSE 02:35:25 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 19 02:33 Makefile 02:35:25 -rw-rw-r-- 1 jenkins jenkins 617 Sep 19 02:33 OWNERS.md 02:35:25 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 19 02:33 README.md 02:35:25 -rw-rw-r-- 1 jenkins jenkins 11 Sep 19 02:33 VERSION 02:35:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:33 bin 02:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:33 cmd 02:35:25 -rw-r--r-- 1 jenkins jenkins 10 Sep 19 02:34 coverage.out 02:35:25 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 19 02:33 go.mod 02:35:25 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 19 02:33 go.sum 02:35:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:33 internal 02:35:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:33 snap 02:35:25 -rw-rw-r-- 1 jenkins jenkins 209 Sep 19 02:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:25 + 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=55c1d344d8db4a0ebfd83c23655690c476512767 --label arch=amd64 --label version=3.1.0-dev.9 . 02:35:25 Sending build context to Docker daemon 16.09MB 02:35:25 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:35:25 Step 2/25 : FROM ${BASE} AS builder 02:35:25 ---> 320b30115d86 02:35:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:35:25 ---> Running in 408ebfda0d1c 02:35:25 Removing intermediate container 408ebfda0d1c 02:35:25 ---> 127adeab3c66 02:35:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:35:25 ---> Running in bb5a5c09c60c 02:35:26 Removing intermediate container bb5a5c09c60c 02:35:26 ---> 7bc22f017e36 02:35:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:35:26 ---> Running in 6ff9854803d9 02:35:26 Removing intermediate container 6ff9854803d9 02:35:26 ---> 8ac8cdbabf28 02:35:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:35:26 ---> Running in e1969aee8551 02:35:26 Removing intermediate container e1969aee8551 02:35:26 ---> cb1733b7fe21 02:35:26 Step 7/25 : WORKDIR /device-gpio 02:35:26 ---> Running in cf88f5ffc374 02:35:26 Removing intermediate container cf88f5ffc374 02:35:26 ---> e2a0d384799f 02:35:26 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:35:26 ---> Running in 2f8d46246a51 02:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:35:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:35:27 OK: 270 MiB in 60 packages 02:35:27 Removing intermediate container 2f8d46246a51 02:35:27 ---> 060286af1b1b 02:35:27 Step 9/25 : COPY go.mod vendor* ./ 02:35:27 ---> d642ba2246f8 02:35:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:27 ---> Running in b0f550adc964 02:35:28 Removing intermediate container b0f550adc964 02:35:28 ---> 4846468454bd 02:35:28 Step 11/25 : COPY . . 02:35:29 ---> 58406973832a 02:35:29 Step 12/25 : RUN ${MAKE} 02:35:29 ---> Running in 5aefa456ec9f 02:35:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:35:55 Removing intermediate container 5aefa456ec9f 02:35:55 ---> 3f2e5d699224 02:35:55 Step 13/25 : FROM alpine:3.18 02:35:55 3.18: Pulling from library/alpine 02:35:55 7264a8db6415: Already exists 02:35:55 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:35:55 Status: Downloaded newer image for alpine:3.18 02:35:55 ---> 7e01a0d0a1dc 02:35:55 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:35:55 ---> Running in 9a4c69e10f9c 02:35:55 Removing intermediate container 9a4c69e10f9c 02:35:55 ---> 99e0364e38d7 02:35:55 Step 15/25 : RUN apk add --update --no-cache 02:35:55 ---> Running in 5ea680b42c18 02:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 02:35:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 02:35:55 OK: 7 MiB in 15 packages 02:35:55 Removing intermediate container 5ea680b42c18 02:35:55 ---> 965f04734ec3 02:35:55 Step 16/25 : WORKDIR / 02:35:56 ---> Running in b56eb2401792 02:35:56 Removing intermediate container b56eb2401792 02:35:56 ---> 09602ce7e948 02:35:56 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:35:56 ---> 8d5677161e59 02:35:56 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:35:56 ---> 5733218dbe34 02:35:56 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:35:57 ---> 871e8cd2b604 02:35:57 Step 20/25 : EXPOSE 59910 02:35:57 ---> Running in c04242024b67 02:35:57 Removing intermediate container c04242024b67 02:35:57 ---> 2ce2e5f3c1ea 02:35:57 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:35:57 ---> Running in ffb91abbe6ab 02:35:57 Removing intermediate container ffb91abbe6ab 02:35:57 ---> 2fece9fc81b6 02:35:57 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:35:58 ---> Running in 3b4fd87a00fd 02:35:58 Removing intermediate container 3b4fd87a00fd 02:35:58 ---> ccbe93405f44 02:35:58 Step 23/25 : LABEL arch=amd64 02:35:58 ---> Running in 47438721f548 02:35:58 Removing intermediate container 47438721f548 02:35:58 ---> 20069e1ca077 02:35:58 Step 24/25 : LABEL git_sha=55c1d344d8db4a0ebfd83c23655690c476512767 02:35:58 ---> Running in ce6f58f17749 02:35:58 Removing intermediate container ce6f58f17749 02:35:58 ---> 049f2a072882 02:35:58 Step 25/25 : LABEL version=3.1.0-dev.9 02:35:58 ---> Running in a19b96e07f7f 02:35:58 Removing intermediate container a19b96e07f7f 02:35:58 ---> 37fd9ba6830e 02:35:58 [Warning] One or more build-args [ARCH] were not consumed 02:35:58 Successfully built 37fd9ba6830e 02:35:58 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:58 provisioning config files... 02:35:58 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config9554205965333511338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:58 ---> docker-login.sh 02:35:58 nexus3.edgexfoundry.org:10001 02:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:58 Configure a credential helper to remove this warning. See 02:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:58 02:35:58 Login Succeeded 02:35:58 nexus3.edgexfoundry.org:10002 02:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:58 Configure a credential helper to remove this warning. See 02:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:58 02:35:58 Login Succeeded 02:35:58 nexus3.edgexfoundry.org:10003 02:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:58 Configure a credential helper to remove this warning. See 02:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:58 02:35:58 Login Succeeded 02:35:58 nexus3.edgexfoundry.org:10004 02:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:58 Configure a credential helper to remove this warning. See 02:35:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:58 02:35:58 Login Succeeded 02:35:58 docker.io 02:35:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:59 Configure a credential helper to remove this warning. See 02:35:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:59 02:35:59 Login Succeeded 02:35:59 ---> docker-login.sh ends [Pipeline] } 02:35:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:35:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:59 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 02:35:59 55c1d344d8db4a0ebfd83c23655690c476512767 02:35:59 latest 02:35:59 3.1.0-dev.9 02:35:59 55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:35:59 main 02:35:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:59 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:59 + docker push nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767 02:35:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:35:59 6ad0dd00688b: Preparing 02:35:59 7ae81bcdc979: Preparing 02:35:59 8e40416c6829: Preparing 02:35:59 e0a365967482: Preparing 02:35:59 4693057ce236: Preparing 02:35:59 4693057ce236: Layer already exists 02:35:59 7ae81bcdc979: Pushed 02:35:59 e0a365967482: Pushed 02:35:59 8e40416c6829: Pushed 02:36:02 6ad0dd00688b: Pushed 02:36:02 55c1d344d8db4a0ebfd83c23655690c476512767: digest: sha256:443dcb9ccf16014b1cecd1fa8013c2d077702290338d952da70383dd10ee3ffb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:03 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:03 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 02:36:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:36:03 6ad0dd00688b: Preparing 02:36:03 7ae81bcdc979: Preparing 02:36:03 8e40416c6829: Preparing 02:36:03 e0a365967482: Preparing 02:36:03 4693057ce236: Preparing 02:36:03 e0a365967482: Layer already exists 02:36:03 6ad0dd00688b: Layer already exists 02:36:03 4693057ce236: Layer already exists 02:36:03 7ae81bcdc979: Layer already exists 02:36:03 8e40416c6829: Layer already exists 02:36:03 latest: digest: sha256:443dcb9ccf16014b1cecd1fa8013c2d077702290338d952da70383dd10ee3ffb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:03 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.9 02:36:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:36:04 6ad0dd00688b: Preparing 02:36:04 7ae81bcdc979: Preparing 02:36:04 8e40416c6829: Preparing 02:36:04 e0a365967482: Preparing 02:36:04 4693057ce236: Preparing 02:36:04 e0a365967482: Layer already exists 02:36:04 6ad0dd00688b: Layer already exists 02:36:04 4693057ce236: Layer already exists 02:36:04 7ae81bcdc979: Layer already exists 02:36:04 8e40416c6829: Layer already exists 02:36:04 3.1.0-dev.9: digest: sha256:443dcb9ccf16014b1cecd1fa8013c2d077702290338d952da70383dd10ee3ffb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:04 + docker push nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:36:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:36:04 6ad0dd00688b: Preparing 02:36:04 7ae81bcdc979: Preparing 02:36:04 8e40416c6829: Preparing 02:36:04 e0a365967482: Preparing 02:36:04 4693057ce236: Preparing 02:36:04 e0a365967482: Layer already exists 02:36:04 7ae81bcdc979: Layer already exists 02:36:04 6ad0dd00688b: Layer already exists 02:36:04 8e40416c6829: Layer already exists 02:36:04 4693057ce236: Layer already exists 02:36:04 55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9: digest: sha256:443dcb9ccf16014b1cecd1fa8013c2d077702290338d952da70383dd10ee3ffb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:04 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 02:36:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 02:36:05 6ad0dd00688b: Preparing 02:36:05 7ae81bcdc979: Preparing 02:36:05 8e40416c6829: Preparing 02:36:05 e0a365967482: Preparing 02:36:05 4693057ce236: Preparing 02:36:05 7ae81bcdc979: Layer already exists 02:36:05 4693057ce236: Layer already exists 02:36:05 8e40416c6829: Layer already exists 02:36:05 e0a365967482: Layer already exists 02:36:05 6ad0dd00688b: Layer already exists 02:36:05 main: digest: sha256:443dcb9ccf16014b1cecd1fa8013c2d077702290338d952da70383dd10ee3ffb size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:36:05 ===================================================== [Pipeline] echo 02:36:05 taggedImages: 02:36:05 - nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767 02:36:05 - nexus3.edgexfoundry.org:10004/device-gpio:latest 02:36:05 - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.9 02:36:05 - nexus3.edgexfoundry.org:10004/device-gpio:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:36:05 - nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:05 02:36:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:06 latest: Pulling from edgex-lftools-log-publisher 02:36:06 5eb5b503b376: Pulling fs layer 02:36:06 5c69ac0246d0: Pulling fs layer 02:36:06 ec43610c2a17: Pulling fs layer 02:36:06 3a2ae6a8a46f: Pulling fs layer 02:36:06 33b1e0a273af: Pulling fs layer 02:36:06 5d3b04190fa2: Pulling fs layer 02:36:06 2f39f015ded8: Pulling fs layer 02:36:06 33b1e0a273af: Waiting 02:36:06 5d3b04190fa2: Waiting 02:36:06 2f39f015ded8: Waiting 02:36:06 3a2ae6a8a46f: Waiting 02:36:06 5c69ac0246d0: Download complete 02:36:06 3a2ae6a8a46f: Download complete 02:36:06 33b1e0a273af: Verifying Checksum 02:36:06 33b1e0a273af: Download complete 02:36:06 5d3b04190fa2: Verifying Checksum 02:36:06 5d3b04190fa2: Download complete 02:36:06 ec43610c2a17: Download complete 02:36:06 5eb5b503b376: Verifying Checksum 02:36:06 5eb5b503b376: Download complete 02:36:06 2f39f015ded8: Verifying Checksum 02:36:06 2f39f015ded8: Download complete 02:36:07 5eb5b503b376: Pull complete 02:36:07 5c69ac0246d0: Pull complete 02:36:07 ec43610c2a17: Pull complete 02:36:07 3a2ae6a8a46f: Pull complete 02:36:08 33b1e0a273af: Pull complete 02:36:08 5d3b04190fa2: Pull complete 02:36:12 2f39f015ded8: Pull complete 02:36:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:36:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:12 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:36:12 $ 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 02:36:19 $ docker top 1cc0924581c273956323e6d27e323b63a5150cbdc6214ec781fbe37e56210016 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:36:20 ---> job-cost.sh 02:36:20 lf-activate-venv: SKIPPING 02:36:20 INFO: No Stack... 02:36:21 INFO: Retrieving Pricing Info for: v3-standard-8 02:36:21 INFO: Archiving Costs [Pipeline] sh 02:36:22 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 02:36:22 + cut -d, -f6 [Pipeline] lock 02:36:22 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] 02:36:22 Resource [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] did not exist. Created. 02:36:22 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:22 + echo total: 0.2199999988079071 [Pipeline] stash 02:36:22 Stashed 1 file(s) [Pipeline] } 02:36:22 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:22 $ docker stop --time=1 1cc0924581c273956323e6d27e323b63a5150cbdc6214ec781fbe37e56210016 02:36:23 $ docker rm -f --volumes 1cc0924581c273956323e6d27e323b63a5150cbdc6214ec781fbe37e56210016 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:36:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6453 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 02:36:42 Running in /w/workspace/device-gpio/96 [Pipeline] { [Pipeline] checkout 02:36:42 The recommended git tool is: git 02:36:47 using credential edgex-jenkins-ssh 02:36:47 Cloning the remote Git repository 02:36:47 Cloning repository git@github.com:edgexfoundry/device-gpio.git 02:36:47 > git init /w/workspace/device-gpio/96 # timeout=10 02:36:47 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 02:36:47 > git --version # timeout=10 02:36:47 > git --version # 'git version 2.25.1' 02:36:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:36:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:36:49 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 02:36:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:36:50 Avoid second fetch 02:36:50 Checking out Revision 55c1d344d8db4a0ebfd83c23655690c476512767 (main) 02:36:51 Commit message: "Merge pull request #194 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.24" 02:36:50 > git config core.sparsecheckout # timeout=10 02:36:50 > git checkout -f 55c1d344d8db4a0ebfd83c23655690c476512767 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:36:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:36:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:36:52 Dload Upload Total Spent Left Speed 02:36:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 82201 0 --:--:-- --:--:-- --:--:-- 82201 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 02:36:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:36:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:36:53 + sudo tee /etc/docker/daemon.new 02:36:53 { 02:36:53 "registry-mirrors": [ 02:36:53 "https://nexus3.edgexfoundry.org:10001" 02:36:53 ], 02:36:53 "bip": "10.250.0.254/24", 02:36:53 "hosts": [ 02:36:53 "tcp://0.0.0.0:5555", 02:36:53 "unix:///var/run/docker.sock" 02:36:53 ], 02:36:53 "mtu": 1458, 02:36:53 "selinux-enabled": true, 02:36:53 "seccomp-profile": "/etc/docker/seccomp.json" 02:36:53 } [Pipeline] sh 02:36:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:36:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:12 provisioning config files... 02:37:12 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/96@tmp/config3493588701780044515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:12 ---> docker-login.sh 02:37:12 nexus3.edgexfoundry.org:10001 02:37:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:12 Configure a credential helper to remove this warning. See 02:37:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:12 02:37:12 Login Succeeded 02:37:13 nexus3.edgexfoundry.org:10002 02:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:13 Configure a credential helper to remove this warning. See 02:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:13 02:37:13 Login Succeeded 02:37:13 nexus3.edgexfoundry.org:10003 02:37:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:13 Configure a credential helper to remove this warning. See 02:37:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:13 02:37:13 Login Succeeded 02:37:13 nexus3.edgexfoundry.org:10004 02:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:14 Configure a credential helper to remove this warning. See 02:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:14 02:37:14 Login Succeeded 02:37:14 docker.io 02:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:14 Configure a credential helper to remove this warning. See 02:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:14 02:37:14 Login Succeeded 02:37:14 ---> docker-login.sh ends [Pipeline] } 02:37:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:14 ========================================================= 02:37:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:37:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 02:37:15 Sending build context to Docker daemon 8.106MB 02:37:15 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 02:37:15 Step 2/12 : FROM ${BASE} AS builder 02:37:15 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:37:15 9fda8d8052c6: Pulling fs layer 02:37:15 5d54e960e981: Pulling fs layer 02:37:15 c4a7e357bf2a: Pulling fs layer 02:37:15 f0e02332f6b5: Pulling fs layer 02:37:15 66412af1f25a: Pulling fs layer 02:37:15 1baf3a5c0e64: Pulling fs layer 02:37:15 9a37bb91b891: Pulling fs layer 02:37:15 a29adfc67d43: Pulling fs layer 02:37:15 d5de9f91c1a4: Pulling fs layer 02:37:15 1baf3a5c0e64: Waiting 02:37:15 9a37bb91b891: Waiting 02:37:15 a29adfc67d43: Waiting 02:37:15 d5de9f91c1a4: Waiting 02:37:15 f0e02332f6b5: Waiting 02:37:15 5d54e960e981: Verifying Checksum 02:37:15 5d54e960e981: Download complete 02:37:15 9fda8d8052c6: Download complete 02:37:15 f0e02332f6b5: Verifying Checksum 02:37:15 f0e02332f6b5: Download complete 02:37:15 66412af1f25a: Verifying Checksum 02:37:15 66412af1f25a: Download complete 02:37:16 9a37bb91b891: Verifying Checksum 02:37:16 9a37bb91b891: Download complete 02:37:17 9fda8d8052c6: Pull complete 02:37:17 a29adfc67d43: Verifying Checksum 02:37:17 a29adfc67d43: Download complete 02:37:17 5d54e960e981: Pull complete 02:37:17 c4a7e357bf2a: Verifying Checksum 02:37:17 c4a7e357bf2a: Download complete 02:37:17 d5de9f91c1a4: Verifying Checksum 02:37:17 d5de9f91c1a4: Download complete 02:37:18 1baf3a5c0e64: Verifying Checksum 02:37:18 1baf3a5c0e64: Download complete 02:37:28 c4a7e357bf2a: Pull complete 02:37:28 f0e02332f6b5: Pull complete 02:37:28 66412af1f25a: Pull complete 02:37:37 1baf3a5c0e64: Pull complete 02:37:38 9a37bb91b891: Pull complete 02:37:40 a29adfc67d43: Pull complete 02:37:41 d5de9f91c1a4: Pull complete 02:37:41 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 02:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:37:41 ---> 746ca1b523b5 02:37:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:37:43 ---> Running in d5ab04ab7d9d 02:37:43 Removing intermediate container d5ab04ab7d9d 02:37:43 ---> e79ff34e1803 02:37:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:44 ---> Running in 7a8b27a454da 02:37:44 Removing intermediate container 7a8b27a454da 02:37:44 ---> b7c1bc8f150f 02:37:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:37:44 ---> Running in d37199851e47 02:37:44 Removing intermediate container d37199851e47 02:37:44 ---> c0075aabc4cd 02:37:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:37:45 ---> Running in 3ddc3a3c23c7 02:37:45 Removing intermediate container 3ddc3a3c23c7 02:37:45 ---> ca81fe519dec 02:37:45 Step 7/12 : WORKDIR /device-gpio 02:37:45 ---> Running in 0101614db44c 02:37:45 Removing intermediate container 0101614db44c 02:37:45 ---> 97d48cb92a50 02:37:45 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:45 ---> Running in 4c17708b59fd 02:37:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:37:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:37:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 02:37:48 (2/4) Installing libedit (20221030.3.1-r1) 02:37:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 02:37:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 02:37:48 Executing busybox-1.36.1-r2.trigger 02:37:48 OK: 272 MiB in 60 packages 02:37:51 Removing intermediate container 4c17708b59fd 02:37:51 ---> 86512437f8ca 02:37:51 Step 9/12 : COPY go.mod vendor* ./ 02:37:51 ---> babca92e66e0 02:37:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:37:51 ---> Running in 2a068beb1838 02:38:59 Removing intermediate container 2a068beb1838 02:38:59 ---> f71092957ac6 02:38:59 Step 11/12 : COPY . . 02:38:59 ---> 202c84274a15 02:38:59 Step 12/12 : RUN ${MAKE} 02:38:59 ---> Running in 6856f180fcab 02:39:00 noop 02:39:00 Removing intermediate container 6856f180fcab 02:39:00 ---> 2bb7cea2b73b 02:39:00 Successfully built 2bb7cea2b73b 02:39:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:00 + docker inspect -f . ci-base-image-arm64 02:39:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:01 prd-ubuntu20.04-docker-arm64-4c-16g-6453 does not seem to be running inside a container 02:39:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/96 -v /w/workspace/device-gpio/96:/w/workspace/device-gpio/96:rw,z -v /w/workspace/device-gpio/96@tmp:/w/workspace/device-gpio/96@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 02:39:02 $ docker top 526a63fa8409bef388c3762d4448bcf10b9c0f1a6471b064cae41691909e8215 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:03 + go version 02:39:03 go version go1.21.0 linux/arm64 [Pipeline] } 02:39:03 $ docker stop --time=1 526a63fa8409bef388c3762d4448bcf10b9c0f1a6471b064cae41691909e8215 02:39:05 $ docker rm -f --volumes 526a63fa8409bef388c3762d4448bcf10b9c0f1a6471b064cae41691909e8215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:05 + docker inspect -f . ci-base-image-arm64 02:39:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:05 prd-ubuntu20.04-docker-arm64-4c-16g-6453 does not seem to be running inside a container 02:39:05 $ 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/96 -v /w/workspace/device-gpio/96:/w/workspace/device-gpio/96:rw,z -v /w/workspace/device-gpio/96@tmp:/w/workspace/device-gpio/96@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 02:39:07 $ docker top fd5ba1ecf725828ef59f6476d39bea26b33460f384a15421bb38399385da6805 -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:07 + git config --global --add safe.directory /w/workspace/device-gpio/96 [Pipeline] fileExists [Pipeline] sh 02:39:08 + make test 02:39:08 go test ./... -coverprofile=coverage.out ./... 02:39:16 ? github.com/edgexfoundry/device-gpio [no test files] 02:40:53 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 02:40:53 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 02:40:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:40:53 go vet ./... 02:41:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:32 ./bin/test-attribution-txt.sh [Pipeline] echo 02:41:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:41:32 $ docker stop --time=1 fd5ba1ecf725828ef59f6476d39bea26b33460f384a15421bb38399385da6805 02:41:34 $ docker rm -f --volumes fd5ba1ecf725828ef59f6476d39bea26b33460f384a15421bb38399385da6805 [Pipeline] // withDockerContainer [Pipeline] sh 02:41:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:36 Warning: overwriting stash ‘coverage-report’ 02:41:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:41:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:37 + ls -al . 02:41:37 total 164 02:41:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:39 . 02:41:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 .. 02:41:37 -rw-rw-r-- 1 jenkins jenkins 120 Sep 19 02:36 .dockerignore 02:41:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 19 02:36 .git 02:41:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:36 .github 02:41:37 -rw-rw-r-- 1 jenkins jenkins 343 Sep 19 02:36 .gitignore 02:41:37 -rw-rw-r-- 1 jenkins jenkins 41 Sep 19 02:36 .golangci.yml 02:41:37 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 19 02:36 Attribution.txt 02:41:37 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 19 02:36 CHANGELOG.md 02:41:37 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 19 02:36 Dockerfile 02:41:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 19 02:36 GOVERNANCE.md 02:41:37 -rw-rw-r-- 1 jenkins jenkins 657 Sep 19 02:36 Jenkinsfile 02:41:37 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 19 02:36 LICENSE 02:41:37 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 19 02:36 Makefile 02:41:37 -rw-rw-r-- 1 jenkins jenkins 617 Sep 19 02:36 OWNERS.md 02:41:37 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 19 02:36 README.md 02:41:37 -rw-rw-r-- 1 jenkins jenkins 11 Sep 19 02:33 VERSION 02:41:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 19 02:36 bin 02:41:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:36 cmd 02:41:37 -rw-r--r-- 1 jenkins jenkins 10 Sep 19 02:39 coverage.out 02:41:37 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 19 02:36 go.mod 02:41:37 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 19 02:36 go.sum 02:41:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 19 02:36 internal 02:41:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 19 02:36 snap 02:41:37 -rw-rw-r-- 1 jenkins jenkins 209 Sep 19 02:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:37 + 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=55c1d344d8db4a0ebfd83c23655690c476512767 --label arch=arm64 --label version=3.1.0-dev.9 . 02:41:37 Sending build context to Docker daemon 8.107MB 02:41:38 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:41:38 Step 2/25 : FROM ${BASE} AS builder 02:41:38 ---> 2bb7cea2b73b 02:41:38 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:41:38 ---> Running in 20b437f9c876 02:41:38 Removing intermediate container 20b437f9c876 02:41:38 ---> 4f15656d0851 02:41:38 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:38 ---> Running in 8dc2e99d87e8 02:41:39 Removing intermediate container 8dc2e99d87e8 02:41:39 ---> 6af34de04332 02:41:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 02:41:39 ---> Running in b11b9bd810c5 02:41:39 Removing intermediate container b11b9bd810c5 02:41:39 ---> 067aaafb3c56 02:41:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:41:39 ---> Running in f0ee3059a235 02:41:39 Removing intermediate container f0ee3059a235 02:41:39 ---> f051a4caf7f4 02:41:39 Step 7/25 : WORKDIR /device-gpio 02:41:39 ---> Running in bb5edd6a2cb3 02:41:40 Removing intermediate container bb5edd6a2cb3 02:41:40 ---> 71316c90c07f 02:41:40 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:41:40 ---> Running in 836c53bc9b95 02:41:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:41:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:41:43 OK: 272 MiB in 60 packages 02:41:44 Removing intermediate container 836c53bc9b95 02:41:44 ---> 8bd91ab846c9 02:41:44 Step 9/25 : COPY go.mod vendor* ./ 02:41:45 ---> 535f0a74b9c1 02:41:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:45 ---> Running in 5f39cdaa6cae 02:41:47 Removing intermediate container 5f39cdaa6cae 02:41:47 ---> 85e45937432c 02:41:47 Step 11/25 : COPY . . 02:41:48 ---> 9ee84ed37a7d 02:41:48 Step 12/25 : RUN ${MAKE} 02:41:48 ---> Running in 5633e4291f9f 02:41:49 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 02:43:56 Removing intermediate container 5633e4291f9f 02:43:56 ---> 84fe604df9b8 02:43:56 Step 13/25 : FROM alpine:3.18 02:43:56 3.18: Pulling from library/alpine 02:43:56 9fda8d8052c6: Already exists 02:43:56 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 02:43:56 Status: Downloaded newer image for alpine:3.18 02:43:56 ---> f6648c04cd6c 02:43:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 02:43:56 ---> Running in 9182713bb73f 02:43:56 Removing intermediate container 9182713bb73f 02:43:56 ---> f5807474ee3e 02:43:56 Step 15/25 : RUN apk add --update --no-cache 02:43:56 ---> Running in 650cda2d692f 02:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:43:56 OK: 8 MiB in 15 packages 02:43:57 Removing intermediate container 650cda2d692f 02:43:57 ---> 20628e30f75c 02:43:57 Step 16/25 : WORKDIR / 02:43:57 ---> Running in bbb25e141d69 02:43:57 Removing intermediate container bbb25e141d69 02:43:57 ---> 27889c8abaf7 02:43:57 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 02:43:58 ---> 51a4becbef77 02:43:58 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 02:43:58 ---> 8c9d0da1b0f9 02:43:58 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 02:44:00 ---> 05bc80a50dbf 02:44:00 Step 20/25 : EXPOSE 59910 02:44:00 ---> Running in eafcfb200cac 02:44:00 Removing intermediate container eafcfb200cac 02:44:00 ---> 18631e5bb724 02:44:00 Step 21/25 : ENTRYPOINT ["/device-gpio"] 02:44:00 ---> Running in 54c988dd401f 02:44:00 Removing intermediate container 54c988dd401f 02:44:00 ---> 8bf9682ba0d0 02:44:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:44:01 ---> Running in dc3600beb9f3 02:44:01 Removing intermediate container dc3600beb9f3 02:44:01 ---> 78b1beb02a94 02:44:01 Step 23/25 : LABEL arch=arm64 02:44:01 ---> Running in 70abf63e9dec 02:44:01 Removing intermediate container 70abf63e9dec 02:44:01 ---> d385b46c23fd 02:44:01 Step 24/25 : LABEL git_sha=55c1d344d8db4a0ebfd83c23655690c476512767 02:44:01 ---> Running in 9178b25613b9 02:44:01 Removing intermediate container 9178b25613b9 02:44:01 ---> 3ee62d3776d1 02:44:01 Step 25/25 : LABEL version=3.1.0-dev.9 02:44:02 ---> Running in 8ec2e142e16f 02:44:02 Removing intermediate container 8ec2e142e16f 02:44:02 ---> edfa93b6d9bb 02:44:02 [Warning] One or more build-args [ARCH] were not consumed 02:44:02 Successfully built edfa93b6d9bb 02:44:02 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:44:02 provisioning config files... 02:44:02 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/96@tmp/config946255210116788068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:02 ---> docker-login.sh 02:44:02 nexus3.edgexfoundry.org:10001 02:44:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 nexus3.edgexfoundry.org:10002 02:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 nexus3.edgexfoundry.org:10003 02:44:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:03 Configure a credential helper to remove this warning. See 02:44:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:03 02:44:03 Login Succeeded 02:44:03 nexus3.edgexfoundry.org:10004 02:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:04 Configure a credential helper to remove this warning. See 02:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:04 02:44:04 Login Succeeded 02:44:04 docker.io 02:44:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:04 Configure a credential helper to remove this warning. See 02:44:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:04 02:44:04 Login Succeeded 02:44:04 ---> docker-login.sh ends [Pipeline] } 02:44:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:44:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:04 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 02:44:04 55c1d344d8db4a0ebfd83c23655690c476512767 02:44:04 latest 02:44:04 3.1.0-dev.9 02:44:04 55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:44:04 main 02:44:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:05 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:05 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767 02:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:44:05 1fe805d65d4c: Preparing 02:44:05 c05fead772a1: Preparing 02:44:05 bc596f4a9c82: Preparing 02:44:05 0287e4fdeadf: Preparing 02:44:05 b2191e2be29d: Preparing 02:44:05 b2191e2be29d: Layer already exists 02:44:05 0287e4fdeadf: Pushed 02:44:05 c05fead772a1: Pushed 02:44:05 bc596f4a9c82: Pushed 02:44:11 1fe805d65d4c: Pushed 02:44:11 55c1d344d8db4a0ebfd83c23655690c476512767: digest: sha256:0d98bc31987a0228a56016bdb13e111dad1b1da39b814438138b58331da44d4a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:11 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:11 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:44:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:44:11 1fe805d65d4c: Preparing 02:44:11 c05fead772a1: Preparing 02:44:11 bc596f4a9c82: Preparing 02:44:11 0287e4fdeadf: Preparing 02:44:11 b2191e2be29d: Preparing 02:44:11 b2191e2be29d: Layer already exists 02:44:11 c05fead772a1: Layer already exists 02:44:11 0287e4fdeadf: Layer already exists 02:44:11 1fe805d65d4c: Layer already exists 02:44:11 bc596f4a9c82: Layer already exists 02:44:12 latest: digest: sha256:0d98bc31987a0228a56016bdb13e111dad1b1da39b814438138b58331da44d4a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:12 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:12 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.9 02:44:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:44:12 1fe805d65d4c: Preparing 02:44:12 c05fead772a1: Preparing 02:44:12 bc596f4a9c82: Preparing 02:44:12 0287e4fdeadf: Preparing 02:44:12 b2191e2be29d: Preparing 02:44:12 0287e4fdeadf: Layer already exists 02:44:12 bc596f4a9c82: Layer already exists 02:44:12 c05fead772a1: Layer already exists 02:44:12 1fe805d65d4c: Layer already exists 02:44:12 b2191e2be29d: Layer already exists 02:44:12 3.1.0-dev.9: digest: sha256:0d98bc31987a0228a56016bdb13e111dad1b1da39b814438138b58331da44d4a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:13 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:13 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:44:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:44:13 1fe805d65d4c: Preparing 02:44:13 c05fead772a1: Preparing 02:44:13 bc596f4a9c82: Preparing 02:44:13 0287e4fdeadf: Preparing 02:44:13 b2191e2be29d: Preparing 02:44:13 c05fead772a1: Layer already exists 02:44:13 b2191e2be29d: Layer already exists 02:44:13 0287e4fdeadf: Layer already exists 02:44:13 bc596f4a9c82: Layer already exists 02:44:13 1fe805d65d4c: Layer already exists 02:44:13 55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9: digest: sha256:0d98bc31987a0228a56016bdb13e111dad1b1da39b814438138b58331da44d4a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:13 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:14 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 02:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 02:44:14 1fe805d65d4c: Preparing 02:44:14 c05fead772a1: Preparing 02:44:14 bc596f4a9c82: Preparing 02:44:14 0287e4fdeadf: Preparing 02:44:14 b2191e2be29d: Preparing 02:44:14 c05fead772a1: Layer already exists 02:44:14 1fe805d65d4c: Layer already exists 02:44:14 b2191e2be29d: Layer already exists 02:44:14 0287e4fdeadf: Layer already exists 02:44:14 bc596f4a9c82: Layer already exists 02:44:14 main: digest: sha256:0d98bc31987a0228a56016bdb13e111dad1b1da39b814438138b58331da44d4a size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:44:14 ===================================================== [Pipeline] echo 02:44:14 taggedImages: 02:44:14 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767 02:44:14 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 02:44:14 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.9 02:44:14 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:55c1d344d8db4a0ebfd83c23655690c476512767-3.1.0-dev.9 02:44:14 - 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:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:44:14 02:44:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:44:15 arm64: Pulling from edgex-lftools-log-publisher 02:44:15 8998bd30e6a1: Pulling fs layer 02:44:15 04944245beec: Pulling fs layer 02:44:15 699f458cf7ca: Pulling fs layer 02:44:15 765212b225bb: Pulling fs layer 02:44:15 f23df028b6ca: Pulling fs layer 02:44:15 d65c8cfc05b1: Pulling fs layer 02:44:15 2437ff75d9bd: Pulling fs layer 02:44:15 765212b225bb: Waiting 02:44:15 f23df028b6ca: Waiting 02:44:15 d65c8cfc05b1: Waiting 02:44:15 2437ff75d9bd: Waiting 02:44:15 04944245beec: Verifying Checksum 02:44:15 04944245beec: Download complete 02:44:15 765212b225bb: Verifying Checksum 02:44:15 765212b225bb: Download complete 02:44:15 f23df028b6ca: Verifying Checksum 02:44:15 f23df028b6ca: Download complete 02:44:15 d65c8cfc05b1: Verifying Checksum 02:44:15 d65c8cfc05b1: Download complete 02:44:15 699f458cf7ca: Verifying Checksum 02:44:15 699f458cf7ca: Download complete 02:44:15 8998bd30e6a1: Verifying Checksum 02:44:15 8998bd30e6a1: Download complete 02:44:18 2437ff75d9bd: Verifying Checksum 02:44:18 2437ff75d9bd: Download complete 02:44:20 8998bd30e6a1: Pull complete 02:44:20 04944245beec: Pull complete 02:44:24 699f458cf7ca: Pull complete 02:44:24 765212b225bb: Pull complete 02:44:25 f23df028b6ca: Pull complete 02:44:25 d65c8cfc05b1: Pull complete 02:44:40 2437ff75d9bd: Pull complete 02:44:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:44:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:40 prd-ubuntu20.04-docker-arm64-4c-16g-6453 does not seem to be running inside a container 02:44:40 $ 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/96 -v /w/workspace/device-gpio/96:/w/workspace/device-gpio/96:rw,z -v /w/workspace/device-gpio/96@tmp:/w/workspace/device-gpio/96@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:44:43 $ docker top c83f3703feaabad2a7e8438f31188413a3497dcc294008839a43c32ae05a3b8f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:44 ---> job-cost.sh 02:44:44 lf-activate-venv: SKIPPING 02:44:44 INFO: No Stack... 02:44:44 INFO: Retrieving Pricing Info for: v3-standard-4 02:44:45 INFO: Archiving Costs [Pipeline] sh 02:44:46 + + catcut /w/workspace/device-gpio/96/archives/cost.csv -d, 02:44:46 -f6 [Pipeline] lock 02:44:46 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] 02:44:46 Resource [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] did not exist. Created. 02:44:46 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:44:46 /w/workspace/device-gpio/96@tmp/durable-9bef50ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:44:47 + echo total: 0.10999999940395355 [Pipeline] stash 02:44:47 Warning: overwriting stash ‘stack-cost’ 02:44:47 Stashed 1 file(s) [Pipeline] } 02:44:47 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-96-stack-cost] [Pipeline] // lock [Pipeline] } 02:44:47 $ docker stop --time=1 c83f3703feaabad2a7e8438f31188413a3497dcc294008839a43c32ae05a3b8f 02:44:49 $ docker rm -f --volumes c83f3703feaabad2a7e8438f31188413a3497dcc294008839a43c32ae05a3b8f [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:44:49 provisioning config files... 02:44:49 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1086082258544822924tmp [Pipeline] { [Pipeline] sh 02:44:49 + set +x 02:44:49 + + bash -s -- 02:44:49 curl -s https://codecov.io/bash 02:44:49 02:44:49 _____ _ 02:44:49 / ____| | | 02:44:49 | | ___ __| | ___ ___ _____ __ 02:44:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:44:49 | |___| (_) | (_| | __/ (_| (_) \ V / 02:44:49 \_____\___/ \__,_|\___|\___\___/ \_/ 02:44:49 Bash-1.0.6 02:44:49 02:44:49 02:44:49 ==> git version 2.25.1 found 02:44:49 ==> 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:44:49 Release-Date: 2020-01-08 02:44:49 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:44:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:44:49 ==> Jenkins CI detected. 02:44:49 current dir:  /w/workspace/edgexfoundry_device-gpio_main 02:44:49 project root: . 02:44:49 --> token set from env 02:44:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:44:49 ==> Running gcov in . (disable via -X gcov) 02:44:49 ==> Python coveragepy not found 02:44:49 ==> Searching for coverage reports in: 02:44:49 + . 02:44:49 -> Found 1 reports 02:44:49 ==> Detecting git/mercurial file structure 02:44:49 ==> Reading reports 02:44:50 + ./coverage.out bytes=10 02:44:50 ==> Appending adjustments 02:44:50 https://docs.codecov.io/docs/fixing-reports 02:44:50 + Found adjustments 02:44:50 ==> Gzipping contents 02:44:50 4.0K /tmp/codecov.MmdZ1P.gz 02:44:50 ==> Uploading reports 02:44:50 url: https://codecov.io 02:44:50 query: branch=main&commit=55c1d344d8db4a0ebfd83c23655690c476512767&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:44:50 -> Pinging Codecov 02:44:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=fd99c0d9-4bd5-4cc4-839c-8c49599ba8c8&branch=main&commit=55c1d344d8db4a0ebfd83c23655690c476512767&build=96&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F96%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 02:44:50 -> Uploading to 02:44:50 https://storage.googleapis.com/codecov/v4/raw/2023-09-19/3EC07B1A8CA8AF9BCAA0BB9F0134797F/55c1d344d8db4a0ebfd83c23655690c476512767/329d1f8c-21cc-4fd2-a82b-6c6a275e10b2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230919%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230919T024450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60785f87bca3085c815e0571b39f15cf3b7131c9d77bfce5f92b35dafbe28c4c 02:44:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:44:50 Dload Upload Total Spent Left Speed 02:44:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3851 --:--:-- --:--:-- --:--:-- 3871 02:44:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] } 02:44:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:44:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:44:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:44:50 02:44:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:44:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:44:51 df9b9388f04a: Pulling fs layer 02:44:51 52dc419b0ee2: Pulling fs layer 02:44:51 25bc292e5bac: Pulling fs layer 02:44:51 114826534d7a: Pulling fs layer 02:44:51 4657fd5d0bcf: Pulling fs layer 02:44:51 6ad1cebc031e: Pulling fs layer 02:44:51 8a3aa393b2d8: Pulling fs layer 02:44:51 8a3aa393b2d8: Waiting 02:44:51 6ad1cebc031e: Waiting 02:44:51 4657fd5d0bcf: Waiting 02:44:51 114826534d7a: Waiting 02:44:51 25bc292e5bac: Download complete 02:44:51 52dc419b0ee2: Download complete 02:44:51 4657fd5d0bcf: Verifying Checksum 02:44:51 df9b9388f04a: Download complete 02:44:51 df9b9388f04a: Pull complete 02:44:51 6ad1cebc031e: Verifying Checksum 02:44:51 6ad1cebc031e: Download complete 02:44:51 52dc419b0ee2: Pull complete 02:44:51 25bc292e5bac: Pull complete 02:44:52 114826534d7a: Verifying Checksum 02:44:52 114826534d7a: Download complete 02:44:52 8a3aa393b2d8: Verifying Checksum 02:44:52 8a3aa393b2d8: Download complete 02:44:55 114826534d7a: Pull complete 02:44:56 4657fd5d0bcf: Pull complete 02:44:57 6ad1cebc031e: Pull complete 02:45:00 8a3aa393b2d8: Pull complete 02:45:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:45:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:01 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:45:20 $ docker top f80d55b2b847ddc09d30efa2718222f017be2510cfc91e3c511057021c0ac239 -eo pid,comm [Pipeline] { [Pipeline] echo 02:45:20 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 02:45:21 + set -o pipefail 02:45:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 02:45:31 02:45:31 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 02:45:31 02:45:31 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/b226b136-10aa-4f93-979f-95cd92455728 02:45:31 02:45:31 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:45:31 02:45:31 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:45:31 02:45:31 02:45:31 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:45:31 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:45:31 More details here: https://snyk.co/ue1NS [Pipeline] } 02:45:31 $ docker stop --time=1 f80d55b2b847ddc09d30efa2718222f017be2510cfc91e3c511057021c0ac239 02:45:45 $ docker rm -f --volumes f80d55b2b847ddc09d30efa2718222f017be2510cfc91e3c511057021c0ac239 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:45:46 + git log --format=format:%s -1 55c1d344d8db4a0ebfd83c23655690c476512767 [Pipeline] sh 02:45:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:45:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:45:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:47 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:45:47 $ 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:45:50 $ docker top f777b7326a8aec944acd8e0b1e7672256406a18665c01615445631e5ad0357a1 -eo pid,comm 02:45:50 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:45:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:45:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:45:50 [ssh-agent] Looking for ssh-agent implementation... 02:45:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:45:50 $ docker exec f777b7326a8aec944acd8e0b1e7672256406a18665c01615445631e5ad0357a1 ssh-agent 02:45:50 SSH_AUTH_SOCK=/tmp/ssh-4NTxtI4TOk8u/agent.13 02:45:50 SSH_AGENT_PID=19 02:45:50 Running ssh-add (command line suppressed) 02:45:50 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2904579259234495260.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2904579259234495260.key) 02:45:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:45:50 + git semver tag 02:45:51 2023-09-19 02:45:51,045 [run_tag] DEBUG tag force:False 02:45:51 2023-09-19 02:45:51,045 [check_head_tag] DEBUG check head tag 02:45:51 2023-09-19 02:45:51,047 [execute] INFO git cat-file --batch-check 02:45:51 2023-09-19 02:45:51,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:45:51 2023-09-19 02:45:51,052 [execute] INFO git cat-file --batch 02:45:51 2023-09-19 02:45:51,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 02:45:51 2023-09-19 02:45:51,062 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:45:51 2023-09-19 02:45:51,062 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 02:45:51 2023-09-19 02:45:51,063 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 02:45:51 2023-09-19 02:45:51,067 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:45:51 3.1.0-dev.9 [Pipeline] } 02:45:51 $ docker exec --env ******** --env ******** f777b7326a8aec944acd8e0b1e7672256406a18665c01615445631e5ad0357a1 ssh-agent -k 02:45:51 unset SSH_AUTH_SOCK; 02:45:51 unset SSH_AGENT_PID; 02:45:51 echo Agent pid 19 killed; 02:45:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:45:51 + git semver [Pipeline] } 02:45:51 $ docker stop --time=1 f777b7326a8aec944acd8e0b1e7672256406a18665c01615445631e5ad0357a1 02:45:53 $ docker rm -f --volumes f777b7326a8aec944acd8e0b1e7672256406a18665c01615445631e5ad0357a1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:45:54 02:45:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:45:54 0.23.1-centos7: Pulling from edgex-lftools 02:45:54 ab5ef0e58194: Pulling fs layer 02:45:54 9712f1f96733: Pulling fs layer 02:45:54 63f879dbbcfc: Pulling fs layer 02:45:54 0d9ebad4ef96: Pulling fs layer 02:45:54 e9a5061849ea: Pulling fs layer 02:45:54 d747dcd14b5f: Pulling fs layer 02:45:54 2de7ff778b66: Pulling fs layer 02:45:54 e9a5061849ea: Waiting 02:45:54 d747dcd14b5f: Waiting 02:45:54 0d9ebad4ef96: Waiting 02:45:54 2de7ff778b66: Waiting 02:45:54 9712f1f96733: Verifying Checksum 02:45:54 9712f1f96733: Download complete 02:45:55 63f879dbbcfc: Verifying Checksum 02:45:55 63f879dbbcfc: Download complete 02:45:55 e9a5061849ea: Verifying Checksum 02:45:55 e9a5061849ea: Download complete 02:45:55 d747dcd14b5f: Verifying Checksum 02:45:55 d747dcd14b5f: Download complete 02:45:55 0d9ebad4ef96: Verifying Checksum 02:45:55 0d9ebad4ef96: Download complete 02:45:55 ab5ef0e58194: Verifying Checksum 02:45:55 ab5ef0e58194: Download complete 02:45:55 2de7ff778b66: Verifying Checksum 02:45:55 2de7ff778b66: Download complete 02:45:57 ab5ef0e58194: Pull complete 02:45:57 9712f1f96733: Pull complete 02:45:58 63f879dbbcfc: Pull complete 02:46:02 0d9ebad4ef96: Pull complete 02:46:03 e9a5061849ea: Pull complete 02:46:03 d747dcd14b5f: Pull complete 02:46:05 2de7ff778b66: Pull complete 02:46:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:46:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:05 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:46:05 $ 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:46:20 $ docker top ec2faf173d71fdec108593c7438ff8a51c564b28c53282b96db43e81649ccaf3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:46:20 provisioning config files... 02:46:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8655067106921987483tmp 02:46:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config927273164879180061tmp 02:46:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config90548347004226713tmp [Pipeline] { [Pipeline] echo 02:46:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:46:21 ---> sigul-configuration.sh 02:46:21 gpg: directory `/root/.gnupg' created 02:46:21 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:46:21 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:46:21 gpg: keyring `/root/.gnupg/secring.gpg' created 02:46:21 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:46:21 gpg: CAST5 encrypted data 02:46:21 gpg: encrypted with 1 passphrase 02:46:21 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:46:21 + mkdir /home/jenkins 02:46:21 + mkdir /home/jenkins/sigul [Pipeline] sh 02:46:21 + 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:46:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:46:21 ---> sigul-install.sh 02:46:21 Sigul already installed; skipping installation. [Pipeline] sh 02:46:22 + git tag --list 02:46:22 v1.0.0 02:46:22 v2.1.0 02:46:22 v2.1.1 02:46:22 v2.2.0 02:46:22 v2.3.0 02:46:22 v3.0 02:46:22 v3.0.0 02:46:22 v3.1.0-dev.1 02:46:22 v3.1.0-dev.2 02:46:22 v3.1.0-dev.3 02:46:22 v3.1.0-dev.4 02:46:22 v3.1.0-dev.5 02:46:22 v3.1.0-dev.6 02:46:22 v3.1.0-dev.7 02:46:22 v3.1.0-dev.8 02:46:22 v3.1.0-dev.9 [Pipeline] sh 02:46:22 + lftools sign git-tag v3.1.0-dev.9 02:46:23 Signing Git tag with Sigul... 02:46:23 Signing v3.1.0-dev.9 [Pipeline] echo 02:46:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:46:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:46:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:46:23 $ docker stop --time=1 ec2faf173d71fdec108593c7438ff8a51c564b28c53282b96db43e81649ccaf3 02:46:24 $ docker rm -f --volumes ec2faf173d71fdec108593c7438ff8a51c564b28c53282b96db43e81649ccaf3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:46:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:25 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:46:25 $ 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:46:26 $ docker top 10a94f9d44abda0dd9539fe4886b009e1f1222efff041b716426fa9799acf6c7 -eo pid,comm 02:46:26 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:46:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:26 [ssh-agent] Looking for ssh-agent implementation... 02:46:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:26 $ docker exec 10a94f9d44abda0dd9539fe4886b009e1f1222efff041b716426fa9799acf6c7 ssh-agent 02:46:26 SSH_AUTH_SOCK=/tmp/ssh-Q6qjPTFMCUtC/agent.14 02:46:26 SSH_AGENT_PID=20 02:46:26 Running ssh-add (command line suppressed) 02:46:26 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6122704028239867404.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_6122704028239867404.key) 02:46:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:27 + git semver bump pre 02:46:27 2023-09-19 02:46:27,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:46:27 2023-09-19 02:46:27,467 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev 02:46:27 2023-09-19 02:46:27,467 [bump_version] DEBUG bumped version:3.1.0-dev.10 02:46:27 2023-09-19 02:46:27,467 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 02:46:27 2023-09-19 02:46:27,468 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:46:27 2023-09-19 02:46:27,468 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:46:27 2023-09-19 02:46:27,471 [execute] INFO git cat-file --batch-check 02:46:27 2023-09-19 02:46:27,472 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:27 2023-09-19 02:46:27,484 [execute] INFO git cat-file --batch 02:46:27 2023-09-19 02:46:27,485 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:27 2023-09-19 02:46:27,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:46:27 3.1.0-dev.10 [Pipeline] } 02:46:27 $ docker exec --env ******** --env ******** 10a94f9d44abda0dd9539fe4886b009e1f1222efff041b716426fa9799acf6c7 ssh-agent -k 02:46:27 unset SSH_AUTH_SOCK; 02:46:27 unset SSH_AGENT_PID; 02:46:27 echo Agent pid 20 killed; 02:46:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:28 + git semver [Pipeline] } 02:46:28 $ docker stop --time=1 10a94f9d44abda0dd9539fe4886b009e1f1222efff041b716426fa9799acf6c7 02:46:31 $ docker rm -f --volumes 10a94f9d44abda0dd9539fe4886b009e1f1222efff041b716426fa9799acf6c7 [Pipeline] // withDockerContainer [Pipeline] sh 02:46:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:46:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:46:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:32 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:46:32 $ 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:46:35 $ docker top b3cda799fdd21e322fa6281affe8b992d3d3578277e3868127d56410e2e1af90 -eo pid,comm 02:46:35 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:46:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:46:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:46:35 [ssh-agent] Looking for ssh-agent implementation... 02:46:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:46:35 $ docker exec b3cda799fdd21e322fa6281affe8b992d3d3578277e3868127d56410e2e1af90 ssh-agent 02:46:35 SSH_AUTH_SOCK=/tmp/ssh-TZaUTM3G5htO/agent.14 02:46:35 SSH_AGENT_PID=20 02:46:35 Running ssh-add (command line suppressed) 02:46:35 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2344583796211934603.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_2344583796211934603.key) 02:46:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:46:35 + git semver push 02:46:36 2023-09-19 02:46:36,003 [run_push] DEBUG push 02:46:36 2023-09-19 02:46:36,004 [execute] INFO git cat-file --batch-check 02:46:36 2023-09-19 02:46:36,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 02:46:36 2023-09-19 02:46:36,009 [execute] INFO git rev-list eb9d94e0711ede05cedfda1343784626ceaf237f -- 02:46:36 2023-09-19 02:46:36,009 [execute] DEBUG Popen(['git', 'rev-list', 'eb9d94e0711ede05cedfda1343784626ceaf237f', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:46:36 2023-09-19 02:46:36,016 [execute] INFO git fetch -v origin 02:46:36 2023-09-19 02:46:36,017 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 02:46:36 2023-09-19 02:46:36,476 [run_push] DEBUG no remote changes detected 02:46:36 2023-09-19 02:46:36,476 [execute] INFO git push origin semver 02:46:36 2023-09-19 02:46:36,477 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 02:46:37 2023-09-19 02:46:37,193 [run_push] DEBUG push all version tags 02:46:37 2023-09-19 02:46:37,193 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:46:37 2023-09-19 02:46:37,193 [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:46:38 2023-09-19 02:46:37,899 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 02:46:38 3.1.0-dev.10 [Pipeline] } 02:46:38 $ docker exec --env ******** --env ******** b3cda799fdd21e322fa6281affe8b992d3d3578277e3868127d56410e2e1af90 ssh-agent -k 02:46:38 unset SSH_AUTH_SOCK; 02:46:38 unset SSH_AGENT_PID; 02:46:38 echo Agent pid 20 killed; 02:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:46:38 + git semver [Pipeline] } 02:46:38 $ docker stop --time=1 b3cda799fdd21e322fa6281affe8b992d3d3578277e3868127d56410e2e1af90 02:46:40 $ docker rm -f --volumes b3cda799fdd21e322fa6281affe8b992d3d3578277e3868127d56410e2e1af90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:46:40 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 02:46:40 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:46:40 total 16 02:46:40 drwxr-xr-x 3 root root 4096 Sep 19 02:36 . 02:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:46 .. 02:46:40 drwxr-xr-x 2 root root 4096 Sep 19 02:36 cost 02:46:40 -rw-r--r-- 1 root root 82 Sep 19 02:36 cost.csv 02:46:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 02:46:40 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 02:46:40 total 16 02:46:40 drwxr-xr-x 3 jenkins jenkins 4096 Sep 19 02:36 . 02:46:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 19 02:46 .. 02:46:40 drwxr-xr-x 2 jenkins jenkins 4096 Sep 19 02:36 cost 02:46:40 -rw-r--r-- 1 jenkins jenkins 82 Sep 19 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:46:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:46:42 ---> package-listing.sh 02:46:42 ++ facter osfamily 02:46:42 ++ tr '[:upper:]' '[:lower:]' 02:46:42 + OS_FAMILY=debian 02:46:42 + workspace=/w/workspace/edgexfoundry_device-gpio_main 02:46:42 + START_PACKAGES=/tmp/packages_start.txt 02:46:42 + END_PACKAGES=/tmp/packages_end.txt 02:46:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:46:42 + PACKAGES=/tmp/packages_start.txt 02:46:42 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:46:42 + PACKAGES=/tmp/packages_end.txt 02:46:42 + case "${OS_FAMILY}" in 02:46:42 + dpkg -l 02:46:42 + grep '^ii' 02:46:42 + '[' -f /tmp/packages_start.txt ']' 02:46:42 + '[' -f /tmp/packages_end.txt ']' 02:46:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:46:42 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 02:46:42 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 02:46:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 02:46:42 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:46:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:43 prd-ubuntu20.04-docker-8c-8g-6450 does not seem to be running inside a container 02:46:43 $ 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:46:43 $ docker top 9d40a61ec643562742280e257c3f4cb66a46ede44efc0ba4e455b013143a5833 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:44 + touch /tmp/pre-build-complete [Pipeline] sh 02:46:44 + mkdir -p /var/log/sysstat [Pipeline] sh 02:46:44 + ls /var/log/sa-host 02:46:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:44 provisioning config files... 02:46:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config15215790367047438837tmp [Pipeline] { [Pipeline] echo 02:46:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:46:45 ---> create-netrc.sh [Pipeline] } 02:46:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:46:45 ---> python-tools-install.sh [Pipeline] echo 02:46:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:46:45 ---> sudo-logs.sh 02:46:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:46:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:46:46 ---> job-cost.sh 02:46:46 lf-activate-venv: SKIPPING 02:46:46 DEBUG: total: 0.2199999988079071 02:46:46 INFO: Retrieving Stack Cost... 02:46:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:46 INFO: Archiving Costs [Pipeline] echo 02:46:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:46:46 ---> logs-deploy.sh 02:46:46 lf-activate-venv: SKIPPING 02:46:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/96 02:46:46 INFO: archiving workspace using pattern(s): 02:46:47 Archives upload complete. 02:46:48 INFO: archiving logs to Nexus 02:46:48 ---> uname -a: 02:46:48 Linux prd-ubuntu20-04-docker-8c-8g-6450 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:46:48 02:46:48 02:46:48 ---> lscpu: 02:46:48 Architecture: x86_64 02:46:48 CPU op-mode(s): 32-bit, 64-bit 02:46:48 Byte Order: Little Endian 02:46:48 Address sizes: 40 bits physical, 48 bits virtual 02:46:48 CPU(s): 8 02:46:48 On-line CPU(s) list: 0-7 02:46:48 Thread(s) per core: 1 02:46:48 Core(s) per socket: 1 02:46:48 Socket(s): 8 02:46:48 NUMA node(s): 1 02:46:48 Vendor ID: AuthenticAMD 02:46:48 CPU family: 23 02:46:48 Model: 49 02:46:48 Model name: AMD EPYC-Rome Processor 02:46:48 Stepping: 0 02:46:48 CPU MHz: 2799.998 02:46:48 BogoMIPS: 5599.99 02:46:48 Virtualization: AMD-V 02:46:48 Hypervisor vendor: KVM 02:46:48 Virtualization type: full 02:46:48 L1d cache: 256 KiB 02:46:48 L1i cache: 256 KiB 02:46:48 L2 cache: 4 MiB 02:46:48 L3 cache: 128 MiB 02:46:48 NUMA node0 CPU(s): 0-7 02:46:48 Vulnerability Itlb multihit: Not affected 02:46:48 Vulnerability L1tf: Not affected 02:46:48 Vulnerability Mds: Not affected 02:46:48 Vulnerability Meltdown: Not affected 02:46:48 Vulnerability Mmio stale data: Not affected 02:46:48 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:46:48 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:46:48 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:46:48 Vulnerability Srbds: Not affected 02:46:48 Vulnerability Tsx async abort: Not affected 02:46:48 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:46:48 02:46:48 02:46:48 ---> nproc: 02:46:48 8 02:46:48 02:46:48 02:46:48 ---> df -h: 02:46:48 Filesystem Size Used Avail Use% Mounted on 02:46:48 overlay 155G 13G 142G 9% / 02:46:48 tmpfs 64M 0 64M 0% /dev 02:46:48 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:46:48 shm 64M 0 64M 0% /dev/shm 02:46:48 /dev/vda1 155G 13G 142G 9% /facter-os 02:46:48 02:46:48 02:46:48 ---> sar -b -r -n DEV: 02:46:48 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6450) 09/19/23 _x86_64_ (8 CPU) 02:46:48 02:46:48 02:32:25 LINUX RESTART (8 CPU) 02:46:48 02:46:48 02:33:00 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:46:48 02:34:01 121.54 14.87 106.67 0.00 1897.00 38663.56 0.00 02:46:48 02:35:01 139.09 0.90 138.19 0.00 10.26 53488.55 0.00 02:46:48 02:36:01 148.91 0.22 148.69 0.00 12.53 28987.84 0.00 02:46:48 02:37:01 34.48 0.03 34.44 0.00 4.53 16784.82 0.00 02:46:48 02:38:01 40.80 9.38 31.42 0.00 2884.51 4823.86 0.00 02:46:48 02:39:01 19.80 1.23 18.56 0.00 2270.42 3955.07 0.00 02:46:48 02:40:01 3.20 0.02 3.18 0.00 0.13 90.92 0.00 02:46:48 02:41:01 1.83 0.00 1.83 0.00 0.00 21.33 0.00 02:46:48 02:42:01 1.22 0.00 1.22 0.00 0.00 13.86 0.00 02:46:48 02:43:01 1.83 0.00 1.83 0.00 0.00 21.20 0.00 02:46:48 02:44:01 1.23 0.00 1.23 0.00 0.00 14.00 0.00 02:46:48 02:45:01 7.98 0.10 7.88 0.00 10.26 1609.33 0.00 02:46:48 02:46:01 59.25 0.08 59.16 0.00 0.67 35594.81 0.00 02:46:48 Average: 44.80 2.08 42.72 0.00 547.07 14193.80 0.00 02:46:48 02:46:48 02:33:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:46:48 02:34:01 29109228 31590104 730588 2.22 78464 2674548 1970220 5.81 1002488 2414092 4812 02:46:48 02:35:01 27950440 31335496 969500 2.95 151796 3413800 2307292 6.80 1405232 3056420 63296 02:46:48 02:36:01 27989596 31567868 740004 2.25 157752 3596012 1845296 5.44 1265268 3160384 636 02:46:48 02:37:01 27481556 31570204 736000 2.24 166320 4047960 1743804 5.14 1280340 3599376 176 02:46:48 02:38:01 27213444 31550180 730864 2.22 182900 4279000 1700864 5.01 1430564 3688584 148 02:46:48 02:39:01 27003828 31552008 727008 2.21 195828 4472548 1691428 4.98 1585108 3735936 20 02:46:48 02:40:01 27009620 31552996 726264 2.21 194404 4469300 1689352 4.98 1583316 3732720 8 02:46:48 02:41:01 27019844 31563444 715776 2.18 194468 4469432 1689352 4.98 1574000 3732852 8 02:46:48 02:42:01 27019988 31563696 715596 2.18 194552 4469432 1689352 4.98 1573920 3732860 4 02:46:48 02:43:01 27022744 31566508 712660 2.17 194628 4469436 1689352 4.98 1571032 3732856 16 02:46:48 02:44:01 27023012 31566832 712304 2.17 194696 4469436 1689352 4.98 1570732 3732860 4 02:46:48 02:45:01 26246368 31547856 726856 2.21 200356 5173328 1766588 5.21 1594940 4436312 630144 02:46:48 02:46:01 25593572 31534416 740332 2.25 225228 5724160 1763672 5.20 1671396 4945640 571780 02:46:48 Average: 27206403 31543201 744904 2.27 179338 4286799 1787379 5.27 1469872 3669299 97773 02:46:48 02:46:48 02:33:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:46:48 02:34:01 lo 6.36 6.36 0.62 0.62 0.00 0.00 0.00 0.00 02:46:48 02:34:01 ens3 489.56 337.60 6030.69 72.51 0.00 0.00 0.00 0.00 02:46:48 02:34:01 vethd2cd356 76.18 94.12 7.13 54.09 0.00 0.00 0.00 0.00 02:46:48 02:34:01 docker0 89.95 111.28 7.23 235.61 0.00 0.00 0.00 0.00 02:46:48 02:35:01 veth3e20de0 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 02:46:48 02:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:46:48 02:35:01 ens3 361.69 208.00 2342.10 26.28 0.00 0.00 0.00 0.00 02:46:48 02:35:01 docker0 195.07 341.36 15.51 2312.88 0.00 0.00 0.00 0.00 02:46:48 02:36:01 lo 3.60 3.60 0.36 0.36 0.00 0.00 0.00 0.00 02:46:48 02:36:01 ens3 71.19 71.07 95.23 283.76 0.00 0.00 0.00 0.00 02:46:48 02:36:01 docker0 3.77 7.15 0.22 61.84 0.00 0.00 0.00 0.00 02:46:48 02:37:01 lo 4.07 4.07 0.39 0.39 0.00 0.00 0.00 0.00 02:46:48 02:37:01 ens3 110.81 74.04 2542.67 52.69 0.00 0.00 0.00 0.00 02:46:48 02:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:38:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:46:48 02:38:01 ens3 105.38 42.85 1355.34 3.38 0.00 0.00 0.00 0.00 02:46:48 02:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:39:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:46:48 02:39:01 ens3 91.27 34.76 1374.88 2.41 0.00 0.00 0.00 0.00 02:46:48 02:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:40:01 ens3 0.80 0.15 0.15 0.07 0.00 0.00 0.00 0.00 02:46:48 02:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:46:48 02:41:01 ens3 1.73 0.82 0.67 0.49 0.00 0.00 0.00 0.00 02:46:48 02:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:42:01 ens3 0.50 0.35 0.28 0.21 0.00 0.00 0.00 0.00 02:46:48 02:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:46:48 02:43:01 ens3 0.30 0.23 0.09 0.07 0.00 0.00 0.00 0.00 02:46:48 02:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:44:01 ens3 0.10 0.02 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:45:01 lo 1.27 1.27 0.12 0.12 0.00 0.00 0.00 0.00 02:46:48 02:45:01 ens3 127.56 68.26 3971.55 10.52 0.00 0.00 0.00 0.00 02:46:48 02:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:46:48 02:46:01 lo 0.86 0.86 0.09 0.09 0.00 0.00 0.00 0.00 02:46:48 02:46:01 ens3 261.02 152.33 4216.72 22.50 0.00 0.00 0.00 0.00 02:46:48 02:46:01 docker0 74.74 139.92 5.65 1026.09 0.00 0.00 0.00 0.00 02:46:48 Average: lo 1.37 1.37 0.13 0.13 0.00 0.00 0.00 0.00 02:46:48 Average: ens3 125.25 76.54 1692.91 36.57 0.00 0.00 0.00 0.00 02:46:48 Average: docker0 28.05 46.23 2.21 279.79 0.00 0.00 0.00 0.00 02:46:48 02:46:48