Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10d83f9598abba3559abd072fcd7553d77fa119a 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-ssh17176909616512698233.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11708935406533253885.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh10705248141538267846.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1484233353869830089.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-ssh12554494536568128304.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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5977 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 10d83f9598abba3559abd072fcd7553d77fa119a (main) Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511)" > 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 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 > git rev-list --no-walk fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:45:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:45:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:45:01 ========================================================= 20:45:01 EdgeX Global Pipelines Version Info 20:45:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:45:01 ------------------- 20:45:01 stable info: 20:45:01 ------------------- 20:45:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:45:01 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:45:01 Message: update stable to v1.0.254 20:45:02 ------------------- 20:45:02 experimental info: 20:45:02 ------------------- 20:45:02 Commited By: **** collab-it+edgex@linuxfoundation.org 20:45:02 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:45:02 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10d83f9 [Pipeline] echo 20:45:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:03 provisioning config files... 20:45:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18075775881415103840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:03 ---> docker-login.sh 20:45:03 nexus3.edgexfoundry.org:10001 20:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:03 Configure a credential helper to remove this warning. See 20:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:03 20:45:03 Login Succeeded 20:45:03 nexus3.edgexfoundry.org:10002 20:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:03 Configure a credential helper to remove this warning. See 20:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:03 20:45:03 Login Succeeded 20:45:03 nexus3.edgexfoundry.org:10003 20:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:03 Configure a credential helper to remove this warning. See 20:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:03 20:45:03 Login Succeeded 20:45:03 nexus3.edgexfoundry.org:10004 20:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:03 Configure a credential helper to remove this warning. See 20:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:03 20:45:03 Login Succeeded 20:45:03 docker.io 20:45:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:04 Configure a credential helper to remove this warning. See 20:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:04 20:45:04 Login Succeeded 20:45:04 ---> docker-login.sh ends [Pipeline] } 20:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:45:04 + git rev-list -1 --merges 10d83f9598abba3559abd072fcd7553d77fa119a~1..10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo 20:45:04 -----------> git rev-list -1 --merges 10d83f9598abba3559abd072fcd7553d77fa119a~1..10d83f9598abba3559abd072fcd7553d77fa119a 10d83f9598abba3559abd072fcd7553d77fa119a [false] [Pipeline] sh 20:45:05 + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo 20:45:05 ========================================================= 20:45:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:45:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:05 + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] echo 20:45:05 [semverPrep] GIT_COMMIT: 10d83f9598abba3559abd072fcd7553d77fa119a, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511) [Pipeline] echo 20:45:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:45:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:45:05 + grep -v github /etc/ssh/ssh_known_hosts 20:45:05 + [ -e /tmp/ssh_known_hosts ] 20:45:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:45:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:45:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:45:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:06 20:45:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:06 0.1.4: Pulling from edgex-devops/py-git-semver 20:45:06 b85a868b505f: Pulling fs layer 20:45:06 e2be974225ed: Pulling fs layer 20:45:06 339a4e72a1f5: Pulling fs layer 20:45:06 988bab9f4d93: Pulling fs layer 20:45:06 1469e6f7b9e6: Pulling fs layer 20:45:06 eaf3925da568: Pulling fs layer 20:45:06 bab4dde63d76: Pulling fs layer 20:45:06 bde34c3a00c8: Pulling fs layer 20:45:06 b352a97aabf1: Pulling fs layer 20:45:06 4872d77fe225: Pulling fs layer 20:45:06 5851b861e8e6: Pulling fs layer 20:45:06 988bab9f4d93: Waiting 20:45:06 1469e6f7b9e6: Waiting 20:45:06 eaf3925da568: Waiting 20:45:06 4872d77fe225: Waiting 20:45:06 5851b861e8e6: Waiting 20:45:06 bab4dde63d76: Waiting 20:45:06 bde34c3a00c8: Waiting 20:45:06 b352a97aabf1: Waiting 20:45:06 e2be974225ed: Verifying Checksum 20:45:06 e2be974225ed: Download complete 20:45:06 988bab9f4d93: Download complete 20:45:06 1469e6f7b9e6: Verifying Checksum 20:45:06 1469e6f7b9e6: Download complete 20:45:06 339a4e72a1f5: Verifying Checksum 20:45:06 339a4e72a1f5: Download complete 20:45:06 eaf3925da568: Verifying Checksum 20:45:06 eaf3925da568: Download complete 20:45:06 bde34c3a00c8: Verifying Checksum 20:45:06 bde34c3a00c8: Download complete 20:45:06 b352a97aabf1: Verifying Checksum 20:45:06 b352a97aabf1: Download complete 20:45:06 4872d77fe225: Verifying Checksum 20:45:06 4872d77fe225: Download complete 20:45:06 5851b861e8e6: Download complete 20:45:06 b85a868b505f: Download complete 20:45:07 bab4dde63d76: Verifying Checksum 20:45:07 bab4dde63d76: Download complete 20:45:07 b85a868b505f: Pull complete 20:45:08 e2be974225ed: Pull complete 20:45:08 339a4e72a1f5: Pull complete 20:45:08 988bab9f4d93: Pull complete 20:45:08 1469e6f7b9e6: Pull complete 20:45:08 eaf3925da568: Pull complete 20:45:10 bab4dde63d76: Pull complete 20:45:10 bde34c3a00c8: Pull complete 20:45:10 b352a97aabf1: Pull complete 20:45:10 4872d77fe225: Pull complete 20:45:10 5851b861e8e6: Pull complete 20:45:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:45:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:45:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:10 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:45:11 $ 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 20:45:13 $ docker top 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f -eo pid,comm 20:45:13 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). 20:45:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:45:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:13 [ssh-agent] Looking for ssh-agent implementation... 20:45:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:13 $ docker exec 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent 20:45:13 SSH_AUTH_SOCK=/tmp/ssh-gcgeruBcIJhT/agent.31 20:45:13 SSH_AGENT_PID=37 20:45:13 Running ssh-add (command line suppressed) 20:45:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14811667856926464108.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14811667856926464108.key) 20:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:14 + git tag --points-at HEAD [Pipeline] } 20:45:14 $ docker exec --env ******** --env ******** 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent -k 20:45:14 unset SSH_AUTH_SOCK; 20:45:14 unset SSH_AGENT_PID; 20:45:14 echo Agent pid 37 killed; 20:45:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:45:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:45:14 [ssh-agent] Looking for ssh-agent implementation... 20:45:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:45:14 $ docker exec 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent 20:45:14 SSH_AUTH_SOCK=/tmp/ssh-Nz5TkmFKQBV8/agent.69 20:45:14 SSH_AGENT_PID=75 20:45:14 Running ssh-add (command line suppressed) 20:45:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16661277611614345419.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16661277611614345419.key) 20:45:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:45:15 + git semver init 20:45:15 2023-09-12 20:45:15,263 [run_init] DEBUG init version:0.0.0 force:False 20:45:15 2023-09-12 20:45:15,264 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:45:15 2023-09-12 20:45:15,265 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:45:15 2023-09-12 20:45:15,265 [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) 20:45:16 2023-09-12 20:45:16,204 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:45:16 2023-09-12 20:45:16,205 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:45:16 2023-09-12 20:45:16,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:45:16 2023-09-12 20:45:16,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:45:16 3.1.0-dev.23 [Pipeline] } 20:45:16 $ docker exec --env ******** --env ******** 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f ssh-agent -k 20:45:16 unset SSH_AUTH_SOCK; 20:45:16 unset SSH_AGENT_PID; 20:45:16 echo Agent pid 75 killed; 20:45:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:45:16 + git semver [Pipeline] } 20:45:16 $ docker stop --time=1 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f 20:45:18 $ docker rm -f --volumes 46a78e37d9baecf756b78d169b7a23078804b1740610327d336b834e8d89685f [Pipeline] // withDockerContainer [Pipeline] sh 20:45:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:45:18 Stashed 1 file(s) [Pipeline] echo 20:45:18 [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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 20:45:18 provisioning config files... 20:45:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7802621480006504077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:19 ---> docker-login.sh 20:45:19 nexus3.edgexfoundry.org:10001 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 nexus3.edgexfoundry.org:10002 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 nexus3.edgexfoundry.org:10003 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 nexus3.edgexfoundry.org:10004 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 docker.io 20:45:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:19 Configure a credential helper to remove this warning. See 20:45:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:19 20:45:19 Login Succeeded 20:45:19 ---> docker-login.sh ends [Pipeline] } 20:45:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:19 ========================================================= 20:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:20 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 20:45:20 Sending build context to Docker daemon 11.1MB 20:45:20 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:45:20 Step 2/10 : FROM ${BASE} AS builder 20:45:20 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:45:20 7264a8db6415: Pulling fs layer 20:45:20 c4d48a809fc2: Pulling fs layer 20:45:20 4f1c88b9dad5: Pulling fs layer 20:45:20 ad3a456e5733: Pulling fs layer 20:45:20 9e4f439ed901: Pulling fs layer 20:45:20 feaf6a47b606: Pulling fs layer 20:45:20 5e8b037d7d82: Pulling fs layer 20:45:20 8ac70367396e: Pulling fs layer 20:45:20 6db16350a2e2: Pulling fs layer 20:45:20 9250d5d63582: Pulling fs layer 20:45:20 feaf6a47b606: Waiting 20:45:20 5e8b037d7d82: Waiting 20:45:20 8ac70367396e: Waiting 20:45:20 9250d5d63582: Waiting 20:45:20 6db16350a2e2: Waiting 20:45:20 ad3a456e5733: Waiting 20:45:20 c4d48a809fc2: Download complete 20:45:20 ad3a456e5733: Verifying Checksum 20:45:20 ad3a456e5733: Download complete 20:45:20 9e4f439ed901: Verifying Checksum 20:45:20 9e4f439ed901: Download complete 20:45:20 7264a8db6415: Verifying Checksum 20:45:20 7264a8db6415: Download complete 20:45:20 feaf6a47b606: Verifying Checksum 20:45:20 feaf6a47b606: Download complete 20:45:20 7264a8db6415: Pull complete 20:45:20 8ac70367396e: Verifying Checksum 20:45:20 8ac70367396e: Download complete 20:45:20 c4d48a809fc2: Pull complete 20:45:20 4f1c88b9dad5: Download complete 20:45:20 6db16350a2e2: Verifying Checksum 20:45:20 6db16350a2e2: Download complete 20:45:21 5e8b037d7d82: Verifying Checksum 20:45:21 5e8b037d7d82: Download complete 20:45:21 9250d5d63582: Verifying Checksum 20:45:21 9250d5d63582: Download complete 20:45:23 4f1c88b9dad5: Pull complete 20:45:23 ad3a456e5733: Pull complete 20:45:23 9e4f439ed901: Pull complete 20:45:24 feaf6a47b606: Pull complete 20:45:25 5e8b037d7d82: Pull complete 20:45:26 8ac70367396e: Pull complete 20:45:26 6db16350a2e2: Pull complete 20:45:27 9250d5d63582: Pull complete 20:45:27 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:45:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:45:27 ---> fa269f55d9b9 20:45:27 Step 3/10 : ARG MAKE=make build 20:45:32 ---> Running in 68934c1666f7 20:45:32 Removing intermediate container 68934c1666f7 20:45:32 ---> 6c6c4a385962 20:45:32 Step 4/10 : WORKDIR /device-sdk-go 20:45:32 ---> Running in 83e70648d5e6 20:45:32 Removing intermediate container 83e70648d5e6 20:45:32 ---> cc49d8522b70 20:45:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:45:32 ---> Running in 95bb0d62f051 20:45:32 Removing intermediate container 95bb0d62f051 20:45:32 ---> 5cf10050eda8 20:45:32 Step 6/10 : RUN apk add --update --no-cache make git 20:45:32 ---> Running in db91049fe41d 20:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:45:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:45:32 OK: 265 MiB in 56 packages 20:45:32 Removing intermediate container db91049fe41d 20:45:32 ---> 3330e36ae630 20:45:32 Step 7/10 : COPY go.mod vendor* ./ 20:45:32 ---> 4be6b590c31f 20:45:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:45:32 ---> Running in a57dd93342a7 20:45:33 Still waiting to schedule task 20:45:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:46:11 Removing intermediate container a57dd93342a7 20:46:11 ---> 62d9752195f7 20:46:11 Step 9/10 : COPY . . 20:46:11 ---> 27ef453c04a2 20:46:11 Step 10/10 : RUN ${MAKE} 20:46:11 ---> Running in 1220f39ab54f 20:46:11 noop 20:46:11 Removing intermediate container 1220f39ab54f 20:46:11 ---> e3c5eb0d63da 20:46:11 Successfully built e3c5eb0d63da 20:46:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:12 + docker inspect -f . ci-base-image-x86_64 20:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:12 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:46:12 $ 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 20:46:12 $ docker top b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:12 + go version 20:46:12 go version go1.21.0 linux/amd64 [Pipeline] } 20:46:12 $ docker stop --time=1 b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a 20:46:14 $ docker rm -f --volumes b72079e244a517ca1d044969995bbb8bb823406f826c5f1b95323cfc37af1c0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 + docker inspect -f . ci-base-image-x86_64 20:46:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:14 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:46:14 $ 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 20:46:15 $ docker top b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 -eo pid,comm [Pipeline] { [Pipeline] sh 20:46:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:46:15 + make test 20:46:15 go test -race -coverprofile=coverage.out ./... 20:46:21 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:46:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.057s coverage: 27.6% of statements 20:46:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:46:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.040s coverage: 80.2% of statements 20:46:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.056s coverage: 86.0% of statements 20:46:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements 20:46:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:46:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:46:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:46:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.053s coverage: 14.1% of statements 20:46:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.163s coverage: 44.2% of statements 20:46:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.073s coverage: 68.5% of statements 20:46:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.110s coverage: 89.2% of statements 20:46:40 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 20:46:55 GO111MODULE=on go vet ./... 20:46:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:46:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:46:59 ./bin/test-attribution-txt.sh [Pipeline] echo 20:46:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:46:59 $ docker stop --time=1 b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 20:47:02 $ docker rm -f --volumes b0d747a8bffacc543e81db08b72e6d1c3f0ac9649af5f3cb5b428b885c6879b3 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:47:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:47:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:47:03 + ls -al . 20:47:03 total 304 20:47:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 20:46 . 20:47:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:44 .. 20:47:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:45 .dockerignore 20:47:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:46 .git 20:47:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:45 .github 20:47:03 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:45 .gitignore 20:47:03 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:45 .golangci.yml 20:47:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:45 .semver 20:47:03 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:45 CHANGELOG.md 20:47:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:45 GOVERNANCE.md 20:47:03 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:45 Jenkinsfile 20:47:03 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:45 LICENSE 20:47:03 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:45 Makefile 20:47:03 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:45 OWNERS.md 20:47:03 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:45 README.md 20:47:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:45 VERSION 20:47:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:45 bin 20:47:03 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:46 coverage.out 20:47:03 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:45 example 20:47:03 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:45 go.mod 20:47:03 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:45 go.sum 20:47:03 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:45 internal 20:47:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:45 openapi 20:47:03 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:45 pkg 20:47:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:45 snap 20:47:03 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:04 + 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=10d83f9598abba3559abd072fcd7553d77fa119a --label arch=amd64 --label version=3.1.0-dev.23 . 20:47:04 Sending build context to Docker daemon 11.22MB 20:47:04 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:47:04 Step 2/23 : FROM ${BASE} AS builder 20:47:04 ---> e3c5eb0d63da 20:47:04 Step 3/23 : ARG MAKE=make build 20:47:04 ---> Running in 76630977a520 20:47:04 Removing intermediate container 76630977a520 20:47:04 ---> 2d2cdc13787a 20:47:04 Step 4/23 : WORKDIR /device-sdk-go 20:47:04 ---> Running in 2bbd3154bdc1 20:47:04 Removing intermediate container 2bbd3154bdc1 20:47:04 ---> 13a83395ca76 20:47:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:47:04 ---> Running in 1155590f20cd 20:47:04 Removing intermediate container 1155590f20cd 20:47:04 ---> 49aae7812e0f 20:47:04 Step 6/23 : RUN apk add --update --no-cache make git 20:47:04 ---> Running in a43c46da48c7 20:47:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:47:05 OK: 265 MiB in 56 packages 20:47:05 Removing intermediate container a43c46da48c7 20:47:05 ---> ccbb89faabf8 20:47:05 Step 7/23 : COPY go.mod vendor* ./ 20:47:05 ---> fdabc7b8b94f 20:47:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:47:05 ---> Running in 6b846f4dc1fc 20:47:06 Removing intermediate container 6b846f4dc1fc 20:47:06 ---> 742d4750da4b 20:47:06 Step 9/23 : COPY . . 20:47:06 ---> 607185109a4c 20:47:06 Step 10/23 : RUN ${MAKE} 20:47:06 ---> Running in 19c3f520da40 20:47:07 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:47:25 Removing intermediate container 19c3f520da40 20:47:25 ---> 2f49a5bdca82 20:47:25 Step 11/23 : FROM alpine:3.18 20:47:25 3.18: Pulling from library/alpine 20:47:25 7264a8db6415: Already exists 20:47:25 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:47:25 Status: Downloaded newer image for alpine:3.18 20:47:25 ---> 7e01a0d0a1dc 20:47:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:47:25 ---> Running in 2adb5fc82483 20:47:25 Removing intermediate container 2adb5fc82483 20:47:25 ---> f12aec8b1ecf 20:47:25 Step 13/23 : RUN apk add --update --no-cache 20:47:25 ---> Running in 50bdcc6fe4dc 20:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:47:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:47:25 OK: 7 MiB in 15 packages 20:47:25 Removing intermediate container 50bdcc6fe4dc 20:47:25 ---> f6af38632830 20:47:25 Step 14/23 : WORKDIR / 20:47:25 ---> Running in f889f74dc23a 20:47:26 Removing intermediate container f889f74dc23a 20:47:26 ---> 27a88d68d663 20:47:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:47:26 ---> d734b1a9690f 20:47:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:47:27 ---> 7e09259d7392 20:47:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:47:27 ---> 0c98772608fe 20:47:27 Step 18/23 : EXPOSE 59999 20:47:27 ---> Running in 098936efa69e 20:47:27 Removing intermediate container 098936efa69e 20:47:27 ---> 90692264a53c 20:47:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:47:27 ---> Running in 24aab69c0736 20:47:27 Removing intermediate container 24aab69c0736 20:47:27 ---> b0aedac4352c 20:47:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:47:27 ---> Running in 7d5a124d0c82 20:47:27 Removing intermediate container 7d5a124d0c82 20:47:27 ---> 6f3f8b465739 20:47:27 Step 21/23 : LABEL arch=amd64 20:47:27 ---> Running in a92c2834947a 20:47:27 Removing intermediate container a92c2834947a 20:47:27 ---> 2547a45ce67e 20:47:27 Step 22/23 : LABEL git_sha=10d83f9598abba3559abd072fcd7553d77fa119a 20:47:27 ---> Running in 377d9f7c8529 20:47:27 Removing intermediate container 377d9f7c8529 20:47:27 ---> 2cc87da789b8 20:47:27 Step 23/23 : LABEL version=3.1.0-dev.23 20:47:27 ---> Running in 4cecb20000ef 20:47:27 Removing intermediate container 4cecb20000ef 20:47:27 ---> 26733289f302 20:47:27 [Warning] One or more build-args [ARCH] were not consumed 20:47:27 Successfully built 26733289f302 20:47:27 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 20:47:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:28 20:47:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:28 latest: Pulling from edgex-lftools-log-publisher 20:47:28 5eb5b503b376: Pulling fs layer 20:47:28 5c69ac0246d0: Pulling fs layer 20:47:28 ec43610c2a17: Pulling fs layer 20:47:28 3a2ae6a8a46f: Pulling fs layer 20:47:28 33b1e0a273af: Pulling fs layer 20:47:28 5d3b04190fa2: Pulling fs layer 20:47:28 2f39f015ded8: Pulling fs layer 20:47:28 3a2ae6a8a46f: Waiting 20:47:28 33b1e0a273af: Waiting 20:47:28 2f39f015ded8: Waiting 20:47:28 5d3b04190fa2: Waiting 20:47:28 5c69ac0246d0: Verifying Checksum 20:47:28 5c69ac0246d0: Download complete 20:47:28 3a2ae6a8a46f: Verifying Checksum 20:47:28 3a2ae6a8a46f: Download complete 20:47:28 33b1e0a273af: Verifying Checksum 20:47:28 5d3b04190fa2: Verifying Checksum 20:47:28 5d3b04190fa2: Download complete 20:47:28 ec43610c2a17: Verifying Checksum 20:47:28 ec43610c2a17: Download complete 20:47:28 5eb5b503b376: Verifying Checksum 20:47:28 5eb5b503b376: Download complete 20:47:29 2f39f015ded8: Verifying Checksum 20:47:29 2f39f015ded8: Download complete 20:47:29 5eb5b503b376: Pull complete 20:47:29 5c69ac0246d0: Pull complete 20:47:30 ec43610c2a17: Pull complete 20:47:30 3a2ae6a8a46f: Pull complete 20:47:30 33b1e0a273af: Pull complete 20:47:30 5d3b04190fa2: Pull complete 20:47:34 2f39f015ded8: Pull complete 20:47:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:47:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:47:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:35 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:47:35 $ 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 20:47:38 $ docker top ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:38 ---> job-cost.sh 20:47:38 lf-activate-venv: SKIPPING 20:47:38 INFO: No Stack... 20:47:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:47:39 INFO: Archiving Costs [Pipeline] sh 20:47:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:47:39 + cut -d, -f6 [Pipeline] lock 20:47:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] 20:47:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] did not exist. Created. 20:47:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:39 + echo total: 0.2199999988079071 [Pipeline] stash 20:47:39 Stashed 1 file(s) [Pipeline] } 20:47:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] // lock [Pipeline] } 20:47:39 $ docker stop --time=1 ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 20:47:41 $ docker rm -f --volumes ccf6f3b8e5fc24bfe3d9a34949e7b94cb31299b6bf471d7f618e75bfd03ea017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:48:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5979 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:48:18 Running in /w/workspace/device-sdk-go/252 [Pipeline] { [Pipeline] checkout 20:48:18 The recommended git tool is: git 20:48:24 using credential edgex-jenkins-ssh 20:48:24 Cloning the remote Git repository 20:48:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:48:24 > git init /w/workspace/device-sdk-go/252 # timeout=10 20:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:48:24 > git --version # timeout=10 20:48:24 > git --version # 'git version 2.25.1' 20:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 20:48:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:48:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:48:27 Avoid second fetch 20:48:27 Checking out Revision 10d83f9598abba3559abd072fcd7553d77fa119a (main) 20:48:28 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 (#1511)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:48:27 > git config core.sparsecheckout # timeout=10 20:48:27 > git checkout -f 10d83f9598abba3559abd072fcd7553d77fa119a # timeout=10 20:48:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:48:29 % Total % Received % Xferd Average Speed Time Time Time Current 20:48:29 Dload Upload Total Spent Left Speed 20:48:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh 20:48:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:48:30 + sudo tee /etc/docker/daemon.new 20:48:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:48:30 { 20:48:30 "registry-mirrors": [ 20:48:30 "https://nexus3.edgexfoundry.org:10001" 20:48:30 ], 20:48:30 "bip": "10.250.0.254/24", 20:48:30 "hosts": [ 20:48:30 "tcp://0.0.0.0:5555", 20:48:30 "unix:///var/run/docker.sock" 20:48:30 ], 20:48:30 "mtu": 1458, 20:48:30 "selinux-enabled": true, 20:48:30 "seccomp-profile": "/etc/docker/seccomp.json" 20:48:30 } [Pipeline] sh 20:48:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:48:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:52 provisioning config files... 20:48:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/252@tmp/config17273691174884468116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:48:53 ---> docker-login.sh 20:48:53 nexus3.edgexfoundry.org:10001 20:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:54 Configure a credential helper to remove this warning. See 20:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:54 20:48:54 Login Succeeded 20:48:54 nexus3.edgexfoundry.org:10002 20:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:54 Configure a credential helper to remove this warning. See 20:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:54 20:48:54 Login Succeeded 20:48:54 nexus3.edgexfoundry.org:10003 20:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:54 Configure a credential helper to remove this warning. See 20:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:54 20:48:54 Login Succeeded 20:48:54 nexus3.edgexfoundry.org:10004 20:48:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:55 Configure a credential helper to remove this warning. See 20:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:55 20:48:55 Login Succeeded 20:48:55 docker.io 20:48:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:48:55 Configure a credential helper to remove this warning. See 20:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:48:55 20:48:55 Login Succeeded 20:48:55 ---> docker-login.sh ends [Pipeline] } 20:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:48:56 ========================================================= 20:48:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:48:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:56 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 20:48:56 Sending build context to Docker daemon 5.93MB 20:48:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:48:56 Step 2/10 : FROM ${BASE} AS builder 20:48:57 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:48:57 9fda8d8052c6: Pulling fs layer 20:48:57 5d54e960e981: Pulling fs layer 20:48:57 c4a7e357bf2a: Pulling fs layer 20:48:57 f0e02332f6b5: Pulling fs layer 20:48:57 66412af1f25a: Pulling fs layer 20:48:57 1baf3a5c0e64: Pulling fs layer 20:48:57 9a37bb91b891: Pulling fs layer 20:48:57 a29adfc67d43: Pulling fs layer 20:48:57 d5de9f91c1a4: Pulling fs layer 20:48:57 f0e02332f6b5: Waiting 20:48:57 66412af1f25a: Waiting 20:48:57 9a37bb91b891: Waiting 20:48:57 1baf3a5c0e64: Waiting 20:48:57 a29adfc67d43: Waiting 20:48:57 d5de9f91c1a4: Waiting 20:48:57 5d54e960e981: Verifying Checksum 20:48:57 5d54e960e981: Download complete 20:48:57 f0e02332f6b5: Verifying Checksum 20:48:57 f0e02332f6b5: Download complete 20:48:57 66412af1f25a: Download complete 20:48:57 9fda8d8052c6: Verifying Checksum 20:48:57 9fda8d8052c6: Download complete 20:48:57 9a37bb91b891: Verifying Checksum 20:48:57 9a37bb91b891: Download complete 20:48:58 a29adfc67d43: Verifying Checksum 20:48:58 a29adfc67d43: Download complete 20:48:58 9fda8d8052c6: Pull complete 20:48:58 5d54e960e981: Pull complete 20:48:59 d5de9f91c1a4: Verifying Checksum 20:48:59 d5de9f91c1a4: Download complete 20:48:59 c4a7e357bf2a: Verifying Checksum 20:48:59 c4a7e357bf2a: Download complete 20:49:00 1baf3a5c0e64: Verifying Checksum 20:49:00 1baf3a5c0e64: Download complete 20:49:10 c4a7e357bf2a: Pull complete 20:49:10 f0e02332f6b5: Pull complete 20:49:10 66412af1f25a: Pull complete 20:49:16 1baf3a5c0e64: Pull complete 20:49:18 9a37bb91b891: Pull complete 20:49:19 a29adfc67d43: Pull complete 20:49:21 d5de9f91c1a4: Pull complete 20:49:21 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 20:49:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:49:21 ---> 746ca1b523b5 20:49:21 Step 3/10 : ARG MAKE=make build 20:49:23 ---> Running in 00e86090bb14 20:49:23 Removing intermediate container 00e86090bb14 20:49:23 ---> 7f455b083667 20:49:23 Step 4/10 : WORKDIR /device-sdk-go 20:49:23 ---> Running in 18d883598e5b 20:49:24 Removing intermediate container 18d883598e5b 20:49:24 ---> a76b366be8b5 20:49:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:49:24 ---> Running in a1b2386e4ae6 20:49:24 Removing intermediate container a1b2386e4ae6 20:49:24 ---> b4b058e839b7 20:49:24 Step 6/10 : RUN apk add --update --no-cache make git 20:49:24 ---> Running in ccd8d88cebd8 20:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:49:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:49:27 OK: 267 MiB in 56 packages 20:49:30 Removing intermediate container ccd8d88cebd8 20:49:30 ---> 4a89a17179ec 20:49:30 Step 7/10 : COPY go.mod vendor* ./ 20:49:30 ---> 85509a941166 20:49:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:49:30 ---> Running in 0f486c86b179 20:50:52 Removing intermediate container 0f486c86b179 20:50:52 ---> 11a87fab90fc 20:50:52 Step 9/10 : COPY . . 20:50:52 ---> fc5b4e7327e0 20:50:52 Step 10/10 : RUN ${MAKE} 20:50:52 ---> Running in 234834844e05 20:50:52 noop 20:50:52 Removing intermediate container 234834844e05 20:50:52 ---> 27bb907d3144 20:50:52 Successfully built 27bb907d3144 20:50:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:52 + docker inspect -f . ci-base-image-arm64 20:50:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:52 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 20:50:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@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 20:50:53 $ docker top abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:54 + go version 20:50:54 go version go1.21.0 linux/arm64 [Pipeline] } 20:50:54 $ docker stop --time=1 abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 20:50:56 $ docker rm -f --volumes abf5b5f8bd1493fc3de0987c38df1a330941c73f7e891749f5bbd17b229818b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:50:56 + docker inspect -f . ci-base-image-arm64 20:50:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:50:57 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 20:50:57 $ 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/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@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 20:50:58 $ docker top b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:50:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/252 [Pipeline] fileExists [Pipeline] sh 20:51:00 + make test 20:51:00 go test -race -coverprofile=coverage.out ./... 20:51:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:53:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:53:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:53:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:53:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:53:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:53:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.207s coverage: 27.6% of statements 20:53:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.243s coverage: 80.2% of statements 20:53:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:53:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:53:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.368s coverage: 86.0% of statements 20:54:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:54:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.429s coverage: 71.8% of statements 20:54:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.280s coverage: 14.1% of statements 20:54:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.984s coverage: 44.2% of statements 20:54:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:54:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:54:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.385s coverage: 68.5% of statements 20:54:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.460s coverage: 89.2% of statements 20:54:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:54:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.5% of statements 20:54:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:54:16 GO111MODULE=on go vet ./... 20:56:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:56:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:56:08 ./bin/test-attribution-txt.sh [Pipeline] echo 20:56:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:56:08 $ docker stop --time=1 b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 20:56:09 $ docker rm -f --volumes b44d83a4cd65887e78ca6fdeb77d9406fab92ec4c655fd1c0d6e72235c3953d7 [Pipeline] // withDockerContainer [Pipeline] sh 20:56:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:56:11 Warning: overwriting stash ‘coverage-report’ 20:56:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:56:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:56:13 + ls -al . 20:56:13 total 300 20:56:13 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:51 . 20:56:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:48 .. 20:56:13 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:48 .dockerignore 20:56:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:48 .git 20:56:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:48 .github 20:56:13 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:48 .gitignore 20:56:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:48 .golangci.yml 20:56:13 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:48 CHANGELOG.md 20:56:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:48 GOVERNANCE.md 20:56:13 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:48 Jenkinsfile 20:56:13 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:48 LICENSE 20:56:13 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:48 Makefile 20:56:13 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:48 OWNERS.md 20:56:13 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:48 README.md 20:56:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 12 20:45 VERSION 20:56:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:48 bin 20:56:13 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:54 coverage.out 20:56:13 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:48 example 20:56:13 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:48 go.mod 20:56:13 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:48 go.sum 20:56:13 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:48 internal 20:56:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:48 openapi 20:56:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:48 pkg 20:56:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:48 snap 20:56:13 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:56:13 + 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=10d83f9598abba3559abd072fcd7553d77fa119a --label arch=arm64 --label version=3.1.0-dev.23 . 20:56:13 Sending build context to Docker daemon 6.052MB 20:56:13 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:56:13 Step 2/23 : FROM ${BASE} AS builder 20:56:13 ---> 27bb907d3144 20:56:13 Step 3/23 : ARG MAKE=make build 20:56:15 ---> Running in 315a4456fbdc 20:56:15 Removing intermediate container 315a4456fbdc 20:56:15 ---> 00857e46c2d0 20:56:15 Step 4/23 : WORKDIR /device-sdk-go 20:56:15 ---> Running in 3a61773f6daf 20:56:15 Removing intermediate container 3a61773f6daf 20:56:15 ---> 6d1c6c78195f 20:56:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:15 ---> Running in 628e77636928 20:56:15 Removing intermediate container 628e77636928 20:56:15 ---> a636d7791587 20:56:15 Step 6/23 : RUN apk add --update --no-cache make git 20:56:15 ---> Running in a3e47b4951ea 20:56:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:56:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:56:18 OK: 267 MiB in 56 packages 20:56:19 Removing intermediate container a3e47b4951ea 20:56:19 ---> ded35499e981 20:56:19 Step 7/23 : COPY go.mod vendor* ./ 20:56:20 ---> 569c3e039c92 20:56:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:20 ---> Running in fdb974ed757c 20:56:22 Removing intermediate container fdb974ed757c 20:56:22 ---> 57cbf0f14225 20:56:22 Step 9/23 : COPY . . 20:56:23 ---> 874fde3eb048 20:56:23 Step 10/23 : RUN ${MAKE} 20:56:23 ---> Running in 4810c159b2cf 20:56:24 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:58:16 Removing intermediate container 4810c159b2cf 20:58:16 ---> 39cd590883ce 20:58:16 Step 11/23 : FROM alpine:3.18 20:58:16 3.18: Pulling from library/alpine 20:58:16 9fda8d8052c6: Already exists 20:58:16 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:58:16 Status: Downloaded newer image for alpine:3.18 20:58:16 ---> f6648c04cd6c 20:58:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:58:16 ---> Running in 632c6f85f459 20:58:16 Removing intermediate container 632c6f85f459 20:58:16 ---> 95ed8b8fdfb1 20:58:16 Step 13/23 : RUN apk add --update --no-cache 20:58:16 ---> Running in 755d4ff03fb1 20:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:58:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:58:16 OK: 8 MiB in 15 packages 20:58:16 Removing intermediate container 755d4ff03fb1 20:58:16 ---> a15baf78dd17 20:58:16 Step 14/23 : WORKDIR / 20:58:16 ---> Running in 8070ba944e34 20:58:16 Removing intermediate container 8070ba944e34 20:58:16 ---> 05c46a02c98a 20:58:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:58:16 ---> 5b9c52227474 20:58:16 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:58:17 ---> ac6335e6e3b1 20:58:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:58:17 ---> 5e934cb21368 20:58:17 Step 18/23 : EXPOSE 59999 20:58:17 ---> Running in c74a63a82f86 20:58:18 Removing intermediate container c74a63a82f86 20:58:18 ---> 42b23e83ecea 20:58:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:58:18 ---> Running in e93b4805b036 20:58:18 Removing intermediate container e93b4805b036 20:58:18 ---> a1cc3e3fc22c 20:58:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:58:18 ---> Running in 981cabed736d 20:58:18 Removing intermediate container 981cabed736d 20:58:18 ---> 84017eae5d5c 20:58:18 Step 21/23 : LABEL arch=arm64 20:58:18 ---> Running in 90ba84ac1d4a 20:58:19 Removing intermediate container 90ba84ac1d4a 20:58:19 ---> 90a93b23b931 20:58:19 Step 22/23 : LABEL git_sha=10d83f9598abba3559abd072fcd7553d77fa119a 20:58:19 ---> Running in a57a6a61ecb7 20:58:19 Removing intermediate container a57a6a61ecb7 20:58:19 ---> 9f6dc18d4a05 20:58:19 Step 23/23 : LABEL version=3.1.0-dev.23 20:58:19 ---> Running in fdf71e33b80b 20:58:19 Removing intermediate container fdf71e33b80b 20:58:19 ---> c707012bf892 20:58:19 [Warning] One or more build-args [ARCH] were not consumed 20:58:19 Successfully built c707012bf892 20:58:19 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 20:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:20 20:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:20 arm64: Pulling from edgex-lftools-log-publisher 20:58:20 8998bd30e6a1: Pulling fs layer 20:58:20 04944245beec: Pulling fs layer 20:58:20 699f458cf7ca: Pulling fs layer 20:58:20 765212b225bb: Pulling fs layer 20:58:20 f23df028b6ca: Pulling fs layer 20:58:20 d65c8cfc05b1: Pulling fs layer 20:58:20 2437ff75d9bd: Pulling fs layer 20:58:20 765212b225bb: Waiting 20:58:20 f23df028b6ca: Waiting 20:58:20 d65c8cfc05b1: Waiting 20:58:20 2437ff75d9bd: Waiting 20:58:21 04944245beec: Verifying Checksum 20:58:21 04944245beec: Download complete 20:58:21 765212b225bb: Verifying Checksum 20:58:21 765212b225bb: Download complete 20:58:21 f23df028b6ca: Verifying Checksum 20:58:21 f23df028b6ca: Download complete 20:58:21 d65c8cfc05b1: Verifying Checksum 20:58:21 d65c8cfc05b1: Download complete 20:58:21 699f458cf7ca: Verifying Checksum 20:58:21 699f458cf7ca: Download complete 20:58:21 8998bd30e6a1: Verifying Checksum 20:58:21 8998bd30e6a1: Download complete 20:58:24 2437ff75d9bd: Verifying Checksum 20:58:24 2437ff75d9bd: Download complete 20:58:25 8998bd30e6a1: Pull complete 20:58:26 04944245beec: Pull complete 20:58:27 699f458cf7ca: Pull complete 20:58:27 765212b225bb: Pull complete 20:58:28 f23df028b6ca: Pull complete 20:58:28 d65c8cfc05b1: Pull complete 20:58:43 2437ff75d9bd: Pull complete 20:58:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:58:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:43 prd-ubuntu20.04-docker-arm64-4c-16g-5979 does not seem to be running inside a container 20:58:43 $ 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/252 -v /w/workspace/device-sdk-go/252:/w/workspace/device-sdk-go/252:rw,z -v /w/workspace/device-sdk-go/252@tmp:/w/workspace/device-sdk-go/252@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 20:58:46 $ docker top 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:47 ---> job-cost.sh 20:58:47 lf-activate-venv: SKIPPING 20:58:47 INFO: No Stack... 20:58:47 INFO: Retrieving Pricing Info for: v3-standard-4 20:58:48 INFO: Archiving Costs [Pipeline] sh 20:58:49 + cat /w/workspace/device-sdk-go/252/archives/cost.csv 20:58:49 + cut -d, -f6 [Pipeline] lock 20:58:49 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] 20:58:49 Resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] did not exist. Created. 20:58:49 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:58:49 /w/workspace/device-sdk-go/252@tmp/durable-52a87d83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:58:49 + echo total: 0.10999999940395355 [Pipeline] stash 20:58:49 Warning: overwriting stash ‘stack-cost’ 20:58:49 Stashed 1 file(s) [Pipeline] } 20:58:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-252-stack-cost] [Pipeline] // lock [Pipeline] } 20:58:50 $ docker stop --time=1 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 20:58:51 $ docker rm -f --volumes 175a86a29b0a13fc0e17b7d419de0ee5a4dc21f7a5fc007e8f1fd25850da86f5 [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 20:58:52 provisioning config files... 20:58:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8818966982577992509tmp [Pipeline] { [Pipeline] sh 20:58:52 + set +x 20:58:52 + curl -s https://codecov.io/bash 20:58:52 + bash -s -- 20:58:52 20:58:52 _____ _ 20:58:52 / ____| | | 20:58:52 | | ___ __| | ___ ___ _____ __ 20:58:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:58:52 | |___| (_) | (_| | __/ (_| (_) \ V / 20:58:52 \_____\___/ \__,_|\___|\___\___/ \_/ 20:58:52 Bash-1.0.6 20:58:52 20:58:52 20:58:52 ==> git version 2.25.1 found 20:58:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:58:52 Release-Date: 2020-01-08 20:58:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:58:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:58:52 ==> Jenkins CI detected. 20:58:52 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 20:58:52 project root: . 20:58:52 --> token set from env 20:58:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:58:52 ==> Running gcov in . (disable via -X gcov) 20:58:52 ==> Python coveragepy not found 20:58:52 ==> Searching for coverage reports in: 20:58:52 + . 20:58:52 -> Found 1 reports 20:58:52 ==> Detecting git/mercurial file structure 20:58:52 ==> Reading reports 20:58:52 + ./coverage.out bytes=120468 20:58:52 ==> Appending adjustments 20:58:52 https://docs.codecov.io/docs/fixing-reports 20:58:54 + Found adjustments 20:58:54 ==> Gzipping contents 20:58:54 20K /tmp/codecov.OHcag1.gz 20:58:54 ==> Uploading reports 20:58:54 url: https://codecov.io 20:58:54 query: branch=main&commit=10d83f9598abba3559abd072fcd7553d77fa119a&build=252&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F252%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:58:54 -> Pinging Codecov 20:58:54 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=10d83f9598abba3559abd072fcd7553d77fa119a&build=252&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F252%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:58:54 -> Uploading to 20:58:54 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/10d83f9598abba3559abd072fcd7553d77fa119a/c4555854-a907-4d4a-aea0-ca0499ea41ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T205854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f8f187711d00413369079e8cba7edd70538b047e2515a0eec449edd497b832d 20:58:54 % Total % Received % Xferd Average Speed Time Time Time Current 20:58:54 Dload Upload Total Spent Left Speed 20:58:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16431 0 0 100 16431 0 80151 --:--:-- --:--:-- --:--:-- 80151 20:58:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] } 20:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:58:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:58:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:55 20:58:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:58:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:58:56 df9b9388f04a: Pulling fs layer 20:58:56 52dc419b0ee2: Pulling fs layer 20:58:56 25bc292e5bac: Pulling fs layer 20:58:56 114826534d7a: Pulling fs layer 20:58:56 4657fd5d0bcf: Pulling fs layer 20:58:56 6ad1cebc031e: Pulling fs layer 20:58:56 8a3aa393b2d8: Pulling fs layer 20:58:56 6ad1cebc031e: Waiting 20:58:56 114826534d7a: Waiting 20:58:56 4657fd5d0bcf: Waiting 20:58:56 8a3aa393b2d8: Waiting 20:58:56 25bc292e5bac: Verifying Checksum 20:58:56 25bc292e5bac: Download complete 20:58:56 52dc419b0ee2: Verifying Checksum 20:58:56 52dc419b0ee2: Download complete 20:58:56 4657fd5d0bcf: Verifying Checksum 20:58:56 4657fd5d0bcf: Download complete 20:58:56 df9b9388f04a: Download complete 20:58:56 df9b9388f04a: Pull complete 20:58:56 52dc419b0ee2: Pull complete 20:58:56 25bc292e5bac: Pull complete 20:58:58 6ad1cebc031e: Verifying Checksum 20:58:58 6ad1cebc031e: Download complete 20:58:59 114826534d7a: Verifying Checksum 20:58:59 114826534d7a: Download complete 20:58:59 8a3aa393b2d8: Verifying Checksum 20:58:59 8a3aa393b2d8: Download complete 20:59:03 114826534d7a: Pull complete 20:59:03 4657fd5d0bcf: Pull complete 20:59:03 6ad1cebc031e: Pull complete 20:59:12 8a3aa393b2d8: Pull complete 20:59:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:59:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:59:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:12 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:59:12 $ 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 20:59:17 $ docker top 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a -eo pid,comm [Pipeline] { [Pipeline] echo 20:59:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 20:59:17 + set -o pipefail 20:59:17 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 20:59:22 20:59:22 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 20:59:22 20:59:22 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/61b224a9-ea5d-4ed3-859e-b0e80b15c197 20:59:22 20:59:22 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:59:22 20:59:22 20:59:22 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:59:22 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:59:22 More details here: https://snyk.co/ue1NS 20:59:22 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 20:59:22 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 20:59:22 $ docker stop --time=1 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a 20:59:26 $ docker rm -f --volumes 679f693de0c520c66f784084c995bb9526c05f8567fa06cac0139217df93dc0a [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 20:59:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:26 provisioning config files... 20:59:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3172819481593904817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:26 --> edgex-publish-swagger.sh 20:59:26 === Publish openapi/v3 API === 20:59:26 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 20:59:26 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 20:59:26 % Total % Received % Xferd Average Speed Time Time Time Current 20:59:26 Dload Upload Total Spent Left Speed 20:59:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 37878 --:--:-- --:--:-- --:--:-- 37878 20:59:27 20:59:27 [Pipeline] } 20:59:27 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 20:59:27 + git log --format=format:%s -1 10d83f9598abba3559abd072fcd7553d77fa119a [Pipeline] sh 20:59:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:28 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:59:28 $ 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 20:59:29 $ docker top 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e -eo pid,comm 20:59:29 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). 20:59:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:29 [ssh-agent] Looking for ssh-agent implementation... 20:59:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:29 $ docker exec 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e ssh-agent 20:59:29 SSH_AUTH_SOCK=/tmp/ssh-ZEzFWdoVGwe7/agent.32 20:59:29 SSH_AGENT_PID=38 20:59:29 Running ssh-add (command line suppressed) 20:59:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9470671096368689312.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9470671096368689312.key) 20:59:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:29 + git semver tag 20:59:30 2023-09-12 20:59:29,965 [run_tag] DEBUG tag force:False 20:59:30 2023-09-12 20:59:29,965 [check_head_tag] DEBUG check head tag 20:59:30 2023-09-12 20:59:29,966 [execute] INFO git cat-file --batch-check 20:59:30 2023-09-12 20:59:29,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:59:30 2023-09-12 20:59:29,968 [execute] INFO git cat-file --batch 20:59:30 2023-09-12 20:59:29,968 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 20:59:30 2023-09-12 20:59:29,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:30 2023-09-12 20:59:29,980 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 20:59:30 2023-09-12 20:59:29,980 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 20:59:30 2023-09-12 20:59:29,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:30 3.1.0-dev.23 [Pipeline] } 20:59:30 $ docker exec --env ******** --env ******** 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e ssh-agent -k 20:59:30 unset SSH_AUTH_SOCK; 20:59:30 unset SSH_AGENT_PID; 20:59:30 echo Agent pid 38 killed; 20:59:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:30 + git semver [Pipeline] } 20:59:30 $ docker stop --time=1 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e 20:59:32 $ docker rm -f --volumes 493c438beb095d221eb470ffe299380957670e22d07b026595a3368c42c3850e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:32 20:59:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:32 0.23.1-centos7: Pulling from edgex-lftools 20:59:32 ab5ef0e58194: Pulling fs layer 20:59:32 9712f1f96733: Pulling fs layer 20:59:32 63f879dbbcfc: Pulling fs layer 20:59:32 0d9ebad4ef96: Pulling fs layer 20:59:32 e9a5061849ea: Pulling fs layer 20:59:32 d747dcd14b5f: Pulling fs layer 20:59:32 2de7ff778b66: Pulling fs layer 20:59:32 0d9ebad4ef96: Waiting 20:59:32 e9a5061849ea: Waiting 20:59:32 d747dcd14b5f: Waiting 20:59:32 2de7ff778b66: Waiting 20:59:32 9712f1f96733: Download complete 20:59:32 63f879dbbcfc: Verifying Checksum 20:59:32 63f879dbbcfc: Download complete 20:59:32 e9a5061849ea: Verifying Checksum 20:59:32 e9a5061849ea: Download complete 20:59:33 d747dcd14b5f: Verifying Checksum 20:59:33 d747dcd14b5f: Download complete 20:59:33 0d9ebad4ef96: Verifying Checksum 20:59:33 0d9ebad4ef96: Download complete 20:59:33 ab5ef0e58194: Verifying Checksum 20:59:33 ab5ef0e58194: Download complete 20:59:33 2de7ff778b66: Download complete 20:59:35 ab5ef0e58194: Pull complete 20:59:35 9712f1f96733: Pull complete 20:59:36 63f879dbbcfc: Pull complete 20:59:40 0d9ebad4ef96: Pull complete 20:59:40 e9a5061849ea: Pull complete 20:59:40 d747dcd14b5f: Pull complete 20:59:41 2de7ff778b66: Pull complete 20:59:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:59:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:59:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:42 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:59:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:59:47 $ docker top bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:59:47 provisioning config files... 20:59:47 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13802015043871520472tmp 20:59:47 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13859883715186640682tmp 20:59:47 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9603615916560339839tmp [Pipeline] { [Pipeline] echo 20:59:47 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:59:47 ---> sigul-configuration.sh 20:59:47 gpg: directory `/root/.gnupg' created 20:59:47 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:59:47 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:59:47 gpg: keyring `/root/.gnupg/secring.gpg' created 20:59:47 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:59:47 gpg: CAST5 encrypted data 20:59:48 gpg: encrypted with 1 passphrase 20:59:48 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:59:48 + mkdir /home/jenkins 20:59:48 + mkdir /home/jenkins/sigul [Pipeline] sh 20:59:48 + 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 20:59:48 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:59:49 ---> sigul-install.sh 20:59:49 Sigul already installed; skipping installation. [Pipeline] sh 20:59:49 + git tag --list 20:59:49 0.7.1 20:59:49 delhi-tag 20:59:49 v1.0.0 20:59:49 v1.1.0 20:59:49 v1.1.1 20:59:49 v1.1.2 20:59:49 v1.2.0 20:59:49 v1.2.1 20:59:49 v1.2.2 20:59:49 v1.2.3 20:59:49 v1.3.0 20:59:49 v1.4.0 20:59:49 v2.0.0 20:59:49 v2.1.0 20:59:49 v2.1.1 20:59:49 v2.2.0 20:59:49 v2.3.0 20:59:49 v2.3.1 20:59:49 v3.0 20:59:49 v3.0.0 20:59:49 v3.0.1-dev.1 20:59:49 v3.1.0-dev.1 20:59:49 v3.1.0-dev.10 20:59:49 v3.1.0-dev.11 20:59:49 v3.1.0-dev.12 20:59:49 v3.1.0-dev.13 20:59:49 v3.1.0-dev.14 20:59:49 v3.1.0-dev.15 20:59:49 v3.1.0-dev.16 20:59:49 v3.1.0-dev.17 20:59:49 v3.1.0-dev.18 20:59:49 v3.1.0-dev.19 20:59:49 v3.1.0-dev.2 20:59:49 v3.1.0-dev.20 20:59:49 v3.1.0-dev.21 20:59:49 v3.1.0-dev.22 20:59:49 v3.1.0-dev.23 20:59:49 v3.1.0-dev.3 20:59:49 v3.1.0-dev.4 20:59:49 v3.1.0-dev.5 20:59:49 v3.1.0-dev.6 20:59:49 v3.1.0-dev.7 20:59:49 v3.1.0-dev.8 20:59:49 v3.1.0-dev.9 [Pipeline] sh 20:59:49 + lftools sign git-tag v3.1.0-dev.23 20:59:50 Signing Git tag with Sigul... 20:59:50 Signing v3.1.0-dev.23 [Pipeline] echo 20:59:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:59:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:59:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:59:50 $ docker stop --time=1 bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 20:59:52 $ docker rm -f --volumes bb52899aa586b6513eac8f9c4ee16b337fe41ba8b136491bf982b4f719c699e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:59:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:52 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:59:52 $ 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 20:59:53 $ docker top 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:53 [ssh-agent] Looking for ssh-agent implementation... 20:59:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:53 $ docker exec 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f ssh-agent 20:59:53 SSH_AUTH_SOCK=/tmp/ssh-nJWF30Egs1OY/agent.33 20:59:53 SSH_AGENT_PID=39 20:59:53 Running ssh-add (command line suppressed) 20:59:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6629525782579239319.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6629525782579239319.key) 20:59:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:54 + git semver bump pre 20:59:54 2023-09-12 20:59:54,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:54 2023-09-12 20:59:54,426 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev 20:59:54 2023-09-12 20:59:54,426 [bump_version] DEBUG bumped version:3.1.0-dev.24 20:59:54 2023-09-12 20:59:54,426 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 20:59:54 2023-09-12 20:59:54,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:54 2023-09-12 20:59:54,426 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:54 2023-09-12 20:59:54,428 [execute] INFO git cat-file --batch-check 20:59:54 2023-09-12 20:59:54,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:54 2023-09-12 20:59:54,433 [execute] INFO git cat-file --batch 20:59:54 2023-09-12 20:59:54,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:54 2023-09-12 20:59:54,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:54 3.1.0-dev.24 [Pipeline] } 20:59:54 $ docker exec --env ******** --env ******** 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f ssh-agent -k 20:59:54 unset SSH_AUTH_SOCK; 20:59:54 unset SSH_AGENT_PID; 20:59:54 echo Agent pid 39 killed; 20:59:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:55 + git semver [Pipeline] } 20:59:55 $ docker stop --time=1 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f 20:59:57 $ docker rm -f --volumes 7572bedf84b93d76793225c376a5234ffe81bacd90f6612cf054e0f319efea9f [Pipeline] // withDockerContainer [Pipeline] sh 20:59:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:57 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 20:59:57 $ 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 20:59:58 $ docker top ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da -eo pid,comm 20:59:58 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). 20:59:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:58 [ssh-agent] Looking for ssh-agent implementation... 20:59:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:58 $ docker exec ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da ssh-agent 20:59:58 SSH_AUTH_SOCK=/tmp/ssh-4lk3r67YR1s4/agent.32 20:59:58 SSH_AGENT_PID=39 20:59:58 Running ssh-add (command line suppressed) 20:59:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4587046196999163129.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4587046196999163129.key) 20:59:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:59 + git semver push 20:59:59 2023-09-12 20:59:59,342 [run_push] DEBUG push 20:59:59 2023-09-12 20:59:59,343 [execute] INFO git cat-file --batch-check 20:59:59 2023-09-12 20:59:59,343 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:59:59 2023-09-12 20:59:59,347 [execute] INFO git rev-list e4a24020c09f816de6fa14e027036c38fd075583 -- 20:59:59 2023-09-12 20:59:59,347 [execute] DEBUG Popen(['git', 'rev-list', 'e4a24020c09f816de6fa14e027036c38fd075583', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:59:59 2023-09-12 20:59:59,359 [execute] INFO git fetch -v origin 20:59:59 2023-09-12 20:59:59,359 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:59:59 2023-09-12 20:59:59,822 [run_push] DEBUG no remote changes detected 20:59:59 2023-09-12 20:59:59,823 [execute] INFO git push origin semver 20:59:59 2023-09-12 20:59:59,823 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:00:00 2023-09-12 21:00:00,606 [run_push] DEBUG push all version tags 21:00:00 2023-09-12 21:00:00,607 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:00:00 2023-09-12 21:00:00,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:00:01 2023-09-12 21:00:01,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:00:01 3.1.0-dev.24 [Pipeline] } 21:00:01 $ docker exec --env ******** --env ******** ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da ssh-agent -k 21:00:01 unset SSH_AUTH_SOCK; 21:00:01 unset SSH_AGENT_PID; 21:00:01 echo Agent pid 39 killed; 21:00:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:02 + git semver [Pipeline] } 21:00:02 $ docker stop --time=1 ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da 21:00:03 $ docker rm -f --volumes ac45d395c18c875d1e76d7dab052a08db0cb626740a60a3e756812eaa401b3da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:00:04 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:00:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:00:04 total 16 21:00:04 drwxr-xr-x 3 root root 4096 Sep 12 20:47 . 21:00:04 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:59 .. 21:00:04 drwxr-xr-x 2 root root 4096 Sep 12 20:47 cost 21:00:04 -rw-r--r-- 1 root root 85 Sep 12 20:47 cost.csv 21:00:04 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:00:04 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:00:04 total 16 21:00:04 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:47 . 21:00:04 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:59 .. 21:00:04 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:47 cost 21:00:04 -rw-r--r-- 1 jenkins jenkins 85 Sep 12 20:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:00:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:00:05 ---> package-listing.sh 21:00:05 ++ facter osfamily 21:00:05 ++ tr '[:upper:]' '[:lower:]' 21:00:05 + OS_FAMILY=debian 21:00:05 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:00:05 + START_PACKAGES=/tmp/packages_start.txt 21:00:05 + END_PACKAGES=/tmp/packages_end.txt 21:00:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:00:05 + PACKAGES=/tmp/packages_start.txt 21:00:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:00:05 + PACKAGES=/tmp/packages_end.txt 21:00:05 + case "${OS_FAMILY}" in 21:00:05 + dpkg -l 21:00:05 + grep '^ii' 21:00:05 + '[' -f /tmp/packages_start.txt ']' 21:00:05 + '[' -f /tmp/packages_end.txt ']' 21:00:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:00:05 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:00:05 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:00:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:00:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:00:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:06 prd-ubuntu20.04-docker-8c-8g-5977 does not seem to be running inside a container 21:00:06 $ 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 21:00:06 $ docker top c8ed4e89fc9a61a863259731a1cb87910ebf9c1c3614e6a0bff7b53eb8415d5a -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:07 + touch /tmp/pre-build-complete [Pipeline] sh 21:00:07 + mkdir -p /var/log/sysstat [Pipeline] sh 21:00:07 + ls /var/log/sa-host 21:00:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:08 provisioning config files... 21:00:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15842257580379360216tmp [Pipeline] { [Pipeline] echo 21:00:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:00:08 ---> create-netrc.sh [Pipeline] } 21:00:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:00:08 ---> python-tools-install.sh [Pipeline] echo 21:00:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:00:09 ---> sudo-logs.sh 21:00:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:00:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:00:09 ---> job-cost.sh 21:00:09 lf-activate-venv: SKIPPING 21:00:09 DEBUG: total: 0.2199999988079071 21:00:09 INFO: Retrieving Stack Cost... 21:00:09 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:10 INFO: Archiving Costs [Pipeline] echo 21:00:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:00:10 ---> logs-deploy.sh 21:00:10 lf-activate-venv: SKIPPING 21:00:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/252 21:00:10 INFO: archiving workspace using pattern(s): 21:00:11 Archives upload complete. 21:00:11 INFO: archiving logs to Nexus