Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0776c05133aecd05e9cca04d73874dfbd24934b0 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-ssh5814685330296689055.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-ssh16101097542910259065.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-ssh6814706406555364494.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-ssh14807643747665248580.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-ssh821650034027469343.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1595 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 0776c05133aecd05e9cca04d73874dfbd24934b0 (main) Commit message: "feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471)" > 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 0776c05133aecd05e9cca04d73874dfbd24934b0 # timeout=10 > git rev-list --no-walk d74039b1e75348ec690936aee1c1bcbaac678fee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:37:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:37:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:37:11 ========================================================= 21:37:11 EdgeX Global Pipelines Version Info 21:37:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:37:12 ------------------- 21:37:12 stable info: 21:37:12 ------------------- 21:37:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:37:12 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:37:12 Message: update stable to v1.0.250 21:37:13 ------------------- 21:37:13 experimental info: 21:37:13 ------------------- 21:37:13 Commited By: **** collab-it+edgex@linuxfoundation.org 21:37:13 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 21:37:13 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0776c05 [Pipeline] echo 21:37:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:37:13 provisioning config files... 21:37:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5178726531609418411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:14 ---> docker-login.sh 21:37:14 nexus3.edgexfoundry.org:10001 21:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:14 Configure a credential helper to remove this warning. See 21:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:14 21:37:14 Login Succeeded 21:37:14 nexus3.edgexfoundry.org:10002 21:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:14 Configure a credential helper to remove this warning. See 21:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:14 21:37:14 Login Succeeded 21:37:14 nexus3.edgexfoundry.org:10003 21:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:14 Configure a credential helper to remove this warning. See 21:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:14 21:37:14 Login Succeeded 21:37:14 nexus3.edgexfoundry.org:10004 21:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:14 Configure a credential helper to remove this warning. See 21:37:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:14 21:37:14 Login Succeeded 21:37:14 docker.io 21:37:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:15 Configure a credential helper to remove this warning. See 21:37:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:15 21:37:15 Login Succeeded 21:37:15 ---> docker-login.sh ends [Pipeline] } 21:37:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:37:15 + git rev-list -1 --merges 0776c05133aecd05e9cca04d73874dfbd24934b0~1..0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo 21:37:15 -----------> git rev-list -1 --merges 0776c05133aecd05e9cca04d73874dfbd24934b0~1..0776c05133aecd05e9cca04d73874dfbd24934b0 0776c05133aecd05e9cca04d73874dfbd24934b0 [false] [Pipeline] sh 21:37:15 + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo 21:37:15 ========================================================= 21:37:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:37:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:37:16 + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] echo 21:37:16 [semverPrep] GIT_COMMIT: 0776c05133aecd05e9cca04d73874dfbd24934b0, Commit Message: feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471) [Pipeline] echo 21:37:16 [semverPrep] This is not a build commit. [Pipeline] sh 21:37:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:37:16 + grep -v github /etc/ssh/ssh_known_hosts 21:37:16 + [ -e /tmp/ssh_known_hosts ] 21:37:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:37:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:37:16 + sudo tee -a /etc/ssh/ssh_known_hosts 21:37:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:37:17 21:37:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:37:17 0.1.4: Pulling from edgex-devops/py-git-semver 21:37:17 b85a868b505f: Pulling fs layer 21:37:17 e2be974225ed: Pulling fs layer 21:37:17 339a4e72a1f5: Pulling fs layer 21:37:17 988bab9f4d93: Pulling fs layer 21:37:17 1469e6f7b9e6: Pulling fs layer 21:37:17 eaf3925da568: Pulling fs layer 21:37:17 bab4dde63d76: Pulling fs layer 21:37:17 bde34c3a00c8: Pulling fs layer 21:37:17 b352a97aabf1: Pulling fs layer 21:37:17 4872d77fe225: Pulling fs layer 21:37:17 5851b861e8e6: Pulling fs layer 21:37:17 b352a97aabf1: Waiting 21:37:17 bab4dde63d76: Waiting 21:37:17 4872d77fe225: Waiting 21:37:17 1469e6f7b9e6: Waiting 21:37:17 5851b861e8e6: Waiting 21:37:17 bde34c3a00c8: Waiting 21:37:17 988bab9f4d93: Waiting 21:37:17 eaf3925da568: Waiting 21:37:17 e2be974225ed: Download complete 21:37:17 988bab9f4d93: Download complete 21:37:17 1469e6f7b9e6: Verifying Checksum 21:37:17 1469e6f7b9e6: Download complete 21:37:17 eaf3925da568: Download complete 21:37:17 339a4e72a1f5: Verifying Checksum 21:37:17 339a4e72a1f5: Download complete 21:37:17 bde34c3a00c8: Verifying Checksum 21:37:17 bde34c3a00c8: Download complete 21:37:17 b352a97aabf1: Download complete 21:37:17 4872d77fe225: Download complete 21:37:17 5851b861e8e6: Verifying Checksum 21:37:17 5851b861e8e6: Download complete 21:37:17 b85a868b505f: Verifying Checksum 21:37:17 b85a868b505f: Download complete 21:37:17 bab4dde63d76: Verifying Checksum 21:37:17 bab4dde63d76: Download complete 21:37:18 b85a868b505f: Pull complete 21:37:19 e2be974225ed: Pull complete 21:37:19 339a4e72a1f5: Pull complete 21:37:19 988bab9f4d93: Pull complete 21:37:19 1469e6f7b9e6: Pull complete 21:37:19 eaf3925da568: Pull complete 21:37:21 bab4dde63d76: Pull complete 21:37:21 bde34c3a00c8: Pull complete 21:37:22 b352a97aabf1: Pull complete 21:37:22 4872d77fe225: Pull complete 21:37:22 5851b861e8e6: Pull complete 21:37:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:37:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:37:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:22 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:37:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:37:25 $ docker top ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 -eo pid,comm 21:37:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:37:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:37:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:25 [ssh-agent] Looking for ssh-agent implementation... 21:37:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:25 $ docker exec ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent 21:37:25 SSH_AUTH_SOCK=/tmp/ssh-gJracp74VGWe/agent.32 21:37:25 SSH_AGENT_PID=38 21:37:25 Running ssh-add (command line suppressed) 21:37:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11053444818157330250.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11053444818157330250.key) 21:37:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:26 + git tag --points-at HEAD [Pipeline] } 21:37:26 $ docker exec --env ******** --env ******** ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent -k 21:37:26 unset SSH_AUTH_SOCK; 21:37:26 unset SSH_AGENT_PID; 21:37:26 echo Agent pid 38 killed; 21:37:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:37:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:37:26 [ssh-agent] Looking for ssh-agent implementation... 21:37:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:37:26 $ docker exec ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent 21:37:26 SSH_AUTH_SOCK=/tmp/ssh-dFbzk2JPdkEj/agent.70 21:37:26 SSH_AGENT_PID=76 21:37:26 Running ssh-add (command line suppressed) 21:37:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9356745573278518109.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9356745573278518109.key) 21:37:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:37:26 + git semver init 21:37:27 2023-07-19 21:37:26,955 [run_init] DEBUG init version:0.0.0 force:False 21:37:27 2023-07-19 21:37:26,956 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:37:27 2023-07-19 21:37:26,957 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 21:37:27 2023-07-19 21:37:26,957 [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) 21:37:27 2023-07-19 21:37:27,845 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 21:37:27 2023-07-19 21:37:27,846 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 21:37:27 2023-07-19 21:37:27,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:37:27 2023-07-19 21:37:27,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:37:27 3.1.0-dev.7 [Pipeline] } 21:37:27 $ docker exec --env ******** --env ******** ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 ssh-agent -k 21:37:28 unset SSH_AUTH_SOCK; 21:37:28 unset SSH_AGENT_PID; 21:37:28 echo Agent pid 76 killed; 21:37:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:28 + git semver [Pipeline] } 21:37:28 $ docker stop --time=1 ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 21:37:29 $ docker rm -f --volumes ce97746d6f187b57c76e86bc762df1a7a28d43caa6d6cc42924f9c5ae80e9575 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:37:30 Stashed 1 file(s) [Pipeline] echo 21:37:30 [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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 21:37:30 provisioning config files... 21:37:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11378548440913571129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:30 ---> docker-login.sh 21:37:30 nexus3.edgexfoundry.org:10001 21:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:30 Configure a credential helper to remove this warning. See 21:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:30 21:37:30 Login Succeeded 21:37:30 nexus3.edgexfoundry.org:10002 21:37:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:30 Configure a credential helper to remove this warning. See 21:37:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:30 21:37:30 Login Succeeded 21:37:30 nexus3.edgexfoundry.org:10003 21:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:31 Configure a credential helper to remove this warning. See 21:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:31 21:37:31 Login Succeeded 21:37:31 nexus3.edgexfoundry.org:10004 21:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:31 Configure a credential helper to remove this warning. See 21:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:31 21:37:31 Login Succeeded 21:37:31 docker.io 21:37:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:31 Configure a credential helper to remove this warning. See 21:37:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:31 21:37:31 Login Succeeded 21:37:31 ---> docker-login.sh ends [Pipeline] } 21:37:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:31 ========================================================= 21:37:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:37:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:31 + 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 . 21:37:31 Sending build context to Docker daemon 10.98MB 21:37:31 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:37:31 Step 2/10 : FROM ${BASE} AS builder 21:37:31 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:37:31 4db1b89c0bd1: Pulling fs layer 21:37:31 6911f1a30b25: Pulling fs layer 21:37:31 e194b8c5c2a9: Pulling fs layer 21:37:31 6863d3e3a2b1: Pulling fs layer 21:37:31 ec0bb842ea78: Pulling fs layer 21:37:31 40a00589a448: Pulling fs layer 21:37:31 6c08303d61cc: Pulling fs layer 21:37:31 798269fcf238: Pulling fs layer 21:37:31 6c08303d61cc: Waiting 21:37:31 40a00589a448: Waiting 21:37:31 798269fcf238: Waiting 21:37:31 ec0bb842ea78: Waiting 21:37:31 6863d3e3a2b1: Waiting 21:37:32 6911f1a30b25: Verifying Checksum 21:37:32 6911f1a30b25: Download complete 21:37:32 6863d3e3a2b1: Download complete 21:37:32 ec0bb842ea78: Verifying Checksum 21:37:32 ec0bb842ea78: Download complete 21:37:32 4db1b89c0bd1: Verifying Checksum 21:37:32 4db1b89c0bd1: Download complete 21:37:32 40a00589a448: Verifying Checksum 21:37:32 40a00589a448: Download complete 21:37:32 4db1b89c0bd1: Pull complete 21:37:32 6911f1a30b25: Pull complete 21:37:32 798269fcf238: Verifying Checksum 21:37:32 798269fcf238: Download complete 21:37:32 e194b8c5c2a9: Download complete 21:37:32 6c08303d61cc: Verifying Checksum 21:37:32 6c08303d61cc: Download complete 21:37:36 e194b8c5c2a9: Pull complete 21:37:36 6863d3e3a2b1: Pull complete 21:37:36 ec0bb842ea78: Pull complete 21:37:36 40a00589a448: Pull complete 21:37:39 6c08303d61cc: Pull complete 21:37:39 798269fcf238: Pull complete 21:37:39 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:37:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:37:39 ---> ec979cd7f677 21:37:39 Step 3/10 : ARG MAKE=make build 21:37:44 ---> Running in 15c9754ed609 21:37:44 Removing intermediate container 15c9754ed609 21:37:44 ---> 9d9ec4d4ae74 21:37:44 Step 4/10 : WORKDIR /device-sdk-go 21:37:44 ---> Running in a737879d2b6e 21:37:44 Removing intermediate container a737879d2b6e 21:37:44 ---> 250075a82b10 21:37:44 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:37:44 ---> Running in b98d903d4d39 21:37:44 Removing intermediate container b98d903d4d39 21:37:44 ---> 548966646428 21:37:44 Step 6/10 : RUN apk add --update --no-cache make git 21:37:44 ---> Running in c7f4c62a02f2 21:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:37:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:37:44 OK: 265 MiB in 53 packages 21:37:45 Removing intermediate container c7f4c62a02f2 21:37:45 ---> d1eb38f829bc 21:37:45 Step 7/10 : COPY go.mod vendor* ./ 21:37:45 ---> bb1f571f608c 21:37:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:45 ---> Running in cf0ff9ec4247 21:37:45 Still waiting to schedule task 21:37:45 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:38:31 Removing intermediate container cf0ff9ec4247 21:38:31 ---> 883d64d9bd6e 21:38:31 Step 9/10 : COPY . . 21:38:31 ---> 0d10f29a946a 21:38:31 Step 10/10 : RUN ${MAKE} 21:38:31 ---> Running in 9ff6143a069e 21:38:31 noop 21:38:31 Removing intermediate container 9ff6143a069e 21:38:31 ---> 609d9fc04712 21:38:31 Successfully built 609d9fc04712 21:38:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:32 + docker inspect -f . ci-base-image-x86_64 21:38:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:32 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:38:32 $ 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 21:38:32 $ docker top 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:33 + go version 21:38:33 go version go1.20.6 linux/amd64 [Pipeline] } 21:38:33 $ docker stop --time=1 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 21:38:34 $ docker rm -f --volumes 991e091124480aa48aacd5319a0406fc3d6ac21924f373a585d6ab03001632c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:34 + docker inspect -f . ci-base-image-x86_64 21:38:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:34 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:38:34 $ 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 21:38:35 $ docker top 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 21:38:35 + make test 21:38:35 go test -race -coverprofile=coverage.out ./... 21:38:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.081s coverage: 86.0% of statements 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:38:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.087s coverage: 70.6% of statements 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:38:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.3% of statements 21:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.402s coverage: 43.8% of statements 21:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.063s coverage: 68.5% of statements 21:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.131s coverage: 89.2% of statements 21:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements 21:39:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1596 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:39:15 Running in /w/workspace/device-sdk-go/236 [Pipeline] { [Pipeline] checkout 21:39:15 The recommended git tool is: git 21:39:20 using credential edgex-jenkins-ssh 21:39:20 Cloning the remote Git repository 21:39:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:39:20 > git init /w/workspace/device-sdk-go/236 # timeout=10 21:39:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:39:20 > git --version # timeout=10 21:39:20 > git --version # 'git version 2.25.1' 21:39:20 using GIT_SSH to set credentials SSH Credentials for GitHub 21:39:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:22 GO111MODULE=on go vet ./... 21:39:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:39:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:39:22 Avoid second fetch 21:39:22 Checking out Revision 0776c05133aecd05e9cca04d73874dfbd24934b0 (main) 21:39:23 Commit message: "feat: Implement loading from URI for Profile, Device, & Provision Watcher files (#1471)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 21:39:22 > git config core.sparsecheckout # timeout=10 21:39:23 > git checkout -f 0776c05133aecd05e9cca04d73874dfbd24934b0 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:39:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:39:24 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:24 Dload Upload Total Spent Left Speed 21:39:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k 21:39:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:39:24 ./bin/test-attribution-txt.sh [Pipeline] echo 21:39:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:39:24 $ docker stop --time=1 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 21:39:27 $ docker rm -f --volumes 8d5a16603f2b9691b6dca458cd9e5cf40e9584689fb929041e1c72d6de1982e2 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 21:39:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:39:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:39:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 21:39:28 + sudo tee /etc/docker/daemon.new 21:39:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:39:28 { 21:39:28 "registry-mirrors": [ 21:39:28 "https://nexus3.edgexfoundry.org:10001" 21:39:28 ], 21:39:28 "bip": "10.250.0.254/24", 21:39:28 "hosts": [ 21:39:28 "tcp://0.0.0.0:5555", 21:39:28 "unix:///var/run/docker.sock" 21:39:28 ], 21:39:28 "mtu": 1458, 21:39:28 "selinux-enabled": true, 21:39:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:39:28 } [Pipeline] sh [Pipeline] sh 21:39:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:39:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:39:29 + ls -al . 21:39:29 total 300 21:39:29 drwxrwxr-x 11 jenkins jenkins 4096 Jul 19 21:38 . 21:39:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:37 .. 21:39:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:37 .dockerignore 21:39:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:37 .git 21:39:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:37 .github 21:39:29 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:37 .gitignore 21:39:29 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:37 .golangci.yml 21:39:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:37 .semver 21:39:29 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:37 CHANGELOG.md 21:39:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:37 GOVERNANCE.md 21:39:29 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:37 Jenkinsfile 21:39:29 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:37 LICENSE 21:39:29 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:37 Makefile 21:39:29 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:37 OWNERS.md 21:39:29 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:37 README.md 21:39:29 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:37 VERSION 21:39:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:37 bin 21:39:29 -rw-r--r-- 1 jenkins jenkins 119517 Jul 19 21:39 coverage.out 21:39:29 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:37 example 21:39:29 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:37 go.mod 21:39:29 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:37 go.sum 21:39:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:37 internal 21:39:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:37 openapi 21:39:29 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:37 pkg 21:39:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:37 snap 21:39:29 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:29 + sudo service docker restart 21:39:29 + 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=0776c05133aecd05e9cca04d73874dfbd24934b0 --label arch=amd64 --label version=3.1.0-dev.7 . 21:39:29 Sending build context to Docker daemon 11.1MB 21:39:29 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:39:29 Step 2/23 : FROM ${BASE} AS builder 21:39:29 ---> 609d9fc04712 21:39:29 Step 3/23 : ARG MAKE=make build 21:39:29 ---> Running in 532d79b0f950 21:39:29 Removing intermediate container 532d79b0f950 21:39:29 ---> cae0d3b63e1d 21:39:29 Step 4/23 : WORKDIR /device-sdk-go 21:39:30 ---> Running in 3754ea90bcf4 21:39:30 Removing intermediate container 3754ea90bcf4 21:39:30 ---> 7afa30561f7c 21:39:30 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:39:30 ---> Running in ea83153ec306 21:39:30 Removing intermediate container ea83153ec306 21:39:30 ---> 645b5f83f0c6 21:39:30 Step 6/23 : RUN apk add --update --no-cache make git 21:39:30 ---> Running in 6dd4ed3c55ac 21:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:39:30 OK: 265 MiB in 53 packages 21:39:31 Removing intermediate container 6dd4ed3c55ac 21:39:31 ---> 7e76c4137091 21:39:31 Step 7/23 : COPY go.mod vendor* ./ 21:39:31 ---> 3716ef943133 21:39:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:31 ---> Running in 19a6008329a3 21:39:31 Removing intermediate container 19a6008329a3 21:39:31 ---> 5ebba6283e33 21:39:31 Step 9/23 : COPY . . 21:39:32 ---> 87da2fc23c96 21:39:32 Step 10/23 : RUN ${MAKE} 21:39:32 ---> Running in 8c8960784123 21:39:32 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:47 provisioning config files... 21:39:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/236@tmp/config15549372696659421788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:48 ---> docker-login.sh 21:39:48 nexus3.edgexfoundry.org:10001 21:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:48 Configure a credential helper to remove this warning. See 21:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:48 21:39:48 Login Succeeded 21:39:48 nexus3.edgexfoundry.org:10002 21:39:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:48 Configure a credential helper to remove this warning. See 21:39:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:48 21:39:48 Login Succeeded 21:39:48 nexus3.edgexfoundry.org:10003 21:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:49 Configure a credential helper to remove this warning. See 21:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:49 21:39:49 Login Succeeded 21:39:49 nexus3.edgexfoundry.org:10004 21:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:49 Configure a credential helper to remove this warning. See 21:39:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:49 21:39:49 Login Succeeded 21:39:49 docker.io 21:39:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:50 Configure a credential helper to remove this warning. See 21:39:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:50 21:39:50 Login Succeeded 21:39:50 ---> docker-login.sh ends [Pipeline] } 21:39:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:39:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:50 ========================================================= 21:39:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:39:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:50 + 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 . 21:39:50 Removing intermediate container 8c8960784123 21:39:50 ---> 7c569c63811f 21:39:50 Step 11/23 : FROM alpine:3.17 21:39:50 3.17: Pulling from library/alpine 21:39:50 4db1b89c0bd1: Already exists 21:39:51 Sending build context to Docker daemon 5.862MB 21:39:51 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 21:39:51 Step 2/10 : FROM ${BASE} AS builder 21:39:51 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:39:51 Status: Downloaded newer image for alpine:3.17 21:39:51 ---> 1f73a9d63274 21:39:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:39:51 ---> Running in 1dd91fa1abfa 21:39:51 Removing intermediate container 1dd91fa1abfa 21:39:51 ---> 90391e0cce1e 21:39:51 Step 13/23 : RUN apk add --update --no-cache 21:39:51 ---> Running in c9601cd95c2f 21:39:51 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:39:51 edb6bdbacee9: Pulling fs layer 21:39:51 5f9638ab2659: Pulling fs layer 21:39:51 8d51d6327a98: Pulling fs layer 21:39:51 8b374f2dd631: Pulling fs layer 21:39:51 ec14aa9079de: Pulling fs layer 21:39:51 2f466654f4bb: Pulling fs layer 21:39:51 554e91adad29: Pulling fs layer 21:39:51 8b374f2dd631: Waiting 21:39:51 ec14aa9079de: Waiting 21:39:51 2f466654f4bb: Waiting 21:39:51 554e91adad29: Waiting 21:39:51 5f9638ab2659: Verifying Checksum 21:39:51 5f9638ab2659: Download complete 21:39:51 8b374f2dd631: Verifying Checksum 21:39:51 8b374f2dd631: Download complete 21:39:51 ec14aa9079de: Verifying Checksum 21:39:51 ec14aa9079de: Download complete 21:39:51 edb6bdbacee9: Download complete 21:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:39:51 OK: 7 MiB in 15 packages 21:39:52 Removing intermediate container c9601cd95c2f 21:39:52 ---> 0000992ed1f4 21:39:52 Step 14/23 : WORKDIR / 21:39:52 ---> Running in 660b1d98a9f2 21:39:52 Removing intermediate container 660b1d98a9f2 21:39:52 ---> 287e9bf0c180 21:39:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:39:52 ---> 3695f7229d6f 21:39:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:39:52 554e91adad29: Verifying Checksum 21:39:52 554e91adad29: Download complete 21:39:53 ---> f68fcad03417 21:39:53 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:39:53 ---> a4abf3b1d48b 21:39:53 Step 18/23 : EXPOSE 59999 21:39:53 ---> Running in f8344c913bc5 21:39:53 Removing intermediate container f8344c913bc5 21:39:53 ---> 62ce704863ee 21:39:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:39:53 ---> Running in c259a13db687 21:39:53 Removing intermediate container c259a13db687 21:39:53 ---> 2292d1f79e42 21:39:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:39:53 ---> Running in f2f67ea16ca8 21:39:53 Removing intermediate container f2f67ea16ca8 21:39:53 ---> 468cb7a42300 21:39:53 Step 21/23 : LABEL arch=amd64 21:39:53 ---> Running in bc85134f7791 21:39:53 Removing intermediate container bc85134f7791 21:39:53 ---> c966d3b3caa4 21:39:53 Step 22/23 : LABEL git_sha=0776c05133aecd05e9cca04d73874dfbd24934b0 21:39:53 ---> Running in fee1ed03184c 21:39:53 Removing intermediate container fee1ed03184c 21:39:53 ---> 8b41a1a2cad3 21:39:53 Step 23/23 : LABEL version=3.1.0-dev.7 21:39:53 ---> Running in ee69cf42d65c 21:39:53 8d51d6327a98: Verifying Checksum 21:39:53 8d51d6327a98: Download complete 21:39:53 2f466654f4bb: Verifying Checksum 21:39:53 2f466654f4bb: Download complete 21:39:53 Removing intermediate container ee69cf42d65c 21:39:53 ---> 1c65475b696f 21:39:53 [Warning] One or more build-args [ARCH] were not consumed 21:39:53 Successfully built 1c65475b696f 21:39:53 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 21:39:54 edb6bdbacee9: Pull complete 21:39:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:54 21:39:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:54 5f9638ab2659: Pull complete 21:39:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:54 latest: Pulling from edgex-lftools-log-publisher 21:39:54 5eb5b503b376: Pulling fs layer 21:39:54 5c69ac0246d0: Pulling fs layer 21:39:54 ec43610c2a17: Pulling fs layer 21:39:54 3a2ae6a8a46f: Pulling fs layer 21:39:54 33b1e0a273af: Pulling fs layer 21:39:54 5d3b04190fa2: Pulling fs layer 21:39:54 2f39f015ded8: Pulling fs layer 21:39:54 33b1e0a273af: Waiting 21:39:54 5d3b04190fa2: Waiting 21:39:54 2f39f015ded8: Waiting 21:39:54 3a2ae6a8a46f: Waiting 21:39:54 5c69ac0246d0: Download complete 21:39:54 3a2ae6a8a46f: Verifying Checksum 21:39:54 3a2ae6a8a46f: Download complete 21:39:54 33b1e0a273af: Verifying Checksum 21:39:54 33b1e0a273af: Download complete 21:39:54 5d3b04190fa2: Verifying Checksum 21:39:54 5d3b04190fa2: Download complete 21:39:54 ec43610c2a17: Verifying Checksum 21:39:54 ec43610c2a17: Download complete 21:39:54 5eb5b503b376: Verifying Checksum 21:39:54 5eb5b503b376: Download complete 21:39:55 2f39f015ded8: Verifying Checksum 21:39:55 2f39f015ded8: Download complete 21:39:55 5eb5b503b376: Pull complete 21:39:55 5c69ac0246d0: Pull complete 21:39:56 ec43610c2a17: Pull complete 21:39:56 3a2ae6a8a46f: Pull complete 21:39:56 33b1e0a273af: Pull complete 21:39:56 5d3b04190fa2: Pull complete 21:40:00 2f39f015ded8: Pull complete 21:40:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:40:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:40:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:00 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:40:01 $ 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 21:40:04 $ docker top e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:40:04 ---> job-cost.sh 21:40:04 lf-activate-venv: SKIPPING 21:40:04 INFO: No Stack... 21:40:04 INFO: Retrieving Pricing Info for: v3-standard-8 21:40:05 INFO: Archiving Costs [Pipeline] sh 21:40:05 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:40:05 + cut -d, -f6 [Pipeline] lock 21:40:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] 21:40:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] did not exist. Created. 21:40:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:40:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:40:06 Stashed 1 file(s) [Pipeline] } 21:40:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] // lock [Pipeline] } 21:40:06 $ docker stop --time=1 e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 21:40:06 8d51d6327a98: Pull complete 21:40:06 8b374f2dd631: Pull complete 21:40:06 ec14aa9079de: Pull complete 21:40:07 $ docker rm -f --volumes e13896bfac872fc4ec9627238089ffec8a7525c9b492026f51bfc70629b52b85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:11 2f466654f4bb: Pull complete 21:40:13 554e91adad29: Pull complete 21:40:13 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:40:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:40:13 ---> 1e15ea492957 21:40:13 Step 3/10 : ARG MAKE=make build 21:40:15 ---> Running in b1f53a9688e1 21:40:15 Removing intermediate container b1f53a9688e1 21:40:15 ---> ceb86718b078 21:40:15 Step 4/10 : WORKDIR /device-sdk-go 21:40:16 ---> Running in 1ac924be1ee1 21:40:16 Removing intermediate container 1ac924be1ee1 21:40:16 ---> 04dd308e778e 21:40:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:40:16 ---> Running in a5ca22fbdc9b 21:40:16 Removing intermediate container a5ca22fbdc9b 21:40:16 ---> e8f894a2a399 21:40:16 Step 6/10 : RUN apk add --update --no-cache make git 21:40:16 ---> Running in 314e43692ffc 21:40:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:40:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:40:19 OK: 263 MiB in 53 packages 21:40:22 Removing intermediate container 314e43692ffc 21:40:22 ---> 1d7e945596e6 21:40:22 Step 7/10 : COPY go.mod vendor* ./ 21:40:22 ---> 7baf96770ef7 21:40:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:40:22 ---> Running in 72d240ace75a 21:41:30 Removing intermediate container 72d240ace75a 21:41:30 ---> 81eae6858894 21:41:30 Step 9/10 : COPY . . 21:41:30 ---> 415e475bd50a 21:41:30 Step 10/10 : RUN ${MAKE} 21:41:30 ---> Running in 9b3ec53863f6 21:41:30 noop 21:41:30 Removing intermediate container 9b3ec53863f6 21:41:30 ---> ce0217d5fe03 21:41:30 Successfully built ce0217d5fe03 21:41:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:31 + docker inspect -f . ci-base-image-arm64 21:41:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:31 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 21:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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 21:41:32 $ docker top 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:33 + go version 21:41:33 go version go1.20.6 linux/arm64 [Pipeline] } 21:41:33 $ docker stop --time=1 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 21:41:35 $ docker rm -f --volumes 21521a35d6a96b58b9c74809bf9416a5ee635f6081446703deba8f0b63c9ab98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:35 + docker inspect -f . ci-base-image-arm64 21:41:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:35 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 21:41:35 $ 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/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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 21:41:36 $ docker top 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b -eo pid,comm [Pipeline] { [Pipeline] sh 21:41:37 + git config --global --add safe.directory /w/workspace/device-sdk-go/236 [Pipeline] fileExists [Pipeline] sh 21:41:38 + make test 21:41:38 go test -race -coverprofile=coverage.out ./... 21:42:16 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:44:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements 21:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.263s coverage: 80.2% of statements 21:44:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:44:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:44:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.372s coverage: 86.0% of statements 21:44:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:44:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.432s coverage: 70.6% of statements 21:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.288s coverage: 14.3% of statements 21:44:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:44:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:44:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.967s coverage: 43.8% of statements 21:44:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.424s coverage: 68.5% of statements 21:44:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.431s coverage: 89.2% of statements 21:44:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:44:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.6% of statements 21:44:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:44:58 GO111MODULE=on go vet ./... 21:47:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:47:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:47:20 ./bin/test-attribution-txt.sh [Pipeline] echo 21:47:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:47:20 $ docker stop --time=1 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b 21:47:21 $ docker rm -f --volumes 3548b8c592cdfd22b71c18e1a6a7a163a90037440255bda7305a979adf62ab3b [Pipeline] // withDockerContainer [Pipeline] sh 21:47:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:47:23 Warning: overwriting stash ‘coverage-report’ 21:47:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:47:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:47:24 + ls -al . 21:47:24 total 296 21:47:24 drwxrwxr-x 10 jenkins jenkins 4096 Jul 19 21:41 . 21:47:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:39 .. 21:47:24 -rw-rw-r-- 1 jenkins jenkins 140 Jul 19 21:39 .dockerignore 21:47:24 drwxrwxr-x 8 jenkins jenkins 4096 Jul 19 21:39 .git 21:47:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:39 .github 21:47:24 -rw-rw-r-- 1 jenkins jenkins 137 Jul 19 21:39 .gitignore 21:47:24 -rw-rw-r-- 1 jenkins jenkins 42 Jul 19 21:39 .golangci.yml 21:47:24 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 19 21:39 CHANGELOG.md 21:47:24 -rw-rw-r-- 1 jenkins jenkins 677 Jul 19 21:39 GOVERNANCE.md 21:47:24 -rw-rw-r-- 1 jenkins jenkins 885 Jul 19 21:39 Jenkinsfile 21:47:24 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 19 21:39 LICENSE 21:47:24 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 19 21:39 Makefile 21:47:24 -rw-rw-r-- 1 jenkins jenkins 619 Jul 19 21:39 OWNERS.md 21:47:24 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 19 21:39 README.md 21:47:24 -rw-rw-r-- 1 jenkins jenkins 11 Jul 19 21:37 VERSION 21:47:24 drwxrwxr-x 2 jenkins jenkins 4096 Jul 19 21:39 bin 21:47:24 -rw-r--r-- 1 jenkins jenkins 119517 Jul 19 21:44 coverage.out 21:47:24 drwxrwxr-x 5 jenkins jenkins 4096 Jul 19 21:39 example 21:47:24 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 19 21:39 go.mod 21:47:24 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 19 21:39 go.sum 21:47:24 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:39 internal 21:47:24 drwxrwxr-x 3 jenkins jenkins 4096 Jul 19 21:39 openapi 21:47:24 drwxrwxr-x 6 jenkins jenkins 4096 Jul 19 21:39 pkg 21:47:24 drwxrwxr-x 4 jenkins jenkins 4096 Jul 19 21:39 snap 21:47:24 -rw-rw-r-- 1 jenkins jenkins 222 Jul 19 21:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:47:24 + 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=0776c05133aecd05e9cca04d73874dfbd24934b0 --label arch=arm64 --label version=3.1.0-dev.7 . 21:47:25 Sending build context to Docker daemon 5.982MB 21:47:25 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 21:47:25 Step 2/23 : FROM ${BASE} AS builder 21:47:25 ---> ce0217d5fe03 21:47:25 Step 3/23 : ARG MAKE=make build 21:47:25 ---> Running in 1e27166929b1 21:47:25 Removing intermediate container 1e27166929b1 21:47:25 ---> 58cc114d912c 21:47:25 Step 4/23 : WORKDIR /device-sdk-go 21:47:25 ---> Running in cf3f2cb6056e 21:47:26 Removing intermediate container cf3f2cb6056e 21:47:26 ---> f294044a695e 21:47:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:47:26 ---> Running in 0292f584dd25 21:47:26 Removing intermediate container 0292f584dd25 21:47:26 ---> 4db4d8e00ff9 21:47:26 Step 6/23 : RUN apk add --update --no-cache make git 21:47:26 ---> Running in fcb61dd57562 21:47:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:47:29 OK: 263 MiB in 53 packages 21:47:29 Removing intermediate container fcb61dd57562 21:47:29 ---> d11131d9fa46 21:47:29 Step 7/23 : COPY go.mod vendor* ./ 21:47:30 ---> 42d7fac367e7 21:47:30 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:47:30 ---> Running in eba58a729bc6 21:47:33 Removing intermediate container eba58a729bc6 21:47:33 ---> 73c8ac6162d7 21:47:33 Step 9/23 : COPY . . 21:47:34 ---> 8f569531efe1 21:47:34 Step 10/23 : RUN ${MAKE} 21:47:34 ---> Running in bb1028e9cd3a 21:47:35 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.7" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:49:42 Removing intermediate container bb1028e9cd3a 21:49:42 ---> 4a5c48de76fd 21:49:42 Step 11/23 : FROM alpine:3.17 21:49:42 3.17: Pulling from library/alpine 21:49:42 edb6bdbacee9: Already exists 21:49:43 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 21:49:43 Status: Downloaded newer image for alpine:3.17 21:49:43 ---> 779605e5fbc0 21:49:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:49:43 ---> Running in 5f0982274773 21:49:43 Removing intermediate container 5f0982274773 21:49:43 ---> a34478310ed4 21:49:43 Step 13/23 : RUN apk add --update --no-cache 21:49:43 ---> Running in 6377abc985b7 21:49:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:49:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:49:45 OK: 7 MiB in 15 packages 21:49:46 Removing intermediate container 6377abc985b7 21:49:46 ---> 92d8cebf6c4a 21:49:46 Step 14/23 : WORKDIR / 21:49:46 ---> Running in 5c3abed0f5a0 21:49:47 Removing intermediate container 5c3abed0f5a0 21:49:47 ---> 45edf33b402a 21:49:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:49:47 ---> f97285c72656 21:49:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:49:49 ---> 5d846bccf8e9 21:49:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:49:49 ---> 2ac9c3e3eab0 21:49:49 Step 18/23 : EXPOSE 59999 21:49:49 ---> Running in f8480a250008 21:49:49 Removing intermediate container f8480a250008 21:49:49 ---> f5b7ca219125 21:49:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:49:49 ---> Running in 55b0e251dd56 21:49:50 Removing intermediate container 55b0e251dd56 21:49:50 ---> 16b954c65bda 21:49:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:49:50 ---> Running in af3e15ff4dbe 21:49:50 Removing intermediate container af3e15ff4dbe 21:49:50 ---> 64aadae36d21 21:49:50 Step 21/23 : LABEL arch=arm64 21:49:50 ---> Running in ceb61fbee0e1 21:49:50 Removing intermediate container ceb61fbee0e1 21:49:50 ---> 168882eb4e22 21:49:50 Step 22/23 : LABEL git_sha=0776c05133aecd05e9cca04d73874dfbd24934b0 21:49:50 ---> Running in 08854a97dfa3 21:49:50 Removing intermediate container 08854a97dfa3 21:49:50 ---> 768e5a813346 21:49:50 Step 23/23 : LABEL version=3.1.0-dev.7 21:49:51 ---> Running in 55f5ec1fa4a3 21:49:51 Removing intermediate container 55f5ec1fa4a3 21:49:51 ---> 3f48b8376d69 21:49:51 [Warning] One or more build-args [ARCH] were not consumed 21:49:51 Successfully built 3f48b8376d69 21:49:51 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 21:49:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:51 21:49:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:52 arm64: Pulling from edgex-lftools-log-publisher 21:49:52 8998bd30e6a1: Pulling fs layer 21:49:52 04944245beec: Pulling fs layer 21:49:52 699f458cf7ca: Pulling fs layer 21:49:52 765212b225bb: Pulling fs layer 21:49:52 f23df028b6ca: Pulling fs layer 21:49:52 d65c8cfc05b1: Pulling fs layer 21:49:52 2437ff75d9bd: Pulling fs layer 21:49:52 765212b225bb: Waiting 21:49:52 f23df028b6ca: Waiting 21:49:52 d65c8cfc05b1: Waiting 21:49:52 2437ff75d9bd: Waiting 21:49:52 04944245beec: Verifying Checksum 21:49:52 04944245beec: Download complete 21:49:52 765212b225bb: Verifying Checksum 21:49:52 765212b225bb: Download complete 21:49:52 f23df028b6ca: Verifying Checksum 21:49:52 f23df028b6ca: Download complete 21:49:52 d65c8cfc05b1: Verifying Checksum 21:49:52 d65c8cfc05b1: Download complete 21:49:52 699f458cf7ca: Verifying Checksum 21:49:52 699f458cf7ca: Download complete 21:49:53 8998bd30e6a1: Verifying Checksum 21:49:53 8998bd30e6a1: Download complete 21:49:55 2437ff75d9bd: Verifying Checksum 21:49:55 2437ff75d9bd: Download complete 21:49:57 8998bd30e6a1: Pull complete 21:49:57 04944245beec: Pull complete 21:49:58 699f458cf7ca: Pull complete 21:49:58 765212b225bb: Pull complete 21:49:59 f23df028b6ca: Pull complete 21:49:59 d65c8cfc05b1: Pull complete 21:50:14 2437ff75d9bd: Pull complete 21:50:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:50:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:14 prd-ubuntu20.04-docker-arm64-4c-16g-1596 does not seem to be running inside a container 21:50:14 $ 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/236 -v /w/workspace/device-sdk-go/236:/w/workspace/device-sdk-go/236:rw,z -v /w/workspace/device-sdk-go/236@tmp:/w/workspace/device-sdk-go/236@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 21:50:17 $ docker top 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:17 ---> job-cost.sh 21:50:18 lf-activate-venv: SKIPPING 21:50:18 INFO: No Stack... 21:50:18 INFO: Retrieving Pricing Info for: v3-standard-4 21:50:19 INFO: Archiving Costs [Pipeline] sh 21:50:19 + cat /w/workspace/device-sdk-go/236/archives/cost.csv 21:50:19 + cut -d, -f6 [Pipeline] lock 21:50:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] 21:50:20 Resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] did not exist. Created. 21:50:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:20 /w/workspace/device-sdk-go/236@tmp/durable-c0c9bc6c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:50:21 + echo total: 0.10999999940395355 [Pipeline] stash 21:50:21 Warning: overwriting stash ‘stack-cost’ 21:50:21 Stashed 1 file(s) [Pipeline] } 21:50:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-236-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:21 $ docker stop --time=1 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 21:50:22 $ docker rm -f --volumes 3a8a57dca5c6b27c63296d8be549e900e58b2cf8f021f88a6593e2a49dc645f0 [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 21:50:23 provisioning config files... 21:50:23 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8327714144308505385tmp [Pipeline] { [Pipeline] sh 21:50:23 + set +x 21:50:23 + curl -s https://codecov.io/bash 21:50:23 + bash -s -- 21:50:23 21:50:23 _____ _ 21:50:23 / ____| | | 21:50:23 | | ___ __| | ___ ___ _____ __ 21:50:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:50:23 | |___| (_) | (_| | __/ (_| (_) \ V / 21:50:23 \_____\___/ \__,_|\___|\___\___/ \_/ 21:50:23 Bash-1.0.6 21:50:23 21:50:23 21:50:23 ==> git version 2.25.1 found 21:50:23 ==> 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 21:50:23 Release-Date: 2020-01-08 21:50:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:50:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:50:23 ==> Jenkins CI detected. 21:50:23 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:50:23 project root: . 21:50:23 --> token set from env 21:50:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:50:23 ==> Running gcov in . (disable via -X gcov) 21:50:23 ==> Python coveragepy not found 21:50:23 ==> Searching for coverage reports in: 21:50:23 + . 21:50:23 -> Found 1 reports 21:50:23 ==> Detecting git/mercurial file structure 21:50:23 ==> Reading reports 21:50:23 + ./coverage.out bytes=119517 21:50:23 ==> Appending adjustments 21:50:23 https://docs.codecov.io/docs/fixing-reports 21:50:23 + Found adjustments 21:50:23 ==> Gzipping contents 21:50:23 16K /tmp/codecov.x9Vkfu.gz 21:50:23 ==> Uploading reports 21:50:23 url: https://codecov.io 21:50:23 query: branch=main&commit=0776c05133aecd05e9cca04d73874dfbd24934b0&build=236&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F236%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:50:23 -> Pinging Codecov 21:50:23 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=0776c05133aecd05e9cca04d73874dfbd24934b0&build=236&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F236%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:50:23 -> Uploading to 21:50:23 https://storage.googleapis.com/codecov/v4/raw/2023-07-19/7E55EF52A471D76F132DFD9A03CDDE97/0776c05133aecd05e9cca04d73874dfbd24934b0/5311a586-02f1-4208-809b-5f1e378807e2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230719%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230719T215023Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9dadaf03b7c7eea4e21a257a7f07ee665c75ea60d14db36b4997c9646f652f6 21:50:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:23 Dload Upload Total Spent Left Speed 21:50:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16365 0 0 100 16365 0 93514 --:--:-- --:--:-- --:--:-- 93514 21:50:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] } 21:50:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:50:24 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:50:24 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:50:24 21:50:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:50:25 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:50:25 df9b9388f04a: Pulling fs layer 21:50:25 52dc419b0ee2: Pulling fs layer 21:50:25 25bc292e5bac: Pulling fs layer 21:50:25 114826534d7a: Pulling fs layer 21:50:25 4657fd5d0bcf: Pulling fs layer 21:50:25 6ad1cebc031e: Pulling fs layer 21:50:25 114826534d7a: Waiting 21:50:25 4657fd5d0bcf: Waiting 21:50:25 8a3aa393b2d8: Pulling fs layer 21:50:25 6ad1cebc031e: Waiting 21:50:25 25bc292e5bac: Verifying Checksum 21:50:25 25bc292e5bac: Download complete 21:50:25 52dc419b0ee2: Download complete 21:50:25 4657fd5d0bcf: Download complete 21:50:25 df9b9388f04a: Download complete 21:50:25 6ad1cebc031e: Download complete 21:50:25 df9b9388f04a: Pull complete 21:50:25 52dc419b0ee2: Pull complete 21:50:25 25bc292e5bac: Pull complete 21:50:25 114826534d7a: Verifying Checksum 21:50:25 114826534d7a: Download complete 21:50:25 8a3aa393b2d8: Verifying Checksum 21:50:25 8a3aa393b2d8: Download complete 21:50:29 114826534d7a: Pull complete 21:50:29 4657fd5d0bcf: Pull complete 21:50:29 6ad1cebc031e: Pull complete 21:50:31 8a3aa393b2d8: Pull complete 21:50:31 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:50:31 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:31 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:50:32 $ 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 21:50:35 $ docker top 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 -eo pid,comm [Pipeline] { [Pipeline] echo 21:50:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:50:35 + set -o pipefail 21:50:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:50:42 21:50:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 21:50:42 21:50:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ea50f953-0780-4ccf-9295-bebc957d50bf 21:50:42 21:50:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:50:42 21:50:42 21:50:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:50:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:50:42 More details here: https://snyk.co/ue1NS [Pipeline] } 21:50:42 $ docker stop --time=1 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 21:50:46 $ docker rm -f --volumes 34ed9d2a5146af56d6c9c553ba1f63aee205d43ddee62a40391b77c57e384510 [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 21:50:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:46 provisioning config files... 21:50:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1529117888904106452tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:46 --> edgex-publish-swagger.sh 21:50:46 === Publish openapi/v3 API === 21:50:46 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 21:50:46 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 21:50:46 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:46 Dload Upload Total Spent Left Speed 21:50:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 55966 --:--:-- --:--:-- --:--:-- 55834 21:50:47 21:50:47 [Pipeline] } 21:50:47 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 21:50:47 + git log --format=format:%s -1 0776c05133aecd05e9cca04d73874dfbd24934b0 [Pipeline] sh 21:50:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:50:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:50:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:48 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:50:48 $ 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 21:50:48 $ docker top 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 -eo pid,comm 21:50:48 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). 21:50:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:50:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:50:48 [ssh-agent] Looking for ssh-agent implementation... 21:50:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:50:48 $ docker exec 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 ssh-agent 21:50:48 SSH_AUTH_SOCK=/tmp/ssh-L0tf9PcGdaXL/agent.33 21:50:48 SSH_AGENT_PID=39 21:50:48 Running ssh-add (command line suppressed) 21:50:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8862038866939534047.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8862038866939534047.key) 21:50:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:50:49 + git semver tag 21:50:49 2023-07-19 21:50:49,433 [run_tag] DEBUG tag force:False 21:50:49 2023-07-19 21:50:49,433 [check_head_tag] DEBUG check head tag 21:50:49 2023-07-19 21:50:49,433 [execute] INFO git cat-file --batch-check 21:50:49 2023-07-19 21:50:49,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:50:49 2023-07-19 21:50:49,437 [execute] INFO git cat-file --batch 21:50:49 2023-07-19 21:50:49,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:50:49 2023-07-19 21:50:49,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:50:49 2023-07-19 21:50:49,448 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 21:50:49 2023-07-19 21:50:49,449 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:50:49 2023-07-19 21:50:49,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:50:49 3.1.0-dev.7 [Pipeline] } 21:50:49 $ docker exec --env ******** --env ******** 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 ssh-agent -k 21:50:49 unset SSH_AUTH_SOCK; 21:50:49 unset SSH_AGENT_PID; 21:50:49 echo Agent pid 39 killed; 21:50:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:50:49 + git semver [Pipeline] } 21:50:50 $ docker stop --time=1 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 21:50:51 $ docker rm -f --volumes 06935568cfa1499473642732b777f769deda94617f2441d9daa5505dac2d60e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:50:51 21:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:50:52 0.23.1-centos7: Pulling from edgex-lftools 21:50:52 ab5ef0e58194: Pulling fs layer 21:50:52 9712f1f96733: Pulling fs layer 21:50:52 63f879dbbcfc: Pulling fs layer 21:50:52 0d9ebad4ef96: Pulling fs layer 21:50:52 e9a5061849ea: Pulling fs layer 21:50:52 d747dcd14b5f: Pulling fs layer 21:50:52 2de7ff778b66: Pulling fs layer 21:50:52 0d9ebad4ef96: Waiting 21:50:52 2de7ff778b66: Waiting 21:50:52 d747dcd14b5f: Waiting 21:50:52 e9a5061849ea: Waiting 21:50:52 9712f1f96733: Download complete 21:50:52 63f879dbbcfc: Verifying Checksum 21:50:52 63f879dbbcfc: Download complete 21:50:52 0d9ebad4ef96: Download complete 21:50:52 d747dcd14b5f: Download complete 21:50:52 e9a5061849ea: Verifying Checksum 21:50:52 e9a5061849ea: Download complete 21:50:52 ab5ef0e58194: Verifying Checksum 21:50:52 ab5ef0e58194: Download complete 21:50:52 2de7ff778b66: Verifying Checksum 21:50:52 2de7ff778b66: Download complete 21:50:55 ab5ef0e58194: Pull complete 21:50:55 9712f1f96733: Pull complete 21:50:56 63f879dbbcfc: Pull complete 21:50:59 0d9ebad4ef96: Pull complete 21:50:59 e9a5061849ea: Pull complete 21:51:00 d747dcd14b5f: Pull complete 21:51:00 2de7ff778b66: Pull complete 21:51:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:51:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:01 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:51:01 $ 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 21:51:05 $ docker top 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:51:05 provisioning config files... 21:51:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12211833663230283786tmp 21:51:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13178397868987366364tmp 21:51:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1248059746153718100tmp [Pipeline] { [Pipeline] echo 21:51:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:51:05 ---> sigul-configuration.sh 21:51:05 gpg: directory `/root/.gnupg' created 21:51:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:51:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:51:05 gpg: keyring `/root/.gnupg/secring.gpg' created 21:51:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:51:05 gpg: CAST5 encrypted data 21:51:05 gpg: encrypted with 1 passphrase 21:51:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:51:06 + mkdir /home/jenkins 21:51:06 + mkdir /home/jenkins/sigul [Pipeline] sh 21:51:06 + 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 21:51:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:51:06 ---> sigul-install.sh 21:51:06 Sigul already installed; skipping installation. [Pipeline] sh 21:51:06 + git tag --list 21:51:06 0.7.1 21:51:06 delhi-tag 21:51:06 v1.0.0 21:51:06 v1.1.0 21:51:06 v1.1.1 21:51:06 v1.1.2 21:51:06 v1.2.0 21:51:06 v1.2.1 21:51:06 v1.2.2 21:51:06 v1.2.3 21:51:06 v1.3.0 21:51:06 v1.4.0 21:51:06 v2.0.0 21:51:06 v2.1.0 21:51:06 v2.1.1 21:51:06 v2.2.0 21:51:06 v2.3.0 21:51:06 v2.3.1 21:51:06 v3.0 21:51:06 v3.0.0 21:51:06 v3.0.1-dev.1 21:51:06 v3.1.0-dev.1 21:51:06 v3.1.0-dev.2 21:51:06 v3.1.0-dev.3 21:51:06 v3.1.0-dev.4 21:51:06 v3.1.0-dev.5 21:51:06 v3.1.0-dev.6 21:51:06 v3.1.0-dev.7 [Pipeline] sh 21:51:07 + lftools sign git-tag v3.1.0-dev.7 21:51:07 Signing Git tag with Sigul... 21:51:07 Signing v3.1.0-dev.7 [Pipeline] echo 21:51:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:51:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:51:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:51:08 $ docker stop --time=1 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d 21:51:09 $ docker rm -f --volumes 5283dfce3c7459b6728115e8e8434b0c9688bf85fbcc5bf5ddfd2fde431a330d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:51:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:10 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:51:10 $ 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 21:51:10 $ docker top cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f -eo pid,comm 21:51:10 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:51:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:10 [ssh-agent] Looking for ssh-agent implementation... 21:51:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:10 $ docker exec cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f ssh-agent 21:51:11 SSH_AUTH_SOCK=/tmp/ssh-Lo6SijN09Q68/agent.33 21:51:11 SSH_AGENT_PID=39 21:51:11 Running ssh-add (command line suppressed) 21:51:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7370387365757260991.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7370387365757260991.key) 21:51:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:11 + git semver bump pre 21:51:11 2023-07-19 21:51:11,571 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:51:11 2023-07-19 21:51:11,571 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev 21:51:11 2023-07-19 21:51:11,571 [bump_version] DEBUG bumped version:3.1.0-dev.8 21:51:11 2023-07-19 21:51:11,571 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:51:11 2023-07-19 21:51:11,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:51:11 2023-07-19 21:51:11,572 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:51:11 2023-07-19 21:51:11,574 [execute] INFO git cat-file --batch-check 21:51:11 2023-07-19 21:51:11,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:51:11 2023-07-19 21:51:11,579 [execute] INFO git cat-file --batch 21:51:11 2023-07-19 21:51:11,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:51:11 2023-07-19 21:51:11,584 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:51:11 3.1.0-dev.8 [Pipeline] } 21:51:11 $ docker exec --env ******** --env ******** cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f ssh-agent -k 21:51:11 unset SSH_AUTH_SOCK; 21:51:11 unset SSH_AGENT_PID; 21:51:11 echo Agent pid 39 killed; 21:51:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:12 + git semver [Pipeline] } 21:51:12 $ docker stop --time=1 cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f 21:51:13 $ docker rm -f --volumes cf453b269d07d781241cc8b7dc843b97a581a71846bda38b2242d106d961535f [Pipeline] // withDockerContainer [Pipeline] sh 21:51:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:51:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:51:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:14 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:51:14 $ 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 21:51:14 $ docker top 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 -eo pid,comm 21:51:14 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). 21:51:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:51:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:51:14 [ssh-agent] Looking for ssh-agent implementation... 21:51:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:51:14 $ docker exec 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 ssh-agent 21:51:14 SSH_AUTH_SOCK=/tmp/ssh-7RTjaDY1rtIv/agent.31 21:51:14 SSH_AGENT_PID=37 21:51:14 Running ssh-add (command line suppressed) 21:51:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_515270209775496229.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_515270209775496229.key) 21:51:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:51:15 + git semver push 21:51:15 2023-07-19 21:51:15,559 [run_push] DEBUG push 21:51:15 2023-07-19 21:51:15,560 [execute] INFO git cat-file --batch-check 21:51:15 2023-07-19 21:51:15,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:51:15 2023-07-19 21:51:15,564 [execute] INFO git rev-list 9aec5b79c8b45e0363680fa3b357c6853413866f -- 21:51:15 2023-07-19 21:51:15,564 [execute] DEBUG Popen(['git', 'rev-list', '9aec5b79c8b45e0363680fa3b357c6853413866f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:51:15 2023-07-19 21:51:15,571 [execute] INFO git fetch -v origin 21:51:15 2023-07-19 21:51:15,571 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:51:16 2023-07-19 21:51:16,141 [run_push] DEBUG no remote changes detected 21:51:16 2023-07-19 21:51:16,141 [execute] INFO git push origin semver 21:51:16 2023-07-19 21:51:16,142 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:51:17 2023-07-19 21:51:16,884 [run_push] DEBUG push all version tags 21:51:17 2023-07-19 21:51:16,885 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:51:17 2023-07-19 21:51:16,885 [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) 21:51:17 2023-07-19 21:51:17,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:51:17 3.1.0-dev.8 [Pipeline] } 21:51:17 $ docker exec --env ******** --env ******** 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 ssh-agent -k 21:51:17 unset SSH_AUTH_SOCK; 21:51:17 unset SSH_AGENT_PID; 21:51:17 echo Agent pid 37 killed; 21:51:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:51:18 + git semver [Pipeline] } 21:51:18 $ docker stop --time=1 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 21:51:19 $ docker rm -f --volumes 3461b669901e946fb64c649137c70a83218c7e2309335fbe6c8de6f5bb7bbc87 [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 21:51:20 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:51:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:51:20 total 16 21:51:20 drwxr-xr-x 3 root root 4096 Jul 19 21:40 . 21:51:20 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:51 .. 21:51:20 drwxr-xr-x 2 root root 4096 Jul 19 21:40 cost 21:51:20 -rw-r--r-- 1 root root 85 Jul 19 21:40 cost.csv 21:51:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:51:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:51:20 total 16 21:51:20 drwxr-xr-x 3 jenkins jenkins 4096 Jul 19 21:40 . 21:51:20 drwxrwxr-x 12 jenkins jenkins 4096 Jul 19 21:51 .. 21:51:20 drwxr-xr-x 2 jenkins jenkins 4096 Jul 19 21:40 cost 21:51:20 -rw-r--r-- 1 jenkins jenkins 85 Jul 19 21:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:51:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:51:21 ---> package-listing.sh 21:51:21 ++ facter osfamily 21:51:21 ++ tr '[:upper:]' '[:lower:]' 21:51:21 + OS_FAMILY=debian 21:51:21 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:51:21 + START_PACKAGES=/tmp/packages_start.txt 21:51:21 + END_PACKAGES=/tmp/packages_end.txt 21:51:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:51:21 + PACKAGES=/tmp/packages_start.txt 21:51:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:51:21 + PACKAGES=/tmp/packages_end.txt 21:51:21 + case "${OS_FAMILY}" in 21:51:21 + dpkg -l 21:51:21 + grep '^ii' 21:51:21 + '[' -f /tmp/packages_start.txt ']' 21:51:21 + '[' -f /tmp/packages_end.txt ']' 21:51:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:51:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:51:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:51:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:51:21 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 21:51:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:51:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:51:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:51:22 prd-ubuntu20.04-docker-8c-8g-1595 does not seem to be running inside a container 21:51:22 $ 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 21:51:22 $ docker top 8fb40d64d385a7339fe4b8071480464e2a6fc67d21f9a52755a8333cc78ae36f -eo pid,comm [Pipeline] { [Pipeline] sh 21:51:23 + touch /tmp/pre-build-complete [Pipeline] sh 21:51:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:51:23 + ls /var/log/sa-host 21:51:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:51:24 provisioning config files... 21:51:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10128436725951821593tmp [Pipeline] { [Pipeline] echo 21:51:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:51:24 ---> create-netrc.sh [Pipeline] } 21:51:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:51:24 ---> python-tools-install.sh [Pipeline] echo 21:51:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:51:25 ---> sudo-logs.sh 21:51:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:51:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:51:25 ---> job-cost.sh 21:51:25 lf-activate-venv: SKIPPING 21:51:25 DEBUG: total: 0.2199999988079071 21:51:25 INFO: Retrieving Stack Cost... 21:51:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:51:26 INFO: Archiving Costs [Pipeline] echo 21:51:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:51:26 ---> logs-deploy.sh 21:51:26 lf-activate-venv: SKIPPING 21:51:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/236 21:51:26 INFO: archiving workspace using pattern(s): 21:51:27 Archives upload complete. 21:51:27 INFO: archiving logs to Nexus