Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8e06685c5bed515b18a4f19b1b2841e63869493f 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-ssh11681616541325047874.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh6049588156560222806.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11437365671037803033.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh17459437101471907695.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-ssh3783245042753887470.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5891’ Running on prd-ubuntu20.04-docker-8c-8g-5893 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 8e06685c5bed515b18a4f19b1b2841e63869493f (main) > 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 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509)" > git rev-list --no-walk 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:38:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:38:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:38:35 ========================================================= 15:38:35 EdgeX Global Pipelines Version Info 15:38:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:38:35 ------------------- 15:38:35 stable info: 15:38:35 ------------------- 15:38:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:38:35 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:38:35 Message: update stable to v1.0.253 15:38:36 ------------------- 15:38:36 experimental info: 15:38:36 ------------------- 15:38:36 Commited By: **** collab-it+edgex@linuxfoundation.org 15:38:36 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 15:38:36 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:38:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e06685 [Pipeline] echo 15:38:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:38:37 provisioning config files... 15:38:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1378966651783075657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:37 ---> docker-login.sh 15:38:37 nexus3.edgexfoundry.org:10001 15:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:38 Configure a credential helper to remove this warning. See 15:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:38 15:38:38 Login Succeeded 15:38:38 nexus3.edgexfoundry.org:10002 15:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:38 Configure a credential helper to remove this warning. See 15:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:38 15:38:38 Login Succeeded 15:38:38 nexus3.edgexfoundry.org:10003 15:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:38 Configure a credential helper to remove this warning. See 15:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:38 15:38:38 Login Succeeded 15:38:38 nexus3.edgexfoundry.org:10004 15:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:38 Configure a credential helper to remove this warning. See 15:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:38 15:38:38 Login Succeeded 15:38:38 docker.io 15:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:39 Configure a credential helper to remove this warning. See 15:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:39 15:38:39 Login Succeeded 15:38:39 ---> docker-login.sh ends [Pipeline] } 15:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:38:39 + git rev-list -1 --merges 8e06685c5bed515b18a4f19b1b2841e63869493f~1..8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo 15:38:39 -----------> git rev-list -1 --merges 8e06685c5bed515b18a4f19b1b2841e63869493f~1..8e06685c5bed515b18a4f19b1b2841e63869493f 8e06685c5bed515b18a4f19b1b2841e63869493f [false] [Pipeline] sh 15:38:39 + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo 15:38:39 ========================================================= 15:38:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:38:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:38:40 + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] echo 15:38:40 [semverPrep] GIT_COMMIT: 8e06685c5bed515b18a4f19b1b2841e63869493f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509) [Pipeline] echo 15:38:40 [semverPrep] This is not a build commit. [Pipeline] sh 15:38:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:38:40 + grep -v github /etc/ssh/ssh_known_hosts 15:38:40 + [ -e /tmp/ssh_known_hosts ] 15:38:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:38:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:38:40 + sudo tee -a /etc/ssh/ssh_known_hosts 15:38:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:40 15:38:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:41 0.1.4: Pulling from edgex-devops/py-git-semver 15:38:41 b85a868b505f: Pulling fs layer 15:38:41 e2be974225ed: Pulling fs layer 15:38:41 339a4e72a1f5: Pulling fs layer 15:38:41 988bab9f4d93: Pulling fs layer 15:38:41 1469e6f7b9e6: Pulling fs layer 15:38:41 eaf3925da568: Pulling fs layer 15:38:41 988bab9f4d93: Waiting 15:38:41 1469e6f7b9e6: Waiting 15:38:41 bab4dde63d76: Pulling fs layer 15:38:41 eaf3925da568: Waiting 15:38:41 bab4dde63d76: Waiting 15:38:41 bde34c3a00c8: Pulling fs layer 15:38:41 b352a97aabf1: Pulling fs layer 15:38:41 b352a97aabf1: Waiting 15:38:41 bde34c3a00c8: Waiting 15:38:41 4872d77fe225: Pulling fs layer 15:38:41 5851b861e8e6: Pulling fs layer 15:38:41 5851b861e8e6: Waiting 15:38:41 e2be974225ed: Verifying Checksum 15:38:41 e2be974225ed: Download complete 15:38:41 988bab9f4d93: Verifying Checksum 15:38:41 988bab9f4d93: Download complete 15:38:41 1469e6f7b9e6: Verifying Checksum 15:38:41 1469e6f7b9e6: Download complete 15:38:41 339a4e72a1f5: Verifying Checksum 15:38:41 339a4e72a1f5: Download complete 15:38:41 eaf3925da568: Verifying Checksum 15:38:41 eaf3925da568: Download complete 15:38:41 bde34c3a00c8: Verifying Checksum 15:38:41 bde34c3a00c8: Download complete 15:38:41 b352a97aabf1: Verifying Checksum 15:38:41 b352a97aabf1: Download complete 15:38:41 4872d77fe225: Verifying Checksum 15:38:41 4872d77fe225: Download complete 15:38:41 5851b861e8e6: Verifying Checksum 15:38:41 5851b861e8e6: Download complete 15:38:41 b85a868b505f: Verifying Checksum 15:38:41 b85a868b505f: Download complete 15:38:42 bab4dde63d76: Verifying Checksum 15:38:42 bab4dde63d76: Download complete 15:38:43 b85a868b505f: Pull complete 15:38:43 e2be974225ed: Pull complete 15:38:43 339a4e72a1f5: Pull complete 15:38:43 988bab9f4d93: Pull complete 15:38:44 1469e6f7b9e6: Pull complete 15:38:44 eaf3925da568: Pull complete 15:38:46 bab4dde63d76: Pull complete 15:38:46 bde34c3a00c8: Pull complete 15:38:46 b352a97aabf1: Pull complete 15:38:46 4872d77fe225: Pull complete 15:38:46 5851b861e8e6: Pull complete 15:38:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:38:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:38:46 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:38:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:38:50 $ docker top f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 -eo pid,comm 15:38:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:38:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:38:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:50 [ssh-agent] Looking for ssh-agent implementation... 15:38:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:50 $ docker exec f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent 15:38:50 SSH_AUTH_SOCK=/tmp/ssh-61ZZ75KTj3Ll/agent.32 15:38:50 SSH_AGENT_PID=38 15:38:50 Running ssh-add (command line suppressed) 15:38:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13028095302061718347.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13028095302061718347.key) 15:38:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:50 + git tag --points-at HEAD [Pipeline] } 15:38:50 $ docker exec --env ******** --env ******** f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent -k 15:38:51 unset SSH_AUTH_SOCK; 15:38:51 unset SSH_AGENT_PID; 15:38:51 echo Agent pid 38 killed; 15:38:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:38:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:38:51 [ssh-agent] Looking for ssh-agent implementation... 15:38:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:38:51 $ docker exec f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent 15:38:51 SSH_AUTH_SOCK=/tmp/ssh-e8j8JpIVh8eI/agent.70 15:38:51 SSH_AGENT_PID=76 15:38:51 Running ssh-add (command line suppressed) 15:38:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15133313565502858920.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15133313565502858920.key) 15:38:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:38:51 + git semver init 15:38:52 2023-09-12 15:38:51,924 [run_init] DEBUG init version:0.0.0 force:False 15:38:52 2023-09-12 15:38:51,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:38:52 2023-09-12 15:38:51,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:38:52 2023-09-12 15:38:51,926 [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) 15:38:52 2023-09-12 15:38:52,926 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:38:52 2023-09-12 15:38:52,926 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:38:52 2023-09-12 15:38:52,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:38:52 2023-09-12 15:38:52,927 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:38:52 3.1.0-dev.21 [Pipeline] } 15:38:53 $ docker exec --env ******** --env ******** f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 ssh-agent -k 15:38:53 unset SSH_AUTH_SOCK; 15:38:53 unset SSH_AGENT_PID; 15:38:53 echo Agent pid 76 killed; 15:38:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:38:53 + git semver [Pipeline] } 15:38:53 $ docker stop --time=1 f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 15:38:55 $ docker rm -f --volumes f89e905f8195631893b6a4bdf7d96adbf85d789b4aaf3802ac565e3216f1cd11 [Pipeline] // withDockerContainer [Pipeline] sh 15:38:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:38:55 Stashed 1 file(s) [Pipeline] echo 15:38:55 [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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 15:38:56 provisioning config files... 15:38:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4704169565258369201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:56 ---> docker-login.sh 15:38:56 nexus3.edgexfoundry.org:10001 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 nexus3.edgexfoundry.org:10002 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 nexus3.edgexfoundry.org:10003 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 nexus3.edgexfoundry.org:10004 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 docker.io 15:38:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:56 Configure a credential helper to remove this warning. See 15:38:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:56 15:38:56 Login Succeeded 15:38:56 ---> docker-login.sh ends [Pipeline] } 15:38:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:56 ========================================================= 15:38:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 15:38:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:38:57 + 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 . 15:38:57 Sending build context to Docker daemon 11.1MB 15:38:57 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:38:57 Step 2/10 : FROM ${BASE} AS builder 15:38:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 15:38:57 4db1b89c0bd1: Pulling fs layer 15:38:57 6911f1a30b25: Pulling fs layer 15:38:57 e194b8c5c2a9: Pulling fs layer 15:38:57 6863d3e3a2b1: Pulling fs layer 15:38:57 ec0bb842ea78: Pulling fs layer 15:38:57 40a00589a448: Pulling fs layer 15:38:57 6c08303d61cc: Pulling fs layer 15:38:57 798269fcf238: Pulling fs layer 15:38:57 40a00589a448: Waiting 15:38:57 6863d3e3a2b1: Waiting 15:38:57 6c08303d61cc: Waiting 15:38:57 ec0bb842ea78: Waiting 15:38:57 798269fcf238: Waiting 15:38:57 6911f1a30b25: Verifying Checksum 15:38:57 6911f1a30b25: Download complete 15:38:57 6863d3e3a2b1: Verifying Checksum 15:38:57 6863d3e3a2b1: Download complete 15:38:57 ec0bb842ea78: Verifying Checksum 15:38:57 ec0bb842ea78: Download complete 15:38:57 4db1b89c0bd1: Verifying Checksum 15:38:57 4db1b89c0bd1: Download complete 15:38:57 40a00589a448: Verifying Checksum 15:38:57 40a00589a448: Download complete 15:38:58 4db1b89c0bd1: Pull complete 15:38:58 6911f1a30b25: Pull complete 15:38:58 798269fcf238: Verifying Checksum 15:38:58 798269fcf238: Download complete 15:38:58 e194b8c5c2a9: Verifying Checksum 15:38:58 e194b8c5c2a9: Download complete 15:38:58 6c08303d61cc: Download complete 15:39:02 e194b8c5c2a9: Pull complete 15:39:02 6863d3e3a2b1: Pull complete 15:39:02 ec0bb842ea78: Pull complete 15:39:02 40a00589a448: Pull complete 15:39:04 6c08303d61cc: Pull complete 15:39:05 798269fcf238: Pull complete 15:39:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 15:39:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 15:39:05 ---> ec979cd7f677 15:39:05 Step 3/10 : ARG MAKE=make build 15:39:11 Still waiting to schedule task 15:39:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5892’ 15:39:15 ---> Running in b423fbd6b56a 15:39:15 Removing intermediate container b423fbd6b56a 15:39:15 ---> ec97d07a4ef1 15:39:15 Step 4/10 : WORKDIR /device-sdk-go 15:39:15 ---> Running in 57faaa5ffb52 15:39:15 Removing intermediate container 57faaa5ffb52 15:39:15 ---> 60440d24322c 15:39:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:39:15 ---> Running in 4ce80679ffc3 15:39:16 Removing intermediate container 4ce80679ffc3 15:39:16 ---> f7d8c671adbf 15:39:16 Step 6/10 : RUN apk add --update --no-cache make git 15:39:16 ---> Running in 31d285b42ebd 15:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:39:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:39:16 OK: 265 MiB in 53 packages 15:39:17 Removing intermediate container 31d285b42ebd 15:39:17 ---> 64a2e4e4b78a 15:39:17 Step 7/10 : COPY go.mod vendor* ./ 15:39:17 ---> 1e50d40aa840 15:39:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:39:17 ---> Running in 51a327150b92 15:40:13 Removing intermediate container 51a327150b92 15:40:13 ---> 46938eb5f062 15:40:13 Step 9/10 : COPY . . 15:40:13 ---> b00e7cb610f9 15:40:13 Step 10/10 : RUN ${MAKE} 15:40:13 ---> Running in eb55538709d5 15:40:13 noop 15:40:13 Removing intermediate container eb55538709d5 15:40:13 ---> ffa0a8bb8d68 15:40:13 Successfully built ffa0a8bb8d68 15:40:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:13 + docker inspect -f . ci-base-image-x86_64 15:40:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:13 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:40:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:40:15 $ docker top cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:15 + go version 15:40:15 go version go1.20.6 linux/amd64 [Pipeline] } 15:40:15 $ docker stop --time=1 cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d 15:40:16 $ docker rm -f --volumes cb5ee73f9d6ff29ffab62bcbb07bcfb21d55f3547ee3301744e404c92808bd4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:40:17 + docker inspect -f . ci-base-image-x86_64 15:40:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:40:17 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:40:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:40:17 $ docker top 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:40:18 + make test 15:40:18 go test -race -coverprofile=coverage.out ./... 15:40:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.069s coverage: 27.6% of statements 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 80.2% of statements 15:40:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 86.0% of statements 15:40:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.077s coverage: 71.8% of statements 15:40:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:40:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:40:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.1% of statements 15:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.049s coverage: 44.2% of statements 15:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.100s coverage: 68.5% of statements 15:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements 15:40:41 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 5.5% of statements 15:41:03 GO111MODULE=on go vet ./... 15:41:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:41:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:41:05 ./bin/test-attribution-txt.sh [Pipeline] echo 15:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:41:05 $ docker stop --time=1 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef 15:41:14 $ docker rm -f --volumes 36ec4476f6a44efa321ec1d95356a6a53d02ed84a1f96fd6298943f52cf415ef [Pipeline] // withDockerContainer [Pipeline] sh 15:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:41:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:41:16 + ls -al . 15:41:16 total 304 15:41:16 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 15:40 . 15:41:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:38 .. 15:41:16 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 15:38 .dockerignore 15:41:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 15:38 .git 15:41:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:38 .github 15:41:16 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 15:38 .gitignore 15:41:16 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 15:38 .golangci.yml 15:41:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 15:38 .semver 15:41:16 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 15:38 CHANGELOG.md 15:41:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 15:38 GOVERNANCE.md 15:41:16 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 15:38 Jenkinsfile 15:41:16 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 15:38 LICENSE 15:41:16 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 15:38 Makefile 15:41:16 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 15:38 OWNERS.md 15:41:16 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 15:38 README.md 15:41:16 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 15:38 VERSION 15:41:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:38 bin 15:41:16 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 15:40 coverage.out 15:41:16 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 15:38 example 15:41:16 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 15:38 go.mod 15:41:16 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 15:38 go.sum 15:41:16 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:38 internal 15:41:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 15:38 openapi 15:41:16 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 15:38 pkg 15:41:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:38 snap 15:41:16 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 15:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:16 + 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=8e06685c5bed515b18a4f19b1b2841e63869493f --label arch=amd64 --label version=3.1.0-dev.21 . 15:41:16 Sending build context to Docker daemon 11.22MB 15:41:16 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:41:16 Step 2/23 : FROM ${BASE} AS builder 15:41:16 ---> ffa0a8bb8d68 15:41:16 Step 3/23 : ARG MAKE=make build 15:41:17 ---> Running in 7ac5ac2c3cb6 15:41:17 Removing intermediate container 7ac5ac2c3cb6 15:41:17 ---> b8e58c407b5a 15:41:17 Step 4/23 : WORKDIR /device-sdk-go 15:41:17 ---> Running in a9bc54b5199c 15:41:17 Removing intermediate container a9bc54b5199c 15:41:17 ---> 92bfdbbadbd2 15:41:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:41:17 ---> Running in e1438dbdd40b 15:41:17 Removing intermediate container e1438dbdd40b 15:41:17 ---> 815da218254b 15:41:17 Step 6/23 : RUN apk add --update --no-cache make git 15:41:17 ---> Running in 04c4cf51edb9 15:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:41:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:41:18 OK: 265 MiB in 53 packages 15:41:18 Removing intermediate container 04c4cf51edb9 15:41:18 ---> 08307f08cc88 15:41:18 Step 7/23 : COPY go.mod vendor* ./ 15:41:18 ---> cb25804d7bb2 15:41:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:41:18 ---> Running in 4d74c4b0b702 15:41:19 Removing intermediate container 4d74c4b0b702 15:41:19 ---> 7e104fcc8d70 15:41:19 Step 9/23 : COPY . . 15:41:19 ---> b4b4f8255c6c 15:41:19 Step 10/23 : RUN ${MAKE} 15:41:19 ---> Running in ed255ff0a39c 15:41:20 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:41:47 Removing intermediate container ed255ff0a39c 15:41:47 ---> 55a63eac6ae7 15:41:47 Step 11/23 : FROM alpine:3.17 15:41:47 3.17: Pulling from library/alpine 15:41:47 9398808236ff: Pulling fs layer 15:41:47 9398808236ff: Verifying Checksum 15:41:47 9398808236ff: Download complete 15:41:47 9398808236ff: Pull complete 15:41:47 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:41:47 Status: Downloaded newer image for alpine:3.17 15:41:47 ---> 1e0b8b5322fc 15:41:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:41:47 ---> Running in cd5710b88118 15:41:47 Removing intermediate container cd5710b88118 15:41:47 ---> 6663a7dc5542 15:41:47 Step 13/23 : RUN apk add --update --no-cache 15:41:48 ---> Running in 8f1b8d0b0978 15:41:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 15:41:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 15:41:49 OK: 7 MiB in 15 packages 15:41:50 Removing intermediate container 8f1b8d0b0978 15:41:50 ---> a2f6a8175abf 15:41:50 Step 14/23 : WORKDIR / 15:41:50 ---> Running in 7c1328c06adf 15:41:50 Removing intermediate container 7c1328c06adf 15:41:50 ---> c9c3a92bc2f2 15:41:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:41:50 ---> 9ea9fae43689 15:41:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:41:52 ---> 521318d506a9 15:41:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:41:52 ---> ef2d83d3b27a 15:41:52 Step 18/23 : EXPOSE 59999 15:41:53 ---> Running in 83779a03f7f8 15:41:53 Removing intermediate container 83779a03f7f8 15:41:53 ---> 1c02cd10bba9 15:41:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:41:53 ---> Running in a4466f0499d4 15:41:53 Removing intermediate container a4466f0499d4 15:41:53 ---> 3f2ae9629cd5 15:41:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:41:53 ---> Running in 5b478b272659 15:41:53 Removing intermediate container 5b478b272659 15:41:53 ---> 1013896b9dfb 15:41:53 Step 21/23 : LABEL arch=amd64 15:41:53 ---> Running in 22653ad71108 15:41:54 Removing intermediate container 22653ad71108 15:41:54 ---> 039f31bd0883 15:41:54 Step 22/23 : LABEL git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f 15:41:54 ---> Running in 96e1415c5726 15:41:54 Removing intermediate container 96e1415c5726 15:41:54 ---> 51d9c1bc99c8 15:41:54 Step 23/23 : LABEL version=3.1.0-dev.21 15:41:54 ---> Running in 42182e7d84c2 15:41:54 Removing intermediate container 42182e7d84c2 15:41:54 ---> 16dd0253c5eb 15:41:54 [Warning] One or more build-args [ARCH] were not consumed 15:41:54 Successfully built 16dd0253c5eb 15:41:54 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 15:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:55 15:41:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:41:55 latest: Pulling from edgex-lftools-log-publisher 15:41:55 5eb5b503b376: Pulling fs layer 15:41:55 5c69ac0246d0: Pulling fs layer 15:41:55 ec43610c2a17: Pulling fs layer 15:41:55 3a2ae6a8a46f: Pulling fs layer 15:41:55 33b1e0a273af: Pulling fs layer 15:41:55 5d3b04190fa2: Pulling fs layer 15:41:55 2f39f015ded8: Pulling fs layer 15:41:55 33b1e0a273af: Waiting 15:41:55 5d3b04190fa2: Waiting 15:41:55 3a2ae6a8a46f: Waiting 15:41:55 5c69ac0246d0: Verifying Checksum 15:41:55 5c69ac0246d0: Download complete 15:41:55 3a2ae6a8a46f: Download complete 15:41:55 33b1e0a273af: Verifying Checksum 15:41:55 33b1e0a273af: Download complete 15:41:55 ec43610c2a17: Verifying Checksum 15:41:55 ec43610c2a17: Download complete 15:41:55 5d3b04190fa2: Verifying Checksum 15:41:55 5d3b04190fa2: Download complete 15:41:56 5eb5b503b376: Verifying Checksum 15:41:56 5eb5b503b376: Download complete 15:41:56 2f39f015ded8: Download complete 15:41:57 5eb5b503b376: Pull complete 15:41:57 5c69ac0246d0: Pull complete 15:41:57 ec43610c2a17: Pull complete 15:41:57 3a2ae6a8a46f: Pull complete 15:41:58 33b1e0a273af: Pull complete 15:41:58 5d3b04190fa2: Pull complete 15:42:02 2f39f015ded8: Pull complete 15:42:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:42:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:42:02 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:42:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:42:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5895 in /w/workspace/edgexfoundry_device-sdk-go_main 15:42:08 $ docker top 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 15:42:08 Running in /w/workspace/device-sdk-go/250 [Pipeline] { [Pipeline] checkout 15:42:08 The recommended git tool is: git 15:42:08 ---> job-cost.sh 15:42:08 lf-activate-venv: SKIPPING 15:42:08 INFO: No Stack... 15:42:09 INFO: Retrieving Pricing Info for: v3-standard-8 15:42:09 INFO: Archiving Costs [Pipeline] sh 15:42:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:42:09 + cut -d, -f6 [Pipeline] lock 15:42:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] 15:42:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] did not exist. Created. 15:42:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:42:09 + echo total: 0.2199999988079071 [Pipeline] stash 15:42:09 Stashed 1 file(s) [Pipeline] } 15:42:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] // lock [Pipeline] } 15:42:09 $ docker stop --time=1 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 15:42:11 $ docker rm -f --volumes 4e2e125de5826a2d8c902d1e773c8f016352d6d89b77a9148f647a2f61d79d32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:42:14 using credential edgex-jenkins-ssh 15:42:14 Cloning the remote Git repository 15:42:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:42:14 > git init /w/workspace/device-sdk-go/250 # timeout=10 15:42:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:42:14 > git --version # timeout=10 15:42:14 > git --version # 'git version 2.25.1' 15:42:14 using GIT_SSH to set credentials SSH Credentials for GitHub 15:42:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:42:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:42:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:42:17 Avoid second fetch 15:42:17 Checking out Revision 8e06685c5bed515b18a4f19b1b2841e63869493f (main) 15:42:18 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 (#1509)" 15:42:17 > git config core.sparsecheckout # timeout=10 15:42:17 > git checkout -f 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:42:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:42:19 % Total % Received % Xferd Average Speed Time Time Time Current 15:42:19 Dload Upload Total Spent Left Speed 15:42:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 15:42:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:42:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:42:20 + sudo tee /etc/docker/daemon.new 15:42:20 { 15:42:20 "registry-mirrors": [ 15:42:20 "https://nexus3.edgexfoundry.org:10001" 15:42:20 ], 15:42:20 "bip": "10.250.0.254/24", 15:42:20 "hosts": [ 15:42:20 "tcp://0.0.0.0:5555", 15:42:20 "unix:///var/run/docker.sock" 15:42:20 ], 15:42:20 "mtu": 1458, 15:42:20 "selinux-enabled": true, 15:42:20 "seccomp-profile": "/etc/docker/seccomp.json" 15:42:20 } [Pipeline] sh 15:42:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:42:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:42:39 provisioning config files... 15:42:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/250@tmp/config10909481085694900648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:42:39 ---> docker-login.sh 15:42:39 nexus3.edgexfoundry.org:10001 15:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:40 Configure a credential helper to remove this warning. See 15:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:40 15:42:40 Login Succeeded 15:42:40 nexus3.edgexfoundry.org:10002 15:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:40 Configure a credential helper to remove this warning. See 15:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:40 15:42:40 Login Succeeded 15:42:40 nexus3.edgexfoundry.org:10003 15:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:41 Configure a credential helper to remove this warning. See 15:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:41 15:42:41 Login Succeeded 15:42:41 nexus3.edgexfoundry.org:10004 15:42:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:41 Configure a credential helper to remove this warning. See 15:42:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:41 15:42:41 Login Succeeded 15:42:41 docker.io 15:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:42:42 Configure a credential helper to remove this warning. See 15:42:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:42:42 15:42:42 Login Succeeded 15:42:42 ---> docker-login.sh ends [Pipeline] } 15:42:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:42:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:42:42 ========================================================= 15:42:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 15:42:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:42:43 + 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 . 15:42:45 Sending build context to Docker daemon 5.929MB 15:42:45 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 15:42:45 Step 2/10 : FROM ${BASE} AS builder 15:42:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:42:45 edb6bdbacee9: Pulling fs layer 15:42:45 5f9638ab2659: Pulling fs layer 15:42:45 8d51d6327a98: Pulling fs layer 15:42:45 8b374f2dd631: Pulling fs layer 15:42:45 ec14aa9079de: Pulling fs layer 15:42:45 2f466654f4bb: Pulling fs layer 15:42:45 554e91adad29: Pulling fs layer 15:42:45 ec14aa9079de: Waiting 15:42:45 2f466654f4bb: Waiting 15:42:45 554e91adad29: Waiting 15:42:45 5f9638ab2659: Verifying Checksum 15:42:45 5f9638ab2659: Download complete 15:42:45 8b374f2dd631: Verifying Checksum 15:42:45 8b374f2dd631: Download complete 15:42:45 ec14aa9079de: Download complete 15:42:45 edb6bdbacee9: Verifying Checksum 15:42:46 edb6bdbacee9: Pull complete 15:42:46 554e91adad29: Verifying Checksum 15:42:46 554e91adad29: Download complete 15:42:47 5f9638ab2659: Pull complete 15:42:48 8d51d6327a98: Verifying Checksum 15:42:48 8d51d6327a98: Download complete 15:42:48 2f466654f4bb: Download complete 15:43:00 8d51d6327a98: Pull complete 15:43:00 8b374f2dd631: Pull complete 15:43:00 ec14aa9079de: Pull complete 15:43:07 2f466654f4bb: Pull complete 15:43:08 554e91adad29: Pull complete 15:43:08 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 15:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 15:43:08 ---> 1e15ea492957 15:43:08 Step 3/10 : ARG MAKE=make build 15:43:11 ---> Running in 90a7516f0c47 15:43:11 Removing intermediate container 90a7516f0c47 15:43:11 ---> 9e037fe632d6 15:43:11 Step 4/10 : WORKDIR /device-sdk-go 15:43:11 ---> Running in 32d613293285 15:43:11 Removing intermediate container 32d613293285 15:43:11 ---> 1eaf3e9ea7aa 15:43:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:43:12 ---> Running in 9a35532e6a4e 15:43:12 Removing intermediate container 9a35532e6a4e 15:43:12 ---> 35b9920c2000 15:43:12 Step 6/10 : RUN apk add --update --no-cache make git 15:43:12 ---> Running in 44adbf38d047 15:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:43:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:43:16 OK: 263 MiB in 53 packages 15:43:17 Removing intermediate container 44adbf38d047 15:43:17 ---> 4d129552262d 15:43:17 Step 7/10 : COPY go.mod vendor* ./ 15:43:17 ---> 5dbf88529af8 15:43:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:43:17 ---> Running in 9f55c54cc2a3 15:44:39 Removing intermediate container 9f55c54cc2a3 15:44:39 ---> 1bc45a0d2f46 15:44:39 Step 9/10 : COPY . . 15:44:39 ---> f7be291d1b45 15:44:39 Step 10/10 : RUN ${MAKE} 15:44:39 ---> Running in 5b5f6cca7c5c 15:44:39 noop 15:44:39 Removing intermediate container 5b5f6cca7c5c 15:44:39 ---> 15d6b05ad2f0 15:44:39 Successfully built 15d6b05ad2f0 15:44:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:39 + docker inspect -f . ci-base-image-arm64 15:44:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:39 prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container 15:44:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:41 $ docker top 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:42 + go version 15:44:42 go version go1.20.6 linux/arm64 [Pipeline] } 15:44:42 $ docker stop --time=1 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 15:44:43 $ docker rm -f --volumes 449033bd250d004b8a35aa5e48b06d78652b779ceb0a824f4df1e2c692a28af0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:44 + docker inspect -f . ci-base-image-arm64 15:44:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:44 prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container 15:44:44 $ 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/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:44:48 $ docker top 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d -eo pid,comm [Pipeline] { [Pipeline] sh 15:44:49 + git config --global --add safe.directory /w/workspace/device-sdk-go/250 [Pipeline] fileExists [Pipeline] sh 15:44:50 + make test 15:44:50 go test -race -coverprofile=coverage.out ./... 15:45:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:48:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:48:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:48:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:48:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:48:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:48:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.253s coverage: 27.6% of statements 15:48:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.298s coverage: 80.2% of statements 15:48:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:48:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:48:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.384s coverage: 86.0% of statements 15:49:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:49:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.531s coverage: 71.8% of statements 15:49:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.329s coverage: 14.1% of statements 15:49:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:49:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:49:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.600s coverage: 44.2% of statements 15:49:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.473s coverage: 68.5% of statements 15:49:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.513s coverage: 89.2% of statements 15:49:15 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:49:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.335s coverage: 5.5% of statements 15:49:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:49:17 GO111MODULE=on go vet ./... 15:52:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:52:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:52:08 ./bin/test-attribution-txt.sh [Pipeline] echo 15:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:52:09 $ docker stop --time=1 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d 15:52:11 $ docker rm -f --volumes 2bb0b2a90a2940dc7a13e6f4987ebd9c35e97dddfd7e7b6008da4a208a0aca1d [Pipeline] // withDockerContainer [Pipeline] sh 15:52:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:52:12 Warning: overwriting stash ‘coverage-report’ 15:52:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:52:14 + ls -al . 15:52:14 total 300 15:52:14 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 15:44 . 15:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:42 .. 15:52:14 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 15:42 .dockerignore 15:52:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 15:42 .git 15:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:42 .github 15:52:14 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 15:42 .gitignore 15:52:14 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 15:42 .golangci.yml 15:52:14 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 15:42 CHANGELOG.md 15:52:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 15:42 GOVERNANCE.md 15:52:14 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 15:42 Jenkinsfile 15:52:14 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 15:42 LICENSE 15:52:14 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 15:42 Makefile 15:52:14 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 15:42 OWNERS.md 15:52:14 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 15:42 README.md 15:52:14 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 15:38 VERSION 15:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 15:42 bin 15:52:14 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 15:49 coverage.out 15:52:14 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 15:42 example 15:52:14 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 15:42 go.mod 15:52:14 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 15:42 go.sum 15:52:14 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:42 internal 15:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 15:42 openapi 15:52:14 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 15:42 pkg 15:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 15:42 snap 15:52:14 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:14 + 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=8e06685c5bed515b18a4f19b1b2841e63869493f --label arch=arm64 --label version=3.1.0-dev.21 . 15:52:14 Sending build context to Docker daemon 6.05MB 15:52:15 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 15:52:15 Step 2/23 : FROM ${BASE} AS builder 15:52:15 ---> 15d6b05ad2f0 15:52:15 Step 3/23 : ARG MAKE=make build 15:52:15 ---> Running in 896a060d2908 15:52:15 Removing intermediate container 896a060d2908 15:52:15 ---> 7442383672fe 15:52:15 Step 4/23 : WORKDIR /device-sdk-go 15:52:15 ---> Running in e12112ff97d4 15:52:15 Removing intermediate container e12112ff97d4 15:52:15 ---> de293c62e949 15:52:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:52:15 ---> Running in ffc8a60f4c44 15:52:16 Removing intermediate container ffc8a60f4c44 15:52:16 ---> 54e332d1b047 15:52:16 Step 6/23 : RUN apk add --update --no-cache make git 15:52:16 ---> Running in c339f1e42f79 15:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:52:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:52:19 OK: 263 MiB in 53 packages 15:52:20 Removing intermediate container c339f1e42f79 15:52:20 ---> 7a7a7e848352 15:52:20 Step 7/23 : COPY go.mod vendor* ./ 15:52:20 ---> f7ec5aba1071 15:52:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:20 ---> Running in e78f5c0019e9 15:52:22 Removing intermediate container e78f5c0019e9 15:52:22 ---> 60a007f66b9d 15:52:22 Step 9/23 : COPY . . 15:52:24 ---> 5c860daf3952 15:52:24 Step 10/23 : RUN ${MAKE} 15:52:24 ---> Running in 482f7c281a44 15:52:25 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.21" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:55:17 Removing intermediate container 482f7c281a44 15:55:17 ---> 760a0b259f8e 15:55:17 Step 11/23 : FROM alpine:3.17 15:55:17 3.17: Pulling from library/alpine 15:55:17 4060ece20d7a: Pulling fs layer 15:55:17 4060ece20d7a: Verifying Checksum 15:55:17 4060ece20d7a: Download complete 15:55:17 4060ece20d7a: Pull complete 15:55:17 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 15:55:17 Status: Downloaded newer image for alpine:3.17 15:55:17 ---> 8650cd65339b 15:55:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:55:17 ---> Running in a7472a1ce45a 15:55:17 Removing intermediate container a7472a1ce45a 15:55:17 ---> 63c72ff097ee 15:55:17 Step 13/23 : RUN apk add --update --no-cache 15:55:17 ---> Running in 0ef1d4552ebf 15:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 15:55:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 15:55:17 OK: 7 MiB in 15 packages 15:55:17 Removing intermediate container 0ef1d4552ebf 15:55:17 ---> 4f649c8f664d 15:55:17 Step 14/23 : WORKDIR / 15:55:17 ---> Running in 68819a35e9cc 15:55:17 Removing intermediate container 68819a35e9cc 15:55:17 ---> 71f8ef030db4 15:55:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:55:17 ---> 9fccada8fd8c 15:55:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:55:17 ---> 3efd0c503500 15:55:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:55:17 ---> e7b51f3c50cc 15:55:17 Step 18/23 : EXPOSE 59999 15:55:17 ---> Running in b42ae221f729 15:55:17 Removing intermediate container b42ae221f729 15:55:17 ---> 7ff732ee11a0 15:55:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:55:17 ---> Running in 715033f79b39 15:55:17 Removing intermediate container 715033f79b39 15:55:17 ---> fefee6ec94cb 15:55:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:55:17 ---> Running in cacfc4dca4ab 15:55:17 Removing intermediate container cacfc4dca4ab 15:55:17 ---> b2c4d15c56f4 15:55:17 Step 21/23 : LABEL arch=arm64 15:55:17 ---> Running in 322e43923046 15:55:17 Removing intermediate container 322e43923046 15:55:17 ---> 20dea5c121ef 15:55:17 Step 22/23 : LABEL git_sha=8e06685c5bed515b18a4f19b1b2841e63869493f 15:55:17 ---> Running in ee7089f59dff 15:55:17 Removing intermediate container ee7089f59dff 15:55:17 ---> 0d4231700992 15:55:17 Step 23/23 : LABEL version=3.1.0-dev.21 15:55:17 ---> Running in 5b20c75d568f 15:55:17 Removing intermediate container 5b20c75d568f 15:55:17 ---> 0ab3fa232797 15:55:17 [Warning] One or more build-args [ARCH] were not consumed 15:55:17 Successfully built 0ab3fa232797 15:55:17 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 15:55:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:17 15:55:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:17 arm64: Pulling from edgex-lftools-log-publisher 15:55:17 8998bd30e6a1: Pulling fs layer 15:55:17 04944245beec: Pulling fs layer 15:55:17 699f458cf7ca: Pulling fs layer 15:55:17 765212b225bb: Pulling fs layer 15:55:17 f23df028b6ca: Pulling fs layer 15:55:17 d65c8cfc05b1: Pulling fs layer 15:55:17 2437ff75d9bd: Pulling fs layer 15:55:17 765212b225bb: Waiting 15:55:17 f23df028b6ca: Waiting 15:55:17 d65c8cfc05b1: Waiting 15:55:17 2437ff75d9bd: Waiting 15:55:18 04944245beec: Verifying Checksum 15:55:18 04944245beec: Download complete 15:55:18 765212b225bb: Verifying Checksum 15:55:18 765212b225bb: Download complete 15:55:18 f23df028b6ca: Verifying Checksum 15:55:18 f23df028b6ca: Download complete 15:55:18 d65c8cfc05b1: Verifying Checksum 15:55:18 d65c8cfc05b1: Download complete 15:55:18 699f458cf7ca: Verifying Checksum 15:55:18 699f458cf7ca: Download complete 15:55:18 8998bd30e6a1: Download complete 15:55:20 2437ff75d9bd: Verifying Checksum 15:55:20 2437ff75d9bd: Download complete 15:55:22 8998bd30e6a1: Pull complete 15:55:23 04944245beec: Pull complete 15:55:25 699f458cf7ca: Pull complete 15:55:26 765212b225bb: Pull complete 15:55:27 f23df028b6ca: Pull complete 15:55:27 d65c8cfc05b1: Pull complete 15:55:42 2437ff75d9bd: Pull complete 15:55:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:55:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:55:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:55:42 prd-ubuntu20.04-docker-arm64-4c-16g-5895 does not seem to be running inside a container 15:55:42 $ 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/250 -v /w/workspace/device-sdk-go/250:/w/workspace/device-sdk-go/250:rw,z -v /w/workspace/device-sdk-go/250@tmp:/w/workspace/device-sdk-go/250@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:55:45 $ docker top 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:55:45 ---> job-cost.sh 15:55:45 lf-activate-venv: SKIPPING 15:55:45 INFO: No Stack... 15:55:46 INFO: Retrieving Pricing Info for: v3-standard-4 15:55:47 INFO: Archiving Costs [Pipeline] sh 15:55:48 + cut -d, -f6 15:55:48 + cat /w/workspace/device-sdk-go/250/archives/cost.csv [Pipeline] lock 15:55:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] 15:55:48 Resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] did not exist. Created. 15:55:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:55:48 /w/workspace/device-sdk-go/250@tmp/durable-c8f3a6d3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:55:49 + echo total: 0.10999999940395355 [Pipeline] stash 15:55:49 Warning: overwriting stash ‘stack-cost’ 15:55:49 Stashed 1 file(s) [Pipeline] } 15:55:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-250-stack-cost] [Pipeline] // lock [Pipeline] } 15:55:49 $ docker stop --time=1 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa 15:55:51 $ docker rm -f --volumes 0d502317e18341e0d5a69224222ab53728cb900486dd34bcaeac0a60ad5655aa [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 15:55:52 provisioning config files... 15:55:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8965276642826177714tmp [Pipeline] { [Pipeline] sh 15:55:52 + set +x 15:55:52 + curl -s https://codecov.io/bash 15:55:52 + bash -s -- 15:55:52 15:55:52 _____ _ 15:55:52 / ____| | | 15:55:52 | | ___ __| | ___ ___ _____ __ 15:55:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:55:52 | |___| (_) | (_| | __/ (_| (_) \ V / 15:55:52 \_____\___/ \__,_|\___|\___\___/ \_/ 15:55:52 Bash-1.0.6 15:55:52 15:55:52 15:55:52 ==> git version 2.25.1 found 15:55:52 ==> 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 15:55:52 Release-Date: 2020-01-08 15:55:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:55:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:55:52 ==> Jenkins CI detected. 15:55:52 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:55:52 project root: . 15:55:52 --> token set from env 15:55:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:55:52 ==> Running gcov in . (disable via -X gcov) 15:55:52 ==> Python coveragepy not found 15:55:52 ==> Searching for coverage reports in: 15:55:52 + . 15:55:52 -> Found 1 reports 15:55:52 ==> Detecting git/mercurial file structure 15:55:52 ==> Reading reports 15:55:52 + ./coverage.out bytes=120468 15:55:52 ==> Appending adjustments 15:55:52 https://docs.codecov.io/docs/fixing-reports 15:55:53 + Found adjustments 15:55:53 ==> Gzipping contents 15:55:53 20K /tmp/codecov.RRSArq.gz 15:55:53 ==> Uploading reports 15:55:53 url: https://codecov.io 15:55:53 query: branch=main&commit=8e06685c5bed515b18a4f19b1b2841e63869493f&build=250&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F250%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:55:53 -> Pinging Codecov 15:55:53 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=8e06685c5bed515b18a4f19b1b2841e63869493f&build=250&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F250%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:55:53 -> Uploading to 15:55:53 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/8e06685c5bed515b18a4f19b1b2841e63869493f/83f9d5ac-521c-40fa-9a85-2adf404b3464.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T155553Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fd306b1ffe6b6b94044a5c0cd1fc1cd59c3f4fb629992978a6b6dbb97b00093b 15:55:53 % Total % Received % Xferd Average Speed Time Time Time Current 15:55:53 Dload Upload Total Spent Left Speed 15:55:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 81316 --:--:-- --:--:-- --:--:-- 80916 100 16426 0 0 100 16426 0 81316 --:--:-- --:--:-- --:--:-- 80916 15:55:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] } 15:55:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:55:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:55:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:55:54 15:55:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:55:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:55:54 df9b9388f04a: Pulling fs layer 15:55:54 52dc419b0ee2: Pulling fs layer 15:55:54 25bc292e5bac: Pulling fs layer 15:55:54 114826534d7a: Pulling fs layer 15:55:54 4657fd5d0bcf: Pulling fs layer 15:55:54 6ad1cebc031e: Pulling fs layer 15:55:54 8a3aa393b2d8: Pulling fs layer 15:55:54 4657fd5d0bcf: Waiting 15:55:54 6ad1cebc031e: Waiting 15:55:54 8a3aa393b2d8: Waiting 15:55:54 114826534d7a: Waiting 15:55:54 25bc292e5bac: Download complete 15:55:54 52dc419b0ee2: Download complete 15:55:54 4657fd5d0bcf: Download complete 15:55:54 df9b9388f04a: Verifying Checksum 15:55:54 df9b9388f04a: Download complete 15:55:54 df9b9388f04a: Pull complete 15:55:54 6ad1cebc031e: Verifying Checksum 15:55:54 6ad1cebc031e: Download complete 15:55:54 52dc419b0ee2: Pull complete 15:55:54 25bc292e5bac: Pull complete 15:55:55 114826534d7a: Verifying Checksum 15:55:55 114826534d7a: Download complete 15:55:55 8a3aa393b2d8: Verifying Checksum 15:55:55 8a3aa393b2d8: Download complete 15:55:58 114826534d7a: Pull complete 15:55:58 4657fd5d0bcf: Pull complete 15:55:58 6ad1cebc031e: Pull complete 15:56:01 8a3aa393b2d8: Pull complete 15:56:01 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:56:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:56:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:01 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:56:05 $ docker top fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 -eo pid,comm [Pipeline] { [Pipeline] echo 15:56:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:56:05 + set -o pipefail 15:56:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:56:10 15:56:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:56:10 15:56:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/4dbcc050-4a83-401a-ace7-4dbbc0b5e683 15:56:10 15:56:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:56:10 15:56:10 15:56:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:56:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:56:10 More details here: https://snyk.co/ue1NS 15:56:10 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 15:56:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 15:56:10 $ docker stop --time=1 fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 15:56:14 $ docker rm -f --volumes fac0635c34f4b6fd99edcb5f7ec46914b6879b68dac92710b252bda2d33612c8 [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 15:56:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:15 provisioning config files... 15:56:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4078553131469693673tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:56:15 --> edgex-publish-swagger.sh 15:56:15 === Publish openapi/v3 API === 15:56:15 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 15:56:15 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 15:56:15 % Total % Received % Xferd Average Speed Time Time Time Current 15:56:15 Dload Upload Total Spent Left Speed 15:56:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 48512 --:--:-- --:--:-- --:--:-- 48512 15:56:15 15:56:15 [Pipeline] } 15:56:15 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 15:56:16 + git log --format=format:%s -1 8e06685c5bed515b18a4f19b1b2841e63869493f [Pipeline] sh 15:56:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:16 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:17 $ docker top e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:17 [ssh-agent] Looking for ssh-agent implementation... 15:56:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:17 $ docker exec e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 ssh-agent 15:56:17 SSH_AUTH_SOCK=/tmp/ssh-u1DYcrVtTEGz/agent.32 15:56:17 SSH_AGENT_PID=38 15:56:17 Running ssh-add (command line suppressed) 15:56:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11303822784836255526.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11303822784836255526.key) 15:56:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:18 + git semver tag 15:56:18 2023-09-12 15:56:18,241 [run_tag] DEBUG tag force:False 15:56:18 2023-09-12 15:56:18,241 [check_head_tag] DEBUG check head tag 15:56:18 2023-09-12 15:56:18,242 [execute] INFO git cat-file --batch-check 15:56:18 2023-09-12 15:56:18,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:56:18 2023-09-12 15:56:18,246 [execute] INFO git cat-file --batch 15:56:18 2023-09-12 15:56:18,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:56:18 2023-09-12 15:56:18,258 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:18 2023-09-12 15:56:18,259 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 15:56:18 2023-09-12 15:56:18,259 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:56:18 2023-09-12 15:56:18,263 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:18 3.1.0-dev.21 [Pipeline] } 15:56:18 $ docker exec --env ******** --env ******** e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 ssh-agent -k 15:56:18 unset SSH_AUTH_SOCK; 15:56:18 unset SSH_AGENT_PID; 15:56:18 echo Agent pid 38 killed; 15:56:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:18 + git semver [Pipeline] } 15:56:19 $ docker stop --time=1 e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 15:56:20 $ docker rm -f --volumes e50df6de9f1e2864eb0c14df2e24215e292c89e3f0ccf24768cf48edd1815114 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:20 15:56:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:21 0.23.1-centos7: Pulling from edgex-lftools 15:56:21 ab5ef0e58194: Pulling fs layer 15:56:21 9712f1f96733: Pulling fs layer 15:56:21 63f879dbbcfc: Pulling fs layer 15:56:21 0d9ebad4ef96: Pulling fs layer 15:56:21 e9a5061849ea: Pulling fs layer 15:56:21 d747dcd14b5f: Pulling fs layer 15:56:21 2de7ff778b66: Pulling fs layer 15:56:21 d747dcd14b5f: Waiting 15:56:21 0d9ebad4ef96: Waiting 15:56:21 e9a5061849ea: Waiting 15:56:21 2de7ff778b66: Waiting 15:56:21 9712f1f96733: Verifying Checksum 15:56:21 9712f1f96733: Download complete 15:56:21 63f879dbbcfc: Verifying Checksum 15:56:21 63f879dbbcfc: Download complete 15:56:21 e9a5061849ea: Verifying Checksum 15:56:21 e9a5061849ea: Download complete 15:56:21 0d9ebad4ef96: Verifying Checksum 15:56:21 0d9ebad4ef96: Download complete 15:56:21 d747dcd14b5f: Download complete 15:56:21 ab5ef0e58194: Download complete 15:56:21 2de7ff778b66: Verifying Checksum 15:56:21 2de7ff778b66: Download complete 15:56:24 ab5ef0e58194: Pull complete 15:56:24 9712f1f96733: Pull complete 15:56:24 63f879dbbcfc: Pull complete 15:56:29 0d9ebad4ef96: Pull complete 15:56:29 e9a5061849ea: Pull complete 15:56:29 d747dcd14b5f: Pull complete 15:56:29 2de7ff778b66: Pull complete 15:56:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:56:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:56:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:29 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:56:33 $ docker top 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:56:33 provisioning config files... 15:56:33 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8619249431389222651tmp 15:56:33 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14626459644157365611tmp 15:56:33 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4311461913843710565tmp [Pipeline] { [Pipeline] echo 15:56:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:56:34 ---> sigul-configuration.sh 15:56:34 gpg: directory `/root/.gnupg' created 15:56:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:56:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:56:34 gpg: keyring `/root/.gnupg/secring.gpg' created 15:56:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:56:34 gpg: CAST5 encrypted data 15:56:34 gpg: encrypted with 1 passphrase 15:56:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:56:34 + mkdir /home/jenkins 15:56:34 + mkdir /home/jenkins/sigul [Pipeline] sh 15:56:34 + 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 15:56:34 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:56:35 ---> sigul-install.sh 15:56:35 Sigul already installed; skipping installation. [Pipeline] sh 15:56:35 + git tag --list 15:56:35 0.7.1 15:56:35 delhi-tag 15:56:35 v1.0.0 15:56:35 v1.1.0 15:56:35 v1.1.1 15:56:35 v1.1.2 15:56:35 v1.2.0 15:56:35 v1.2.1 15:56:35 v1.2.2 15:56:35 v1.2.3 15:56:35 v1.3.0 15:56:35 v1.4.0 15:56:35 v2.0.0 15:56:35 v2.1.0 15:56:35 v2.1.1 15:56:35 v2.2.0 15:56:35 v2.3.0 15:56:35 v2.3.1 15:56:35 v3.0 15:56:35 v3.0.0 15:56:35 v3.0.1-dev.1 15:56:35 v3.1.0-dev.1 15:56:35 v3.1.0-dev.10 15:56:35 v3.1.0-dev.11 15:56:35 v3.1.0-dev.12 15:56:35 v3.1.0-dev.13 15:56:35 v3.1.0-dev.14 15:56:35 v3.1.0-dev.15 15:56:35 v3.1.0-dev.16 15:56:35 v3.1.0-dev.17 15:56:35 v3.1.0-dev.18 15:56:35 v3.1.0-dev.19 15:56:35 v3.1.0-dev.2 15:56:35 v3.1.0-dev.20 15:56:35 v3.1.0-dev.21 15:56:35 v3.1.0-dev.3 15:56:35 v3.1.0-dev.4 15:56:35 v3.1.0-dev.5 15:56:35 v3.1.0-dev.6 15:56:35 v3.1.0-dev.7 15:56:35 v3.1.0-dev.8 15:56:35 v3.1.0-dev.9 [Pipeline] sh 15:56:35 + lftools sign git-tag v3.1.0-dev.21 15:56:36 Signing Git tag with Sigul... 15:56:36 Signing v3.1.0-dev.21 [Pipeline] echo 15:56:36 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:56:36 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:56:36 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:56:36 $ docker stop --time=1 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 15:56:38 $ docker rm -f --volumes 2bcdb3c87102726e3706b32148e4f06bc4045b319d83e91d74bb308f5c601920 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:56:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:39 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:40 $ docker top 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 -eo pid,comm 15:56:40 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). 15:56:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:40 [ssh-agent] Looking for ssh-agent implementation... 15:56:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:40 $ docker exec 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 ssh-agent 15:56:40 SSH_AUTH_SOCK=/tmp/ssh-eFQlKPR96chp/agent.33 15:56:40 SSH_AGENT_PID=39 15:56:40 Running ssh-add (command line suppressed) 15:56:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4014210449231641315.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4014210449231641315.key) 15:56:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:40 + git semver bump pre 15:56:41 2023-09-12 15:56:41,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:41 2023-09-12 15:56:41,146 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev 15:56:41 2023-09-12 15:56:41,146 [bump_version] DEBUG bumped version:3.1.0-dev.22 15:56:41 2023-09-12 15:56:41,146 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:56:41 2023-09-12 15:56:41,146 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:41 2023-09-12 15:56:41,146 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:41 2023-09-12 15:56:41,148 [execute] INFO git cat-file --batch-check 15:56:41 2023-09-12 15:56:41,148 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:56:41 2023-09-12 15:56:41,153 [execute] INFO git cat-file --batch 15:56:41 2023-09-12 15:56:41,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:56:41 2023-09-12 15:56:41,158 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:41 3.1.0-dev.22 [Pipeline] } 15:56:41 $ docker exec --env ******** --env ******** 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 ssh-agent -k 15:56:41 unset SSH_AUTH_SOCK; 15:56:41 unset SSH_AGENT_PID; 15:56:41 echo Agent pid 39 killed; 15:56:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:41 + git semver [Pipeline] } 15:56:41 $ docker stop --time=1 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 15:56:43 $ docker rm -f --volumes 48d310091d83eb6c5cc7e64bca514faae2e07884709f3b899f1cf16746734846 [Pipeline] // withDockerContainer [Pipeline] sh 15:56:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:56:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:56:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:43 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:56:44 $ docker top 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:56:44 [ssh-agent] Looking for ssh-agent implementation... 15:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:56:44 $ docker exec 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 ssh-agent 15:56:44 SSH_AUTH_SOCK=/tmp/ssh-u8FhjqoxhYiE/agent.31 15:56:44 SSH_AGENT_PID=37 15:56:44 Running ssh-add (command line suppressed) 15:56:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10421902840316235794.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10421902840316235794.key) 15:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:56:45 + git semver push 15:56:45 2023-09-12 15:56:45,200 [run_push] DEBUG push 15:56:45 2023-09-12 15:56:45,201 [execute] INFO git cat-file --batch-check 15:56:45 2023-09-12 15:56:45,201 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:56:45 2023-09-12 15:56:45,205 [execute] INFO git rev-list 8aad0d440a314e1fc5db56acb8dec5d7cb721c5d -- 15:56:45 2023-09-12 15:56:45,205 [execute] DEBUG Popen(['git', 'rev-list', '8aad0d440a314e1fc5db56acb8dec5d7cb721c5d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:56:45 2023-09-12 15:56:45,218 [execute] INFO git fetch -v origin 15:56:45 2023-09-12 15:56:45,219 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:56:45 2023-09-12 15:56:45,687 [run_push] DEBUG no remote changes detected 15:56:45 2023-09-12 15:56:45,687 [execute] INFO git push origin semver 15:56:45 2023-09-12 15:56:45,688 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:56:46 2023-09-12 15:56:46,492 [run_push] DEBUG push all version tags 15:56:46 2023-09-12 15:56:46,492 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:56:46 2023-09-12 15:56:46,493 [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) 15:56:47 2023-09-12 15:56:47,291 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:56:47 3.1.0-dev.22 [Pipeline] } 15:56:47 $ docker exec --env ******** --env ******** 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 ssh-agent -k 15:56:47 unset SSH_AUTH_SOCK; 15:56:47 unset SSH_AGENT_PID; 15:56:47 echo Agent pid 37 killed; 15:56:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:56:47 + git semver [Pipeline] } 15:56:48 $ docker stop --time=1 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 15:56:49 $ docker rm -f --volumes 37488486c8286bdeab11770d9c3db4c8b26d3c8b8530683471964caf0ee28c91 [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 15:56:49 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:56:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:56:49 total 16 15:56:49 drwxr-xr-x 3 root root 4096 Sep 12 15:42 . 15:56:49 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:56 .. 15:56:49 drwxr-xr-x 2 root root 4096 Sep 12 15:42 cost 15:56:49 -rw-r--r-- 1 root root 85 Sep 12 15:42 cost.csv 15:56:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:56:49 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:56:49 total 16 15:56:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 15:42 . 15:56:49 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 15:56 .. 15:56:49 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 15:42 cost 15:56:49 -rw-r--r-- 1 jenkins jenkins 85 Sep 12 15:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:56:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:56:51 ---> package-listing.sh 15:56:51 ++ facter osfamily 15:56:51 ++ tr '[:upper:]' '[:lower:]' 15:56:51 + OS_FAMILY=debian 15:56:51 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:56:51 + START_PACKAGES=/tmp/packages_start.txt 15:56:51 + END_PACKAGES=/tmp/packages_end.txt 15:56:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:56:51 + PACKAGES=/tmp/packages_start.txt 15:56:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:56:51 + PACKAGES=/tmp/packages_end.txt 15:56:51 + case "${OS_FAMILY}" in 15:56:51 + dpkg -l 15:56:51 + grep '^ii' 15:56:51 + '[' -f /tmp/packages_start.txt ']' 15:56:51 + '[' -f /tmp/packages_end.txt ']' 15:56:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:56:51 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:56:51 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:56:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:56:51 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 15:56:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:56:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:56:52 prd-ubuntu20.04-docker-8c-8g-5893 does not seem to be running inside a container 15:56:52 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:56:52 $ docker top 6dc552c12739131b4e09c1383f0c18da8d50f41d179668b881d20f7964682f30 -eo pid,comm [Pipeline] { [Pipeline] sh 15:56:52 + touch /tmp/pre-build-complete [Pipeline] sh 15:56:53 + mkdir -p /var/log/sysstat [Pipeline] sh 15:56:53 + ls /var/log/sa-host 15:56:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:56:53 provisioning config files... 15:56:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16518238185062506970tmp [Pipeline] { [Pipeline] echo 15:56:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:56:53 ---> create-netrc.sh [Pipeline] } 15:56:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:56:54 ---> python-tools-install.sh [Pipeline] echo 15:56:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:56:54 ---> sudo-logs.sh 15:56:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:56:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:56:54 ---> job-cost.sh 15:56:54 lf-activate-venv: SKIPPING 15:56:54 DEBUG: total: 0.2199999988079071 15:56:54 INFO: Retrieving Stack Cost... 15:56:55 INFO: Retrieving Pricing Info for: v3-standard-8 15:56:55 INFO: Archiving Costs [Pipeline] echo 15:56:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:56:55 ---> logs-deploy.sh 15:56:55 lf-activate-venv: SKIPPING 15:56:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/250 15:56:55 INFO: archiving workspace using pattern(s): 15:56:56 Archives upload complete. 15:56:56 INFO: archiving logs to Nexus