Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7610f6dc338b87754f939bb9ede04e880837a002 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-ssh18400376443676307333.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-ssh8305238593396607119.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-ssh8342389443367519269.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-ssh6083678400047898065.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-ssh16564082988284135757.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2584’ Running on prd-ubuntu20.04-docker-8c-8g-2588 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 7610f6dc338b87754f939bb9ede04e880837a002 (main) Commit message: "Merge pull request #1283 from FelixTing/fix-typo" > 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 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 > git rev-list --no-walk 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:48:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:48:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:48:11 ========================================================= 16:48:11 EdgeX Global Pipelines Version Info 16:48:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:48:12 ------------------- 16:48:12 stable info: 16:48:12 ------------------- 16:48:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:48:12 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:48:12 Message: update stable to v1.0.244 16:48:13 ------------------- 16:48:13 experimental info: 16:48:13 ------------------- 16:48:13 Commited By: **** collab-it+edgex@linuxfoundation.org 16:48:13 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:48:13 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7610f6d [Pipeline] echo 16:48:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:13 provisioning config files... 16:48:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12076051147968845453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:13 ---> docker-login.sh 16:48:13 nexus3.edgexfoundry.org:10001 16:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:14 Configure a credential helper to remove this warning. See 16:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:14 16:48:14 Login Succeeded 16:48:14 nexus3.edgexfoundry.org:10002 16:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:14 Configure a credential helper to remove this warning. See 16:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:14 16:48:14 Login Succeeded 16:48:14 nexus3.edgexfoundry.org:10003 16:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:14 Configure a credential helper to remove this warning. See 16:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:14 16:48:14 Login Succeeded 16:48:14 nexus3.edgexfoundry.org:10004 16:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:14 Configure a credential helper to remove this warning. See 16:48:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:14 16:48:14 Login Succeeded 16:48:14 docker.io 16:48:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:15 Configure a credential helper to remove this warning. See 16:48:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:15 16:48:15 Login Succeeded 16:48:15 ---> docker-login.sh ends [Pipeline] } 16:48:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:48:15 + git rev-list -1 --merges 7610f6dc338b87754f939bb9ede04e880837a002~1..7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] echo 16:48:15 -----------> git rev-list -1 --merges 7610f6dc338b87754f939bb9ede04e880837a002~1..7610f6dc338b87754f939bb9ede04e880837a002 7610f6dc338b87754f939bb9ede04e880837a002 16:48:15 7610f6dc338b87754f939bb9ede04e880837a002 [false] [Pipeline] sh 16:48:15 + git log --format=format:%s -1 7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] echo 16:48:15 ========================================================= 16:48:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:48:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:16 + git log --format=format:%s -1 7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] echo 16:48:16 [semverPrep] GIT_COMMIT: 7610f6dc338b87754f939bb9ede04e880837a002, Commit Message: Merge pull request #1283 from FelixTing/fix-typo [Pipeline] echo 16:48:16 [semverPrep] This is not a build commit. [Pipeline] sh 16:48:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:16 + grep -v github /etc/ssh/ssh_known_hosts 16:48:16 + [ -e /tmp/ssh_known_hosts ] 16:48:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:48:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:48:16 + sudo tee -a /etc/ssh/ssh_known_hosts 16:48:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:16 16:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:17 0.1.4: Pulling from edgex-devops/py-git-semver 16:48:17 b85a868b505f: Pulling fs layer 16:48:17 e2be974225ed: Pulling fs layer 16:48:17 339a4e72a1f5: Pulling fs layer 16:48:17 988bab9f4d93: Pulling fs layer 16:48:17 1469e6f7b9e6: Pulling fs layer 16:48:17 eaf3925da568: Pulling fs layer 16:48:17 bab4dde63d76: Pulling fs layer 16:48:17 bde34c3a00c8: Pulling fs layer 16:48:17 b352a97aabf1: Pulling fs layer 16:48:17 988bab9f4d93: Waiting 16:48:17 1469e6f7b9e6: Waiting 16:48:17 bab4dde63d76: Waiting 16:48:17 eaf3925da568: Waiting 16:48:17 bde34c3a00c8: Waiting 16:48:17 b352a97aabf1: Waiting 16:48:17 4872d77fe225: Pulling fs layer 16:48:17 5851b861e8e6: Pulling fs layer 16:48:17 4872d77fe225: Waiting 16:48:17 5851b861e8e6: Waiting 16:48:17 e2be974225ed: Verifying Checksum 16:48:17 e2be974225ed: Download complete 16:48:17 988bab9f4d93: Download complete 16:48:17 1469e6f7b9e6: Verifying Checksum 16:48:17 1469e6f7b9e6: Download complete 16:48:17 eaf3925da568: Verifying Checksum 16:48:17 eaf3925da568: Download complete 16:48:17 339a4e72a1f5: Verifying Checksum 16:48:17 339a4e72a1f5: Download complete 16:48:17 bde34c3a00c8: Verifying Checksum 16:48:17 bde34c3a00c8: Download complete 16:48:18 b352a97aabf1: Download complete 16:48:18 4872d77fe225: Verifying Checksum 16:48:18 4872d77fe225: Download complete 16:48:18 5851b861e8e6: Verifying Checksum 16:48:18 5851b861e8e6: Download complete 16:48:18 b85a868b505f: Verifying Checksum 16:48:18 b85a868b505f: Download complete 16:48:18 bab4dde63d76: Verifying Checksum 16:48:18 bab4dde63d76: Download complete 16:48:19 b85a868b505f: Pull complete 16:48:19 e2be974225ed: Pull complete 16:48:20 339a4e72a1f5: Pull complete 16:48:20 988bab9f4d93: Pull complete 16:48:20 1469e6f7b9e6: Pull complete 16:48:20 eaf3925da568: Pull complete 16:48:22 bab4dde63d76: Pull complete 16:48:22 bde34c3a00c8: Pull complete 16:48:22 b352a97aabf1: Pull complete 16:48:22 4872d77fe225: Pull complete 16:48:22 5851b861e8e6: Pull complete 16:48:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:48:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:22 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 16:48:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:25 $ docker top 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a -eo pid,comm 16:48: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). 16:48:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:25 [ssh-agent] Looking for ssh-agent implementation... 16:48:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:26 $ docker exec 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a ssh-agent 16:48:26 SSH_AUTH_SOCK=/tmp/ssh-HI2D1N2JgAol/agent.32 16:48:26 SSH_AGENT_PID=38 16:48:26 Running ssh-add (command line suppressed) 16:48:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8410992440465574640.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8410992440465574640.key) 16:48:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:26 + git tag --points-at HEAD [Pipeline] } 16:48:26 $ docker exec --env ******** --env ******** 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a ssh-agent -k 16:48:26 unset SSH_AUTH_SOCK; 16:48:26 unset SSH_AGENT_PID; 16:48:26 echo Agent pid 38 killed; 16:48:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:48:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:26 [ssh-agent] Looking for ssh-agent implementation... 16:48:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:26 $ docker exec 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a ssh-agent 16:48:26 SSH_AUTH_SOCK=/tmp/ssh-F7O9iDjizVpK/agent.71 16:48:26 SSH_AGENT_PID=77 16:48:26 Running ssh-add (command line suppressed) 16:48:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5593800848166315168.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5593800848166315168.key) 16:48:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:27 + git semver init 16:48:27 2023-01-16 16:48:27,601 [run_init] DEBUG init version:0.0.0 force:False 16:48:27 2023-01-16 16:48:27,602 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:48:27 2023-01-16 16:48:27,603 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:48:27 2023-01-16 16:48:27,603 [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) 16:48:28 2023-01-16 16:48:28,529 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:48:28 2023-01-16 16:48:28,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:48:28 2023-01-16 16:48:28,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:28 2023-01-16 16:48:28,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:28 3.0.0-dev.9 [Pipeline] } 16:48:28 $ docker exec --env ******** --env ******** 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a ssh-agent -k 16:48:28 unset SSH_AUTH_SOCK; 16:48:28 unset SSH_AGENT_PID; 16:48:28 echo Agent pid 77 killed; 16:48:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:29 + git semver [Pipeline] } 16:48:29 $ docker stop --time=1 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a 16:48:30 $ docker rm -f --volumes 2774c50bcf8e6ac07a4be74ab905bd950b0759934c46dd3e4c15741a1b8c414a [Pipeline] // withDockerContainer [Pipeline] sh 16:48:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:48:31 Stashed 1 file(s) [Pipeline] echo 16:48:31 [edgeXSemver]: initialized semver on version 3.0.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:31 provisioning config files... 16:48:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9057047306792738901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:31 ---> docker-login.sh 16:48:31 nexus3.edgexfoundry.org:10001 16:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:31 Configure a credential helper to remove this warning. See 16:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:31 16:48:31 Login Succeeded 16:48:31 nexus3.edgexfoundry.org:10002 16:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:31 Configure a credential helper to remove this warning. See 16:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:31 16:48:31 Login Succeeded 16:48:31 nexus3.edgexfoundry.org:10003 16:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:31 Configure a credential helper to remove this warning. See 16:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:31 16:48:31 Login Succeeded 16:48:31 nexus3.edgexfoundry.org:10004 16:48:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:31 Configure a credential helper to remove this warning. See 16:48:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:31 16:48:31 Login Succeeded 16:48:31 docker.io 16:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:32 Configure a credential helper to remove this warning. See 16:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:32 16:48:32 Login Succeeded 16:48:32 ---> docker-login.sh ends [Pipeline] } 16:48:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:32 ========================================================= 16:48:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:48:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:32 + 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 . 16:48:32 Sending build context to Docker daemon 10.43MB 16:48:32 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:48:32 Step 2/10 : FROM ${BASE} AS builder 16:48:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:48:32 213ec9aee27d: Pulling fs layer 16:48:32 4583459ba037: Pulling fs layer 16:48:32 93c1e223e6f2: Pulling fs layer 16:48:32 53926ce57604: Pulling fs layer 16:48:32 21b2b0c7a3f4: Pulling fs layer 16:48:32 22ff95d597cd: Pulling fs layer 16:48:32 12d6caf4c0d1: Pulling fs layer 16:48:32 96b7cbca73a9: Pulling fs layer 16:48:32 a7acece74701: Pulling fs layer 16:48:32 22ff95d597cd: Waiting 16:48:32 12d6caf4c0d1: Waiting 16:48:32 96b7cbca73a9: Waiting 16:48:32 a7acece74701: Waiting 16:48:32 53926ce57604: Waiting 16:48:32 21b2b0c7a3f4: Waiting 16:48:32 93c1e223e6f2: Verifying Checksum 16:48:32 93c1e223e6f2: Download complete 16:48:32 4583459ba037: Verifying Checksum 16:48:32 4583459ba037: Download complete 16:48:32 21b2b0c7a3f4: Verifying Checksum 16:48:32 21b2b0c7a3f4: Download complete 16:48:32 22ff95d597cd: Verifying Checksum 16:48:32 22ff95d597cd: Download complete 16:48:32 213ec9aee27d: Verifying Checksum 16:48:32 213ec9aee27d: Download complete 16:48:33 12d6caf4c0d1: Verifying Checksum 16:48:33 12d6caf4c0d1: Download complete 16:48:33 213ec9aee27d: Pull complete 16:48:33 4583459ba037: Pull complete 16:48:33 93c1e223e6f2: Pull complete 16:48:35 a7acece74701: Download complete 16:48:37 96b7cbca73a9: Verifying Checksum 16:48:37 96b7cbca73a9: Download complete 16:48:38 53926ce57604: Verifying Checksum 16:48:38 53926ce57604: Download complete 16:48:41 53926ce57604: Pull complete 16:48:41 21b2b0c7a3f4: Pull complete 16:48:41 22ff95d597cd: Pull complete 16:48:41 12d6caf4c0d1: Pull complete 16:48:43 96b7cbca73a9: Pull complete 16:48:44 a7acece74701: Pull complete 16:48:44 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:48:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:48:44 ---> db6d94c90886 16:48:44 Step 3/10 : ARG MAKE=make build 16:48:46 Still waiting to schedule task 16:48:46 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2585’ 16:48:49 ---> Running in 9cd8de2f191e 16:48:49 Removing intermediate container 9cd8de2f191e 16:48:49 ---> 70109dc675ec 16:48:49 Step 4/10 : WORKDIR /device-sdk-go 16:48:49 ---> Running in b335535506df 16:48:49 Removing intermediate container b335535506df 16:48:49 ---> 0d04de84d7fe 16:48:49 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:48:49 ---> Running in c57040ed6cf5 16:48:49 Removing intermediate container c57040ed6cf5 16:48:49 ---> 7db5bac75f4d 16:48:49 Step 6/10 : RUN apk add --update --no-cache make git 16:48:49 ---> Running in e72ee40667dd 16:48:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:48:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:48:50 OK: 211 MiB in 51 packages 16:48:50 Removing intermediate container e72ee40667dd 16:48:50 ---> 7d09ebdba6ea 16:48:50 Step 7/10 : COPY go.mod vendor* ./ 16:48:50 ---> 6467fbacb3f9 16:48:50 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:48:50 ---> Running in ea77a3714dfc 16:49:17 Removing intermediate container ea77a3714dfc 16:49:17 ---> 7a3312dfc429 16:49:17 Step 9/10 : COPY . . 16:49:17 ---> 57331da909bb 16:49:17 Step 10/10 : RUN ${MAKE} 16:49:17 ---> Running in 36bbf9b00219 16:49:17 noop 16:49:17 Removing intermediate container 36bbf9b00219 16:49:17 ---> 0ef5b00571c7 16:49:17 Successfully built 0ef5b00571c7 16:49:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:18 + docker inspect -f . ci-base-image-x86_64 16:49:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:18 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 16:49:18 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:49:18 $ docker top 57002306bbddcf6d092dc2d7a7059dabd50af0a5c5dc178577dc68161a2b2462 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:19 + go version 16:49:19 go version go1.18.7 linux/amd64 [Pipeline] } 16:49:19 $ docker stop --time=1 57002306bbddcf6d092dc2d7a7059dabd50af0a5c5dc178577dc68161a2b2462 16:49:20 $ docker rm -f --volumes 57002306bbddcf6d092dc2d7a7059dabd50af0a5c5dc178577dc68161a2b2462 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:49:20 + docker inspect -f . ci-base-image-x86_64 16:49:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:49:20 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 16:49:20 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:49:21 $ docker top fe06f6905fe44051ddb7ea2057332b53a97f164611e35ced22ab4544b26c0096 -eo pid,comm [Pipeline] { [Pipeline] sh 16:49:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:49:21 + make test 16:49:21 go test -race -coverprofile=coverage.out ./... 16:49:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 78.9% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.127s coverage: 73.6% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.125s coverage: 54.4% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.088s coverage: 65.1% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.764s coverage: 89.2% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:49:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.069s coverage: 4.6% of statements 16:49:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:50:01 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." 16:50:01 GO111MODULE=on go vet ./... 16:50:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:50:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:50:02 ./bin/test-attribution-txt.sh [Pipeline] echo 16:50:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:50:02 $ docker stop --time=1 fe06f6905fe44051ddb7ea2057332b53a97f164611e35ced22ab4544b26c0096 16:50:09 $ docker rm -f --volumes fe06f6905fe44051ddb7ea2057332b53a97f164611e35ced22ab4544b26c0096 [Pipeline] // withDockerContainer [Pipeline] sh 16:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:50:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:50:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:50:11 + ls -al . 16:50:11 total 280 16:50:11 drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 16:49 . 16:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 16:48 .. 16:50:11 -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 16:48 .dockerignore 16:50:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 16:49 .git 16:50:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 16:48 .github 16:50:11 -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 16:48 .gitignore 16:50:11 -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 16:48 .golangci.yml 16:50:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 16:48 .semver 16:50:11 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 16:48 CHANGELOG.md 16:50:11 -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 16:48 GOVERNANCE.md 16:50:11 -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 16:48 Jenkinsfile 16:50:11 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 16:48 LICENSE 16:50:11 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 16:48 Makefile 16:50:11 -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 16:48 OWNERS.md 16:50:11 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 16:48 README.md 16:50:11 -rw-rw-r-- 1 jenkins jenkins 11 Jan 16 16:48 VERSION 16:50:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 16:48 bin 16:50:11 -rw-r--r-- 1 jenkins jenkins 101913 Jan 16 16:49 coverage.out 16:50:11 drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 16:48 example 16:50:11 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 16:48 go.mod 16:50:11 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 16:48 go.sum 16:50:11 drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 16:48 internal 16:50:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 16:48 openapi 16:50:11 drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 16:48 pkg 16:50:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 16:48 snap 16:50:11 -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 16:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:11 + 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=7610f6dc338b87754f939bb9ede04e880837a002 --label arch=amd64 --label version=3.0.0-dev.9 . 16:50:11 Sending build context to Docker daemon 10.53MB 16:50:11 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:50:11 Step 2/23 : FROM ${BASE} AS builder 16:50:11 ---> 0ef5b00571c7 16:50:11 Step 3/23 : ARG MAKE=make build 16:50:11 ---> Running in 6b01da370ad2 16:50:11 Removing intermediate container 6b01da370ad2 16:50:11 ---> e958c3ae2f2b 16:50:11 Step 4/23 : WORKDIR /device-sdk-go 16:50:11 ---> Running in 8f7e92bd6ba3 16:50:11 Removing intermediate container 8f7e92bd6ba3 16:50:11 ---> b5de420b748c 16:50:11 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:50:11 ---> Running in 54f293628726 16:50:11 Removing intermediate container 54f293628726 16:50:11 ---> 5f21c16f636c 16:50:11 Step 6/23 : RUN apk add --update --no-cache make git 16:50:11 ---> Running in 6d6d99e86535 16:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:12 OK: 211 MiB in 51 packages 16:50:13 Removing intermediate container 6d6d99e86535 16:50:13 ---> 007680c3cf2e 16:50:13 Step 7/23 : COPY go.mod vendor* ./ 16:50:13 ---> d75f225cda78 16:50:13 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:50:13 ---> Running in da82ff6109b7 16:50:13 Removing intermediate container da82ff6109b7 16:50:13 ---> 3a2f64d99c9a 16:50:13 Step 9/23 : COPY . . 16:50:14 ---> f3622f10d95a 16:50:14 Step 10/23 : RUN ${MAKE} 16:50:14 ---> Running in c647bbb46567 16:50:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:50:36 Removing intermediate container c647bbb46567 16:50:36 ---> 26ce5527a6aa 16:50:36 Step 11/23 : FROM alpine:3.16 16:50:36 3.16: Pulling from library/alpine 16:50:37 ca7dd9ec2225: Pulling fs layer 16:50:37 ca7dd9ec2225: Verifying Checksum 16:50:37 ca7dd9ec2225: Download complete 16:50:37 ca7dd9ec2225: Pull complete 16:50:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:50:37 Status: Downloaded newer image for alpine:3.16 16:50:37 ---> bfe296a52501 16:50:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:50:37 ---> Running in a06db7a5c6d2 16:50:37 Removing intermediate container a06db7a5c6d2 16:50:37 ---> 00180741be41 16:50:37 Step 13/23 : RUN apk add --update --no-cache 16:50:37 ---> Running in 833822541d00 16:50:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:50:38 OK: 6 MiB in 14 packages 16:50:38 Removing intermediate container 833822541d00 16:50:38 ---> ed253514cd48 16:50:38 Step 14/23 : WORKDIR / 16:50:38 ---> Running in b5bea72f3191 16:50:38 Removing intermediate container b5bea72f3191 16:50:38 ---> 9f06f4f77f35 16:50:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:50:38 ---> 0532e9046f59 16:50:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:50:40 ---> 05967ac2d9d9 16:50:40 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:50:40 ---> cb907650d00b 16:50:40 Step 18/23 : EXPOSE 59999 16:50:40 ---> Running in 889bbbb5797b 16:50:40 Removing intermediate container 889bbbb5797b 16:50:40 ---> ab27aa2e9fd3 16:50:40 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:50:40 ---> Running in d939e1b90d92 16:50:40 Removing intermediate container d939e1b90d92 16:50:40 ---> ed76933e97d7 16:50:40 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:50:40 ---> Running in f70aa56df66a 16:50:40 Removing intermediate container f70aa56df66a 16:50:40 ---> 4c7384995ff4 16:50:40 Step 21/23 : LABEL arch=amd64 16:50:40 ---> Running in 31dbe23d990a 16:50:40 Removing intermediate container 31dbe23d990a 16:50:40 ---> 7f86a8b8f473 16:50:40 Step 22/23 : LABEL git_sha=7610f6dc338b87754f939bb9ede04e880837a002 16:50:40 ---> Running in f94d829eff4b 16:50:40 Removing intermediate container f94d829eff4b 16:50:40 ---> c49c1a0ec64b 16:50:40 Step 23/23 : LABEL version=3.0.0-dev.9 16:50:40 ---> Running in 2d138ccb1e97 16:50:40 Removing intermediate container 2d138ccb1e97 16:50:40 ---> cb433cb2c730 16:50:40 [Warning] One or more build-args [ARCH] were not consumed 16:50:40 Successfully built cb433cb2c730 16:50:40 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 16:50:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:41 16:50:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:41 latest: Pulling from edgex-lftools-log-publisher 16:50:41 5eb5b503b376: Pulling fs layer 16:50:41 5c69ac0246d0: Pulling fs layer 16:50:41 ec43610c2a17: Pulling fs layer 16:50:41 3a2ae6a8a46f: Pulling fs layer 16:50:41 33b1e0a273af: Pulling fs layer 16:50:41 5d3b04190fa2: Pulling fs layer 16:50:41 2f39f015ded8: Pulling fs layer 16:50:41 33b1e0a273af: Waiting 16:50:41 5d3b04190fa2: Waiting 16:50:41 2f39f015ded8: Waiting 16:50:41 3a2ae6a8a46f: Waiting 16:50:41 5c69ac0246d0: Download complete 16:50:41 3a2ae6a8a46f: Verifying Checksum 16:50:41 3a2ae6a8a46f: Download complete 16:50:41 33b1e0a273af: Verifying Checksum 16:50:41 33b1e0a273af: Download complete 16:50:41 5d3b04190fa2: Verifying Checksum 16:50:41 5d3b04190fa2: Download complete 16:50:41 ec43610c2a17: Verifying Checksum 16:50:41 ec43610c2a17: Download complete 16:50:42 5eb5b503b376: Verifying Checksum 16:50:42 5eb5b503b376: Download complete 16:50:43 5eb5b503b376: Pull complete 16:50:43 5c69ac0246d0: Pull complete 16:50:43 ec43610c2a17: Pull complete 16:50:44 3a2ae6a8a46f: Pull complete 16:50:44 2f39f015ded8: Verifying Checksum 16:50:44 2f39f015ded8: Download complete 16:50:44 33b1e0a273af: Pull complete 16:50:44 5d3b04190fa2: Pull complete 16:50:49 2f39f015ded8: Pull complete 16:50:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:50:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:50:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:49 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 16:50:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:50:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2589 in /w/workspace/edgexfoundry_device-sdk-go_main 16:50:54 $ docker top cfaa7bb55a5fec5524b1a59869b37152bc80dfcb396d8921f51bde39d69f5b73 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 16:50:55 Running in /w/workspace/device-sdk-go/139 [Pipeline] { [Pipeline] checkout 16:50:55 The recommended git tool is: git 16:50:55 ---> job-cost.sh 16:50:55 lf-activate-venv: SKIPPING 16:50:55 INFO: No Stack... 16:50:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:50:56 INFO: Archiving Costs [Pipeline] sh 16:50:56 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:50:56 + cut -d, -f6 [Pipeline] lock 16:50:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] 16:50:56 Resource [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] did not exist. Created. 16:50:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:50:56 + echo total: 0.2199999988079071 [Pipeline] stash 16:50:56 Stashed 1 file(s) [Pipeline] } 16:50:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 16:50:56 $ docker stop --time=1 cfaa7bb55a5fec5524b1a59869b37152bc80dfcb396d8921f51bde39d69f5b73 16:50:57 $ docker rm -f --volumes cfaa7bb55a5fec5524b1a59869b37152bc80dfcb396d8921f51bde39d69f5b73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:50:59 using credential edgex-jenkins-ssh 16:50:59 Cloning the remote Git repository 16:50:59 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:51:00 > git init /w/workspace/device-sdk-go/139 # timeout=10 16:51:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:51:00 > git --version # timeout=10 16:51:00 > git --version # 'git version 2.25.1' 16:51:00 using GIT_SSH to set credentials SSH Credentials for GitHub 16:51:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:51:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:51:02 Avoid second fetch 16:51:02 Checking out Revision 7610f6dc338b87754f939bb9ede04e880837a002 (main) 16:51:03 Commit message: "Merge pull request #1283 from FelixTing/fix-typo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:51:02 > git config core.sparsecheckout # timeout=10 16:51:02 > git checkout -f 7610f6dc338b87754f939bb9ede04e880837a002 # timeout=10 16:51:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:51:04 % Total % Received % Xferd Average Speed Time Time Time Current 16:51:04 Dload Upload Total Spent Left Speed 16:51:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 16:51:04 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:51:05 + sudo tee /etc/docker/daemon.new 16:51:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:51:05 { 16:51:05 "registry-mirrors": [ 16:51:05 "https://nexus3.edgexfoundry.org:10001" 16:51:05 ], 16:51:05 "bip": "10.250.0.254/24", 16:51:05 "hosts": [ 16:51:05 "tcp://0.0.0.0:5555", 16:51:05 "unix:///var/run/docker.sock" 16:51:05 ], 16:51:05 "mtu": 1458, 16:51:05 "selinux-enabled": true, 16:51:05 "seccomp-profile": "/etc/docker/seccomp.json" 16:51:05 } [Pipeline] sh 16:51:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:51:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:51:23 provisioning config files... 16:51:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/139@tmp/config3745078820307737657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:51:24 ---> docker-login.sh 16:51:24 nexus3.edgexfoundry.org:10001 16:51:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:24 Configure a credential helper to remove this warning. See 16:51:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:24 16:51:24 Login Succeeded 16:51:24 nexus3.edgexfoundry.org:10002 16:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:25 Configure a credential helper to remove this warning. See 16:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:25 16:51:25 Login Succeeded 16:51:25 nexus3.edgexfoundry.org:10003 16:51:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:25 Configure a credential helper to remove this warning. See 16:51:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:25 16:51:25 Login Succeeded 16:51:25 nexus3.edgexfoundry.org:10004 16:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:26 Configure a credential helper to remove this warning. See 16:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:26 16:51:26 Login Succeeded 16:51:26 docker.io 16:51:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:51:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:51:26 Configure a credential helper to remove this warning. See 16:51:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:51:26 16:51:26 Login Succeeded 16:51:26 ---> docker-login.sh ends [Pipeline] } 16:51:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:51:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:51:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:51:26 ========================================================= 16:51:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:51:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:51:27 + 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 . 16:51:27 Sending build context to Docker daemon 5.612MB 16:51:27 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:51:27 Step 2/10 : FROM ${BASE} AS builder 16:51:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:51:27 9b18e9b68314: Pulling fs layer 16:51:27 35d82f9e3411: Pulling fs layer 16:51:27 e16973657156: Pulling fs layer 16:51:27 fc693d55d65f: Pulling fs layer 16:51:27 7e9fc2657dce: Pulling fs layer 16:51:27 dda99020689f: Pulling fs layer 16:51:27 db1c61fa0a46: Pulling fs layer 16:51:27 891c053d2c06: Pulling fs layer 16:51:27 dda99020689f: Waiting 16:51:27 fc693d55d65f: Waiting 16:51:27 7e9fc2657dce: Waiting 16:51:27 db1c61fa0a46: Waiting 16:51:27 891c053d2c06: Waiting 16:51:27 e16973657156: Verifying Checksum 16:51:27 e16973657156: Download complete 16:51:27 35d82f9e3411: Verifying Checksum 16:51:27 35d82f9e3411: Download complete 16:51:27 7e9fc2657dce: Verifying Checksum 16:51:27 7e9fc2657dce: Download complete 16:51:27 dda99020689f: Verifying Checksum 16:51:27 dda99020689f: Download complete 16:51:27 9b18e9b68314: Download complete 16:51:28 9b18e9b68314: Pull complete 16:51:29 35d82f9e3411: Pull complete 16:51:29 e16973657156: Pull complete 16:51:29 891c053d2c06: Verifying Checksum 16:51:29 891c053d2c06: Download complete 16:51:31 db1c61fa0a46: Verifying Checksum 16:51:31 db1c61fa0a46: Download complete 16:51:31 fc693d55d65f: Verifying Checksum 16:51:31 fc693d55d65f: Download complete 16:51:43 fc693d55d65f: Pull complete 16:51:43 7e9fc2657dce: Pull complete 16:51:43 dda99020689f: Pull complete 16:51:50 db1c61fa0a46: Pull complete 16:51:51 891c053d2c06: Pull complete 16:51:51 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:51:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:51:51 ---> f96f9c87975a 16:51:51 Step 3/10 : ARG MAKE=make build 16:51:53 ---> Running in 549542e16482 16:51:53 Removing intermediate container 549542e16482 16:51:53 ---> 0cb5cc5eafac 16:51:53 Step 4/10 : WORKDIR /device-sdk-go 16:51:53 ---> Running in acee2a3a6cb9 16:51:54 Removing intermediate container acee2a3a6cb9 16:51:54 ---> 94d51d45613d 16:51:54 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:51:54 ---> Running in 422fba421c38 16:51:54 Removing intermediate container 422fba421c38 16:51:54 ---> 5ee175ad5eea 16:51:54 Step 6/10 : RUN apk add --update --no-cache make git 16:51:54 ---> Running in 316bb52aa785 16:51:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:51:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:51:57 OK: 221 MiB in 51 packages 16:51:58 Removing intermediate container 316bb52aa785 16:51:58 ---> f6ea798d7298 16:51:58 Step 7/10 : COPY go.mod vendor* ./ 16:51:59 ---> aafe30963496 16:51:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:51:59 ---> Running in e7bc8d0845fb 16:52:55 Removing intermediate container e7bc8d0845fb 16:52:55 ---> 45b1bc37ef51 16:52:55 Step 9/10 : COPY . . 16:52:55 ---> 5bd88744b66e 16:52:55 Step 10/10 : RUN ${MAKE} 16:52:55 ---> Running in 39db7416db78 16:52:55 noop 16:52:55 Removing intermediate container 39db7416db78 16:52:55 ---> 16466450246e 16:52:55 Successfully built 16466450246e 16:52:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:52:55 + docker inspect -f . ci-base-image-arm64 16:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:52:56 prd-ubuntu20.04-docker-arm64-4c-16g-2589 does not seem to be running inside a container 16:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/139 -v /w/workspace/device-sdk-go/139:/w/workspace/device-sdk-go/139:rw,z -v /w/workspace/device-sdk-go/139@tmp:/w/workspace/device-sdk-go/139@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 16:52:57 $ docker top 8994097670a091941006189dd08c0e8bf8ff26745a492009e967d6f9b3562f5a -eo pid,comm [Pipeline] { [Pipeline] sh 16:52:58 + go version 16:52:58 go version go1.18.7 linux/arm64 [Pipeline] } 16:52:58 $ docker stop --time=1 8994097670a091941006189dd08c0e8bf8ff26745a492009e967d6f9b3562f5a 16:52:59 $ docker rm -f --volumes 8994097670a091941006189dd08c0e8bf8ff26745a492009e967d6f9b3562f5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:53:00 + docker inspect -f . ci-base-image-arm64 16:53:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:53:00 prd-ubuntu20.04-docker-arm64-4c-16g-2589 does not seem to be running inside a container 16:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/139 -v /w/workspace/device-sdk-go/139:/w/workspace/device-sdk-go/139:rw,z -v /w/workspace/device-sdk-go/139@tmp:/w/workspace/device-sdk-go/139@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 16:53:01 $ docker top bae5f292e896a4106039b675da148f8895642085d27097145dd6bdca81869c4e -eo pid,comm [Pipeline] { [Pipeline] sh 16:53:01 + git config --global --add safe.directory /w/workspace/device-sdk-go/139 [Pipeline] fileExists [Pipeline] sh 16:53:02 + make test 16:53:02 go test -race -coverprofile=coverage.out ./... 16:53:34 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:55:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:55:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.383s coverage: 27.6% of statements 16:55:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.395s coverage: 78.9% of statements 16:55:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:55:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.458s coverage: 73.6% of statements 16:55:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:55:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:55:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.758s coverage: 54.4% of statements 16:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:55:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 16:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.425s coverage: 65.1% of statements 16:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.568s coverage: 89.2% of statements 16:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:55:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.715s coverage: 4.6% of statements 16:55:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:55:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:55:26 GO111MODULE=on go vet ./... 16:57:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:57:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:57:18 ./bin/test-attribution-txt.sh [Pipeline] echo 16:57:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:57:18 $ docker stop --time=1 bae5f292e896a4106039b675da148f8895642085d27097145dd6bdca81869c4e 16:57:20 $ docker rm -f --volumes bae5f292e896a4106039b675da148f8895642085d27097145dd6bdca81869c4e [Pipeline] // withDockerContainer [Pipeline] sh 16:57:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:57:21 Warning: overwriting stash ‘coverage-report’ 16:57:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:57:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:57:22 + ls -al . 16:57:22 total 276 16:57:22 drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 16:53 . 16:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 16:51 .. 16:57:22 -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 16:51 .dockerignore 16:57:22 drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 16:51 .git 16:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 16:51 .github 16:57:22 -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 16:51 .gitignore 16:57:22 -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 16:51 .golangci.yml 16:57:22 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 16:51 CHANGELOG.md 16:57:22 -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 16:51 GOVERNANCE.md 16:57:22 -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 16:51 Jenkinsfile 16:57:22 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 16:51 LICENSE 16:57:22 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 16:51 Makefile 16:57:22 -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 16:51 OWNERS.md 16:57:22 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 16:51 README.md 16:57:22 -rw-rw-r-- 1 jenkins jenkins 11 Jan 16 16:48 VERSION 16:57:22 drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 16:51 bin 16:57:22 -rw-r--r-- 1 jenkins jenkins 101913 Jan 16 16:55 coverage.out 16:57:22 drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 16:51 example 16:57:22 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 16:51 go.mod 16:57:22 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 16:51 go.sum 16:57:22 drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 16:51 internal 16:57:22 drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 16:51 openapi 16:57:22 drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 16:51 pkg 16:57:22 drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 16:51 snap 16:57:22 -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 16:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:23 + 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=7610f6dc338b87754f939bb9ede04e880837a002 --label arch=arm64 --label version=3.0.0-dev.9 . 16:57:23 Sending build context to Docker daemon 5.715MB 16:57:23 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:57:23 Step 2/23 : FROM ${BASE} AS builder 16:57:23 ---> 16466450246e 16:57:23 Step 3/23 : ARG MAKE=make build 16:57:23 ---> Running in d8c052c3419d 16:57:24 Removing intermediate container d8c052c3419d 16:57:24 ---> 482242b931cd 16:57:24 Step 4/23 : WORKDIR /device-sdk-go 16:57:24 ---> Running in c8cf29d38d4c 16:57:24 Removing intermediate container c8cf29d38d4c 16:57:24 ---> 477fcec17f61 16:57:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:57:24 ---> Running in 9e47b718bda8 16:57:26 Removing intermediate container 9e47b718bda8 16:57:26 ---> 29e86901d0f6 16:57:26 Step 6/23 : RUN apk add --update --no-cache make git 16:57:26 ---> Running in 8edc6ed4cd94 16:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:57:28 OK: 221 MiB in 51 packages 16:57:30 Removing intermediate container 8edc6ed4cd94 16:57:30 ---> 51c206d9692c 16:57:30 Step 7/23 : COPY go.mod vendor* ./ 16:57:31 ---> c8ca444e45e7 16:57:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:57:31 ---> Running in 1edd5b41be99 16:57:33 Removing intermediate container 1edd5b41be99 16:57:33 ---> 41caffd4447e 16:57:33 Step 9/23 : COPY . . 16:57:34 ---> 3cb4acb0faee 16:57:34 Step 10/23 : RUN ${MAKE} 16:57:34 ---> Running in d4bdc5395fe6 16:57:35 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:59:42 Removing intermediate container d4bdc5395fe6 16:59:42 ---> 0058a4e845fc 16:59:42 Step 11/23 : FROM alpine:3.16 16:59:42 3.16: Pulling from library/alpine 16:59:42 6875df1f5354: Pulling fs layer 16:59:42 6875df1f5354: Verifying Checksum 16:59:42 6875df1f5354: Download complete 16:59:42 6875df1f5354: Pull complete 16:59:42 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:59:42 Status: Downloaded newer image for alpine:3.16 16:59:42 ---> 2b4661558fb8 16:59:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:59:42 ---> Running in b4430adaec92 16:59:42 Removing intermediate container b4430adaec92 16:59:42 ---> aa7a55eabac1 16:59:42 Step 13/23 : RUN apk add --update --no-cache 16:59:42 ---> Running in 9c022d94ae86 16:59:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:59:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:59:42 OK: 5 MiB in 14 packages 16:59:42 Removing intermediate container 9c022d94ae86 16:59:42 ---> a4d4f0586ac5 16:59:42 Step 14/23 : WORKDIR / 16:59:42 ---> Running in 291a0560591b 16:59:42 Removing intermediate container 291a0560591b 16:59:42 ---> 4e396dfb8f31 16:59:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:59:42 ---> d274c2ce411f 16:59:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:59:42 ---> 7661238e23ed 16:59:42 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:59:42 ---> a51b7f20cb7f 16:59:42 Step 18/23 : EXPOSE 59999 16:59:42 ---> Running in 05b9c25eaece 16:59:42 Removing intermediate container 05b9c25eaece 16:59:42 ---> 30048d39f7b5 16:59:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:59:42 ---> Running in e1015c50cadf 16:59:42 Removing intermediate container e1015c50cadf 16:59:42 ---> 958237510636 16:59:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:59:42 ---> Running in 67ce7bf74306 16:59:42 Removing intermediate container 67ce7bf74306 16:59:42 ---> 3864940c5cac 16:59:42 Step 21/23 : LABEL arch=arm64 16:59:42 ---> Running in d1be16f38c5e 16:59:42 Removing intermediate container d1be16f38c5e 16:59:42 ---> 7dd84679e979 16:59:42 Step 22/23 : LABEL git_sha=7610f6dc338b87754f939bb9ede04e880837a002 16:59:42 ---> Running in f28a9e9c30ad 16:59:42 Removing intermediate container f28a9e9c30ad 16:59:42 ---> f49708b43d1a 16:59:42 Step 23/23 : LABEL version=3.0.0-dev.9 16:59:42 ---> Running in 6a95f521dffa 16:59:42 Removing intermediate container 6a95f521dffa 16:59:42 ---> 511a13fcbdc5 16:59:42 [Warning] One or more build-args [ARCH] were not consumed 16:59:42 Successfully built 511a13fcbdc5 16:59:42 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 16:59:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:59:42 16:59:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:59:42 arm64: Pulling from edgex-lftools-log-publisher 16:59:42 8998bd30e6a1: Pulling fs layer 16:59:42 04944245beec: Pulling fs layer 16:59:42 699f458cf7ca: Pulling fs layer 16:59:42 765212b225bb: Pulling fs layer 16:59:42 f23df028b6ca: Pulling fs layer 16:59:42 d65c8cfc05b1: Pulling fs layer 16:59:42 2437ff75d9bd: Pulling fs layer 16:59:42 f23df028b6ca: Waiting 16:59:42 d65c8cfc05b1: Waiting 16:59:42 765212b225bb: Waiting 16:59:42 2437ff75d9bd: Waiting 16:59:43 04944245beec: Verifying Checksum 16:59:43 04944245beec: Download complete 16:59:43 765212b225bb: Verifying Checksum 16:59:43 765212b225bb: Download complete 16:59:43 f23df028b6ca: Verifying Checksum 16:59:43 f23df028b6ca: Download complete 16:59:43 d65c8cfc05b1: Verifying Checksum 16:59:43 d65c8cfc05b1: Download complete 16:59:43 699f458cf7ca: Verifying Checksum 16:59:43 699f458cf7ca: Download complete 16:59:43 8998bd30e6a1: Verifying Checksum 16:59:43 8998bd30e6a1: Download complete 16:59:47 8998bd30e6a1: Pull complete 16:59:47 2437ff75d9bd: Verifying Checksum 16:59:47 2437ff75d9bd: Download complete 16:59:47 04944245beec: Pull complete 16:59:49 699f458cf7ca: Pull complete 16:59:49 765212b225bb: Pull complete 16:59:50 f23df028b6ca: Pull complete 16:59:50 d65c8cfc05b1: Pull complete 17:00:05 2437ff75d9bd: Pull complete 17:00:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:00:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:05 prd-ubuntu20.04-docker-arm64-4c-16g-2589 does not seem to be running inside a container 17:00:05 $ 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/139 -v /w/workspace/device-sdk-go/139:/w/workspace/device-sdk-go/139:rw,z -v /w/workspace/device-sdk-go/139@tmp:/w/workspace/device-sdk-go/139@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 17:00:08 $ docker top fe5ecf67741c075f606303090c70ae30404f58497e9344e54bff4b75e0327df7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:08 ---> job-cost.sh 17:00:08 lf-activate-venv: SKIPPING 17:00:08 INFO: No Stack... 17:00:09 INFO: Retrieving Pricing Info for: v3-standard-4 17:00:10 INFO: Archiving Costs [Pipeline] sh 17:00:10 + cat /w/workspace/device-sdk-go/139/archives/cost.csv 17:00:10 + cut -d, -f6 [Pipeline] lock 17:00:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] 17:00:10 Resource [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] did not exist. Created. 17:00:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:00:11 /w/workspace/device-sdk-go/139@tmp/durable-02982ba9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:00:11 + echo total: 0.10999999940395355 [Pipeline] stash 17:00:11 Warning: overwriting stash ‘stack-cost’ 17:00:11 Stashed 1 file(s) [Pipeline] } 17:00:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 17:00:11 $ docker stop --time=1 fe5ecf67741c075f606303090c70ae30404f58497e9344e54bff4b75e0327df7 17:00:13 $ docker rm -f --volumes fe5ecf67741c075f606303090c70ae30404f58497e9344e54bff4b75e0327df7 [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 17:00:13 provisioning config files... 17:00:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8851590016102173635tmp [Pipeline] { [Pipeline] sh 17:00:14 + set +x 17:00:14 + bash -s -- 17:00:14 + curl -s https://codecov.io/bash 17:00:14 17:00:14 _____ _ 17:00:14 / ____| | | 17:00:14 | | ___ __| | ___ ___ _____ __ 17:00:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:00:14 | |___| (_) | (_| | __/ (_| (_) \ V / 17:00:14 \_____\___/ \__,_|\___|\___\___/ \_/ 17:00:14 Bash-1.0.6 17:00:14 17:00:14 17:00:14 ==> git version 2.25.1 found 17:00:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:00:14 Release-Date: 2020-01-08 17:00:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:00:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:00:14 ==> Jenkins CI detected. 17:00:14 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 17:00:14 project root: . 17:00:14 --> token set from env 17:00:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:00:14 ==> Running gcov in . (disable via -X gcov) 17:00:14 ==> Python coveragepy not found 17:00:14 ==> Searching for coverage reports in: 17:00:14 + . 17:00:14 -> Found 1 reports 17:00:14 ==> Detecting git/mercurial file structure 17:00:14 ==> Reading reports 17:00:14 + ./coverage.out bytes=101913 17:00:14 ==> Appending adjustments 17:00:14 https://docs.codecov.io/docs/fixing-reports 17:00:14 + Found adjustments 17:00:14 ==> Gzipping contents 17:00:14 16K /tmp/codecov.NRjfJ3.gz 17:00:14 ==> Uploading reports 17:00:14 url: https://codecov.io 17:00:14 query: branch=main&commit=7610f6dc338b87754f939bb9ede04e880837a002&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:00:14 -> Pinging Codecov 17:00:14 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=7610f6dc338b87754f939bb9ede04e880837a002&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:00:14 -> Uploading to 17:00:14 https://storage.googleapis.com/codecov/v4/raw/2023-01-16/7E55EF52A471D76F132DFD9A03CDDE97/7610f6dc338b87754f939bb9ede04e880837a002/10eed956-88d9-413a-9c15-1aa7fdf318ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230116T170014Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c3c873a9d25c642f970ce577c9dfa42854161fca16ed4090908ee861070ea60 17:00:14 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:14 Dload Upload Total Spent Left Speed 17:00:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14769 0 0 100 14769 0 53510 --:--:-- --:--:-- --:--:-- 53510 17:00:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] } 17:00:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:00:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:00:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:00:15 17:00:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:00:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:00:15 df9b9388f04a: Pulling fs layer 17:00:15 52dc419b0ee2: Pulling fs layer 17:00:15 25bc292e5bac: Pulling fs layer 17:00:15 114826534d7a: Pulling fs layer 17:00:15 4657fd5d0bcf: Pulling fs layer 17:00:15 6ad1cebc031e: Pulling fs layer 17:00:15 8a3aa393b2d8: Pulling fs layer 17:00:15 4657fd5d0bcf: Waiting 17:00:15 6ad1cebc031e: Waiting 17:00:15 114826534d7a: Waiting 17:00:15 8a3aa393b2d8: Waiting 17:00:15 25bc292e5bac: Verifying Checksum 17:00:15 25bc292e5bac: Download complete 17:00:15 52dc419b0ee2: Download complete 17:00:15 4657fd5d0bcf: Verifying Checksum 17:00:15 4657fd5d0bcf: Download complete 17:00:15 df9b9388f04a: Verifying Checksum 17:00:15 df9b9388f04a: Download complete 17:00:16 df9b9388f04a: Pull complete 17:00:16 52dc419b0ee2: Pull complete 17:00:16 25bc292e5bac: Pull complete 17:00:16 6ad1cebc031e: Verifying Checksum 17:00:16 6ad1cebc031e: Download complete 17:00:19 8a3aa393b2d8: Download complete 17:00:19 114826534d7a: Verifying Checksum 17:00:19 114826534d7a: Download complete 17:00:23 114826534d7a: Pull complete 17:00:23 4657fd5d0bcf: Pull complete 17:00:23 6ad1cebc031e: Pull complete 17:00:27 8a3aa393b2d8: Pull complete 17:00:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 17:00:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:00:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:27 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:00:27 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:00:32 $ docker top 55afd104b6196a34227211505bbdff3729d7dd2483aca55d12afb9e020ecdd49 -eo pid,comm [Pipeline] { [Pipeline] echo 17:00:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 17:00:32 + set -o pipefail 17:00:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 17:00:37 17:00:37 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 17:00:37 17:00:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/031420d1-eb46-42e0-87c2-6a8abd26125d 17:00:37 17:00:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:00:37 17:00:38 17:00:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 17:00:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 17:00:38 More details here: https://snyk.co/ue1NS [Pipeline] } 17:00:38 $ docker stop --time=1 55afd104b6196a34227211505bbdff3729d7dd2483aca55d12afb9e020ecdd49 17:00:42 $ docker rm -f --volumes 55afd104b6196a34227211505bbdff3729d7dd2483aca55d12afb9e020ecdd49 [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 17:00:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:00:43 provisioning config files... 17:00:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6964658426440457634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:00:43 --> edgex-publish-swagger.sh 17:00:43 === Publish openapi/v2 API === 17:00:43 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 17:00:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 17:00:43 % Total % Received % Xferd Average Speed Time Time Time Current 17:00:43 Dload Upload Total Spent Left Speed 17:00:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 235k --:--:-- --:--:-- --:--:-- 234k 100 53552 0 0 100 53552 0 43751 0:00:01 0:00:01 --:--:-- 43715 100 53590 100 38 100 53552 21 30461 0:00:01 0:00:01 --:--:-- 30466 17:00:45 {"code":403,"message":"Access Denied"} 17:00:45 [Pipeline] } 17:00:45 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 17:00:45 + git log --format=format:%s -1 7610f6dc338b87754f939bb9ede04e880837a002 [Pipeline] sh 17:00:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:00:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:00:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:00:46 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:00:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:00:46 $ docker top 85583a242004b20d7309555693064d3022a2e3e24d87cf3f0047c56a97f268ed -eo pid,comm 17:00:46 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). 17:00:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:00:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:00:46 [ssh-agent] Looking for ssh-agent implementation... 17:00:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:00:47 $ docker exec 85583a242004b20d7309555693064d3022a2e3e24d87cf3f0047c56a97f268ed ssh-agent 17:00:47 SSH_AUTH_SOCK=/tmp/ssh-T7bQm1qjtVvv/agent.32 17:00:47 SSH_AGENT_PID=38 17:00:47 Running ssh-add (command line suppressed) 17:00:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10464284521209885022.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10464284521209885022.key) 17:00:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:00:47 + git semver tag 17:00:47 2023-01-16 17:00:47,787 [run_tag] DEBUG tag force:False 17:00:47 2023-01-16 17:00:47,787 [check_head_tag] DEBUG check head tag 17:00:47 2023-01-16 17:00:47,788 [execute] INFO git cat-file --batch-check 17:00:47 2023-01-16 17:00:47,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:00:47 2023-01-16 17:00:47,794 [execute] INFO git cat-file --batch 17:00:47 2023-01-16 17:00:47,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 17:00:48 2023-01-16 17:00:47,821 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:00:48 2023-01-16 17:00:47,822 [execute] INFO git tag -a v3.0.0-dev.9 -m v3.0.0-dev.9 17:00:48 2023-01-16 17:00:47,822 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.9', '-m', 'v3.0.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 17:00:48 2023-01-16 17:00:47,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:00:48 3.0.0-dev.9 [Pipeline] } 17:00:48 $ docker exec --env ******** --env ******** 85583a242004b20d7309555693064d3022a2e3e24d87cf3f0047c56a97f268ed ssh-agent -k 17:00:48 unset SSH_AUTH_SOCK; 17:00:48 unset SSH_AGENT_PID; 17:00:48 echo Agent pid 38 killed; 17:00:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:00:48 + git semver [Pipeline] } 17:00:49 $ docker stop --time=1 85583a242004b20d7309555693064d3022a2e3e24d87cf3f0047c56a97f268ed 17:00:50 $ docker rm -f --volumes 85583a242004b20d7309555693064d3022a2e3e24d87cf3f0047c56a97f268ed [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:00:50 17:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:00:51 0.23.1-centos7: Pulling from edgex-lftools 17:00:51 ab5ef0e58194: Pulling fs layer 17:00:51 9712f1f96733: Pulling fs layer 17:00:51 63f879dbbcfc: Pulling fs layer 17:00:51 0d9ebad4ef96: Pulling fs layer 17:00:51 e9a5061849ea: Pulling fs layer 17:00:51 d747dcd14b5f: Pulling fs layer 17:00:51 2de7ff778b66: Pulling fs layer 17:00:51 0d9ebad4ef96: Waiting 17:00:51 e9a5061849ea: Waiting 17:00:51 d747dcd14b5f: Waiting 17:00:51 2de7ff778b66: Waiting 17:00:51 9712f1f96733: Download complete 17:00:53 63f879dbbcfc: Verifying Checksum 17:00:53 63f879dbbcfc: Download complete 17:00:53 e9a5061849ea: Verifying Checksum 17:00:53 e9a5061849ea: Download complete 17:00:53 d747dcd14b5f: Verifying Checksum 17:00:53 d747dcd14b5f: Download complete 17:00:53 ab5ef0e58194: Verifying Checksum 17:00:53 ab5ef0e58194: Download complete 17:00:53 0d9ebad4ef96: Verifying Checksum 17:00:53 0d9ebad4ef96: Download complete 17:00:53 2de7ff778b66: Verifying Checksum 17:00:53 2de7ff778b66: Download complete 17:00:57 ab5ef0e58194: Pull complete 17:00:57 9712f1f96733: Pull complete 17:00:58 63f879dbbcfc: Pull complete 17:01:02 0d9ebad4ef96: Pull complete 17:01:02 e9a5061849ea: Pull complete 17:01:02 d747dcd14b5f: Pull complete 17:01:03 2de7ff778b66: Pull complete 17:01:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:01:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:01:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:04 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:01:04 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:01:11 $ docker top b29ce7053f4fe622e6aaa6d551ab4fbdfc918056d8e01a98d2aaa1469ee40497 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:01:11 provisioning config files... 17:01:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6377911493964740793tmp 17:01:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3772463254602036102tmp 17:01:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8793287182478530754tmp [Pipeline] { [Pipeline] echo 17:01:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:01:11 ---> sigul-configuration.sh 17:01:11 gpg: directory `/root/.gnupg' created 17:01:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:01:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:01:11 gpg: keyring `/root/.gnupg/secring.gpg' created 17:01:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:01:11 gpg: CAST5 encrypted data 17:01:11 gpg: encrypted with 1 passphrase 17:01:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:01:12 + mkdir /home/jenkins 17:01:12 + mkdir /home/jenkins/sigul [Pipeline] sh 17:01:12 + 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 17:01:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:01:12 ---> sigul-install.sh 17:01:12 Sigul already installed; skipping installation. [Pipeline] sh 17:01:13 + git tag --list 17:01:13 0.7.1 17:01:13 delhi-tag 17:01:13 v1.0.0 17:01:13 v1.1.0 17:01:13 v1.1.1 17:01:13 v1.1.2 17:01:13 v1.2.0 17:01:13 v1.2.1 17:01:13 v1.2.2 17:01:13 v1.2.3 17:01:13 v1.3.0 17:01:13 v1.4.0 17:01:13 v2.0.0 17:01:13 v2.1.0 17:01:13 v2.1.1 17:01:13 v2.1.1-dev.2 17:01:13 v2.1.1-dev.3 17:01:13 v2.2.0 17:01:13 v2.2.1-dev.1 17:01:13 v2.2.1-dev.10 17:01:13 v2.2.1-dev.11 17:01:13 v2.2.1-dev.12 17:01:13 v2.2.1-dev.13 17:01:13 v2.2.1-dev.14 17:01:13 v2.2.1-dev.2 17:01:13 v2.2.1-dev.3 17:01:13 v2.2.1-dev.4 17:01:13 v2.2.1-dev.5 17:01:13 v2.2.1-dev.6 17:01:13 v2.2.1-dev.7 17:01:13 v2.2.1-dev.8 17:01:13 v2.2.1-dev.9 17:01:13 v2.3.0 17:01:13 v2.3.0-dev.14 17:01:13 v2.3.0-dev.15 17:01:13 v2.3.0-dev.16 17:01:13 v2.3.0-dev.17 17:01:13 v2.3.0-dev.18 17:01:13 v2.3.0-dev.19 17:01:13 v2.3.0-dev.20 17:01:13 v2.3.0-dev.21 17:01:13 v2.3.0-dev.22 17:01:13 v2.3.0-dev.23 17:01:13 v2.3.0-dev.24 17:01:13 v2.3.0-dev.25 17:01:13 v2.3.0-dev.26 17:01:13 v2.3.0-dev.27 17:01:13 v2.3.0-dev.28 17:01:13 v2.3.0-dev.29 17:01:13 v2.3.0-dev.30 17:01:13 v2.3.0-dev.31 17:01:13 v2.3.0-dev.32 17:01:13 v2.3.0-dev.33 17:01:13 v2.3.0-dev.34 17:01:13 v2.3.0-dev.35 17:01:13 v2.3.0-dev.36 17:01:13 v2.3.0-dev.37 17:01:13 v2.3.0-dev.38 17:01:13 v2.3.0-dev.39 17:01:13 v2.3.0-dev.40 17:01:13 v2.3.0-dev.41 17:01:13 v2.3.0-dev.42 17:01:13 v2.3.0-dev.43 17:01:13 v2.3.0-dev.44 17:01:13 v2.3.0-dev.45 17:01:13 v2.3.0-dev.46 17:01:13 v2.3.0-dev.47 17:01:13 v2.3.0-dev.48 17:01:13 v2.3.0-dev.49 17:01:13 v2.3.0-dev.50 17:01:13 v2.3.0-dev.51 17:01:13 v2.3.1-dev.1 17:01:13 v2.3.1-dev.2 17:01:13 v3.0.0-dev.1 17:01:13 v3.0.0-dev.2 17:01:13 v3.0.0-dev.3 17:01:13 v3.0.0-dev.4 17:01:13 v3.0.0-dev.5 17:01:13 v3.0.0-dev.6 17:01:13 v3.0.0-dev.7 17:01:13 v3.0.0-dev.8 17:01:13 v3.0.0-dev.9 [Pipeline] sh 17:01:13 + lftools sign git-tag v3.0.0-dev.9 17:01:13 Signing Git tag with Sigul... 17:01:13 Signing v3.0.0-dev.9 [Pipeline] echo 17:01:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:01:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:01:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:01:14 $ docker stop --time=1 b29ce7053f4fe622e6aaa6d551ab4fbdfc918056d8e01a98d2aaa1469ee40497 17:01:16 $ docker rm -f --volumes b29ce7053f4fe622e6aaa6d551ab4fbdfc918056d8e01a98d2aaa1469ee40497 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:01:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:16 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:01:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:01:17 $ docker top 7625f6f400ba727e6651a0c11de8f10a41a63bd36778b3ffc035c52498bd9526 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:17 [ssh-agent] Looking for ssh-agent implementation... 17:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:17 $ docker exec 7625f6f400ba727e6651a0c11de8f10a41a63bd36778b3ffc035c52498bd9526 ssh-agent 17:01:17 SSH_AUTH_SOCK=/tmp/ssh-dhHDFxLM1nSg/agent.31 17:01:17 SSH_AGENT_PID=37 17:01:17 Running ssh-add (command line suppressed) 17:01:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_362261514090028282.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_362261514090028282.key) 17:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:18 + git semver bump pre 17:01:18 2023-01-16 17:01:18,324 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:01:18 2023-01-16 17:01:18,324 [bump_version] DEBUG bumping version:3.0.0-dev.9 on axis:pre with prefix:dev 17:01:18 2023-01-16 17:01:18,325 [bump_version] DEBUG bumped version:3.0.0-dev.10 17:01:18 2023-01-16 17:01:18,325 [write_version] DEBUG write version:3.0.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 17:01:18 2023-01-16 17:01:18,325 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:01:18 2023-01-16 17:01:18,325 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:01:18 2023-01-16 17:01:18,328 [execute] INFO git cat-file --batch-check 17:01:18 2023-01-16 17:01:18,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:18 2023-01-16 17:01:18,335 [execute] INFO git cat-file --batch 17:01:18 2023-01-16 17:01:18,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:18 2023-01-16 17:01:18,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:01:18 3.0.0-dev.10 [Pipeline] } 17:01:18 $ docker exec --env ******** --env ******** 7625f6f400ba727e6651a0c11de8f10a41a63bd36778b3ffc035c52498bd9526 ssh-agent -k 17:01:18 unset SSH_AUTH_SOCK; 17:01:18 unset SSH_AGENT_PID; 17:01:18 echo Agent pid 37 killed; 17:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:19 + git semver [Pipeline] } 17:01:19 $ docker stop --time=1 7625f6f400ba727e6651a0c11de8f10a41a63bd36778b3ffc035c52498bd9526 17:01:20 $ docker rm -f --volumes 7625f6f400ba727e6651a0c11de8f10a41a63bd36778b3ffc035c52498bd9526 [Pipeline] // withDockerContainer [Pipeline] sh 17:01:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:01:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:01:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:21 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:01:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:01:21 $ docker top 36d5713ad3e782ddee0e1bbb8cebcafa12e203e858f2781fb59182e7902c4400 -eo pid,comm 17:01:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:01:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:01:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:01:21 [ssh-agent] Looking for ssh-agent implementation... 17:01:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:01:22 $ docker exec 36d5713ad3e782ddee0e1bbb8cebcafa12e203e858f2781fb59182e7902c4400 ssh-agent 17:01:22 SSH_AUTH_SOCK=/tmp/ssh-Ik15frgW4Uc6/agent.32 17:01:22 SSH_AGENT_PID=38 17:01:22 Running ssh-add (command line suppressed) 17:01:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5828275096274881105.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5828275096274881105.key) 17:01:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:01:22 + git semver push 17:01:22 2023-01-16 17:01:22,740 [run_push] DEBUG push 17:01:22 2023-01-16 17:01:22,741 [execute] INFO git cat-file --batch-check 17:01:22 2023-01-16 17:01:22,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 17:01:22 2023-01-16 17:01:22,745 [execute] INFO git rev-list 03e39f0ee5ca55ee17c4c004e62d13850f943d04 -- 17:01:22 2023-01-16 17:01:22,745 [execute] DEBUG Popen(['git', 'rev-list', '03e39f0ee5ca55ee17c4c004e62d13850f943d04', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:01:22 2023-01-16 17:01:22,757 [execute] INFO git fetch -v origin 17:01:22 2023-01-16 17:01:22,757 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 17:01:23 2023-01-16 17:01:23,306 [run_push] DEBUG no remote changes detected 17:01:23 2023-01-16 17:01:23,307 [execute] INFO git push origin semver 17:01:23 2023-01-16 17:01:23,307 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 17:01:24 2023-01-16 17:01:24,444 [run_push] DEBUG push all version tags 17:01:24 2023-01-16 17:01:24,445 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 17:01:24 2023-01-16 17:01:24,446 [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) 17:01:25 2023-01-16 17:01:25,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 17:01:25 3.0.0-dev.10 [Pipeline] } 17:01:25 $ docker exec --env ******** --env ******** 36d5713ad3e782ddee0e1bbb8cebcafa12e203e858f2781fb59182e7902c4400 ssh-agent -k 17:01:25 unset SSH_AUTH_SOCK; 17:01:25 unset SSH_AGENT_PID; 17:01:25 echo Agent pid 38 killed; 17:01:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:01:25 + git semver [Pipeline] } 17:01:26 $ docker stop --time=1 36d5713ad3e782ddee0e1bbb8cebcafa12e203e858f2781fb59182e7902c4400 17:01:27 $ docker rm -f --volumes 36d5713ad3e782ddee0e1bbb8cebcafa12e203e858f2781fb59182e7902c4400 [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 17:01:27 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 17:01:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:01:27 total 16 17:01:27 drwxr-xr-x 3 root root 4096 Jan 16 16:50 . 17:01:27 drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 17:01 .. 17:01:27 drwxr-xr-x 2 root root 4096 Jan 16 16:50 cost 17:01:27 -rw-r--r-- 1 root root 85 Jan 16 16:50 cost.csv 17:01:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:01:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 17:01:27 total 16 17:01:27 drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 16:50 . 17:01:27 drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 17:01 .. 17:01:27 drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 16:50 cost 17:01:27 -rw-r--r-- 1 jenkins jenkins 85 Jan 16 16:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:01:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:01:29 ---> package-listing.sh 17:01:29 ++ facter osfamily 17:01:29 ++ tr '[:upper:]' '[:lower:]' 17:01:29 + OS_FAMILY=debian 17:01:29 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 17:01:29 + START_PACKAGES=/tmp/packages_start.txt 17:01:29 + END_PACKAGES=/tmp/packages_end.txt 17:01:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:01:29 + PACKAGES=/tmp/packages_start.txt 17:01:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:01:29 + PACKAGES=/tmp/packages_end.txt 17:01:29 + case "${OS_FAMILY}" in 17:01:29 + dpkg -l 17:01:29 + grep '^ii' 17:01:29 + '[' -f /tmp/packages_start.txt ']' 17:01:29 + '[' -f /tmp/packages_end.txt ']' 17:01:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:01:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 17:01:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 17:01:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 17:01:29 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 17:01:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:01:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:01:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:01:30 prd-ubuntu20.04-docker-8c-8g-2588 does not seem to be running inside a container 17:01:30 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:01:30 $ docker top f4e17e6bfee7f371f15a922e413f4efc0593dc3bd3373c77eb6b124e678748d7 -eo pid,comm [Pipeline] { [Pipeline] sh 17:01:30 + touch /tmp/pre-build-complete [Pipeline] sh 17:01:31 + mkdir -p /var/log/sysstat [Pipeline] sh 17:01:31 + ls /var/log/sa-host 17:01:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:01:31 provisioning config files... 17:01:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9894349238986838664tmp [Pipeline] { [Pipeline] echo 17:01:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:01:31 ---> create-netrc.sh [Pipeline] } 17:01:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:01:32 ---> python-tools-install.sh [Pipeline] echo 17:01:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:01:32 ---> sudo-logs.sh 17:01:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:01:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:01:32 ---> job-cost.sh 17:01:32 lf-activate-venv: SKIPPING 17:01:32 DEBUG: total: 0.2199999988079071 17:01:32 INFO: Retrieving Stack Cost... 17:01:33 INFO: Retrieving Pricing Info for: v3-standard-8 17:01:33 INFO: Archiving Costs [Pipeline] echo 17:01:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:01:33 ---> logs-deploy.sh 17:01:33 lf-activate-venv: SKIPPING 17:01:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/139 17:01:33 INFO: archiving workspace using pattern(s): 17:01:34 Archives upload complete. 17:01:35 INFO: archiving logs to Nexus 17:01:35 ---> uname -a: 17:01:35 Linux prd-ubuntu20-04-docker-8c-8g-2588 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:01:35 17:01:35 17:01:35 ---> lscpu: 17:01:35 Architecture: x86_64 17:01:35 CPU op-mode(s): 32-bit, 64-bit 17:01:35 Byte Order: Little Endian 17:01:35 Address sizes: 40 bits physical, 48 bits virtual 17:01:35 CPU(s): 8 17:01:35 On-line CPU(s) list: 0-7 17:01:35 Thread(s) per core: 1 17:01:35 Core(s) per socket: 1 17:01:35 Socket(s): 8 17:01:35 NUMA node(s): 1 17:01:35 Vendor ID: AuthenticAMD 17:01:35 CPU family: 23 17:01:35 Model: 49 17:01:35 Model name: AMD EPYC-Rome Processor 17:01:35 Stepping: 0 17:01:35 CPU MHz: 2799.988 17:01:35 BogoMIPS: 5599.97 17:01:35 Virtualization: AMD-V 17:01:35 Hypervisor vendor: KVM 17:01:35 Virtualization type: full 17:01:35 L1d cache: 256 KiB 17:01:35 L1i cache: 256 KiB 17:01:35 L2 cache: 4 MiB 17:01:35 L3 cache: 128 MiB 17:01:35 NUMA node0 CPU(s): 0-7 17:01:35 Vulnerability Itlb multihit: Not affected 17:01:35 Vulnerability L1tf: Not affected 17:01:35 Vulnerability Mds: Not affected 17:01:35 Vulnerability Meltdown: Not affected 17:01:35 Vulnerability Mmio stale data: Not affected 17:01:35 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:01:35 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:01:35 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:01:35 Vulnerability Srbds: Not affected 17:01:35 Vulnerability Tsx async abort: Not affected 17:01:35 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 17:01:35 17:01:35