Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fcbf44bcbbc574f021408d70e777feaef97917b6 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-ssh13206537124565484744.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-ssh15717076098205342055.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-ssh16246036908799179898.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-ssh4191233704564500562.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-ssh2666942143283549043.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-4260’ Running on prd-ubuntu20.04-docker-8c-8g-4263 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 fcbf44bcbbc574f021408d70e777feaef97917b6 (main) Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497)" > 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 fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 > git rev-list --no-walk b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:20:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:20:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:19 ========================================================= 16:20:19 EdgeX Global Pipelines Version Info 16:20:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:20:19 ------------------- 16:20:19 stable info: 16:20:19 ------------------- 16:20:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:20:19 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:20:19 Message: update stable to v1.0.253 16:20:20 ------------------- 16:20:20 experimental info: 16:20:20 ------------------- 16:20:20 Commited By: **** collab-it+edgex@linuxfoundation.org 16:20:20 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 16:20:20 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:20:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fcbf44b [Pipeline] echo 16:20:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:21 provisioning config files... 16:20:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5976210629585226706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:21 ---> docker-login.sh 16:20:21 nexus3.edgexfoundry.org:10001 16:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:22 Configure a credential helper to remove this warning. See 16:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:22 16:20:22 Login Succeeded 16:20:22 nexus3.edgexfoundry.org:10002 16:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:22 Configure a credential helper to remove this warning. See 16:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:22 16:20:22 Login Succeeded 16:20:22 nexus3.edgexfoundry.org:10003 16:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:23 Configure a credential helper to remove this warning. See 16:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:23 16:20:23 Login Succeeded 16:20:23 nexus3.edgexfoundry.org:10004 16:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:23 Configure a credential helper to remove this warning. See 16:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:23 16:20:23 Login Succeeded 16:20:23 docker.io 16:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:23 Configure a credential helper to remove this warning. See 16:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:23 16:20:23 Login Succeeded 16:20:23 ---> docker-login.sh ends [Pipeline] } 16:20:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:20:23 + git rev-list -1 --merges fcbf44bcbbc574f021408d70e777feaef97917b6~1..fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo 16:20:23 -----------> git rev-list -1 --merges fcbf44bcbbc574f021408d70e777feaef97917b6~1..fcbf44bcbbc574f021408d70e777feaef97917b6 fcbf44bcbbc574f021408d70e777feaef97917b6 [false] [Pipeline] sh 16:20:24 + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo 16:20:24 ========================================================= 16:20:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:20:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:24 + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] echo 16:20:24 [semverPrep] GIT_COMMIT: fcbf44bcbbc574f021408d70e777feaef97917b6, Commit Message: build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497) [Pipeline] echo 16:20:24 [semverPrep] This is not a build commit. [Pipeline] sh 16:20:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:20:24 + grep -v github /etc/ssh/ssh_known_hosts 16:20:24 + [ -e /tmp/ssh_known_hosts ] 16:20:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:20:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:20:24 + sudo tee -a /etc/ssh/ssh_known_hosts 16:20:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:25 16:20:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:25 0.1.4: Pulling from edgex-devops/py-git-semver 16:20:25 b85a868b505f: Pulling fs layer 16:20:25 e2be974225ed: Pulling fs layer 16:20:25 339a4e72a1f5: Pulling fs layer 16:20:25 988bab9f4d93: Pulling fs layer 16:20:25 1469e6f7b9e6: Pulling fs layer 16:20:25 eaf3925da568: Pulling fs layer 16:20:25 bab4dde63d76: Pulling fs layer 16:20:25 bde34c3a00c8: Pulling fs layer 16:20:25 b352a97aabf1: Pulling fs layer 16:20:25 4872d77fe225: Pulling fs layer 16:20:25 5851b861e8e6: Pulling fs layer 16:20:25 bab4dde63d76: Waiting 16:20:25 bde34c3a00c8: Waiting 16:20:25 988bab9f4d93: Waiting 16:20:25 b352a97aabf1: Waiting 16:20:25 1469e6f7b9e6: Waiting 16:20:25 4872d77fe225: Waiting 16:20:25 eaf3925da568: Waiting 16:20:25 5851b861e8e6: Waiting 16:20:25 e2be974225ed: Verifying Checksum 16:20:25 e2be974225ed: Download complete 16:20:25 988bab9f4d93: Verifying Checksum 16:20:25 988bab9f4d93: Download complete 16:20:25 1469e6f7b9e6: Verifying Checksum 16:20:25 1469e6f7b9e6: Download complete 16:20:25 eaf3925da568: Verifying Checksum 16:20:25 eaf3925da568: Download complete 16:20:25 339a4e72a1f5: Verifying Checksum 16:20:25 339a4e72a1f5: Download complete 16:20:25 bde34c3a00c8: Verifying Checksum 16:20:25 bde34c3a00c8: Download complete 16:20:25 b352a97aabf1: Download complete 16:20:25 4872d77fe225: Download complete 16:20:25 5851b861e8e6: Verifying Checksum 16:20:25 b85a868b505f: Verifying Checksum 16:20:25 b85a868b505f: Download complete 16:20:25 bab4dde63d76: Verifying Checksum 16:20:25 bab4dde63d76: Download complete 16:20:27 b85a868b505f: Pull complete 16:20:27 e2be974225ed: Pull complete 16:20:27 339a4e72a1f5: Pull complete 16:20:27 988bab9f4d93: Pull complete 16:20:28 1469e6f7b9e6: Pull complete 16:20:28 eaf3925da568: Pull complete 16:20:30 bab4dde63d76: Pull complete 16:20:30 bde34c3a00c8: Pull complete 16:20:30 b352a97aabf1: Pull complete 16:20:30 4872d77fe225: Pull complete 16:20:30 5851b861e8e6: Pull complete 16:20:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:20:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:31 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:20:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:20:35 $ docker top dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 -eo pid,comm 16:20:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:20:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:20:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:35 [ssh-agent] Looking for ssh-agent implementation... 16:20:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:35 $ docker exec dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent 16:20:35 SSH_AUTH_SOCK=/tmp/ssh-SRksZODWgO15/agent.32 16:20:35 SSH_AGENT_PID=38 16:20:35 Running ssh-add (command line suppressed) 16:20:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_874348040808189278.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_874348040808189278.key) 16:20:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:35 + git tag --points-at HEAD [Pipeline] } 16:20:35 $ docker exec --env ******** --env ******** dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent -k 16:20:35 unset SSH_AUTH_SOCK; 16:20:35 unset SSH_AGENT_PID; 16:20:35 echo Agent pid 38 killed; 16:20:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:20:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:35 [ssh-agent] Looking for ssh-agent implementation... 16:20:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:36 $ docker exec dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent 16:20:36 SSH_AUTH_SOCK=/tmp/ssh-zXBuih50fNan/agent.70 16:20:36 SSH_AGENT_PID=76 16:20:36 Running ssh-add (command line suppressed) 16:20:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9875053655106754958.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9875053655106754958.key) 16:20:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:36 + git semver init 16:20:36 2023-08-22 16:20:36,808 [run_init] DEBUG init version:0.0.0 force:False 16:20:36 2023-08-22 16:20:36,808 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:20:36 2023-08-22 16:20:36,809 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:20:36 2023-08-22 16:20:36,809 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:20:37 2023-08-22 16:20:37,721 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:20:37 2023-08-22 16:20:37,722 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:20:37 2023-08-22 16:20:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:20:37 2023-08-22 16:20:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:20:37 3.1.0-dev.14 [Pipeline] } 16:20:37 $ docker exec --env ******** --env ******** dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 ssh-agent -k 16:20:37 unset SSH_AUTH_SOCK; 16:20:37 unset SSH_AGENT_PID; 16:20:37 echo Agent pid 76 killed; 16:20:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:38 + git semver [Pipeline] } 16:20:38 $ docker stop --time=1 dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 16:20:39 $ docker rm -f --volumes dec9a81f2b9c833f91a92d34af43721f16b392eb13f35a102bdf77c95fc65025 [Pipeline] // withDockerContainer [Pipeline] sh 16:20:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:20:40 Stashed 1 file(s) [Pipeline] echo 16:20:40 [edgeXSemver]: initialized semver on version 3.1.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:40 provisioning config files... 16:20:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15133700228790659030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:40 ---> docker-login.sh 16:20:40 nexus3.edgexfoundry.org:10001 16:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:40 Configure a credential helper to remove this warning. See 16:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:40 16:20:40 Login Succeeded 16:20:40 nexus3.edgexfoundry.org:10002 16:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:40 Configure a credential helper to remove this warning. See 16:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:40 16:20:40 Login Succeeded 16:20:40 nexus3.edgexfoundry.org:10003 16:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:41 Configure a credential helper to remove this warning. See 16:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:41 16:20:41 Login Succeeded 16:20:41 nexus3.edgexfoundry.org:10004 16:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:41 Configure a credential helper to remove this warning. See 16:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:41 16:20:41 Login Succeeded 16:20:41 docker.io 16:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:41 Configure a credential helper to remove this warning. See 16:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:41 16:20:41 Login Succeeded 16:20:41 ---> docker-login.sh ends [Pipeline] } 16:20:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:41 ========================================================= 16:20:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:20:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:41 + 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 . 16:20:41 Sending build context to Docker daemon 11.05MB 16:20:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:20:41 Step 2/10 : FROM ${BASE} AS builder 16:20:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:20:41 4db1b89c0bd1: Pulling fs layer 16:20:41 6911f1a30b25: Pulling fs layer 16:20:41 e194b8c5c2a9: Pulling fs layer 16:20:41 6863d3e3a2b1: Pulling fs layer 16:20:41 ec0bb842ea78: Pulling fs layer 16:20:41 40a00589a448: Pulling fs layer 16:20:41 6c08303d61cc: Pulling fs layer 16:20:41 798269fcf238: Pulling fs layer 16:20:41 40a00589a448: Waiting 16:20:41 6863d3e3a2b1: Waiting 16:20:41 6c08303d61cc: Waiting 16:20:41 ec0bb842ea78: Waiting 16:20:41 6911f1a30b25: Download complete 16:20:41 6863d3e3a2b1: Download complete 16:20:41 ec0bb842ea78: Verifying Checksum 16:20:41 ec0bb842ea78: Download complete 16:20:41 4db1b89c0bd1: Verifying Checksum 16:20:41 4db1b89c0bd1: Download complete 16:20:41 40a00589a448: Verifying Checksum 16:20:41 40a00589a448: Download complete 16:20:41 4db1b89c0bd1: Pull complete 16:20:42 6911f1a30b25: Pull complete 16:20:42 798269fcf238: Verifying Checksum 16:20:42 798269fcf238: Download complete 16:20:42 e194b8c5c2a9: Verifying Checksum 16:20:42 e194b8c5c2a9: Download complete 16:20:43 6c08303d61cc: Verifying Checksum 16:20:43 6c08303d61cc: Download complete 16:20:46 e194b8c5c2a9: Pull complete 16:20:46 6863d3e3a2b1: Pull complete 16:20:46 ec0bb842ea78: Pull complete 16:20:46 40a00589a448: Pull complete 16:20:49 6c08303d61cc: Pull complete 16:20:50 798269fcf238: Pull complete 16:20:50 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 16:20:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:20:50 ---> ec979cd7f677 16:20:50 Step 3/10 : ARG MAKE=make build 16:20:55 Still waiting to schedule task 16:20:55 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4261’ 16:20:58 ---> Running in 9f3745bbaec8 16:20:58 Removing intermediate container 9f3745bbaec8 16:20:58 ---> 40892858ac3b 16:20:58 Step 4/10 : WORKDIR /device-sdk-go 16:20:58 ---> Running in 543abb32b09a 16:20:58 Removing intermediate container 543abb32b09a 16:20:58 ---> f6cf6f37af6b 16:20:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:20:58 ---> Running in cc41b12f361d 16:20:58 Removing intermediate container cc41b12f361d 16:20:58 ---> 2becc18674e9 16:20:58 Step 6/10 : RUN apk add --update --no-cache make git 16:20:58 ---> Running in 4ac812d637dd 16:20:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:20:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:20:59 OK: 265 MiB in 53 packages 16:20:59 Removing intermediate container 4ac812d637dd 16:20:59 ---> 80a1cbe4971f 16:20:59 Step 7/10 : COPY go.mod vendor* ./ 16:20:59 ---> 21f004174af9 16:20:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:59 ---> Running in c4b03a806c0f 16:21:56 Removing intermediate container c4b03a806c0f 16:21:56 ---> 35fec80c5107 16:21:56 Step 9/10 : COPY . . 16:21:56 ---> 5b2aa5a6b10a 16:21:56 Step 10/10 : RUN ${MAKE} 16:21:56 ---> Running in 01c90a0c34f2 16:21:56 noop 16:21:56 Removing intermediate container 01c90a0c34f2 16:21:56 ---> c2d783d36e2d 16:21:56 Successfully built c2d783d36e2d 16:21:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:56 + docker inspect -f . ci-base-image-x86_64 16:21:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:56 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:21:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:21:56 $ docker top 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:57 + go version 16:21:57 go version go1.20.6 linux/amd64 [Pipeline] } 16:21:57 $ docker stop --time=1 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f 16:21:58 $ docker rm -f --volumes 384afed2a1299847a2306ef9e165dd210d9325ce5deceea6b06e704175872e1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:58 + docker inspect -f . ci-base-image-x86_64 16:21:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:58 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:21:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:21:59 $ docker top 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:22:00 + make test 16:22:00 go test -race -coverprofile=coverage.out ./... 16:22:08 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:22:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:22:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:22:20 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:22:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:22:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:22:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.085s coverage: 27.6% of statements 16:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:22:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:22:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 80.2% of statements 16:22:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.091s coverage: 86.0% of statements 16:22:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 71.8% of statements 16:22:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:22:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:22:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:22:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.101s coverage: 14.3% of statements 16:22:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.480s coverage: 43.8% of statements 16:22:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 68.5% of statements 16:22:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.125s coverage: 89.2% of statements 16:22:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 16:22:51 GO111MODULE=on go vet ./... 16:22:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:22:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:22:52 ./bin/test-attribution-txt.sh 16:22:52 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 16:22:52 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 16:22:52 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 16:22:52 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 16:22:52 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:22:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:22:52 $ docker stop --time=1 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 16:22:57 $ docker rm -f --volumes 3e838f4314da83f0e52c6e75da7165d706384806abbccf3cca70584125d76072 [Pipeline] // withDockerContainer [Pipeline] sh 16:22:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:22:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:22:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:22:58 + ls -al . 16:22:58 total 304 16:22:58 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 16:22 . 16:22:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:20 .. 16:22:58 -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:20 .dockerignore 16:22:58 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:20 .git 16:22:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:20 .github 16:22:58 -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 16:20 .gitignore 16:22:58 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:20 .golangci.yml 16:22:58 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:20 .semver 16:22:58 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 16:20 CHANGELOG.md 16:22:58 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:20 GOVERNANCE.md 16:22:58 -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 16:20 Jenkinsfile 16:22:58 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 16:20 LICENSE 16:22:58 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 16:20 Makefile 16:22:58 -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 16:20 OWNERS.md 16:22:58 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 16:20 README.md 16:22:58 -rw-rw-r-- 1 jenkins jenkins 12 Aug 22 16:20 VERSION 16:22:58 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:20 bin 16:22:58 -rw-r--r-- 1 jenkins jenkins 120271 Aug 22 16:22 coverage.out 16:22:58 drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 16:20 example 16:22:58 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 16:20 go.mod 16:22:58 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 16:20 go.sum 16:22:58 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:20 internal 16:22:58 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:20 openapi 16:22:58 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 16:20 pkg 16:22:58 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:20 snap 16:22:58 -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 16:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:59 + 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=fcbf44bcbbc574f021408d70e777feaef97917b6 --label arch=amd64 --label version=3.1.0-dev.14 . 16:22:59 Sending build context to Docker daemon 11.17MB 16:22:59 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 16:22:59 Step 2/23 : FROM ${BASE} AS builder 16:22:59 ---> c2d783d36e2d 16:22:59 Step 3/23 : ARG MAKE=make build 16:22:59 ---> Running in e853891f6b20 16:22:59 Removing intermediate container e853891f6b20 16:22:59 ---> 3254c1c8d3d8 16:22:59 Step 4/23 : WORKDIR /device-sdk-go 16:22:59 ---> Running in c6ba76f7bd54 16:22:59 Removing intermediate container c6ba76f7bd54 16:22:59 ---> ecc96206a48a 16:22:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:22:59 ---> Running in 49a9dcb0973b 16:22:59 Removing intermediate container 49a9dcb0973b 16:22:59 ---> dfbed3579743 16:22:59 Step 6/23 : RUN apk add --update --no-cache make git 16:22:59 ---> Running in c83eff46aa37 16:22:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:00 OK: 265 MiB in 53 packages 16:23:00 Removing intermediate container c83eff46aa37 16:23:00 ---> ef11628a9ed2 16:23:00 Step 7/23 : COPY go.mod vendor* ./ 16:23:00 ---> 9410623573ce 16:23:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:00 ---> Running in d191b7cc45c5 16:23:01 Removing intermediate container d191b7cc45c5 16:23:01 ---> a64453c6e33d 16:23:01 Step 9/23 : COPY . . 16:23:02 ---> 08b22fd8f8a7 16:23:02 Step 10/23 : RUN ${MAKE} 16:23:02 ---> Running in 2c5f734be253 16:23:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:23:24 Removing intermediate container 2c5f734be253 16:23:24 ---> be83d2d45d72 16:23:24 Step 11/23 : FROM alpine:3.17 16:23:25 3.17: Pulling from library/alpine 16:23:25 9398808236ff: Pulling fs layer 16:23:25 9398808236ff: Verifying Checksum 16:23:25 9398808236ff: Download complete 16:23:25 9398808236ff: Pull complete 16:23:25 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 16:23:25 Status: Downloaded newer image for alpine:3.17 16:23:25 ---> 1e0b8b5322fc 16:23:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:23:25 ---> Running in 469fedc5bfef 16:23:25 Removing intermediate container 469fedc5bfef 16:23:25 ---> 6082fbef9a01 16:23:25 Step 13/23 : RUN apk add --update --no-cache 16:23:25 ---> Running in c40a2ff2eedc 16:23:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:26 OK: 7 MiB in 15 packages 16:23:26 Removing intermediate container c40a2ff2eedc 16:23:26 ---> 4688636b4d73 16:23:26 Step 14/23 : WORKDIR / 16:23:26 ---> Running in bce6bf66fe6e 16:23:26 Removing intermediate container bce6bf66fe6e 16:23:26 ---> 85ee38307ad8 16:23:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:23:26 ---> 43e602524949 16:23:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:23:27 ---> 60677b2dc63b 16:23:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:23:27 ---> 5006e84907be 16:23:27 Step 18/23 : EXPOSE 59999 16:23:27 ---> Running in 455a26a55f86 16:23:27 Removing intermediate container 455a26a55f86 16:23:27 ---> 563b4f972c5d 16:23:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:23:27 ---> Running in 605372e9cfd2 16:23:28 Removing intermediate container 605372e9cfd2 16:23:28 ---> 8593f373542f 16:23:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:23:28 ---> Running in 5f88981b2f6f 16:23:28 Removing intermediate container 5f88981b2f6f 16:23:28 ---> 559cef508769 16:23:28 Step 21/23 : LABEL arch=amd64 16:23:28 ---> Running in a06f51c67a34 16:23:28 Removing intermediate container a06f51c67a34 16:23:28 ---> 332c2d3b2dbc 16:23:28 Step 22/23 : LABEL git_sha=fcbf44bcbbc574f021408d70e777feaef97917b6 16:23:28 ---> Running in 17c3c46a79bf 16:23:28 Removing intermediate container 17c3c46a79bf 16:23:28 ---> 4be66c08aaf0 16:23:28 Step 23/23 : LABEL version=3.1.0-dev.14 16:23:28 ---> Running in e075edc3518d 16:23:28 Removing intermediate container e075edc3518d 16:23:28 ---> 72d415b7c129 16:23:28 [Warning] One or more build-args [ARCH] were not consumed 16:23:28 Successfully built 72d415b7c129 16:23:28 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:28 16:23:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:29 latest: Pulling from edgex-lftools-log-publisher 16:23:29 5eb5b503b376: Pulling fs layer 16:23:29 5c69ac0246d0: Pulling fs layer 16:23:29 ec43610c2a17: Pulling fs layer 16:23:29 3a2ae6a8a46f: Pulling fs layer 16:23:29 33b1e0a273af: Pulling fs layer 16:23:29 5d3b04190fa2: Pulling fs layer 16:23:29 2f39f015ded8: Pulling fs layer 16:23:29 3a2ae6a8a46f: Waiting 16:23:29 33b1e0a273af: Waiting 16:23:29 5d3b04190fa2: Waiting 16:23:29 2f39f015ded8: Waiting 16:23:29 5c69ac0246d0: Verifying Checksum 16:23:29 5c69ac0246d0: Download complete 16:23:29 3a2ae6a8a46f: Verifying Checksum 16:23:29 3a2ae6a8a46f: Download complete 16:23:29 ec43610c2a17: Verifying Checksum 16:23:29 ec43610c2a17: Download complete 16:23:29 33b1e0a273af: Verifying Checksum 16:23:29 33b1e0a273af: Download complete 16:23:29 5d3b04190fa2: Verifying Checksum 16:23:29 5d3b04190fa2: Download complete 16:23:29 5eb5b503b376: Verifying Checksum 16:23:29 5eb5b503b376: Download complete 16:23:29 2f39f015ded8: Verifying Checksum 16:23:29 2f39f015ded8: Download complete 16:23:30 5eb5b503b376: Pull complete 16:23:30 5c69ac0246d0: Pull complete 16:23:31 ec43610c2a17: Pull complete 16:23:31 3a2ae6a8a46f: Pull complete 16:23:31 33b1e0a273af: Pull complete 16:23:31 5d3b04190fa2: Pull complete 16:23:37 2f39f015ded8: Pull complete 16:23:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:23:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:23:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:37 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:23:42 $ docker top dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:42 ---> job-cost.sh 16:23:42 lf-activate-venv: SKIPPING 16:23:42 INFO: No Stack... 16:23:43 INFO: Retrieving Pricing Info for: v3-standard-8 16:23:43 INFO: Archiving Costs [Pipeline] sh 16:23:43 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:23:43 + cut -d, -f6 [Pipeline] lock 16:23:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] 16:23:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] did not exist. Created. 16:23:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:23:44 + echo total: 0.2199999988079071 [Pipeline] stash 16:23:44 Stashed 1 file(s) [Pipeline] } 16:23:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] // lock [Pipeline] } 16:23:44 $ docker stop --time=1 dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 16:23:45 $ docker rm -f --volumes dbf2390dfb5ca37a117e18b42d63c8eeeda3fc70b9271c5adc10373242afc3a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:24:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4270 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:24:01 Running in /w/workspace/device-sdk-go/243 [Pipeline] { [Pipeline] checkout 16:24:01 The recommended git tool is: git 16:24:08 using credential edgex-jenkins-ssh 16:24:08 Cloning the remote Git repository 16:24:08 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:24:08 > git init /w/workspace/device-sdk-go/243 # timeout=10 16:24:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:24:08 > git --version # timeout=10 16:24:08 > git --version # 'git version 2.25.1' 16:24:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:11 Avoid second fetch 16:24:11 Checking out Revision fcbf44bcbbc574f021408d70e777feaef97917b6 (main) 16:24:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:24:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:11 > git config core.sparsecheckout # timeout=10 16:24:12 Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 (#1497)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:12 > git checkout -f fcbf44bcbbc574f021408d70e777feaef97917b6 # timeout=10 16:24:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:13 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:13 Dload Upload Total Spent Left Speed 16:24:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82798 [Pipeline] sh 16:24:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:14 + sudo tee /etc/docker/daemon.new 16:24:14 { 16:24:14 "registry-mirrors": [ 16:24:14 "https://nexus3.edgexfoundry.org:10001" 16:24:14 ], 16:24:14 "bip": "10.250.0.254/24", 16:24:14 "hosts": [ 16:24:14 "tcp://0.0.0.0:5555", 16:24:14 "unix:///var/run/docker.sock" 16:24:14 ], 16:24:14 "mtu": 1458, 16:24:14 "selinux-enabled": true, 16:24:14 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:14 } [Pipeline] sh 16:24:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:37 provisioning config files... 16:24:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/243@tmp/config7198971775562890269tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:37 ---> docker-login.sh 16:24:37 nexus3.edgexfoundry.org:10001 16:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:38 Configure a credential helper to remove this warning. See 16:24:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:38 16:24:38 Login Succeeded 16:24:38 nexus3.edgexfoundry.org:10002 16:24:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:39 Configure a credential helper to remove this warning. See 16:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:39 16:24:39 Login Succeeded 16:24:39 nexus3.edgexfoundry.org:10003 16:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:39 Configure a credential helper to remove this warning. See 16:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:39 16:24:39 Login Succeeded 16:24:39 nexus3.edgexfoundry.org:10004 16:24:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:39 Configure a credential helper to remove this warning. See 16:24:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:39 16:24:39 Login Succeeded 16:24:39 docker.io 16:24:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:40 Configure a credential helper to remove this warning. See 16:24:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:40 16:24:40 Login Succeeded 16:24:40 ---> docker-login.sh ends [Pipeline] } 16:24:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:41 ========================================================= 16:24:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:24:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:41 + 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 . 16:24:41 Sending build context to Docker daemon 5.897MB 16:24:41 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:24:41 Step 2/10 : FROM ${BASE} AS builder 16:24:41 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:24:41 edb6bdbacee9: Pulling fs layer 16:24:41 5f9638ab2659: Pulling fs layer 16:24:41 8d51d6327a98: Pulling fs layer 16:24:41 8b374f2dd631: Pulling fs layer 16:24:41 ec14aa9079de: Pulling fs layer 16:24:41 2f466654f4bb: Pulling fs layer 16:24:41 554e91adad29: Pulling fs layer 16:24:41 ec14aa9079de: Waiting 16:24:41 2f466654f4bb: Waiting 16:24:41 554e91adad29: Waiting 16:24:41 8b374f2dd631: Waiting 16:24:41 5f9638ab2659: Verifying Checksum 16:24:41 5f9638ab2659: Download complete 16:24:41 8b374f2dd631: Verifying Checksum 16:24:41 8b374f2dd631: Download complete 16:24:42 ec14aa9079de: Verifying Checksum 16:24:42 ec14aa9079de: Download complete 16:24:42 edb6bdbacee9: Verifying Checksum 16:24:42 edb6bdbacee9: Download complete 16:24:43 edb6bdbacee9: Pull complete 16:24:43 554e91adad29: Verifying Checksum 16:24:43 554e91adad29: Download complete 16:24:43 5f9638ab2659: Pull complete 16:24:44 8d51d6327a98: Download complete 16:24:45 2f466654f4bb: Verifying Checksum 16:24:45 2f466654f4bb: Download complete 16:24:57 8d51d6327a98: Pull complete 16:24:57 8b374f2dd631: Pull complete 16:24:57 ec14aa9079de: Pull complete 16:25:03 2f466654f4bb: Pull complete 16:25:06 554e91adad29: Pull complete 16:25:06 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 16:25:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:25:06 ---> 1e15ea492957 16:25:06 Step 3/10 : ARG MAKE=make build 16:25:08 ---> Running in 2771791190c5 16:25:08 Removing intermediate container 2771791190c5 16:25:08 ---> c1160df4e9f7 16:25:08 Step 4/10 : WORKDIR /device-sdk-go 16:25:09 ---> Running in a1531dfa71a7 16:25:09 Removing intermediate container a1531dfa71a7 16:25:09 ---> b3efd69131aa 16:25:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:25:09 ---> Running in 0fcd6659f90b 16:25:10 Removing intermediate container 0fcd6659f90b 16:25:10 ---> b8d5ca3b3c60 16:25:10 Step 6/10 : RUN apk add --update --no-cache make git 16:25:10 ---> Running in e95e1f3a5257 16:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:25:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:25:13 OK: 263 MiB in 53 packages 16:25:16 Removing intermediate container e95e1f3a5257 16:25:16 ---> dff4053ebe89 16:25:16 Step 7/10 : COPY go.mod vendor* ./ 16:25:17 ---> 73d4a4602805 16:25:17 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:17 ---> Running in 8196188bcd18 16:26:38 Removing intermediate container 8196188bcd18 16:26:38 ---> f1364fa0c1f0 16:26:38 Step 9/10 : COPY . . 16:26:38 ---> 648011685218 16:26:38 Step 10/10 : RUN ${MAKE} 16:26:38 ---> Running in 906718f8b218 16:26:38 noop 16:26:38 Removing intermediate container 906718f8b218 16:26:38 ---> b877af8ca4bb 16:26:38 Successfully built b877af8ca4bb 16:26:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:39 + docker inspect -f . ci-base-image-arm64 16:26:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:39 prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container 16:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:41 $ docker top b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:42 + go version 16:26:42 go version go1.20.6 linux/arm64 [Pipeline] } 16:26:42 $ docker stop --time=1 b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf 16:26:44 $ docker rm -f --volumes b799440432adf3bf7dd3033d48a4adb68a70065a60c15e1f05c43fbffd5c09bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:44 + docker inspect -f . ci-base-image-arm64 16:26:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:44 prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container 16:26:45 $ 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/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:46 $ docker top 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/243 [Pipeline] fileExists [Pipeline] sh 16:26:48 + make test 16:26:48 go test -race -coverprofile=coverage.out ./... 16:27:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:30:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:30:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:30:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:30:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:30:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:30:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.282s coverage: 27.6% of statements 16:30:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.313s coverage: 80.2% of statements 16:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:31:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:31:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.436s coverage: 86.0% of statements 16:31:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:31:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.561s coverage: 71.8% of statements 16:31:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.362s coverage: 14.3% of statements 16:31:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.368s coverage: 43.8% of statements 16:31:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:31:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:31:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.488s coverage: 68.5% of statements 16:31:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.500s coverage: 89.2% of statements 16:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:31:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.320s coverage: 5.5% of statements 16:31:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:31:34 GO111MODULE=on go vet ./... 16:34:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:34:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:34:41 ./bin/test-attribution-txt.sh 16:34:41 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 16:34:41 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 16:34:41 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 16:34:41 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 16:34:41 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:34:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:34:41 $ docker stop --time=1 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 16:34:43 $ docker rm -f --volumes 93da88e5d5d919341a17567c7de1de9ab577d5fea12a15f6fc2fad4430ae3065 [Pipeline] // withDockerContainer [Pipeline] sh 16:34:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:34:45 Warning: overwriting stash ‘coverage-report’ 16:34:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:34:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:34:46 + ls -al . 16:34:46 total 300 16:34:46 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 16:26 . 16:34:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 .. 16:34:46 -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 16:24 .dockerignore 16:34:46 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 16:24 .git 16:34:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 .github 16:34:46 -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 16:24 .gitignore 16:34:46 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 16:24 .golangci.yml 16:34:46 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 16:24 CHANGELOG.md 16:34:46 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 16:24 GOVERNANCE.md 16:34:46 -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 16:24 Jenkinsfile 16:34:46 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 16:24 LICENSE 16:34:46 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 16:24 Makefile 16:34:46 -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 16:24 OWNERS.md 16:34:46 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 16:24 README.md 16:34:46 -rw-rw-r-- 1 jenkins jenkins 12 Aug 22 16:20 VERSION 16:34:46 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 16:24 bin 16:34:46 -rw-r--r-- 1 jenkins jenkins 120271 Aug 22 16:31 coverage.out 16:34:46 drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 16:24 example 16:34:46 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 16:24 go.mod 16:34:46 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 16:24 go.sum 16:34:46 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:24 internal 16:34:46 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 16:24 openapi 16:34:46 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 16:24 pkg 16:34:46 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 16:24 snap 16:34:46 -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:47 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=fcbf44bcbbc574f021408d70e777feaef97917b6 --label arch=arm64 --label version=3.1.0-dev.14 . 16:34:47 Sending build context to Docker daemon 6.018MB 16:34:47 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 16:34:47 Step 2/23 : FROM ${BASE} AS builder 16:34:47 ---> b877af8ca4bb 16:34:47 Step 3/23 : ARG MAKE=make build 16:34:47 ---> Running in 062370ac387b 16:34:48 Removing intermediate container 062370ac387b 16:34:48 ---> 6f5d322f88b0 16:34:48 Step 4/23 : WORKDIR /device-sdk-go 16:34:48 ---> Running in 01e7c04372af 16:34:51 Removing intermediate container 01e7c04372af 16:34:51 ---> c24d08a20d8e 16:34:51 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:34:51 ---> Running in 8ee43885c9d8 16:34:52 Removing intermediate container 8ee43885c9d8 16:34:52 ---> 8fb6a6c9fe76 16:34:52 Step 6/23 : RUN apk add --update --no-cache make git 16:34:52 ---> Running in abddea7344fa 16:34:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:34:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:34:54 OK: 263 MiB in 53 packages 16:34:55 Removing intermediate container abddea7344fa 16:34:55 ---> 0d99caa0ce32 16:34:55 Step 7/23 : COPY go.mod vendor* ./ 16:34:56 ---> 2cc97a326cb5 16:34:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:34:56 ---> Running in 444cf670cfc9 16:34:59 Removing intermediate container 444cf670cfc9 16:34:59 ---> 4319a5d3acc6 16:34:59 Step 9/23 : COPY . . 16:35:00 ---> e5e899d0aaee 16:35:00 Step 10/23 : RUN ${MAKE} 16:35:00 ---> Running in 7c2fdbf92450 16:35:01 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.14 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.14" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:37:53 Removing intermediate container 7c2fdbf92450 16:37:53 ---> d2b441060671 16:37:53 Step 11/23 : FROM alpine:3.17 16:37:53 3.17: Pulling from library/alpine 16:37:53 4060ece20d7a: Pulling fs layer 16:37:53 4060ece20d7a: Verifying Checksum 16:37:53 4060ece20d7a: Download complete 16:37:53 4060ece20d7a: Pull complete 16:37:53 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 16:37:53 Status: Downloaded newer image for alpine:3.17 16:37:53 ---> 8650cd65339b 16:37:53 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:37:53 ---> Running in dfabe1e4d090 16:37:53 Removing intermediate container dfabe1e4d090 16:37:53 ---> ec5ebc44d51d 16:37:53 Step 13/23 : RUN apk add --update --no-cache 16:37:53 ---> Running in bad3ef5ec273 16:37:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:37:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:37:53 OK: 7 MiB in 15 packages 16:37:53 Removing intermediate container bad3ef5ec273 16:37:53 ---> 5eb8b406231a 16:37:53 Step 14/23 : WORKDIR / 16:37:53 ---> Running in f8020bbc68bb 16:37:53 Removing intermediate container f8020bbc68bb 16:37:53 ---> 12ce8f9b7e33 16:37:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:37:53 ---> b2524948ef2c 16:37:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:37:53 ---> 8d95ec2bbf67 16:37:53 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:37:53 ---> c23c33a6d10d 16:37:53 Step 18/23 : EXPOSE 59999 16:37:53 ---> Running in 00243e8d9880 16:37:53 Removing intermediate container 00243e8d9880 16:37:53 ---> 50e6f07198e3 16:37:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:37:53 ---> Running in e7bf1ef5c7b9 16:37:53 Removing intermediate container e7bf1ef5c7b9 16:37:53 ---> 3b7019dac6d8 16:37:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:37:53 ---> Running in 01082052dd26 16:37:53 Removing intermediate container 01082052dd26 16:37:53 ---> 5ea0f15d3f03 16:37:53 Step 21/23 : LABEL arch=arm64 16:37:53 ---> Running in 297d6970ff4d 16:37:53 Removing intermediate container 297d6970ff4d 16:37:53 ---> badb1a6b3492 16:37:53 Step 22/23 : LABEL git_sha=fcbf44bcbbc574f021408d70e777feaef97917b6 16:37:53 ---> Running in 2865d0ab7cc7 16:37:53 Removing intermediate container 2865d0ab7cc7 16:37:53 ---> 0b98b8d5c545 16:37:53 Step 23/23 : LABEL version=3.1.0-dev.14 16:37:53 ---> Running in 1396cc9eafaa 16:37:53 Removing intermediate container 1396cc9eafaa 16:37:53 ---> 029cb67dd626 16:37:53 [Warning] One or more build-args [ARCH] were not consumed 16:37:53 Successfully built 029cb67dd626 16:37:53 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:53 16:37:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:53 arm64: Pulling from edgex-lftools-log-publisher 16:37:53 8998bd30e6a1: Pulling fs layer 16:37:53 04944245beec: Pulling fs layer 16:37:53 699f458cf7ca: Pulling fs layer 16:37:53 765212b225bb: Pulling fs layer 16:37:53 f23df028b6ca: Pulling fs layer 16:37:53 d65c8cfc05b1: Pulling fs layer 16:37:53 2437ff75d9bd: Pulling fs layer 16:37:53 765212b225bb: Waiting 16:37:53 f23df028b6ca: Waiting 16:37:53 d65c8cfc05b1: Waiting 16:37:53 2437ff75d9bd: Waiting 16:37:54 04944245beec: Verifying Checksum 16:37:54 04944245beec: Download complete 16:37:54 765212b225bb: Verifying Checksum 16:37:54 765212b225bb: Download complete 16:37:54 f23df028b6ca: Verifying Checksum 16:37:54 f23df028b6ca: Download complete 16:37:54 d65c8cfc05b1: Verifying Checksum 16:37:54 d65c8cfc05b1: Download complete 16:37:54 699f458cf7ca: Verifying Checksum 16:37:54 699f458cf7ca: Download complete 16:37:54 8998bd30e6a1: Verifying Checksum 16:37:54 8998bd30e6a1: Download complete 16:37:57 2437ff75d9bd: Verifying Checksum 16:37:57 2437ff75d9bd: Download complete 16:37:59 8998bd30e6a1: Pull complete 16:38:00 04944245beec: Pull complete 16:38:01 699f458cf7ca: Pull complete 16:38:01 765212b225bb: Pull complete 16:38:02 f23df028b6ca: Pull complete 16:38:03 d65c8cfc05b1: Pull complete 16:38:18 2437ff75d9bd: Pull complete 16:38:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:38:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:18 prd-ubuntu20.04-docker-arm64-4c-16g-4270 does not seem to be running inside a container 16:38:18 $ 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/243 -v /w/workspace/device-sdk-go/243:/w/workspace/device-sdk-go/243:rw,z -v /w/workspace/device-sdk-go/243@tmp:/w/workspace/device-sdk-go/243@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:38:21 $ docker top a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:22 ---> job-cost.sh 16:38:22 lf-activate-venv: SKIPPING 16:38:22 INFO: No Stack... 16:38:22 INFO: Retrieving Pricing Info for: v3-standard-4 16:38:23 INFO: Archiving Costs [Pipeline] sh 16:38:23 + cut -d, -f6 16:38:23 + cat /w/workspace/device-sdk-go/243/archives/cost.csv [Pipeline] lock 16:38:23 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] 16:38:23 Resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] did not exist. Created. 16:38:23 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:38:24 /w/workspace/device-sdk-go/243@tmp/durable-35561204/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:38:25 + echo total: 0.10999999940395355 [Pipeline] stash 16:38:25 Warning: overwriting stash ‘stack-cost’ 16:38:25 Stashed 1 file(s) [Pipeline] } 16:38:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-243-stack-cost] [Pipeline] // lock [Pipeline] } 16:38:25 $ docker stop --time=1 a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 16:38:28 $ docker rm -f --volumes a55cc6ace4f0af9d06080347c51ed27fa1f35b42da4a8499040d7234fda414c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:38:28 provisioning config files... 16:38:28 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15991511718516153235tmp [Pipeline] { [Pipeline] sh 16:38:29 + set +x 16:38:29 + curl -s+ https://codecov.io/bash 16:38:29 bash -s -- 16:38:29 16:38:29 _____ _ 16:38:29 / ____| | | 16:38:29 | | ___ __| | ___ ___ _____ __ 16:38:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:38:29 | |___| (_) | (_| | __/ (_| (_) \ V / 16:38:29 \_____\___/ \__,_|\___|\___\___/ \_/ 16:38:29 Bash-1.0.6 16:38:29 16:38:29 16:38:29 ==> git version 2.25.1 found 16:38:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:38:29 Release-Date: 2020-01-08 16:38:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:38:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:38:29 ==> Jenkins CI detected. 16:38:29 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:38:29 project root: . 16:38:29 --> token set from env 16:38:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:38:29 ==> Running gcov in . (disable via -X gcov) 16:38:29 ==> Python coveragepy not found 16:38:29 ==> Searching for coverage reports in: 16:38:29 + . 16:38:29 -> Found 1 reports 16:38:29 ==> Detecting git/mercurial file structure 16:38:29 ==> Reading reports 16:38:29 + ./coverage.out bytes=120271 16:38:29 ==> Appending adjustments 16:38:29 https://docs.codecov.io/docs/fixing-reports 16:38:29 + Found adjustments 16:38:29 ==> Gzipping contents 16:38:29 20K /tmp/codecov.PS4zGy.gz 16:38:29 ==> Uploading reports 16:38:29 url: https://codecov.io 16:38:29 query: branch=main&commit=fcbf44bcbbc574f021408d70e777feaef97917b6&build=243&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F243%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:38:29 -> Pinging Codecov 16:38:29 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=fcbf44bcbbc574f021408d70e777feaef97917b6&build=243&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F243%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:38:29 -> Uploading to 16:38:29 https://storage.googleapis.com/codecov/v4/raw/2023-08-22/7E55EF52A471D76F132DFD9A03CDDE97/fcbf44bcbbc574f021408d70e777feaef97917b6/cf73a751-760c-4fc1-838d-57508a4dd38b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T163829Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e672465810ff914887175db642a6ba30275108402015decc0aff1ab51629ad4 16:38:30 % Total % Received % Xferd Average Speed Time Time Time Current 16:38:30 Dload Upload Total Spent Left Speed 16:38:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16433 0 0 100 16433 0 86489 --:--:-- --:--:-- --:--:-- 86489 16:38:30 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] } 16:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:38:30 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:38:30 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:38:30 16:38:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:38:34 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:38:34 df9b9388f04a: Pulling fs layer 16:38:34 52dc419b0ee2: Pulling fs layer 16:38:34 25bc292e5bac: Pulling fs layer 16:38:34 114826534d7a: Pulling fs layer 16:38:34 4657fd5d0bcf: Pulling fs layer 16:38:34 6ad1cebc031e: Pulling fs layer 16:38:34 8a3aa393b2d8: Pulling fs layer 16:38:34 4657fd5d0bcf: Waiting 16:38:34 6ad1cebc031e: Waiting 16:38:34 114826534d7a: Waiting 16:38:34 8a3aa393b2d8: Waiting 16:38:34 25bc292e5bac: Verifying Checksum 16:38:34 25bc292e5bac: Download complete 16:38:34 52dc419b0ee2: Verifying Checksum 16:38:34 52dc419b0ee2: Download complete 16:38:34 4657fd5d0bcf: Verifying Checksum 16:38:34 4657fd5d0bcf: Download complete 16:38:34 df9b9388f04a: Download complete 16:38:34 6ad1cebc031e: Verifying Checksum 16:38:34 6ad1cebc031e: Download complete 16:38:35 114826534d7a: Verifying Checksum 16:38:35 114826534d7a: Download complete 16:38:35 8a3aa393b2d8: Verifying Checksum 16:38:35 8a3aa393b2d8: Download complete 16:38:40 df9b9388f04a: Pull complete 16:38:42 52dc419b0ee2: Pull complete 16:38:49 25bc292e5bac: Pull complete 16:38:55 114826534d7a: Pull complete 16:38:58 4657fd5d0bcf: Pull complete 16:39:01 6ad1cebc031e: Pull complete 16:39:08 8a3aa393b2d8: Pull complete 16:39:10 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:39:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:11 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:39:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:39:57 $ docker top e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c -eo pid,comm [Pipeline] { [Pipeline] echo 16:39:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:39:57 + set -o pipefail 16:39:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:40:02 16:40:02 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:40:02 16:40:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/60a7b010-91c3-4e85-879f-eb4f7260049f 16:40:02 16:40:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:40:02 16:40:03 16:40:03 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:40:03 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:40:03 More details here: https://snyk.co/ue1NS [Pipeline] } 16:40:03 $ docker stop --time=1 e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c 16:40:15 $ docker rm -f --volumes e32c0e2187bcab529e049b89481dbcf2b333383cc220ca86f0c1dd6d531a853c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 16:40:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:40:15 provisioning config files... 16:40:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9433036142546842228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:40:16 --> edgex-publish-swagger.sh 16:40:16 === Publish openapi/v3 API === 16:40:16 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:40:16 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:40:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:40:16 Dload Upload Total Spent Left Speed 16:40:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 53682 --:--:-- --:--:-- --:--:-- 53682 16:40:16 16:40:16 [Pipeline] } 16:40:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:40:16 + git log --format=format:%s -1 fcbf44bcbbc574f021408d70e777feaef97917b6 [Pipeline] sh 16:40:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:40:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:17 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:40:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:40:18 $ docker top 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 -eo pid,comm 16:40:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:40:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:18 [ssh-agent] Looking for ssh-agent implementation... 16:40:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:19 $ docker exec 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 ssh-agent 16:40:19 SSH_AUTH_SOCK=/tmp/ssh-iD98rfrZ1uyT/agent.32 16:40:19 SSH_AGENT_PID=38 16:40:19 Running ssh-add (command line suppressed) 16:40:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13922464095433637528.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13922464095433637528.key) 16:40:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:19 + git semver tag 16:40:19 2023-08-22 16:40:19,831 [run_tag] DEBUG tag force:False 16:40:19 2023-08-22 16:40:19,832 [check_head_tag] DEBUG check head tag 16:40:19 2023-08-22 16:40:19,833 [execute] INFO git cat-file --batch-check 16:40:19 2023-08-22 16:40:19,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:40:19 2023-08-22 16:40:19,838 [execute] INFO git cat-file --batch 16:40:19 2023-08-22 16:40:19,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:40:19 2023-08-22 16:40:19,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:19 2023-08-22 16:40:19,851 [execute] INFO git tag -a v3.1.0-dev.14 -m v3.1.0-dev.14 16:40:19 2023-08-22 16:40:19,851 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.14', '-m', 'v3.1.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:40:19 2023-08-22 16:40:19,857 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:19 3.1.0-dev.14 [Pipeline] } 16:40:19 $ docker exec --env ******** --env ******** 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 ssh-agent -k 16:40:20 unset SSH_AUTH_SOCK; 16:40:20 unset SSH_AGENT_PID; 16:40:20 echo Agent pid 38 killed; 16:40:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:20 + git semver [Pipeline] } 16:40:20 $ docker stop --time=1 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 16:40:21 $ docker rm -f --volumes 8cbecc2255dd5337fd3051b33e8bf853ed9bbd510735526183db94680f80fa59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:40:22 16:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:40:22 0.23.1-centos7: Pulling from edgex-lftools 16:40:22 ab5ef0e58194: Pulling fs layer 16:40:22 9712f1f96733: Pulling fs layer 16:40:22 63f879dbbcfc: Pulling fs layer 16:40:22 0d9ebad4ef96: Pulling fs layer 16:40:22 e9a5061849ea: Pulling fs layer 16:40:22 d747dcd14b5f: Pulling fs layer 16:40:22 2de7ff778b66: Pulling fs layer 16:40:22 0d9ebad4ef96: Waiting 16:40:22 d747dcd14b5f: Waiting 16:40:22 2de7ff778b66: Waiting 16:40:22 e9a5061849ea: Waiting 16:40:22 9712f1f96733: Download complete 16:40:23 63f879dbbcfc: Download complete 16:40:23 0d9ebad4ef96: Verifying Checksum 16:40:23 0d9ebad4ef96: Download complete 16:40:23 d747dcd14b5f: Download complete 16:40:23 e9a5061849ea: Verifying Checksum 16:40:23 e9a5061849ea: Download complete 16:40:23 ab5ef0e58194: Download complete 16:40:23 2de7ff778b66: Verifying Checksum 16:40:27 ab5ef0e58194: Pull complete 16:40:27 9712f1f96733: Pull complete 16:40:28 63f879dbbcfc: Pull complete 16:40:32 0d9ebad4ef96: Pull complete 16:40:32 e9a5061849ea: Pull complete 16:40:32 d747dcd14b5f: Pull complete 16:40:34 2de7ff778b66: Pull complete 16:40:34 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:40:34 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:34 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:40:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:40:48 $ docker top e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:40:48 provisioning config files... 16:40:48 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12936562701628641891tmp 16:40:48 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7664167103871605327tmp 16:40:48 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16253027743095185734tmp [Pipeline] { [Pipeline] echo 16:40:48 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:40:49 ---> sigul-configuration.sh 16:40:49 gpg: directory `/root/.gnupg' created 16:40:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:40:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:40:49 gpg: keyring `/root/.gnupg/secring.gpg' created 16:40:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:40:49 gpg: CAST5 encrypted data 16:40:49 gpg: encrypted with 1 passphrase 16:40:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:40:49 + mkdir /home/jenkins 16:40:49 + mkdir /home/jenkins/sigul [Pipeline] sh 16:40:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:40:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:40:50 ---> sigul-install.sh 16:40:50 Sigul already installed; skipping installation. [Pipeline] sh 16:40:50 + git tag --list 16:40:50 0.7.1 16:40:50 delhi-tag 16:40:50 v1.0.0 16:40:50 v1.1.0 16:40:50 v1.1.1 16:40:50 v1.1.2 16:40:50 v1.2.0 16:40:50 v1.2.1 16:40:50 v1.2.2 16:40:50 v1.2.3 16:40:50 v1.3.0 16:40:50 v1.4.0 16:40:50 v2.0.0 16:40:50 v2.1.0 16:40:50 v2.1.1 16:40:50 v2.2.0 16:40:50 v2.3.0 16:40:50 v2.3.1 16:40:50 v3.0 16:40:50 v3.0.0 16:40:50 v3.0.1-dev.1 16:40:50 v3.1.0-dev.1 16:40:50 v3.1.0-dev.10 16:40:50 v3.1.0-dev.11 16:40:50 v3.1.0-dev.12 16:40:50 v3.1.0-dev.13 16:40:50 v3.1.0-dev.14 16:40:50 v3.1.0-dev.2 16:40:50 v3.1.0-dev.3 16:40:50 v3.1.0-dev.4 16:40:50 v3.1.0-dev.5 16:40:50 v3.1.0-dev.6 16:40:50 v3.1.0-dev.7 16:40:50 v3.1.0-dev.8 16:40:50 v3.1.0-dev.9 [Pipeline] sh 16:40:50 + lftools sign git-tag v3.1.0-dev.14 16:40:51 Signing Git tag with Sigul... 16:40:51 Signing v3.1.0-dev.14 [Pipeline] echo 16:40:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:40:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:40:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:40:52 $ docker stop --time=1 e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d 16:40:54 $ docker rm -f --volumes e2ba16720452dbdb98eababd315baf85f7043831dc55f2d5d4671332bcdb9b2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:40:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:40:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:55 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:40:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:40:56 $ docker top cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 -eo pid,comm 16:40:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:40:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:56 [ssh-agent] Looking for ssh-agent implementation... 16:40:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:56 $ docker exec cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 ssh-agent 16:40:56 SSH_AUTH_SOCK=/tmp/ssh-dPRftXAq8icr/agent.15 16:40:56 SSH_AGENT_PID=21 16:40:56 Running ssh-add (command line suppressed) 16:40:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7399271495925505813.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7399271495925505813.key) 16:40:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:57 + git semver bump pre 16:40:57 2023-08-22 16:40:57,234 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:57 2023-08-22 16:40:57,235 [bump_version] DEBUG bumping version:3.1.0-dev.14 on axis:pre with prefix:dev 16:40:57 2023-08-22 16:40:57,235 [bump_version] DEBUG bumped version:3.1.0-dev.15 16:40:57 2023-08-22 16:40:57,235 [write_version] DEBUG write version:3.1.0-dev.15 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:40:57 2023-08-22 16:40:57,235 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:57 2023-08-22 16:40:57,235 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:57 2023-08-22 16:40:57,239 [execute] INFO git cat-file --batch-check 16:40:57 2023-08-22 16:40:57,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:40:57 2023-08-22 16:40:57,246 [execute] INFO git cat-file --batch 16:40:57 2023-08-22 16:40:57,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:40:57 2023-08-22 16:40:57,252 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:57 3.1.0-dev.15 [Pipeline] } 16:40:57 $ docker exec --env ******** --env ******** cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 ssh-agent -k 16:40:57 unset SSH_AUTH_SOCK; 16:40:57 unset SSH_AGENT_PID; 16:40:57 echo Agent pid 21 killed; 16:40:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:57 + git semver [Pipeline] } 16:40:58 $ docker stop --time=1 cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 16:41:00 $ docker rm -f --volumes cb4cc1b24573cd2d6bfa6bbf0e53c8e734e3dbe4a40afa45ea29caa9017ce843 [Pipeline] // withDockerContainer [Pipeline] sh 16:41:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:41:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:41:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:01 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:41:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:41:02 $ docker top b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 -eo pid,comm 16:41:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:41:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:41:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:41:02 [ssh-agent] Looking for ssh-agent implementation... 16:41:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:41:02 $ docker exec b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 ssh-agent 16:41:02 SSH_AUTH_SOCK=/tmp/ssh-BgW8yQ6W5EhP/agent.13 16:41:02 SSH_AGENT_PID=19 16:41:02 Running ssh-add (command line suppressed) 16:41:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683374576644185101.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4683374576644185101.key) 16:41:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:41:03 + git semver push 16:41:03 2023-08-22 16:41:03,594 [run_push] DEBUG push 16:41:03 2023-08-22 16:41:03,595 [execute] INFO git cat-file --batch-check 16:41:03 2023-08-22 16:41:03,596 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:41:03 2023-08-22 16:41:03,601 [execute] INFO git rev-list ab17f2c445e5e4419a4846876ec1c7348257e81b -- 16:41:03 2023-08-22 16:41:03,601 [execute] DEBUG Popen(['git', 'rev-list', 'ab17f2c445e5e4419a4846876ec1c7348257e81b', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:41:03 2023-08-22 16:41:03,616 [execute] INFO git fetch -v origin 16:41:03 2023-08-22 16:41:03,616 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:41:04 2023-08-22 16:41:04,097 [run_push] DEBUG no remote changes detected 16:41:04 2023-08-22 16:41:04,098 [execute] INFO git push origin semver 16:41:04 2023-08-22 16:41:04,098 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:41:05 2023-08-22 16:41:04,980 [run_push] DEBUG push all version tags 16:41:05 2023-08-22 16:41:04,980 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:41:05 2023-08-22 16:41:04,981 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:41:05 2023-08-22 16:41:05,724 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:41:05 3.1.0-dev.15 [Pipeline] } 16:41:05 $ docker exec --env ******** --env ******** b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 ssh-agent -k 16:41:05 unset SSH_AUTH_SOCK; 16:41:05 unset SSH_AGENT_PID; 16:41:05 echo Agent pid 19 killed; 16:41:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:41:06 + git semver [Pipeline] } 16:41:06 $ docker stop --time=1 b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 16:41:08 $ docker rm -f --volumes b61be5eb7984a6f6868bc919b6a153142e946531f4ec5e492672df9c1c43b742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:41:09 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:41:09 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:41:09 total 16 16:41:09 drwxr-xr-x 3 root root 4096 Aug 22 16:23 . 16:41:09 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:40 .. 16:41:09 drwxr-xr-x 2 root root 4096 Aug 22 16:23 cost 16:41:09 -rw-r--r-- 1 root root 85 Aug 22 16:23 cost.csv 16:41:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:41:09 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:41:09 total 16 16:41:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 16:23 . 16:41:09 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 16:40 .. 16:41:09 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 16:23 cost 16:41:09 -rw-r--r-- 1 jenkins jenkins 85 Aug 22 16:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:41:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:41:10 ---> package-listing.sh 16:41:10 ++ facter osfamily 16:41:10 ++ tr '[:upper:]' '[:lower:]' 16:41:10 + OS_FAMILY=debian 16:41:10 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:41:10 + START_PACKAGES=/tmp/packages_start.txt 16:41:10 + END_PACKAGES=/tmp/packages_end.txt 16:41:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:41:10 + PACKAGES=/tmp/packages_start.txt 16:41:10 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:41:10 + PACKAGES=/tmp/packages_end.txt 16:41:10 + case "${OS_FAMILY}" in 16:41:10 + dpkg -l 16:41:10 + grep '^ii' 16:41:11 + '[' -f /tmp/packages_start.txt ']' 16:41:11 + '[' -f /tmp/packages_end.txt ']' 16:41:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:41:11 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:41:11 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:41:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:41:11 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:41:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:41:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:41:12 prd-ubuntu20.04-docker-8c-8g-4263 does not seem to be running inside a container 16:41:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:41:13 $ docker top 3b3df740ca182e14b1e8948e86e0b79e1f078ad321c69a10e95c39b841cc64b2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:41:13 + touch /tmp/pre-build-complete [Pipeline] sh 16:41:14 + mkdir -p /var/log/sysstat [Pipeline] sh 16:41:14 + ls /var/log/sa-host 16:41:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:41:14 provisioning config files... 16:41:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config624480096960746722tmp [Pipeline] { [Pipeline] echo 16:41:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:41:14 ---> create-netrc.sh [Pipeline] } 16:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:41:15 ---> python-tools-install.sh [Pipeline] echo 16:41:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:41:15 ---> sudo-logs.sh 16:41:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:41:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:41:15 ---> job-cost.sh 16:41:15 lf-activate-venv: SKIPPING 16:41:15 DEBUG: total: 0.2199999988079071 16:41:15 INFO: Retrieving Stack Cost... 16:41:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:41:16 INFO: Archiving Costs [Pipeline] echo 16:41:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:41:16 ---> logs-deploy.sh 16:41:16 lf-activate-venv: SKIPPING 16:41:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/243 16:41:16 INFO: archiving workspace using pattern(s): 16:41:17 Archives upload complete. 16:41:18 INFO: archiving logs to Nexus