Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4b4cbc68eff8b9bdf916251102062655915288eb 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-ssh9254626535457170036.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9334100320862831696.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14437054400998144408.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh9356796890501363902.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-ssh6735445903970033662.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14647 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 4b4cbc68eff8b9bdf916251102062655915288eb (main) Commit message: "Merge pull request #1452 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.83" > git config core.sparsecheckout # timeout=10 > git checkout -f 4b4cbc68eff8b9bdf916251102062655915288eb # timeout=10 > git rev-list --no-walk c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:50:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:50:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:50:02 ========================================================= 09:50:02 EdgeX Global Pipelines Version Info 09:50:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:50:03 ------------------- 09:50:03 stable info: 09:50:03 ------------------- 09:50:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:50:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:50:03 Message: update stable to v1.0.249 09:50:03 ------------------- 09:50:03 experimental info: 09:50:03 ------------------- 09:50:03 Commited By: **** collab-it+edgex@linuxfoundation.org 09:50:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:50:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b4cbc6 [Pipeline] echo 09:50:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:50:04 provisioning config files... 09:50:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10482477319235157817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:04 ---> docker-login.sh 09:50:04 nexus3.edgexfoundry.org:10001 09:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:05 Configure a credential helper to remove this warning. See 09:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:05 09:50:05 Login Succeeded 09:50:05 nexus3.edgexfoundry.org:10002 09:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:05 Configure a credential helper to remove this warning. See 09:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:05 09:50:05 Login Succeeded 09:50:05 nexus3.edgexfoundry.org:10003 09:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:05 Configure a credential helper to remove this warning. See 09:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:05 09:50:05 Login Succeeded 09:50:05 nexus3.edgexfoundry.org:10004 09:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:05 Configure a credential helper to remove this warning. See 09:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:05 09:50:05 Login Succeeded 09:50:05 docker.io 09:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:05 Configure a credential helper to remove this warning. See 09:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:05 09:50:05 Login Succeeded 09:50:05 ---> docker-login.sh ends [Pipeline] } 09:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:50:06 + git rev-list -1 --merges 4b4cbc68eff8b9bdf916251102062655915288eb~1..4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] echo 09:50:06 -----------> git rev-list -1 --merges 4b4cbc68eff8b9bdf916251102062655915288eb~1..4b4cbc68eff8b9bdf916251102062655915288eb 4b4cbc68eff8b9bdf916251102062655915288eb 09:50:06 4b4cbc68eff8b9bdf916251102062655915288eb [false] [Pipeline] sh 09:50:06 + git log --format=format:%s -1 4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] echo 09:50:06 ========================================================= 09:50:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:50:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:06 + git log --format=format:%s -1 4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] echo 09:50:06 [semverPrep] GIT_COMMIT: 4b4cbc68eff8b9bdf916251102062655915288eb, Commit Message: Merge pull request #1452 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.83 [Pipeline] echo 09:50:06 [semverPrep] This is not a build commit. [Pipeline] sh 09:50:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:50:07 + grep -v github /etc/ssh/ssh_known_hosts 09:50:07 + [ -e /tmp/ssh_known_hosts ] 09:50:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:50:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:50:07 + sudo tee -a /etc/ssh/ssh_known_hosts 09:50:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:07 09:50:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:08 0.1.4: Pulling from edgex-devops/py-git-semver 09:50:08 b85a868b505f: Pulling fs layer 09:50:08 e2be974225ed: Pulling fs layer 09:50:08 339a4e72a1f5: Pulling fs layer 09:50:08 988bab9f4d93: Pulling fs layer 09:50:08 1469e6f7b9e6: Pulling fs layer 09:50:08 eaf3925da568: Pulling fs layer 09:50:08 bab4dde63d76: Pulling fs layer 09:50:08 bde34c3a00c8: Pulling fs layer 09:50:08 b352a97aabf1: Pulling fs layer 09:50:08 4872d77fe225: Pulling fs layer 09:50:08 5851b861e8e6: Pulling fs layer 09:50:08 bab4dde63d76: Waiting 09:50:08 bde34c3a00c8: Waiting 09:50:08 4872d77fe225: Waiting 09:50:08 1469e6f7b9e6: Waiting 09:50:08 988bab9f4d93: Waiting 09:50:08 5851b861e8e6: Waiting 09:50:08 eaf3925da568: Waiting 09:50:08 b352a97aabf1: Waiting 09:50:08 e2be974225ed: Verifying Checksum 09:50:08 e2be974225ed: Download complete 09:50:08 988bab9f4d93: Verifying Checksum 09:50:08 988bab9f4d93: Download complete 09:50:08 1469e6f7b9e6: Verifying Checksum 09:50:08 1469e6f7b9e6: Download complete 09:50:08 eaf3925da568: Download complete 09:50:08 339a4e72a1f5: Verifying Checksum 09:50:08 339a4e72a1f5: Download complete 09:50:08 bde34c3a00c8: Download complete 09:50:08 b352a97aabf1: Download complete 09:50:08 4872d77fe225: Verifying Checksum 09:50:08 4872d77fe225: Download complete 09:50:08 5851b861e8e6: Verifying Checksum 09:50:08 5851b861e8e6: Download complete 09:50:08 b85a868b505f: Verifying Checksum 09:50:08 b85a868b505f: Download complete 09:50:08 bab4dde63d76: Verifying Checksum 09:50:08 bab4dde63d76: Download complete 09:50:09 b85a868b505f: Pull complete 09:50:09 e2be974225ed: Pull complete 09:50:10 339a4e72a1f5: Pull complete 09:50:10 988bab9f4d93: Pull complete 09:50:10 1469e6f7b9e6: Pull complete 09:50:10 eaf3925da568: Pull complete 09:50:12 bab4dde63d76: Pull complete 09:50:12 bde34c3a00c8: Pull complete 09:50:12 b352a97aabf1: Pull complete 09:50:12 4872d77fe225: Pull complete 09:50:12 5851b861e8e6: Pull complete 09:50:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:50:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:13 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 09:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:50:15 $ docker top 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 -eo pid,comm 09:50:15 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). 09:50:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:16 [ssh-agent] Looking for ssh-agent implementation... 09:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:16 $ docker exec 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 ssh-agent 09:50:16 SSH_AUTH_SOCK=/tmp/ssh-Z5RuUpbZLOir/agent.33 09:50:16 SSH_AGENT_PID=39 09:50:16 Running ssh-add (command line suppressed) 09:50:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12954123092623132120.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12954123092623132120.key) 09:50:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:16 + git tag --points-at HEAD [Pipeline] } 09:50:16 $ docker exec --env ******** --env ******** 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 ssh-agent -k 09:50:16 unset SSH_AUTH_SOCK; 09:50:16 unset SSH_AGENT_PID; 09:50:16 echo Agent pid 39 killed; 09:50:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:50:16 [ssh-agent] Looking for ssh-agent implementation... 09:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:50:16 $ docker exec 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 ssh-agent 09:50:17 SSH_AUTH_SOCK=/tmp/ssh-vJ3WV3z56FeM/agent.71 09:50:17 SSH_AGENT_PID=77 09:50:17 Running ssh-add (command line suppressed) 09:50:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11024854453853553011.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11024854453853553011.key) 09:50:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:50:17 + git semver init 09:50:17 2023-05-09 09:50:17,689 [run_init] DEBUG init version:0.0.0 force:False 09:50:17 2023-05-09 09:50:17,690 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:50:17 2023-05-09 09:50:17,691 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:50:17 2023-05-09 09:50:17,691 [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) 09:50:18 2023-05-09 09:50:18,623 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:50:18 2023-05-09 09:50:18,624 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:50:18 2023-05-09 09:50:18,624 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:50:18 2023-05-09 09:50:18,625 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:50:18 3.0.0-dev.84 [Pipeline] } 09:50:18 $ docker exec --env ******** --env ******** 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 ssh-agent -k 09:50:18 unset SSH_AUTH_SOCK; 09:50:18 unset SSH_AGENT_PID; 09:50:18 echo Agent pid 77 killed; 09:50:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:50:19 + git semver [Pipeline] } 09:50:19 $ docker stop --time=1 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 09:50:21 $ docker rm -f --volumes 782f2cfc445706f2cdbf2cf073caff79c76f4c52dd460ad63967219ccd3c6018 [Pipeline] // withDockerContainer [Pipeline] sh 09:50:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:50:22 Stashed 1 file(s) [Pipeline] echo 09:50:22 [edgeXSemver]: initialized semver on version 3.0.0-dev.84 [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 09:50:22 provisioning config files... 09:50:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9554739819498608446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:22 ---> docker-login.sh 09:50:22 nexus3.edgexfoundry.org:10001 09:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:22 Configure a credential helper to remove this warning. See 09:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:22 09:50:22 Login Succeeded 09:50:22 nexus3.edgexfoundry.org:10002 09:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:22 Configure a credential helper to remove this warning. See 09:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:22 09:50:22 Login Succeeded 09:50:22 nexus3.edgexfoundry.org:10003 09:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:22 Configure a credential helper to remove this warning. See 09:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:22 09:50:22 Login Succeeded 09:50:22 nexus3.edgexfoundry.org:10004 09:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:22 Configure a credential helper to remove this warning. See 09:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:22 09:50:22 Login Succeeded 09:50:22 docker.io 09:50:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:50:23 Configure a credential helper to remove this warning. See 09:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:50:23 09:50:23 Login Succeeded 09:50:23 ---> docker-login.sh ends [Pipeline] } 09:50:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:50:23 ========================================================= 09:50:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:50:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:23 + 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 . 09:50:23 Sending build context to Docker daemon 11.05MB 09:50:23 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:50:23 Step 2/10 : FROM ${BASE} AS builder 09:50:23 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:50:23 f56be85fc22e: Pulling fs layer 09:50:23 85791d961cd3: Pulling fs layer 09:50:23 d694b5ae8c79: Pulling fs layer 09:50:23 9f32a84ed3da: Pulling fs layer 09:50:23 4d19c01a9841: Pulling fs layer 09:50:23 9325e15d5711: Pulling fs layer 09:50:23 556b6ee489ea: Pulling fs layer 09:50:23 c5a4b2cf53e6: Pulling fs layer 09:50:23 4d19c01a9841: Waiting 09:50:23 9325e15d5711: Waiting 09:50:23 556b6ee489ea: Waiting 09:50:23 c5a4b2cf53e6: Waiting 09:50:23 9f32a84ed3da: Waiting 09:50:23 85791d961cd3: Verifying Checksum 09:50:23 85791d961cd3: Download complete 09:50:23 9f32a84ed3da: Download complete 09:50:23 4d19c01a9841: Verifying Checksum 09:50:23 4d19c01a9841: Download complete 09:50:23 f56be85fc22e: Download complete 09:50:23 9325e15d5711: Download complete 09:50:23 f56be85fc22e: Pull complete 09:50:24 85791d961cd3: Pull complete 09:50:24 c5a4b2cf53e6: Verifying Checksum 09:50:24 c5a4b2cf53e6: Download complete 09:50:24 d694b5ae8c79: Verifying Checksum 09:50:24 d694b5ae8c79: Download complete 09:50:24 556b6ee489ea: Verifying Checksum 09:50:24 556b6ee489ea: Download complete 09:50:27 d694b5ae8c79: Pull complete 09:50:27 9f32a84ed3da: Pull complete 09:50:27 4d19c01a9841: Pull complete 09:50:27 9325e15d5711: Pull complete 09:50:30 556b6ee489ea: Pull complete 09:50:31 c5a4b2cf53e6: Pull complete 09:50:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:50:31 ---> c4be618373d6 09:50:31 Step 3/10 : ARG MAKE=make build 09:50:35 ---> Running in a030e6ddf4ae 09:50:35 Removing intermediate container a030e6ddf4ae 09:50:35 ---> 23e949b929ca 09:50:35 Step 4/10 : WORKDIR /device-sdk-go 09:50:35 ---> Running in 99ed647954c6 09:50:35 Removing intermediate container 99ed647954c6 09:50:35 ---> eb3730199c3c 09:50:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:50:35 ---> Running in 6cbec1ab002d 09:50:35 Removing intermediate container 6cbec1ab002d 09:50:35 ---> 35e9b281154f 09:50:35 Step 6/10 : RUN apk add --update --no-cache make git 09:50:35 ---> Running in 25995a5b084d 09:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:50:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:50:36 OK: 265 MiB in 53 packages 09:50:36 Removing intermediate container 25995a5b084d 09:50:36 ---> 791c91a9f7ab 09:50:36 Step 7/10 : COPY go.mod vendor* ./ 09:50:36 ---> b11c5d0327a9 09:50:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:36 ---> Running in 029a9b483bfc 09:50:37 Still waiting to schedule task 09:50:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 09:51:03 Removing intermediate container 029a9b483bfc 09:51:03 ---> b449db47baa4 09:51:03 Step 9/10 : COPY . . 09:51:03 ---> c2328477700d 09:51:03 Step 10/10 : RUN ${MAKE} 09:51:03 ---> Running in dfbd2db32feb 09:51:03 noop 09:51:03 Removing intermediate container dfbd2db32feb 09:51:03 ---> fa9a0c33bde5 09:51:03 Successfully built fa9a0c33bde5 09:51:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:03 + docker inspect -f . ci-base-image-x86_64 09:51:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:03 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 09:51:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:51:04 $ docker top 39cbe55c1b7ff445867098832486db9fbd16908f56677124c486393ddafd97c0 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:04 + go version 09:51:04 go version go1.20.2 linux/amd64 [Pipeline] } 09:51:04 $ docker stop --time=1 39cbe55c1b7ff445867098832486db9fbd16908f56677124c486393ddafd97c0 09:51:05 $ docker rm -f --volumes 39cbe55c1b7ff445867098832486db9fbd16908f56677124c486393ddafd97c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:06 + docker inspect -f . ci-base-image-x86_64 09:51:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:51:06 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 09:51:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:51:06 $ docker top 4c84995249c1815d89f5a5ca3f295104280492f9e83d62dc5aef60407412ccc7 -eo pid,comm [Pipeline] { [Pipeline] sh 09:51:06 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 09:51:07 + make test 09:51:07 go test -race -coverprofile=coverage.out ./... 09:51:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:51:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.050s coverage: 27.6% of statements 09:51:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:51:28 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:51:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements 09:51:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:51:29 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:51:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:51:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:51:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 77.5% of statements 09:51:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:51:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.6% of statements 09:51:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.065s coverage: 68.5% of statements 09:51:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.106s coverage: 89.2% of statements 09:51:33 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 09:51:51 GO111MODULE=on go vet ./... 09:51:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:51:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:51:53 ./bin/test-attribution-txt.sh [Pipeline] echo 09:51:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:51:53 $ docker stop --time=1 4c84995249c1815d89f5a5ca3f295104280492f9e83d62dc5aef60407412ccc7 09:51:57 $ docker rm -f --volumes 4c84995249c1815d89f5a5ca3f295104280492f9e83d62dc5aef60407412ccc7 [Pipeline] // withDockerContainer [Pipeline] sh 09:51:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:51:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:51:58 + ls -al . 09:51:58 total 272 09:51:58 drwxrwxr-x 11 jenkins jenkins 4096 May 9 09:51 . 09:51:58 drwxrwxr-x 4 jenkins jenkins 4096 May 9 09:50 .. 09:51:58 -rw-rw-r-- 1 jenkins jenkins 140 May 9 09:50 .dockerignore 09:51:58 drwxrwxr-x 8 jenkins jenkins 4096 May 9 09:50 .git 09:51:58 drwxrwxr-x 2 jenkins jenkins 4096 May 9 09:50 .github 09:51:58 -rw-rw-r-- 1 jenkins jenkins 131 May 9 09:50 .gitignore 09:51:58 -rw-rw-r-- 1 jenkins jenkins 42 May 9 09:50 .golangci.yml 09:51:58 drwxr-xr-x 3 jenkins jenkins 4096 May 9 09:50 .semver 09:51:58 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 09:50 CHANGELOG.md 09:51:58 -rw-rw-r-- 1 jenkins jenkins 677 May 9 09:50 GOVERNANCE.md 09:51:58 -rw-rw-r-- 1 jenkins jenkins 885 May 9 09:50 Jenkinsfile 09:51:58 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 09:50 LICENSE 09:51:58 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 09:50 Makefile 09:51:58 -rw-rw-r-- 1 jenkins jenkins 619 May 9 09:50 OWNERS.md 09:51:58 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 09:50 README.md 09:51:58 -rw-rw-r-- 1 jenkins jenkins 12 May 9 09:50 VERSION 09:51:58 drwxrwxr-x 2 jenkins jenkins 4096 May 9 09:50 bin 09:51:58 -rw-r--r-- 1 jenkins jenkins 106119 May 9 09:51 coverage.out 09:51:58 drwxrwxr-x 5 jenkins jenkins 4096 May 9 09:50 example 09:51:58 -rw-rw-r-- 1 jenkins jenkins 3246 May 9 09:50 go.mod 09:51:58 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 09:50 go.sum 09:51:58 drwxrwxr-x 12 jenkins jenkins 4096 May 9 09:50 internal 09:51:58 drwxrwxr-x 3 jenkins jenkins 4096 May 9 09:50 openapi 09:51:58 drwxrwxr-x 6 jenkins jenkins 4096 May 9 09:50 pkg 09:51:58 drwxrwxr-x 4 jenkins jenkins 4096 May 9 09:50 snap 09:51:58 -rw-rw-r-- 1 jenkins jenkins 222 May 9 09:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:51:59 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4b4cbc68eff8b9bdf916251102062655915288eb --label arch=amd64 --label version=3.0.0-dev.84 . 09:51:59 Sending build context to Docker daemon 11.16MB 09:51:59 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 09:51:59 Step 2/23 : FROM ${BASE} AS builder 09:51:59 ---> fa9a0c33bde5 09:51:59 Step 3/23 : ARG MAKE=make build 09:51:59 ---> Running in 9ca5c480ffed 09:51:59 Removing intermediate container 9ca5c480ffed 09:51:59 ---> 07f26e892877 09:51:59 Step 4/23 : WORKDIR /device-sdk-go 09:51:59 ---> Running in 40c6e9111561 09:51:59 Removing intermediate container 40c6e9111561 09:51:59 ---> 8a5c6c0646c6 09:51:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:51:59 ---> Running in e041c7715afb 09:51:59 Removing intermediate container e041c7715afb 09:51:59 ---> 3692a860108c 09:51:59 Step 6/23 : RUN apk add --update --no-cache make git 09:51:59 ---> Running in 4ece56e91077 09:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:52:00 OK: 265 MiB in 53 packages 09:52:00 Removing intermediate container 4ece56e91077 09:52:00 ---> 2971bcf46587 09:52:00 Step 7/23 : COPY go.mod vendor* ./ 09:52:00 ---> c47dd7fc1d86 09:52:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:52:00 ---> Running in ad004638c98f 09:52:01 Removing intermediate container ad004638c98f 09:52:01 ---> 006564e7db2d 09:52:01 Step 9/23 : COPY . . 09:52:01 ---> 4bd376bae009 09:52:01 Step 10/23 : RUN ${MAKE} 09:52:01 ---> Running in 2336fde7ac64 09:52:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.84" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:52:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14649 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:52:14 Running in /w/workspace/device-sdk-go/215 [Pipeline] { [Pipeline] checkout 09:52:14 The recommended git tool is: git 09:52:19 using credential edgex-jenkins-ssh 09:52:19 Cloning the remote Git repository 09:52:20 Removing intermediate container 2336fde7ac64 09:52:20 ---> d64948c0245c 09:52:20 Step 11/23 : FROM alpine:3.17 09:52:20 3.17: Pulling from library/alpine 09:52:20 f56be85fc22e: Already exists 09:52:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:52:20 > git init /w/workspace/device-sdk-go/215 # timeout=10 09:52:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:52:20 > git --version # timeout=10 09:52:20 > git --version # 'git version 2.25.1' 09:52:20 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:20 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:52:20 Status: Downloaded newer image for alpine:3.17 09:52:20 ---> 9ed4aefc74f6 09:52:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:52:20 ---> Running in 9077743de2bd 09:52:20 Removing intermediate container 9077743de2bd 09:52:20 ---> bc8c97b67f5b 09:52:20 Step 13/23 : RUN apk add --update --no-cache 09:52:20 ---> Running in 690da9c1ef23 09:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:52:21 OK: 7 MiB in 15 packages 09:52:21 Removing intermediate container 690da9c1ef23 09:52:21 ---> f302dafd05ca 09:52:21 Step 14/23 : WORKDIR / 09:52:21 ---> Running in 89e480724853 09:52:21 Removing intermediate container 89e480724853 09:52:21 ---> fa5dbce1de72 09:52:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:52:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:21 ---> d7697dbef6b6 09:52:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:52:22 ---> a0fcde5b06ac 09:52:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:52:22 ---> 7c960d47c993 09:52:22 Step 18/23 : EXPOSE 59999 09:52:22 ---> Running in ffc243c614e6 09:52:22 Removing intermediate container ffc243c614e6 09:52:22 ---> a3e6d9eaf65f 09:52:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 09:52:22 ---> Running in 5d03bdc47003 09:52:22 Removing intermediate container 5d03bdc47003 09:52:22 ---> db31572ab223 09:52:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:52:22 ---> Running in e4b7de6cd38d 09:52:22 Removing intermediate container e4b7de6cd38d 09:52:22 ---> b5a56623c50e 09:52:22 Step 21/23 : LABEL arch=amd64 09:52:22 ---> Running in 984f36960fae 09:52:22 Removing intermediate container 984f36960fae 09:52:22 ---> 4826daf99932 09:52:22 Step 22/23 : LABEL git_sha=4b4cbc68eff8b9bdf916251102062655915288eb 09:52:22 ---> Running in 10bc66b6e821 09:52:22 Removing intermediate container 10bc66b6e821 09:52:22 ---> c135be0708bc 09:52:22 Step 23/23 : LABEL version=3.0.0-dev.84 09:52:22 ---> Running in 9e2e1146c10c 09:52:22 Avoid second fetch 09:52:22 Checking out Revision 4b4cbc68eff8b9bdf916251102062655915288eb (main) 09:52:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:52:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:22 > git config core.sparsecheckout # timeout=10 09:52:23 Removing intermediate container 9e2e1146c10c 09:52:23 ---> 2bb9098fce0a 09:52:23 [Warning] One or more build-args [ARCH] were not consumed 09:52:23 Successfully built 2bb9098fce0a 09:52:23 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 09:52:23 Commit message: "Merge pull request #1452 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.83" 09:52:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:52:23 09:52:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:52:23 latest: Pulling from edgex-lftools-log-publisher 09:52:23 5eb5b503b376: Pulling fs layer 09:52:23 5c69ac0246d0: Pulling fs layer 09:52:23 ec43610c2a17: Pulling fs layer 09:52:23 3a2ae6a8a46f: Pulling fs layer 09:52:23 33b1e0a273af: Pulling fs layer 09:52:23 5d3b04190fa2: Pulling fs layer 09:52:23 2f39f015ded8: Pulling fs layer 09:52:23 3a2ae6a8a46f: Waiting 09:52:23 33b1e0a273af: Waiting 09:52:23 2f39f015ded8: Waiting 09:52:23 5c69ac0246d0: Verifying Checksum 09:52:23 5c69ac0246d0: Download complete 09:52:23 3a2ae6a8a46f: Download complete 09:52:23 33b1e0a273af: Verifying Checksum 09:52:23 33b1e0a273af: Download complete 09:52:23 5d3b04190fa2: Verifying Checksum 09:52:23 5d3b04190fa2: Download complete 09:52:23 ec43610c2a17: Verifying Checksum 09:52:23 ec43610c2a17: Download complete 09:52:23 09:52:23 GitHub has been notified of this commit’s build result 09:52:23 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:24 5eb5b503b376: Verifying Checksum 09:52:24 5eb5b503b376: Download complete 09:52:22 > git checkout -f 4b4cbc68eff8b9bdf916251102062655915288eb # timeout=10 09:52:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:52:24 % Total % Received % Xferd Average Speed Time Time Time Current 09:52:24 Dload Upload Total Spent Left Speed 09:52:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 09:52:24 2f39f015ded8: Download complete [Pipeline] sh 09:52:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:52:25 5eb5b503b376: Pull complete 09:52:25 5c69ac0246d0: Pull complete 09:52:25 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:52:25 + sudo tee /etc/docker/daemon.new 09:52:25 { 09:52:25 "registry-mirrors": [ 09:52:25 "https://nexus3.edgexfoundry.org:10001" 09:52:25 ], 09:52:25 "bip": "10.250.0.254/24", 09:52:25 "hosts": [ 09:52:25 "tcp://0.0.0.0:5555", 09:52:25 "unix:///var/run/docker.sock" 09:52:25 ], 09:52:25 "mtu": 1458, 09:52:25 "selinux-enabled": true, 09:52:25 "seccomp-profile": "/etc/docker/seccomp.json" 09:52:25 } [Pipeline] sh 09:52:25 ec43610c2a17: Pull complete 09:52:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:52:25 3a2ae6a8a46f: Pull complete 09:52:25 33b1e0a273af: Pull complete 09:52:25 5d3b04190fa2: Pull complete 09:52:25 + sudo service docker restart 09:52:30 2f39f015ded8: Pull complete 09:52:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:52:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:52:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:52:30 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 09:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:52:33 $ docker top d8b9ee3c1e652567583a012dde3b7d7ce3908be442e2c8ea402f20c2b4f4bb5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:33 ---> job-cost.sh 09:52:33 lf-activate-venv: SKIPPING 09:52:33 INFO: No Stack... 09:52:33 INFO: Retrieving Pricing Info for: v3-standard-8 09:52:34 INFO: Archiving Costs [Pipeline] sh 09:52:34 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:52:34 + cut -d, -f6 [Pipeline] lock 09:52:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] 09:52:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] did not exist. Created. 09:52:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:52:34 + echo total: 0.2199999988079071 [Pipeline] stash 09:52:35 Stashed 1 file(s) [Pipeline] } 09:52:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] [Pipeline] // lock [Pipeline] } 09:52:35 $ docker stop --time=1 d8b9ee3c1e652567583a012dde3b7d7ce3908be442e2c8ea402f20c2b4f4bb5b 09:52:36 $ docker rm -f --volumes d8b9ee3c1e652567583a012dde3b7d7ce3908be442e2c8ea402f20c2b4f4bb5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:52:44 provisioning config files... 09:52:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/215@tmp/config4758161543337880340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:44 ---> docker-login.sh 09:52:44 nexus3.edgexfoundry.org:10001 09:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:45 Configure a credential helper to remove this warning. See 09:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:45 09:52:45 Login Succeeded 09:52:45 nexus3.edgexfoundry.org:10002 09:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:45 Configure a credential helper to remove this warning. See 09:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:45 09:52:45 Login Succeeded 09:52:45 nexus3.edgexfoundry.org:10003 09:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:46 Configure a credential helper to remove this warning. See 09:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:46 09:52:46 Login Succeeded 09:52:46 nexus3.edgexfoundry.org:10004 09:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:46 Configure a credential helper to remove this warning. See 09:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:46 09:52:46 Login Succeeded 09:52:46 docker.io 09:52:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:46 Configure a credential helper to remove this warning. See 09:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:46 09:52:46 Login Succeeded 09:52:46 ---> docker-login.sh ends [Pipeline] } 09:52:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:52:47 ========================================================= 09:52:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:52:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:52:47 + 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 . 09:52:47 Sending build context to Docker daemon 5.937MB 09:52:48 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 09:52:48 Step 2/10 : FROM ${BASE} AS builder 09:52:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:52:48 c41833b44d91: Pulling fs layer 09:52:48 ed15518f5707: Pulling fs layer 09:52:48 feae8fd75edb: Pulling fs layer 09:52:48 242c74f7c9fa: Pulling fs layer 09:52:48 3cdef696dda3: Pulling fs layer 09:52:48 2ced38df9373: Pulling fs layer 09:52:48 58f1dce35555: Pulling fs layer 09:52:48 242c74f7c9fa: Waiting 09:52:48 2ced38df9373: Waiting 09:52:48 3cdef696dda3: Waiting 09:52:48 ed15518f5707: Verifying Checksum 09:52:48 ed15518f5707: Download complete 09:52:48 242c74f7c9fa: Verifying Checksum 09:52:48 242c74f7c9fa: Download complete 09:52:48 c41833b44d91: Verifying Checksum 09:52:48 c41833b44d91: Download complete 09:52:48 3cdef696dda3: Verifying Checksum 09:52:48 3cdef696dda3: Download complete 09:52:49 c41833b44d91: Pull complete 09:52:49 58f1dce35555: Verifying Checksum 09:52:49 58f1dce35555: Download complete 09:52:49 ed15518f5707: Pull complete 09:52:50 feae8fd75edb: Verifying Checksum 09:52:50 feae8fd75edb: Download complete 09:52:50 2ced38df9373: Verifying Checksum 09:52:50 2ced38df9373: Download complete 09:53:03 feae8fd75edb: Pull complete 09:53:03 242c74f7c9fa: Pull complete 09:53:03 3cdef696dda3: Pull complete 09:53:08 2ced38df9373: Pull complete 09:53:11 58f1dce35555: Pull complete 09:53:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:53:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:53:11 ---> fadd8f120f05 09:53:11 Step 3/10 : ARG MAKE=make build 09:53:13 ---> Running in cf70568ac29b 09:53:13 Removing intermediate container cf70568ac29b 09:53:13 ---> 26ff3d55c908 09:53:13 Step 4/10 : WORKDIR /device-sdk-go 09:53:13 ---> Running in 66f3bb51d618 09:53:13 Removing intermediate container 66f3bb51d618 09:53:13 ---> 8d2f1e52d8c5 09:53:13 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:53:13 ---> Running in fa788d29621b 09:53:14 Removing intermediate container fa788d29621b 09:53:14 ---> a23e8608ca30 09:53:14 Step 6/10 : RUN apk add --update --no-cache make git 09:53:14 ---> Running in a20fa3919d04 09:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:53:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:53:16 OK: 263 MiB in 53 packages 09:53:17 Removing intermediate container a20fa3919d04 09:53:17 ---> 85b19b6223b7 09:53:17 Step 7/10 : COPY go.mod vendor* ./ 09:53:18 ---> a6551760e1af 09:53:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:53:18 ---> Running in dd80541e61ea 09:54:14 Removing intermediate container dd80541e61ea 09:54:14 ---> ef784487bfd9 09:54:14 Step 9/10 : COPY . . 09:54:15 ---> 1bbeb4dae87d 09:54:15 Step 10/10 : RUN ${MAKE} 09:54:16 ---> Running in 86d5ece1aff9 09:54:17 noop 09:54:17 Removing intermediate container 86d5ece1aff9 09:54:17 ---> 30a2c71c35a6 09:54:17 Successfully built 30a2c71c35a6 09:54:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:18 + docker inspect -f . ci-base-image-arm64 09:54:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:18 prd-ubuntu20.04-docker-arm64-4c-16g-14649 does not seem to be running inside a container 09:54:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/215 -v /w/workspace/device-sdk-go/215:/w/workspace/device-sdk-go/215:rw,z -v /w/workspace/device-sdk-go/215@tmp:/w/workspace/device-sdk-go/215@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 09:54:19 $ docker top ace66beb23f6df4ad628db709dbe64e33b802ca48eb61951f17370fe05d6d34f -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:20 + go version 09:54:20 go version go1.20.2 linux/arm64 [Pipeline] } 09:54:20 $ docker stop --time=1 ace66beb23f6df4ad628db709dbe64e33b802ca48eb61951f17370fe05d6d34f 09:54:22 $ docker rm -f --volumes ace66beb23f6df4ad628db709dbe64e33b802ca48eb61951f17370fe05d6d34f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:22 + docker inspect -f . ci-base-image-arm64 09:54:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:22 prd-ubuntu20.04-docker-arm64-4c-16g-14649 does not seem to be running inside a container 09:54:22 $ 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/215 -v /w/workspace/device-sdk-go/215:/w/workspace/device-sdk-go/215:rw,z -v /w/workspace/device-sdk-go/215@tmp:/w/workspace/device-sdk-go/215@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 09:54:23 $ docker top 2c37764dc3d265c6ca31796f21d4de7aaa8715210ce1b32930a9938aa0a2e185 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/215 [Pipeline] fileExists [Pipeline] sh 09:54:25 + make test 09:54:25 go test -race -coverprofile=coverage.out ./... 09:55:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 09:57:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 09:57:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 09:57:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 09:57:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 09:57:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 09:57:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.245s coverage: 27.6% of statements 09:57:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.381s coverage: 80.2% of statements 09:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 09:57:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 09:57:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.391s coverage: 86.0% of statements 09:57:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 09:57:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.464s coverage: 77.5% of statements 09:57:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 09:58:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 09:58:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 09:58:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.250s coverage: 14.6% of statements 09:58:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.443s coverage: 68.5% of statements 09:58:05 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.445s coverage: 89.2% of statements 09:58:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 09:58:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.276s coverage: 5.5% of statements 09:58:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:58:07 GO111MODULE=on go vet ./... 10:00:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:00:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:00:59 ./bin/test-attribution-txt.sh [Pipeline] echo 10:00:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:00:59 $ docker stop --time=1 2c37764dc3d265c6ca31796f21d4de7aaa8715210ce1b32930a9938aa0a2e185 10:01:01 $ docker rm -f --volumes 2c37764dc3d265c6ca31796f21d4de7aaa8715210ce1b32930a9938aa0a2e185 [Pipeline] // withDockerContainer [Pipeline] sh 10:01:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:01:03 Warning: overwriting stash ‘coverage-report’ 10:01:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:01:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:01:04 + ls -al . 10:01:04 total 268 10:01:04 drwxrwxr-x 10 jenkins jenkins 4096 May 9 09:54 . 10:01:04 drwxrwxr-x 4 jenkins jenkins 4096 May 9 09:52 .. 10:01:04 -rw-rw-r-- 1 jenkins jenkins 140 May 9 09:52 .dockerignore 10:01:04 drwxrwxr-x 8 jenkins jenkins 4096 May 9 09:52 .git 10:01:04 drwxrwxr-x 2 jenkins jenkins 4096 May 9 09:52 .github 10:01:04 -rw-rw-r-- 1 jenkins jenkins 131 May 9 09:52 .gitignore 10:01:04 -rw-rw-r-- 1 jenkins jenkins 42 May 9 09:52 .golangci.yml 10:01:04 -rw-rw-r-- 1 jenkins jenkins 31677 May 9 09:52 CHANGELOG.md 10:01:04 -rw-rw-r-- 1 jenkins jenkins 677 May 9 09:52 GOVERNANCE.md 10:01:04 -rw-rw-r-- 1 jenkins jenkins 885 May 9 09:52 Jenkinsfile 10:01:04 -rw-rw-r-- 1 jenkins jenkins 11341 May 9 09:52 LICENSE 10:01:04 -rw-rw-r-- 1 jenkins jenkins 1714 May 9 09:52 Makefile 10:01:04 -rw-rw-r-- 1 jenkins jenkins 619 May 9 09:52 OWNERS.md 10:01:04 -rw-rw-r-- 1 jenkins jenkins 4891 May 9 09:52 README.md 10:01:04 -rw-rw-r-- 1 jenkins jenkins 12 May 9 09:50 VERSION 10:01:04 drwxrwxr-x 2 jenkins jenkins 4096 May 9 09:52 bin 10:01:04 -rw-r--r-- 1 jenkins jenkins 106119 May 9 09:58 coverage.out 10:01:04 drwxrwxr-x 5 jenkins jenkins 4096 May 9 09:52 example 10:01:04 -rw-rw-r-- 1 jenkins jenkins 3246 May 9 09:52 go.mod 10:01:04 -rw-rw-r-- 1 jenkins jenkins 30781 May 9 09:52 go.sum 10:01:04 drwxrwxr-x 12 jenkins jenkins 4096 May 9 09:52 internal 10:01:04 drwxrwxr-x 3 jenkins jenkins 4096 May 9 09:52 openapi 10:01:04 drwxrwxr-x 6 jenkins jenkins 4096 May 9 09:52 pkg 10:01:04 drwxrwxr-x 4 jenkins jenkins 4096 May 9 09:52 snap 10:01:04 -rw-rw-r-- 1 jenkins jenkins 222 May 9 09:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:01:04 + 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=4b4cbc68eff8b9bdf916251102062655915288eb --label arch=arm64 --label version=3.0.0-dev.84 . 10:01:05 Sending build context to Docker daemon 6.044MB 10:01:05 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 10:01:05 Step 2/23 : FROM ${BASE} AS builder 10:01:05 ---> 30a2c71c35a6 10:01:05 Step 3/23 : ARG MAKE=make build 10:01:05 ---> Running in 45560ea64cd2 10:01:05 Removing intermediate container 45560ea64cd2 10:01:05 ---> 71fe39c95d65 10:01:05 Step 4/23 : WORKDIR /device-sdk-go 10:01:06 ---> Running in 96f9fa3f6687 10:01:06 Removing intermediate container 96f9fa3f6687 10:01:06 ---> 013e9147cd57 10:01:06 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:01:06 ---> Running in a2d3a66355ad 10:01:06 Removing intermediate container a2d3a66355ad 10:01:06 ---> c24277864b6b 10:01:06 Step 6/23 : RUN apk add --update --no-cache make git 10:01:06 ---> Running in da717156812a 10:01:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:01:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:01:09 OK: 263 MiB in 53 packages 10:01:10 Removing intermediate container da717156812a 10:01:10 ---> 1d67b13b655e 10:01:10 Step 7/23 : COPY go.mod vendor* ./ 10:01:11 ---> 8907db87b925 10:01:11 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:01:11 ---> Running in e5ae58614394 10:01:13 Removing intermediate container e5ae58614394 10:01:13 ---> ecad4021c9cc 10:01:13 Step 9/23 : COPY . . 10:01:15 ---> 59289a491e6e 10:01:15 Step 10/23 : RUN ${MAKE} 10:01:15 ---> Running in 904647cf14ae 10:01:16 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.84" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:03:52 Removing intermediate container 904647cf14ae 10:03:52 ---> 1225d9ceaf91 10:03:52 Step 11/23 : FROM alpine:3.17 10:03:52 3.17: Pulling from library/alpine 10:03:52 c41833b44d91: Already exists 10:03:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 10:03:52 Status: Downloaded newer image for alpine:3.17 10:03:52 ---> 51e60588ff2c 10:03:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:03:52 ---> Running in 7a6fe2b5e2ed 10:03:52 Removing intermediate container 7a6fe2b5e2ed 10:03:52 ---> c46980f6534d 10:03:52 Step 13/23 : RUN apk add --update --no-cache 10:03:52 ---> Running in 5127a0bf0c28 10:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:03:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:03:52 OK: 7 MiB in 15 packages 10:03:52 Removing intermediate container 5127a0bf0c28 10:03:52 ---> 14883c836a9f 10:03:52 Step 14/23 : WORKDIR / 10:03:52 ---> Running in f7cfe1c6c69b 10:03:52 Removing intermediate container f7cfe1c6c69b 10:03:52 ---> ce37bab80814 10:03:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:03:52 ---> ec3a36348eec 10:03:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:03:52 ---> 6442e37b40f3 10:03:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:03:52 ---> 37dfb12fd481 10:03:52 Step 18/23 : EXPOSE 59999 10:03:52 ---> Running in 195541413af1 10:03:52 Removing intermediate container 195541413af1 10:03:52 ---> 08785ddb0b7e 10:03:52 Step 19/23 : ENTRYPOINT ["/device-simple"] 10:03:52 ---> Running in 7505bfd00db9 10:03:52 Removing intermediate container 7505bfd00db9 10:03:52 ---> 7ede481ae5de 10:03:52 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:03:52 ---> Running in 20457bdfdfce 10:03:52 Removing intermediate container 20457bdfdfce 10:03:52 ---> e9f311d31d26 10:03:52 Step 21/23 : LABEL arch=arm64 10:03:52 ---> Running in e99df0358aaa 10:03:52 Removing intermediate container e99df0358aaa 10:03:52 ---> 73fdbc205f7b 10:03:52 Step 22/23 : LABEL git_sha=4b4cbc68eff8b9bdf916251102062655915288eb 10:03:52 ---> Running in 3ee56b09f43f 10:03:52 Removing intermediate container 3ee56b09f43f 10:03:52 ---> 94cde9167164 10:03:52 Step 23/23 : LABEL version=3.0.0-dev.84 10:03:52 ---> Running in d93d19ffd1ee 10:03:52 Removing intermediate container d93d19ffd1ee 10:03:52 ---> 11bd750f4ed0 10:03:52 [Warning] One or more build-args [ARCH] were not consumed 10:03:52 Successfully built 11bd750f4ed0 10:03:52 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 10:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:03:53 10:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:03:53 arm64: Pulling from edgex-lftools-log-publisher 10:03:53 8998bd30e6a1: Pulling fs layer 10:03:53 04944245beec: Pulling fs layer 10:03:53 699f458cf7ca: Pulling fs layer 10:03:53 765212b225bb: Pulling fs layer 10:03:53 f23df028b6ca: Pulling fs layer 10:03:53 d65c8cfc05b1: Pulling fs layer 10:03:53 2437ff75d9bd: Pulling fs layer 10:03:53 765212b225bb: Waiting 10:03:53 d65c8cfc05b1: Waiting 10:03:53 f23df028b6ca: Waiting 10:03:53 2437ff75d9bd: Waiting 10:03:53 04944245beec: Verifying Checksum 10:03:53 04944245beec: Download complete 10:03:53 765212b225bb: Verifying Checksum 10:03:53 765212b225bb: Download complete 10:03:53 f23df028b6ca: Verifying Checksum 10:03:53 f23df028b6ca: Download complete 10:03:53 d65c8cfc05b1: Verifying Checksum 10:03:53 d65c8cfc05b1: Download complete 10:03:54 699f458cf7ca: Verifying Checksum 10:03:54 699f458cf7ca: Download complete 10:03:54 8998bd30e6a1: Verifying Checksum 10:03:54 8998bd30e6a1: Download complete 10:03:57 2437ff75d9bd: Verifying Checksum 10:03:57 2437ff75d9bd: Download complete 10:03:58 8998bd30e6a1: Pull complete 10:03:59 04944245beec: Pull complete 10:04:00 699f458cf7ca: Pull complete 10:04:00 765212b225bb: Pull complete 10:04:01 f23df028b6ca: Pull complete 10:04:01 d65c8cfc05b1: Pull complete 10:04:16 2437ff75d9bd: Pull complete 10:04:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:04:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:16 prd-ubuntu20.04-docker-arm64-4c-16g-14649 does not seem to be running inside a container 10:04:16 $ 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/215 -v /w/workspace/device-sdk-go/215:/w/workspace/device-sdk-go/215:rw,z -v /w/workspace/device-sdk-go/215@tmp:/w/workspace/device-sdk-go/215@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 10:04:19 $ docker top 2e9a7ffd9b7c04a73f3b167b68ca7a400b7c678e974a272fadb594c873ac3770 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:20 ---> job-cost.sh 10:04:20 lf-activate-venv: SKIPPING 10:04:20 INFO: No Stack... 10:04:20 INFO: Retrieving Pricing Info for: v3-standard-4 10:04:21 INFO: Archiving Costs [Pipeline] sh 10:04:22 + cat /w/workspace/device-sdk-go/215/archives/cost.csv 10:04:22 + cut -d, -f6 [Pipeline] lock 10:04:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] 10:04:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] did not exist. Created. 10:04:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:04:23 /w/workspace/device-sdk-go/215@tmp/durable-20cf4658/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:04:23 + echo total: 0.10999999940395355 [Pipeline] stash 10:04:23 Warning: overwriting stash ‘stack-cost’ 10:04:23 Stashed 1 file(s) [Pipeline] } 10:04:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-215-stack-cost] [Pipeline] // lock [Pipeline] } 10:04:23 $ docker stop --time=1 2e9a7ffd9b7c04a73f3b167b68ca7a400b7c678e974a272fadb594c873ac3770 10:04:25 $ docker rm -f --volumes 2e9a7ffd9b7c04a73f3b167b68ca7a400b7c678e974a272fadb594c873ac3770 [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 10:04:25 provisioning config files... 10:04:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13870134146347243526tmp [Pipeline] { [Pipeline] sh 10:04:26 + set +x 10:04:26 + + curl -s https://codecov.io/bashbash 10:04:26 -s -- 10:04:26 10:04:26 _____ _ 10:04:26 / ____| | | 10:04:26 | | ___ __| | ___ ___ _____ __ 10:04:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:04:26 | |___| (_) | (_| | __/ (_| (_) \ V / 10:04:26 \_____\___/ \__,_|\___|\___\___/ \_/ 10:04:26 Bash-1.0.6 10:04:26 10:04:26 10:04:26 ==> git version 2.25.1 found 10:04:26 ==> 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 10:04:26 Release-Date: 2020-01-08 10:04:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:04:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:04:26 ==> Jenkins CI detected. 10:04:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 10:04:26 project root: . 10:04:26 --> token set from env 10:04:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:04:26 ==> Running gcov in . (disable via -X gcov) 10:04:26 ==> Python coveragepy not found 10:04:26 ==> Searching for coverage reports in: 10:04:26 + . 10:04:26 -> Found 1 reports 10:04:26 ==> Detecting git/mercurial file structure 10:04:26 ==> Reading reports 10:04:26 + ./coverage.out bytes=106119 10:04:26 ==> Appending adjustments 10:04:26 https://docs.codecov.io/docs/fixing-reports 10:04:26 + Found adjustments 10:04:26 ==> Gzipping contents 10:04:26 16K /tmp/codecov.pW6cKP.gz 10:04:26 ==> Uploading reports 10:04:26 url: https://codecov.io 10:04:26 query: branch=main&commit=4b4cbc68eff8b9bdf916251102062655915288eb&build=215&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F215%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:04:26 -> Pinging Codecov 10:04:26 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=4b4cbc68eff8b9bdf916251102062655915288eb&build=215&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F215%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 10:04:26 -> Uploading to 10:04:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/4b4cbc68eff8b9bdf916251102062655915288eb/4f94b15e-84a6-438d-866c-c96d0de0f3c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T100426Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=82d25e17eb419660de480c0f1af1b6f44271c4163559a5323140cf5eb7227373 10:04:26 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:26 Dload Upload Total Spent Left Speed 10:04:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15027 0 0 100 15027 0 65907 --:--:-- --:--:-- --:--:-- 65620 100 15027 0 0 100 15027 0 58470 --:--:-- --:--:-- --:--:-- 58244 10:04:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] } 10:04:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 10:04:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 10:04:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:04:27 10:04:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:04:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 10:04:27 df9b9388f04a: Pulling fs layer 10:04:27 52dc419b0ee2: Pulling fs layer 10:04:27 25bc292e5bac: Pulling fs layer 10:04:27 114826534d7a: Pulling fs layer 10:04:27 4657fd5d0bcf: Pulling fs layer 10:04:27 6ad1cebc031e: Pulling fs layer 10:04:27 8a3aa393b2d8: Pulling fs layer 10:04:27 6ad1cebc031e: Waiting 10:04:27 4657fd5d0bcf: Waiting 10:04:27 114826534d7a: Waiting 10:04:27 8a3aa393b2d8: Waiting 10:04:27 25bc292e5bac: Verifying Checksum 10:04:27 25bc292e5bac: Download complete 10:04:27 52dc419b0ee2: Verifying Checksum 10:04:27 52dc419b0ee2: Download complete 10:04:27 4657fd5d0bcf: Verifying Checksum 10:04:27 4657fd5d0bcf: Download complete 10:04:27 df9b9388f04a: Download complete 10:04:28 df9b9388f04a: Pull complete 10:04:28 6ad1cebc031e: Verifying Checksum 10:04:28 6ad1cebc031e: Download complete 10:04:28 52dc419b0ee2: Pull complete 10:04:28 25bc292e5bac: Pull complete 10:04:28 114826534d7a: Verifying Checksum 10:04:28 114826534d7a: Download complete 10:04:28 8a3aa393b2d8: Verifying Checksum 10:04:28 8a3aa393b2d8: Download complete 10:04:32 114826534d7a: Pull complete 10:04:32 4657fd5d0bcf: Pull complete 10:04:32 6ad1cebc031e: Pull complete 10:04:35 8a3aa393b2d8: Pull complete 10:04:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 10:04:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 10:04:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:35 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 10:04:39 $ docker top 4d32c39bc49841721790680dfcf8c75cba22f670e720d3866166102e286e127f -eo pid,comm [Pipeline] { [Pipeline] echo 10:04:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 10:04:39 + set -o pipefail 10:04:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 10:04:45 10:04:45 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 10:04:45 10:04:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/197e4b7b-5752-40e3-8385-410c330c9a41 10:04:45 10:04:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 10:04:45 10:04:46 10:04:46 A medium severity vulnerability was found in the Snyk CLI versions you are using. 10:04:46 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 10:04:46 More details here: https://snyk.co/ue1NS 10:04:46 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 10:04:46 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 10:04:47 $ docker stop --time=1 4d32c39bc49841721790680dfcf8c75cba22f670e720d3866166102e286e127f 10:04:49 $ docker rm -f --volumes 4d32c39bc49841721790680dfcf8c75cba22f670e720d3866166102e286e127f [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 10:04:50 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:04:50 provisioning config files... 10:04:50 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12601905467504189417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:04:50 --> edgex-publish-swagger.sh 10:04:50 === Publish openapi/v3 API === 10:04:50 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 10:04:50 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 10:04:50 % Total % Received % Xferd Average Speed Time Time Time Current 10:04:50 Dload Upload Total Spent Left Speed 10:04:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 35334 --:--:-- --:--:-- --:--:-- 35334 10:04:51 10:04:51 [Pipeline] } 10:04:51 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 10:04:51 + git log --format=format:%s -1 4b4cbc68eff8b9bdf916251102062655915288eb [Pipeline] sh 10:04:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:04:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:04:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:04:52 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:04:52 $ docker top 567dbcf437bb4f3ae704909cac402eedab2cada478123e8eaf5c8bc6d5b5cd0a -eo pid,comm 10:04:52 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). 10:04:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:04:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:04:52 [ssh-agent] Looking for ssh-agent implementation... 10:04:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:04:52 $ docker exec 567dbcf437bb4f3ae704909cac402eedab2cada478123e8eaf5c8bc6d5b5cd0a ssh-agent 10:04:52 SSH_AUTH_SOCK=/tmp/ssh-3jwZeqvNvCUV/agent.33 10:04:52 SSH_AGENT_PID=39 10:04:52 Running ssh-add (command line suppressed) 10:04:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11261002277324453176.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11261002277324453176.key) 10:04:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:04:53 + git semver tag 10:04:53 2023-05-09 10:04:53,440 [run_tag] DEBUG tag force:False 10:04:53 2023-05-09 10:04:53,440 [check_head_tag] DEBUG check head tag 10:04:53 2023-05-09 10:04:53,443 [execute] INFO git cat-file --batch-check 10:04:53 2023-05-09 10:04:53,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:04:53 2023-05-09 10:04:53,446 [execute] INFO git cat-file --batch 10:04:53 2023-05-09 10:04:53,446 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 10:04:53 2023-05-09 10:04:53,490 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:04:53 2023-05-09 10:04:53,490 [execute] INFO git tag -a v3.0.0-dev.84 -m v3.0.0-dev.84 10:04:53 2023-05-09 10:04:53,490 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.84', '-m', 'v3.0.0-dev.84'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 10:04:53 2023-05-09 10:04:53,500 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:04:53 3.0.0-dev.84 [Pipeline] } 10:04:53 $ docker exec --env ******** --env ******** 567dbcf437bb4f3ae704909cac402eedab2cada478123e8eaf5c8bc6d5b5cd0a ssh-agent -k 10:04:53 unset SSH_AUTH_SOCK; 10:04:53 unset SSH_AGENT_PID; 10:04:53 echo Agent pid 39 killed; 10:04:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:04:54 + git semver [Pipeline] } 10:04:54 $ docker stop --time=1 567dbcf437bb4f3ae704909cac402eedab2cada478123e8eaf5c8bc6d5b5cd0a 10:04:55 $ docker rm -f --volumes 567dbcf437bb4f3ae704909cac402eedab2cada478123e8eaf5c8bc6d5b5cd0a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:04:56 10:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:04:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:04:56 0.23.1-centos7: Pulling from edgex-lftools 10:04:56 ab5ef0e58194: Pulling fs layer 10:04:56 9712f1f96733: Pulling fs layer 10:04:56 63f879dbbcfc: Pulling fs layer 10:04:56 0d9ebad4ef96: Pulling fs layer 10:04:56 e9a5061849ea: Pulling fs layer 10:04:56 d747dcd14b5f: Pulling fs layer 10:04:56 2de7ff778b66: Pulling fs layer 10:04:56 e9a5061849ea: Waiting 10:04:56 2de7ff778b66: Waiting 10:04:56 d747dcd14b5f: Waiting 10:04:56 0d9ebad4ef96: Waiting 10:04:56 9712f1f96733: Verifying Checksum 10:04:56 9712f1f96733: Download complete 10:04:56 63f879dbbcfc: Verifying Checksum 10:04:56 63f879dbbcfc: Download complete 10:04:57 0d9ebad4ef96: Verifying Checksum 10:04:57 0d9ebad4ef96: Download complete 10:04:57 d747dcd14b5f: Verifying Checksum 10:04:57 d747dcd14b5f: Download complete 10:04:57 e9a5061849ea: Download complete 10:04:57 ab5ef0e58194: Verifying Checksum 10:04:57 ab5ef0e58194: Download complete 10:04:57 2de7ff778b66: Verifying Checksum 10:04:57 2de7ff778b66: Download complete 10:05:00 ab5ef0e58194: Pull complete 10:05:00 9712f1f96733: Pull complete 10:05:00 63f879dbbcfc: Pull complete 10:05:04 0d9ebad4ef96: Pull complete 10:05:04 e9a5061849ea: Pull complete 10:05:04 d747dcd14b5f: Pull complete 10:05:06 2de7ff778b66: Pull complete 10:05:06 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 10:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 10:05:06 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:06 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 10:05:11 $ docker top 09314ad6d9534ff065c3571365d560214d7394320ff66a688f904f75a19181c0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 10:05:11 provisioning config files... 10:05:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16992531307325327901tmp 10:05:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4818092027191326136tmp 10:05:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1084343087693545496tmp [Pipeline] { [Pipeline] echo 10:05:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 10:05:11 ---> sigul-configuration.sh 10:05:11 gpg: directory `/root/.gnupg' created 10:05:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 10:05:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 10:05:11 gpg: keyring `/root/.gnupg/secring.gpg' created 10:05:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 10:05:11 gpg: CAST5 encrypted data 10:05:11 gpg: encrypted with 1 passphrase 10:05:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 10:05:11 + mkdir /home/jenkins 10:05:11 + mkdir /home/jenkins/sigul [Pipeline] sh 10:05:12 + 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 10:05:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 10:05:12 ---> sigul-install.sh 10:05:12 Sigul already installed; skipping installation. [Pipeline] sh 10:05:12 + git tag --list 10:05:12 0.7.1 10:05:12 delhi-tag 10:05:12 v1.0.0 10:05:12 v1.1.0 10:05:12 v1.1.1 10:05:12 v1.1.2 10:05:12 v1.2.0 10:05:12 v1.2.1 10:05:12 v1.2.2 10:05:12 v1.2.3 10:05:12 v1.3.0 10:05:12 v1.4.0 10:05:12 v2.0.0 10:05:12 v2.1.0 10:05:12 v2.1.1 10:05:12 v2.1.1-dev.2 10:05:12 v2.1.1-dev.3 10:05:12 v2.2.0 10:05:12 v2.2.1-dev.1 10:05:12 v2.2.1-dev.10 10:05:12 v2.2.1-dev.11 10:05:12 v2.2.1-dev.12 10:05:12 v2.2.1-dev.13 10:05:12 v2.2.1-dev.14 10:05:12 v2.2.1-dev.2 10:05:12 v2.2.1-dev.3 10:05:12 v2.2.1-dev.4 10:05:12 v2.2.1-dev.5 10:05:12 v2.2.1-dev.6 10:05:12 v2.2.1-dev.7 10:05:12 v2.2.1-dev.8 10:05:12 v2.2.1-dev.9 10:05:12 v2.3.0 10:05:12 v2.3.0-dev.14 10:05:12 v2.3.0-dev.15 10:05:12 v2.3.0-dev.16 10:05:12 v2.3.0-dev.17 10:05:12 v2.3.0-dev.18 10:05:12 v2.3.0-dev.19 10:05:12 v2.3.0-dev.20 10:05:12 v2.3.0-dev.21 10:05:12 v2.3.0-dev.22 10:05:12 v2.3.0-dev.23 10:05:12 v2.3.0-dev.24 10:05:12 v2.3.0-dev.25 10:05:12 v2.3.0-dev.26 10:05:12 v2.3.0-dev.27 10:05:12 v2.3.0-dev.28 10:05:12 v2.3.0-dev.29 10:05:12 v2.3.0-dev.30 10:05:12 v2.3.0-dev.31 10:05:12 v2.3.0-dev.32 10:05:12 v2.3.0-dev.33 10:05:12 v2.3.0-dev.34 10:05:12 v2.3.0-dev.35 10:05:12 v2.3.0-dev.36 10:05:12 v2.3.0-dev.37 10:05:12 v2.3.0-dev.38 10:05:12 v2.3.0-dev.39 10:05:12 v2.3.0-dev.40 10:05:12 v2.3.0-dev.41 10:05:12 v2.3.0-dev.42 10:05:12 v2.3.0-dev.43 10:05:12 v2.3.0-dev.44 10:05:12 v2.3.0-dev.45 10:05:12 v2.3.0-dev.46 10:05:12 v2.3.0-dev.47 10:05:12 v2.3.0-dev.48 10:05:12 v2.3.0-dev.49 10:05:12 v2.3.0-dev.50 10:05:12 v2.3.0-dev.51 10:05:12 v2.3.1 10:05:12 v2.3.1-dev.1 10:05:12 v2.3.1-dev.2 10:05:12 v2.3.1-dev.3 10:05:12 v2.3.1-dev.4 10:05:12 v3.0.0-dev.1 10:05:12 v3.0.0-dev.10 10:05:12 v3.0.0-dev.11 10:05:12 v3.0.0-dev.12 10:05:12 v3.0.0-dev.13 10:05:12 v3.0.0-dev.14 10:05:12 v3.0.0-dev.15 10:05:12 v3.0.0-dev.16 10:05:12 v3.0.0-dev.17 10:05:12 v3.0.0-dev.18 10:05:12 v3.0.0-dev.19 10:05:12 v3.0.0-dev.2 10:05:12 v3.0.0-dev.20 10:05:12 v3.0.0-dev.21 10:05:12 v3.0.0-dev.22 10:05:12 v3.0.0-dev.23 10:05:12 v3.0.0-dev.24 10:05:12 v3.0.0-dev.25 10:05:12 v3.0.0-dev.26 10:05:12 v3.0.0-dev.27 10:05:12 v3.0.0-dev.28 10:05:12 v3.0.0-dev.29 10:05:12 v3.0.0-dev.3 10:05:12 v3.0.0-dev.30 10:05:12 v3.0.0-dev.31 10:05:12 v3.0.0-dev.32 10:05:12 v3.0.0-dev.33 10:05:12 v3.0.0-dev.34 10:05:12 v3.0.0-dev.35 10:05:12 v3.0.0-dev.36 10:05:12 v3.0.0-dev.37 10:05:12 v3.0.0-dev.38 10:05:12 v3.0.0-dev.39 10:05:12 v3.0.0-dev.4 10:05:12 v3.0.0-dev.40 10:05:12 v3.0.0-dev.41 10:05:12 v3.0.0-dev.42 10:05:12 v3.0.0-dev.43 10:05:12 v3.0.0-dev.44 10:05:12 v3.0.0-dev.45 10:05:12 v3.0.0-dev.46 10:05:12 v3.0.0-dev.47 10:05:12 v3.0.0-dev.48 10:05:12 v3.0.0-dev.49 10:05:12 v3.0.0-dev.5 10:05:12 v3.0.0-dev.50 10:05:12 v3.0.0-dev.51 10:05:12 v3.0.0-dev.52 10:05:12 v3.0.0-dev.53 10:05:12 v3.0.0-dev.54 10:05:12 v3.0.0-dev.55 10:05:12 v3.0.0-dev.56 10:05:12 v3.0.0-dev.57 10:05:12 v3.0.0-dev.58 10:05:12 v3.0.0-dev.59 10:05:12 v3.0.0-dev.6 10:05:12 v3.0.0-dev.60 10:05:12 v3.0.0-dev.61 10:05:12 v3.0.0-dev.62 10:05:12 v3.0.0-dev.63 10:05:12 v3.0.0-dev.64 10:05:12 v3.0.0-dev.65 10:05:12 v3.0.0-dev.66 10:05:12 v3.0.0-dev.67 10:05:12 v3.0.0-dev.68 10:05:12 v3.0.0-dev.69 10:05:12 v3.0.0-dev.7 10:05:12 v3.0.0-dev.70 10:05:12 v3.0.0-dev.71 10:05:12 v3.0.0-dev.72 10:05:12 v3.0.0-dev.73 10:05:12 v3.0.0-dev.74 10:05:12 v3.0.0-dev.75 10:05:12 v3.0.0-dev.76 10:05:12 v3.0.0-dev.77 10:05:12 v3.0.0-dev.78 10:05:12 v3.0.0-dev.79 10:05:12 v3.0.0-dev.8 10:05:12 v3.0.0-dev.80 10:05:12 v3.0.0-dev.81 10:05:12 v3.0.0-dev.82 10:05:12 v3.0.0-dev.83 10:05:12 v3.0.0-dev.84 10:05:12 v3.0.0-dev.9 [Pipeline] sh 10:05:13 + lftools sign git-tag v3.0.0-dev.84 10:05:13 Signing Git tag with Sigul... 10:05:13 Signing v3.0.0-dev.84 [Pipeline] echo 10:05:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 10:05:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 10:05:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 10:05:14 $ docker stop --time=1 09314ad6d9534ff065c3571365d560214d7394320ff66a688f904f75a19181c0 10:05:15 $ docker rm -f --volumes 09314ad6d9534ff065c3571365d560214d7394320ff66a688f904f75a19181c0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 10:05:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:05:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:16 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:05:17 $ docker top 669277d625c77bb51d08cb077217f580c8b50e37c7ff0f9ee8bb5210c6c1e93a -eo pid,comm 10:05:17 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). 10:05:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:17 [ssh-agent] Looking for ssh-agent implementation... 10:05:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:17 $ docker exec 669277d625c77bb51d08cb077217f580c8b50e37c7ff0f9ee8bb5210c6c1e93a ssh-agent 10:05:17 SSH_AUTH_SOCK=/tmp/ssh-Tpt3CrfKfkOt/agent.31 10:05:17 SSH_AGENT_PID=37 10:05:17 Running ssh-add (command line suppressed) 10:05:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17798861467093826433.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17798861467093826433.key) 10:05:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:17 + git semver bump pre 10:05:17 2023-05-09 10:05:17,891 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:05:17 2023-05-09 10:05:17,891 [bump_version] DEBUG bumping version:3.0.0-dev.84 on axis:pre with prefix:dev 10:05:17 2023-05-09 10:05:17,891 [bump_version] DEBUG bumped version:3.0.0-dev.85 10:05:17 2023-05-09 10:05:17,891 [write_version] DEBUG write version:3.0.0-dev.85 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 10:05:17 2023-05-09 10:05:17,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:05:17 2023-05-09 10:05:17,892 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:05:17 2023-05-09 10:05:17,893 [execute] INFO git cat-file --batch-check 10:05:17 2023-05-09 10:05:17,893 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:05:17 2023-05-09 10:05:17,898 [execute] INFO git cat-file --batch 10:05:17 2023-05-09 10:05:17,899 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:05:17 2023-05-09 10:05:17,903 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:05:17 3.0.0-dev.85 [Pipeline] } 10:05:17 $ docker exec --env ******** --env ******** 669277d625c77bb51d08cb077217f580c8b50e37c7ff0f9ee8bb5210c6c1e93a ssh-agent -k 10:05:18 unset SSH_AUTH_SOCK; 10:05:18 unset SSH_AGENT_PID; 10:05:18 echo Agent pid 37 killed; 10:05:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:18 + git semver [Pipeline] } 10:05:18 $ docker stop --time=1 669277d625c77bb51d08cb077217f580c8b50e37c7ff0f9ee8bb5210c6c1e93a 10:05:19 $ docker rm -f --volumes 669277d625c77bb51d08cb077217f580c8b50e37c7ff0f9ee8bb5210c6c1e93a [Pipeline] // withDockerContainer [Pipeline] sh 10:05:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:05:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:20 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:05:21 $ docker top ff801a030517364ece1abd57aaad03fade5095b505ab2c386a50a84c8543316b -eo pid,comm 10:05:21 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). 10:05:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:05:21 [ssh-agent] Looking for ssh-agent implementation... 10:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:05:21 $ docker exec ff801a030517364ece1abd57aaad03fade5095b505ab2c386a50a84c8543316b ssh-agent 10:05:21 SSH_AUTH_SOCK=/tmp/ssh-NlpRZVrSteqt/agent.33 10:05:21 SSH_AGENT_PID=39 10:05:21 Running ssh-add (command line suppressed) 10:05:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6986634380254339974.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6986634380254339974.key) 10:05:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:05:21 + git semver push 10:05:21 2023-05-09 10:05:21,894 [run_push] DEBUG push 10:05:21 2023-05-09 10:05:21,895 [execute] INFO git cat-file --batch-check 10:05:21 2023-05-09 10:05:21,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 10:05:21 2023-05-09 10:05:21,899 [execute] INFO git rev-list bf7af1b561eb904bb0890e6c17d958f1d108b51c -- 10:05:21 2023-05-09 10:05:21,899 [execute] DEBUG Popen(['git', 'rev-list', 'bf7af1b561eb904bb0890e6c17d958f1d108b51c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:05:21 2023-05-09 10:05:21,912 [execute] INFO git fetch -v origin 10:05:21 2023-05-09 10:05:21,912 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 10:05:22 2023-05-09 10:05:22,387 [run_push] DEBUG no remote changes detected 10:05:22 2023-05-09 10:05:22,388 [execute] INFO git push origin semver 10:05:22 2023-05-09 10:05:22,388 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 10:05:23 2023-05-09 10:05:23,321 [run_push] DEBUG push all version tags 10:05:23 2023-05-09 10:05:23,321 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 10:05:23 2023-05-09 10:05:23,322 [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) 10:05:24 2023-05-09 10:05:24,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 10:05:24 3.0.0-dev.85 [Pipeline] } 10:05:24 $ docker exec --env ******** --env ******** ff801a030517364ece1abd57aaad03fade5095b505ab2c386a50a84c8543316b ssh-agent -k 10:05:24 unset SSH_AUTH_SOCK; 10:05:24 unset SSH_AGENT_PID; 10:05:24 echo Agent pid 39 killed; 10:05:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:05:24 + git semver [Pipeline] } 10:05:25 $ docker stop --time=1 ff801a030517364ece1abd57aaad03fade5095b505ab2c386a50a84c8543316b 10:05:26 $ docker rm -f --volumes ff801a030517364ece1abd57aaad03fade5095b505ab2c386a50a84c8543316b [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 10:05:27 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 10:05:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:05:27 total 16 10:05:27 drwxr-xr-x 3 root root 4096 May 9 09:52 . 10:05:27 drwxrwxr-x 12 jenkins jenkins 4096 May 9 10:05 .. 10:05:27 drwxr-xr-x 2 root root 4096 May 9 09:52 cost 10:05:27 -rw-r--r-- 1 root root 85 May 9 09:52 cost.csv 10:05:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:05:27 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 10:05:27 total 16 10:05:27 drwxr-xr-x 3 jenkins jenkins 4096 May 9 09:52 . 10:05:27 drwxrwxr-x 12 jenkins jenkins 4096 May 9 10:05 .. 10:05:27 drwxr-xr-x 2 jenkins jenkins 4096 May 9 09:52 cost 10:05:27 -rw-r--r-- 1 jenkins jenkins 85 May 9 09:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:05:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:05:28 ---> package-listing.sh 10:05:28 ++ facter osfamily 10:05:28 ++ tr '[:upper:]' '[:lower:]' 10:05:28 + OS_FAMILY=debian 10:05:28 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 10:05:28 + START_PACKAGES=/tmp/packages_start.txt 10:05:28 + END_PACKAGES=/tmp/packages_end.txt 10:05:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:05:28 + PACKAGES=/tmp/packages_start.txt 10:05:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:05:28 + PACKAGES=/tmp/packages_end.txt 10:05:28 + case "${OS_FAMILY}" in 10:05:28 + dpkg -l 10:05:28 + grep '^ii' 10:05:28 + '[' -f /tmp/packages_start.txt ']' 10:05:28 + '[' -f /tmp/packages_end.txt ']' 10:05:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:05:28 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 10:05:28 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 10:05:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 10:05:28 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 10:05:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:05:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:05:29 prd-ubuntu20.04-docker-8c-8g-14647 does not seem to be running inside a container 10:05:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:05:29 $ docker top b0517cad89a61db385357297042bb80cfcbc40c19f14249d40e3e7a08103e1ad -eo pid,comm [Pipeline] { [Pipeline] sh 10:05:30 + touch /tmp/pre-build-complete [Pipeline] sh 10:05:30 + mkdir -p /var/log/sysstat [Pipeline] sh 10:05:30 + ls /var/log/sa-host 10:05:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:05:31 provisioning config files... 10:05:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14608779499652838867tmp [Pipeline] { [Pipeline] echo 10:05:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:05:31 ---> create-netrc.sh [Pipeline] } 10:05:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:05:31 ---> python-tools-install.sh [Pipeline] echo 10:05:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:05:32 ---> sudo-logs.sh 10:05:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:05:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:05:32 ---> job-cost.sh 10:05:32 lf-activate-venv: SKIPPING 10:05:32 DEBUG: total: 0.2199999988079071 10:05:32 INFO: Retrieving Stack Cost... 10:05:32 INFO: Retrieving Pricing Info for: v3-standard-8 10:05:33 INFO: Archiving Costs [Pipeline] echo 10:05:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:05:33 ---> logs-deploy.sh 10:05:33 lf-activate-venv: SKIPPING 10:05:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/215 10:05:33 INFO: archiving workspace using pattern(s): 10:05:34 Archives upload complete. 10:05:34 INFO: archiving logs to Nexus