Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1e0384811d3250d0bfb067782122c51f223b6a04 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-ssh11294240146022236377.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-ssh1189629862370637248.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-ssh18099822997899781417.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-ssh17140494433768580541.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-ssh3121467893955065849.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7670 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-gpio.git > git init /w/workspace/edgexfoundry_device-gpio_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 1e0384811d3250d0bfb067782122c51f223b6a04 (main) Commit message: "Merge pull request #197 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e0384811d3250d0bfb067782122c51f223b6a04 # timeout=10 > git rev-list --no-walk bbe494f9eeea7580d3bdd1ce255f8b39761b4fe2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:29:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:29:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:29:33 ========================================================= 04:29:33 EdgeX Global Pipelines Version Info 04:29:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:29:34 ------------------- 04:29:34 stable info: 04:29:34 ------------------- 04:29:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:29:34 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:29:34 Message: update stable to v1.0.254 04:29:35 ------------------- 04:29:35 experimental info: 04:29:35 ------------------- 04:29:35 Commited By: **** collab-it+edgex@linuxfoundation.org 04:29:35 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 04:29:35 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-gpio-settings [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-gpio [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-gpio [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e03848 [Pipeline] echo 04:29:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:35 provisioning config files... 04:29:35 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8182355378885482377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:36 ---> docker-login.sh 04:29:36 nexus3.edgexfoundry.org:10001 04:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:36 Configure a credential helper to remove this warning. See 04:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:36 04:29:36 Login Succeeded 04:29:36 nexus3.edgexfoundry.org:10002 04:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:36 Configure a credential helper to remove this warning. See 04:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:36 04:29:36 Login Succeeded 04:29:36 nexus3.edgexfoundry.org:10003 04:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:36 Configure a credential helper to remove this warning. See 04:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:36 04:29:36 Login Succeeded 04:29:36 nexus3.edgexfoundry.org:10004 04:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:36 Configure a credential helper to remove this warning. See 04:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:36 04:29:36 Login Succeeded 04:29:36 docker.io 04:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:36 Configure a credential helper to remove this warning. See 04:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:36 04:29:36 Login Succeeded 04:29:36 ---> docker-login.sh ends [Pipeline] } 04:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:29:37 + git rev-list -1 --merges 1e0384811d3250d0bfb067782122c51f223b6a04~1..1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] echo 04:29:37 -----------> git rev-list -1 --merges 1e0384811d3250d0bfb067782122c51f223b6a04~1..1e0384811d3250d0bfb067782122c51f223b6a04 1e0384811d3250d0bfb067782122c51f223b6a04 04:29:37 1e0384811d3250d0bfb067782122c51f223b6a04 [false] [Pipeline] sh 04:29:37 + git log --format=format:%s -1 1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] echo 04:29:37 ========================================================= 04:29:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:29:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:29:37 + git log --format=format:%s -1 1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] echo 04:29:37 [semverPrep] GIT_COMMIT: 1e0384811d3250d0bfb067782122c51f223b6a04, Commit Message: Merge pull request #197 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29 [Pipeline] echo 04:29:37 [semverPrep] This is not a build commit. [Pipeline] sh 04:29:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:29:38 + grep -v github /etc/ssh/ssh_known_hosts 04:29:38 + [ -e /tmp/ssh_known_hosts ] 04:29:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:29:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:29:38 + sudo tee -a /etc/ssh/ssh_known_hosts 04:29:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:38 04:29:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:29:38 b85a868b505f: Pulling fs layer 04:29:38 e2be974225ed: Pulling fs layer 04:29:38 339a4e72a1f5: Pulling fs layer 04:29:38 988bab9f4d93: Pulling fs layer 04:29:38 1469e6f7b9e6: Pulling fs layer 04:29:38 eaf3925da568: Pulling fs layer 04:29:38 bab4dde63d76: Pulling fs layer 04:29:38 bde34c3a00c8: Pulling fs layer 04:29:38 b352a97aabf1: Pulling fs layer 04:29:38 4872d77fe225: Pulling fs layer 04:29:38 5851b861e8e6: Pulling fs layer 04:29:38 bab4dde63d76: Waiting 04:29:38 4872d77fe225: Waiting 04:29:38 bde34c3a00c8: Waiting 04:29:38 5851b861e8e6: Waiting 04:29:38 eaf3925da568: Waiting 04:29:38 988bab9f4d93: Waiting 04:29:38 1469e6f7b9e6: Waiting 04:29:38 e2be974225ed: Download complete 04:29:38 988bab9f4d93: Verifying Checksum 04:29:38 988bab9f4d93: Download complete 04:29:39 1469e6f7b9e6: Verifying Checksum 04:29:39 1469e6f7b9e6: Download complete 04:29:39 eaf3925da568: Download complete 04:29:39 339a4e72a1f5: Verifying Checksum 04:29:39 339a4e72a1f5: Download complete 04:29:39 bde34c3a00c8: Download complete 04:29:39 b352a97aabf1: Download complete 04:29:39 4872d77fe225: Verifying Checksum 04:29:39 4872d77fe225: Download complete 04:29:39 5851b861e8e6: Verifying Checksum 04:29:39 5851b861e8e6: Download complete 04:29:39 b85a868b505f: Download complete 04:29:39 bab4dde63d76: Verifying Checksum 04:29:39 bab4dde63d76: Download complete 04:29:40 b85a868b505f: Pull complete 04:29:40 e2be974225ed: Pull complete 04:29:40 339a4e72a1f5: Pull complete 04:29:40 988bab9f4d93: Pull complete 04:29:41 1469e6f7b9e6: Pull complete 04:29:41 eaf3925da568: Pull complete 04:29:43 bab4dde63d76: Pull complete 04:29:43 bde34c3a00c8: Pull complete 04:29:43 b352a97aabf1: Pull complete 04:29:43 4872d77fe225: Pull complete 04:29:43 5851b861e8e6: Pull complete 04:29:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:29:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:43 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:29:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:29:45 $ docker top b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce -eo pid,comm 04:29:45 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). 04:29:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:29:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:45 [ssh-agent] Looking for ssh-agent implementation... 04:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:46 $ docker exec b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce ssh-agent 04:29:46 SSH_AUTH_SOCK=/tmp/ssh-4mV6WwPgDkQB/agent.33 04:29:46 SSH_AGENT_PID=39 04:29:46 Running ssh-add (command line suppressed) 04:29:46 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9687398558058857208.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_9687398558058857208.key) 04:29:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:46 + git tag --points-at HEAD [Pipeline] } 04:29:46 $ docker exec --env ******** --env ******** b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce ssh-agent -k 04:29:46 unset SSH_AUTH_SOCK; 04:29:46 unset SSH_AGENT_PID; 04:29:46 echo Agent pid 39 killed; 04:29:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:29:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:29:46 [ssh-agent] Looking for ssh-agent implementation... 04:29:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:29:46 $ docker exec b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce ssh-agent 04:29:46 SSH_AUTH_SOCK=/tmp/ssh-F5I6f1ku5bwS/agent.71 04:29:46 SSH_AGENT_PID=77 04:29:46 Running ssh-add (command line suppressed) 04:29:47 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7302155407104051104.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_7302155407104051104.key) 04:29:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:29:47 + git semver init 04:29:47 2023-09-23 04:29:47,541 [run_init] DEBUG init version:0.0.0 force:False 04:29:47 2023-09-23 04:29:47,542 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-gpio_main/.semver 04:29:47 2023-09-23 04:29:47,542 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-gpio.git /w/workspace/edgexfoundry_device-gpio_main/.semver 04:29:47 2023-09-23 04:29:47,543 [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) 04:29:48 2023-09-23 04:29:48,455 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-gpio_main/.git/info/exclude 04:29:48 2023-09-23 04:29:48,456 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:False 04:29:48 2023-09-23 04:29:48,456 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:29:48 2023-09-23 04:29:48,456 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:29:48 3.1.0-dev.12 [Pipeline] } 04:29:48 $ docker exec --env ******** --env ******** b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce ssh-agent -k 04:29:48 unset SSH_AUTH_SOCK; 04:29:48 unset SSH_AGENT_PID; 04:29:48 echo Agent pid 77 killed; 04:29:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:29:48 + git semver [Pipeline] } 04:29:49 $ docker stop --time=1 b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce 04:29:50 $ docker rm -f --volumes b6d86c7cc714f0e68b4bc9f5e44a73a203245c00e8d78b58bf153930b609c5ce [Pipeline] // withDockerContainer [Pipeline] sh 04:29:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:29:51 Stashed 1 file(s) [Pipeline] echo 04:29:51 [edgeXSemver]: initialized semver on version 3.1.0-dev.12 [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 04:29:51 provisioning config files... 04:29:51 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config12008068762816676816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:51 ---> docker-login.sh 04:29:51 nexus3.edgexfoundry.org:10001 04:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:51 Configure a credential helper to remove this warning. See 04:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:51 04:29:51 Login Succeeded 04:29:51 nexus3.edgexfoundry.org:10002 04:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:51 Configure a credential helper to remove this warning. See 04:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:51 04:29:51 Login Succeeded 04:29:51 nexus3.edgexfoundry.org:10003 04:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:51 Configure a credential helper to remove this warning. See 04:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:51 04:29:51 Login Succeeded 04:29:51 nexus3.edgexfoundry.org:10004 04:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:51 Configure a credential helper to remove this warning. See 04:29:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:51 04:29:51 Login Succeeded 04:29:51 docker.io 04:29:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:29:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:29:52 Configure a credential helper to remove this warning. See 04:29:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:29:52 04:29:52 Login Succeeded 04:29:52 ---> docker-login.sh ends [Pipeline] } 04:29:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:29:52 ========================================================= 04:29:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:29:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:52 + 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 . 04:29:52 Sending build context to Docker daemon 16.11MB 04:29:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:29:52 Step 2/12 : FROM ${BASE} AS builder 04:29:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:29:52 7264a8db6415: Pulling fs layer 04:29:52 c4d48a809fc2: Pulling fs layer 04:29:52 4f1c88b9dad5: Pulling fs layer 04:29:52 ad3a456e5733: Pulling fs layer 04:29:52 33e27b845d1e: Pulling fs layer 04:29:52 c68163c4e522: Pulling fs layer 04:29:52 50da416c3ac9: Pulling fs layer 04:29:52 23d2d4c4bb30: Pulling fs layer 04:29:52 c68163c4e522: Waiting 04:29:52 23d2d4c4bb30: Waiting 04:29:52 50da416c3ac9: Waiting 04:29:52 ad3a456e5733: Waiting 04:29:52 33e27b845d1e: Waiting 04:29:52 c4d48a809fc2: Verifying Checksum 04:29:52 c4d48a809fc2: Download complete 04:29:52 ad3a456e5733: Verifying Checksum 04:29:52 ad3a456e5733: Download complete 04:29:52 33e27b845d1e: Download complete 04:29:52 7264a8db6415: Verifying Checksum 04:29:52 7264a8db6415: Download complete 04:29:52 c68163c4e522: Verifying Checksum 04:29:52 c68163c4e522: Download complete 04:29:52 7264a8db6415: Pull complete 04:29:53 23d2d4c4bb30: Verifying Checksum 04:29:53 23d2d4c4bb30: Download complete 04:29:53 c4d48a809fc2: Pull complete 04:29:53 4f1c88b9dad5: Verifying Checksum 04:29:53 4f1c88b9dad5: Download complete 04:29:53 50da416c3ac9: Verifying Checksum 04:29:53 50da416c3ac9: Download complete 04:29:56 4f1c88b9dad5: Pull complete 04:29:56 ad3a456e5733: Pull complete 04:29:56 33e27b845d1e: Pull complete 04:29:56 c68163c4e522: Pull complete 04:29:58 50da416c3ac9: Pull complete 04:29:58 23d2d4c4bb30: Pull complete 04:29:58 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 04:29:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:29:58 ---> 0786185ac409 04:29:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:30:02 ---> Running in 1c80348f6421 04:30:02 Removing intermediate container 1c80348f6421 04:30:02 ---> 16fabf78e21d 04:30:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:30:02 ---> Running in 8c13a9d08a08 04:30:02 Removing intermediate container 8c13a9d08a08 04:30:02 ---> cc96983651db 04:30:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:30:02 ---> Running in d875e31fe21f 04:30:02 Removing intermediate container d875e31fe21f 04:30:02 ---> 1314f1a2f237 04:30:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:30:02 ---> Running in f8b97a641bac 04:30:02 Removing intermediate container f8b97a641bac 04:30:02 ---> 21819898ceeb 04:30:02 Step 7/12 : WORKDIR /device-gpio 04:30:02 ---> Running in 605f9c2eddc2 04:30:02 Removing intermediate container 605f9c2eddc2 04:30:02 ---> 937cc6f8795f 04:30:02 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:30:02 ---> Running in d1a783d3dd66 04:30:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:30:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:30:03 (1/4) Installing openssh-keygen (9.3_p2-r0) 04:30:03 (2/4) Installing libedit (20221030.3.1-r1) 04:30:03 (3/4) Installing openssh-client-common (9.3_p2-r0) 04:30:03 (4/4) Installing openssh-client-default (9.3_p2-r0) 04:30:03 Executing busybox-1.36.1-r2.trigger 04:30:03 OK: 268 MiB in 56 packages 04:30:04 Removing intermediate container d1a783d3dd66 04:30:04 ---> a30fa6960998 04:30:04 Step 9/12 : COPY go.mod vendor* ./ 04:30:04 ---> cd8833320d66 04:30:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:04 ---> Running in 036cdf0233c6 04:30:06 Still waiting to schedule task 04:30:06 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7671’ 04:30:36 Removing intermediate container 036cdf0233c6 04:30:36 ---> ae20a199c68f 04:30:36 Step 11/12 : COPY . . 04:30:36 ---> 02ec2420989a 04:30:36 Step 12/12 : RUN ${MAKE} 04:30:36 ---> Running in 79f18d353529 04:30:36 noop 04:30:36 Removing intermediate container 79f18d353529 04:30:36 ---> 97099e2d5944 04:30:36 Successfully built 97099e2d5944 04:30:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:36 + docker inspect -f . ci-base-image-x86_64 04:30:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:36 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:30:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:37 $ docker top 640503a82f9e0202b9de5ea2176a05fe76790c0067475ae998f613bd40645152 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:37 + go version 04:30:37 go version go1.21.0 linux/amd64 [Pipeline] } 04:30:37 $ docker stop --time=1 640503a82f9e0202b9de5ea2176a05fe76790c0067475ae998f613bd40645152 04:30:38 $ docker rm -f --volumes 640503a82f9e0202b9de5ea2176a05fe76790c0067475ae998f613bd40645152 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:40 + docker inspect -f . ci-base-image-x86_64 04:30:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:30:40 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:30:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:30:41 $ docker top 0d0b242816e6d3875c693062f5a9a92a9ad87c34ad593242cdf6cf4679e16e9e -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-gpio_main [Pipeline] fileExists [Pipeline] sh 04:30:41 + make test 04:30:41 go test ./... -coverprofile=coverage.out ./... 04:30:45 ? github.com/edgexfoundry/device-gpio [no test files] 04:30:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:30:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:31:03 go vet ./... 04:31:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:31:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:31:06 ./bin/test-attribution-txt.sh [Pipeline] echo 04:31:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:31:06 $ docker stop --time=1 0d0b242816e6d3875c693062f5a9a92a9ad87c34ad593242cdf6cf4679e16e9e 04:31:09 $ docker rm -f --volumes 0d0b242816e6d3875c693062f5a9a92a9ad87c34ad593242cdf6cf4679e16e9e [Pipeline] // withDockerContainer [Pipeline] sh 04:31:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:31:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:31:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:31:10 + ls -al . 04:31:10 total 168 04:31:10 drwxrwxr-x 9 jenkins jenkins 4096 Sep 23 04:30 . 04:31:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:29 .. 04:31:10 -rw-rw-r-- 1 jenkins jenkins 120 Sep 23 04:29 .dockerignore 04:31:10 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:30 .git 04:31:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 .github 04:31:10 -rw-rw-r-- 1 jenkins jenkins 343 Sep 23 04:29 .gitignore 04:31:10 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:29 .golangci.yml 04:31:10 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:29 .semver 04:31:10 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 23 04:29 Attribution.txt 04:31:10 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 23 04:29 CHANGELOG.md 04:31:10 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 23 04:29 Dockerfile 04:31:10 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:29 GOVERNANCE.md 04:31:10 -rw-rw-r-- 1 jenkins jenkins 657 Sep 23 04:29 Jenkinsfile 04:31:10 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:29 LICENSE 04:31:10 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 23 04:29 Makefile 04:31:10 -rw-rw-r-- 1 jenkins jenkins 617 Sep 23 04:29 OWNERS.md 04:31:10 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 23 04:29 README.md 04:31:10 -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:29 VERSION 04:31:10 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:29 bin 04:31:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 cmd 04:31:10 -rw-r--r-- 1 jenkins jenkins 10 Sep 23 04:30 coverage.out 04:31:10 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 23 04:29 go.mod 04:31:10 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 23 04:29 go.sum 04:31:10 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:29 internal 04:31:10 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:29 snap 04:31:10 -rw-rw-r-- 1 jenkins jenkins 209 Sep 23 04:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:10 + 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=1e0384811d3250d0bfb067782122c51f223b6a04 --label arch=amd64 --label version=3.1.0-dev.12 . 04:31:10 Sending build context to Docker daemon 16.11MB 04:31:10 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 04:31:10 Step 2/25 : FROM ${BASE} AS builder 04:31:10 ---> 97099e2d5944 04:31:10 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:31:10 ---> Running in 56388100ef2d 04:31:10 Removing intermediate container 56388100ef2d 04:31:10 ---> 5a137251a425 04:31:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:31:10 ---> Running in c895ea581ede 04:31:10 Removing intermediate container c895ea581ede 04:31:10 ---> 130cfa18f2fa 04:31:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:31:10 ---> Running in 2f44095d768f 04:31:11 Removing intermediate container 2f44095d768f 04:31:11 ---> a42c39f13e78 04:31:11 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:31:11 ---> Running in d860efdd7006 04:31:11 Removing intermediate container d860efdd7006 04:31:11 ---> ffea9644e401 04:31:11 Step 7/25 : WORKDIR /device-gpio 04:31:11 ---> Running in d4172c080d59 04:31:11 Removing intermediate container d4172c080d59 04:31:11 ---> 7c879b6be355 04:31:11 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:31:11 ---> Running in bb3e43429eca 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:31:11 OK: 268 MiB in 56 packages 04:31:12 Removing intermediate container bb3e43429eca 04:31:12 ---> 7d0aa1c85fb3 04:31:12 Step 9/25 : COPY go.mod vendor* ./ 04:31:12 ---> dd767d46c88f 04:31:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:12 ---> Running in f58899ecb032 04:31:13 Removing intermediate container f58899ecb032 04:31:13 ---> b5d4f0b0b968 04:31:13 Step 11/25 : COPY . . 04:31:13 ---> b53403d4be08 04:31:13 Step 12/25 : RUN ${MAKE} 04:31:13 ---> Running in 0b151b1adfb5 04:31:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 04:31:35 Removing intermediate container 0b151b1adfb5 04:31:35 ---> 4a9a190daec0 04:31:35 Step 13/25 : FROM alpine:3.18 04:31:35 3.18: Pulling from library/alpine 04:31:35 7264a8db6415: Already exists 04:31:35 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 04:31:35 Status: Downloaded newer image for alpine:3.18 04:31:35 ---> 7e01a0d0a1dc 04:31:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:31:35 ---> Running in acf0e2ed6393 04:31:35 Removing intermediate container acf0e2ed6393 04:31:35 ---> 83f21d97b43e 04:31:35 Step 15/25 : RUN apk add --update --no-cache 04:31:35 ---> Running in 8abde3eff732 04:31:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:31:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:31:35 OK: 7 MiB in 15 packages 04:31:35 Removing intermediate container 8abde3eff732 04:31:35 ---> d37acd0d6572 04:31:35 Step 16/25 : WORKDIR / 04:31:35 ---> Running in b5a2e56a2558 04:31:35 Removing intermediate container b5a2e56a2558 04:31:35 ---> f064b5b17b21 04:31:35 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:31:35 ---> c9917fadb71a 04:31:35 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:31:35 ---> b12da1c4197c 04:31:35 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:31:35 ---> 3e2701bbb2d1 04:31:35 Step 20/25 : EXPOSE 59910 04:31:35 ---> Running in 14d6498a3368 04:31:35 Removing intermediate container 14d6498a3368 04:31:35 ---> 893f47f2041a 04:31:35 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:31:35 ---> Running in 776869806b4a 04:31:35 Removing intermediate container 776869806b4a 04:31:35 ---> a7761d2f04f3 04:31:35 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:31:35 ---> Running in 845f3bb91d29 04:31:35 Removing intermediate container 845f3bb91d29 04:31:35 ---> 5f82301ff459 04:31:35 Step 23/25 : LABEL arch=amd64 04:31:35 ---> Running in 4a604027ad26 04:31:35 Removing intermediate container 4a604027ad26 04:31:35 ---> 221bfbe83394 04:31:35 Step 24/25 : LABEL git_sha=1e0384811d3250d0bfb067782122c51f223b6a04 04:31:35 ---> Running in e183f8cdf566 04:31:35 Removing intermediate container e183f8cdf566 04:31:35 ---> b9f9894b37ee 04:31:35 Step 25/25 : LABEL version=3.1.0-dev.12 04:31:35 ---> Running in 905831da1185 04:31:36 Removing intermediate container 905831da1185 04:31:36 ---> 927a5ce2c95f 04:31:36 [Warning] One or more build-args [ARCH] were not consumed 04:31:36 Successfully built 927a5ce2c95f 04:31:36 Successfully tagged device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:36 provisioning config files... 04:31:36 copy managed file [device-gpio-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config13269878138135808753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:36 ---> docker-login.sh 04:31:36 nexus3.edgexfoundry.org:10001 04:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:36 Configure a credential helper to remove this warning. See 04:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:36 04:31:36 Login Succeeded 04:31:36 nexus3.edgexfoundry.org:10002 04:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:36 Configure a credential helper to remove this warning. See 04:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:36 04:31:36 Login Succeeded 04:31:36 nexus3.edgexfoundry.org:10003 04:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:36 Configure a credential helper to remove this warning. See 04:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:36 04:31:36 Login Succeeded 04:31:36 nexus3.edgexfoundry.org:10004 04:31:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:36 Configure a credential helper to remove this warning. See 04:31:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:36 04:31:36 Login Succeeded 04:31:36 docker.io 04:31:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:31:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:31:37 Configure a credential helper to remove this warning. See 04:31:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:31:37 04:31:37 Login Succeeded 04:31:37 ---> docker-login.sh ends [Pipeline] } 04:31:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:31:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:31:37 [edgeXDocker.push] Tagging docker image device-gpio with the following tags: 04:31:37 1e0384811d3250d0bfb067782122c51f223b6a04 04:31:37 latest 04:31:37 3.1.0-dev.12 04:31:37 1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:31:37 main 04:31:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:37 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:37 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04 04:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 04:31:37 a14330b72510: Preparing 04:31:37 dea50d348d63: Preparing 04:31:37 ba3b81594487: Preparing 04:31:37 3e3ab71b1b46: Preparing 04:31:37 4693057ce236: Preparing 04:31:37 4693057ce236: Layer already exists 04:31:37 3e3ab71b1b46: Pushed 04:31:37 ba3b81594487: Pushed 04:31:37 dea50d348d63: Pushed 04:31:40 a14330b72510: Pushed 04:31:40 1e0384811d3250d0bfb067782122c51f223b6a04: digest: sha256:e5d22b9b839a9c90e696c77918492b2d22e2c9cc42bcd869561b8204acc7b225 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:41 + docker push nexus3.edgexfoundry.org:10004/device-gpio:latest 04:31:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 04:31:41 a14330b72510: Preparing 04:31:41 dea50d348d63: Preparing 04:31:41 ba3b81594487: Preparing 04:31:41 3e3ab71b1b46: Preparing 04:31:41 4693057ce236: Preparing 04:31:41 4693057ce236: Layer already exists 04:31:41 a14330b72510: Layer already exists 04:31:41 3e3ab71b1b46: Layer already exists 04:31:41 ba3b81594487: Layer already exists 04:31:41 dea50d348d63: Layer already exists 04:31:41 latest: digest: sha256:e5d22b9b839a9c90e696c77918492b2d22e2c9cc42bcd869561b8204acc7b225 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:41 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.12 04:31:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 04:31:42 a14330b72510: Preparing 04:31:42 dea50d348d63: Preparing 04:31:42 ba3b81594487: Preparing 04:31:42 3e3ab71b1b46: Preparing 04:31:42 4693057ce236: Preparing 04:31:42 3e3ab71b1b46: Layer already exists 04:31:42 4693057ce236: Layer already exists 04:31:42 ba3b81594487: Layer already exists 04:31:42 dea50d348d63: Layer already exists 04:31:42 a14330b72510: Layer already exists 04:31:42 3.1.0-dev.12: digest: sha256:e5d22b9b839a9c90e696c77918492b2d22e2c9cc42bcd869561b8204acc7b225 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:42 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:42 + docker push nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:31:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 04:31:42 a14330b72510: Preparing 04:31:42 dea50d348d63: Preparing 04:31:42 ba3b81594487: Preparing 04:31:42 3e3ab71b1b46: Preparing 04:31:42 4693057ce236: Preparing 04:31:42 3e3ab71b1b46: Layer already exists 04:31:42 a14330b72510: Layer already exists 04:31:42 4693057ce236: Layer already exists 04:31:42 ba3b81594487: Layer already exists 04:31:42 dea50d348d63: Layer already exists 04:31:42 1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12: digest: sha256:e5d22b9b839a9c90e696c77918492b2d22e2c9cc42bcd869561b8204acc7b225 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:43 + docker tag device-gpio nexus3.edgexfoundry.org:10004/device-gpio:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:43 + docker push nexus3.edgexfoundry.org:10004/device-gpio:main 04:31:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio] 04:31:43 a14330b72510: Preparing 04:31:43 dea50d348d63: Preparing 04:31:43 ba3b81594487: Preparing 04:31:43 3e3ab71b1b46: Preparing 04:31:43 4693057ce236: Preparing 04:31:43 a14330b72510: Layer already exists 04:31:43 3e3ab71b1b46: Layer already exists 04:31:43 ba3b81594487: Layer already exists 04:31:43 dea50d348d63: Layer already exists 04:31:43 4693057ce236: Layer already exists 04:31:43 main: digest: sha256:e5d22b9b839a9c90e696c77918492b2d22e2c9cc42bcd869561b8204acc7b225 size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:31:43 ===================================================== [Pipeline] echo 04:31:43 taggedImages: 04:31:43 - nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04 04:31:43 - nexus3.edgexfoundry.org:10004/device-gpio:latest 04:31:43 - nexus3.edgexfoundry.org:10004/device-gpio:3.1.0-dev.12 04:31:43 - nexus3.edgexfoundry.org:10004/device-gpio:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:31:43 - 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 04:31:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:43 04:31:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:44 latest: Pulling from edgex-lftools-log-publisher 04:31:44 5eb5b503b376: Pulling fs layer 04:31:44 5c69ac0246d0: Pulling fs layer 04:31:44 ec43610c2a17: Pulling fs layer 04:31:44 3a2ae6a8a46f: Pulling fs layer 04:31:44 33b1e0a273af: Pulling fs layer 04:31:44 5d3b04190fa2: Pulling fs layer 04:31:44 2f39f015ded8: Pulling fs layer 04:31:44 3a2ae6a8a46f: Waiting 04:31:44 33b1e0a273af: Waiting 04:31:44 5d3b04190fa2: Waiting 04:31:44 2f39f015ded8: Waiting 04:31:44 5c69ac0246d0: Download complete 04:31:44 3a2ae6a8a46f: Verifying Checksum 04:31:44 3a2ae6a8a46f: Download complete 04:31:44 33b1e0a273af: Verifying Checksum 04:31:44 33b1e0a273af: Download complete 04:31:44 5d3b04190fa2: Verifying Checksum 04:31:44 5d3b04190fa2: Download complete 04:31:44 ec43610c2a17: Verifying Checksum 04:31:44 ec43610c2a17: Download complete 04:31:44 5eb5b503b376: Verifying Checksum 04:31:44 5eb5b503b376: Download complete 04:31:45 2f39f015ded8: Download complete 04:31:45 5eb5b503b376: Pull complete 04:31:45 5c69ac0246d0: Pull complete 04:31:46 ec43610c2a17: Pull complete 04:31:46 3a2ae6a8a46f: Pull complete 04:31:46 33b1e0a273af: Pull complete 04:31:46 5d3b04190fa2: Pull complete 04:31:53 2f39f015ded8: Pull complete 04:31:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:31:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:31:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:55 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:31:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:32:02 $ docker top 949307c908f87ca91c72af6d8319acedb21a8c92fa358bcad81aa2334290aa8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:02 ---> job-cost.sh 04:32:02 lf-activate-venv: SKIPPING 04:32:02 INFO: No Stack... 04:32:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:03 INFO: Archiving Costs [Pipeline] sh 04:32:03 + cat /w/workspace/edgexfoundry_device-gpio_main/archives/cost.csv 04:32:03 + cut -d, -f6 [Pipeline] lock 04:32:03 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] 04:32:03 Resource [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] did not exist. Created. 04:32:03 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:32:04 + echo total: 0.2199999988079071 [Pipeline] stash 04:32:04 Stashed 1 file(s) [Pipeline] } 04:32:04 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 04:32:04 $ docker stop --time=1 949307c908f87ca91c72af6d8319acedb21a8c92fa358bcad81aa2334290aa8c 04:32:05 $ docker rm -f --volumes 949307c908f87ca91c72af6d8319acedb21a8c92fa358bcad81aa2334290aa8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:32:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7675 in /w/workspace/edgexfoundry_device-gpio_main [Pipeline] { [Pipeline] ws 04:32:21 Running in /w/workspace/device-gpio/99 [Pipeline] { [Pipeline] checkout 04:32:21 The recommended git tool is: git 04:32:27 using credential edgex-jenkins-ssh 04:32:27 Cloning the remote Git repository 04:32:27 Cloning repository git@github.com:edgexfoundry/device-gpio.git 04:32:27 > git init /w/workspace/device-gpio/99 # timeout=10 04:32:27 Fetching upstream changes from git@github.com:edgexfoundry/device-gpio.git 04:32:27 > git --version # timeout=10 04:32:27 > git --version # 'git version 2.25.1' 04:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:32:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-gpio.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:29 > git config remote.origin.url git@github.com:edgexfoundry/device-gpio.git # timeout=10 04:32:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:32:30 Avoid second fetch 04:32:30 Checking out Revision 1e0384811d3250d0bfb067782122c51f223b6a04 (main) 04:32:31 Commit message: "Merge pull request #197 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 04:32:30 > git config core.sparsecheckout # timeout=10 04:32:30 > git checkout -f 1e0384811d3250d0bfb067782122c51f223b6a04 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:32:32 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:32 Dload Upload Total Spent Left Speed 04:32:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 04:32:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:32:33 + sudo tee /etc/docker/daemon.new 04:32:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:32:33 { 04:32:33 "registry-mirrors": [ 04:32:33 "https://nexus3.edgexfoundry.org:10001" 04:32:33 ], 04:32:33 "bip": "10.250.0.254/24", 04:32:33 "hosts": [ 04:32:33 "tcp://0.0.0.0:5555", 04:32:33 "unix:///var/run/docker.sock" 04:32:33 ], 04:32:33 "mtu": 1458, 04:32:33 "selinux-enabled": true, 04:32:33 "seccomp-profile": "/etc/docker/seccomp.json" 04:32:33 } [Pipeline] sh 04:32:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:32:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:52 provisioning config files... 04:32:52 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/99@tmp/config13618986583090649374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:52 ---> docker-login.sh 04:32:52 nexus3.edgexfoundry.org:10001 04:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:53 Configure a credential helper to remove this warning. See 04:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:53 04:32:53 Login Succeeded 04:32:53 nexus3.edgexfoundry.org:10002 04:32:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:53 Configure a credential helper to remove this warning. See 04:32:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:53 04:32:53 Login Succeeded 04:32:53 nexus3.edgexfoundry.org:10003 04:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:54 Configure a credential helper to remove this warning. See 04:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:54 04:32:54 Login Succeeded 04:32:54 nexus3.edgexfoundry.org:10004 04:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:54 Configure a credential helper to remove this warning. See 04:32:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:54 04:32:54 Login Succeeded 04:32:54 docker.io 04:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:55 Configure a credential helper to remove this warning. See 04:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:55 04:32:55 Login Succeeded 04:32:55 ---> docker-login.sh ends [Pipeline] } 04:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:32:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:55 ========================================================= 04:32:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:32:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:55 + 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 . 04:32:56 Sending build context to Docker daemon 8.121MB 04:32:56 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:32:56 Step 2/12 : FROM ${BASE} AS builder 04:32:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:32:56 9fda8d8052c6: Pulling fs layer 04:32:56 5d54e960e981: Pulling fs layer 04:32:56 c4a7e357bf2a: Pulling fs layer 04:32:56 f0e02332f6b5: Pulling fs layer 04:32:56 cefa15bbcfad: Pulling fs layer 04:32:56 17808c966233: Pulling fs layer 04:32:56 f4c1fc716caa: Pulling fs layer 04:32:56 f0e02332f6b5: Waiting 04:32:56 cefa15bbcfad: Waiting 04:32:56 f4c1fc716caa: Waiting 04:32:56 17808c966233: Waiting 04:32:56 5d54e960e981: Download complete 04:32:56 f0e02332f6b5: Download complete 04:32:56 cefa15bbcfad: Verifying Checksum 04:32:56 cefa15bbcfad: Download complete 04:32:56 9fda8d8052c6: Verifying Checksum 04:32:56 9fda8d8052c6: Download complete 04:32:56 f4c1fc716caa: Verifying Checksum 04:32:56 f4c1fc716caa: Download complete 04:32:57 9fda8d8052c6: Pull complete 04:32:58 5d54e960e981: Pull complete 04:32:58 c4a7e357bf2a: Verifying Checksum 04:32:58 c4a7e357bf2a: Download complete 04:32:59 17808c966233: Verifying Checksum 04:32:59 17808c966233: Download complete 04:33:09 c4a7e357bf2a: Pull complete 04:33:09 f0e02332f6b5: Pull complete 04:33:09 cefa15bbcfad: Pull complete 04:33:19 17808c966233: Pull complete 04:33:20 f4c1fc716caa: Pull complete 04:33:20 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 04:33:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:33:20 ---> ea914061e18c 04:33:20 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:33:22 ---> Running in 2a99a1b94af4 04:33:22 Removing intermediate container 2a99a1b94af4 04:33:22 ---> e023964f9e7c 04:33:22 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:33:22 ---> Running in 79a92167de28 04:33:23 Removing intermediate container 79a92167de28 04:33:23 ---> 75802b5c95c2 04:33:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:33:23 ---> Running in 6ce50799b258 04:33:23 Removing intermediate container 6ce50799b258 04:33:23 ---> c6271195c49a 04:33:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:33:23 ---> Running in 2f66b75d3f9b 04:33:24 Removing intermediate container 2f66b75d3f9b 04:33:24 ---> 5ac43185a8ab 04:33:24 Step 7/12 : WORKDIR /device-gpio 04:33:24 ---> Running in bddbba204ea9 04:33:24 Removing intermediate container bddbba204ea9 04:33:24 ---> 659a146c003b 04:33:24 Step 8/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:33:24 ---> Running in 06f1aef49e32 04:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:33:27 (1/4) Installing openssh-keygen (9.3_p2-r0) 04:33:27 (2/4) Installing libedit (20221030.3.1-r1) 04:33:27 (3/4) Installing openssh-client-common (9.3_p2-r0) 04:33:27 (4/4) Installing openssh-client-default (9.3_p2-r0) 04:33:27 Executing busybox-1.36.1-r2.trigger 04:33:27 OK: 270 MiB in 56 packages 04:33:28 Removing intermediate container 06f1aef49e32 04:33:28 ---> a771bd1cbb77 04:33:28 Step 9/12 : COPY go.mod vendor* ./ 04:33:29 ---> d1dc88c564f1 04:33:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:29 ---> Running in 59afb7ca8470 04:34:51 Removing intermediate container 59afb7ca8470 04:34:51 ---> 84961ea4cf11 04:34:51 Step 11/12 : COPY . . 04:34:51 ---> 37d493b7ebbc 04:34:51 Step 12/12 : RUN ${MAKE} 04:34:51 ---> Running in febbce46af3f 04:34:51 noop 04:34:51 Removing intermediate container febbce46af3f 04:34:51 ---> 6db324f54736 04:34:51 Successfully built 6db324f54736 04:34:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:51 + docker inspect -f . ci-base-image-arm64 04:34:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:51 prd-ubuntu20.04-docker-arm64-4c-16g-7675 does not seem to be running inside a container 04:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-gpio/99 -v /w/workspace/device-gpio/99:/w/workspace/device-gpio/99:rw,z -v /w/workspace/device-gpio/99@tmp:/w/workspace/device-gpio/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:34:53 $ docker top 25a1c46c497fbd3a237fb49bdb7ec32e53ebcf4e4bd1793f883b61b4a1e571f6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:54 + go version 04:34:54 go version go1.21.0 linux/arm64 [Pipeline] } 04:34:54 $ docker stop --time=1 25a1c46c497fbd3a237fb49bdb7ec32e53ebcf4e4bd1793f883b61b4a1e571f6 04:34:56 $ docker rm -f --volumes 25a1c46c497fbd3a237fb49bdb7ec32e53ebcf4e4bd1793f883b61b4a1e571f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:56 + docker inspect -f . ci-base-image-arm64 04:34:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:56 prd-ubuntu20.04-docker-arm64-4c-16g-7675 does not seem to be running inside a container 04:34:56 $ 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/99 -v /w/workspace/device-gpio/99:/w/workspace/device-gpio/99:rw,z -v /w/workspace/device-gpio/99@tmp:/w/workspace/device-gpio/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:34:58 $ docker top 09cd91f3dae16045caf24e223207f101ae3ceb44abb562b8d0f45b56a4880439 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:59 + git config --global --add safe.directory /w/workspace/device-gpio/99 [Pipeline] fileExists [Pipeline] sh 04:34:59 + make test 04:34:59 go test ./... -coverprofile=coverage.out ./... 04:35:03 ? github.com/edgexfoundry/device-gpio [no test files] 04:36:55 ? github.com/edgexfoundry/device-gpio/cmd [no test files] 04:36:55 ? github.com/edgexfoundry/device-gpio/internal/driver [no test files] 04:36:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:36:55 go vet ./... 04:37:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:37:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:37:22 ./bin/test-attribution-txt.sh [Pipeline] echo 04:37:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:37:22 $ docker stop --time=1 09cd91f3dae16045caf24e223207f101ae3ceb44abb562b8d0f45b56a4880439 04:37:24 $ docker rm -f --volumes 09cd91f3dae16045caf24e223207f101ae3ceb44abb562b8d0f45b56a4880439 [Pipeline] // withDockerContainer [Pipeline] sh 04:37:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:37:25 Warning: overwriting stash ‘coverage-report’ 04:37:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:37:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:37:26 + ls -al . 04:37:26 total 164 04:37:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:35 . 04:37:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:32 .. 04:37:26 -rw-rw-r-- 1 jenkins jenkins 120 Sep 23 04:32 .dockerignore 04:37:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 23 04:32 .git 04:37:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:32 .github 04:37:26 -rw-rw-r-- 1 jenkins jenkins 343 Sep 23 04:32 .gitignore 04:37:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 23 04:32 .golangci.yml 04:37:26 -rw-rw-r-- 1 jenkins jenkins 10671 Sep 23 04:32 Attribution.txt 04:37:26 -rw-rw-r-- 1 jenkins jenkins 6184 Sep 23 04:32 CHANGELOG.md 04:37:26 -rw-rw-r-- 1 jenkins jenkins 1542 Sep 23 04:32 Dockerfile 04:37:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 23 04:32 GOVERNANCE.md 04:37:26 -rw-rw-r-- 1 jenkins jenkins 657 Sep 23 04:32 Jenkinsfile 04:37:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 23 04:32 LICENSE 04:37:26 -rw-rw-r-- 1 jenkins jenkins 1923 Sep 23 04:32 Makefile 04:37:26 -rw-rw-r-- 1 jenkins jenkins 617 Sep 23 04:32 OWNERS.md 04:37:26 -rw-rw-r-- 1 jenkins jenkins 12293 Sep 23 04:32 README.md 04:37:26 -rw-rw-r-- 1 jenkins jenkins 12 Sep 23 04:29 VERSION 04:37:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 23 04:32 bin 04:37:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:32 cmd 04:37:26 -rw-r--r-- 1 jenkins jenkins 10 Sep 23 04:35 coverage.out 04:37:26 -rw-rw-r-- 1 jenkins jenkins 3697 Sep 23 04:32 go.mod 04:37:26 -rw-rw-r-- 1 jenkins jenkins 35979 Sep 23 04:32 go.sum 04:37:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 23 04:32 internal 04:37:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 23 04:32 snap 04:37:26 -rw-rw-r-- 1 jenkins jenkins 209 Sep 23 04:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:27 + 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=1e0384811d3250d0bfb067782122c51f223b6a04 --label arch=arm64 --label version=3.1.0-dev.12 . 04:37:27 Sending build context to Docker daemon 8.122MB 04:37:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 04:37:27 Step 2/25 : FROM ${BASE} AS builder 04:37:27 ---> 6db324f54736 04:37:27 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:37:27 ---> Running in 03bc79580a89 04:37:28 Removing intermediate container 03bc79580a89 04:37:28 ---> b58850d7bd14 04:37:28 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:37:28 ---> Running in ee42c4471887 04:37:28 Removing intermediate container ee42c4471887 04:37:28 ---> 2871f30430da 04:37:28 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client " 04:37:28 ---> Running in 01af7873f9e2 04:37:29 Removing intermediate container 01af7873f9e2 04:37:29 ---> 45c22f78d4e9 04:37:29 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:37:29 ---> Running in 922969c845ef 04:37:29 Removing intermediate container 922969c845ef 04:37:29 ---> 166057557181 04:37:29 Step 7/25 : WORKDIR /device-gpio 04:37:29 ---> Running in f9e7602d159b 04:37:29 Removing intermediate container f9e7602d159b 04:37:29 ---> 4bc998fab3b2 04:37:29 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:37:29 ---> Running in f183ce5418cb 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:37:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:37:33 OK: 270 MiB in 56 packages 04:37:37 Removing intermediate container f183ce5418cb 04:37:37 ---> 5c8322dbb456 04:37:37 Step 9/25 : COPY go.mod vendor* ./ 04:37:37 ---> d4a8f5d0a7a9 04:37:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:37:37 ---> Running in 3bdeb2b6554e 04:37:40 Removing intermediate container 3bdeb2b6554e 04:37:40 ---> 0b91bd41d4a3 04:37:40 Step 11/25 : COPY . . 04:37:41 ---> a60b46a49eea 04:37:41 Step 12/25 : RUN ${MAKE} 04:37:41 ---> Running in f8175f6723a1 04:37:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-gpio.Version=3.1.0-dev.12 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.29" -trimpath -mod=readonly -o cmd/device-gpio ./cmd 04:39:49 Removing intermediate container f8175f6723a1 04:39:49 ---> 56f03eb56c62 04:39:49 Step 13/25 : FROM alpine:3.18 04:39:49 3.18: Pulling from library/alpine 04:39:49 9fda8d8052c6: Already exists 04:39:49 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 04:39:49 Status: Downloaded newer image for alpine:3.18 04:39:49 ---> f6648c04cd6c 04:39:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Jiangxing Intelligence' 04:39:49 ---> Running in dcf0a6eb592d 04:39:49 Removing intermediate container dcf0a6eb592d 04:39:49 ---> df2d766c8fe3 04:39:49 Step 15/25 : RUN apk add --update --no-cache 04:39:49 ---> Running in 806ecc1cbf5b 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:39:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:39:49 OK: 8 MiB in 15 packages 04:39:49 Removing intermediate container 806ecc1cbf5b 04:39:49 ---> c94caf32bf83 04:39:49 Step 16/25 : WORKDIR / 04:39:49 ---> Running in 2b94d8a0c72e 04:39:50 Removing intermediate container 2b94d8a0c72e 04:39:50 ---> ea0d63e3ff15 04:39:50 Step 17/25 : COPY --from=builder /device-gpio/Attribution.txt / 04:39:50 ---> 50e75502fb11 04:39:50 Step 18/25 : COPY --from=builder /device-gpio/LICENSE / 04:39:51 ---> b4a0b5aa6f02 04:39:51 Step 19/25 : COPY --from=builder /device-gpio/cmd/ / 04:39:55 ---> e2c84a1b8b52 04:39:55 Step 20/25 : EXPOSE 59910 04:39:55 ---> Running in 5fbf2f3ac6ce 04:39:55 Removing intermediate container 5fbf2f3ac6ce 04:39:55 ---> 3ad3ae92017c 04:39:55 Step 21/25 : ENTRYPOINT ["/device-gpio"] 04:39:55 ---> Running in 83aa1634a7b5 04:39:55 Removing intermediate container 83aa1634a7b5 04:39:55 ---> e89a47902373 04:39:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:39:55 ---> Running in ad2d53ddb183 04:39:55 Removing intermediate container ad2d53ddb183 04:39:55 ---> 4417da9e6cf8 04:39:55 Step 23/25 : LABEL arch=arm64 04:39:55 ---> Running in 02e1b8ad7c8b 04:39:56 Removing intermediate container 02e1b8ad7c8b 04:39:56 ---> 522c63703696 04:39:56 Step 24/25 : LABEL git_sha=1e0384811d3250d0bfb067782122c51f223b6a04 04:39:56 ---> Running in b874506b8e25 04:39:56 Removing intermediate container b874506b8e25 04:39:56 ---> 911295a0224a 04:39:56 Step 25/25 : LABEL version=3.1.0-dev.12 04:39:56 ---> Running in b0ffb0098e27 04:39:56 Removing intermediate container b0ffb0098e27 04:39:56 ---> 170a262c9d85 04:39:56 [Warning] One or more build-args [ARCH] were not consumed 04:39:56 Successfully built 170a262c9d85 04:39:56 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 04:39:57 provisioning config files... 04:39:57 copy managed file [device-gpio-settings] to file:/w/workspace/device-gpio/99@tmp/config8905705381327444703tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:39:57 ---> docker-login.sh 04:39:57 nexus3.edgexfoundry.org:10001 04:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:57 Configure a credential helper to remove this warning. See 04:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:57 04:39:57 Login Succeeded 04:39:57 nexus3.edgexfoundry.org:10002 04:39:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:57 Configure a credential helper to remove this warning. See 04:39:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:57 04:39:57 Login Succeeded 04:39:57 nexus3.edgexfoundry.org:10003 04:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:58 Configure a credential helper to remove this warning. See 04:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:58 04:39:58 Login Succeeded 04:39:58 nexus3.edgexfoundry.org:10004 04:39:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:58 Configure a credential helper to remove this warning. See 04:39:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:58 04:39:58 Login Succeeded 04:39:58 docker.io 04:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:39:59 Configure a credential helper to remove this warning. See 04:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:39:59 04:39:59 Login Succeeded 04:39:59 ---> docker-login.sh ends [Pipeline] } 04:39:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:39:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:39:59 [edgeXDocker.push] Tagging docker image device-gpio-arm64 with the following tags: 04:39:59 1e0384811d3250d0bfb067782122c51f223b6a04 04:39:59 latest 04:39:59 3.1.0-dev.12 04:39:59 1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:39:59 main 04:39:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:39:59 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:00 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04 04:40:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 04:40:00 2a6a471ed8ce: Preparing 04:40:00 55aa69f2c1b2: Preparing 04:40:00 f43231ef3911: Preparing 04:40:00 8cc933c02aa5: Preparing 04:40:00 b2191e2be29d: Preparing 04:40:00 b2191e2be29d: Layer already exists 04:40:00 8cc933c02aa5: Pushed 04:40:00 55aa69f2c1b2: Pushed 04:40:00 f43231ef3911: Pushed 04:40:07 2a6a471ed8ce: Pushed 04:40:07 1e0384811d3250d0bfb067782122c51f223b6a04: digest: sha256:7963cd78c5205a1763fee355549a2d4bd396759b9f18b4c55937c6608380c81f size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:07 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:07 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 04:40:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 04:40:07 2a6a471ed8ce: Preparing 04:40:07 55aa69f2c1b2: Preparing 04:40:07 f43231ef3911: Preparing 04:40:07 8cc933c02aa5: Preparing 04:40:07 b2191e2be29d: Preparing 04:40:07 2a6a471ed8ce: Layer already exists 04:40:07 b2191e2be29d: Layer already exists 04:40:07 55aa69f2c1b2: Layer already exists 04:40:07 f43231ef3911: Layer already exists 04:40:07 8cc933c02aa5: Layer already exists 04:40:07 latest: digest: sha256:7963cd78c5205a1763fee355549a2d4bd396759b9f18b4c55937c6608380c81f size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:08 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:08 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.12 04:40:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 04:40:08 2a6a471ed8ce: Preparing 04:40:08 55aa69f2c1b2: Preparing 04:40:08 f43231ef3911: Preparing 04:40:08 8cc933c02aa5: Preparing 04:40:08 b2191e2be29d: Preparing 04:40:08 55aa69f2c1b2: Layer already exists 04:40:08 2a6a471ed8ce: Layer already exists 04:40:08 f43231ef3911: Layer already exists 04:40:08 b2191e2be29d: Layer already exists 04:40:08 8cc933c02aa5: Layer already exists 04:40:08 3.1.0-dev.12: digest: sha256:7963cd78c5205a1763fee355549a2d4bd396759b9f18b4c55937c6608380c81f size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:09 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:40:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 04:40:09 2a6a471ed8ce: Preparing 04:40:09 55aa69f2c1b2: Preparing 04:40:09 f43231ef3911: Preparing 04:40:09 8cc933c02aa5: Preparing 04:40:09 b2191e2be29d: Preparing 04:40:09 2a6a471ed8ce: Layer already exists 04:40:09 55aa69f2c1b2: Layer already exists 04:40:09 b2191e2be29d: Layer already exists 04:40:09 8cc933c02aa5: Layer already exists 04:40:09 f43231ef3911: Layer already exists 04:40:09 1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12: digest: sha256:7963cd78c5205a1763fee355549a2d4bd396759b9f18b4c55937c6608380c81f size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:09 + docker tag device-gpio-arm64 nexus3.edgexfoundry.org:10004/device-gpio-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:10 + docker push nexus3.edgexfoundry.org:10004/device-gpio-arm64:main 04:40:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-gpio-arm64] 04:40:10 2a6a471ed8ce: Preparing 04:40:10 55aa69f2c1b2: Preparing 04:40:10 f43231ef3911: Preparing 04:40:10 8cc933c02aa5: Preparing 04:40:10 b2191e2be29d: Preparing 04:40:10 f43231ef3911: Layer already exists 04:40:10 55aa69f2c1b2: Layer already exists 04:40:10 b2191e2be29d: Layer already exists 04:40:10 2a6a471ed8ce: Layer already exists 04:40:10 8cc933c02aa5: Layer already exists 04:40:10 main: digest: sha256:7963cd78c5205a1763fee355549a2d4bd396759b9f18b4c55937c6608380c81f size: 1364 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:40:10 ===================================================== [Pipeline] echo 04:40:10 taggedImages: 04:40:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04 04:40:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:latest 04:40:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:3.1.0-dev.12 04:40:10 - nexus3.edgexfoundry.org:10004/device-gpio-arm64:1e0384811d3250d0bfb067782122c51f223b6a04-3.1.0-dev.12 04:40:10 - 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 04:40:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:10 04:40:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:10 arm64: Pulling from edgex-lftools-log-publisher 04:40:10 8998bd30e6a1: Pulling fs layer 04:40:10 04944245beec: Pulling fs layer 04:40:10 699f458cf7ca: Pulling fs layer 04:40:10 765212b225bb: Pulling fs layer 04:40:10 f23df028b6ca: Pulling fs layer 04:40:10 d65c8cfc05b1: Pulling fs layer 04:40:10 2437ff75d9bd: Pulling fs layer 04:40:10 f23df028b6ca: Waiting 04:40:10 d65c8cfc05b1: Waiting 04:40:10 2437ff75d9bd: Waiting 04:40:10 765212b225bb: Waiting 04:40:11 04944245beec: Verifying Checksum 04:40:11 04944245beec: Download complete 04:40:11 765212b225bb: Verifying Checksum 04:40:11 765212b225bb: Download complete 04:40:11 f23df028b6ca: Verifying Checksum 04:40:11 f23df028b6ca: Download complete 04:40:11 d65c8cfc05b1: Verifying Checksum 04:40:11 d65c8cfc05b1: Download complete 04:40:11 699f458cf7ca: Verifying Checksum 04:40:11 699f458cf7ca: Download complete 04:40:11 8998bd30e6a1: Download complete 04:40:14 2437ff75d9bd: Verifying Checksum 04:40:14 2437ff75d9bd: Download complete 04:40:15 8998bd30e6a1: Pull complete 04:40:16 04944245beec: Pull complete 04:40:17 699f458cf7ca: Pull complete 04:40:17 765212b225bb: Pull complete 04:40:21 f23df028b6ca: Pull complete 04:40:21 d65c8cfc05b1: Pull complete 04:40:36 2437ff75d9bd: Pull complete 04:40:36 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:40:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:36 prd-ubuntu20.04-docker-arm64-4c-16g-7675 does not seem to be running inside a container 04:40:36 $ 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/99 -v /w/workspace/device-gpio/99:/w/workspace/device-gpio/99:rw,z -v /w/workspace/device-gpio/99@tmp:/w/workspace/device-gpio/99@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:arm64 cat 04:40:39 $ docker top 5e3f4cb63bcf307fdb9edb9c4a048bf7d791effd07f435167229db3cca909a8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:39 ---> job-cost.sh 04:40:39 lf-activate-venv: SKIPPING 04:40:39 INFO: No Stack... 04:40:40 INFO: Retrieving Pricing Info for: v3-standard-4 04:40:41 INFO: Archiving Costs [Pipeline] sh 04:40:41 + + cutcat -d, -f6 04:40:41 /w/workspace/device-gpio/99/archives/cost.csv [Pipeline] lock 04:40:41 Trying to acquire lock on [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] 04:40:41 Resource [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] did not exist. Created. 04:40:41 Lock acquired on [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:40:42 /w/workspace/device-gpio/99@tmp/durable-2c07ba07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:40:42 + echo total: 0.10999999940395355 [Pipeline] stash 04:40:42 Warning: overwriting stash ‘stack-cost’ 04:40:42 Stashed 1 file(s) [Pipeline] } 04:40:42 Lock released on resource [jenkins-edgexfoundry-device-gpio-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 04:40:42 $ docker stop --time=1 5e3f4cb63bcf307fdb9edb9c4a048bf7d791effd07f435167229db3cca909a8a 04:40:43 $ docker rm -f --volumes 5e3f4cb63bcf307fdb9edb9c4a048bf7d791effd07f435167229db3cca909a8a [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 04:40:44 provisioning config files... 04:40:44 copy managed file [device-gpio-codecov-token] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config8113457074075133624tmp [Pipeline] { [Pipeline] sh 04:40:44 + set +x 04:40:44 + + curl -sbash https://codecov.io/bash -s 04:40:44 -- 04:40:44 04:40:44 _____ _ 04:40:44 / ____| | | 04:40:44 | | ___ __| | ___ ___ _____ __ 04:40:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:40:44 | |___| (_) | (_| | __/ (_| (_) \ V / 04:40:44 \_____\___/ \__,_|\___|\___\___/ \_/ 04:40:44 Bash-1.0.6 04:40:44 04:40:44 04:40:44 ==> git version 2.25.1 found 04:40:44 ==> 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 04:40:44 Release-Date: 2020-01-08 04:40:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:40:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:40:44 ==> Jenkins CI detected. 04:40:44 current dir:  /w/workspace/edgexfoundry_device-gpio_main 04:40:44 project root: . 04:40:44 --> token set from env 04:40:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:40:44 ==> Running gcov in . (disable via -X gcov) 04:40:44 ==> Python coveragepy not found 04:40:44 ==> Searching for coverage reports in: 04:40:44 + . 04:40:44 -> Found 1 reports 04:40:44 ==> Detecting git/mercurial file structure 04:40:44 ==> Reading reports 04:40:44 + ./coverage.out bytes=10 04:40:44 ==> Appending adjustments 04:40:44 https://docs.codecov.io/docs/fixing-reports 04:40:44 + Found adjustments 04:40:44 ==> Gzipping contents 04:40:44 4.0K /tmp/codecov.FlZxeJ.gz 04:40:44 ==> Uploading reports 04:40:44 url: https://codecov.io 04:40:44 query: branch=main&commit=1e0384811d3250d0bfb067782122c51f223b6a04&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:44 -> Pinging Codecov 04:40:44 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=1e0384811d3250d0bfb067782122c51f223b6a04&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-gpio%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-gpio&service=jenkins&flags=&pr=&job=&cmd_args= 04:40:44 -> Uploading to 04:40:44 https://storage.googleapis.com/codecov/v4/raw/2023-09-23/3EC07B1A8CA8AF9BCAA0BB9F0134797F/1e0384811d3250d0bfb067782122c51f223b6a04/1e58e2d3-4c77-49d1-a4ac-9b9fa3de5f5c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230923%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230923T044044Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e79a607d92eaadd54e65ffebd4498f1292a1023f99f5e0558aaf9e45a64804b 04:40:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:40:44 Dload Upload Total Spent Left Speed 04:40:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 724 0 0 100 724 0 3203 --:--:-- --:--:-- --:--:-- 3203 04:40:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-gpio/commit/1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] } 04:40:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:40:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:40:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:45 04:40:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:40:45 df9b9388f04a: Pulling fs layer 04:40:45 52dc419b0ee2: Pulling fs layer 04:40:45 25bc292e5bac: Pulling fs layer 04:40:45 114826534d7a: Pulling fs layer 04:40:45 4657fd5d0bcf: Pulling fs layer 04:40:45 6ad1cebc031e: Pulling fs layer 04:40:45 8a3aa393b2d8: Pulling fs layer 04:40:45 4657fd5d0bcf: Waiting 04:40:45 114826534d7a: Waiting 04:40:45 6ad1cebc031e: Waiting 04:40:45 8a3aa393b2d8: Waiting 04:40:45 25bc292e5bac: Verifying Checksum 04:40:45 25bc292e5bac: Download complete 04:40:45 52dc419b0ee2: Download complete 04:40:45 4657fd5d0bcf: Verifying Checksum 04:40:45 4657fd5d0bcf: Download complete 04:40:45 df9b9388f04a: Download complete 04:40:46 df9b9388f04a: Pull complete 04:40:46 6ad1cebc031e: Verifying Checksum 04:40:46 6ad1cebc031e: Download complete 04:40:46 52dc419b0ee2: Pull complete 04:40:46 25bc292e5bac: Pull complete 04:40:46 114826534d7a: Download complete 04:40:46 8a3aa393b2d8: Verifying Checksum 04:40:46 8a3aa393b2d8: Download complete 04:40:50 114826534d7a: Pull complete 04:40:50 4657fd5d0bcf: Pull complete 04:40:50 6ad1cebc031e: Pull complete 04:40:53 8a3aa393b2d8: Pull complete 04:40:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:40:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:40:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:53 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:40:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:40:57 $ docker top e0a336f72d79dab74e62679cd13e98cae94b5623a0de5368d7801e344804a80f -eo pid,comm [Pipeline] { [Pipeline] echo 04:40:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-gpio:main' [Pipeline] sh 04:40:57 + set -o pipefail 04:40:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-gpio:main' 04:41:04 04:41:04 Monitoring /w/workspace/edgexfoundry_device-gpio_main (github.com/edgexfoundry/device-gpio)... 04:41:04 04:41:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/12ab3d01-1bc4-4f09-aaa2-b1110f72e9b5/history/a5f86f54-7e97-4f32-af05-50349b3d4b67 04:41:04 04:41:04 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:41:04 04:41:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:41:04 04:41:04 04:41:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:41:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:41:04 More details here: https://snyk.co/ue1NS [Pipeline] } 04:41:04 $ docker stop --time=1 e0a336f72d79dab74e62679cd13e98cae94b5623a0de5368d7801e344804a80f 04:41:06 $ docker rm -f --volumes e0a336f72d79dab74e62679cd13e98cae94b5623a0de5368d7801e344804a80f [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 04:41:07 + git log --format=format:%s -1 1e0384811d3250d0bfb067782122c51f223b6a04 [Pipeline] sh 04:41:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:08 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:41:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:08 $ docker top 7724b55529df45f98940b760a209a76643e2fdf2c9351c4b5e243366cbb1fe04 -eo pid,comm 04:41:08 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). 04:41:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:08 [ssh-agent] Looking for ssh-agent implementation... 04:41:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:08 $ docker exec 7724b55529df45f98940b760a209a76643e2fdf2c9351c4b5e243366cbb1fe04 ssh-agent 04:41:09 SSH_AUTH_SOCK=/tmp/ssh-TPse0drZMo16/agent.31 04:41:09 SSH_AGENT_PID=37 04:41:09 Running ssh-add (command line suppressed) 04:41:09 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12817779728589970611.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_12817779728589970611.key) 04:41:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:09 + git semver tag 04:41:09 2023-09-23 04:41:09,654 [run_tag] DEBUG tag force:False 04:41:09 2023-09-23 04:41:09,654 [check_head_tag] DEBUG check head tag 04:41:09 2023-09-23 04:41:09,655 [execute] INFO git cat-file --batch-check 04:41:09 2023-09-23 04:41:09,655 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 04:41:09 2023-09-23 04:41:09,658 [execute] INFO git cat-file --batch 04:41:09 2023-09-23 04:41:09,658 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=) 04:41:09 2023-09-23 04:41:09,667 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:09 2023-09-23 04:41:09,667 [execute] INFO git tag -a v3.1.0-dev.12 -m v3.1.0-dev.12 04:41:09 2023-09-23 04:41:09,667 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.12', '-m', 'v3.1.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-gpio_main, universal_newlines=False, shell=None, istream=None) 04:41:09 2023-09-23 04:41:09,672 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:09 3.1.0-dev.12 [Pipeline] } 04:41:09 $ docker exec --env ******** --env ******** 7724b55529df45f98940b760a209a76643e2fdf2c9351c4b5e243366cbb1fe04 ssh-agent -k 04:41:09 unset SSH_AUTH_SOCK; 04:41:09 unset SSH_AGENT_PID; 04:41:09 echo Agent pid 37 killed; 04:41:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:10 + git semver [Pipeline] } 04:41:10 $ docker stop --time=1 7724b55529df45f98940b760a209a76643e2fdf2c9351c4b5e243366cbb1fe04 04:41:11 $ docker rm -f --volumes 7724b55529df45f98940b760a209a76643e2fdf2c9351c4b5e243366cbb1fe04 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:12 04:41:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:12 0.23.1-centos7: Pulling from edgex-lftools 04:41:12 ab5ef0e58194: Pulling fs layer 04:41:12 9712f1f96733: Pulling fs layer 04:41:12 63f879dbbcfc: Pulling fs layer 04:41:12 0d9ebad4ef96: Pulling fs layer 04:41:12 e9a5061849ea: Pulling fs layer 04:41:12 d747dcd14b5f: Pulling fs layer 04:41:12 2de7ff778b66: Pulling fs layer 04:41:12 e9a5061849ea: Waiting 04:41:12 0d9ebad4ef96: Waiting 04:41:12 d747dcd14b5f: Waiting 04:41:12 2de7ff778b66: Waiting 04:41:12 9712f1f96733: Verifying Checksum 04:41:12 9712f1f96733: Download complete 04:41:12 63f879dbbcfc: Verifying Checksum 04:41:12 63f879dbbcfc: Download complete 04:41:12 e9a5061849ea: Verifying Checksum 04:41:12 e9a5061849ea: Download complete 04:41:12 d747dcd14b5f: Download complete 04:41:12 ab5ef0e58194: Verifying Checksum 04:41:12 ab5ef0e58194: Download complete 04:41:12 0d9ebad4ef96: Verifying Checksum 04:41:12 0d9ebad4ef96: Download complete 04:41:12 2de7ff778b66: Verifying Checksum 04:41:12 2de7ff778b66: Download complete 04:41:15 ab5ef0e58194: Pull complete 04:41:15 9712f1f96733: Pull complete 04:41:16 63f879dbbcfc: Pull complete 04:41:19 0d9ebad4ef96: Pull complete 04:41:19 e9a5061849ea: Pull complete 04:41:20 d747dcd14b5f: Pull complete 04:41:21 2de7ff778b66: Pull complete 04:41:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:41:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:21 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:41:25 $ docker top e4a144877de76ac4494c350de954b6df6173b3e818854690ced6e344f1af50de -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:41:25 provisioning config files... 04:41:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config1229538706903059035tmp 04:41:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config5526058825882970079tmp 04:41:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config3922605630410985997tmp [Pipeline] { [Pipeline] echo 04:41:25 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:41:26 ---> sigul-configuration.sh 04:41:26 gpg: directory `/root/.gnupg' created 04:41:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:41:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:41:26 gpg: keyring `/root/.gnupg/secring.gpg' created 04:41:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:41:26 gpg: CAST5 encrypted data 04:41:26 gpg: encrypted with 1 passphrase 04:41:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:41:26 + mkdir /home/jenkins 04:41:26 + mkdir /home/jenkins/sigul [Pipeline] sh 04:41:26 + 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 04:41:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:27 ---> sigul-install.sh 04:41:27 Sigul already installed; skipping installation. [Pipeline] sh 04:41:27 + git tag --list 04:41:27 v1.0.0 04:41:27 v2.1.0 04:41:27 v2.1.1 04:41:27 v2.2.0 04:41:27 v2.3.0 04:41:27 v3.0 04:41:27 v3.0.0 04:41:27 v3.1.0-dev.1 04:41:27 v3.1.0-dev.10 04:41:27 v3.1.0-dev.11 04:41:27 v3.1.0-dev.12 04:41:27 v3.1.0-dev.2 04:41:27 v3.1.0-dev.3 04:41:27 v3.1.0-dev.4 04:41:27 v3.1.0-dev.5 04:41:27 v3.1.0-dev.6 04:41:27 v3.1.0-dev.7 04:41:27 v3.1.0-dev.8 04:41:27 v3.1.0-dev.9 [Pipeline] sh 04:41:27 + lftools sign git-tag v3.1.0-dev.12 04:41:28 Signing Git tag with Sigul... 04:41:28 Signing v3.1.0-dev.12 [Pipeline] echo 04:41:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:41:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:41:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:41:29 $ docker stop --time=1 e4a144877de76ac4494c350de954b6df6173b3e818854690ced6e344f1af50de 04:41:30 $ docker rm -f --volumes e4a144877de76ac4494c350de954b6df6173b3e818854690ced6e344f1af50de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:41:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:31 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:31 $ docker top b0a44cf469d98c7e2f13f5734bf129d00439999e27cfbc0cee55b5fb20c2219b -eo pid,comm 04:41:31 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). 04:41:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:31 [ssh-agent] Looking for ssh-agent implementation... 04:41:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:31 $ docker exec b0a44cf469d98c7e2f13f5734bf129d00439999e27cfbc0cee55b5fb20c2219b ssh-agent 04:41:31 SSH_AUTH_SOCK=/tmp/ssh-pdIHDCqhSXuu/agent.31 04:41:31 SSH_AGENT_PID=38 04:41:31 Running ssh-add (command line suppressed) 04:41:31 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16996420788610600702.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_16996420788610600702.key) 04:41:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:32 + git semver bump pre 04:41:32 2023-09-23 04:41:32,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:32 2023-09-23 04:41:32,366 [bump_version] DEBUG bumping version:3.1.0-dev.12 on axis:pre with prefix:dev 04:41:32 2023-09-23 04:41:32,366 [bump_version] DEBUG bumped version:3.1.0-dev.13 04:41:32 2023-09-23 04:41:32,366 [write_version] DEBUG write version:3.1.0-dev.13 to path:/w/workspace/edgexfoundry_device-gpio_main/.semver/main with force:True 04:41:32 2023-09-23 04:41:32,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:32 2023-09-23 04:41:32,366 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:32 2023-09-23 04:41:32,368 [execute] INFO git cat-file --batch-check 04:41:32 2023-09-23 04:41:32,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:32 2023-09-23 04:41:32,373 [execute] INFO git cat-file --batch 04:41:32 2023-09-23 04:41:32,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:32 2023-09-23 04:41:32,380 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:32 3.1.0-dev.13 [Pipeline] } 04:41:32 $ docker exec --env ******** --env ******** b0a44cf469d98c7e2f13f5734bf129d00439999e27cfbc0cee55b5fb20c2219b ssh-agent -k 04:41:32 unset SSH_AUTH_SOCK; 04:41:32 unset SSH_AGENT_PID; 04:41:32 echo Agent pid 38 killed; 04:41:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:32 + git semver [Pipeline] } 04:41:33 $ docker stop --time=1 b0a44cf469d98c7e2f13f5734bf129d00439999e27cfbc0cee55b5fb20c2219b 04:41:34 $ docker rm -f --volumes b0a44cf469d98c7e2f13f5734bf129d00439999e27cfbc0cee55b5fb20c2219b [Pipeline] // withDockerContainer [Pipeline] sh 04:41:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:41:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:35 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-gpio_main -v /w/workspace/edgexfoundry_device-gpio_main:/w/workspace/edgexfoundry_device-gpio_main:rw,z -v /w/workspace/edgexfoundry_device-gpio_main@tmp:/w/workspace/edgexfoundry_device-gpio_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:41:35 $ docker top 215b136287cada67b71b8fc9da29d364745f13d345016d6122a8bebeb44df7ab -eo pid,comm 04:41: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). 04:41:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:35 [ssh-agent] Looking for ssh-agent implementation... 04:41:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:35 $ docker exec 215b136287cada67b71b8fc9da29d364745f13d345016d6122a8bebeb44df7ab ssh-agent 04:41:35 SSH_AUTH_SOCK=/tmp/ssh-azVRKpCNnGUd/agent.32 04:41:35 SSH_AGENT_PID=38 04:41:35 Running ssh-add (command line suppressed) 04:41:35 Identity added: /w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10797404558592686092.key (/w/workspace/edgexfoundry_device-gpio_main@tmp/private_key_10797404558592686092.key) 04:41:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:36 + git semver push 04:41:36 2023-09-23 04:41:36,382 [run_push] DEBUG push 04:41:36 2023-09-23 04:41:36,382 [execute] INFO git cat-file --batch-check 04:41:36 2023-09-23 04:41:36,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:36 2023-09-23 04:41:36,386 [execute] INFO git rev-list ea352c71a0f835484f401359945fb3ec84de8b2f -- 04:41:36 2023-09-23 04:41:36,386 [execute] DEBUG Popen(['git', 'rev-list', 'ea352c71a0f835484f401359945fb3ec84de8b2f', '--'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:36 2023-09-23 04:41:36,394 [execute] INFO git fetch -v origin 04:41:36 2023-09-23 04:41:36,394 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=True, shell=None, istream=None) 04:41:37 2023-09-23 04:41:36,853 [run_push] DEBUG no remote changes detected 04:41:37 2023-09-23 04:41:36,854 [execute] INFO git push origin semver 04:41:37 2023-09-23 04:41:36,854 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-gpio_main/.semver, universal_newlines=False, shell=None, istream=None) 04:41:37 2023-09-23 04:41:37,585 [run_push] DEBUG push all version tags 04:41:37 2023-09-23 04:41:37,586 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:41:37 2023-09-23 04:41:37,586 [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) 04:41:38 2023-09-23 04:41:38,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-gpio_main/.semver/main 04:41:38 3.1.0-dev.13 [Pipeline] } 04:41:38 $ docker exec --env ******** --env ******** 215b136287cada67b71b8fc9da29d364745f13d345016d6122a8bebeb44df7ab ssh-agent -k 04:41:38 unset SSH_AUTH_SOCK; 04:41:38 unset SSH_AGENT_PID; 04:41:38 echo Agent pid 38 killed; 04:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:38 + git semver [Pipeline] } 04:41:39 $ docker stop --time=1 215b136287cada67b71b8fc9da29d364745f13d345016d6122a8bebeb44df7ab 04:41:40 $ docker rm -f --volumes 215b136287cada67b71b8fc9da29d364745f13d345016d6122a8bebeb44df7ab [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 04:41:41 + [ -d /w/workspace/edgexfoundry_device-gpio_main/archives ] 04:41:41 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 04:41:41 total 16 04:41:41 drwxr-xr-x 3 root root 4096 Sep 23 04:32 . 04:41:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 04:41 .. 04:41:41 drwxr-xr-x 2 root root 4096 Sep 23 04:32 cost 04:41:41 -rw-r--r-- 1 root root 82 Sep 23 04:32 cost.csv 04:41:41 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-gpio_main/archives 04:41:41 + ls -al /w/workspace/edgexfoundry_device-gpio_main/archives 04:41:41 total 16 04:41:41 drwxr-xr-x 3 jenkins jenkins 4096 Sep 23 04:32 . 04:41:41 drwxrwxr-x 10 jenkins jenkins 4096 Sep 23 04:41 .. 04:41:41 drwxr-xr-x 2 jenkins jenkins 4096 Sep 23 04:32 cost 04:41:41 -rw-r--r-- 1 jenkins jenkins 82 Sep 23 04:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:41:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:41:42 ---> package-listing.sh 04:41:42 ++ facter osfamily 04:41:42 ++ tr '[:upper:]' '[:lower:]' 04:41:42 + OS_FAMILY=debian 04:41:42 + workspace=/w/workspace/edgexfoundry_device-gpio_main 04:41:42 + START_PACKAGES=/tmp/packages_start.txt 04:41:42 + END_PACKAGES=/tmp/packages_end.txt 04:41:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:41:42 + PACKAGES=/tmp/packages_start.txt 04:41:42 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 04:41:42 + PACKAGES=/tmp/packages_end.txt 04:41:42 + case "${OS_FAMILY}" in 04:41:42 + dpkg -l 04:41:42 + grep '^ii' 04:41:42 + '[' -f /tmp/packages_start.txt ']' 04:41:42 + '[' -f /tmp/packages_end.txt ']' 04:41:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:41:42 + '[' /w/workspace/edgexfoundry_device-gpio_main ']' 04:41:42 + mkdir -p /w/workspace/edgexfoundry_device-gpio_main/archives/ 04:41:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-gpio_main/archives/ [Pipeline] echo 04:41: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 04:41:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:41:43 prd-ubuntu20.04-docker-8c-8g-7670 does not seem to be running inside a container 04:41: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:41:43 $ docker top a35bfa4bc019cfed5f226525d29afc183b2556436ac06154293c2b38c860fe2a -eo pid,comm [Pipeline] { [Pipeline] sh 04:41:44 + touch /tmp/pre-build-complete [Pipeline] sh 04:41:44 + mkdir -p /var/log/sysstat [Pipeline] sh 04:41:44 + ls /var/log/sa-host 04:41:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:44 provisioning config files... 04:41:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-gpio_main@tmp/config4842889133075351404tmp [Pipeline] { [Pipeline] echo 04:41:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:41:45 ---> create-netrc.sh [Pipeline] } 04:41:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:41:45 ---> python-tools-install.sh [Pipeline] echo 04:41:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:41:45 ---> sudo-logs.sh 04:41:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:41:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:41:46 ---> job-cost.sh 04:41:46 lf-activate-venv: SKIPPING 04:41:46 DEBUG: total: 0.2199999988079071 04:41:46 INFO: Retrieving Stack Cost... 04:41:47 INFO: Retrieving Pricing Info for: v3-standard-8 04:41:47 INFO: Archiving Costs [Pipeline] echo 04:41:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:41:47 ---> logs-deploy.sh 04:41:47 lf-activate-venv: SKIPPING 04:41:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-gpio/main/99 04:41:47 INFO: archiving workspace using pattern(s): 04:41:48 Archives upload complete. 04:41:48 INFO: archiving logs to Nexus 04:41:49 ---> uname -a: 04:41:49 Linux prd-ubuntu20-04-docker-8c-8g-7670 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:41:49 04:41:49 04:41:49 ---> lscpu: 04:41:49 Architecture: x86_64 04:41:49 CPU op-mode(s): 32-bit, 64-bit 04:41:49 Byte Order: Little Endian 04:41:49 Address sizes: 40 bits physical, 48 bits virtual 04:41:49 CPU(s): 8 04:41:49 On-line CPU(s) list: 0-7 04:41:49 Thread(s) per core: 1 04:41:49 Core(s) per socket: 1 04:41:49 Socket(s): 8 04:41:49 NUMA node(s): 1 04:41:49 Vendor ID: AuthenticAMD 04:41:49 CPU family: 23 04:41:49 Model: 49 04:41:49 Model name: AMD EPYC-Rome Processor 04:41:49 Stepping: 0 04:41:49 CPU MHz: 2799.998 04:41:49 BogoMIPS: 5599.99 04:41:49 Virtualization: AMD-V 04:41:49 Hypervisor vendor: KVM 04:41:49 Virtualization type: full 04:41:49 L1d cache: 256 KiB 04:41:49 L1i cache: 256 KiB 04:41:49 L2 cache: 4 MiB 04:41:49 L3 cache: 128 MiB 04:41:49 NUMA node0 CPU(s): 0-7 04:41:49 Vulnerability Itlb multihit: Not affected 04:41:49 Vulnerability L1tf: Not affected 04:41:49 Vulnerability Mds: Not affected 04:41:49 Vulnerability Meltdown: Not affected 04:41:49 Vulnerability Mmio stale data: Not affected 04:41:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:41:49 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:41:49 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:41:49 Vulnerability Srbds: Not affected 04:41:49 Vulnerability Tsx async abort: Not affected 04:41:49 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 04:41:49 04:41:49 04:41:49 ---> nproc: 04:41:49 8 04:41:49 04:41:49 04:41:49 ---> df -h: 04:41:49 Filesystem Size Used Avail Use% Mounted on 04:41:49 overlay 155G 13G 143G 9% / 04:41:49 tmpfs 64M 0 64M 0% /dev 04:41:49 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:41:49 shm 64M 0 64M 0% /dev/shm 04:41:49 /dev/vda1 155G 13G 143G 9% /facter-os 04:41:49 04:41:49 04:41:49 ---> sar -b -r -n DEV: 04:41:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7670) 09/23/23 _x86_64_ (8 CPU) 04:41:49 04:41:49 04:28:58 LINUX RESTART (8 CPU) 04:41:49 04:41:49 04:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 04:41:49 04:30:02 162.93 48.40 114.53 0.00 5440.19 220501.83 0.00 04:41:49 04:31:01 182.97 1.80 181.17 0.00 34.16 55919.61 0.00 04:41:49 04:32:01 174.80 0.20 174.60 0.00 13.46 39793.63 0.00 04:41:49 04:33:01 16.38 0.00 16.38 0.00 0.00 5636.81 0.00 04:41:49 04:34:01 1.77 0.00 1.77 0.00 0.00 19.99 0.00 04:41:49 04:35:01 57.72 11.63 46.09 0.00 5177.80 8535.78 0.00 04:41:49 04:36:01 4.25 0.02 4.23 0.00 0.13 100.65 0.00 04:41:49 04:37:01 1.33 0.00 1.33 0.00 0.00 14.53 0.00 04:41:49 04:38:01 1.57 0.00 1.57 0.00 0.00 17.73 0.00 04:41:49 04:39:01 1.42 0.00 1.42 0.00 0.00 16.80 0.00 04:41:49 04:40:01 1.78 0.00 1.78 0.00 0.00 18.93 0.00 04:41:49 04:41:01 31.08 0.25 30.83 0.00 12.66 25240.86 0.00 04:41:49 Average: 52.98 5.20 47.79 0.00 891.07 29615.91 0.00 04:41:49 04:41:49 04:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 04:41:49 04:30:02 29305640 31615488 713760 2.17 73952 2510548 1859628 5.48 973708 2256820 164 04:41:49 04:31:01 27511836 30898844 1406312 4.28 152932 3394448 2363748 6.97 1846984 3033456 198548 04:41:49 04:32:01 27629024 31562796 736948 2.24 165372 3895848 1857388 5.47 1266992 3462832 132996 04:41:49 04:33:01 27639936 31573972 730572 2.22 165548 3895860 1788052 5.27 1270412 3450228 16 04:41:49 04:34:01 27643264 31577544 726636 2.21 165608 3895864 1788052 5.27 1266916 3450232 32 04:41:49 04:35:01 27167644 31558896 715548 2.18 194692 4320952 1712172 5.05 1573668 3583932 36 04:41:49 04:36:01 27179424 31565740 708844 2.16 193248 4317708 1714892 5.05 1565844 3580736 168 04:41:49 04:37:01 27181236 31567596 706800 2.15 193312 4317700 1714892 5.05 1563488 3580736 12 04:41:49 04:38:01 27181684 31568284 706044 2.15 193372 4317840 1714892 5.05 1562868 3580860 172 04:41:49 04:39:01 27182048 31568780 705424 2.15 193440 4317844 1714892 5.05 1563024 3580880 44 04:41:49 04:40:01 27182160 31568944 705268 2.14 193500 4317844 1714892 5.05 1562868 3580884 8 04:41:49 04:41:01 25966312 31452116 815484 2.48 209912 5308488 1839952 5.42 1793324 4464584 302604 04:41:49 Average: 27397517 31506583 781470 2.38 174574 4067579 1815288 5.35 1484175 3467182 52900 04:41:49 04:41:49 04:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 04:41:49 04:30:02 ens3 584.76 362.50 5754.86 84.99 0.00 0.00 0.00 0.00 04:41:49 04:30:02 lo 6.80 6.80 0.66 0.66 0.00 0.00 0.00 0.00 04:41:49 04:30:02 docker0 14.68 16.41 1.21 129.43 0.00 0.00 0.00 0.00 04:41:49 04:31:01 ens3 362.41 250.91 2487.85 35.69 0.00 0.00 0.00 0.00 04:41:49 04:31:01 veth73331ba 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 04:41:49 04:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:31:01 docker0 231.30 332.67 19.33 2457.56 0.00 0.00 0.00 0.00 04:41:49 04:32:01 ens3 170.82 135.74 2621.37 323.80 0.00 0.00 0.00 0.00 04:41:49 04:32:01 lo 7.67 7.67 0.76 0.76 0.00 0.00 0.00 0.00 04:41:49 04:32:01 docker0 2.73 6.18 0.17 61.77 0.00 0.00 0.00 0.00 04:41:49 04:33:01 ens3 9.67 6.18 10.79 3.07 0.00 0.00 0.00 0.00 04:41:49 04:33:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 04:41:49 04:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:34:01 ens3 0.57 0.33 0.27 0.20 0.00 0.00 0.00 0.00 04:41:49 04:34:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:41:49 04:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:35:01 ens3 191.85 107.53 2729.71 7.53 0.00 0.00 0.00 0.00 04:41:49 04:35:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 04:41:49 04:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:36:01 ens3 0.27 0.18 0.02 0.01 0.00 0.00 0.00 0.00 04:41:49 04:36:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:41:49 04:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:37:01 ens3 0.12 0.00 0.01 0.00 0.00 0.00 0.00 0.00 04:41:49 04:37:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:38:01 ens3 1.08 0.12 0.10 0.01 0.00 0.00 0.00 0.00 04:41:49 04:38:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:41:49 04:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:39:01 ens3 2.20 0.88 0.92 0.61 0.00 0.00 0.00 0.00 04:41:49 04:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:40:01 ens3 0.40 0.23 0.15 0.08 0.00 0.00 0.00 0.00 04:41:49 04:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 04:41:49 04:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 04:41:49 04:41:01 ens3 237.89 143.41 5000.07 18.07 0.00 0.00 0.00 0.00 04:41:49 04:41:01 vethcc7f5fa 69.92 107.70 6.45 1026.08 0.00 0.00 0.00 0.08 04:41:49 04:41:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 04:41:49 04:41:01 docker0 69.92 107.60 5.49 1026.07 0.00 0.00 0.00 0.00 04:41:49 Average: ens3 129.85 83.77 1549.18 39.51 0.00 0.00 0.00 0.00 04:41:49 Average: vethcc7f5fa 5.83 8.99 0.54 85.62 0.00 0.00 0.00 0.01 04:41:49 Average: lo 1.42 1.42 0.14 0.14 0.00 0.00 0.00 0.00 04:41:49 Average: docker0 26.27 38.16 2.16 303.23 0.00 0.00 0.00 0.00 04:41:49 04:41:49 04:41:49 ---> sar -P ALL: 04:41:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-7670) 09/23/23 _x86_64_ (8 CPU) 04:41:49 04:41:49 04:28:58 LINUX RESTART (8 CPU) 04:41:49 04:41:49 04:29:01 CPU %user %nice %system %iowait %steal %idle 04:41:49 04:30:02 all 8.40 0.00 3.21 2.47 0.06 85.86 04:41:49 04:30:02 0 7.25 0.00 3.09 1.19 0.07 88.40 04:41:49 04:30:02 1 8.00 0.00 4.11 9.69 0.05 78.15 04:41:49 04:30:02 2 12.05 0.00 2.38 2.05 0.05 83.46 04:41:49 04:30:02 3 7.66 0.00 2.96 1.44 0.07 87.88 04:41:49 04:30:02 4 7.89 0.00 3.18 2.17 0.05 86.71 04:41:49 04:30:02 5 8.49 0.00 2.71 0.67 0.07 88.07 04:41:49 04:30:02 6 8.14 0.00 4.67 1.53 0.05 85.61 04:41:49 04:30:02 7 7.71 0.00 2.58 1.06 0.07 88.59 04:41:49 04:31:01 all 25.49 0.00 4.48 4.43 0.07 65.53 04:41:49 04:31:01 0 26.73 0.00 4.16 1.58 0.07 67.46 04:41:49 04:31:01 1 25.10 0.00 5.10 17.98 0.07 51.75 04:41:49 04:31:01 2 24.84 0.00 4.46 2.34 0.07 68.29 04:41:49 04:31:01 3 25.61 0.00 4.35 3.77 0.09 66.18 04:41:49 04:31:01 4 25.81 0.00 4.76 0.48 0.07 68.88 04:41:49 04:31:01 5 25.37 0.00 4.03 2.11 0.07 68.42 04:41:49 04:31:01 6 25.83 0.00 4.64 0.51 0.07 68.95 04:41:49 04:31:01 7 24.61 0.00 4.31 6.70 0.07 64.31 04:41:49 04:32:01 all 22.30 0.00 4.09 2.59 0.07 70.94 04:41:49 04:32:01 0 21.06 0.00 4.27 4.76 0.05 69.86 04:41:49 04:32:01 1 23.56 0.00 4.26 0.07 0.07 72.05 04:41:49 04:32:01 2 22.68 0.00 3.89 2.68 0.05 70.70 04:41:49 04:32:01 3 22.80 0.00 3.75 0.15 0.07 73.22 04:41:49 04:32:01 4 21.62 0.00 3.54 0.05 0.08 74.70 04:41:49 04:32:01 5 22.93 0.00 4.07 0.40 0.07 72.52 04:41:49 04:32:01 6 21.84 0.00 4.16 12.28 0.10 61.62 04:41:49 04:32:01 7 21.92 0.00 4.83 0.34 0.07 72.84 04:41:49 04:33:01 all 0.32 0.00 0.14 0.24 0.01 99.29 04:41:49 04:33:01 0 0.13 0.00 0.08 0.00 0.02 99.77 04:41:49 04:33:01 1 1.08 0.00 0.20 0.02 0.02 98.69 04:41:49 04:33:01 2 0.25 0.00 0.17 0.77 0.03 98.78 04:41:49 04:33:01 3 0.30 0.00 0.13 0.02 0.00 99.55 04:41:49 04:33:01 4 0.17 0.00 0.10 0.02 0.02 99.70 04:41:49 04:33:01 5 0.17 0.00 0.08 0.00 0.00 99.75 04:41:49 04:33:01 6 0.30 0.00 0.22 1.14 0.02 98.33 04:41:49 04:33:01 7 0.13 0.00 0.12 0.00 0.00 99.75 04:41:49 04:34:01 all 0.03 0.00 0.02 0.00 0.00 99.94 04:41:49 04:34:01 0 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:34:01 1 0.02 0.00 0.00 0.00 0.00 99.98 04:41:49 04:34:01 2 0.07 0.00 0.03 0.00 0.02 99.88 04:41:49 04:34:01 3 0.08 0.00 0.03 0.00 0.00 99.88 04:41:49 04:34:01 4 0.05 0.00 0.03 0.00 0.00 99.92 04:41:49 04:34:01 5 0.02 0.00 0.00 0.00 0.00 99.98 04:41:49 04:34:01 6 0.02 0.00 0.02 0.03 0.00 99.93 04:41:49 04:34:01 7 0.00 0.00 0.00 0.00 0.02 99.98 04:41:49 04:35:01 all 2.53 0.00 1.44 0.78 0.03 95.23 04:41:49 04:35:01 0 2.07 0.00 1.28 0.40 0.02 96.23 04:41:49 04:35:01 1 3.98 0.00 1.36 0.05 0.05 94.56 04:41:49 04:35:01 2 2.27 0.00 1.10 0.53 0.02 96.08 04:41:49 04:35:01 3 3.21 0.00 1.24 0.32 0.03 95.20 04:41:49 04:35:01 4 2.17 0.00 2.25 0.12 0.02 95.44 04:41:49 04:35:01 5 2.06 0.00 1.86 0.47 0.03 95.57 04:41:49 04:35:01 6 1.55 0.00 1.17 3.71 0.02 93.56 04:41:49 04:35:01 7 2.92 0.00 1.24 0.62 0.02 95.20 04:41:49 04:36:01 all 0.09 0.00 0.05 0.03 0.01 99.83 04:41:49 04:36:01 0 0.08 0.00 0.03 0.00 0.00 99.88 04:41:49 04:36:01 1 0.15 0.00 0.05 0.00 0.02 99.78 04:41:49 04:36:01 2 0.08 0.00 0.05 0.00 0.03 99.83 04:41:49 04:36:01 3 0.07 0.00 0.03 0.00 0.00 99.90 04:41:49 04:36:01 4 0.05 0.00 0.03 0.02 0.00 99.90 04:41:49 04:36:01 5 0.03 0.00 0.07 0.08 0.00 99.82 04:41:49 04:36:01 6 0.02 0.00 0.02 0.10 0.00 99.87 04:41:49 04:36:01 7 0.22 0.00 0.13 0.00 0.02 99.63 04:41:49 04:37:01 all 0.01 0.00 0.01 0.00 0.01 99.96 04:41:49 04:37:01 0 0.00 0.00 0.00 0.00 0.00 100.00 04:41:49 04:37:01 1 0.02 0.00 0.02 0.00 0.02 99.95 04:41:49 04:37:01 2 0.03 0.00 0.02 0.00 0.02 99.93 04:41:49 04:37:01 3 0.00 0.00 0.02 0.00 0.02 99.97 04:41:49 04:37:01 4 0.03 0.00 0.00 0.00 0.02 99.95 04:41:49 04:37:01 5 0.00 0.00 0.00 0.00 0.02 99.98 04:41:49 04:37:01 6 0.02 0.00 0.02 0.03 0.00 99.93 04:41:49 04:37:01 7 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:38:01 all 0.07 0.00 0.01 0.01 0.00 99.90 04:41:49 04:38:01 0 0.02 0.00 0.00 0.00 0.02 99.97 04:41:49 04:38:01 1 0.43 0.00 0.02 0.00 0.00 99.55 04:41:49 04:38:01 2 0.03 0.00 0.03 0.00 0.02 99.92 04:41:49 04:38:01 3 0.03 0.00 0.00 0.00 0.00 99.97 04:41:49 04:38:01 4 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:38:01 5 0.00 0.00 0.02 0.02 0.00 99.97 04:41:49 04:38:01 6 0.02 0.00 0.02 0.08 0.00 99.88 04:41:49 04:38:01 7 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:39:01 all 0.14 0.00 0.02 0.00 0.00 99.84 04:41:49 04:39:01 0 0.00 0.00 0.00 0.00 0.00 100.00 04:41:49 04:39:01 1 0.88 0.00 0.05 0.00 0.00 99.07 04:41:49 04:39:01 2 0.07 0.00 0.03 0.00 0.02 99.88 04:41:49 04:39:01 3 0.03 0.00 0.03 0.00 0.00 99.93 04:41:49 04:39:01 4 0.02 0.00 0.00 0.00 0.00 99.98 04:41:49 04:39:01 5 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:39:01 6 0.08 0.00 0.00 0.03 0.00 99.88 04:41:49 04:39:01 7 0.00 0.00 0.02 0.00 0.00 99.98 04:41:49 04:40:01 all 0.07 0.00 0.01 0.01 0.01 99.90 04:41:49 04:40:01 0 0.02 0.00 0.00 0.00 0.00 99.98 04:41:49 04:40:01 1 0.43 0.00 0.00 0.00 0.02 99.55 04:41:49 04:40:01 2 0.03 0.00 0.02 0.00 0.02 99.93 04:41:49 04:40:01 3 0.02 0.00 0.00 0.00 0.00 99.98 04:41:49 04:40:01 4 0.02 0.00 0.02 0.00 0.02 99.95 04:41:49 04:40:01 5 0.00 0.00 0.03 0.02 0.02 99.93 04:41:49 04:40:01 6 0.02 0.00 0.00 0.03 0.02 99.93 04:41:49 04:40:01 7 0.02 0.00 0.00 0.00 0.02 99.97 04:41:49 04:41:49 04:40:01 CPU %user %nice %system %iowait %steal %idle 04:41:49 04:41:01 all 4.37 0.00 1.69 0.62 0.02 93.29 04:41:49 04:41:01 0 3.43 0.00 1.02 0.02 0.02 95.52 04:41:49 04:41:01 1 5.99 0.00 1.58 0.30 0.02 92.10 04:41:49 04:41:01 2 4.02 0.00 1.73 0.07 0.03 94.15 04:41:49 04:41:01 3 4.10 0.00 2.00 0.05 0.02 93.84 04:41:49 04:41:01 4 5.28 0.00 2.38 0.05 0.02 92.27 04:41:49 04:41:01 5 3.20 0.00 1.83 3.84 0.02 91.12 04:41:49 04:41:01 6 4.32 0.00 1.76 0.64 0.02 93.27 04:41:49 04:41:01 7 4.63 0.00 1.23 0.02 0.03 94.09 04:41:49 Average: all 5.25 0.00 1.25 0.92 0.02 92.55 04:41:49 Average: 0 4.99 0.00 1.15 0.66 0.02 93.18 04:41:49 Average: 1 5.74 0.00 1.38 2.30 0.03 90.55 04:41:49 Average: 2 5.48 0.00 1.15 0.70 0.03 92.64 04:41:49 Average: 3 5.26 0.00 1.20 0.47 0.02 93.05 04:41:49 Average: 4 5.20 0.00 1.35 0.24 0.02 93.19 04:41:49 Average: 5 5.13 0.00 1.22 0.63 0.02 93.00 04:41:49 Average: 6 5.11 0.00 1.38 1.66 0.02 91.83 04:41:49 Average: 7 5.09 0.00 1.19 0.71 0.03 92.98 04:41:49 04:41:49 04:41:49