Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 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-ssh131990167035552220.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4100221094396123979.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9371535302772309629.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4614525302792148596.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-ssh17218259596095457429.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5422 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 > 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 Avoid second fetch Checking out Revision 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (main) Commit message: "Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 > git rev-list --no-walk a3c91960d92e52cbdab9fb2db5fec403345ab315 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:45:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:45:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:45:59 ========================================================= 04:45:59 EdgeX Global Pipelines Version Info 04:45:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:46:00 ------------------- 04:46:00 stable info: 04:46:00 ------------------- 04:46:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:46:00 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:46:00 Message: update stable to v1.0.253 04:46:01 ------------------- 04:46:01 experimental info: 04:46:01 ------------------- 04:46:01 Commited By: **** collab-it+edgex@linuxfoundation.org 04:46:01 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:46:01 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44a516e [Pipeline] echo 04:46:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:46:01 provisioning config files... 04:46:01 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1327848460598650897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:02 ---> docker-login.sh 04:46:02 nexus3.edgexfoundry.org:10001 04:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:02 Configure a credential helper to remove this warning. See 04:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:02 04:46:02 Login Succeeded 04:46:02 nexus3.edgexfoundry.org:10002 04:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:02 Configure a credential helper to remove this warning. See 04:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:02 04:46:02 Login Succeeded 04:46:02 nexus3.edgexfoundry.org:10003 04:46:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:02 Configure a credential helper to remove this warning. See 04:46:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:02 04:46:02 Login Succeeded 04:46:02 nexus3.edgexfoundry.org:10004 04:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:03 Configure a credential helper to remove this warning. See 04:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:03 04:46:03 Login Succeeded 04:46:03 docker.io 04:46:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:03 Configure a credential helper to remove this warning. See 04:46:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:03 04:46:03 Login Succeeded 04:46:03 ---> docker-login.sh ends [Pipeline] } 04:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:46:03 + git rev-list -1 --merges 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c~1..44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo 04:46:03 -----------> git rev-list -1 --merges 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c~1..44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 04:46:03 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [false] [Pipeline] sh 04:46:04 + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo 04:46:04 ========================================================= 04:46:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:46:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:46:04 + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] echo 04:46:04 [semverPrep] GIT_COMMIT: 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c, Commit Message: Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29 [Pipeline] echo 04:46:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:46:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:46:04 + grep -v github /etc/ssh/ssh_known_hosts 04:46:04 + [ -e /tmp/ssh_known_hosts ] 04:46:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:46:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:46:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:46:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:46:05 04:46:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:46:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:46:05 b85a868b505f: Pulling fs layer 04:46:05 e2be974225ed: Pulling fs layer 04:46:05 339a4e72a1f5: Pulling fs layer 04:46:05 988bab9f4d93: Pulling fs layer 04:46:05 1469e6f7b9e6: Pulling fs layer 04:46:05 eaf3925da568: Pulling fs layer 04:46:05 bab4dde63d76: Pulling fs layer 04:46:05 bde34c3a00c8: Pulling fs layer 04:46:05 b352a97aabf1: Pulling fs layer 04:46:05 4872d77fe225: Pulling fs layer 04:46:05 5851b861e8e6: Pulling fs layer 04:46:05 bde34c3a00c8: Waiting 04:46:05 1469e6f7b9e6: Waiting 04:46:05 eaf3925da568: Waiting 04:46:05 bab4dde63d76: Waiting 04:46:05 988bab9f4d93: Waiting 04:46:05 b352a97aabf1: Waiting 04:46:05 4872d77fe225: Waiting 04:46:05 5851b861e8e6: Waiting 04:46:05 e2be974225ed: Download complete 04:46:05 988bab9f4d93: Download complete 04:46:05 1469e6f7b9e6: Verifying Checksum 04:46:05 1469e6f7b9e6: Download complete 04:46:05 339a4e72a1f5: Verifying Checksum 04:46:05 339a4e72a1f5: Download complete 04:46:05 eaf3925da568: Verifying Checksum 04:46:05 eaf3925da568: Download complete 04:46:05 bde34c3a00c8: Verifying Checksum 04:46:05 bde34c3a00c8: Download complete 04:46:05 b352a97aabf1: Download complete 04:46:05 4872d77fe225: Verifying Checksum 04:46:05 4872d77fe225: Download complete 04:46:05 5851b861e8e6: Verifying Checksum 04:46:05 b85a868b505f: Verifying Checksum 04:46:05 b85a868b505f: Download complete 04:46:05 bab4dde63d76: Verifying Checksum 04:46:05 bab4dde63d76: Download complete 04:46:06 b85a868b505f: Pull complete 04:46:07 e2be974225ed: Pull complete 04:46:07 339a4e72a1f5: Pull complete 04:46:07 988bab9f4d93: Pull complete 04:46:08 1469e6f7b9e6: Pull complete 04:46:08 eaf3925da568: Pull complete 04:46:09 bab4dde63d76: Pull complete 04:46:09 bde34c3a00c8: Pull complete 04:46:09 b352a97aabf1: Pull complete 04:46:10 4872d77fe225: Pull complete 04:46:10 5851b861e8e6: Pull complete 04:46:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:46:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:46:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:10 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:46:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:46:13 $ docker top 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 -eo pid,comm 04:46: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). 04:46:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:14 [ssh-agent] Looking for ssh-agent implementation... 04:46:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:14 $ docker exec 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent 04:46:14 SSH_AUTH_SOCK=/tmp/ssh-KM2ePSKsmi2K/agent.34 04:46:14 SSH_AGENT_PID=40 04:46:14 Running ssh-add (command line suppressed) 04:46:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_347197436632043182.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_347197436632043182.key) 04:46:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:14 + git tag --points-at HEAD [Pipeline] } 04:46:14 $ docker exec --env ******** --env ******** 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent -k 04:46:14 unset SSH_AUTH_SOCK; 04:46:14 unset SSH_AGENT_PID; 04:46:14 echo Agent pid 40 killed; 04:46:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:46:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:14 [ssh-agent] Looking for ssh-agent implementation... 04:46:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:14 $ docker exec 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent 04:46:15 SSH_AUTH_SOCK=/tmp/ssh-yvOS8JlQyRtX/agent.72 04:46:15 SSH_AGENT_PID=78 04:46:15 Running ssh-add (command line suppressed) 04:46:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1712977585568275720.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1712977585568275720.key) 04:46:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:15 + git semver init 04:46:15 2023-09-06 04:46:15,677 [run_init] DEBUG init version:0.0.0 force:False 04:46:15 2023-09-06 04:46:15,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:46:15 2023-09-06 04:46:15,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:46:15 2023-09-06 04:46:15,678 [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) 04:46:16 2023-09-06 04:46:16,567 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:46:16 2023-09-06 04:46:16,567 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:46:16 2023-09-06 04:46:16,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:46:16 2023-09-06 04:46:16,568 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:46:16 3.1.0-dev.19 [Pipeline] } 04:46:16 $ docker exec --env ******** --env ******** 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 ssh-agent -k 04:46:16 unset SSH_AUTH_SOCK; 04:46:16 unset SSH_AGENT_PID; 04:46:16 echo Agent pid 78 killed; 04:46:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:17 + git semver [Pipeline] } 04:46:17 $ docker stop --time=1 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 04:46:18 $ docker rm -f --volumes 417e609392eb4324c5d650e03d76545ddcc522162cc46216342268f60cac9435 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:46:19 Stashed 1 file(s) [Pipeline] echo 04:46:19 [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [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 04:46:19 provisioning config files... 04:46:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1974046399174125213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:19 ---> docker-login.sh 04:46:19 nexus3.edgexfoundry.org:10001 04:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:19 Configure a credential helper to remove this warning. See 04:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:19 04:46:19 Login Succeeded 04:46:19 nexus3.edgexfoundry.org:10002 04:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:19 Configure a credential helper to remove this warning. See 04:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:19 04:46:19 Login Succeeded 04:46:19 nexus3.edgexfoundry.org:10003 04:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:19 Configure a credential helper to remove this warning. See 04:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:19 04:46:19 Login Succeeded 04:46:19 nexus3.edgexfoundry.org:10004 04:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:19 Configure a credential helper to remove this warning. See 04:46:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:19 04:46:19 Login Succeeded 04:46:19 docker.io 04:46:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:20 Configure a credential helper to remove this warning. See 04:46:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:20 04:46:20 Login Succeeded 04:46:20 ---> docker-login.sh ends [Pipeline] } 04:46:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:20 ========================================================= 04:46:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:46:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46: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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:46:20 Sending build context to Docker daemon 11.09MB 04:46:20 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:46:20 Step 2/10 : FROM ${BASE} AS builder 04:46:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:46:20 4db1b89c0bd1: Pulling fs layer 04:46:20 6911f1a30b25: Pulling fs layer 04:46:20 e194b8c5c2a9: Pulling fs layer 04:46:20 6863d3e3a2b1: Pulling fs layer 04:46:20 ec0bb842ea78: Pulling fs layer 04:46:20 40a00589a448: Pulling fs layer 04:46:20 6c08303d61cc: Pulling fs layer 04:46:20 798269fcf238: Pulling fs layer 04:46:20 ec0bb842ea78: Waiting 04:46:20 6863d3e3a2b1: Waiting 04:46:20 40a00589a448: Waiting 04:46:20 6c08303d61cc: Waiting 04:46:20 798269fcf238: Waiting 04:46:20 6911f1a30b25: Verifying Checksum 04:46:20 6911f1a30b25: Download complete 04:46:20 6863d3e3a2b1: Verifying Checksum 04:46:20 6863d3e3a2b1: Download complete 04:46:20 4db1b89c0bd1: Download complete 04:46:20 ec0bb842ea78: Download complete 04:46:20 40a00589a448: Verifying Checksum 04:46:20 40a00589a448: Download complete 04:46:20 4db1b89c0bd1: Pull complete 04:46:21 6911f1a30b25: Pull complete 04:46:21 798269fcf238: Verifying Checksum 04:46:21 798269fcf238: Download complete 04:46:21 e194b8c5c2a9: Verifying Checksum 04:46:21 e194b8c5c2a9: Download complete 04:46:21 6c08303d61cc: Verifying Checksum 04:46:24 e194b8c5c2a9: Pull complete 04:46:25 6863d3e3a2b1: Pull complete 04:46:25 ec0bb842ea78: Pull complete 04:46:25 40a00589a448: Pull complete 04:46:27 6c08303d61cc: Pull complete 04:46:29 798269fcf238: Pull complete 04:46:29 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:46:29 ---> ec979cd7f677 04:46:29 Step 3/10 : ARG MAKE=make build 04:46:33 ---> Running in 24b03c46fac9 04:46:33 Removing intermediate container 24b03c46fac9 04:46:33 ---> 0528047905a5 04:46:33 Step 4/10 : WORKDIR /device-sdk-go 04:46:33 ---> Running in 0b5af9298eaf 04:46:33 Removing intermediate container 0b5af9298eaf 04:46:33 ---> 313240c9da3d 04:46:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:46:33 ---> Running in 623901faebe2 04:46:33 Removing intermediate container 623901faebe2 04:46:33 ---> 88b368f01d8a 04:46:33 Step 6/10 : RUN apk add --update --no-cache make git 04:46:33 ---> Running in 4390a7286c0e 04:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:46:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:46:34 OK: 265 MiB in 53 packages 04:46:34 Still waiting to schedule task 04:46:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:46:34 Removing intermediate container 4390a7286c0e 04:46:34 ---> 178519ded076 04:46:34 Step 7/10 : COPY go.mod vendor* ./ 04:46:34 ---> 0f24fa5399ae 04:46:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:34 ---> Running in f789e8a47078 04:47:31 Removing intermediate container f789e8a47078 04:47:31 ---> c9ecd228adf9 04:47:31 Step 9/10 : COPY . . 04:47:31 ---> 3722d143b166 04:47:31 Step 10/10 : RUN ${MAKE} 04:47:31 ---> Running in 9a00b1b1c469 04:47:31 noop 04:47:31 Removing intermediate container 9a00b1b1c469 04:47:31 ---> 7fa334ef915a 04:47:31 Successfully built 7fa334ef915a 04:47:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:31 + docker inspect -f . ci-base-image-x86_64 04:47:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:31 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:47:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:31 $ docker top 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:32 + go version 04:47:32 go version go1.20.6 linux/amd64 [Pipeline] } 04:47:32 $ docker stop --time=1 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 04:47:33 $ docker rm -f --volumes 76f2b6c4906f50af29062e3af5820f64acd0ae3ff5b062b24e416257e6d91821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:33 + docker inspect -f . ci-base-image-x86_64 04:47:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:33 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:47:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:47:34 $ docker top 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:47:34 + make test 04:47:34 go test -race -coverprofile=coverage.out ./... 04:47:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:47:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.093s coverage: 27.6% of statements 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:47:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 80.2% of statements 04:47:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 86.0% of statements 04:47:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:47:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 71.8% of statements 04:47:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:47:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:47:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:48:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.076s coverage: 14.1% of statements 04:48:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.950s coverage: 43.8% of statements 04:48:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements 04:48:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.141s coverage: 89.2% of statements 04:48:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements 04:48:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5423 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:48:02 Running in /w/workspace/device-sdk-go/248 [Pipeline] { [Pipeline] checkout 04:48:02 The recommended git tool is: git 04:48:07 using credential edgex-jenkins-ssh 04:48:07 Cloning the remote Git repository 04:48:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:48:07 > git init /w/workspace/device-sdk-go/248 # timeout=10 04:48:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:48:07 > git --version # timeout=10 04:48:07 > git --version # 'git version 2.25.1' 04:48:07 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:48:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:10 Avoid second fetch 04:48:10 Checking out Revision 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (main) 04:48:10 Commit message: "Merge pull request #1505 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.1.0-dev.29" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:10 > git config core.sparsecheckout # timeout=10 04:48:10 > git checkout -f 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 04:48:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:48:11 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:11 Dload Upload Total Spent Left Speed 04:48:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 04:48:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:48:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:48:12 + sudo tee /etc/docker/daemon.new 04:48:12 { 04:48:12 "registry-mirrors": [ 04:48:12 "https://nexus3.edgexfoundry.org:10001" 04:48:12 ], 04:48:12 "bip": "10.250.0.254/24", 04:48:12 "hosts": [ 04:48:12 "tcp://0.0.0.0:5555", 04:48:12 "unix:///var/run/docker.sock" 04:48:12 ], 04:48:12 "mtu": 1458, 04:48:12 "selinux-enabled": true, 04:48:12 "seccomp-profile": "/etc/docker/seccomp.json" 04:48:12 } [Pipeline] sh 04:48:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:48:13 + sudo service docker restart 04:48:22 GO111MODULE=on go vet ./... 04:48:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:48:27 $ docker stop --time=1 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 04:48:31 $ docker rm -f --volumes 49c5b98c9b6654d1ac7b6cb716fe24bd0931c9c006ebebe9a3c4b82a0458b136 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:31 provisioning config files... 04:48:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/248@tmp/config9788019217869448352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:48:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:48:32 ---> docker-login.sh 04:48:32 nexus3.edgexfoundry.org:10001 [Pipeline] sh 04:48:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:32 Configure a credential helper to remove this warning. See 04:48:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:32 04:48:32 Login Succeeded 04:48:32 nexus3.edgexfoundry.org:10002 04:48:33 + ls -al . 04:48:33 total 304 04:48:33 drwxrwxr-x 11 jenkins jenkins 4096 Sep 6 04:47 . 04:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:45 .. 04:48:33 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:45 .dockerignore 04:48:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:46 .git 04:48:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:45 .github 04:48:33 -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:45 .gitignore 04:48:33 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:45 .golangci.yml 04:48:33 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:46 .semver 04:48:33 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:45 CHANGELOG.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:45 GOVERNANCE.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:45 Jenkinsfile 04:48:33 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:45 LICENSE 04:48:33 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:45 Makefile 04:48:33 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:45 OWNERS.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:45 README.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 04:46 VERSION 04:48:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:45 bin 04:48:33 -rw-r--r-- 1 jenkins jenkins 120468 Sep 6 04:48 coverage.out 04:48:33 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:45 example 04:48:33 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:45 go.mod 04:48:33 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:45 go.sum 04:48:33 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:45 internal 04:48:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:45 openapi 04:48:33 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:45 pkg 04:48:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:45 snap 04:48:33 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:45 version.go [Pipeline] isUnix 04:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:33 Configure a credential helper to remove this warning. See 04:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:33 04:48:33 Login Succeeded [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:33 nexus3.edgexfoundry.org:10003 04:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:33 + 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c --label arch=amd64 --label version=3.1.0-dev.19 . 04:48:33 Sending build context to Docker daemon 11.21MB 04:48:33 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:48:33 Step 2/23 : FROM ${BASE} AS builder 04:48:33 ---> 7fa334ef915a 04:48:33 Step 3/23 : ARG MAKE=make build 04:48:33 ---> Running in 63a78f33dc71 04:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:33 Configure a credential helper to remove this warning. See 04:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:33 04:48:33 Login Succeeded 04:48:33 nexus3.edgexfoundry.org:10004 04:48:33 Removing intermediate container 63a78f33dc71 04:48:33 ---> a8cd4bf70b4f 04:48:33 Step 4/23 : WORKDIR /device-sdk-go 04:48:33 ---> Running in 87e3c4adcf84 04:48:33 Removing intermediate container 87e3c4adcf84 04:48:33 ---> f991df776700 04:48:33 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:48:33 ---> Running in 0638b6bac220 04:48:33 Removing intermediate container 0638b6bac220 04:48:33 ---> 470725d070da 04:48:33 Step 6/23 : RUN apk add --update --no-cache make git 04:48:33 ---> Running in 7c42b25f9c17 04:48:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:33 Configure a credential helper to remove this warning. See 04:48:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:33 04:48:33 Login Succeeded 04:48:33 docker.io 04:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:48:34 Configure a credential helper to remove this warning. See 04:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:48:34 04:48:34 Login Succeeded 04:48:34 ---> docker-login.sh ends [Pipeline] } 04:48:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:48:34 OK: 265 MiB in 53 packages [Pipeline] echo 04:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:48:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:48:34 ========================================================= 04:48:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:48:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:34 Removing intermediate container 7c42b25f9c17 04:48:34 ---> ba3bae76778a 04:48:34 Step 7/23 : COPY go.mod vendor* ./ 04:48:35 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 04:48:35 ---> 7cd630cb9444 04:48:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:35 ---> Running in b6a6698be4ad 04:48:35 Sending build context to Docker daemon 5.924MB 04:48:35 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:48:35 Step 2/10 : FROM ${BASE} AS builder 04:48:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:48:35 edb6bdbacee9: Pulling fs layer 04:48:35 5f9638ab2659: Pulling fs layer 04:48:35 8d51d6327a98: Pulling fs layer 04:48:35 8b374f2dd631: Pulling fs layer 04:48:35 ec14aa9079de: Pulling fs layer 04:48:35 2f466654f4bb: Pulling fs layer 04:48:35 554e91adad29: Pulling fs layer 04:48:35 ec14aa9079de: Waiting 04:48:35 2f466654f4bb: Waiting 04:48:35 8b374f2dd631: Waiting 04:48:35 554e91adad29: Waiting 04:48:35 5f9638ab2659: Verifying Checksum 04:48:35 5f9638ab2659: Download complete 04:48:35 8b374f2dd631: Verifying Checksum 04:48:35 8b374f2dd631: Download complete 04:48:35 ec14aa9079de: Verifying Checksum 04:48:35 ec14aa9079de: Download complete 04:48:35 edb6bdbacee9: Verifying Checksum 04:48:35 edb6bdbacee9: Download complete 04:48:35 Removing intermediate container b6a6698be4ad 04:48:35 ---> 9b19e912e451 04:48:35 Step 9/23 : COPY . . 04:48:36 ---> 0b3ff4004376 04:48:36 Step 10/23 : RUN ${MAKE} 04:48:36 edb6bdbacee9: Pull complete 04:48:36 ---> Running in 3a35c5f8eecc 04:48:36 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:48:37 554e91adad29: Verifying Checksum 04:48:37 554e91adad29: Download complete 04:48:37 5f9638ab2659: Pull complete 04:48:38 8d51d6327a98: Verifying Checksum 04:48:38 8d51d6327a98: Download complete 04:48:38 2f466654f4bb: Verifying Checksum 04:48:38 2f466654f4bb: Download complete 04:48:50 8d51d6327a98: Pull complete 04:48:50 8b374f2dd631: Pull complete 04:48:50 ec14aa9079de: Pull complete 04:48:55 2f466654f4bb: Pull complete 04:48:58 554e91adad29: Pull complete 04:48:58 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:48:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:48:58 ---> 1e15ea492957 04:48:58 Step 3/10 : ARG MAKE=make build 04:48:59 ---> Running in f261d38c1312 04:49:00 Removing intermediate container f261d38c1312 04:49:00 ---> a2fffbbb839d 04:49:00 Step 4/10 : WORKDIR /device-sdk-go 04:49:00 ---> Running in eb6a20dc0aab 04:49:00 Removing intermediate container eb6a20dc0aab 04:49:00 ---> 46de7ce8c7dd 04:49:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:49:00 ---> Running in 6968f3fe9525 04:49:00 Removing intermediate container 6968f3fe9525 04:49:00 ---> 98f5caba8b5b 04:49:00 Step 6/10 : RUN apk add --update --no-cache make git 04:49:01 ---> Running in 12896818687e 04:49:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:49:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:49:03 OK: 263 MiB in 53 packages 04:49:03 Removing intermediate container 3a35c5f8eecc 04:49:03 ---> 330fc854fb4a 04:49:03 Step 11/23 : FROM alpine:3.17 04:49:03 3.17: Pulling from library/alpine 04:49:03 9398808236ff: Pulling fs layer 04:49:03 9398808236ff: Pull complete 04:49:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:49:03 Status: Downloaded newer image for alpine:3.17 04:49:03 ---> 1e0b8b5322fc 04:49:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:49:03 ---> Running in e19e7e06013a 04:49:03 Removing intermediate container e19e7e06013a 04:49:03 ---> abd7eb4ba101 04:49:03 Step 13/23 : RUN apk add --update --no-cache 04:49:03 ---> Running in 4cd7a8b506b1 04:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:49:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:49:03 OK: 7 MiB in 15 packages 04:49:03 Removing intermediate container 4cd7a8b506b1 04:49:03 ---> 13385ec51308 04:49:03 Step 14/23 : WORKDIR / 04:49:03 ---> Running in 7c90c43db2f1 04:49:03 Removing intermediate container 7c90c43db2f1 04:49:03 ---> 303005e68fe4 04:49:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:49:03 ---> 66bcae2eb0d5 04:49:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:49:03 ---> e13e1f8ad3d3 04:49:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:49:03 ---> 949dee65ee6b 04:49:03 Step 18/23 : EXPOSE 59999 04:49:03 ---> Running in 7b293f42514f 04:49:03 Removing intermediate container 7b293f42514f 04:49:03 ---> 812b33ef8e33 04:49:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:49:03 ---> Running in 3f9e58f01ea8 04:49:03 Removing intermediate container 3f9e58f01ea8 04:49:03 ---> a7a3fc1d0ae1 04:49:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:49:03 ---> Running in 27e21095009f 04:49:03 Removing intermediate container 27e21095009f 04:49:03 ---> 911b52016311 04:49:03 Step 21/23 : LABEL arch=amd64 04:49:03 ---> Running in d73240a12bb6 04:49:03 Removing intermediate container d73240a12bb6 04:49:03 ---> dc4a9832eb7c 04:49:03 Step 22/23 : LABEL git_sha=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 04:49:03 ---> Running in 1c23a31f1de0 04:49:03 Removing intermediate container 1c23a31f1de0 04:49:03 ---> 38294151bed3 04:49:03 Step 23/23 : LABEL version=3.1.0-dev.19 04:49:03 ---> Running in 00e304cf1759 04:49:03 Removing intermediate container 00e304cf1759 04:49:03 ---> 731e000fe209 04:49:03 [Warning] One or more build-args [ARCH] were not consumed 04:49:03 Successfully built 731e000fe209 04:49:03 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 04:49:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:04 04:49:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:04 Removing intermediate container 12896818687e 04:49:04 ---> 7d49840aac05 04:49:04 Step 7/10 : COPY go.mod vendor* ./ 04:49:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:04 latest: Pulling from edgex-lftools-log-publisher 04:49:04 5eb5b503b376: Pulling fs layer 04:49:04 5c69ac0246d0: Pulling fs layer 04:49:04 ec43610c2a17: Pulling fs layer 04:49:04 3a2ae6a8a46f: Pulling fs layer 04:49:04 33b1e0a273af: Pulling fs layer 04:49:04 5d3b04190fa2: Pulling fs layer 04:49:04 2f39f015ded8: Pulling fs layer 04:49:04 3a2ae6a8a46f: Waiting 04:49:04 33b1e0a273af: Waiting 04:49:04 5d3b04190fa2: Waiting 04:49:04 2f39f015ded8: Waiting 04:49:04 5c69ac0246d0: Verifying Checksum 04:49:04 5c69ac0246d0: Download complete 04:49:04 3a2ae6a8a46f: Verifying Checksum 04:49:04 3a2ae6a8a46f: Download complete 04:49:04 33b1e0a273af: Verifying Checksum 04:49:04 33b1e0a273af: Download complete 04:49:04 5d3b04190fa2: Verifying Checksum 04:49:04 5d3b04190fa2: Download complete 04:49:04 ec43610c2a17: Verifying Checksum 04:49:04 ec43610c2a17: Download complete 04:49:04 5eb5b503b376: Verifying Checksum 04:49:04 5eb5b503b376: Download complete 04:49:04 ---> 32c25579a580 04:49:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:49:04 ---> Running in f3830014c6de 04:49:05 2f39f015ded8: Download complete 04:49:06 5eb5b503b376: Pull complete 04:49:06 5c69ac0246d0: Pull complete 04:49:06 ec43610c2a17: Pull complete 04:49:06 3a2ae6a8a46f: Pull complete 04:49:06 33b1e0a273af: Pull complete 04:49:06 5d3b04190fa2: Pull complete 04:49:11 2f39f015ded8: Pull complete 04:49:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:49:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:49:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:11 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:49:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:49:16 $ docker top 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:16 ---> job-cost.sh 04:49:16 lf-activate-venv: SKIPPING 04:49:16 INFO: No Stack... 04:49:17 INFO: Retrieving Pricing Info for: v3-standard-8 04:49:17 INFO: Archiving Costs [Pipeline] sh 04:49:17 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:49:17 + cut -d, -f6 [Pipeline] lock 04:49:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] 04:49:17 Resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] did not exist. Created. 04:49:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:49:18 + echo total: 0.2199999988079071 [Pipeline] stash 04:49:18 Stashed 1 file(s) [Pipeline] } 04:49:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] // lock [Pipeline] } 04:49:18 $ docker stop --time=1 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 04:49:19 $ docker rm -f --volumes 7931ec18b71f9dd7d33df5cb6f122890be37eb6382eb96357cbe6c4d75c55224 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:12 Removing intermediate container f3830014c6de 04:50:12 ---> 78510f3fbc6d 04:50:12 Step 9/10 : COPY . . 04:50:12 ---> 1a4409413cde 04:50:12 Step 10/10 : RUN ${MAKE} 04:50:12 ---> Running in 01bf7570c19a 04:50:12 noop 04:50:12 Removing intermediate container 01bf7570c19a 04:50:12 ---> 710c56f7a4a2 04:50:12 Successfully built 710c56f7a4a2 04:50:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:13 + docker inspect -f . ci-base-image-arm64 04:50:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:13 prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container 04:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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 04:50:14 $ docker top a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:15 + go version 04:50:15 go version go1.20.6 linux/arm64 [Pipeline] } 04:50:15 $ docker stop --time=1 a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 04:50:17 $ docker rm -f --volumes a639df6d4dfc32471618cc64dcbc1e5c6b7abd02fac98893b8261bc1a375b313 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:17 + docker inspect -f . ci-base-image-arm64 04:50:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:17 prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container 04:50:18 $ 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/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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 04:50:19 $ docker top 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:19 + git config --global --add safe.directory /w/workspace/device-sdk-go/248 [Pipeline] fileExists [Pipeline] sh 04:50:20 + make test 04:50:20 go test -race -coverprofile=coverage.out ./... 04:50:59 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:53:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.232s coverage: 27.6% of statements 04:53:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.260s coverage: 80.2% of statements 04:53:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:53:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:53:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.364s coverage: 86.0% of statements 04:53:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:53:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.482s coverage: 71.8% of statements 04:53:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.284s coverage: 14.1% of statements 04:53:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:53:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.261s coverage: 43.8% of statements 04:53:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.407s coverage: 68.5% of statements 04:53:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.427s coverage: 89.2% of statements 04:53:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:53:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.247s coverage: 5.5% of statements 04:53:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:53:44 GO111MODULE=on go vet ./... 04:56:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:56:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:56:06 ./bin/test-attribution-txt.sh [Pipeline] echo 04:56:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:56:06 $ docker stop --time=1 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 04:56:08 $ docker rm -f --volumes 992c78fb60f637f93a03ed8b7811fbe5d3a8fb85609045b4d1f06a0c3d9c4493 [Pipeline] // withDockerContainer [Pipeline] sh 04:56:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:56:10 Warning: overwriting stash ‘coverage-report’ 04:56:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:56:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:56:11 + ls -al . 04:56:11 total 300 04:56:11 drwxrwxr-x 10 jenkins jenkins 4096 Sep 6 04:50 . 04:56:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:48 .. 04:56:11 -rw-rw-r-- 1 jenkins jenkins 140 Sep 6 04:48 .dockerignore 04:56:11 drwxrwxr-x 8 jenkins jenkins 4096 Sep 6 04:48 .git 04:56:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:48 .github 04:56:11 -rw-rw-r-- 1 jenkins jenkins 137 Sep 6 04:48 .gitignore 04:56:11 -rw-rw-r-- 1 jenkins jenkins 42 Sep 6 04:48 .golangci.yml 04:56:11 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 6 04:48 CHANGELOG.md 04:56:11 -rw-rw-r-- 1 jenkins jenkins 677 Sep 6 04:48 GOVERNANCE.md 04:56:11 -rw-rw-r-- 1 jenkins jenkins 885 Sep 6 04:48 Jenkinsfile 04:56:11 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 6 04:48 LICENSE 04:56:11 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 6 04:48 Makefile 04:56:11 -rw-rw-r-- 1 jenkins jenkins 619 Sep 6 04:48 OWNERS.md 04:56:11 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 6 04:48 README.md 04:56:11 -rw-rw-r-- 1 jenkins jenkins 12 Sep 6 04:46 VERSION 04:56:11 drwxrwxr-x 2 jenkins jenkins 4096 Sep 6 04:48 bin 04:56:11 -rw-r--r-- 1 jenkins jenkins 120468 Sep 6 04:53 coverage.out 04:56:11 drwxrwxr-x 5 jenkins jenkins 4096 Sep 6 04:48 example 04:56:11 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 6 04:48 go.mod 04:56:11 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 6 04:48 go.sum 04:56:11 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 04:48 internal 04:56:11 drwxrwxr-x 3 jenkins jenkins 4096 Sep 6 04:48 openapi 04:56:11 drwxrwxr-x 6 jenkins jenkins 4096 Sep 6 04:48 pkg 04:56:11 drwxrwxr-x 4 jenkins jenkins 4096 Sep 6 04:48 snap 04:56:11 -rw-rw-r-- 1 jenkins jenkins 222 Sep 6 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:56:11 + 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c --label arch=arm64 --label version=3.1.0-dev.19 . 04:56:12 Sending build context to Docker daemon 6.046MB 04:56:12 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:56:12 Step 2/23 : FROM ${BASE} AS builder 04:56:12 ---> 710c56f7a4a2 04:56:12 Step 3/23 : ARG MAKE=make build 04:56:12 ---> Running in e530e9459125 04:56:12 Removing intermediate container e530e9459125 04:56:12 ---> 685da667d83b 04:56:12 Step 4/23 : WORKDIR /device-sdk-go 04:56:12 ---> Running in 5c5ef691da91 04:56:13 Removing intermediate container 5c5ef691da91 04:56:13 ---> 92326cb02a4a 04:56:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:56:13 ---> Running in 85a365e7ec63 04:56:13 Removing intermediate container 85a365e7ec63 04:56:13 ---> f806ffa8317c 04:56:13 Step 6/23 : RUN apk add --update --no-cache make git 04:56:13 ---> Running in 59d425700dd4 04:56:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:56:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:56:16 OK: 263 MiB in 53 packages 04:56:16 Removing intermediate container 59d425700dd4 04:56:16 ---> fba959fb4335 04:56:16 Step 7/23 : COPY go.mod vendor* ./ 04:56:17 ---> 6b292057a2ef 04:56:17 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:56:17 ---> Running in 96a7e160673a 04:56:19 Removing intermediate container 96a7e160673a 04:56:19 ---> 6321256d9dd9 04:56:19 Step 9/23 : COPY . . 04:56:22 ---> 1419f6f0890e 04:56:22 Step 10/23 : RUN ${MAKE} 04:56:22 ---> Running in 2c0fd492797b 04:56:23 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=3.1.0-dev.19" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:58:44 Removing intermediate container 2c0fd492797b 04:58:44 ---> e8aeb10ae44c 04:58:44 Step 11/23 : FROM alpine:3.17 04:58:44 3.17: Pulling from library/alpine 04:58:44 4060ece20d7a: Pulling fs layer 04:58:44 4060ece20d7a: Verifying Checksum 04:58:44 4060ece20d7a: Pull complete 04:58:44 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:58:44 Status: Downloaded newer image for alpine:3.17 04:58:44 ---> 8650cd65339b 04:58:44 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:44 ---> Running in bb933c73b71a 04:58:44 Removing intermediate container bb933c73b71a 04:58:44 ---> 44047a2dbcc8 04:58:44 Step 13/23 : RUN apk add --update --no-cache 04:58:44 ---> Running in 19d2bd81e9a9 04:58:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:58:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:58:44 OK: 7 MiB in 15 packages 04:58:44 Removing intermediate container 19d2bd81e9a9 04:58:44 ---> b6092fbdd9c2 04:58:44 Step 14/23 : WORKDIR / 04:58:44 ---> Running in a3c51803b403 04:58:44 Removing intermediate container a3c51803b403 04:58:44 ---> 1f80c994c17a 04:58:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:58:44 ---> 8ae34f630eba 04:58:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:58:44 ---> b60034e4cfde 04:58:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:58:44 ---> c472cf4bbcb9 04:58:44 Step 18/23 : EXPOSE 59999 04:58:44 ---> Running in 8e8cf91ad9df 04:58:44 Removing intermediate container 8e8cf91ad9df 04:58:44 ---> ed49ac073835 04:58:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:58:44 ---> Running in cce05423fa14 04:58:44 Removing intermediate container cce05423fa14 04:58:44 ---> 25f19af29fcd 04:58:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:58:44 ---> Running in 1bd2bcc93f2d 04:58:44 Removing intermediate container 1bd2bcc93f2d 04:58:44 ---> a2e51eece5a5 04:58:44 Step 21/23 : LABEL arch=arm64 04:58:44 ---> Running in 979e47110410 04:58:44 Removing intermediate container 979e47110410 04:58:44 ---> 7aeb57e1c41e 04:58:44 Step 22/23 : LABEL git_sha=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c 04:58:44 ---> Running in 9d98b941e223 04:58:44 Removing intermediate container 9d98b941e223 04:58:44 ---> db772c61d5e5 04:58:44 Step 23/23 : LABEL version=3.1.0-dev.19 04:58:44 ---> Running in dd9bf75595cc 04:58:44 Removing intermediate container dd9bf75595cc 04:58:44 ---> d81364a34458 04:58:44 [Warning] One or more build-args [ARCH] were not consumed 04:58:44 Successfully built d81364a34458 04:58:44 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 04:58:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:45 04:58:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:58:45 arm64: Pulling from edgex-lftools-log-publisher 04:58:45 8998bd30e6a1: Pulling fs layer 04:58:45 04944245beec: Pulling fs layer 04:58:45 699f458cf7ca: Pulling fs layer 04:58:45 765212b225bb: Pulling fs layer 04:58:45 f23df028b6ca: Pulling fs layer 04:58:45 d65c8cfc05b1: Pulling fs layer 04:58:45 2437ff75d9bd: Pulling fs layer 04:58:45 f23df028b6ca: Waiting 04:58:45 d65c8cfc05b1: Waiting 04:58:45 2437ff75d9bd: Waiting 04:58:45 765212b225bb: Waiting 04:58:45 04944245beec: Verifying Checksum 04:58:45 04944245beec: Download complete 04:58:45 765212b225bb: Verifying Checksum 04:58:45 765212b225bb: Download complete 04:58:45 f23df028b6ca: Verifying Checksum 04:58:45 f23df028b6ca: Download complete 04:58:45 d65c8cfc05b1: Verifying Checksum 04:58:45 d65c8cfc05b1: Download complete 04:58:45 699f458cf7ca: Verifying Checksum 04:58:45 699f458cf7ca: Download complete 04:58:46 8998bd30e6a1: Verifying Checksum 04:58:46 8998bd30e6a1: Download complete 04:58:48 2437ff75d9bd: Verifying Checksum 04:58:48 2437ff75d9bd: Download complete 04:58:51 8998bd30e6a1: Pull complete 04:58:51 04944245beec: Pull complete 04:58:52 699f458cf7ca: Pull complete 04:58:53 765212b225bb: Pull complete 04:58:53 f23df028b6ca: Pull complete 04:58:54 d65c8cfc05b1: Pull complete 04:59:09 2437ff75d9bd: Pull complete 04:59:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:59:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:59:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:09 prd-ubuntu20.04-docker-arm64-4c-16g-5423 does not seem to be running inside a container 04:59:09 $ 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/248 -v /w/workspace/device-sdk-go/248:/w/workspace/device-sdk-go/248:rw,z -v /w/workspace/device-sdk-go/248@tmp:/w/workspace/device-sdk-go/248@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 04:59:11 $ docker top eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:12 ---> job-cost.sh 04:59:12 lf-activate-venv: SKIPPING 04:59:12 INFO: No Stack... 04:59:12 INFO: Retrieving Pricing Info for: v3-standard-4 04:59:13 INFO: Archiving Costs [Pipeline] sh 04:59:13 + cat /w/workspace/device-sdk-go/248/archives/cost.csv 04:59:13 + cut -d, -f6 [Pipeline] lock 04:59:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] 04:59:13 Resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] did not exist. Created. 04:59:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:59:14 /w/workspace/device-sdk-go/248@tmp/durable-a425bdc7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:59:14 + echo total: 0.10999999940395355 [Pipeline] stash 04:59:14 Warning: overwriting stash ‘stack-cost’ 04:59:14 Stashed 1 file(s) [Pipeline] } 04:59:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-248-stack-cost] [Pipeline] // lock [Pipeline] } 04:59:15 $ docker stop --time=1 eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 04:59:18 $ docker rm -f --volumes eaac0a7a4596a15e3b52bb0d66fc05b1a7e0c9117e78a89c2f2c628d5fba6b52 [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 04:59:18 provisioning config files... 04:59:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6094652725373919748tmp [Pipeline] { [Pipeline] sh 04:59:18 + set +x 04:59:18 + bash -s -- 04:59:18 + curl -s https://codecov.io/bash 04:59:18 04:59:18 _____ _ 04:59:18 / ____| | | 04:59:18 | | ___ __| | ___ ___ _____ __ 04:59:18 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:59:18 | |___| (_) | (_| | __/ (_| (_) \ V / 04:59:18 \_____\___/ \__,_|\___|\___\___/ \_/ 04:59:18 Bash-1.0.6 04:59:18 04:59:18 04:59:18 ==> git version 2.25.1 found 04:59:18 ==> 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 04:59:18 Release-Date: 2020-01-08 04:59:18 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:59:18 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:59:18 ==> Jenkins CI detected. 04:59:18 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:59:18 project root: . 04:59:18 --> token set from env 04:59:18 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:59:18 ==> Running gcov in . (disable via -X gcov) 04:59:18 ==> Python coveragepy not found 04:59:18 ==> Searching for coverage reports in: 04:59:18 + . 04:59:19 -> Found 1 reports 04:59:19 ==> Detecting git/mercurial file structure 04:59:19 ==> Reading reports 04:59:19 + ./coverage.out bytes=120468 04:59:19 ==> Appending adjustments 04:59:19 https://docs.codecov.io/docs/fixing-reports 04:59:19 + Found adjustments 04:59:19 ==> Gzipping contents 04:59:19 20K /tmp/codecov.KNCl8L.gz 04:59:19 ==> Uploading reports 04:59:19 url: https://codecov.io 04:59:19 query: branch=main&commit=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c&build=248&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F248%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:59:19 -> Pinging Codecov 04:59:19 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=44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c&build=248&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F248%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:59:19 -> Uploading to 04:59:19 https://storage.googleapis.com/codecov/v4/raw/2023-09-06/7E55EF52A471D76F132DFD9A03CDDE97/44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c/bf512057-29af-48d4-8d08-5ed16606fab1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230906%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230906T045919Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=115defedbe63e8d92d8dd500a48a4bd162961d47466d085897e81b4121433c55 04:59:19 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:19 Dload Upload Total Spent Left Speed 04:59:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16426 0 0 100 16426 0 80126 --:--:-- --:--:-- --:--:-- 79737 100 16426 0 0 100 16426 0 80126 --:--:-- --:--:-- --:--:-- 79737 04:59:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] } 04:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:59:20 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:59:20 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:59:20 04:59:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:59:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:59:20 df9b9388f04a: Pulling fs layer 04:59:20 52dc419b0ee2: Pulling fs layer 04:59:20 25bc292e5bac: Pulling fs layer 04:59:20 114826534d7a: Pulling fs layer 04:59:20 4657fd5d0bcf: Pulling fs layer 04:59:20 6ad1cebc031e: Pulling fs layer 04:59:20 8a3aa393b2d8: Pulling fs layer 04:59:20 114826534d7a: Waiting 04:59:20 4657fd5d0bcf: Waiting 04:59:20 6ad1cebc031e: Waiting 04:59:20 8a3aa393b2d8: Waiting 04:59:20 25bc292e5bac: Download complete 04:59:20 52dc419b0ee2: Verifying Checksum 04:59:20 52dc419b0ee2: Download complete 04:59:20 4657fd5d0bcf: Verifying Checksum 04:59:20 4657fd5d0bcf: Download complete 04:59:20 df9b9388f04a: Verifying Checksum 04:59:20 df9b9388f04a: Download complete 04:59:20 6ad1cebc031e: Verifying Checksum 04:59:20 6ad1cebc031e: Download complete 04:59:20 df9b9388f04a: Pull complete 04:59:20 52dc419b0ee2: Pull complete 04:59:21 25bc292e5bac: Pull complete 04:59:21 114826534d7a: Verifying Checksum 04:59:21 114826534d7a: Download complete 04:59:21 8a3aa393b2d8: Verifying Checksum 04:59:21 8a3aa393b2d8: Download complete 04:59:25 114826534d7a: Pull complete 04:59:25 4657fd5d0bcf: Pull complete 04:59:25 6ad1cebc031e: Pull complete 04:59:29 8a3aa393b2d8: Pull complete 04:59:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:59:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:59:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:29 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:59:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:59:33 $ docker top 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 -eo pid,comm [Pipeline] { [Pipeline] echo 04:59:33 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:59:33 + set -o pipefail 04:59:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:59:39 04:59:39 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:59:39 04:59:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/13578b84-71fa-4397-a350-7bd4dd649e83 04:59:39 04:59:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:59:39 04:59:39 04:59:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:59:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:59:39 More details here: https://snyk.co/ue1NS 04:59:39 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 04:59:39 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:59:39 $ docker stop --time=1 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 04:59:43 $ docker rm -f --volumes 95ba64f452447470ebb4b5a0f19c9afc30f13152c79b185fed45765bcd51d299 [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 04:59:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:59:43 provisioning config files... 04:59:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4649322706476741226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:59:43 --> edgex-publish-swagger.sh 04:59:43 === Publish openapi/v3 API === 04:59:43 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:59:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:59:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:59:43 Dload Upload Total Spent Left Speed 04:59:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 51131 --:--:-- --:--:-- --:--:-- 51021 04:59:44 04:59:44 [Pipeline] } 04:59:44 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 04:59:44 + git log --format=format:%s -1 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c [Pipeline] sh 04:59:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:59:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:59:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:45 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:59:45 $ docker top 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 -eo pid,comm 04:59:45 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). 04:59:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:59:45 [ssh-agent] Looking for ssh-agent implementation... 04:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:59:45 $ docker exec 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 ssh-agent 04:59:45 SSH_AUTH_SOCK=/tmp/ssh-D1sbQqrmGjtb/agent.31 04:59:45 SSH_AGENT_PID=37 04:59:45 Running ssh-add (command line suppressed) 04:59:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1888202983739990385.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1888202983739990385.key) 04:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:59:46 + git semver tag 04:59:46 2023-09-06 04:59:46,531 [run_tag] DEBUG tag force:False 04:59:46 2023-09-06 04:59:46,531 [check_head_tag] DEBUG check head tag 04:59:46 2023-09-06 04:59:46,532 [execute] INFO git cat-file --batch-check 04:59:46 2023-09-06 04:59:46,532 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:59:46 2023-09-06 04:59:46,537 [execute] INFO git cat-file --batch 04:59:46 2023-09-06 04:59:46,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:59:46 2023-09-06 04:59:46,553 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:59:46 2023-09-06 04:59:46,553 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 04:59:46 2023-09-06 04:59:46,553 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:59:46 2023-09-06 04:59:46,559 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:59:46 3.1.0-dev.19 [Pipeline] } 04:59:46 $ docker exec --env ******** --env ******** 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 ssh-agent -k 04:59:46 unset SSH_AUTH_SOCK; 04:59:46 unset SSH_AGENT_PID; 04:59:46 echo Agent pid 37 killed; 04:59:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:59:47 + git semver [Pipeline] } 04:59:47 $ docker stop --time=1 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 04:59:48 $ docker rm -f --volumes 0e1922f04012f7783b9e119923852e8cbd640b56cb51f408e7390fb2d2b0c1e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:48 04:59:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:49 0.23.1-centos7: Pulling from edgex-lftools 04:59:49 ab5ef0e58194: Pulling fs layer 04:59:49 9712f1f96733: Pulling fs layer 04:59:49 63f879dbbcfc: Pulling fs layer 04:59:49 0d9ebad4ef96: Pulling fs layer 04:59:49 e9a5061849ea: Pulling fs layer 04:59:49 d747dcd14b5f: Pulling fs layer 04:59:49 2de7ff778b66: Pulling fs layer 04:59:49 d747dcd14b5f: Waiting 04:59:49 e9a5061849ea: Waiting 04:59:49 2de7ff778b66: Waiting 04:59:49 0d9ebad4ef96: Waiting 04:59:49 9712f1f96733: Verifying Checksum 04:59:49 9712f1f96733: Download complete 04:59:49 63f879dbbcfc: Verifying Checksum 04:59:49 63f879dbbcfc: Download complete 04:59:49 e9a5061849ea: Verifying Checksum 04:59:49 e9a5061849ea: Download complete 04:59:49 d747dcd14b5f: Download complete 04:59:50 0d9ebad4ef96: Verifying Checksum 04:59:50 0d9ebad4ef96: Download complete 04:59:50 ab5ef0e58194: Download complete 04:59:50 2de7ff778b66: Verifying Checksum 04:59:50 2de7ff778b66: Download complete 04:59:53 ab5ef0e58194: Pull complete 04:59:53 9712f1f96733: Pull complete 04:59:53 63f879dbbcfc: Pull complete 04:59:58 0d9ebad4ef96: Pull complete 04:59:58 e9a5061849ea: Pull complete 04:59:58 d747dcd14b5f: Pull complete 04:59:59 2de7ff778b66: Pull complete 04:59:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:59:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:59:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:59:59 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 04:59:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:00:16 $ docker top 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:00:16 provisioning config files... 05:00:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13097773722305243677tmp 05:00:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15638852833526566176tmp 05:00:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4377606083432507226tmp [Pipeline] { [Pipeline] echo 05:00:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:00:18 ---> sigul-configuration.sh 05:00:18 gpg: directory `/root/.gnupg' created 05:00:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:00:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:00:18 gpg: keyring `/root/.gnupg/secring.gpg' created 05:00:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:00:18 gpg: CAST5 encrypted data 05:00:18 gpg: encrypted with 1 passphrase 05:00:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:00:18 + mkdir /home/jenkins 05:00:18 + mkdir /home/jenkins/sigul [Pipeline] sh 05:00:19 + 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 05:00:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:00:19 ---> sigul-install.sh 05:00:19 Sigul already installed; skipping installation. [Pipeline] sh 05:00:19 + git tag --list 05:00:19 0.7.1 05:00:19 delhi-tag 05:00:19 v1.0.0 05:00:19 v1.1.0 05:00:19 v1.1.1 05:00:19 v1.1.2 05:00:19 v1.2.0 05:00:19 v1.2.1 05:00:19 v1.2.2 05:00:19 v1.2.3 05:00:19 v1.3.0 05:00:19 v1.4.0 05:00:19 v2.0.0 05:00:19 v2.1.0 05:00:19 v2.1.1 05:00:19 v2.2.0 05:00:19 v2.3.0 05:00:19 v2.3.1 05:00:19 v3.0 05:00:19 v3.0.0 05:00:19 v3.0.1-dev.1 05:00:19 v3.1.0-dev.1 05:00:19 v3.1.0-dev.10 05:00:19 v3.1.0-dev.11 05:00:19 v3.1.0-dev.12 05:00:19 v3.1.0-dev.13 05:00:19 v3.1.0-dev.14 05:00:19 v3.1.0-dev.15 05:00:19 v3.1.0-dev.16 05:00:19 v3.1.0-dev.17 05:00:19 v3.1.0-dev.18 05:00:19 v3.1.0-dev.19 05:00:19 v3.1.0-dev.2 05:00:19 v3.1.0-dev.3 05:00:19 v3.1.0-dev.4 05:00:19 v3.1.0-dev.5 05:00:19 v3.1.0-dev.6 05:00:19 v3.1.0-dev.7 05:00:19 v3.1.0-dev.8 05:00:19 v3.1.0-dev.9 [Pipeline] sh 05:00:19 + lftools sign git-tag v3.1.0-dev.19 05:00:20 Signing Git tag with Sigul... 05:00:20 Signing v3.1.0-dev.19 [Pipeline] echo 05:00:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:00:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:00:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:00:21 $ docker stop --time=1 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b 05:00:22 $ docker rm -f --volumes 692129edf52ea583d852d3c62d3ce98a82e81e781cd59b95e5e1465f4acfb38b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:00:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:23 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 05:00:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:23 $ docker top c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 -eo pid,comm 05:00:24 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). 05:00:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:24 [ssh-agent] Looking for ssh-agent implementation... 05:00:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:24 $ docker exec c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 ssh-agent 05:00:24 SSH_AUTH_SOCK=/tmp/ssh-tjuqpxAAqrk7/agent.31 05:00:24 SSH_AGENT_PID=37 05:00:24 Running ssh-add (command line suppressed) 05:00:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4455987890949569723.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4455987890949569723.key) 05:00:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:24 + git semver bump pre 05:00:24 2023-09-06 05:00:24,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:24 2023-09-06 05:00:24,916 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev 05:00:24 2023-09-06 05:00:24,916 [bump_version] DEBUG bumped version:3.1.0-dev.20 05:00:24 2023-09-06 05:00:24,916 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:00:24 2023-09-06 05:00:24,916 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:24 2023-09-06 05:00:24,916 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:24 2023-09-06 05:00:24,919 [execute] INFO git cat-file --batch-check 05:00:24 2023-09-06 05:00:24,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:24 2023-09-06 05:00:24,924 [execute] INFO git cat-file --batch 05:00:24 2023-09-06 05:00:24,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:24 2023-09-06 05:00:24,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:24 3.1.0-dev.20 [Pipeline] } 05:00:24 $ docker exec --env ******** --env ******** c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 ssh-agent -k 05:00:25 unset SSH_AUTH_SOCK; 05:00:25 unset SSH_AGENT_PID; 05:00:25 echo Agent pid 37 killed; 05:00:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:25 + git semver [Pipeline] } 05:00:25 $ docker stop --time=1 c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 05:00:26 $ docker rm -f --volumes c35c8a910e114139db6e212a25822b5799886230986c29cd7eb002036c362733 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:00:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:00:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:27 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 05:00:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:00:28 $ docker top b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:00:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:00:28 [ssh-agent] Looking for ssh-agent implementation... 05:00:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:00:28 $ docker exec b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 ssh-agent 05:00:28 SSH_AUTH_SOCK=/tmp/ssh-SmtL3rnUTuPB/agent.34 05:00:28 SSH_AGENT_PID=40 05:00:28 Running ssh-add (command line suppressed) 05:00:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9280247562852859956.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9280247562852859956.key) 05:00:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:00:28 + git semver push 05:00:29 2023-09-06 05:00:28,983 [run_push] DEBUG push 05:00:29 2023-09-06 05:00:28,983 [execute] INFO git cat-file --batch-check 05:00:29 2023-09-06 05:00:28,984 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:00:29 2023-09-06 05:00:28,988 [execute] INFO git rev-list 008f92dd39c215414e1d4fd596cfd4ea065671bd -- 05:00:29 2023-09-06 05:00:28,988 [execute] DEBUG Popen(['git', 'rev-list', '008f92dd39c215414e1d4fd596cfd4ea065671bd', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:00:29 2023-09-06 05:00:29,001 [execute] INFO git fetch -v origin 05:00:29 2023-09-06 05:00:29,002 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:00:29 2023-09-06 05:00:29,464 [run_push] DEBUG no remote changes detected 05:00:29 2023-09-06 05:00:29,464 [execute] INFO git push origin semver 05:00:29 2023-09-06 05:00:29,465 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:00:30 2023-09-06 05:00:30,376 [run_push] DEBUG push all version tags 05:00:30 2023-09-06 05:00:30,377 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:00:30 2023-09-06 05:00:30,378 [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) 05:00:31 2023-09-06 05:00:31,171 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:00:31 3.1.0-dev.20 [Pipeline] } 05:00:31 $ docker exec --env ******** --env ******** b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 ssh-agent -k 05:00:31 unset SSH_AUTH_SOCK; 05:00:31 unset SSH_AGENT_PID; 05:00:31 echo Agent pid 40 killed; 05:00:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:00:31 + git semver [Pipeline] } 05:00:32 $ docker stop --time=1 b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 05:00:33 $ docker rm -f --volumes b99e21eedfc5ac0d1192e57b8933fa2a263fac135c346b315d37e29143ebc6a6 [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 05:00:34 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:00:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:00:34 total 16 05:00:34 drwxr-xr-x 3 root root 4096 Sep 6 04:49 . 05:00:34 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 05:00 .. 05:00:34 drwxr-xr-x 2 root root 4096 Sep 6 04:49 cost 05:00:34 -rw-r--r-- 1 root root 85 Sep 6 04:49 cost.csv 05:00:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:00:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:00:34 total 16 05:00:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 6 04:49 . 05:00:34 drwxrwxr-x 12 jenkins jenkins 4096 Sep 6 05:00 .. 05:00:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 6 04:49 cost 05:00:34 -rw-r--r-- 1 jenkins jenkins 85 Sep 6 04:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:00:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:00:35 ---> package-listing.sh 05:00:35 ++ facter osfamily 05:00:35 ++ tr '[:upper:]' '[:lower:]' 05:00:35 + OS_FAMILY=debian 05:00:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:00:35 + START_PACKAGES=/tmp/packages_start.txt 05:00:35 + END_PACKAGES=/tmp/packages_end.txt 05:00:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:00:35 + PACKAGES=/tmp/packages_start.txt 05:00:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:00:35 + PACKAGES=/tmp/packages_end.txt 05:00:35 + case "${OS_FAMILY}" in 05:00:35 + dpkg -l 05:00:35 + grep '^ii' 05:00:35 + '[' -f /tmp/packages_start.txt ']' 05:00:35 + '[' -f /tmp/packages_end.txt ']' 05:00:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:00:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:00:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:00:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:00:35 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 05:00:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:00:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:00:36 prd-ubuntu20.04-docker-8c-8g-5422 does not seem to be running inside a container 05:00:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:00:36 $ docker top 925c93b2b00cc717f08e04b73e96e46d353c6386db4eda6f41e449319e328536 -eo pid,comm [Pipeline] { [Pipeline] sh 05:00:36 + touch /tmp/pre-build-complete [Pipeline] sh 05:00:37 + mkdir -p /var/log/sysstat [Pipeline] sh 05:00:37 + ls /var/log/sa-host 05:00:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:00:37 provisioning config files... 05:00:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4309349330274069206tmp [Pipeline] { [Pipeline] echo 05:00:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:00:38 ---> create-netrc.sh [Pipeline] } 05:00:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:00:38 ---> python-tools-install.sh [Pipeline] echo 05:00:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:00:38 ---> sudo-logs.sh 05:00:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:00:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:00:38 ---> job-cost.sh 05:00:38 lf-activate-venv: SKIPPING 05:00:38 DEBUG: total: 0.2199999988079071 05:00:38 INFO: Retrieving Stack Cost... 05:00:39 INFO: Retrieving Pricing Info for: v3-standard-8 05:00:39 INFO: Archiving Costs [Pipeline] echo 05:00:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:00:40 ---> logs-deploy.sh 05:00:40 lf-activate-venv: SKIPPING 05:00:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/248 05:00:40 INFO: archiving workspace using pattern(s): 05:00:41 Archives upload complete. 05:00:41 INFO: archiving logs to Nexus