Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9643316300e59272a09f9c1d01562286ee215d0b 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-ssh11483002574081556667.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh18337705846777964363.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7436897240483189270.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh11897811729313390043.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-ssh6211274779264386568.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.20 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-2867 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9643316300e59272a09f9c1d01562286ee215d0b (main) Commit message: "Merge pull request #1488 from lindseysimple/issue-1487" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 > git rev-list --no-walk 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:28 ========================================================= 00:41:28 EdgeX Global Pipelines Version Info 00:41:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:41:29 ------------------- 00:41:29 stable info: 00:41:29 ------------------- 00:41:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:29 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:41:29 Message: update stable to v1.0.250 00:41:29 ------------------- 00:41:29 experimental info: 00:41:29 ------------------- 00:41:29 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:29 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:41:29 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:41:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:41:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9643316 [Pipeline] echo 00:41:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:30 provisioning config files... 00:41:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7474280269818946280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:30 ---> docker-login.sh 00:41:30 nexus3.edgexfoundry.org:10001 00:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:31 Configure a credential helper to remove this warning. See 00:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:31 00:41:31 Login Succeeded 00:41:31 nexus3.edgexfoundry.org:10002 00:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:31 Configure a credential helper to remove this warning. See 00:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:31 00:41:31 Login Succeeded 00:41:31 nexus3.edgexfoundry.org:10003 00:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:31 Configure a credential helper to remove this warning. See 00:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:31 00:41:31 Login Succeeded 00:41:31 nexus3.edgexfoundry.org:10004 00:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:31 Configure a credential helper to remove this warning. See 00:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:31 00:41:31 Login Succeeded 00:41:31 docker.io 00:41:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:31 Configure a credential helper to remove this warning. See 00:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:31 00:41:31 Login Succeeded 00:41:31 ---> docker-login.sh ends [Pipeline] } 00:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:41:32 + git rev-list -1 --merges 9643316300e59272a09f9c1d01562286ee215d0b~1..9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo 00:41:32 -----------> git rev-list -1 --merges 9643316300e59272a09f9c1d01562286ee215d0b~1..9643316300e59272a09f9c1d01562286ee215d0b 9643316300e59272a09f9c1d01562286ee215d0b 00:41:32 9643316300e59272a09f9c1d01562286ee215d0b [false] [Pipeline] sh 00:41:32 + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo 00:41:32 ========================================================= 00:41:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:41:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:41:32 + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] echo 00:41:32 [semverPrep] GIT_COMMIT: 9643316300e59272a09f9c1d01562286ee215d0b, Commit Message: Merge pull request #1488 from lindseysimple/issue-1487 [Pipeline] echo 00:41:32 [semverPrep] This is not a build commit. [Pipeline] sh 00:41:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:41:33 + grep -v github /etc/ssh/ssh_known_hosts 00:41:33 + [ -e /tmp/ssh_known_hosts ] 00:41:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:41:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:41:33 + sudo tee -a /etc/ssh/ssh_known_hosts 00:41:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:33 00:41:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:33 0.1.4: Pulling from edgex-devops/py-git-semver 00:41:33 b85a868b505f: Pulling fs layer 00:41:33 e2be974225ed: Pulling fs layer 00:41:33 339a4e72a1f5: Pulling fs layer 00:41:33 988bab9f4d93: Pulling fs layer 00:41:33 1469e6f7b9e6: Pulling fs layer 00:41:33 eaf3925da568: Pulling fs layer 00:41:33 bab4dde63d76: Pulling fs layer 00:41:33 bde34c3a00c8: Pulling fs layer 00:41:33 b352a97aabf1: Pulling fs layer 00:41:33 4872d77fe225: Pulling fs layer 00:41:33 5851b861e8e6: Pulling fs layer 00:41:33 eaf3925da568: Waiting 00:41:33 988bab9f4d93: Waiting 00:41:33 bab4dde63d76: Waiting 00:41:33 1469e6f7b9e6: Waiting 00:41:33 bde34c3a00c8: Waiting 00:41:33 5851b861e8e6: Waiting 00:41:33 4872d77fe225: Waiting 00:41:33 e2be974225ed: Download complete 00:41:33 988bab9f4d93: Download complete 00:41:34 1469e6f7b9e6: Verifying Checksum 00:41:34 1469e6f7b9e6: Download complete 00:41:34 eaf3925da568: Download complete 00:41:34 339a4e72a1f5: Verifying Checksum 00:41:34 339a4e72a1f5: Download complete 00:41:34 bde34c3a00c8: Verifying Checksum 00:41:34 bde34c3a00c8: Download complete 00:41:34 b352a97aabf1: Download complete 00:41:34 4872d77fe225: Verifying Checksum 00:41:34 4872d77fe225: Download complete 00:41:34 5851b861e8e6: Verifying Checksum 00:41:34 5851b861e8e6: Download complete 00:41:34 b85a868b505f: Verifying Checksum 00:41:34 b85a868b505f: Download complete 00:41:34 bab4dde63d76: Verifying Checksum 00:41:34 bab4dde63d76: Download complete 00:41:35 b85a868b505f: Pull complete 00:41:35 e2be974225ed: Pull complete 00:41:36 339a4e72a1f5: Pull complete 00:41:36 988bab9f4d93: Pull complete 00:41:36 1469e6f7b9e6: Pull complete 00:41:36 eaf3925da568: Pull complete 00:41:38 bab4dde63d76: Pull complete 00:41:38 bde34c3a00c8: Pull complete 00:41:38 b352a97aabf1: Pull complete 00:41:38 4872d77fe225: Pull complete 00:41:38 5851b861e8e6: Pull complete 00:41:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:41:38 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:41:42 $ docker top ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 -eo pid,comm 00:41:42 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). 00:41:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:41:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:42 [ssh-agent] Looking for ssh-agent implementation... 00:41:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:42 $ docker exec ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent 00:41:42 SSH_AUTH_SOCK=/tmp/ssh-SdLfLJIEAR1W/agent.32 00:41:42 SSH_AGENT_PID=38 00:41:42 Running ssh-add (command line suppressed) 00:41:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2301032125721802705.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2301032125721802705.key) 00:41:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:43 + git tag --points-at HEAD [Pipeline] } 00:41:43 $ docker exec --env ******** --env ******** ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent -k 00:41:43 unset SSH_AUTH_SOCK; 00:41:43 unset SSH_AGENT_PID; 00:41:43 echo Agent pid 38 killed; 00:41:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:41:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:41:43 [ssh-agent] Looking for ssh-agent implementation... 00:41:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:41:43 $ docker exec ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent 00:41:43 SSH_AUTH_SOCK=/tmp/ssh-hH0xUg3BGbL0/agent.69 00:41:43 SSH_AGENT_PID=75 00:41:43 Running ssh-add (command line suppressed) 00:41:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5444922648246600287.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5444922648246600287.key) 00:41:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:41:43 + git semver init 00:41:44 2023-08-04 00:41:44,169 [run_init] DEBUG init version:0.0.0 force:False 00:41:44 2023-08-04 00:41:44,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:41:44 2023-08-04 00:41:44,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:41:44 2023-08-04 00:41:44,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) 00:41:45 2023-08-04 00:41:45,118 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 00:41:45 2023-08-04 00:41:45,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 00:41:45 2023-08-04 00:41:45,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:41:45 2023-08-04 00:41:45,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:41:45 3.1.0-dev.9 [Pipeline] } 00:41:45 $ docker exec --env ******** --env ******** ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 ssh-agent -k 00:41:45 unset SSH_AUTH_SOCK; 00:41:45 unset SSH_AGENT_PID; 00:41:45 echo Agent pid 75 killed; 00:41:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:41:45 + git semver [Pipeline] } 00:41:45 $ docker stop --time=1 ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 00:41:47 $ docker rm -f --volumes ce3caf7da3d6ecf6ef1760441b4a53ad21f8d896c37da7f376401f0cc99ca658 [Pipeline] // withDockerContainer [Pipeline] sh 00:41:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:41:47 Stashed 1 file(s) [Pipeline] echo 00:41:47 [edgeXSemver]: initialized semver on version 3.1.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:47 provisioning config files... 00:41:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16470916578209183698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:48 ---> docker-login.sh 00:41:48 nexus3.edgexfoundry.org:10001 00:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:48 Configure a credential helper to remove this warning. See 00:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:48 00:41:48 Login Succeeded 00:41:48 nexus3.edgexfoundry.org:10002 00:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:48 Configure a credential helper to remove this warning. See 00:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:48 00:41:48 Login Succeeded 00:41:48 nexus3.edgexfoundry.org:10003 00:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:48 Configure a credential helper to remove this warning. See 00:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:48 00:41:48 Login Succeeded 00:41:48 nexus3.edgexfoundry.org:10004 00:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:48 Configure a credential helper to remove this warning. See 00:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:48 00:41:48 Login Succeeded 00:41:48 docker.io 00:41:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:48 Configure a credential helper to remove this warning. See 00:41:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:48 00:41:48 Login Succeeded 00:41:48 ---> docker-login.sh ends [Pipeline] } 00:41:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:41:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:41:48 ========================================================= 00:41:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:41:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:49 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 00:41:49 Sending build context to Docker daemon 11.03MB 00:41:49 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:41:49 Step 2/10 : FROM ${BASE} AS builder 00:41:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:41:49 4db1b89c0bd1: Pulling fs layer 00:41:49 6911f1a30b25: Pulling fs layer 00:41:49 e194b8c5c2a9: Pulling fs layer 00:41:49 6863d3e3a2b1: Pulling fs layer 00:41:49 ec0bb842ea78: Pulling fs layer 00:41:49 40a00589a448: Pulling fs layer 00:41:49 6c08303d61cc: Pulling fs layer 00:41:49 798269fcf238: Pulling fs layer 00:41:49 798269fcf238: Waiting 00:41:49 40a00589a448: Waiting 00:41:49 6c08303d61cc: Waiting 00:41:49 6863d3e3a2b1: Waiting 00:41:49 6911f1a30b25: Download complete 00:41:49 6863d3e3a2b1: Verifying Checksum 00:41:49 6863d3e3a2b1: Download complete 00:41:49 ec0bb842ea78: Download complete 00:41:49 4db1b89c0bd1: Verifying Checksum 00:41:49 4db1b89c0bd1: Download complete 00:41:49 40a00589a448: Verifying Checksum 00:41:49 40a00589a448: Download complete 00:41:49 4db1b89c0bd1: Pull complete 00:41:49 6911f1a30b25: Pull complete 00:41:50 798269fcf238: Verifying Checksum 00:41:50 798269fcf238: Download complete 00:41:50 e194b8c5c2a9: Verifying Checksum 00:41:50 e194b8c5c2a9: Download complete 00:41:50 6c08303d61cc: Verifying Checksum 00:41:50 6c08303d61cc: Download complete 00:41:54 e194b8c5c2a9: Pull complete 00:41:54 6863d3e3a2b1: Pull complete 00:41:54 ec0bb842ea78: Pull complete 00:41:54 40a00589a448: Pull complete 00:41:57 6c08303d61cc: Pull complete 00:41:58 798269fcf238: Pull complete 00:41:58 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:41:58 ---> ec979cd7f677 00:41:58 Step 3/10 : ARG MAKE=make build 00:42:02 Still waiting to schedule task 00:42:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2864’ 00:42:08 ---> Running in 44a114822422 00:42:08 Removing intermediate container 44a114822422 00:42:08 ---> eaa87d425f52 00:42:08 Step 4/10 : WORKDIR /device-sdk-go 00:42:08 ---> Running in 77e5c87b316e 00:42:08 Removing intermediate container 77e5c87b316e 00:42:08 ---> ad9f7b3a4ced 00:42:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:42:08 ---> Running in e7ef0824c13c 00:42:08 Removing intermediate container e7ef0824c13c 00:42:08 ---> 7dbecf562e3d 00:42:08 Step 6/10 : RUN apk add --update --no-cache make git 00:42:08 ---> Running in 0e6ed352783b 00:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:42:08 OK: 265 MiB in 53 packages 00:42:08 Removing intermediate container 0e6ed352783b 00:42:08 ---> 55b7544be0e7 00:42:08 Step 7/10 : COPY go.mod vendor* ./ 00:42:08 ---> 94a3f3bfbd04 00:42:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:08 ---> Running in 14711199311f 00:43:05 Removing intermediate container 14711199311f 00:43:05 ---> fa011dffc3c5 00:43:05 Step 9/10 : COPY . . 00:43:05 ---> 41c0d8c698da 00:43:05 Step 10/10 : RUN ${MAKE} 00:43:05 ---> Running in 1285c8f7c1a6 00:43:05 noop 00:43:05 Removing intermediate container 1285c8f7c1a6 00:43:05 ---> a0654dcd4078 00:43:05 Successfully built a0654dcd4078 00:43:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:05 + docker inspect -f . ci-base-image-x86_64 00:43:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:05 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:43:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:06 $ docker top fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:06 + go version 00:43:06 go version go1.20.6 linux/amd64 [Pipeline] } 00:43:06 $ docker stop --time=1 fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a 00:43:07 $ docker rm -f --volumes fc671db61dc72ff4af74536ad4f6ad923e2cdcadebbdbcd020b3dbd8c386586a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:08 + docker inspect -f . ci-base-image-x86_64 00:43:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:08 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:43:08 $ docker top 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:08 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:43:09 + make test 00:43:09 go test -race -coverprofile=coverage.out ./... 00:43:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements 00:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.071s coverage: 80.2% of statements 00:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.088s coverage: 86.0% of statements 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:43:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.083s coverage: 71.8% of statements 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:43:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:43:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.097s coverage: 14.3% of statements 00:43:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.426s coverage: 43.8% of statements 00:43:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements 00:43:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 00:43:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 5.5% of statements 00:44:02 GO111MODULE=on go vet ./... 00:44:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:44:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:44:02 ./bin/test-attribution-txt.sh 00:44:02 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 00:44:02 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 00:44:02 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 00:44:02 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 00:44:02 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 00:44:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:44:02 $ docker stop --time=1 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 00:44:06 $ docker rm -f --volumes 276dbfb1dd6611b2d6391ea16b1afb5edae089e9cb5f559f29de5ce481eb9cb4 [Pipeline] // withDockerContainer [Pipeline] sh 00:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:44:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:44:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:44:08 + ls -al . 00:44:08 total 304 00:44:08 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 00:43 . 00:44:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 .. 00:44:08 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:41 .dockerignore 00:44:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:41 .git 00:44:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 .github 00:44:08 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:41 .gitignore 00:44:08 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:41 .golangci.yml 00:44:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:41 .semver 00:44:08 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:41 CHANGELOG.md 00:44:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:41 GOVERNANCE.md 00:44:08 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:41 Jenkinsfile 00:44:08 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:41 LICENSE 00:44:08 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:41 Makefile 00:44:08 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:41 OWNERS.md 00:44:08 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:41 README.md 00:44:08 -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 00:41 VERSION 00:44:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 bin 00:44:08 -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:43 coverage.out 00:44:08 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:41 example 00:44:08 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:41 go.mod 00:44:08 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:41 go.sum 00:44:08 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:41 internal 00:44:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:41 openapi 00:44:08 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:41 pkg 00:44:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 snap 00:44:08 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:08 + 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=9643316300e59272a09f9c1d01562286ee215d0b --label arch=amd64 --label version=3.1.0-dev.9 . 00:44:08 Sending build context to Docker daemon 11.15MB 00:44:08 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:44:08 Step 2/23 : FROM ${BASE} AS builder 00:44:08 ---> a0654dcd4078 00:44:08 Step 3/23 : ARG MAKE=make build 00:44:08 ---> Running in 83d2d3483ba3 00:44:08 Removing intermediate container 83d2d3483ba3 00:44:08 ---> 457c051d1270 00:44:08 Step 4/23 : WORKDIR /device-sdk-go 00:44:08 ---> Running in 942c3415012c 00:44:08 Removing intermediate container 942c3415012c 00:44:08 ---> c7add333fa6a 00:44:08 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:44:08 ---> Running in 2971df18a5d6 00:44:08 Removing intermediate container 2971df18a5d6 00:44:08 ---> 84b0bdf6a868 00:44:08 Step 6/23 : RUN apk add --update --no-cache make git 00:44:08 ---> Running in ed24cd6e63b1 00:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:44:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:44:09 OK: 265 MiB in 53 packages 00:44:10 Removing intermediate container ed24cd6e63b1 00:44:10 ---> cc288f8817d8 00:44:10 Step 7/23 : COPY go.mod vendor* ./ 00:44:10 ---> e620f3a56322 00:44:10 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:10 ---> Running in daf8ac8853a7 00:44:10 Removing intermediate container daf8ac8853a7 00:44:10 ---> 342b5d86f8ed 00:44:10 Step 9/23 : COPY . . 00:44:11 ---> c8fcae2b684e 00:44:11 Step 10/23 : RUN ${MAKE} 00:44:11 ---> Running in e2d855b21e09 00:44:11 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:44:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2870 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:44:29 Running in /w/workspace/device-sdk-go/238 [Pipeline] { [Pipeline] checkout 00:44:29 The recommended git tool is: git 00:44:33 Removing intermediate container e2d855b21e09 00:44:33 ---> b3759ec55455 00:44:33 Step 11/23 : FROM alpine:3.17 00:44:33 3.17: Pulling from library/alpine 00:44:33 4db1b89c0bd1: Already exists 00:44:33 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:44:33 Status: Downloaded newer image for alpine:3.17 00:44:33 ---> 1f73a9d63274 00:44:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:44:33 ---> Running in 2759842d1068 00:44:34 Removing intermediate container 2759842d1068 00:44:34 ---> 473e1cc2f16a 00:44:34 Step 13/23 : RUN apk add --update --no-cache 00:44:34 ---> Running in 7574434ddae0 00:44:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:44:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:44:35 OK: 7 MiB in 15 packages 00:44:35 Removing intermediate container 7574434ddae0 00:44:35 ---> 9ea852837f89 00:44:35 Step 14/23 : WORKDIR / 00:44:35 ---> Running in 32e7c1803b87 00:44:35 Removing intermediate container 32e7c1803b87 00:44:35 ---> e73a02eda8fe 00:44:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:44:35 ---> 8574415c9f4b 00:44:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:44:35 using credential edgex-jenkins-ssh 00:44:35 Cloning the remote Git repository 00:44:36 ---> d31c0ae0fecf 00:44:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:44:36 ---> 76766b863d3b 00:44:36 Step 18/23 : EXPOSE 59999 00:44:36 ---> Running in 6169e714f0bb 00:44:36 Removing intermediate container 6169e714f0bb 00:44:36 ---> d954c00214cc 00:44:36 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:44:36 ---> Running in 5cff3c4e4cbb 00:44:36 Removing intermediate container 5cff3c4e4cbb 00:44:36 ---> bee43ab4bb0a 00:44:36 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:44:36 ---> Running in a00929978d44 00:44:36 Removing intermediate container a00929978d44 00:44:36 ---> a4b15160496e 00:44:36 Step 21/23 : LABEL arch=amd64 00:44:36 ---> Running in be9fe11baa86 00:44:36 Removing intermediate container be9fe11baa86 00:44:36 ---> f7f27c39b364 00:44:36 Step 22/23 : LABEL git_sha=9643316300e59272a09f9c1d01562286ee215d0b 00:44:36 ---> Running in a4b7a5fe7de7 00:44:36 Removing intermediate container a4b7a5fe7de7 00:44:36 ---> 9d1e27c2406c 00:44:36 Step 23/23 : LABEL version=3.1.0-dev.9 00:44:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:44:35 > git init /w/workspace/device-sdk-go/238 # timeout=10 00:44:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:44:36 > git --version # timeout=10 00:44:36 > git --version # 'git version 2.25.1' 00:44:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:44:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:37 ---> Running in 44b387b2e943 00:44:37 Removing intermediate container 44b387b2e943 00:44:37 ---> c4e86e04d3f2 00:44:37 [Warning] One or more build-args [ARCH] were not consumed 00:44:37 Successfully built c4e86e04d3f2 00:44:37 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 00:44:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:37 00:44:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:37 latest: Pulling from edgex-lftools-log-publisher 00:44:37 5eb5b503b376: Pulling fs layer 00:44:37 5c69ac0246d0: Pulling fs layer 00:44:37 ec43610c2a17: Pulling fs layer 00:44:37 3a2ae6a8a46f: Pulling fs layer 00:44:37 33b1e0a273af: Pulling fs layer 00:44:37 5d3b04190fa2: Pulling fs layer 00:44:37 2f39f015ded8: Pulling fs layer 00:44:37 33b1e0a273af: Waiting 00:44:37 5d3b04190fa2: Waiting 00:44:37 3a2ae6a8a46f: Waiting 00:44:37 2f39f015ded8: Waiting 00:44:37 5c69ac0246d0: Verifying Checksum 00:44:37 3a2ae6a8a46f: Verifying Checksum 00:44:37 3a2ae6a8a46f: Download complete 00:44:38 33b1e0a273af: Verifying Checksum 00:44:38 33b1e0a273af: Download complete 00:44:38 ec43610c2a17: Verifying Checksum 00:44:38 ec43610c2a17: Download complete 00:44:38 5d3b04190fa2: Download complete 00:44:38 5eb5b503b376: Verifying Checksum 00:44:38 5eb5b503b376: Download complete 00:44:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:44:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:44:38 Avoid second fetch 00:44:38 Checking out Revision 9643316300e59272a09f9c1d01562286ee215d0b (main) 00:44:38 2f39f015ded8: Verifying Checksum 00:44:38 2f39f015ded8: Download complete 00:44:39 Commit message: "Merge pull request #1488 from lindseysimple/issue-1487" 00:44:39 00:44:39 GitHub has been notified of this commit’s build result 00:44:39 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 00:44:39 5eb5b503b376: Pull complete 00:44:39 5c69ac0246d0: Pull complete [Pipeline] sh 00:44:38 > git config core.sparsecheckout # timeout=10 00:44:38 > git checkout -f 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 00:44:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:44:40 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:40 Dload Upload Total Spent Left Speed 00:44:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k 00:44:40 ec43610c2a17: Pull complete 00:44:40 3a2ae6a8a46f: Pull complete [Pipeline] sh 00:44:40 33b1e0a273af: Pull complete 00:44:40 5d3b04190fa2: Pull complete 00:44:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:44:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:44:41 + sudo tee /etc/docker/daemon.new 00:44:41 { 00:44:41 "registry-mirrors": [ 00:44:41 "https://nexus3.edgexfoundry.org:10001" 00:44:41 ], 00:44:41 "bip": "10.250.0.254/24", 00:44:41 "hosts": [ 00:44:41 "tcp://0.0.0.0:5555", 00:44:41 "unix:///var/run/docker.sock" 00:44:41 ], 00:44:41 "mtu": 1458, 00:44:41 "selinux-enabled": true, 00:44:41 "seccomp-profile": "/etc/docker/seccomp.json" 00:44:41 } [Pipeline] sh 00:44:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:44:41 + sudo service docker restart 00:44:45 2f39f015ded8: Pull complete 00:44:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:45 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:44:51 $ docker top 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:51 ---> job-cost.sh 00:44:51 lf-activate-venv: SKIPPING 00:44:51 INFO: No Stack... 00:44:51 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:52 INFO: Archiving Costs [Pipeline] sh 00:44:52 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 00:44:52 + cut -d, -f6 [Pipeline] lock 00:44:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] 00:44:52 Resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] did not exist. Created. 00:44:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:52 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:53 Stashed 1 file(s) [Pipeline] } 00:44:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:53 $ docker stop --time=1 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 00:44:54 $ docker rm -f --volumes 328c9fbc11d28010fa82d1b497fc57c09450c91a121f4254449922c109de9231 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:45:00 provisioning config files... 00:45:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/238@tmp/config17064996843200187659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:45:00 ---> docker-login.sh 00:45:00 nexus3.edgexfoundry.org:10001 00:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:01 Configure a credential helper to remove this warning. See 00:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:01 00:45:01 Login Succeeded 00:45:01 nexus3.edgexfoundry.org:10002 00:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:01 Configure a credential helper to remove this warning. See 00:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:01 00:45:01 Login Succeeded 00:45:01 nexus3.edgexfoundry.org:10003 00:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:01 Configure a credential helper to remove this warning. See 00:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:01 00:45:01 Login Succeeded 00:45:01 nexus3.edgexfoundry.org:10004 00:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:02 Configure a credential helper to remove this warning. See 00:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:02 00:45:02 Login Succeeded 00:45:02 docker.io 00:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:45:03 Configure a credential helper to remove this warning. See 00:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:45:03 00:45:03 Login Succeeded 00:45:03 ---> docker-login.sh ends [Pipeline] } 00:45:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:45:04 ========================================================= 00:45:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:45:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:45:04 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 00:45:04 Sending build context to Docker daemon 5.884MB 00:45:04 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:45:04 Step 2/10 : FROM ${BASE} AS builder 00:45:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:45:05 edb6bdbacee9: Pulling fs layer 00:45:05 5f9638ab2659: Pulling fs layer 00:45:05 8d51d6327a98: Pulling fs layer 00:45:05 8b374f2dd631: Pulling fs layer 00:45:05 ec14aa9079de: Pulling fs layer 00:45:05 2f466654f4bb: Pulling fs layer 00:45:05 554e91adad29: Pulling fs layer 00:45:05 8b374f2dd631: Waiting 00:45:05 ec14aa9079de: Waiting 00:45:05 554e91adad29: Waiting 00:45:05 5f9638ab2659: Verifying Checksum 00:45:05 5f9638ab2659: Download complete 00:45:05 8b374f2dd631: Verifying Checksum 00:45:05 8b374f2dd631: Download complete 00:45:05 ec14aa9079de: Verifying Checksum 00:45:05 ec14aa9079de: Download complete 00:45:05 edb6bdbacee9: Verifying Checksum 00:45:06 edb6bdbacee9: Pull complete 00:45:06 554e91adad29: Verifying Checksum 00:45:06 554e91adad29: Download complete 00:45:06 5f9638ab2659: Pull complete 00:45:07 8d51d6327a98: Verifying Checksum 00:45:07 8d51d6327a98: Download complete 00:45:07 2f466654f4bb: Verifying Checksum 00:45:07 2f466654f4bb: Download complete 00:45:20 8d51d6327a98: Pull complete 00:45:20 8b374f2dd631: Pull complete 00:45:20 ec14aa9079de: Pull complete 00:45:25 2f466654f4bb: Pull complete 00:45:28 554e91adad29: Pull complete 00:45:28 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:45:28 ---> 1e15ea492957 00:45:28 Step 3/10 : ARG MAKE=make build 00:45:30 ---> Running in 7beb1b9bf3c3 00:45:30 Removing intermediate container 7beb1b9bf3c3 00:45:30 ---> fc2233642348 00:45:30 Step 4/10 : WORKDIR /device-sdk-go 00:45:30 ---> Running in 8b73256eaa81 00:45:30 Removing intermediate container 8b73256eaa81 00:45:30 ---> 331f6cc9a469 00:45:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:45:30 ---> Running in ff1e835b5c51 00:45:31 Removing intermediate container ff1e835b5c51 00:45:31 ---> 8cedd35acafa 00:45:31 Step 6/10 : RUN apk add --update --no-cache make git 00:45:31 ---> Running in 2b8a093f9ab5 00:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:45:33 OK: 263 MiB in 53 packages 00:45:34 Removing intermediate container 2b8a093f9ab5 00:45:34 ---> 6a32eacd4c16 00:45:34 Step 7/10 : COPY go.mod vendor* ./ 00:45:35 ---> e92b7e474870 00:45:35 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:35 ---> Running in 73359e8d6173 00:46:43 Removing intermediate container 73359e8d6173 00:46:43 ---> f71f08a6d57b 00:46:43 Step 9/10 : COPY . . 00:46:43 ---> f40f810135d7 00:46:43 Step 10/10 : RUN ${MAKE} 00:46:43 ---> Running in c206fad8ae88 00:46:43 noop 00:46:43 Removing intermediate container c206fad8ae88 00:46:43 ---> 3e8ecffd96e9 00:46:43 Successfully built 3e8ecffd96e9 00:46:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:43 + docker inspect -f . ci-base-image-arm64 00:46:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:43 prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container 00:46:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:46:45 $ docker top a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:45 + go version 00:46:45 go version go1.20.6 linux/arm64 [Pipeline] } 00:46:45 $ docker stop --time=1 a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 00:46:47 $ docker rm -f --volumes a573efcf9d852272ed2d728e725a1de8a95f18d5315b34b3db36b5260d591b93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:47 + docker inspect -f . ci-base-image-arm64 00:46:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:46:48 prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container 00:46:48 $ 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/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:46:49 $ docker top 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/238 [Pipeline] fileExists [Pipeline] sh 00:46:50 + make test 00:46:50 go test -race -coverprofile=coverage.out ./... 00:47:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:50:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:50:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements 00:50:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 80.2% of statements 00:50:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:50:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:50:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.420s coverage: 86.0% of statements 00:50:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:50:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.605s coverage: 71.8% of statements 00:50:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.291s coverage: 14.3% of statements 00:50:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.003s coverage: 43.8% of statements 00:50:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:50:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:50:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.429s coverage: 68.5% of statements 00:51:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.439s coverage: 89.2% of statements 00:51:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:51:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.270s coverage: 5.5% of statements 00:51:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:51:04 GO111MODULE=on go vet ./... 00:53:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:53:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:53:41 ./bin/test-attribution-txt.sh 00:53:41 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 00:53:41 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 00:53:41 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 00:53:41 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 00:53:41 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 00:53:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:53:41 $ docker stop --time=1 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 00:53:44 $ docker rm -f --volumes 82d6fc159053988efd07810c1a9b0b2e75462d994cbcc7ebf0bfa37f9cfead83 [Pipeline] // withDockerContainer [Pipeline] sh 00:53:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:53:45 Warning: overwriting stash ‘coverage-report’ 00:53:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:53:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:53:47 + ls -al . 00:53:47 total 300 00:53:47 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 00:46 . 00:53:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:44 .. 00:53:47 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:44 .dockerignore 00:53:47 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:44 .git 00:53:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:44 .github 00:53:47 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:44 .gitignore 00:53:47 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:44 .golangci.yml 00:53:47 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:44 CHANGELOG.md 00:53:47 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:44 GOVERNANCE.md 00:53:47 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:44 Jenkinsfile 00:53:47 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:44 LICENSE 00:53:47 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:44 Makefile 00:53:47 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:44 OWNERS.md 00:53:47 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:44 README.md 00:53:47 -rw-rw-r-- 1 jenkins jenkins 11 Aug 4 00:41 VERSION 00:53:47 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:44 bin 00:53:47 -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:51 coverage.out 00:53:47 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:44 example 00:53:47 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:44 go.mod 00:53:47 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:44 go.sum 00:53:47 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 internal 00:53:47 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:44 openapi 00:53:47 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:44 pkg 00:53:47 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:44 snap 00:53:47 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:53:47 + 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=9643316300e59272a09f9c1d01562286ee215d0b --label arch=arm64 --label version=3.1.0-dev.9 . 00:53:47 Sending build context to Docker daemon 6.005MB 00:53:48 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:53:48 Step 2/23 : FROM ${BASE} AS builder 00:53:48 ---> 3e8ecffd96e9 00:53:48 Step 3/23 : ARG MAKE=make build 00:53:48 ---> Running in c4cf7d4a5250 00:53:48 Removing intermediate container c4cf7d4a5250 00:53:48 ---> 81fddfa71075 00:53:48 Step 4/23 : WORKDIR /device-sdk-go 00:53:48 ---> Running in b4a6d5e73d1b 00:53:48 Removing intermediate container b4a6d5e73d1b 00:53:48 ---> c4954ae9d8ba 00:53:48 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:53:48 ---> Running in 76dfd989efca 00:53:49 Removing intermediate container 76dfd989efca 00:53:49 ---> 7e23b3977f08 00:53:49 Step 6/23 : RUN apk add --update --no-cache make git 00:53:49 ---> Running in af409a1c137e 00:53:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:53:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:53:52 OK: 263 MiB in 53 packages 00:53:53 Removing intermediate container af409a1c137e 00:53:53 ---> 610888ee68dc 00:53:53 Step 7/23 : COPY go.mod vendor* ./ 00:53:53 ---> c042687d27c7 00:53:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:53:53 ---> Running in 85047d7e227c 00:53:59 Removing intermediate container 85047d7e227c 00:53:59 ---> 36185c21272e 00:53:59 Step 9/23 : COPY . . 00:53:59 ---> c3e0bba0cb4f 00:53:59 Step 10/23 : RUN ${MAKE} 00:53:59 ---> Running in fb0ddeec575d 00:54:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.9" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:56:37 Removing intermediate container fb0ddeec575d 00:56:37 ---> fa8cb2a4d4c7 00:56:37 Step 11/23 : FROM alpine:3.17 00:56:37 3.17: Pulling from library/alpine 00:56:37 edb6bdbacee9: Already exists 00:56:37 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:56:37 Status: Downloaded newer image for alpine:3.17 00:56:37 ---> 779605e5fbc0 00:56:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:56:37 ---> Running in a72dc617c77f 00:56:37 Removing intermediate container a72dc617c77f 00:56:37 ---> 721c5f67efdb 00:56:37 Step 13/23 : RUN apk add --update --no-cache 00:56:37 ---> Running in 4564f0b1e16d 00:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:56:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:56:37 OK: 7 MiB in 15 packages 00:56:37 Removing intermediate container 4564f0b1e16d 00:56:37 ---> 3fffbcd3d9df 00:56:37 Step 14/23 : WORKDIR / 00:56:37 ---> Running in 9158a0312ac1 00:56:37 Removing intermediate container 9158a0312ac1 00:56:37 ---> ba10c24fffe0 00:56:37 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:56:37 ---> 43c12cd4c238 00:56:37 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:56:37 ---> 30bde6ca44fd 00:56:37 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:56:37 ---> 706f7c49f863 00:56:37 Step 18/23 : EXPOSE 59999 00:56:37 ---> Running in 2ace1b1807e1 00:56:37 Removing intermediate container 2ace1b1807e1 00:56:37 ---> c66001ff5c9e 00:56:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:56:37 ---> Running in 547cb96b27ce 00:56:37 Removing intermediate container 547cb96b27ce 00:56:37 ---> aff0469bb50e 00:56:37 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:56:37 ---> Running in 49df5c92a763 00:56:37 Removing intermediate container 49df5c92a763 00:56:37 ---> a7db211642b4 00:56:37 Step 21/23 : LABEL arch=arm64 00:56:37 ---> Running in bc451371de60 00:56:37 Removing intermediate container bc451371de60 00:56:37 ---> e3fe0b4e1435 00:56:37 Step 22/23 : LABEL git_sha=9643316300e59272a09f9c1d01562286ee215d0b 00:56:37 ---> Running in ba56f38e06f7 00:56:37 Removing intermediate container ba56f38e06f7 00:56:37 ---> 428ce25e125c 00:56:37 Step 23/23 : LABEL version=3.1.0-dev.9 00:56:37 ---> Running in e9d1f2b08176 00:56:37 Removing intermediate container e9d1f2b08176 00:56:37 ---> 8957c6cd3896 00:56:37 [Warning] One or more build-args [ARCH] were not consumed 00:56:37 Successfully built 8957c6cd3896 00:56:37 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 00:56:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:38 00:56:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:56:38 arm64: Pulling from edgex-lftools-log-publisher 00:56:38 8998bd30e6a1: Pulling fs layer 00:56:38 04944245beec: Pulling fs layer 00:56:38 699f458cf7ca: Pulling fs layer 00:56:38 765212b225bb: Pulling fs layer 00:56:38 f23df028b6ca: Pulling fs layer 00:56:38 d65c8cfc05b1: Pulling fs layer 00:56:38 2437ff75d9bd: Pulling fs layer 00:56:38 765212b225bb: Waiting 00:56:38 f23df028b6ca: Waiting 00:56:38 d65c8cfc05b1: Waiting 00:56:38 2437ff75d9bd: Waiting 00:56:38 04944245beec: Verifying Checksum 00:56:38 04944245beec: Download complete 00:56:38 765212b225bb: Verifying Checksum 00:56:38 765212b225bb: Download complete 00:56:38 f23df028b6ca: Verifying Checksum 00:56:38 f23df028b6ca: Download complete 00:56:38 d65c8cfc05b1: Verifying Checksum 00:56:38 d65c8cfc05b1: Download complete 00:56:38 699f458cf7ca: Download complete 00:56:39 8998bd30e6a1: Verifying Checksum 00:56:39 8998bd30e6a1: Download complete 00:56:41 2437ff75d9bd: Verifying Checksum 00:56:41 2437ff75d9bd: Download complete 00:56:42 8998bd30e6a1: Pull complete 00:56:43 04944245beec: Pull complete 00:56:44 699f458cf7ca: Pull complete 00:56:44 765212b225bb: Pull complete 00:56:45 f23df028b6ca: Pull complete 00:56:45 d65c8cfc05b1: Pull complete 00:57:00 2437ff75d9bd: Pull complete 00:57:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:57:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:00 prd-ubuntu20.04-docker-arm64-4c-16g-2870 does not seem to be running inside a container 00:57:00 $ 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/238 -v /w/workspace/device-sdk-go/238:/w/workspace/device-sdk-go/238:rw,z -v /w/workspace/device-sdk-go/238@tmp:/w/workspace/device-sdk-go/238@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:57:03 $ docker top ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:03 ---> job-cost.sh 00:57:04 lf-activate-venv: SKIPPING 00:57:04 INFO: No Stack... 00:57:04 INFO: Retrieving Pricing Info for: v3-standard-4 00:57:05 INFO: Archiving Costs [Pipeline] sh 00:57:05 + cat /w/workspace/device-sdk-go/238/archives/cost.csv 00:57:05 + cut -d, -f6 [Pipeline] lock 00:57:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] 00:57:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] did not exist. Created. 00:57:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:06 /w/workspace/device-sdk-go/238@tmp/durable-0f1ef6b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:57:06 + echo total: 0.10999999940395355 [Pipeline] stash 00:57:06 Warning: overwriting stash ‘stack-cost’ 00:57:06 Stashed 1 file(s) [Pipeline] } 00:57:07 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-238-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:07 $ docker stop --time=1 ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f 00:57:10 $ docker rm -f --volumes ab54ecc1ae2daa2d3955bf31594dc2072be8af2cf6116ae8a15dbd0d13cff19f [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 00:57:10 provisioning config files... 00:57:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14624988270140436914tmp [Pipeline] { [Pipeline] sh 00:57:10 + set +x 00:57:10 + curl -s https://codecov.io/bash 00:57:10 + bash -s -- 00:57:10 00:57:10 _____ _ 00:57:10 / ____| | | 00:57:10 | | ___ __| | ___ ___ _____ __ 00:57:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:57:10 | |___| (_) | (_| | __/ (_| (_) \ V / 00:57:10 \_____\___/ \__,_|\___|\___\___/ \_/ 00:57:10 Bash-1.0.6 00:57:10 00:57:10 00:57:10 ==> git version 2.25.1 found 00:57:10 ==> 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 00:57:10 Release-Date: 2020-01-08 00:57:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:57:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:57:10 ==> Jenkins CI detected. 00:57:10 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:57:10 project root: . 00:57:10 --> token set from env 00:57:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:57:10 ==> Running gcov in . (disable via -X gcov) 00:57:10 ==> Python coveragepy not found 00:57:10 ==> Searching for coverage reports in: 00:57:10 + . 00:57:11 -> Found 1 reports 00:57:11 ==> Detecting git/mercurial file structure 00:57:11 ==> Reading reports 00:57:11 + ./coverage.out bytes=120271 00:57:11 ==> Appending adjustments 00:57:11 https://docs.codecov.io/docs/fixing-reports 00:57:11 + Found adjustments 00:57:11 ==> Gzipping contents 00:57:11 20K /tmp/codecov.m9WwjJ.gz 00:57:11 ==> Uploading reports 00:57:11 url: https://codecov.io 00:57:11 query: branch=main&commit=9643316300e59272a09f9c1d01562286ee215d0b&build=238&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F238%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:57:11 -> Pinging Codecov 00:57:11 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=9643316300e59272a09f9c1d01562286ee215d0b&build=238&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F238%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:57:11 -> Uploading to 00:57:11 https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/9643316300e59272a09f9c1d01562286ee215d0b/8b1e265f-0355-4fac-8ccb-c50a130bee64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T005711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7688435a1e91e74af156f366e694df6bdd63e0a06cb5b8e44b454aed8c393f8 00:57:11 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:11 Dload Upload Total Spent Left Speed 00:57:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 79776 --:--:-- --:--:-- --:--:-- 79776 00:57:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] } 00:57:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:57:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:57:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:57:12 00:57:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:57:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:57:12 df9b9388f04a: Pulling fs layer 00:57:12 52dc419b0ee2: Pulling fs layer 00:57:12 25bc292e5bac: Pulling fs layer 00:57:12 114826534d7a: Pulling fs layer 00:57:12 4657fd5d0bcf: Pulling fs layer 00:57:12 114826534d7a: Waiting 00:57:12 6ad1cebc031e: Pulling fs layer 00:57:12 4657fd5d0bcf: Waiting 00:57:12 8a3aa393b2d8: Pulling fs layer 00:57:12 6ad1cebc031e: Waiting 00:57:12 8a3aa393b2d8: Waiting 00:57:12 25bc292e5bac: Download complete 00:57:12 52dc419b0ee2: Download complete 00:57:12 4657fd5d0bcf: Verifying Checksum 00:57:12 4657fd5d0bcf: Download complete 00:57:12 df9b9388f04a: Pull complete 00:57:12 6ad1cebc031e: Verifying Checksum 00:57:12 6ad1cebc031e: Download complete 00:57:12 52dc419b0ee2: Pull complete 00:57:13 25bc292e5bac: Pull complete 00:57:13 114826534d7a: Verifying Checksum 00:57:13 114826534d7a: Download complete 00:57:13 8a3aa393b2d8: Verifying Checksum 00:57:13 8a3aa393b2d8: Download complete 00:57:17 114826534d7a: Pull complete 00:57:17 4657fd5d0bcf: Pull complete 00:57:17 6ad1cebc031e: Pull complete 00:57:20 8a3aa393b2d8: Pull complete 00:57:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:57:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:57:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:20 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:57:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:57:27 $ docker top 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f -eo pid,comm [Pipeline] { [Pipeline] echo 00:57:27 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:57:28 + set -o pipefail 00:57:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:57:36 00:57:36 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:57:36 00:57:36 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/36d25522-0cdf-458d-81ae-1defcb7fdf98 00:57:36 00:57:36 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:57:36 00:57:36 00:57:36 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:57:36 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:57:36 More details here: https://snyk.co/ue1NS 00:57:36 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 00:57:36 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:57:36 $ docker stop --time=1 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f 00:57:46 $ docker rm -f --volumes 75b9eec6fb32b120069705b7c8b9d6ad0f9bde1a12966fc977f7263404d74f3f [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 00:57:47 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:57:47 provisioning config files... 00:57:47 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4291110418684336916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:47 --> edgex-publish-swagger.sh 00:57:47 === Publish openapi/v3 API === 00:57:47 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:57:47 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:57:47 % Total % Received % Xferd Average Speed Time Time Time Current 00:57:47 Dload Upload Total Spent Left Speed 00:57:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 98232 --:--:-- --:--:-- --:--:-- 97826 100 23674 0 0 100 23674 0 46972 --:--:-- --:--:-- --:--:-- 46879 00:57:48 00:57:48 [Pipeline] } 00:57:48 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 00:57:48 + git log --format=format:%s -1 9643316300e59272a09f9c1d01562286ee215d0b [Pipeline] sh 00:57:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:57:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:57:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:49 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:57:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:57:50 $ docker top 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef -eo pid,comm 00:57:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:57:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:57:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:57:50 [ssh-agent] Looking for ssh-agent implementation... 00:57:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:57:50 $ docker exec 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef ssh-agent 00:57:50 SSH_AUTH_SOCK=/tmp/ssh-YNwBnUit5qak/agent.14 00:57:50 SSH_AGENT_PID=20 00:57:50 Running ssh-add (command line suppressed) 00:57:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_82196914192817042.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_82196914192817042.key) 00:57:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:57:51 + git semver tag 00:57:51 2023-08-04 00:57:51,339 [run_tag] DEBUG tag force:False 00:57:51 2023-08-04 00:57:51,339 [check_head_tag] DEBUG check head tag 00:57:51 2023-08-04 00:57:51,341 [execute] INFO git cat-file --batch-check 00:57:51 2023-08-04 00:57:51,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:57:51 2023-08-04 00:57:51,347 [execute] INFO git cat-file --batch 00:57:51 2023-08-04 00:57:51,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:57:51 2023-08-04 00:57:51,360 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:57:51 2023-08-04 00:57:51,360 [execute] INFO git tag -a v3.1.0-dev.9 -m v3.1.0-dev.9 00:57:51 2023-08-04 00:57:51,361 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.9', '-m', 'v3.1.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:57:51 2023-08-04 00:57:51,366 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:57:51 3.1.0-dev.9 [Pipeline] } 00:57:51 $ docker exec --env ******** --env ******** 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef ssh-agent -k 00:57:51 unset SSH_AUTH_SOCK; 00:57:51 unset SSH_AGENT_PID; 00:57:51 echo Agent pid 20 killed; 00:57:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:57:52 + git semver [Pipeline] } 00:57:52 $ docker stop --time=1 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef 00:57:53 $ docker rm -f --volumes 755a41787c9d56e12b8aad7734b65f323e525299aeff78225167b4c9a8602aef [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:57:54 00:57:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:57:54 0.23.1-centos7: Pulling from edgex-lftools 00:57:54 ab5ef0e58194: Pulling fs layer 00:57:54 9712f1f96733: Pulling fs layer 00:57:54 63f879dbbcfc: Pulling fs layer 00:57:54 0d9ebad4ef96: Pulling fs layer 00:57:54 e9a5061849ea: Pulling fs layer 00:57:54 d747dcd14b5f: Pulling fs layer 00:57:54 2de7ff778b66: Pulling fs layer 00:57:54 0d9ebad4ef96: Waiting 00:57:54 e9a5061849ea: Waiting 00:57:54 2de7ff778b66: Waiting 00:57:54 9712f1f96733: Download complete 00:57:54 63f879dbbcfc: Verifying Checksum 00:57:54 63f879dbbcfc: Download complete 00:57:54 0d9ebad4ef96: Verifying Checksum 00:57:54 0d9ebad4ef96: Download complete 00:57:54 ab5ef0e58194: Verifying Checksum 00:57:54 ab5ef0e58194: Download complete 00:57:55 e9a5061849ea: Verifying Checksum 00:57:55 e9a5061849ea: Download complete 00:57:55 d747dcd14b5f: Verifying Checksum 00:57:55 d747dcd14b5f: Download complete 00:57:55 2de7ff778b66: Verifying Checksum 00:57:55 2de7ff778b66: Download complete 00:57:58 ab5ef0e58194: Pull complete 00:57:58 9712f1f96733: Pull complete 00:57:58 63f879dbbcfc: Pull complete 00:58:03 0d9ebad4ef96: Pull complete 00:58:03 e9a5061849ea: Pull complete 00:58:03 d747dcd14b5f: Pull complete 00:58:04 2de7ff778b66: Pull complete 00:58:04 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:58:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:58:04 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:04 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:58:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:58:10 $ docker top 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:58:10 provisioning config files... 00:58:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18065141426300953334tmp 00:58:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14877076670697839952tmp 00:58:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9430030911103284426tmp [Pipeline] { [Pipeline] echo 00:58:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:58:11 ---> sigul-configuration.sh 00:58:11 gpg: directory `/root/.gnupg' created 00:58:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:58:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:58:11 gpg: keyring `/root/.gnupg/secring.gpg' created 00:58:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:58:11 gpg: CAST5 encrypted data 00:58:11 gpg: encrypted with 1 passphrase 00:58:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:58:11 + mkdir /home/jenkins 00:58:11 + mkdir /home/jenkins/sigul [Pipeline] sh 00:58:11 + 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 00:58:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:58:12 ---> sigul-install.sh 00:58:12 Sigul already installed; skipping installation. [Pipeline] sh 00:58:12 + git tag --list 00:58:12 0.7.1 00:58:12 delhi-tag 00:58:12 v1.0.0 00:58:12 v1.1.0 00:58:12 v1.1.1 00:58:12 v1.1.2 00:58:12 v1.2.0 00:58:12 v1.2.1 00:58:12 v1.2.2 00:58:12 v1.2.3 00:58:12 v1.3.0 00:58:12 v1.4.0 00:58:12 v2.0.0 00:58:12 v2.1.0 00:58:12 v2.1.1 00:58:12 v2.2.0 00:58:12 v2.3.0 00:58:12 v2.3.1 00:58:12 v3.0 00:58:12 v3.0.0 00:58:12 v3.0.1-dev.1 00:58:12 v3.1.0-dev.1 00:58:12 v3.1.0-dev.2 00:58:12 v3.1.0-dev.3 00:58:12 v3.1.0-dev.4 00:58:12 v3.1.0-dev.5 00:58:12 v3.1.0-dev.6 00:58:12 v3.1.0-dev.7 00:58:12 v3.1.0-dev.8 00:58:12 v3.1.0-dev.9 [Pipeline] sh 00:58:12 + lftools sign git-tag v3.1.0-dev.9 00:58:13 Signing Git tag with Sigul... 00:58:13 Signing v3.1.0-dev.9 [Pipeline] echo 00:58:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:58:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:58:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:58:13 $ docker stop --time=1 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b 00:58:15 $ docker rm -f --volumes 7ca74ca3ba294b93f5382cdeff9963617c53cfd0d35865fdcffc7b4acd12ae0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:58:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:58:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:58:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:15 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:58:16 $ docker top 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:58:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:58:16 [ssh-agent] Looking for ssh-agent implementation... 00:58:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:58:16 $ docker exec 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c ssh-agent 00:58:16 SSH_AUTH_SOCK=/tmp/ssh-iHuc6ejRrTm6/agent.32 00:58:16 SSH_AGENT_PID=38 00:58:16 Running ssh-add (command line suppressed) 00:58:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7679176657509118302.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7679176657509118302.key) 00:58:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:58:16 + git semver bump pre 00:58:17 2023-08-04 00:58:17,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:58:17 2023-08-04 00:58:17,152 [bump_version] DEBUG bumping version:3.1.0-dev.9 on axis:pre with prefix:dev 00:58:17 2023-08-04 00:58:17,152 [bump_version] DEBUG bumped version:3.1.0-dev.10 00:58:17 2023-08-04 00:58:17,152 [write_version] DEBUG write version:3.1.0-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:58:17 2023-08-04 00:58:17,152 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:58:17 2023-08-04 00:58:17,153 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:58:17 2023-08-04 00:58:17,156 [execute] INFO git cat-file --batch-check 00:58:17 2023-08-04 00:58:17,157 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:58:17 2023-08-04 00:58:17,161 [execute] INFO git cat-file --batch 00:58:17 2023-08-04 00:58:17,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:58:17 2023-08-04 00:58:17,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:58:17 3.1.0-dev.10 [Pipeline] } 00:58:17 $ docker exec --env ******** --env ******** 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c ssh-agent -k 00:58:17 unset SSH_AUTH_SOCK; 00:58:17 unset SSH_AGENT_PID; 00:58:17 echo Agent pid 38 killed; 00:58:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:58:17 + git semver [Pipeline] } 00:58:18 $ docker stop --time=1 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c 00:58:19 $ docker rm -f --volumes 56ae5e9017f4f0b558c1a67412e502bde0e239a2b836c86338bb06bb9ad5814c [Pipeline] // withDockerContainer [Pipeline] sh 00:58:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:58:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:58:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:20 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:58:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:58:20 $ docker top c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 -eo pid,comm 00:58:20 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). 00:58:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:58:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:58:21 [ssh-agent] Looking for ssh-agent implementation... 00:58:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:58:21 $ docker exec c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 ssh-agent 00:58:21 SSH_AUTH_SOCK=/tmp/ssh-XJc4tXGSIM9j/agent.33 00:58:21 SSH_AGENT_PID=39 00:58:21 Running ssh-add (command line suppressed) 00:58:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16259956493716222645.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16259956493716222645.key) 00:58:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:58:21 + git semver push 00:58:21 2023-08-04 00:58:21,856 [run_push] DEBUG push 00:58:21 2023-08-04 00:58:21,857 [execute] INFO git cat-file --batch-check 00:58:21 2023-08-04 00:58:21,858 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:58:21 2023-08-04 00:58:21,861 [execute] INFO git rev-list 83a0b6233bf3e11c804dc53056c4b68fc1af8ff7 -- 00:58:21 2023-08-04 00:58:21,861 [execute] DEBUG Popen(['git', 'rev-list', '83a0b6233bf3e11c804dc53056c4b68fc1af8ff7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:58:21 2023-08-04 00:58:21,871 [execute] INFO git fetch -v origin 00:58:21 2023-08-04 00:58:21,872 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:58:22 2023-08-04 00:58:22,446 [run_push] DEBUG no remote changes detected 00:58:22 2023-08-04 00:58:22,447 [execute] INFO git push origin semver 00:58:22 2023-08-04 00:58:22,447 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:58:23 2023-08-04 00:58:23,312 [run_push] DEBUG push all version tags 00:58:23 2023-08-04 00:58:23,313 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:58:23 2023-08-04 00:58:23,313 [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) 00:58:24 2023-08-04 00:58:24,142 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:58:24 3.1.0-dev.10 [Pipeline] } 00:58:24 $ docker exec --env ******** --env ******** c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 ssh-agent -k 00:58:24 unset SSH_AUTH_SOCK; 00:58:24 unset SSH_AGENT_PID; 00:58:24 echo Agent pid 39 killed; 00:58:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:58:24 + git semver [Pipeline] } 00:58:25 $ docker stop --time=1 c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 00:58:26 $ docker rm -f --volumes c9bf3dbe8642dfb42d4e3e3d3a3e76db1d62f3dacd5c92a36f07656137fc0403 [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 00:58:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:58:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:58:26 total 16 00:58:26 drwxr-xr-x 3 root root 4096 Aug 4 00:44 . 00:58:26 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:58 .. 00:58:26 drwxr-xr-x 2 root root 4096 Aug 4 00:44 cost 00:58:26 -rw-r--r-- 1 root root 85 Aug 4 00:44 cost.csv 00:58:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:58:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:58:26 total 16 00:58:26 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:44 . 00:58:26 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:58 .. 00:58:26 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 00:44 cost 00:58:26 -rw-r--r-- 1 jenkins jenkins 85 Aug 4 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:58:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:58:28 ---> package-listing.sh 00:58:28 ++ facter osfamily 00:58:28 ++ tr '[:upper:]' '[:lower:]' 00:58:28 + OS_FAMILY=debian 00:58:28 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:58:28 + START_PACKAGES=/tmp/packages_start.txt 00:58:28 + END_PACKAGES=/tmp/packages_end.txt 00:58:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:58:28 + PACKAGES=/tmp/packages_start.txt 00:58:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:58:28 + PACKAGES=/tmp/packages_end.txt 00:58:28 + case "${OS_FAMILY}" in 00:58:28 + dpkg -l 00:58:28 + grep '^ii' 00:58:28 + '[' -f /tmp/packages_start.txt ']' 00:58:28 + '[' -f /tmp/packages_end.txt ']' 00:58:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:58:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:58:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:58:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:58:28 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 00:58:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:29 prd-ubuntu20.04-docker-8c-8g-2867 does not seem to be running inside a container 00:58:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:58:29 $ docker top 47c7a5a69d3938274554488ba7e22a6104a18c34bbccfcbe92309e34f58661c4 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:30 + touch /tmp/pre-build-complete [Pipeline] sh 00:58:30 + mkdir -p /var/log/sysstat [Pipeline] sh 00:58:30 + ls /var/log/sa-host 00:58:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:30 provisioning config files... 00:58:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10886222772296802308tmp [Pipeline] { [Pipeline] echo 00:58:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:58:30 ---> create-netrc.sh [Pipeline] } 00:58:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:58:31 ---> python-tools-install.sh [Pipeline] echo 00:58:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:58:31 ---> sudo-logs.sh 00:58:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:58:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:58:31 ---> job-cost.sh 00:58:31 lf-activate-venv: SKIPPING 00:58:31 DEBUG: total: 0.2199999988079071 00:58:31 INFO: Retrieving Stack Cost... 00:58:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:58:32 INFO: Archiving Costs [Pipeline] echo 00:58:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:58:33 ---> logs-deploy.sh 00:58:33 lf-activate-venv: SKIPPING 00:58:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/238 00:58:33 INFO: archiving workspace using pattern(s): 00:58:33 Archives upload complete. 00:58:34 INFO: archiving logs to Nexus