Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93a0268657819106988a1ad83ac56bb06d25ff7d 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-ssh18168506656178859103.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-ssh11731733961494174530.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-ssh3224313496281536258.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-ssh18302345450645522275.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-ssh5851574403132092279.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4688 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 > 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 Avoid second fetch Checking out Revision 93a0268657819106988a1ad83ac56bb06d25ff7d (main) Commit message: "feat: Add resource, command, and device tags to reading/event (#1297)" > git config core.sparsecheckout # timeout=10 > git checkout -f 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 > git rev-list --no-walk 3773e8a09c42b3e5a0abcc52fe8487ac954c24c5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:21:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:21:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:21:53 ========================================================= 16:21:53 EdgeX Global Pipelines Version Info 16:21:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:21:54 ------------------- 16:21:54 stable info: 16:21:54 ------------------- 16:21:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:21:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:21:54 Message: update stable to v1.0.244 16:21:55 ------------------- 16:21:55 experimental info: 16:21:55 ------------------- 16:21:55 Commited By: **** collab-it+edgex@linuxfoundation.org 16:21:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:21:55 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93a0268 [Pipeline] echo 16:21:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:55 provisioning config files... 16:21:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9744226662721238201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:56 ---> docker-login.sh 16:21:56 nexus3.edgexfoundry.org:10001 16:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:56 Configure a credential helper to remove this warning. See 16:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:56 16:21:56 Login Succeeded 16:21:56 nexus3.edgexfoundry.org:10002 16:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:56 Configure a credential helper to remove this warning. See 16:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:56 16:21:56 Login Succeeded 16:21:56 nexus3.edgexfoundry.org:10003 16:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:56 Configure a credential helper to remove this warning. See 16:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:56 16:21:56 Login Succeeded 16:21:56 nexus3.edgexfoundry.org:10004 16:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:56 Configure a credential helper to remove this warning. See 16:21:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:56 16:21:56 Login Succeeded 16:21:56 docker.io 16:21:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:21:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:21:57 Configure a credential helper to remove this warning. See 16:21:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:21:57 16:21:57 Login Succeeded 16:21:57 ---> docker-login.sh ends [Pipeline] } 16:21:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:21:57 + git rev-list -1 --merges 93a0268657819106988a1ad83ac56bb06d25ff7d~1..93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] echo 16:21:57 -----------> git rev-list -1 --merges 93a0268657819106988a1ad83ac56bb06d25ff7d~1..93a0268657819106988a1ad83ac56bb06d25ff7d 93a0268657819106988a1ad83ac56bb06d25ff7d [false] [Pipeline] sh 16:21:58 + git log --format=format:%s -1 93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] echo 16:21:58 ========================================================= 16:21:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:21:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:21:58 + git log --format=format:%s -1 93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] echo 16:21:58 [semverPrep] GIT_COMMIT: 93a0268657819106988a1ad83ac56bb06d25ff7d, Commit Message: feat: Add resource, command, and device tags to reading/event (#1297) [Pipeline] echo 16:21:58 [semverPrep] This is not a build commit. [Pipeline] sh 16:21:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:21:58 + grep -v github /etc/ssh/ssh_known_hosts 16:21:58 + [ -e /tmp/ssh_known_hosts ] 16:21:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:21:58 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 16:21:58 tee -a /etc/ssh/ssh_known_hosts 16:21:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:59 16:21:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:21:59 0.1.4: Pulling from edgex-devops/py-git-semver 16:21:59 b85a868b505f: Pulling fs layer 16:21:59 e2be974225ed: Pulling fs layer 16:21:59 339a4e72a1f5: Pulling fs layer 16:21:59 988bab9f4d93: Pulling fs layer 16:21:59 1469e6f7b9e6: Pulling fs layer 16:21:59 eaf3925da568: Pulling fs layer 16:21:59 bab4dde63d76: Pulling fs layer 16:21:59 bde34c3a00c8: Pulling fs layer 16:21:59 b352a97aabf1: Pulling fs layer 16:21:59 4872d77fe225: Pulling fs layer 16:21:59 5851b861e8e6: Pulling fs layer 16:21:59 988bab9f4d93: Waiting 16:21:59 1469e6f7b9e6: Waiting 16:21:59 eaf3925da568: Waiting 16:21:59 bab4dde63d76: Waiting 16:21:59 4872d77fe225: Waiting 16:21:59 5851b861e8e6: Waiting 16:21:59 b352a97aabf1: Waiting 16:21:59 bde34c3a00c8: Waiting 16:21:59 e2be974225ed: Download complete 16:21:59 988bab9f4d93: Verifying Checksum 16:21:59 988bab9f4d93: Download complete 16:22:00 339a4e72a1f5: Verifying Checksum 16:22:00 339a4e72a1f5: Download complete 16:22:00 eaf3925da568: Download complete 16:22:00 1469e6f7b9e6: Verifying Checksum 16:22:00 1469e6f7b9e6: Download complete 16:22:00 bde34c3a00c8: Verifying Checksum 16:22:00 bde34c3a00c8: Download complete 16:22:00 b352a97aabf1: Verifying Checksum 16:22:00 b352a97aabf1: Download complete 16:22:00 4872d77fe225: Verifying Checksum 16:22:00 4872d77fe225: Download complete 16:22:00 5851b861e8e6: Download complete 16:22:00 b85a868b505f: Verifying Checksum 16:22:00 b85a868b505f: Download complete 16:22:00 bab4dde63d76: Verifying Checksum 16:22:00 bab4dde63d76: Download complete 16:22:02 b85a868b505f: Pull complete 16:22:02 e2be974225ed: Pull complete 16:22:03 339a4e72a1f5: Pull complete 16:22:03 988bab9f4d93: Pull complete 16:22:03 1469e6f7b9e6: Pull complete 16:22:03 eaf3925da568: Pull complete 16:22:05 bab4dde63d76: Pull complete 16:22:05 bde34c3a00c8: Pull complete 16:22:06 b352a97aabf1: Pull complete 16:22:06 4872d77fe225: Pull complete 16:22:06 5851b861e8e6: Pull complete 16:22:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:22:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:22:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:06 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:22:10 $ docker top 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc -eo pid,comm 16:22:10 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:22:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:22:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:10 [ssh-agent] Looking for ssh-agent implementation... 16:22:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:10 $ docker exec 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc ssh-agent 16:22:10 SSH_AUTH_SOCK=/tmp/ssh-dxstvPNfyyhL/agent.32 16:22:10 SSH_AGENT_PID=38 16:22:10 Running ssh-add (command line suppressed) 16:22:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14610979641572349350.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14610979641572349350.key) 16:22:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:11 + git tag --points-at HEAD [Pipeline] } 16:22:11 $ docker exec --env ******** --env ******** 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc ssh-agent -k 16:22:11 unset SSH_AUTH_SOCK; 16:22:11 unset SSH_AGENT_PID; 16:22:11 echo Agent pid 38 killed; 16:22:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:22:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:22:11 [ssh-agent] Looking for ssh-agent implementation... 16:22:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:22:11 $ docker exec 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc ssh-agent 16:22:11 SSH_AUTH_SOCK=/tmp/ssh-VDKLIW4GR2xT/agent.70 16:22:11 SSH_AGENT_PID=76 16:22:11 Running ssh-add (command line suppressed) 16:22:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3689709671751856621.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3689709671751856621.key) 16:22:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:22:11 + git semver init 16:22:12 2023-02-06 16:22:12,168 [run_init] DEBUG init version:0.0.0 force:False 16:22:12 2023-02-06 16:22:12,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:22:12 2023-02-06 16:22:12,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:22:12 2023-02-06 16:22:12,170 [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:22:13 2023-02-06 16:22:13,580 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:22:13 2023-02-06 16:22:13,581 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:22:13 2023-02-06 16:22:13,581 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:22:13 2023-02-06 16:22:13,581 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:22:13 3.0.0-dev.20 [Pipeline] } 16:22:13 $ docker exec --env ******** --env ******** 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc ssh-agent -k 16:22:13 unset SSH_AUTH_SOCK; 16:22:13 unset SSH_AGENT_PID; 16:22:13 echo Agent pid 76 killed; 16:22:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:22:14 + git semver [Pipeline] } 16:22:14 $ docker stop --time=1 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc 16:22:15 $ docker rm -f --volumes 7501f7b3bb333c4efb2b92ae1064143a05df8209ae48272230349728be7da2fc [Pipeline] // withDockerContainer [Pipeline] sh 16:22:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:22:16 Stashed 1 file(s) [Pipeline] echo 16:22:16 [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [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:22:16 provisioning config files... 16:22:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17899672405433209799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:16 ---> docker-login.sh 16:22:16 nexus3.edgexfoundry.org:10001 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 nexus3.edgexfoundry.org:10002 16:22:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:16 Configure a credential helper to remove this warning. See 16:22:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:16 16:22:16 Login Succeeded 16:22:16 nexus3.edgexfoundry.org:10003 16:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:17 Configure a credential helper to remove this warning. See 16:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:17 16:22:17 Login Succeeded 16:22:17 nexus3.edgexfoundry.org:10004 16:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:17 Configure a credential helper to remove this warning. See 16:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:17 16:22:17 Login Succeeded 16:22:17 docker.io 16:22:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:22:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:22:17 Configure a credential helper to remove this warning. See 16:22:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:22:17 16:22:17 Login Succeeded 16:22:17 ---> docker-login.sh ends [Pipeline] } 16:22:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:22:17 ========================================================= 16:22:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:22:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:17 + 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:22:17 Sending build context to Docker daemon 10.51MB 16:22:17 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:22:17 Step 2/10 : FROM ${BASE} AS builder 16:22:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:22:17 213ec9aee27d: Pulling fs layer 16:22:17 4583459ba037: Pulling fs layer 16:22:17 93c1e223e6f2: Pulling fs layer 16:22:17 53926ce57604: Pulling fs layer 16:22:17 21b2b0c7a3f4: Pulling fs layer 16:22:17 22ff95d597cd: Pulling fs layer 16:22:17 12d6caf4c0d1: Pulling fs layer 16:22:17 96b7cbca73a9: Pulling fs layer 16:22:17 a7acece74701: Pulling fs layer 16:22:17 22ff95d597cd: Waiting 16:22:17 53926ce57604: Waiting 16:22:17 21b2b0c7a3f4: Waiting 16:22:17 a7acece74701: Waiting 16:22:17 12d6caf4c0d1: Waiting 16:22:17 96b7cbca73a9: Waiting 16:22:17 93c1e223e6f2: Verifying Checksum 16:22:17 93c1e223e6f2: Download complete 16:22:18 4583459ba037: Verifying Checksum 16:22:18 4583459ba037: Download complete 16:22:18 21b2b0c7a3f4: Verifying Checksum 16:22:18 21b2b0c7a3f4: Download complete 16:22:18 22ff95d597cd: Verifying Checksum 16:22:18 22ff95d597cd: Download complete 16:22:18 213ec9aee27d: Verifying Checksum 16:22:18 12d6caf4c0d1: Download complete 16:22:18 213ec9aee27d: Pull complete 16:22:18 4583459ba037: Pull complete 16:22:18 93c1e223e6f2: Pull complete 16:22:19 a7acece74701: Verifying Checksum 16:22:19 a7acece74701: Download complete 16:22:19 53926ce57604: Verifying Checksum 16:22:19 53926ce57604: Download complete 16:22:19 96b7cbca73a9: Verifying Checksum 16:22:19 96b7cbca73a9: Download complete 16:22:22 53926ce57604: Pull complete 16:22:22 21b2b0c7a3f4: Pull complete 16:22:23 22ff95d597cd: Pull complete 16:22:23 12d6caf4c0d1: Pull complete 16:22:25 96b7cbca73a9: Pull complete 16:22:26 a7acece74701: Pull complete 16:22:26 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:22:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:22:26 ---> db6d94c90886 16:22:26 Step 3/10 : ARG MAKE=make build 16:22:31 Still waiting to schedule task 16:22:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:22:38 ---> Running in 0e7b7e43fd3a 16:22:38 Removing intermediate container 0e7b7e43fd3a 16:22:38 ---> a82081b1fd75 16:22:38 Step 4/10 : WORKDIR /device-sdk-go 16:22:39 ---> Running in f245ddd9b580 16:22:39 Removing intermediate container f245ddd9b580 16:22:39 ---> 1db5676b184a 16:22:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:22:39 ---> Running in ccc87d293e79 16:22:39 Removing intermediate container ccc87d293e79 16:22:39 ---> 66147d47df4b 16:22:39 Step 6/10 : RUN apk add --update --no-cache make git 16:22:40 ---> Running in 33b8fea242af 16:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:22:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:22:40 OK: 211 MiB in 51 packages 16:22:41 Removing intermediate container 33b8fea242af 16:22:41 ---> 5446b5c5637b 16:22:41 Step 7/10 : COPY go.mod vendor* ./ 16:22:41 ---> 75123c072bb2 16:22:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:22:41 ---> Running in c69b856d7b19 16:23:49 Removing intermediate container c69b856d7b19 16:23:49 ---> dd373394fd87 16:23:49 Step 9/10 : COPY . . 16:23:49 ---> c2e91ecc03b1 16:23:49 Step 10/10 : RUN ${MAKE} 16:23:49 ---> Running in a8600a35746c 16:23:49 noop 16:23:49 Removing intermediate container a8600a35746c 16:23:49 ---> f34794dbe985 16:23:49 Successfully built f34794dbe985 16:23:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:50 + docker inspect -f . ci-base-image-x86_64 16:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:50 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:23:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:23:51 $ docker top e37baab6756a5fc46465665e10b91687469c7cb1479a0ff74a815c5c8bbb1517 -eo pid,comm [Pipeline] { [Pipeline] sh 16:23:51 + go version 16:23:51 go version go1.18.7 linux/amd64 [Pipeline] } 16:23:51 $ docker stop --time=1 e37baab6756a5fc46465665e10b91687469c7cb1479a0ff74a815c5c8bbb1517 16:23:53 $ docker rm -f --volumes e37baab6756a5fc46465665e10b91687469c7cb1479a0ff74a815c5c8bbb1517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:54 + docker inspect -f . ci-base-image-x86_64 16:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:54 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:23:54 $ docker top 6076f570bb7261a468d46fc57f55920fac31daf298fba72707a60ba7e493e488 -eo pid,comm [Pipeline] { [Pipeline] sh 16:23:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:23:55 + make test 16:23:55 go test -race -coverprofile=coverage.out ./... 16:24:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:24:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4689 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:24:02 Running in /w/workspace/device-sdk-go/150 [Pipeline] { [Pipeline] checkout 16:24:02 The recommended git tool is: git 16:24:07 using credential edgex-jenkins-ssh 16:24:07 Cloning the remote Git repository 16:24:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:24:07 > git init /w/workspace/device-sdk-go/150 # timeout=10 16:24:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:24:07 > git --version # timeout=10 16:24:07 > git --version # 'git version 2.25.1' 16:24:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:24:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:11 Avoid second fetch 16:24:11 Checking out Revision 93a0268657819106988a1ad83ac56bb06d25ff7d (main) 16:24:11 Commit message: "feat: Add resource, command, and device tags to reading/event (#1297)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:11 > git config core.sparsecheckout # timeout=10 16:24:11 > git checkout -f 93a0268657819106988a1ad83ac56bb06d25ff7d # timeout=10 16:24:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:12 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:12 Dload Upload Total Spent Left Speed 16:24:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh 16:24:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:13 + sudo tee /etc/docker/daemon.new 16:24:13 { 16:24:13 "registry-mirrors": [ 16:24:13 "https://nexus3.edgexfoundry.org:10001" 16:24:13 ], 16:24:13 "bip": "10.250.0.254/24", 16:24:13 "hosts": [ 16:24:13 "tcp://0.0.0.0:5555", 16:24:13 "unix:///var/run/docker.sock" 16:24:13 ], 16:24:13 "mtu": 1458, 16:24:13 "selinux-enabled": true, 16:24:13 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:13 } [Pipeline] sh 16:24:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:14 + sudo service docker restart 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 77.8% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 59.8% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.097s coverage: 65.2% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.814s coverage: 89.2% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:24:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements 16:24:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:24:31 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:24:31 GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:32 provisioning config files... 16:24:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/150@tmp/config1995063608159715798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:33 ---> docker-login.sh 16:24:33 nexus3.edgexfoundry.org:10001 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:33 Configure a credential helper to remove this warning. See 16:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:33 16:24:33 Login Succeeded 16:24:33 nexus3.edgexfoundry.org:10002 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:33 Configure a credential helper to remove this warning. See 16:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:33 16:24:33 Login Succeeded 16:24:33 nexus3.edgexfoundry.org:10003 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 nexus3.edgexfoundry.org:10004 16:24:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:34 Configure a credential helper to remove this warning. See 16:24:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:34 16:24:34 Login Succeeded 16:24:34 docker.io 16:24:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:35 Configure a credential helper to remove this warning. See 16:24:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:35 16:24:35 Login Succeeded 16:24:35 ---> docker-login.sh ends [Pipeline] } 16:24:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:35 ========================================================= 16:24:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:24:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:35 + 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:24:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:24:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:24:36 ./bin/test-attribution-txt.sh [Pipeline] echo 16:24:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:24:36 $ docker stop --time=1 6076f570bb7261a468d46fc57f55920fac31daf298fba72707a60ba7e493e488 16:24:36 Sending build context to Docker daemon 5.647MB 16:24:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:24:36 Step 2/10 : FROM ${BASE} AS builder 16:24:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:24:36 9b18e9b68314: Pulling fs layer 16:24:36 35d82f9e3411: Pulling fs layer 16:24:36 e16973657156: Pulling fs layer 16:24:36 fc693d55d65f: Pulling fs layer 16:24:36 7e9fc2657dce: Pulling fs layer 16:24:36 dda99020689f: Pulling fs layer 16:24:36 db1c61fa0a46: Pulling fs layer 16:24:36 891c053d2c06: Pulling fs layer 16:24:36 fc693d55d65f: Waiting 16:24:36 dda99020689f: Waiting 16:24:36 7e9fc2657dce: Waiting 16:24:36 db1c61fa0a46: Waiting 16:24:36 891c053d2c06: Waiting 16:24:36 e16973657156: Verifying Checksum 16:24:36 e16973657156: Download complete 16:24:36 35d82f9e3411: Download complete 16:24:36 7e9fc2657dce: Verifying Checksum 16:24:36 7e9fc2657dce: Download complete 16:24:36 dda99020689f: Verifying Checksum 16:24:36 dda99020689f: Download complete 16:24:36 9b18e9b68314: Verifying Checksum 16:24:36 9b18e9b68314: Download complete 16:24:37 9b18e9b68314: Pull complete 16:24:37 891c053d2c06: Verifying Checksum 16:24:37 891c053d2c06: Download complete 16:24:38 35d82f9e3411: Pull complete 16:24:38 e16973657156: Pull complete 16:24:38 db1c61fa0a46: Download complete 16:24:39 fc693d55d65f: Verifying Checksum 16:24:39 fc693d55d65f: Download complete 16:24:41 $ docker rm -f --volumes 6076f570bb7261a468d46fc57f55920fac31daf298fba72707a60ba7e493e488 [Pipeline] // withDockerContainer [Pipeline] sh 16:24:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:24:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:24:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:24:42 + ls -al . 16:24:42 total 272 16:24:42 drwxrwxr-x 11 jenkins jenkins 4096 Feb 6 16:23 . 16:24:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 16:21 .. 16:24:42 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 16:21 .dockerignore 16:24:42 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 16:24 .git 16:24:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 16:21 .github 16:24:42 -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 16:21 .gitignore 16:24:42 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 16:21 .golangci.yml 16:24:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 16:22 .semver 16:24:42 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 16:21 CHANGELOG.md 16:24:42 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 16:21 GOVERNANCE.md 16:24:42 -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 16:21 Jenkinsfile 16:24:42 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 16:21 LICENSE 16:24:42 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 16:21 Makefile 16:24:42 -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 16:21 OWNERS.md 16:24:42 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 16:21 README.md 16:24:42 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 16:22 VERSION 16:24:42 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 16:21 bin 16:24:42 -rw-r--r-- 1 jenkins jenkins 100849 Feb 6 16:24 coverage.out 16:24:42 drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 16:21 example 16:24:42 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 16:21 go.mod 16:24:42 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 16:21 go.sum 16:24:42 drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 16:21 internal 16:24:42 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 16:21 openapi 16:24:42 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 16:21 pkg 16:24:42 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 16:21 snap 16:24:42 -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 16:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:43 + 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=93a0268657819106988a1ad83ac56bb06d25ff7d --label arch=amd64 --label version=3.0.0-dev.20 . 16:24:43 Sending build context to Docker daemon 10.62MB 16:24:43 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:24:43 Step 2/23 : FROM ${BASE} AS builder 16:24:43 ---> f34794dbe985 16:24:43 Step 3/23 : ARG MAKE=make build 16:24:44 ---> Running in bc69e1444a10 16:24:44 Removing intermediate container bc69e1444a10 16:24:44 ---> c70d4831179b 16:24:44 Step 4/23 : WORKDIR /device-sdk-go 16:24:44 ---> Running in 31f8f7c0edb5 16:24:45 Removing intermediate container 31f8f7c0edb5 16:24:45 ---> 1e84c44c8e73 16:24:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:24:45 ---> Running in 833ee65f6fc5 16:24:45 Removing intermediate container 833ee65f6fc5 16:24:45 ---> 960a12f68620 16:24:45 Step 6/23 : RUN apk add --update --no-cache make git 16:24:46 ---> Running in f20f2a17ea1b 16:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:24:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:24:47 OK: 211 MiB in 51 packages 16:24:49 Removing intermediate container f20f2a17ea1b 16:24:49 ---> ef80f1ced565 16:24:49 Step 7/23 : COPY go.mod vendor* ./ 16:24:49 ---> 372632884b7d 16:24:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:24:49 ---> Running in 497cc173951a 16:24:51 Removing intermediate container 497cc173951a 16:24:51 ---> 3563640615bf 16:24:51 Step 9/23 : COPY . . 16:24:51 fc693d55d65f: Pull complete 16:24:51 7e9fc2657dce: Pull complete 16:24:51 dda99020689f: Pull complete 16:24:52 ---> a47b13911218 16:24:52 Step 10/23 : RUN ${MAKE} 16:24:52 ---> Running in bafd1a39bfef 16:24:53 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:24:58 db1c61fa0a46: Pull complete 16:24:59 891c053d2c06: Pull complete 16:24:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:24:59 ---> f96f9c87975a 16:24:59 Step 3/10 : ARG MAKE=make build 16:25:01 ---> Running in 1b7289f5ced8 16:25:01 Removing intermediate container 1b7289f5ced8 16:25:01 ---> 8f75f44242c9 16:25:01 Step 4/10 : WORKDIR /device-sdk-go 16:25:01 ---> Running in f4568c401dcb 16:25:02 Removing intermediate container f4568c401dcb 16:25:02 ---> f4aba6e9ce67 16:25:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:25:02 ---> Running in 85cae33886e9 16:25:02 Removing intermediate container 85cae33886e9 16:25:02 ---> 1dfb242e5585 16:25:02 Step 6/10 : RUN apk add --update --no-cache make git 16:25:02 ---> Running in 9234f6bf088e 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:25:05 OK: 221 MiB in 51 packages 16:25:06 Removing intermediate container 9234f6bf088e 16:25:06 ---> 019088f79ec9 16:25:06 Step 7/10 : COPY go.mod vendor* ./ 16:25:06 ---> 1050365db715 16:25:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:06 ---> Running in d75c1ee34e76 16:25:19 Removing intermediate container bafd1a39bfef 16:25:19 ---> 8096681e264c 16:25:19 Step 11/23 : FROM alpine:3.16 16:25:19 3.16: Pulling from library/alpine 16:25:19 ca7dd9ec2225: Pulling fs layer 16:25:19 ca7dd9ec2225: Verifying Checksum 16:25:19 ca7dd9ec2225: Pull complete 16:25:19 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:25:19 Status: Downloaded newer image for alpine:3.16 16:25:19 ---> bfe296a52501 16:25:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:25:20 ---> Running in 8100748b80f3 16:25:21 Removing intermediate container 8100748b80f3 16:25:21 ---> 67fcbc20bd81 16:25:21 Step 13/23 : RUN apk add --update --no-cache 16:25:21 ---> Running in c1828c6f590c 16:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:25:23 OK: 6 MiB in 14 packages 16:25:25 Removing intermediate container c1828c6f590c 16:25:25 ---> 76e37076fc89 16:25:25 Step 14/23 : WORKDIR / 16:25:26 ---> Running in 382d97c99128 16:25:26 Removing intermediate container 382d97c99128 16:25:26 ---> d15ad3e3e16e 16:25:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:25:27 ---> 979a000899ad 16:25:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:25:28 ---> 88c35c4d93a3 16:25:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:25:29 ---> f868913bc500 16:25:29 Step 18/23 : EXPOSE 59999 16:25:29 ---> Running in fddd7cc90a39 16:25:29 Removing intermediate container fddd7cc90a39 16:25:29 ---> 6b96fac3b228 16:25:29 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:25:30 ---> Running in f87fc3b03d96 16:25:30 Removing intermediate container f87fc3b03d96 16:25:30 ---> bb836706b1f1 16:25:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:25:31 ---> Running in 4b287dd6d7f7 16:25:32 Removing intermediate container 4b287dd6d7f7 16:25:32 ---> afbb90beb1c3 16:25:32 Step 21/23 : LABEL arch=amd64 16:25:32 ---> Running in b00ef37a17b5 16:25:33 Removing intermediate container b00ef37a17b5 16:25:33 ---> 706ee3dd4800 16:25:33 Step 22/23 : LABEL git_sha=93a0268657819106988a1ad83ac56bb06d25ff7d 16:25:34 ---> Running in e80ef4e05a5b 16:25:34 Removing intermediate container e80ef4e05a5b 16:25:34 ---> e01c7862aa3c 16:25:34 Step 23/23 : LABEL version=3.0.0-dev.20 16:25:35 ---> Running in f31ff5ce6689 16:25:35 Removing intermediate container f31ff5ce6689 16:25:35 ---> 3fa0eaf1da01 16:25:35 [Warning] One or more build-args [ARCH] were not consumed 16:25:35 Successfully built 3fa0eaf1da01 16:25:35 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:25:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:35 16:25:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:36 latest: Pulling from edgex-lftools-log-publisher 16:25:36 5eb5b503b376: Pulling fs layer 16:25:36 5c69ac0246d0: Pulling fs layer 16:25:36 ec43610c2a17: Pulling fs layer 16:25:36 3a2ae6a8a46f: Pulling fs layer 16:25:36 33b1e0a273af: Pulling fs layer 16:25:36 5d3b04190fa2: Pulling fs layer 16:25:36 2f39f015ded8: Pulling fs layer 16:25:36 3a2ae6a8a46f: Waiting 16:25:36 33b1e0a273af: Waiting 16:25:36 5d3b04190fa2: Waiting 16:25:36 2f39f015ded8: Waiting 16:25:36 5c69ac0246d0: Verifying Checksum 16:25:36 5c69ac0246d0: Download complete 16:25:36 3a2ae6a8a46f: Verifying Checksum 16:25:36 3a2ae6a8a46f: Download complete 16:25:36 33b1e0a273af: Verifying Checksum 16:25:36 33b1e0a273af: Download complete 16:25:36 5d3b04190fa2: Download complete 16:25:36 ec43610c2a17: Verifying Checksum 16:25:36 ec43610c2a17: Download complete 16:25:36 5eb5b503b376: Download complete 16:25:37 2f39f015ded8: Download complete 16:25:38 5eb5b503b376: Pull complete 16:25:39 5c69ac0246d0: Pull complete 16:25:40 ec43610c2a17: Pull complete 16:25:40 3a2ae6a8a46f: Pull complete 16:25:41 33b1e0a273af: Pull complete 16:25:41 5d3b04190fa2: Pull complete 16:25:46 2f39f015ded8: Pull complete 16:25:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:25:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:46 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:25:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:25:54 $ docker top 7a3fe83fcdbcbc9416a9a966271004bf2ba9a1e3d4f51efa7c0649f9b39266a3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:54 ---> job-cost.sh 16:25:54 lf-activate-venv: SKIPPING 16:25:54 INFO: No Stack... 16:25:55 INFO: Retrieving Pricing Info for: v3-standard-8 16:25:55 INFO: Archiving Costs [Pipeline] sh 16:25:56 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:25:56 + cut -d, -f6 [Pipeline] lock 16:25:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] 16:25:56 Resource [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] did not exist. Created. 16:25:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:56 + echo total: 0.2199999988079071 [Pipeline] stash 16:25:56 Stashed 1 file(s) [Pipeline] } 16:25:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:56 $ docker stop --time=1 7a3fe83fcdbcbc9416a9a966271004bf2ba9a1e3d4f51efa7c0649f9b39266a3 16:25:58 $ docker rm -f --volumes 7a3fe83fcdbcbc9416a9a966271004bf2ba9a1e3d4f51efa7c0649f9b39266a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:26:27 Removing intermediate container d75c1ee34e76 16:26:27 ---> e82706408ea5 16:26:27 Step 9/10 : COPY . . 16:26:27 ---> 26f62d832d7d 16:26:27 Step 10/10 : RUN ${MAKE} 16:26:27 ---> Running in bc28e62438e3 16:26:27 noop 16:26:27 Removing intermediate container bc28e62438e3 16:26:27 ---> 23d251556d20 16:26:27 Successfully built 23d251556d20 16:26:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:28 + docker inspect -f . ci-base-image-arm64 16:26:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:28 prd-ubuntu20.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container 16:26:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/150 -v /w/workspace/device-sdk-go/150:/w/workspace/device-sdk-go/150:rw,z -v /w/workspace/device-sdk-go/150@tmp:/w/workspace/device-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:29 $ docker top 0e013b630a8620f171468a84f10d319f83be00be1637fa76c749aa52bcd6d0ef -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:30 + go version 16:26:30 go version go1.18.7 linux/arm64 [Pipeline] } 16:26:30 $ docker stop --time=1 0e013b630a8620f171468a84f10d319f83be00be1637fa76c749aa52bcd6d0ef 16:26:32 $ docker rm -f --volumes 0e013b630a8620f171468a84f10d319f83be00be1637fa76c749aa52bcd6d0ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:32 + docker inspect -f . ci-base-image-arm64 16:26:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:33 prd-ubuntu20.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container 16:26:33 $ 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/150 -v /w/workspace/device-sdk-go/150:/w/workspace/device-sdk-go/150:rw,z -v /w/workspace/device-sdk-go/150@tmp:/w/workspace/device-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:34 $ docker top f5737d5f086b2dc2100af36441dd5c68fcac06cd01ea5e7d2d6aa72232ff7e09 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:35 + git config --global --add safe.directory /w/workspace/device-sdk-go/150 [Pipeline] fileExists [Pipeline] sh 16:26:35 + make test 16:26:35 go test -race -coverprofile=coverage.out ./... 16:27:07 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:29:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.299s coverage: 27.6% of statements 16:29:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.517s coverage: 78.9% of statements 16:29:14 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:29:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.578s coverage: 77.8% of statements 16:29:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:29:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:29:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.815s coverage: 59.8% of statements 16:29:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:29:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:29:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:29:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 65.2% of statements 16:29:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:29:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:29:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.994s coverage: 89.2% of statements 16:29:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:29:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.314s coverage: 4.7% of statements 16:29:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:29:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:29:21 GO111MODULE=on go vet ./... 16:30:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:30:57 ./bin/test-attribution-txt.sh [Pipeline] echo 16:30:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:58 $ docker stop --time=1 f5737d5f086b2dc2100af36441dd5c68fcac06cd01ea5e7d2d6aa72232ff7e09 16:31:00 $ docker rm -f --volumes f5737d5f086b2dc2100af36441dd5c68fcac06cd01ea5e7d2d6aa72232ff7e09 [Pipeline] // withDockerContainer [Pipeline] sh 16:31:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:31:01 Warning: overwriting stash ‘coverage-report’ 16:31:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:31:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:31:02 + ls -al . 16:31:02 total 268 16:31:02 drwxrwxr-x 10 jenkins jenkins 4096 Feb 6 16:26 . 16:31:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 16:24 .. 16:31:02 -rw-rw-r-- 1 jenkins jenkins 140 Feb 6 16:24 .dockerignore 16:31:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 6 16:24 .git 16:31:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 16:24 .github 16:31:02 -rw-rw-r-- 1 jenkins jenkins 131 Feb 6 16:24 .gitignore 16:31:02 -rw-rw-r-- 1 jenkins jenkins 42 Feb 6 16:24 .golangci.yml 16:31:02 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 6 16:24 CHANGELOG.md 16:31:02 -rw-rw-r-- 1 jenkins jenkins 677 Feb 6 16:24 GOVERNANCE.md 16:31:02 -rw-rw-r-- 1 jenkins jenkins 885 Feb 6 16:24 Jenkinsfile 16:31:02 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 6 16:24 LICENSE 16:31:02 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 6 16:24 Makefile 16:31:02 -rw-rw-r-- 1 jenkins jenkins 619 Feb 6 16:24 OWNERS.md 16:31:02 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 6 16:24 README.md 16:31:02 -rw-rw-r-- 1 jenkins jenkins 12 Feb 6 16:22 VERSION 16:31:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 6 16:24 bin 16:31:02 -rw-r--r-- 1 jenkins jenkins 100848 Feb 6 16:29 coverage.out 16:31:02 drwxrwxr-x 5 jenkins jenkins 4096 Feb 6 16:24 example 16:31:02 -rw-rw-r-- 1 jenkins jenkins 3264 Feb 6 16:24 go.mod 16:31:02 -rw-rw-r-- 1 jenkins jenkins 32817 Feb 6 16:24 go.sum 16:31:02 drwxrwxr-x 13 jenkins jenkins 4096 Feb 6 16:24 internal 16:31:02 drwxrwxr-x 3 jenkins jenkins 4096 Feb 6 16:24 openapi 16:31:02 drwxrwxr-x 6 jenkins jenkins 4096 Feb 6 16:24 pkg 16:31:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 6 16:24 snap 16:31:02 -rw-rw-r-- 1 jenkins jenkins 222 Feb 6 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:31:03 + 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=93a0268657819106988a1ad83ac56bb06d25ff7d --label arch=arm64 --label version=3.0.0-dev.20 . 16:31:03 Sending build context to Docker daemon 5.749MB 16:31:03 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:31:03 Step 2/23 : FROM ${BASE} AS builder 16:31:03 ---> 23d251556d20 16:31:03 Step 3/23 : ARG MAKE=make build 16:31:03 ---> Running in b9548f8dbd9e 16:31:04 Removing intermediate container b9548f8dbd9e 16:31:04 ---> 009af7c9aed7 16:31:04 Step 4/23 : WORKDIR /device-sdk-go 16:31:04 ---> Running in d95a220c989a 16:31:04 Removing intermediate container d95a220c989a 16:31:04 ---> d6aa3e937009 16:31:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:31:04 ---> Running in 1e9756d07490 16:31:04 Removing intermediate container 1e9756d07490 16:31:04 ---> 8ad24e9f11ef 16:31:04 Step 6/23 : RUN apk add --update --no-cache make git 16:31:05 ---> Running in 06ccac2ed063 16:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:31:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:31:07 OK: 221 MiB in 51 packages 16:31:08 Removing intermediate container 06ccac2ed063 16:31:08 ---> 22fb7a2cf923 16:31:08 Step 7/23 : COPY go.mod vendor* ./ 16:31:08 ---> a630c4938f23 16:31:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:31:08 ---> Running in 9bc8cb978846 16:31:12 Removing intermediate container 9bc8cb978846 16:31:12 ---> ae881fbad66e 16:31:12 Step 9/23 : COPY . . 16:31:13 ---> 31e3d14fc698 16:31:13 Step 10/23 : RUN ${MAKE} 16:31:13 ---> Running in a774c6146e76 16:31:14 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.20" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:33:21 Removing intermediate container a774c6146e76 16:33:21 ---> bc872ba60604 16:33:21 Step 11/23 : FROM alpine:3.16 16:33:21 3.16: Pulling from library/alpine 16:33:21 6875df1f5354: Pulling fs layer 16:33:21 6875df1f5354: Verifying Checksum 16:33:21 6875df1f5354: Download complete 16:33:21 6875df1f5354: Pull complete 16:33:21 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 16:33:21 Status: Downloaded newer image for alpine:3.16 16:33:21 ---> 2b4661558fb8 16:33:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:33:21 ---> Running in 44f2928f2323 16:33:21 Removing intermediate container 44f2928f2323 16:33:21 ---> 78b5773dd827 16:33:21 Step 13/23 : RUN apk add --update --no-cache 16:33:21 ---> Running in 7cacb0041366 16:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:33:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:33:21 OK: 5 MiB in 14 packages 16:33:21 Removing intermediate container 7cacb0041366 16:33:21 ---> 337876588c4f 16:33:21 Step 14/23 : WORKDIR / 16:33:21 ---> Running in a8e13636c37d 16:33:21 Removing intermediate container a8e13636c37d 16:33:21 ---> 5eea786bb88a 16:33:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:33:21 ---> ae5146e40ee9 16:33:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:33:21 ---> 84e24c01fbe6 16:33:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:33:21 ---> 7a4d366ef9e3 16:33:21 Step 18/23 : EXPOSE 59999 16:33:21 ---> Running in df4c510cf296 16:33:21 Removing intermediate container df4c510cf296 16:33:21 ---> 30ac76fd7487 16:33:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:33:21 ---> Running in ce8de9b3b3f2 16:33:21 Removing intermediate container ce8de9b3b3f2 16:33:21 ---> a0b8b09023c0 16:33:21 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:33:21 ---> Running in ea9cd9865296 16:33:21 Removing intermediate container ea9cd9865296 16:33:21 ---> 28c02ddeff06 16:33:21 Step 21/23 : LABEL arch=arm64 16:33:21 ---> Running in 82fdf58586c0 16:33:21 Removing intermediate container 82fdf58586c0 16:33:21 ---> f379b890a625 16:33:21 Step 22/23 : LABEL git_sha=93a0268657819106988a1ad83ac56bb06d25ff7d 16:33:21 ---> Running in f03a4f3bc786 16:33:21 Removing intermediate container f03a4f3bc786 16:33:21 ---> 7f5f45e23df2 16:33:21 Step 23/23 : LABEL version=3.0.0-dev.20 16:33:21 ---> Running in 18a445b19f7b 16:33:22 Removing intermediate container 18a445b19f7b 16:33:22 ---> ecbadc866453 16:33:22 [Warning] One or more build-args [ARCH] were not consumed 16:33:22 Successfully built ecbadc866453 16:33:22 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:33:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:22 16:33:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:22 arm64: Pulling from edgex-lftools-log-publisher 16:33:22 8998bd30e6a1: Pulling fs layer 16:33:22 04944245beec: Pulling fs layer 16:33:22 699f458cf7ca: Pulling fs layer 16:33:22 765212b225bb: Pulling fs layer 16:33:22 f23df028b6ca: Pulling fs layer 16:33:22 d65c8cfc05b1: Pulling fs layer 16:33:22 2437ff75d9bd: Pulling fs layer 16:33:22 f23df028b6ca: Waiting 16:33:22 d65c8cfc05b1: Waiting 16:33:22 2437ff75d9bd: Waiting 16:33:22 765212b225bb: Waiting 16:33:23 04944245beec: Verifying Checksum 16:33:23 04944245beec: Download complete 16:33:23 765212b225bb: Verifying Checksum 16:33:23 765212b225bb: Download complete 16:33:23 f23df028b6ca: Verifying Checksum 16:33:23 f23df028b6ca: Download complete 16:33:23 d65c8cfc05b1: Verifying Checksum 16:33:23 d65c8cfc05b1: Download complete 16:33:23 699f458cf7ca: Verifying Checksum 16:33:23 699f458cf7ca: Download complete 16:33:23 8998bd30e6a1: Verifying Checksum 16:33:23 8998bd30e6a1: Download complete 16:33:26 2437ff75d9bd: Verifying Checksum 16:33:26 2437ff75d9bd: Download complete 16:33:27 8998bd30e6a1: Pull complete 16:33:27 04944245beec: Pull complete 16:33:29 699f458cf7ca: Pull complete 16:33:29 765212b225bb: Pull complete 16:33:30 f23df028b6ca: Pull complete 16:33:30 d65c8cfc05b1: Pull complete 16:33:45 2437ff75d9bd: Pull complete 16:33:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:33:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:46 prd-ubuntu20.04-docker-arm64-4c-16g-4689 does not seem to be running inside a container 16:33:46 $ 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/150 -v /w/workspace/device-sdk-go/150:/w/workspace/device-sdk-go/150:rw,z -v /w/workspace/device-sdk-go/150@tmp:/w/workspace/device-sdk-go/150@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:33:48 $ docker top 5ca240b14b7fb0c9b88693d76004af71f5a5b3a0ec3da067b23499315f6dcf81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:49 ---> job-cost.sh 16:33:49 lf-activate-venv: SKIPPING 16:33:49 INFO: No Stack... 16:33:50 INFO: Retrieving Pricing Info for: v3-standard-4 16:33:50 INFO: Archiving Costs [Pipeline] sh 16:33:51 + cut -d, -f6 16:33:51 + cat /w/workspace/device-sdk-go/150/archives/cost.csv [Pipeline] lock 16:33:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] 16:33:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] did not exist. Created. 16:33:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:33:52 /w/workspace/device-sdk-go/150@tmp/durable-af04ad8e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:33:52 + echo total: 0.10999999940395355 [Pipeline] stash 16:33:52 Warning: overwriting stash ‘stack-cost’ 16:33:53 Stashed 1 file(s) [Pipeline] } 16:33:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-150-stack-cost] [Pipeline] // lock [Pipeline] } 16:33:53 $ docker stop --time=1 5ca240b14b7fb0c9b88693d76004af71f5a5b3a0ec3da067b23499315f6dcf81 16:33:54 $ docker rm -f --volumes 5ca240b14b7fb0c9b88693d76004af71f5a5b3a0ec3da067b23499315f6dcf81 [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 16:33:54 provisioning config files... 16:33:55 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15223942487607631170tmp [Pipeline] { [Pipeline] sh 16:33:55 + set +x 16:33:55 + curl -s https://codecov.io/bash 16:33:55 + bash -s -- 16:33:55 16:33:55 _____ _ 16:33:55 / ____| | | 16:33:55 | | ___ __| | ___ ___ _____ __ 16:33:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:33:55 | |___| (_) | (_| | __/ (_| (_) \ V / 16:33:55 \_____\___/ \__,_|\___|\___\___/ \_/ 16:33:55 Bash-1.0.6 16:33:55 16:33:55 16:33:55 ==> git version 2.25.1 found 16:33:55 ==> 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 16:33:55 Release-Date: 2020-01-08 16:33:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:33:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:33:55 ==> Jenkins CI detected. 16:33:55 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:33:55 project root: . 16:33:55 --> token set from env 16:33:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:33:55 ==> Running gcov in . (disable via -X gcov) 16:33:55 ==> Python coveragepy not found 16:33:55 ==> Searching for coverage reports in: 16:33:55 + . 16:33:55 -> Found 1 reports 16:33:55 ==> Detecting git/mercurial file structure 16:33:55 ==> Reading reports 16:33:55 + ./coverage.out bytes=100848 16:33:55 ==> Appending adjustments 16:33:55 https://docs.codecov.io/docs/fixing-reports 16:33:55 + Found adjustments 16:33:55 ==> Gzipping contents 16:33:55 16K /tmp/codecov.7vT3jH.gz 16:33:55 ==> Uploading reports 16:33:55 url: https://codecov.io 16:33:55 query: branch=main&commit=93a0268657819106988a1ad83ac56bb06d25ff7d&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:33:55 -> Pinging Codecov 16:33:55 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=93a0268657819106988a1ad83ac56bb06d25ff7d&build=150&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F150%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:33:56 -> Uploading to 16:33:56 https://storage.googleapis.com/codecov/v4/raw/2023-02-06/7E55EF52A471D76F132DFD9A03CDDE97/93a0268657819106988a1ad83ac56bb06d25ff7d/3146e1e7-fe5e-4bf7-adb0-692b6d69b354.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230206%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230206T163355Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2461cab46cf041994e6097a9602d78a2d947901eda2f855d511583159c684d4c 16:33:56 % Total % Received % Xferd Average Speed Time Time Time Current 16:33:56 Dload Upload Total Spent Left Speed 16:33:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14574 0 0 100 14574 0 44981 --:--:-- --:--:-- --:--:-- 44981 16:33:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] } 16:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:33:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:33:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:33:56 16:33:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:33:57 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:33:57 df9b9388f04a: Pulling fs layer 16:33:57 52dc419b0ee2: Pulling fs layer 16:33:57 25bc292e5bac: Pulling fs layer 16:33:57 114826534d7a: Pulling fs layer 16:33:57 4657fd5d0bcf: Pulling fs layer 16:33:57 6ad1cebc031e: Pulling fs layer 16:33:57 8a3aa393b2d8: Pulling fs layer 16:33:57 4657fd5d0bcf: Waiting 16:33:57 6ad1cebc031e: Waiting 16:33:57 8a3aa393b2d8: Waiting 16:33:57 114826534d7a: Waiting 16:33:57 25bc292e5bac: Verifying Checksum 16:33:57 25bc292e5bac: Download complete 16:33:57 52dc419b0ee2: Verifying Checksum 16:33:57 52dc419b0ee2: Download complete 16:33:57 4657fd5d0bcf: Verifying Checksum 16:33:57 4657fd5d0bcf: Download complete 16:33:57 df9b9388f04a: Verifying Checksum 16:33:57 df9b9388f04a: Download complete 16:33:57 df9b9388f04a: Pull complete 16:33:57 6ad1cebc031e: Verifying Checksum 16:33:57 6ad1cebc031e: Download complete 16:33:58 52dc419b0ee2: Pull complete 16:33:58 25bc292e5bac: Pull complete 16:33:58 114826534d7a: Verifying Checksum 16:33:58 114826534d7a: Download complete 16:33:59 8a3aa393b2d8: Verifying Checksum 16:33:59 8a3aa393b2d8: Download complete 16:34:02 114826534d7a: Pull complete 16:34:02 4657fd5d0bcf: Pull complete 16:34:03 6ad1cebc031e: Pull complete 16:34:07 8a3aa393b2d8: Pull complete 16:34:07 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:34:07 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:07 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:34:13 $ docker top 574286aef8dbcc7be658082394e9b23be51c7bf24031661a5e4a5866b94db010 -eo pid,comm [Pipeline] { [Pipeline] echo 16:34:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:34:14 + set -o pipefail 16:34:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:34:20 16:34:20 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:34:20 16:34:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/120221a4-be10-425d-81e9-806141e2f711 16:34:20 16:34:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:34:20 16:34:20 16:34:20 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:34:20 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:34:20 More details here: https://snyk.co/ue1NS [Pipeline] } 16:34:20 $ docker stop --time=1 574286aef8dbcc7be658082394e9b23be51c7bf24031661a5e4a5866b94db010 16:34:24 $ docker rm -f --volumes 574286aef8dbcc7be658082394e9b23be51c7bf24031661a5e4a5866b94db010 [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 16:34:25 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:34:25 provisioning config files... 16:34:25 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7638857681750624647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:34:25 --> edgex-publish-swagger.sh 16:34:25 === Publish openapi/v3 API === 16:34:25 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:34:25 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:34:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:34:25 Dload Upload Total Spent Left Speed 16:34:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 47094 0 0 100 47094 0 181k --:--:-- --:--:-- --:--:-- 181k 100 47094 0 0 100 47094 0 70080 --:--:-- --:--:-- --:--:-- 70080 16:34:26 16:34:26 [Pipeline] } 16:34:26 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 16:34:26 + git log --format=format:%s -1 93a0268657819106988a1ad83ac56bb06d25ff7d [Pipeline] sh 16:34:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:27 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:34:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:34:28 $ docker top 16d72f5266fe5866c95d66c4fe15d681ba2d23b44dd24cabd1b1d615ef8ceb64 -eo pid,comm 16:34:28 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:34:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:28 [ssh-agent] Looking for ssh-agent implementation... 16:34:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:28 $ docker exec 16d72f5266fe5866c95d66c4fe15d681ba2d23b44dd24cabd1b1d615ef8ceb64 ssh-agent 16:34:28 SSH_AUTH_SOCK=/tmp/ssh-uwAzsryejoN3/agent.32 16:34:28 SSH_AGENT_PID=38 16:34:28 Running ssh-add (command line suppressed) 16:34:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3129299270540687122.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3129299270540687122.key) 16:34:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:29 + git semver tag 16:34:29 2023-02-06 16:34:29,442 [run_tag] DEBUG tag force:False 16:34:29 2023-02-06 16:34:29,443 [check_head_tag] DEBUG check head tag 16:34:29 2023-02-06 16:34:29,446 [execute] INFO git cat-file --batch-check 16:34:29 2023-02-06 16:34:29,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:34:29 2023-02-06 16:34:29,451 [execute] INFO git cat-file --batch 16:34:29 2023-02-06 16:34:29,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:34:29 2023-02-06 16:34:29,480 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:29 2023-02-06 16:34:29,481 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 16:34:29 2023-02-06 16:34:29,481 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:34:29 2023-02-06 16:34:29,487 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:29 3.0.0-dev.20 [Pipeline] } 16:34:29 $ docker exec --env ******** --env ******** 16d72f5266fe5866c95d66c4fe15d681ba2d23b44dd24cabd1b1d615ef8ceb64 ssh-agent -k 16:34:29 unset SSH_AUTH_SOCK; 16:34:29 unset SSH_AGENT_PID; 16:34:29 echo Agent pid 38 killed; 16:34:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:30 + git semver [Pipeline] } 16:34:30 $ docker stop --time=1 16d72f5266fe5866c95d66c4fe15d681ba2d23b44dd24cabd1b1d615ef8ceb64 16:34:31 $ docker rm -f --volumes 16d72f5266fe5866c95d66c4fe15d681ba2d23b44dd24cabd1b1d615ef8ceb64 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:32 16:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:32 0.23.1-centos7: Pulling from edgex-lftools 16:34:32 ab5ef0e58194: Pulling fs layer 16:34:32 9712f1f96733: Pulling fs layer 16:34:32 63f879dbbcfc: Pulling fs layer 16:34:32 0d9ebad4ef96: Pulling fs layer 16:34:32 e9a5061849ea: Pulling fs layer 16:34:32 d747dcd14b5f: Pulling fs layer 16:34:32 2de7ff778b66: Pulling fs layer 16:34:32 0d9ebad4ef96: Waiting 16:34:32 e9a5061849ea: Waiting 16:34:32 d747dcd14b5f: Waiting 16:34:32 2de7ff778b66: Waiting 16:34:32 9712f1f96733: Verifying Checksum 16:34:32 9712f1f96733: Download complete 16:34:33 63f879dbbcfc: Verifying Checksum 16:34:33 63f879dbbcfc: Download complete 16:34:33 e9a5061849ea: Verifying Checksum 16:34:33 e9a5061849ea: Download complete 16:34:33 d747dcd14b5f: Verifying Checksum 16:34:33 d747dcd14b5f: Download complete 16:34:33 0d9ebad4ef96: Verifying Checksum 16:34:33 0d9ebad4ef96: Download complete 16:34:33 ab5ef0e58194: Verifying Checksum 16:34:33 ab5ef0e58194: Download complete 16:34:33 2de7ff778b66: Verifying Checksum 16:34:33 2de7ff778b66: Download complete 16:34:36 ab5ef0e58194: Pull complete 16:34:36 9712f1f96733: Pull complete 16:34:37 63f879dbbcfc: Pull complete 16:34:41 0d9ebad4ef96: Pull complete 16:34:41 e9a5061849ea: Pull complete 16:34:41 d747dcd14b5f: Pull complete 16:34:42 2de7ff778b66: Pull complete 16:34:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:34:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:42 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:34:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:34:50 $ docker top 839220135be2c5be28a0b2bafeea03c094c23fc275e447787266fd664c110908 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:34:50 provisioning config files... 16:34:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3491190771994937349tmp 16:34:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4237532671958011876tmp 16:34:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15813174560394242123tmp [Pipeline] { [Pipeline] echo 16:34:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:34:50 ---> sigul-configuration.sh 16:34:50 gpg: directory `/root/.gnupg' created 16:34:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:34:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:34:50 gpg: keyring `/root/.gnupg/secring.gpg' created 16:34:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:34:50 gpg: CAST5 encrypted data 16:34:50 gpg: encrypted with 1 passphrase 16:34:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:34:50 + mkdir /home/jenkins 16:34:50 + mkdir /home/jenkins/sigul [Pipeline] sh 16:34:51 + 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 16:34:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:34:51 ---> sigul-install.sh 16:34:51 Sigul already installed; skipping installation. [Pipeline] sh 16:34:51 + git tag --list 16:34:51 0.7.1 16:34:51 delhi-tag 16:34:51 v1.0.0 16:34:51 v1.1.0 16:34:51 v1.1.1 16:34:51 v1.1.2 16:34:51 v1.2.0 16:34:51 v1.2.1 16:34:51 v1.2.2 16:34:51 v1.2.3 16:34:51 v1.3.0 16:34:51 v1.4.0 16:34:51 v2.0.0 16:34:51 v2.1.0 16:34:51 v2.1.1 16:34:51 v2.1.1-dev.2 16:34:51 v2.1.1-dev.3 16:34:51 v2.2.0 16:34:51 v2.2.1-dev.1 16:34:51 v2.2.1-dev.10 16:34:51 v2.2.1-dev.11 16:34:51 v2.2.1-dev.12 16:34:51 v2.2.1-dev.13 16:34:51 v2.2.1-dev.14 16:34:51 v2.2.1-dev.2 16:34:51 v2.2.1-dev.3 16:34:51 v2.2.1-dev.4 16:34:51 v2.2.1-dev.5 16:34:51 v2.2.1-dev.6 16:34:51 v2.2.1-dev.7 16:34:51 v2.2.1-dev.8 16:34:51 v2.2.1-dev.9 16:34:51 v2.3.0 16:34:51 v2.3.0-dev.14 16:34:51 v2.3.0-dev.15 16:34:51 v2.3.0-dev.16 16:34:51 v2.3.0-dev.17 16:34:51 v2.3.0-dev.18 16:34:51 v2.3.0-dev.19 16:34:51 v2.3.0-dev.20 16:34:51 v2.3.0-dev.21 16:34:51 v2.3.0-dev.22 16:34:51 v2.3.0-dev.23 16:34:51 v2.3.0-dev.24 16:34:51 v2.3.0-dev.25 16:34:51 v2.3.0-dev.26 16:34:51 v2.3.0-dev.27 16:34:51 v2.3.0-dev.28 16:34:51 v2.3.0-dev.29 16:34:51 v2.3.0-dev.30 16:34:51 v2.3.0-dev.31 16:34:51 v2.3.0-dev.32 16:34:51 v2.3.0-dev.33 16:34:51 v2.3.0-dev.34 16:34:51 v2.3.0-dev.35 16:34:51 v2.3.0-dev.36 16:34:51 v2.3.0-dev.37 16:34:51 v2.3.0-dev.38 16:34:51 v2.3.0-dev.39 16:34:51 v2.3.0-dev.40 16:34:51 v2.3.0-dev.41 16:34:51 v2.3.0-dev.42 16:34:51 v2.3.0-dev.43 16:34:51 v2.3.0-dev.44 16:34:51 v2.3.0-dev.45 16:34:51 v2.3.0-dev.46 16:34:51 v2.3.0-dev.47 16:34:51 v2.3.0-dev.48 16:34:51 v2.3.0-dev.49 16:34:51 v2.3.0-dev.50 16:34:51 v2.3.0-dev.51 16:34:51 v2.3.1-dev.1 16:34:51 v2.3.1-dev.2 16:34:51 v3.0.0-dev.1 16:34:51 v3.0.0-dev.10 16:34:51 v3.0.0-dev.11 16:34:51 v3.0.0-dev.12 16:34:51 v3.0.0-dev.13 16:34:51 v3.0.0-dev.14 16:34:51 v3.0.0-dev.15 16:34:51 v3.0.0-dev.16 16:34:51 v3.0.0-dev.17 16:34:51 v3.0.0-dev.18 16:34:51 v3.0.0-dev.19 16:34:51 v3.0.0-dev.2 16:34:51 v3.0.0-dev.20 16:34:51 v3.0.0-dev.3 16:34:51 v3.0.0-dev.4 16:34:51 v3.0.0-dev.5 16:34:51 v3.0.0-dev.6 16:34:51 v3.0.0-dev.7 16:34:51 v3.0.0-dev.8 16:34:51 v3.0.0-dev.9 [Pipeline] sh 16:34:51 + lftools sign git-tag v3.0.0-dev.20 16:34:52 Signing Git tag with Sigul... 16:34:52 Signing v3.0.0-dev.20 [Pipeline] echo 16:34:53 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:34:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:34:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:34:53 $ docker stop --time=1 839220135be2c5be28a0b2bafeea03c094c23fc275e447787266fd664c110908 16:34:54 $ docker rm -f --volumes 839220135be2c5be28a0b2bafeea03c094c23fc275e447787266fd664c110908 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:34:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:55 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:34:55 $ docker top f003e0f7503ea604e9537536d28be4e3f29e04fd6491391d20d93a4f004bd277 -eo pid,comm 16:34:55 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:34:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:34:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:34:55 [ssh-agent] Looking for ssh-agent implementation... 16:34:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:34:56 $ docker exec f003e0f7503ea604e9537536d28be4e3f29e04fd6491391d20d93a4f004bd277 ssh-agent 16:34:56 SSH_AUTH_SOCK=/tmp/ssh-87b1GK97axZj/agent.24 16:34:56 SSH_AGENT_PID=37 16:34:56 Running ssh-add (command line suppressed) 16:34:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17283612905696757081.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17283612905696757081.key) 16:34:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:34:56 + git semver bump pre 16:34:56 2023-02-06 16:34:56,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:56 2023-02-06 16:34:56,765 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev 16:34:56 2023-02-06 16:34:56,765 [bump_version] DEBUG bumped version:3.0.0-dev.21 16:34:56 2023-02-06 16:34:56,765 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:34:56 2023-02-06 16:34:56,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:56 2023-02-06 16:34:56,765 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:56 2023-02-06 16:34:56,768 [execute] INFO git cat-file --batch-check 16:34:56 2023-02-06 16:34:56,768 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:34:56 2023-02-06 16:34:56,773 [execute] INFO git cat-file --batch 16:34:56 2023-02-06 16:34:56,773 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:34:56 2023-02-06 16:34:56,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:34:56 3.0.0-dev.21 [Pipeline] } 16:34:56 $ docker exec --env ******** --env ******** f003e0f7503ea604e9537536d28be4e3f29e04fd6491391d20d93a4f004bd277 ssh-agent -k 16:34:56 unset SSH_AUTH_SOCK; 16:34:56 unset SSH_AGENT_PID; 16:34:56 echo Agent pid 37 killed; 16:34:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:34:57 + git semver [Pipeline] } 16:34:57 $ docker stop --time=1 f003e0f7503ea604e9537536d28be4e3f29e04fd6491391d20d93a4f004bd277 16:34:59 $ docker rm -f --volumes f003e0f7503ea604e9537536d28be4e3f29e04fd6491391d20d93a4f004bd277 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:34:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:34:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:59 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:34:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:35:00 $ docker top f98ca283e5b4870c2cd36809b4703bc24b24a2b2ccdb6c9257a659bb1b7ee4c5 -eo pid,comm 16:35:00 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:35:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:35:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:35:00 [ssh-agent] Looking for ssh-agent implementation... 16:35:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:35:00 $ docker exec f98ca283e5b4870c2cd36809b4703bc24b24a2b2ccdb6c9257a659bb1b7ee4c5 ssh-agent 16:35:01 SSH_AUTH_SOCK=/tmp/ssh-UdNkuPWeymee/agent.32 16:35:01 SSH_AGENT_PID=38 16:35:01 Running ssh-add (command line suppressed) 16:35:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3577741320832000059.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3577741320832000059.key) 16:35:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:35:01 + git semver push 16:35:01 2023-02-06 16:35:01,660 [run_push] DEBUG push 16:35:01 2023-02-06 16:35:01,661 [execute] INFO git cat-file --batch-check 16:35:01 2023-02-06 16:35:01,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:35:01 2023-02-06 16:35:01,665 [execute] INFO git rev-list f325857f80f11bced3b1f2df9356fc8d4db79e0b -- 16:35:01 2023-02-06 16:35:01,665 [execute] DEBUG Popen(['git', 'rev-list', 'f325857f80f11bced3b1f2df9356fc8d4db79e0b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:35:01 2023-02-06 16:35:01,676 [execute] INFO git fetch -v origin 16:35:01 2023-02-06 16:35:01,676 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:35:02 2023-02-06 16:35:02,337 [run_push] DEBUG no remote changes detected 16:35:02 2023-02-06 16:35:02,337 [execute] INFO git push origin semver 16:35:02 2023-02-06 16:35:02,338 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:35:03 2023-02-06 16:35:03,467 [run_push] DEBUG push all version tags 16:35:03 2023-02-06 16:35:03,468 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:35:03 2023-02-06 16:35:03,468 [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) 16:35:04 2023-02-06 16:35:04,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:35:04 3.0.0-dev.21 [Pipeline] } 16:35:04 $ docker exec --env ******** --env ******** f98ca283e5b4870c2cd36809b4703bc24b24a2b2ccdb6c9257a659bb1b7ee4c5 ssh-agent -k 16:35:04 unset SSH_AUTH_SOCK; 16:35:04 unset SSH_AGENT_PID; 16:35:04 echo Agent pid 38 killed; 16:35:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:35:05 + git semver [Pipeline] } 16:35:05 $ docker stop --time=1 f98ca283e5b4870c2cd36809b4703bc24b24a2b2ccdb6c9257a659bb1b7ee4c5 16:35:08 $ docker rm -f --volumes f98ca283e5b4870c2cd36809b4703bc24b24a2b2ccdb6c9257a659bb1b7ee4c5 [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 16:35:08 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:35:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:35:08 total 16 16:35:08 drwxr-xr-x 3 root root 4096 Feb 6 16:25 . 16:35:08 drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 16:34 .. 16:35:08 drwxr-xr-x 2 root root 4096 Feb 6 16:25 cost 16:35:08 -rw-r--r-- 1 root root 85 Feb 6 16:25 cost.csv 16:35:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:35:08 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:35:08 total 16 16:35:08 drwxr-xr-x 3 jenkins jenkins 4096 Feb 6 16:25 . 16:35:08 drwxrwxr-x 12 jenkins jenkins 4096 Feb 6 16:34 .. 16:35:08 drwxr-xr-x 2 jenkins jenkins 4096 Feb 6 16:25 cost 16:35:08 -rw-r--r-- 1 jenkins jenkins 85 Feb 6 16:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:35:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:09 ---> package-listing.sh 16:35:09 ++ tr '[:upper:]' '[:lower:]' 16:35:09 ++ facter osfamily 16:35:09 + OS_FAMILY=debian 16:35:09 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:35:09 + START_PACKAGES=/tmp/packages_start.txt 16:35:09 + END_PACKAGES=/tmp/packages_end.txt 16:35:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:09 + PACKAGES=/tmp/packages_start.txt 16:35:09 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:35:09 + PACKAGES=/tmp/packages_end.txt 16:35:09 + case "${OS_FAMILY}" in 16:35:09 + dpkg -l 16:35:09 + grep '^ii' 16:35:09 + '[' -f /tmp/packages_start.txt ']' 16:35:09 + '[' -f /tmp/packages_end.txt ']' 16:35:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:35:10 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:35:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:35:10 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 16:35:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:11 prd-ubuntu20.04-docker-8c-8g-4688 does not seem to be running inside a container 16:35:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:35:12 $ docker top a350dbc154d9e80f9711a2aede6bf5ca00f9ebe5fc67844952ff66b5f577ff96 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:12 + touch /tmp/pre-build-complete [Pipeline] sh 16:35:12 + mkdir -p /var/log/sysstat [Pipeline] sh 16:35:13 + ls /var/log/sa-host 16:35:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:13 provisioning config files... 16:35:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14893352665680949052tmp [Pipeline] { [Pipeline] echo 16:35:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:35:13 ---> create-netrc.sh [Pipeline] } 16:35:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:35:13 ---> python-tools-install.sh [Pipeline] echo 16:35:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:35:14 ---> sudo-logs.sh 16:35:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:35:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:35:14 ---> job-cost.sh 16:35:14 lf-activate-venv: SKIPPING 16:35:14 DEBUG: total: 0.2199999988079071 16:35:14 INFO: Retrieving Stack Cost... 16:35:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:15 INFO: Archiving Costs [Pipeline] echo 16:35:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:35:16 ---> logs-deploy.sh 16:35:16 lf-activate-venv: SKIPPING 16:35:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/150 16:35:16 INFO: archiving workspace using pattern(s): 16:35:16 Archives upload complete. 16:35:16 INFO: archiving logs to Nexus