Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c52867c974148776ead9b5ce3090ce3cf294dda 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-ssh7749669482984650038.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6741860174307614671.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/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-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14169174568230178073.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh3653571578034685063.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-sdk-go/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-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh358731194966642613.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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-7885 in /w/workspace/edgexfoundry_device-sdk-go_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-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 6c52867c974148776ead9b5ce3090ce3cf294dda (main) Commit message: "Merge pull request #1335 from weichou1229/issue-1334" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.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 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 > git rev-list --no-walk b46b419fd49731d0deb4deed8e6127ef6a42900c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:15:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:15:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:15:04 ========================================================= 04:15:04 EdgeX Global Pipelines Version Info 04:15:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:15:05 ------------------- 04:15:05 stable info: 04:15:05 ------------------- 04:15:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:15:05 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:15:05 Message: update stable to v1.0.244 04:15:06 ------------------- 04:15:06 experimental info: 04:15:06 ------------------- 04:15:06 Commited By: **** collab-it+edgex@linuxfoundation.org 04:15:06 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:15:06 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c52867 [Pipeline] echo 04:15:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:06 provisioning config files... 04:15:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14980813862725116292tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:06 ---> docker-login.sh 04:15:06 nexus3.edgexfoundry.org:10001 04:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:07 Configure a credential helper to remove this warning. See 04:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:07 04:15:07 Login Succeeded 04:15:07 nexus3.edgexfoundry.org:10002 04:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:07 Configure a credential helper to remove this warning. See 04:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:07 04:15:07 Login Succeeded 04:15:07 nexus3.edgexfoundry.org:10003 04:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:07 Configure a credential helper to remove this warning. See 04:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:07 04:15:07 Login Succeeded 04:15:07 nexus3.edgexfoundry.org:10004 04:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:07 Configure a credential helper to remove this warning. See 04:15:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:07 04:15:07 Login Succeeded 04:15:07 docker.io 04:15:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:08 Configure a credential helper to remove this warning. See 04:15:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:08 04:15:08 Login Succeeded 04:15:08 ---> docker-login.sh ends [Pipeline] } 04:15:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:15:08 + git rev-list -1 --merges 6c52867c974148776ead9b5ce3090ce3cf294dda~1..6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] echo 04:15:08 -----------> git rev-list -1 --merges 6c52867c974148776ead9b5ce3090ce3cf294dda~1..6c52867c974148776ead9b5ce3090ce3cf294dda 6c52867c974148776ead9b5ce3090ce3cf294dda 04:15:08 6c52867c974148776ead9b5ce3090ce3cf294dda [false] [Pipeline] sh 04:15:08 + git log --format=format:%s -1 6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] echo 04:15:08 ========================================================= 04:15:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:15:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:09 + git log --format=format:%s -1 6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] echo 04:15:09 [semverPrep] GIT_COMMIT: 6c52867c974148776ead9b5ce3090ce3cf294dda, Commit Message: Merge pull request #1335 from weichou1229/issue-1334 [Pipeline] echo 04:15:09 [semverPrep] This is not a build commit. [Pipeline] sh 04:15:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:15:09 + grep -v github /etc/ssh/ssh_known_hosts 04:15:09 + [ -e /tmp/ssh_known_hosts ] 04:15:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:15:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:15:09 + sudo tee -a /etc/ssh/ssh_known_hosts 04:15:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:10 04:15:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:10 0.1.4: Pulling from edgex-devops/py-git-semver 04:15:10 b85a868b505f: Pulling fs layer 04:15:10 e2be974225ed: Pulling fs layer 04:15:10 339a4e72a1f5: Pulling fs layer 04:15:10 988bab9f4d93: Pulling fs layer 04:15:10 1469e6f7b9e6: Pulling fs layer 04:15:10 eaf3925da568: Pulling fs layer 04:15:10 bab4dde63d76: Pulling fs layer 04:15:10 bde34c3a00c8: Pulling fs layer 04:15:10 b352a97aabf1: Pulling fs layer 04:15:10 4872d77fe225: Pulling fs layer 04:15:10 5851b861e8e6: Pulling fs layer 04:15:10 bab4dde63d76: Waiting 04:15:10 bde34c3a00c8: Waiting 04:15:10 b352a97aabf1: Waiting 04:15:10 988bab9f4d93: Waiting 04:15:10 4872d77fe225: Waiting 04:15:10 5851b861e8e6: Waiting 04:15:10 1469e6f7b9e6: Waiting 04:15:10 eaf3925da568: Waiting 04:15:10 e2be974225ed: Verifying Checksum 04:15:10 e2be974225ed: Download complete 04:15:10 988bab9f4d93: Verifying Checksum 04:15:10 988bab9f4d93: Download complete 04:15:10 1469e6f7b9e6: Verifying Checksum 04:15:10 1469e6f7b9e6: Download complete 04:15:10 eaf3925da568: Verifying Checksum 04:15:10 eaf3925da568: Download complete 04:15:10 339a4e72a1f5: Download complete 04:15:10 bde34c3a00c8: Verifying Checksum 04:15:10 bde34c3a00c8: Download complete 04:15:10 b352a97aabf1: Verifying Checksum 04:15:10 b352a97aabf1: Download complete 04:15:10 4872d77fe225: Download complete 04:15:10 5851b861e8e6: Verifying Checksum 04:15:10 5851b861e8e6: Download complete 04:15:10 b85a868b505f: Verifying Checksum 04:15:10 b85a868b505f: Download complete 04:15:11 bab4dde63d76: Verifying Checksum 04:15:11 bab4dde63d76: Download complete 04:15:12 b85a868b505f: Pull complete 04:15:12 e2be974225ed: Pull complete 04:15:12 339a4e72a1f5: Pull complete 04:15:12 988bab9f4d93: Pull complete 04:15:12 1469e6f7b9e6: Pull complete 04:15:12 eaf3925da568: Pull complete 04:15:14 bab4dde63d76: Pull complete 04:15:14 bde34c3a00c8: Pull complete 04:15:14 b352a97aabf1: Pull complete 04:15:14 4872d77fe225: Pull complete 04:15:15 5851b861e8e6: Pull complete 04:15:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:15:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:15:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:15:15 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:15:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:15:16 $ docker top 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 -eo pid,comm 04:15:16 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:15:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:15:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:16 [ssh-agent] Looking for ssh-agent implementation... 04:15:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:16 $ docker exec 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 ssh-agent 04:15:16 SSH_AUTH_SOCK=/tmp/ssh-OIH4veRdwdHB/agent.33 04:15:16 SSH_AGENT_PID=39 04:15:16 Running ssh-add (command line suppressed) 04:15:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18182591846823758618.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18182591846823758618.key) 04:15:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:17 + git tag --points-at HEAD [Pipeline] } 04:15:17 $ docker exec --env ******** --env ******** 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 ssh-agent -k 04:15:17 unset SSH_AUTH_SOCK; 04:15:17 unset SSH_AGENT_PID; 04:15:17 echo Agent pid 39 killed; 04:15:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:15:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:15:17 [ssh-agent] Looking for ssh-agent implementation... 04:15:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:15:17 $ docker exec 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 ssh-agent 04:15:17 SSH_AUTH_SOCK=/tmp/ssh-0XW3dgaCjoXw/agent.72 04:15:17 SSH_AGENT_PID=78 04:15:17 Running ssh-add (command line suppressed) 04:15:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11457812080201373458.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11457812080201373458.key) 04:15:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:15:17 + git semver init 04:15:18 2023-03-01 04:15:18,136 [run_init] DEBUG init version:0.0.0 force:False 04:15:18 2023-03-01 04:15:18,137 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:15:18 2023-03-01 04:15:18,138 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:15:18 2023-03-01 04:15:18,138 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:15:19 2023-03-01 04:15:19,071 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:15:19 2023-03-01 04:15:19,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:15:19 2023-03-01 04:15:19,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:19 2023-03-01 04:15:19,072 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:15:19 3.0.0-dev.41 [Pipeline] } 04:15:19 $ docker exec --env ******** --env ******** 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 ssh-agent -k 04:15:19 unset SSH_AUTH_SOCK; 04:15:19 unset SSH_AGENT_PID; 04:15:19 echo Agent pid 78 killed; 04:15:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:15:19 + git semver [Pipeline] } 04:15:19 $ docker stop --time=1 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 04:15:21 $ docker rm -f --volumes 863d3a784d4843f8b79f6106e8fe40a6dc60cd6819df3bab623ba825f5ab8a81 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:15:21 Stashed 1 file(s) [Pipeline] echo 04:15:21 [edgeXSemver]: initialized semver on version 3.0.0-dev.41 [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:15:21 provisioning config files... 04:15:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3698586676304573881tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:22 ---> docker-login.sh 04:15:22 nexus3.edgexfoundry.org:10001 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:22 Configure a credential helper to remove this warning. See 04:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:22 04:15:22 Login Succeeded 04:15:22 nexus3.edgexfoundry.org:10002 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:22 Configure a credential helper to remove this warning. See 04:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:22 04:15:22 Login Succeeded 04:15:22 nexus3.edgexfoundry.org:10003 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:22 Configure a credential helper to remove this warning. See 04:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:22 04:15:22 Login Succeeded 04:15:22 nexus3.edgexfoundry.org:10004 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:22 Configure a credential helper to remove this warning. See 04:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:22 04:15:22 Login Succeeded 04:15:22 docker.io 04:15:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:22 Configure a credential helper to remove this warning. See 04:15:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:22 04:15:22 Login Succeeded 04:15:22 ---> docker-login.sh ends [Pipeline] } 04:15:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:22 ========================================================= 04:15:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:15:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:23 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:15:23 Sending build context to Docker daemon 10.58MB 04:15:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:15:23 Step 2/10 : FROM ${BASE} AS builder 04:15:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:15:23 213ec9aee27d: Pulling fs layer 04:15:23 4583459ba037: Pulling fs layer 04:15:23 93c1e223e6f2: Pulling fs layer 04:15:23 53926ce57604: Pulling fs layer 04:15:23 21b2b0c7a3f4: Pulling fs layer 04:15:23 22ff95d597cd: Pulling fs layer 04:15:23 12d6caf4c0d1: Pulling fs layer 04:15:23 96b7cbca73a9: Pulling fs layer 04:15:23 a7acece74701: Pulling fs layer 04:15:23 21b2b0c7a3f4: Waiting 04:15:23 22ff95d597cd: Waiting 04:15:23 12d6caf4c0d1: Waiting 04:15:23 53926ce57604: Waiting 04:15:23 96b7cbca73a9: Waiting 04:15:23 a7acece74701: Waiting 04:15:23 93c1e223e6f2: Verifying Checksum 04:15:23 93c1e223e6f2: Download complete 04:15:23 4583459ba037: Verifying Checksum 04:15:23 4583459ba037: Download complete 04:15:23 21b2b0c7a3f4: Verifying Checksum 04:15:23 21b2b0c7a3f4: Download complete 04:15:23 22ff95d597cd: Download complete 04:15:23 213ec9aee27d: Verifying Checksum 04:15:23 213ec9aee27d: Download complete 04:15:23 12d6caf4c0d1: Download complete 04:15:23 213ec9aee27d: Pull complete 04:15:23 4583459ba037: Pull complete 04:15:23 93c1e223e6f2: Pull complete 04:15:23 a7acece74701: Verifying Checksum 04:15:23 a7acece74701: Download complete 04:15:24 96b7cbca73a9: Verifying Checksum 04:15:24 96b7cbca73a9: Download complete 04:15:24 53926ce57604: Verifying Checksum 04:15:24 53926ce57604: Download complete 04:15:28 53926ce57604: Pull complete 04:15:28 21b2b0c7a3f4: Pull complete 04:15:28 22ff95d597cd: Pull complete 04:15:28 12d6caf4c0d1: Pull complete 04:15:30 96b7cbca73a9: Pull complete 04:15:30 a7acece74701: Pull complete 04:15:30 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:15:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:15:30 ---> db6d94c90886 04:15:30 Step 3/10 : ARG MAKE=make build 04:15:32 ---> Running in dd1c847bd54f 04:15:32 Removing intermediate container dd1c847bd54f 04:15:32 ---> fc3f9be1ca37 04:15:32 Step 4/10 : WORKDIR /device-sdk-go 04:15:32 ---> Running in 129fc5f3fa91 04:15:32 Removing intermediate container 129fc5f3fa91 04:15:32 ---> 2883efb75d54 04:15:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:15:32 ---> Running in 49073e18b490 04:15:32 Removing intermediate container 49073e18b490 04:15:32 ---> a1f202c063de 04:15:32 Step 6/10 : RUN apk add --update --no-cache make git 04:15:32 ---> Running in de7b329c145f 04:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:15:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:15:33 OK: 211 MiB in 51 packages 04:15:33 Removing intermediate container de7b329c145f 04:15:33 ---> c840c3346352 04:15:33 Step 7/10 : COPY go.mod vendor* ./ 04:15:33 ---> 64efd1a2f2f2 04:15:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:33 ---> Running in 75f907c3a4a1 04:15:36 Still waiting to schedule task 04:15:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:16:05 Removing intermediate container 75f907c3a4a1 04:16:05 ---> ff78e3506b1b 04:16:05 Step 9/10 : COPY . . 04:16:05 ---> adcc322f120d 04:16:05 Step 10/10 : RUN ${MAKE} 04:16:05 ---> Running in ed0cb0441564 04:16:05 noop 04:16:05 Removing intermediate container ed0cb0441564 04:16:05 ---> 28ffe8f0251e 04:16:05 Successfully built 28ffe8f0251e 04:16:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:05 + docker inspect -f . ci-base-image-x86_64 04:16:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:05 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:16:06 $ docker top 4c6e96fc43424509d4e7cba901d80fe5425e5c9716d9497eaeb1e8b0de355e76 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:06 + go version 04:16:06 go version go1.18.7 linux/amd64 [Pipeline] } 04:16:06 $ docker stop --time=1 4c6e96fc43424509d4e7cba901d80fe5425e5c9716d9497eaeb1e8b0de355e76 04:16:07 $ docker rm -f --volumes 4c6e96fc43424509d4e7cba901d80fe5425e5c9716d9497eaeb1e8b0de355e76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:08 + docker inspect -f . ci-base-image-x86_64 04:16:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:08 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:16:08 $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:16:08 $ docker top 22d58be60d8c6530b79f646ad9f62b23cb0c3d6ee5cf0590bbc8fe9426d2f292 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:16:09 + make test 04:16:09 go test -race -coverprofile=coverage.out ./... 04:16:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 78.9% of statements 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.100s coverage: 75.0% of statements 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:16:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 15.3% of statements 04:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:16:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.093s coverage: 65.2% of statements 04:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:16:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.742s coverage: 89.2% of statements 04:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:16:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.6% of statements 04:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:16:47 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:16:47 GO111MODULE=on go vet ./... 04:16:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:16:50 ./bin/test-attribution-txt.sh [Pipeline] echo 04:16:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:50 $ docker stop --time=1 22d58be60d8c6530b79f646ad9f62b23cb0c3d6ee5cf0590bbc8fe9426d2f292 04:16:52 $ docker rm -f --volumes 22d58be60d8c6530b79f646ad9f62b23cb0c3d6ee5cf0590bbc8fe9426d2f292 [Pipeline] // withDockerContainer [Pipeline] sh 04:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:16:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:53 + ls -al . 04:16:53 total 280 04:16:53 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 04:16 . 04:16:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 04:15 .. 04:16:53 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 04:15 .dockerignore 04:16:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 04:16 .git 04:16:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 04:15 .github 04:16:53 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 04:15 .gitignore 04:16:53 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 04:15 .golangci.yml 04:16:53 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 04:15 .semver 04:16:53 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 04:15 CHANGELOG.md 04:16:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 04:15 GOVERNANCE.md 04:16:53 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 04:15 Jenkinsfile 04:16:53 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 04:15 LICENSE 04:16:53 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 04:15 Makefile 04:16:53 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 04:15 OWNERS.md 04:16:53 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 04:15 README.md 04:16:53 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 04:15 VERSION 04:16:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 04:15 bin 04:16:53 -rw-r--r-- 1 jenkins jenkins 111244 Mar 1 04:16 coverage.out 04:16:53 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 04:15 example 04:16:53 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 04:15 go.mod 04:16:53 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 04:15 go.sum 04:16:53 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 04:15 internal 04:16:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 04:15 openapi 04:16:53 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 04:15 pkg 04:16:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 04:15 snap 04:16:53 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 04:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:53 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=6c52867c974148776ead9b5ce3090ce3cf294dda --label arch=amd64 --label version=3.0.0-dev.41 . 04:16:53 Sending build context to Docker daemon 10.69MB 04:16:53 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:16:53 Step 2/23 : FROM ${BASE} AS builder 04:16:53 ---> 28ffe8f0251e 04:16:53 Step 3/23 : ARG MAKE=make build 04:16:53 ---> Running in 5be42ceb7cae 04:16:53 Removing intermediate container 5be42ceb7cae 04:16:53 ---> 340f153754ca 04:16:53 Step 4/23 : WORKDIR /device-sdk-go 04:16:54 ---> Running in 81e971e19468 04:16:54 Removing intermediate container 81e971e19468 04:16:54 ---> 9c9034b46500 04:16:54 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:16:54 ---> Running in d26e001ad9e8 04:16:54 Removing intermediate container d26e001ad9e8 04:16:54 ---> dfab813d31b9 04:16:54 Step 6/23 : RUN apk add --update --no-cache make git 04:16:54 ---> Running in 84b08625c4a9 04:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:16:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:16:54 OK: 211 MiB in 51 packages 04:16:55 Removing intermediate container 84b08625c4a9 04:16:55 ---> ecd81469b30d 04:16:55 Step 7/23 : COPY go.mod vendor* ./ 04:16:55 ---> 22d1f9b7654d 04:16:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:55 ---> Running in 11a28dde2c31 04:16:56 Removing intermediate container 11a28dde2c31 04:16:56 ---> 13602f75d1e4 04:16:56 Step 9/23 : COPY . . 04:16:56 ---> d4180db73131 04:16:56 Step 10/23 : RUN ${MAKE} 04:16:56 ---> Running in 8ae6a4c62e7a 04:16:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:14 Removing intermediate container 8ae6a4c62e7a 04:17:14 ---> 84d65e7a88ec 04:17:14 Step 11/23 : FROM alpine:3.16 04:17:14 3.16: Pulling from library/alpine 04:17:14 ef5531b6e74e: Pulling fs layer 04:17:14 ef5531b6e74e: Verifying Checksum 04:17:14 ef5531b6e74e: Download complete 04:17:14 ef5531b6e74e: Pull complete 04:17:14 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:17:14 Status: Downloaded newer image for alpine:3.16 04:17:14 ---> dfd21b5a31f5 04:17:14 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:14 ---> Running in 922102fda4a8 04:17:14 Removing intermediate container 922102fda4a8 04:17:14 ---> bfb176114715 04:17:14 Step 13/23 : RUN apk add --update --no-cache 04:17:14 ---> Running in 151da3bd38dd 04:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:17:14 OK: 6 MiB in 14 packages 04:17:14 Removing intermediate container 151da3bd38dd 04:17:14 ---> 9018e0f81c0b 04:17:14 Step 14/23 : WORKDIR / 04:17:14 ---> Running in da4de8201915 04:17:14 Removing intermediate container da4de8201915 04:17:14 ---> 7440b6e1afa2 04:17:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:14 ---> 26baf22bbf89 04:17:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:15 ---> 70959c052a2b 04:17:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:15 ---> 7fce512e886c 04:17:15 Step 18/23 : EXPOSE 59999 04:17:15 ---> Running in 0da7cbfdbc12 04:17:15 Removing intermediate container 0da7cbfdbc12 04:17:15 ---> a39fdaacc541 04:17:15 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:17:15 ---> Running in 590f7bc395a8 04:17:15 Removing intermediate container 590f7bc395a8 04:17:15 ---> 01f969858b21 04:17:15 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:17:15 ---> Running in c48586fb22ae 04:17:15 Removing intermediate container c48586fb22ae 04:17:15 ---> 94a676fd4080 04:17:15 Step 21/23 : LABEL arch=amd64 04:17:15 ---> Running in 0a071312e11f 04:17:15 Removing intermediate container 0a071312e11f 04:17:15 ---> 8031786fd346 04:17:15 Step 22/23 : LABEL git_sha=6c52867c974148776ead9b5ce3090ce3cf294dda 04:17:15 ---> Running in 64ad4309e8d3 04:17:15 Removing intermediate container 64ad4309e8d3 04:17:15 ---> d0b9510dc700 04:17:15 Step 23/23 : LABEL version=3.0.0-dev.41 04:17:15 ---> Running in 85fd207c72ea 04:17:15 Removing intermediate container 85fd207c72ea 04:17:15 ---> ea9b548072e1 04:17:15 [Warning] One or more build-args [ARCH] were not consumed 04:17:15 Successfully built ea9b548072e1 04:17:15 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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:17:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:16 04:17:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:16 latest: Pulling from edgex-lftools-log-publisher 04:17:16 5eb5b503b376: Pulling fs layer 04:17:16 5c69ac0246d0: Pulling fs layer 04:17:16 ec43610c2a17: Pulling fs layer 04:17:16 3a2ae6a8a46f: Pulling fs layer 04:17:16 33b1e0a273af: Pulling fs layer 04:17:16 3a2ae6a8a46f: Waiting 04:17:16 5d3b04190fa2: Pulling fs layer 04:17:16 2f39f015ded8: Pulling fs layer 04:17:16 5d3b04190fa2: Waiting 04:17:16 2f39f015ded8: Waiting 04:17:16 33b1e0a273af: Waiting 04:17:16 5c69ac0246d0: Download complete 04:17:16 3a2ae6a8a46f: Verifying Checksum 04:17:16 3a2ae6a8a46f: Download complete 04:17:16 33b1e0a273af: Verifying Checksum 04:17:16 33b1e0a273af: Download complete 04:17:16 5d3b04190fa2: Download complete 04:17:16 ec43610c2a17: Verifying Checksum 04:17:16 ec43610c2a17: Download complete 04:17:16 5eb5b503b376: Verifying Checksum 04:17:16 5eb5b503b376: Download complete 04:17:17 2f39f015ded8: Download complete 04:17:17 5eb5b503b376: Pull complete 04:17:18 5c69ac0246d0: Pull complete 04:17:18 ec43610c2a17: Pull complete 04:17:18 3a2ae6a8a46f: Pull complete 04:17:18 33b1e0a273af: Pull complete 04:17:18 5d3b04190fa2: Pull complete 04:17:22 2f39f015ded8: Pull complete 04:17:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:17:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:23 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:17:23 $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:17:24 $ docker top 23cfeced30d13d7956da52c99b6fddbaa2d902c29c324a34646ee0289b05d3df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:24 ---> job-cost.sh 04:17:24 lf-activate-venv: SKIPPING 04:17:24 INFO: No Stack... 04:17:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:24 INFO: Archiving Costs [Pipeline] sh 04:17:25 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:17:25 + cut -d, -f6 [Pipeline] lock 04:17:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] 04:17:25 Resource [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] did not exist. Created. 04:17:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:25 + echo total: 0.2199999988079071 [Pipeline] stash 04:17:25 Stashed 1 file(s) [Pipeline] } 04:17:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:25 $ docker stop --time=1 23cfeced30d13d7956da52c99b6fddbaa2d902c29c324a34646ee0289b05d3df 04:17:26 $ docker rm -f --volumes 23cfeced30d13d7956da52c99b6fddbaa2d902c29c324a34646ee0289b05d3df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:17:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7886 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:17:32 Running in /w/workspace/device-sdk-go/171 [Pipeline] { [Pipeline] checkout 04:17:32 The recommended git tool is: git 04:17:40 using credential edgex-jenkins-ssh 04:17:40 Cloning the remote Git repository 04:17:40 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:17:40 > git init /w/workspace/device-sdk-go/171 # timeout=10 04:17:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:17:40 > git --version # timeout=10 04:17:40 > git --version # 'git version 2.25.1' 04:17:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:17:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:17:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:17:43 Avoid second fetch 04:17:43 Checking out Revision 6c52867c974148776ead9b5ce3090ce3cf294dda (main) 04:17:44 Commit message: "Merge pull request #1335 from weichou1229/issue-1334" 04:17:43 > git config core.sparsecheckout # timeout=10 04:17:43 > git checkout -f 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:17:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:45 Dload Upload Total Spent Left Speed 04:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 04:17:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:17:46 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:17:46 /etc/docker/daemon.new 04:17:46 { 04:17:46 "registry-mirrors": [ 04:17:46 "https://nexus3.edgexfoundry.org:10001" 04:17:46 ], 04:17:46 "bip": "10.250.0.254/24", 04:17:46 "hosts": [ 04:17:46 "tcp://0.0.0.0:5555", 04:17:46 "unix:///var/run/docker.sock" 04:17:46 ], 04:17:46 "mtu": 1458, 04:17:46 "selinux-enabled": true, 04:17:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:17:46 } [Pipeline] sh 04:17:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:17:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:05 provisioning config files... 04:18:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/171@tmp/config9682405169255198406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:05 ---> docker-login.sh 04:18:05 nexus3.edgexfoundry.org:10001 04:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:06 Configure a credential helper to remove this warning. See 04:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:06 04:18:06 Login Succeeded 04:18:06 nexus3.edgexfoundry.org:10002 04:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:06 Configure a credential helper to remove this warning. See 04:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:06 04:18:06 Login Succeeded 04:18:06 nexus3.edgexfoundry.org:10003 04:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:06 Configure a credential helper to remove this warning. See 04:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:06 04:18:06 Login Succeeded 04:18:06 nexus3.edgexfoundry.org:10004 04:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:07 Configure a credential helper to remove this warning. See 04:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:07 04:18:07 Login Succeeded 04:18:07 docker.io 04:18:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:07 Configure a credential helper to remove this warning. See 04:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:07 04:18:07 Login Succeeded 04:18:07 ---> docker-login.sh ends [Pipeline] } 04:18:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:08 ========================================================= 04:18:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:18:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:08 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:18:08 Sending build context to Docker daemon 5.683MB 04:18:08 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:18:08 Step 2/10 : FROM ${BASE} AS builder 04:18:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:18:08 9b18e9b68314: Pulling fs layer 04:18:08 35d82f9e3411: Pulling fs layer 04:18:08 e16973657156: Pulling fs layer 04:18:08 fc693d55d65f: Pulling fs layer 04:18:08 7e9fc2657dce: Pulling fs layer 04:18:08 dda99020689f: Pulling fs layer 04:18:08 db1c61fa0a46: Pulling fs layer 04:18:08 891c053d2c06: Pulling fs layer 04:18:08 7e9fc2657dce: Waiting 04:18:08 dda99020689f: Waiting 04:18:08 db1c61fa0a46: Waiting 04:18:08 891c053d2c06: Waiting 04:18:08 fc693d55d65f: Waiting 04:18:08 e16973657156: Verifying Checksum 04:18:08 e16973657156: Download complete 04:18:08 35d82f9e3411: Verifying Checksum 04:18:08 35d82f9e3411: Download complete 04:18:08 7e9fc2657dce: Download complete 04:18:09 dda99020689f: Verifying Checksum 04:18:09 dda99020689f: Download complete 04:18:09 9b18e9b68314: Verifying Checksum 04:18:09 9b18e9b68314: Download complete 04:18:10 9b18e9b68314: Pull complete 04:18:10 891c053d2c06: Verifying Checksum 04:18:10 891c053d2c06: Download complete 04:18:10 35d82f9e3411: Pull complete 04:18:10 e16973657156: Pull complete 04:18:11 db1c61fa0a46: Verifying Checksum 04:18:11 db1c61fa0a46: Download complete 04:18:11 fc693d55d65f: Download complete 04:18:24 fc693d55d65f: Pull complete 04:18:24 7e9fc2657dce: Pull complete 04:18:24 dda99020689f: Pull complete 04:18:29 db1c61fa0a46: Pull complete 04:18:31 891c053d2c06: Pull complete 04:18:31 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:18:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:18:31 ---> f96f9c87975a 04:18:31 Step 3/10 : ARG MAKE=make build 04:18:33 ---> Running in c4e63ceaf083 04:18:33 Removing intermediate container c4e63ceaf083 04:18:33 ---> 60c9c63d0994 04:18:33 Step 4/10 : WORKDIR /device-sdk-go 04:18:33 ---> Running in 4b7d7ba2b065 04:18:34 Removing intermediate container 4b7d7ba2b065 04:18:34 ---> efaed6839b30 04:18:34 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:18:34 ---> Running in e653e003debd 04:18:34 Removing intermediate container e653e003debd 04:18:34 ---> e05c089f9afa 04:18:34 Step 6/10 : RUN apk add --update --no-cache make git 04:18:34 ---> Running in 1e94a40cd27a 04:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:36 OK: 221 MiB in 51 packages 04:18:37 Removing intermediate container 1e94a40cd27a 04:18:37 ---> cf304972dabc 04:18:37 Step 7/10 : COPY go.mod vendor* ./ 04:18:38 ---> 6ff76310cd01 04:18:38 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:38 ---> Running in d92f893de50a 04:19:34 Removing intermediate container d92f893de50a 04:19:34 ---> 28b2dd7b47cd 04:19:34 Step 9/10 : COPY . . 04:19:34 ---> 3c688ce0a1aa 04:19:34 Step 10/10 : RUN ${MAKE} 04:19:34 ---> Running in fbe78ec3528d 04:19:35 noop 04:19:36 Removing intermediate container fbe78ec3528d 04:19:36 ---> 23b1b0152d93 04:19:36 Successfully built 23b1b0152d93 04:19:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:36 + docker inspect -f . ci-base-image-arm64 04:19:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:36 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 04:19:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/171 -v /w/workspace/device-sdk-go/171:/w/workspace/device-sdk-go/171:rw,z -v /w/workspace/device-sdk-go/171@tmp:/w/workspace/device-sdk-go/171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:19:37 $ docker top 98f8fcbc960444f8b7157e786d8a1e15e05a47359b7ad8738a8049ea47565624 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:38 + go version 04:19:38 go version go1.18.7 linux/arm64 [Pipeline] } 04:19:38 $ docker stop --time=1 98f8fcbc960444f8b7157e786d8a1e15e05a47359b7ad8738a8049ea47565624 04:19:40 $ docker rm -f --volumes 98f8fcbc960444f8b7157e786d8a1e15e05a47359b7ad8738a8049ea47565624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:40 + docker inspect -f . ci-base-image-arm64 04:19:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:41 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 04:19:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/171 -v /w/workspace/device-sdk-go/171:/w/workspace/device-sdk-go/171:rw,z -v /w/workspace/device-sdk-go/171@tmp:/w/workspace/device-sdk-go/171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:19:42 $ docker top f7a052f44d0feccc1f7cd18eaedc0988381e096844b987b27f81a8a5e1a8030c -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:42 + git config --global --add safe.directory /w/workspace/device-sdk-go/171 [Pipeline] fileExists [Pipeline] sh 04:19:43 + make test 04:19:43 go test -race -coverprofile=coverage.out ./... 04:20:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:21:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:21:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:21:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:21:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:21:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:21:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.251s coverage: 27.6% of statements 04:21:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.267s coverage: 78.9% of statements 04:21:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:22:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.384s coverage: 86.0% of statements 04:22:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:22:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:22:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 75.0% of statements 04:22:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:22:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.351s coverage: 15.3% of statements 04:22:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:22:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.428s coverage: 65.2% of statements 04:22:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:22:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:22:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.990s coverage: 89.2% of statements 04:22:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:22:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.299s coverage: 4.6% of statements 04:22:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:22:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:22:10 GO111MODULE=on go vet ./... 04:23:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:23:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:23:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:23:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:23:47 $ docker stop --time=1 f7a052f44d0feccc1f7cd18eaedc0988381e096844b987b27f81a8a5e1a8030c 04:23:49 $ docker rm -f --volumes f7a052f44d0feccc1f7cd18eaedc0988381e096844b987b27f81a8a5e1a8030c [Pipeline] // withDockerContainer [Pipeline] sh 04:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:50 Warning: overwriting stash ‘coverage-report’ 04:23:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:51 + ls -al . 04:23:51 total 276 04:23:51 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 04:19 . 04:23:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 04:17 .. 04:23:51 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 04:17 .dockerignore 04:23:51 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 04:17 .git 04:23:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 04:17 .github 04:23:51 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 04:17 .gitignore 04:23:51 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 04:17 .golangci.yml 04:23:51 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 04:17 CHANGELOG.md 04:23:51 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 04:17 GOVERNANCE.md 04:23:51 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 04:17 Jenkinsfile 04:23:51 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 04:17 LICENSE 04:23:51 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 04:17 Makefile 04:23:51 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 04:17 OWNERS.md 04:23:51 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 04:17 README.md 04:23:51 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 04:15 VERSION 04:23:51 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 04:17 bin 04:23:51 -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 04:22 coverage.out 04:23:51 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 04:17 example 04:23:51 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 04:17 go.mod 04:23:51 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 04:17 go.sum 04:23:51 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 04:17 internal 04:23:51 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 04:17 openapi 04:23:51 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 04:17 pkg 04:23:51 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 04:17 snap 04:23:51 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 04:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:52 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=6c52867c974148776ead9b5ce3090ce3cf294dda --label arch=arm64 --label version=3.0.0-dev.41 . 04:23:52 Sending build context to Docker daemon 5.795MB 04:23:52 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:23:52 Step 2/23 : FROM ${BASE} AS builder 04:23:52 ---> 23b1b0152d93 04:23:52 Step 3/23 : ARG MAKE=make build 04:23:52 ---> Running in 8902c43589db 04:23:52 Removing intermediate container 8902c43589db 04:23:52 ---> 8e792d437fab 04:23:52 Step 4/23 : WORKDIR /device-sdk-go 04:23:52 ---> Running in 83de4efe9504 04:23:53 Removing intermediate container 83de4efe9504 04:23:53 ---> 03e09098a78c 04:23:53 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:23:53 ---> Running in 7df21f716afe 04:23:53 Removing intermediate container 7df21f716afe 04:23:53 ---> 833ef5102ce0 04:23:53 Step 6/23 : RUN apk add --update --no-cache make git 04:23:53 ---> Running in 724c0bddacb0 04:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:23:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:23:55 OK: 221 MiB in 51 packages 04:23:56 Removing intermediate container 724c0bddacb0 04:23:56 ---> 75bfae874cc5 04:23:56 Step 7/23 : COPY go.mod vendor* ./ 04:23:57 ---> e1a51bbd8913 04:23:57 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:57 ---> Running in d54b91f07cda 04:23:59 Removing intermediate container d54b91f07cda 04:23:59 ---> c308608bff38 04:23:59 Step 9/23 : COPY . . 04:24:01 ---> 241e793b916b 04:24:01 Step 10/23 : RUN ${MAKE} 04:24:01 ---> Running in e3ce742e1c6f 04:24:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.41" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:25:53 Removing intermediate container e3ce742e1c6f 04:25:53 ---> b4ed614a5231 04:25:53 Step 11/23 : FROM alpine:3.16 04:25:53 3.16: Pulling from library/alpine 04:25:53 3760b48202b3: Pulling fs layer 04:25:53 3760b48202b3: Download complete 04:25:53 3760b48202b3: Pull complete 04:25:53 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 04:25:53 Status: Downloaded newer image for alpine:3.16 04:25:53 ---> 4c81e5bf8899 04:25:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:25:53 ---> Running in 02b002b94243 04:25:54 Removing intermediate container 02b002b94243 04:25:54 ---> 23c2de351bb2 04:25:54 Step 13/23 : RUN apk add --update --no-cache 04:25:54 ---> Running in d8d27a0c9a5c 04:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:25:56 OK: 5 MiB in 14 packages 04:25:56 Removing intermediate container d8d27a0c9a5c 04:25:56 ---> 815375b19089 04:25:56 Step 14/23 : WORKDIR / 04:25:57 ---> Running in c143ff1b0635 04:25:57 Removing intermediate container c143ff1b0635 04:25:57 ---> b3ae8b8bcfb9 04:25:57 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:25:58 ---> 24b4075a3adc 04:25:58 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:25:59 ---> c1ff02bc5c11 04:25:59 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:25:59 ---> 9618c08a235d 04:25:59 Step 18/23 : EXPOSE 59999 04:25:59 ---> Running in 380e552669c9 04:25:59 Removing intermediate container 380e552669c9 04:25:59 ---> 46865624e851 04:25:59 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:25:59 ---> Running in 44fe3afe0731 04:26:00 Removing intermediate container 44fe3afe0731 04:26:00 ---> 4d6f0eda3cd1 04:26:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:26:00 ---> Running in 82c22d0741fb 04:26:00 Removing intermediate container 82c22d0741fb 04:26:00 ---> 67b222bc7e2c 04:26:00 Step 21/23 : LABEL arch=arm64 04:26:00 ---> Running in c6c67ec142f5 04:26:01 Removing intermediate container c6c67ec142f5 04:26:01 ---> aefda9303837 04:26:01 Step 22/23 : LABEL git_sha=6c52867c974148776ead9b5ce3090ce3cf294dda 04:26:01 ---> Running in f43f0df6d2fb 04:26:01 Removing intermediate container f43f0df6d2fb 04:26:01 ---> 498f1589b9bb 04:26:01 Step 23/23 : LABEL version=3.0.0-dev.41 04:26:01 ---> Running in 1bf663503fed 04:26:01 Removing intermediate container 1bf663503fed 04:26:01 ---> 0150a88c71eb 04:26:01 [Warning] One or more build-args [ARCH] were not consumed 04:26:01 Successfully built 0150a88c71eb 04:26:01 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:02 04:26:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:02 arm64: Pulling from edgex-lftools-log-publisher 04:26:02 8998bd30e6a1: Pulling fs layer 04:26:02 04944245beec: Pulling fs layer 04:26:02 699f458cf7ca: Pulling fs layer 04:26:02 765212b225bb: Pulling fs layer 04:26:02 f23df028b6ca: Pulling fs layer 04:26:02 d65c8cfc05b1: Pulling fs layer 04:26:02 2437ff75d9bd: Pulling fs layer 04:26:02 765212b225bb: Waiting 04:26:02 2437ff75d9bd: Waiting 04:26:02 f23df028b6ca: Waiting 04:26:02 d65c8cfc05b1: Waiting 04:26:02 04944245beec: Verifying Checksum 04:26:02 04944245beec: Download complete 04:26:02 765212b225bb: Verifying Checksum 04:26:02 765212b225bb: Download complete 04:26:02 f23df028b6ca: Verifying Checksum 04:26:02 f23df028b6ca: Download complete 04:26:02 d65c8cfc05b1: Verifying Checksum 04:26:02 d65c8cfc05b1: Download complete 04:26:02 699f458cf7ca: Verifying Checksum 04:26:02 699f458cf7ca: Download complete 04:26:03 8998bd30e6a1: Verifying Checksum 04:26:03 8998bd30e6a1: Download complete 04:26:05 2437ff75d9bd: Verifying Checksum 04:26:05 2437ff75d9bd: Download complete 04:26:07 8998bd30e6a1: Pull complete 04:26:07 04944245beec: Pull complete 04:26:09 699f458cf7ca: Pull complete 04:26:09 765212b225bb: Pull complete 04:26:11 f23df028b6ca: Pull complete 04:26:11 d65c8cfc05b1: Pull complete 04:26:26 2437ff75d9bd: Pull complete 04:26:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:26:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:26 prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container 04:26:26 $ 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-sdk-go/171 -v /w/workspace/device-sdk-go/171:/w/workspace/device-sdk-go/171:rw,z -v /w/workspace/device-sdk-go/171@tmp:/w/workspace/device-sdk-go/171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:26:29 $ docker top e0f8db2cd677ce199f29835a50e55c9796a43f809bfc777873cd2eeb22e8d032 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:29 ---> job-cost.sh 04:26:30 lf-activate-venv: SKIPPING 04:26:30 INFO: No Stack... 04:26:30 INFO: Retrieving Pricing Info for: v3-standard-4 04:26:31 INFO: Archiving Costs [Pipeline] sh 04:26:31 + cat /w/workspace/device-sdk-go/171/archives/cost.csv 04:26:31 + cut -d, -f6 [Pipeline] lock 04:26:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] 04:26:31 Resource [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] did not exist. Created. 04:26:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:32 /w/workspace/device-sdk-go/171@tmp/durable-9a859fd6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:26:32 + echo total: 0.10999999940395355 [Pipeline] stash 04:26:32 Warning: overwriting stash ‘stack-cost’ 04:26:32 Stashed 1 file(s) [Pipeline] } 04:26:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } 04:26:32 $ docker stop --time=1 e0f8db2cd677ce199f29835a50e55c9796a43f809bfc777873cd2eeb22e8d032 04:26:34 $ docker rm -f --volumes e0f8db2cd677ce199f29835a50e55c9796a43f809bfc777873cd2eeb22e8d032 [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:26:34 provisioning config files... 04:26:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8292698876715397770tmp [Pipeline] { [Pipeline] sh 04:26:34 + set +x 04:26:34 + curl -s https://codecov.io/bash 04:26:34 + bash -s -- 04:26:34 04:26:34 _____ _ 04:26:34 / ____| | | 04:26:34 | | ___ __| | ___ ___ _____ __ 04:26:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:26:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:26:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:26:34 Bash-1.0.6 04:26:34 04:26:34 04:26:34 ==> git version 2.25.1 found 04:26:34 ==> 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:26:34 Release-Date: 2020-01-08 04:26:34 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:26:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:26:34 ==> Jenkins CI detected. 04:26:34 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:26:34 project root: . 04:26:34 --> token set from env 04:26:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:26:34 ==> Running gcov in . (disable via -X gcov) 04:26:34 ==> Python coveragepy not found 04:26:34 ==> Searching for coverage reports in: 04:26:34 + . 04:26:34 -> Found 1 reports 04:26:34 ==> Detecting git/mercurial file structure 04:26:34 ==> Reading reports 04:26:34 + ./coverage.out bytes=111243 04:26:34 ==> Appending adjustments 04:26:34 https://docs.codecov.io/docs/fixing-reports 04:26:35 + Found adjustments 04:26:35 ==> Gzipping contents 04:26:35 16K /tmp/codecov.SOgaUy.gz 04:26:35 ==> Uploading reports 04:26:35 url: https://codecov.io 04:26:35 query: branch=main&commit=6c52867c974148776ead9b5ce3090ce3cf294dda&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:26:35 -> Pinging Codecov 04:26:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=6c52867c974148776ead9b5ce3090ce3cf294dda&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:26:35 -> Uploading to 04:26:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/6c52867c974148776ead9b5ce3090ce3cf294dda/642f2a43-ddf9-4ab5-ad9d-cca535f1a66b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T042635Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7177acd01ef3f3a2ff4e2556a47583adbac0924f97627b2ccf1b513fdee63406 04:26:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:35 Dload Upload Total Spent Left Speed 04:26:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15403 0 0 100 15403 0 69382 --:--:-- --:--:-- --:--:-- 69071 100 15403 0 0 100 15403 0 51687 --:--:-- --:--:-- --:--:-- 51515 04:26:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] } 04:26:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:26:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:26:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:26:36 04:26:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:26:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:26:36 df9b9388f04a: Pulling fs layer 04:26:36 52dc419b0ee2: Pulling fs layer 04:26:36 25bc292e5bac: Pulling fs layer 04:26:36 114826534d7a: Pulling fs layer 04:26:36 4657fd5d0bcf: Pulling fs layer 04:26:36 6ad1cebc031e: Pulling fs layer 04:26:36 8a3aa393b2d8: Pulling fs layer 04:26:36 114826534d7a: Waiting 04:26:36 4657fd5d0bcf: Waiting 04:26:36 6ad1cebc031e: Waiting 04:26:36 8a3aa393b2d8: Waiting 04:26:36 25bc292e5bac: Verifying Checksum 04:26:36 25bc292e5bac: Download complete 04:26:36 52dc419b0ee2: Verifying Checksum 04:26:36 52dc419b0ee2: Download complete 04:26:36 4657fd5d0bcf: Verifying Checksum 04:26:36 4657fd5d0bcf: Download complete 04:26:36 df9b9388f04a: Download complete 04:26:36 df9b9388f04a: Pull complete 04:26:36 6ad1cebc031e: Verifying Checksum 04:26:36 52dc419b0ee2: Pull complete 04:26:36 6ad1cebc031e: Download complete 04:26:37 25bc292e5bac: Pull complete 04:26:37 114826534d7a: Download complete 04:26:37 8a3aa393b2d8: Verifying Checksum 04:26:37 8a3aa393b2d8: Download complete 04:26:40 114826534d7a: Pull complete 04:26:40 4657fd5d0bcf: Pull complete 04:26:40 6ad1cebc031e: Pull complete 04:26:43 8a3aa393b2d8: Pull complete 04:26:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:26:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:26:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:43 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:26:43 $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:26:49 $ docker top cc384cef938a39a911ff2069260f11878ca233f14ee99bcac66b3847503f3eea -eo pid,comm [Pipeline] { [Pipeline] echo 04:26:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:26:49 + set -o pipefail 04:26:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:26:54 04:26:54 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:26:54 04:26:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c51bc07e-7c94-443a-93c8-9e44f9a54202 04:26:54 04:26:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:26:54 04:26:55 04:26:55 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:26:55 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:26:55 More details here: https://snyk.co/ue1NS [Pipeline] } 04:26:55 $ docker stop --time=1 cc384cef938a39a911ff2069260f11878ca233f14ee99bcac66b3847503f3eea 04:26:58 $ docker rm -f --volumes cc384cef938a39a911ff2069260f11878ca233f14ee99bcac66b3847503f3eea [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) [Pipeline] echo 04:26:59 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:59 provisioning config files... 04:26:59 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9092601418883545992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:59 --> edgex-publish-swagger.sh 04:26:59 === Publish openapi/v3 API === 04:26:59 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:26:59 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:26:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:59 Dload Upload Total Spent Left Speed 04:27:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 46675 --:--:-- --:--:-- --:--:-- 46583 100 23571 0 0 100 23571 0 46675 --:--:-- --:--:-- --:--:-- 46583 04:27:00 04:27:00 [Pipeline] } 04:27:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:00 + git log --format=format:%s -1 6c52867c974148776ead9b5ce3090ce3cf294dda [Pipeline] sh 04:27:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:01 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:27:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:27:01 $ docker top b1da11e0d84edd26f19aed9eb3d830553468a8abac261042ba7496c5a69bf71b -eo pid,comm 04:27:01 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:27:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:01 [ssh-agent] Looking for ssh-agent implementation... 04:27:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:01 $ docker exec b1da11e0d84edd26f19aed9eb3d830553468a8abac261042ba7496c5a69bf71b ssh-agent 04:27:01 SSH_AUTH_SOCK=/tmp/ssh-TIdu0YRXj88E/agent.31 04:27:01 SSH_AGENT_PID=37 04:27:01 Running ssh-add (command line suppressed) 04:27:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12220657797080364571.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12220657797080364571.key) 04:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:02 + git semver tag 04:27:02 2023-03-01 04:27:02,556 [run_tag] DEBUG tag force:False 04:27:02 2023-03-01 04:27:02,556 [check_head_tag] DEBUG check head tag 04:27:02 2023-03-01 04:27:02,558 [execute] INFO git cat-file --batch-check 04:27:02 2023-03-01 04:27:02,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:02 2023-03-01 04:27:02,563 [execute] INFO git cat-file --batch 04:27:02 2023-03-01 04:27:02,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:02 2023-03-01 04:27:02,592 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:02 2023-03-01 04:27:02,592 [execute] INFO git tag -a v3.0.0-dev.41 -m v3.0.0-dev.41 04:27:02 2023-03-01 04:27:02,593 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.41', '-m', 'v3.0.0-dev.41'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:27:02 2023-03-01 04:27:02,597 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:02 3.0.0-dev.41 [Pipeline] } 04:27:02 $ docker exec --env ******** --env ******** b1da11e0d84edd26f19aed9eb3d830553468a8abac261042ba7496c5a69bf71b ssh-agent -k 04:27:02 unset SSH_AUTH_SOCK; 04:27:02 unset SSH_AGENT_PID; 04:27:02 echo Agent pid 37 killed; 04:27:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:03 + git semver [Pipeline] } 04:27:03 $ docker stop --time=1 b1da11e0d84edd26f19aed9eb3d830553468a8abac261042ba7496c5a69bf71b 04:27:04 $ docker rm -f --volumes b1da11e0d84edd26f19aed9eb3d830553468a8abac261042ba7496c5a69bf71b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:04 04:27:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:05 0.23.1-centos7: Pulling from edgex-lftools 04:27:05 ab5ef0e58194: Pulling fs layer 04:27:05 9712f1f96733: Pulling fs layer 04:27:05 63f879dbbcfc: Pulling fs layer 04:27:05 0d9ebad4ef96: Pulling fs layer 04:27:05 e9a5061849ea: Pulling fs layer 04:27:05 d747dcd14b5f: Pulling fs layer 04:27:05 2de7ff778b66: Pulling fs layer 04:27:05 e9a5061849ea: Waiting 04:27:05 d747dcd14b5f: Waiting 04:27:05 2de7ff778b66: Waiting 04:27:05 0d9ebad4ef96: Waiting 04:27:05 9712f1f96733: Verifying Checksum 04:27:05 9712f1f96733: Download complete 04:27:05 63f879dbbcfc: Verifying Checksum 04:27:05 63f879dbbcfc: Download complete 04:27:05 e9a5061849ea: Verifying Checksum 04:27:05 e9a5061849ea: Download complete 04:27:05 d747dcd14b5f: Verifying Checksum 04:27:05 d747dcd14b5f: Download complete 04:27:05 0d9ebad4ef96: Verifying Checksum 04:27:05 0d9ebad4ef96: Download complete 04:27:05 ab5ef0e58194: Verifying Checksum 04:27:05 ab5ef0e58194: Download complete 04:27:06 2de7ff778b66: Verifying Checksum 04:27:06 2de7ff778b66: Download complete 04:27:08 ab5ef0e58194: Pull complete 04:27:08 9712f1f96733: Pull complete 04:27:09 63f879dbbcfc: Pull complete 04:27:13 0d9ebad4ef96: Pull complete 04:27:13 e9a5061849ea: Pull complete 04:27:13 d747dcd14b5f: Pull complete 04:27:14 2de7ff778b66: Pull complete 04:27:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:27:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:14 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:27:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:27:20 $ docker top 60ae5d5faa12b1ea9eca4ab7afb39911fc3ce959c60ee63cc7efbcaaa782fa8b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:27:20 provisioning config files... 04:27:20 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4333651327024184199tmp 04:27:20 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10527774471377368198tmp 04:27:20 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3311536374507274252tmp [Pipeline] { [Pipeline] echo 04:27:20 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:27:20 ---> sigul-configuration.sh 04:27:20 gpg: directory `/root/.gnupg' created 04:27:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:27:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:27:20 gpg: keyring `/root/.gnupg/secring.gpg' created 04:27:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:27:20 gpg: CAST5 encrypted data 04:27:20 gpg: encrypted with 1 passphrase 04:27:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:27:20 + mkdir /home/jenkins 04:27:20 + mkdir /home/jenkins/sigul [Pipeline] sh 04:27:21 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:27:21 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:27:21 ---> sigul-install.sh 04:27:21 Sigul already installed; skipping installation. [Pipeline] sh 04:27:21 + git tag --list 04:27:21 0.7.1 04:27:21 delhi-tag 04:27:21 v1.0.0 04:27:21 v1.1.0 04:27:21 v1.1.1 04:27:21 v1.1.2 04:27:21 v1.2.0 04:27:21 v1.2.1 04:27:21 v1.2.2 04:27:21 v1.2.3 04:27:21 v1.3.0 04:27:21 v1.4.0 04:27:21 v2.0.0 04:27:21 v2.1.0 04:27:21 v2.1.1 04:27:21 v2.1.1-dev.2 04:27:21 v2.1.1-dev.3 04:27:21 v2.2.0 04:27:21 v2.2.1-dev.1 04:27:21 v2.2.1-dev.10 04:27:21 v2.2.1-dev.11 04:27:21 v2.2.1-dev.12 04:27:21 v2.2.1-dev.13 04:27:21 v2.2.1-dev.14 04:27:21 v2.2.1-dev.2 04:27:21 v2.2.1-dev.3 04:27:21 v2.2.1-dev.4 04:27:21 v2.2.1-dev.5 04:27:21 v2.2.1-dev.6 04:27:21 v2.2.1-dev.7 04:27:21 v2.2.1-dev.8 04:27:21 v2.2.1-dev.9 04:27:21 v2.3.0 04:27:21 v2.3.0-dev.14 04:27:21 v2.3.0-dev.15 04:27:21 v2.3.0-dev.16 04:27:21 v2.3.0-dev.17 04:27:21 v2.3.0-dev.18 04:27:21 v2.3.0-dev.19 04:27:21 v2.3.0-dev.20 04:27:21 v2.3.0-dev.21 04:27:21 v2.3.0-dev.22 04:27:21 v2.3.0-dev.23 04:27:21 v2.3.0-dev.24 04:27:21 v2.3.0-dev.25 04:27:21 v2.3.0-dev.26 04:27:21 v2.3.0-dev.27 04:27:21 v2.3.0-dev.28 04:27:21 v2.3.0-dev.29 04:27:21 v2.3.0-dev.30 04:27:21 v2.3.0-dev.31 04:27:21 v2.3.0-dev.32 04:27:21 v2.3.0-dev.33 04:27:21 v2.3.0-dev.34 04:27:21 v2.3.0-dev.35 04:27:21 v2.3.0-dev.36 04:27:21 v2.3.0-dev.37 04:27:21 v2.3.0-dev.38 04:27:21 v2.3.0-dev.39 04:27:21 v2.3.0-dev.40 04:27:21 v2.3.0-dev.41 04:27:21 v2.3.0-dev.42 04:27:21 v2.3.0-dev.43 04:27:21 v2.3.0-dev.44 04:27:21 v2.3.0-dev.45 04:27:21 v2.3.0-dev.46 04:27:21 v2.3.0-dev.47 04:27:21 v2.3.0-dev.48 04:27:21 v2.3.0-dev.49 04:27:21 v2.3.0-dev.50 04:27:21 v2.3.0-dev.51 04:27:21 v2.3.1-dev.1 04:27:21 v2.3.1-dev.2 04:27:21 v3.0.0-dev.1 04:27:21 v3.0.0-dev.10 04:27:21 v3.0.0-dev.11 04:27:21 v3.0.0-dev.12 04:27:21 v3.0.0-dev.13 04:27:21 v3.0.0-dev.14 04:27:21 v3.0.0-dev.15 04:27:21 v3.0.0-dev.16 04:27:21 v3.0.0-dev.17 04:27:21 v3.0.0-dev.18 04:27:21 v3.0.0-dev.19 04:27:21 v3.0.0-dev.2 04:27:21 v3.0.0-dev.20 04:27:21 v3.0.0-dev.21 04:27:21 v3.0.0-dev.22 04:27:21 v3.0.0-dev.23 04:27:21 v3.0.0-dev.24 04:27:21 v3.0.0-dev.25 04:27:21 v3.0.0-dev.26 04:27:21 v3.0.0-dev.27 04:27:21 v3.0.0-dev.28 04:27:21 v3.0.0-dev.29 04:27:21 v3.0.0-dev.3 04:27:21 v3.0.0-dev.30 04:27:21 v3.0.0-dev.31 04:27:21 v3.0.0-dev.32 04:27:21 v3.0.0-dev.33 04:27:21 v3.0.0-dev.34 04:27:21 v3.0.0-dev.35 04:27:21 v3.0.0-dev.36 04:27:21 v3.0.0-dev.37 04:27:21 v3.0.0-dev.38 04:27:21 v3.0.0-dev.39 04:27:21 v3.0.0-dev.4 04:27:21 v3.0.0-dev.40 04:27:21 v3.0.0-dev.41 04:27:21 v3.0.0-dev.5 04:27:21 v3.0.0-dev.6 04:27:21 v3.0.0-dev.7 04:27:21 v3.0.0-dev.8 04:27:21 v3.0.0-dev.9 [Pipeline] sh 04:27:22 + lftools sign git-tag v3.0.0-dev.41 04:27:22 Signing Git tag with Sigul... 04:27:22 Signing v3.0.0-dev.41 [Pipeline] echo 04:27:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:27:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:27:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:27:23 $ docker stop --time=1 60ae5d5faa12b1ea9eca4ab7afb39911fc3ce959c60ee63cc7efbcaaa782fa8b 04:27:24 $ docker rm -f --volumes 60ae5d5faa12b1ea9eca4ab7afb39911fc3ce959c60ee63cc7efbcaaa782fa8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:27:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:25 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:27:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:27:25 $ docker top 0f4b09248c98a6bace56fd3afd2f747059ba41a4173649db3214feca7ef7d7b3 -eo pid,comm 04:27:25 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:27:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:25 [ssh-agent] Looking for ssh-agent implementation... 04:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:26 $ docker exec 0f4b09248c98a6bace56fd3afd2f747059ba41a4173649db3214feca7ef7d7b3 ssh-agent 04:27:26 SSH_AUTH_SOCK=/tmp/ssh-yHjViBlw0mkj/agent.31 04:27:26 SSH_AGENT_PID=37 04:27:26 Running ssh-add (command line suppressed) 04:27:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5215659209431844227.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5215659209431844227.key) 04:27:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:26 + git semver bump pre 04:27:26 2023-03-01 04:27:26,779 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:26 2023-03-01 04:27:26,780 [bump_version] DEBUG bumping version:3.0.0-dev.41 on axis:pre with prefix:dev 04:27:26 2023-03-01 04:27:26,780 [bump_version] DEBUG bumped version:3.0.0-dev.42 04:27:26 2023-03-01 04:27:26,780 [write_version] DEBUG write version:3.0.0-dev.42 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:27:26 2023-03-01 04:27:26,780 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:26 2023-03-01 04:27:26,780 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:26 2023-03-01 04:27:26,782 [execute] INFO git cat-file --batch-check 04:27:26 2023-03-01 04:27:26,782 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:27:26 2023-03-01 04:27:26,787 [execute] INFO git cat-file --batch 04:27:26 2023-03-01 04:27:26,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:27:26 2023-03-01 04:27:26,791 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:26 3.0.0-dev.42 [Pipeline] } 04:27:26 $ docker exec --env ******** --env ******** 0f4b09248c98a6bace56fd3afd2f747059ba41a4173649db3214feca7ef7d7b3 ssh-agent -k 04:27:26 unset SSH_AUTH_SOCK; 04:27:26 unset SSH_AGENT_PID; 04:27:26 echo Agent pid 37 killed; 04:27:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:27 + git semver [Pipeline] } 04:27:27 $ docker stop --time=1 0f4b09248c98a6bace56fd3afd2f747059ba41a4173649db3214feca7ef7d7b3 04:27:28 $ docker rm -f --volumes 0f4b09248c98a6bace56fd3afd2f747059ba41a4173649db3214feca7ef7d7b3 [Pipeline] // withDockerContainer [Pipeline] sh 04:27:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:29 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:27:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:27:29 $ docker top 775e622666ba9d6ad92ddc4a5b485231206d882000f2882284a7a4ba5f974b0b -eo pid,comm 04:27:29 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:27:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:29 [ssh-agent] Looking for ssh-agent implementation... 04:27:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:30 $ docker exec 775e622666ba9d6ad92ddc4a5b485231206d882000f2882284a7a4ba5f974b0b ssh-agent 04:27:30 SSH_AUTH_SOCK=/tmp/ssh-B6ZQ2Tj0PxNL/agent.32 04:27:30 SSH_AGENT_PID=38 04:27:30 Running ssh-add (command line suppressed) 04:27:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12069073749610639718.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12069073749610639718.key) 04:27:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:30 + git semver push 04:27:30 2023-03-01 04:27:30,746 [run_push] DEBUG push 04:27:30 2023-03-01 04:27:30,746 [execute] INFO git cat-file --batch-check 04:27:30 2023-03-01 04:27:30,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:27:30 2023-03-01 04:27:30,750 [execute] INFO git rev-list 15ba916f7af3016bef7712130f95f22e7fbbb35a -- 04:27:30 2023-03-01 04:27:30,750 [execute] DEBUG Popen(['git', 'rev-list', '15ba916f7af3016bef7712130f95f22e7fbbb35a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:27:30 2023-03-01 04:27:30,762 [execute] INFO git fetch -v origin 04:27:30 2023-03-01 04:27:30,763 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:27:31 2023-03-01 04:27:31,284 [run_push] DEBUG no remote changes detected 04:27:31 2023-03-01 04:27:31,285 [execute] INFO git push origin semver 04:27:31 2023-03-01 04:27:31,285 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:27:32 2023-03-01 04:27:32,112 [run_push] DEBUG push all version tags 04:27:32 2023-03-01 04:27:32,112 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:27:32 2023-03-01 04:27:32,113 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:27:32 2023-03-01 04:27:32,880 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:32 3.0.0-dev.42 [Pipeline] } 04:27:33 $ docker exec --env ******** --env ******** 775e622666ba9d6ad92ddc4a5b485231206d882000f2882284a7a4ba5f974b0b ssh-agent -k 04:27:33 unset SSH_AUTH_SOCK; 04:27:33 unset SSH_AGENT_PID; 04:27:33 echo Agent pid 38 killed; 04:27:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:33 + git semver [Pipeline] } 04:27:33 $ docker stop --time=1 775e622666ba9d6ad92ddc4a5b485231206d882000f2882284a7a4ba5f974b0b 04:27:35 $ docker rm -f --volumes 775e622666ba9d6ad92ddc4a5b485231206d882000f2882284a7a4ba5f974b0b [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:27:35 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:27:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:27:35 total 16 04:27:35 drwxr-xr-x 3 root root 4096 Mar 1 04:17 . 04:27:35 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 04:27 .. 04:27:35 drwxr-xr-x 2 root root 4096 Mar 1 04:17 cost 04:27:35 -rw-r--r-- 1 root root 85 Mar 1 04:17 cost.csv 04:27:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:27:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:27:35 total 16 04:27:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 04:17 . 04:27:35 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 04:27 .. 04:27:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 04:17 cost 04:27:35 -rw-r--r-- 1 jenkins jenkins 85 Mar 1 04:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:27:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:27:36 ---> package-listing.sh 04:27:36 ++ facter osfamily 04:27:36 ++ tr '[:upper:]' '[:lower:]' 04:27:37 + OS_FAMILY=debian 04:27:37 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:27:37 + START_PACKAGES=/tmp/packages_start.txt 04:27:37 + END_PACKAGES=/tmp/packages_end.txt 04:27:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:27:37 + PACKAGES=/tmp/packages_start.txt 04:27:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:27:37 + PACKAGES=/tmp/packages_end.txt 04:27:37 + case "${OS_FAMILY}" in 04:27:37 + dpkg -l 04:27:37 + grep '^ii' 04:27:37 + '[' -f /tmp/packages_start.txt ']' 04:27:37 + '[' -f /tmp/packages_end.txt ']' 04:27:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:27:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:27:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:27:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:27:37 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-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:27:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:27:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:38 prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container 04:27:38 $ 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-sdk-go_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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_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:27:38 $ docker top 8dcca439e0cbaecbafcea9392d886a48416e64d90c5e9149db4b7d3b19ba0d30 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:38 + touch /tmp/pre-build-complete [Pipeline] sh 04:27:38 + mkdir -p /var/log/sysstat [Pipeline] sh 04:27:39 + ls /var/log/sa-host 04:27:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:39 provisioning config files... 04:27:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13515338318149026443tmp [Pipeline] { [Pipeline] echo 04:27:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:27:39 ---> create-netrc.sh [Pipeline] } 04:27:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:27:39 ---> python-tools-install.sh [Pipeline] echo 04:27:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:27:40 ---> sudo-logs.sh 04:27:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:27:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:27:40 ---> job-cost.sh 04:27:40 lf-activate-venv: SKIPPING 04:27:40 DEBUG: total: 0.2199999988079071 04:27:40 INFO: Retrieving Stack Cost... 04:27:41 INFO: Retrieving Pricing Info for: v3-standard-8 04:27:41 INFO: Archiving Costs [Pipeline] echo 04:27:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:27:41 ---> logs-deploy.sh 04:27:41 lf-activate-venv: SKIPPING 04:27:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/171 04:27:41 INFO: archiving workspace using pattern(s): 04:27:42 Archives upload complete. 04:27:42 INFO: archiving logs to Nexus 04:27:43 ---> uname -a: 04:27:43 Linux prd-ubuntu20-04-docker-8c-8g-7885 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:27:43 04:27:43 04:27:43 ---> lscpu: 04:27:43 Architecture: x86_64 04:27:43 CPU op-mode(s): 32-bit, 64-bit 04:27:43 Byte Order: Little Endian 04:27:43 Address sizes: 40 bits physical, 48 bits virtual 04:27:43 CPU(s): 8 04:27:43 On-line CPU(s) list: 0-7 04:27:43 Thread(s) per core: 1 04:27:43 Core(s) per socket: 1 04:27:43 Socket(s): 8 04:27:43 NUMA node(s): 1 04:27:43 Vendor ID: AuthenticAMD 04:27:43 CPU family: 23 04:27:43 Model: 49 04:27:43 Model name: AMD EPYC-Rome Processor 04:27:43 Stepping: 0 04:27:43 CPU MHz: 2799.996 04:27:43 BogoMIPS: 5599.99 04:27:43 Virtualization: AMD-V 04:27:43 Hypervisor vendor: KVM 04:27:43 Virtualization type: full 04:27:43 L1d cache: 256 KiB 04:27:43 L1i cache: 256 KiB 04:27:43 L2 cache: 4 MiB 04:27:43 L3 cache: 128 MiB 04:27:43 NUMA node0 CPU(s): 0-7 04:27:43 Vulnerability Itlb multihit: Not affected 04:27:43 Vulnerability L1tf: Not affected 04:27:43 Vulnerability Mds: Not affected 04:27:43 Vulnerability Meltdown: Not affected 04:27:43 Vulnerability Mmio stale data: Not affected 04:27:43 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:27:43 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:27:43 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:27:43 Vulnerability Srbds: Not affected 04:27:43 Vulnerability Tsx async abort: Not affected 04:27:43 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:27:43 04:27:43 04:27:43 ---> nproc: 04:27:43 8 04:27:43 04:27:43 04:27:43 ---> df -h: 04:27:43 Filesystem Size Used Avail Use% Mounted on 04:27:43 overlay 155G 13G 143G 9% / 04:27:43 tmpfs 64M 0 64M 0% /dev 04:27:43 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:27:43 shm 64M 0 64M 0% /dev/shm 04:27:43 /dev/vda1 155G 13G 143G 9% /facter-os 04:27:43 04:27:43