Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2fb876fcd1e0284408ad645a921007a1ace85f5 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-ssh9699540462616499511.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-ssh2985150710477200411.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-ssh12557246074447008274.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-ssh15259452556993648698.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-ssh4356606446908541901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-14461 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision c2fb876fcd1e0284408ad645a921007a1ace85f5 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 Commit message: "Merge pull request #1449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.81" > git rev-list --no-walk a0d89e9a5945a079b304faa7b7c2ac3a5afed34b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:30:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:30:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:30:19 ========================================================= 05:30:19 EdgeX Global Pipelines Version Info 05:30:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:30:20 ------------------- 05:30:20 stable info: 05:30:20 ------------------- 05:30:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:30:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:30:20 Message: update stable to v1.0.249 05:30:20 ------------------- 05:30:20 experimental info: 05:30:20 ------------------- 05:30:20 Commited By: **** collab-it+edgex@linuxfoundation.org 05:30:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 05:30:20 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2fb876 [Pipeline] echo 05:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:30:21 provisioning config files... 05:30:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3107731617936518478tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:21 ---> docker-login.sh 05:30:21 nexus3.edgexfoundry.org:10001 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 nexus3.edgexfoundry.org:10002 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 nexus3.edgexfoundry.org:10003 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 nexus3.edgexfoundry.org:10004 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 docker.io 05:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:22 Configure a credential helper to remove this warning. See 05:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:22 05:30:22 Login Succeeded 05:30:22 ---> docker-login.sh ends [Pipeline] } 05:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:30:23 + git rev-list -1 --merges c2fb876fcd1e0284408ad645a921007a1ace85f5~1..c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] echo 05:30:23 -----------> git rev-list -1 --merges c2fb876fcd1e0284408ad645a921007a1ace85f5~1..c2fb876fcd1e0284408ad645a921007a1ace85f5 c2fb876fcd1e0284408ad645a921007a1ace85f5 05:30:23 c2fb876fcd1e0284408ad645a921007a1ace85f5 [false] [Pipeline] sh 05:30:23 + git log --format=format:%s -1 c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] echo 05:30:23 ========================================================= 05:30:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:30:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:24 + git log --format=format:%s -1 c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] echo 05:30:24 [semverPrep] GIT_COMMIT: c2fb876fcd1e0284408ad645a921007a1ace85f5, Commit Message: Merge pull request #1449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.81 [Pipeline] echo 05:30:24 [semverPrep] This is not a build commit. [Pipeline] sh 05:30:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:30:24 + grep -v github /etc/ssh/ssh_known_hosts 05:30:24 + [ -e /tmp/ssh_known_hosts ] 05:30:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:30:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 05:30:24 sudo tee -a /etc/ssh/ssh_known_hosts 05:30:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:24 05:30:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:25 0.1.4: Pulling from edgex-devops/py-git-semver 05:30:25 b85a868b505f: Pulling fs layer 05:30:25 e2be974225ed: Pulling fs layer 05:30:25 339a4e72a1f5: Pulling fs layer 05:30:25 988bab9f4d93: Pulling fs layer 05:30:25 1469e6f7b9e6: Pulling fs layer 05:30:25 eaf3925da568: Pulling fs layer 05:30:25 bab4dde63d76: Pulling fs layer 05:30:25 bde34c3a00c8: Pulling fs layer 05:30:25 b352a97aabf1: Pulling fs layer 05:30:25 4872d77fe225: Pulling fs layer 05:30:25 5851b861e8e6: Pulling fs layer 05:30:25 988bab9f4d93: Waiting 05:30:25 1469e6f7b9e6: Waiting 05:30:25 b352a97aabf1: Waiting 05:30:25 eaf3925da568: Waiting 05:30:25 4872d77fe225: Waiting 05:30:25 5851b861e8e6: Waiting 05:30:25 bab4dde63d76: Waiting 05:30:25 bde34c3a00c8: Waiting 05:30:25 e2be974225ed: Download complete 05:30:25 988bab9f4d93: Verifying Checksum 05:30:25 988bab9f4d93: Download complete 05:30:25 1469e6f7b9e6: Verifying Checksum 05:30:25 1469e6f7b9e6: Download complete 05:30:25 eaf3925da568: Verifying Checksum 05:30:25 eaf3925da568: Download complete 05:30:25 339a4e72a1f5: Verifying Checksum 05:30:25 339a4e72a1f5: Download complete 05:30:25 bde34c3a00c8: Verifying Checksum 05:30:25 bde34c3a00c8: Download complete 05:30:25 b352a97aabf1: Verifying Checksum 05:30:25 b352a97aabf1: Download complete 05:30:25 4872d77fe225: Download complete 05:30:25 5851b861e8e6: Verifying Checksum 05:30:25 5851b861e8e6: Download complete 05:30:25 b85a868b505f: Verifying Checksum 05:30:25 b85a868b505f: Download complete 05:30:25 bab4dde63d76: Verifying Checksum 05:30:25 bab4dde63d76: Download complete 05:30:26 b85a868b505f: Pull complete 05:30:26 e2be974225ed: Pull complete 05:30:27 339a4e72a1f5: Pull complete 05:30:27 988bab9f4d93: Pull complete 05:30:27 1469e6f7b9e6: Pull complete 05:30:27 eaf3925da568: Pull complete 05:30:29 bab4dde63d76: Pull complete 05:30:29 bde34c3a00c8: Pull complete 05:30:29 b352a97aabf1: Pull complete 05:30:29 4872d77fe225: Pull complete 05:30:29 5851b861e8e6: Pull complete 05:30:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:30:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:30:29 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:30:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:30:31 $ docker top 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 -eo pid,comm 05:30:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:30:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:31 [ssh-agent] Looking for ssh-agent implementation... 05:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:31 $ docker exec 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 ssh-agent 05:30:31 SSH_AUTH_SOCK=/tmp/ssh-yZaP6E8Rmy7v/agent.32 05:30:31 SSH_AGENT_PID=38 05:30:31 Running ssh-add (command line suppressed) 05:30:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15714189903131885472.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15714189903131885472.key) 05:30:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:31 + git tag --points-at HEAD [Pipeline] } 05:30:31 $ docker exec --env ******** --env ******** 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 ssh-agent -k 05:30:31 unset SSH_AUTH_SOCK; 05:30:31 unset SSH_AGENT_PID; 05:30:31 echo Agent pid 38 killed; 05:30:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:30:31 [ssh-agent] Looking for ssh-agent implementation... 05:30:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:30:32 $ docker exec 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 ssh-agent 05:30:32 SSH_AUTH_SOCK=/tmp/ssh-yw58F9ffkXdU/agent.71 05:30:32 SSH_AGENT_PID=77 05:30:32 Running ssh-add (command line suppressed) 05:30:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7598208030320705233.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7598208030320705233.key) 05:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:30:32 + git semver init 05:30:32 2023-05-08 05:30:32,770 [run_init] DEBUG init version:0.0.0 force:False 05:30:32 2023-05-08 05:30:32,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:30:32 2023-05-08 05:30:32,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:30:32 2023-05-08 05:30:32,771 [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) 05:30:33 2023-05-08 05:30:33,608 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:30:33 2023-05-08 05:30:33,609 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:30:33 2023-05-08 05:30:33,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:30:33 2023-05-08 05:30:33,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:30:33 3.0.0-dev.83 [Pipeline] } 05:30:33 $ docker exec --env ******** --env ******** 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 ssh-agent -k 05:30:33 unset SSH_AUTH_SOCK; 05:30:33 unset SSH_AGENT_PID; 05:30:33 echo Agent pid 77 killed; 05:30:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:30:34 + git semver [Pipeline] } 05:30:34 $ docker stop --time=1 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 05:30:35 $ docker rm -f --volumes 5521416dcfd554804626d54b9fc2a6e6bd14d6c2528c2c41ded1509ec87d6fa6 [Pipeline] // withDockerContainer [Pipeline] sh 05:30:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:30:36 Stashed 1 file(s) [Pipeline] echo 05:30:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.83 [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 05:30:36 provisioning config files... 05:30:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4725268492427916534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:30:36 ---> docker-login.sh 05:30:36 nexus3.edgexfoundry.org:10001 05:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:36 Configure a credential helper to remove this warning. See 05:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:36 05:30:36 Login Succeeded 05:30:36 nexus3.edgexfoundry.org:10002 05:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:36 Configure a credential helper to remove this warning. See 05:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:36 05:30:36 Login Succeeded 05:30:36 nexus3.edgexfoundry.org:10003 05:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:36 Configure a credential helper to remove this warning. See 05:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:36 05:30:36 Login Succeeded 05:30:36 nexus3.edgexfoundry.org:10004 05:30:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:36 Configure a credential helper to remove this warning. See 05:30:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:36 05:30:36 Login Succeeded 05:30:36 docker.io 05:30:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:30:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:30:37 Configure a credential helper to remove this warning. See 05:30:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:30:37 05:30:37 Login Succeeded 05:30:37 ---> docker-login.sh ends [Pipeline] } 05:30:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:30:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:30:37 ========================================================= 05:30:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 05:30:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:37 + 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 . 05:30:37 Sending build context to Docker daemon 11.06MB 05:30:37 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:30:37 Step 2/10 : FROM ${BASE} AS builder 05:30:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 05:30:37 f56be85fc22e: Pulling fs layer 05:30:37 85791d961cd3: Pulling fs layer 05:30:37 d694b5ae8c79: Pulling fs layer 05:30:37 9f32a84ed3da: Pulling fs layer 05:30:37 4d19c01a9841: Pulling fs layer 05:30:37 9325e15d5711: Pulling fs layer 05:30:37 556b6ee489ea: Pulling fs layer 05:30:37 c5a4b2cf53e6: Pulling fs layer 05:30:37 9f32a84ed3da: Waiting 05:30:37 9325e15d5711: Waiting 05:30:37 4d19c01a9841: Waiting 05:30:37 556b6ee489ea: Waiting 05:30:37 85791d961cd3: Verifying Checksum 05:30:37 85791d961cd3: Download complete 05:30:37 9f32a84ed3da: Verifying Checksum 05:30:37 9f32a84ed3da: Download complete 05:30:37 4d19c01a9841: Verifying Checksum 05:30:37 4d19c01a9841: Download complete 05:30:37 f56be85fc22e: Download complete 05:30:37 9325e15d5711: Verifying Checksum 05:30:37 f56be85fc22e: Pull complete 05:30:38 85791d961cd3: Pull complete 05:30:38 c5a4b2cf53e6: Verifying Checksum 05:30:38 c5a4b2cf53e6: Download complete 05:30:38 d694b5ae8c79: Verifying Checksum 05:30:38 d694b5ae8c79: Download complete 05:30:38 556b6ee489ea: Verifying Checksum 05:30:38 556b6ee489ea: Download complete 05:30:41 d694b5ae8c79: Pull complete 05:30:41 9f32a84ed3da: Pull complete 05:30:41 4d19c01a9841: Pull complete 05:30:41 9325e15d5711: Pull complete 05:30:44 556b6ee489ea: Pull complete 05:30:45 c5a4b2cf53e6: Pull complete 05:30:45 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 05:30:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 05:30:45 ---> c4be618373d6 05:30:45 Step 3/10 : ARG MAKE=make build 05:30:46 ---> Running in 771bc23493a7 05:30:47 Removing intermediate container 771bc23493a7 05:30:47 ---> 3d1bcc06babc 05:30:47 Step 4/10 : WORKDIR /device-sdk-go 05:30:47 ---> Running in 79653121e154 05:30:47 Removing intermediate container 79653121e154 05:30:47 ---> fcc839550e7c 05:30:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:30:47 ---> Running in 47105d91da95 05:30:47 Removing intermediate container 47105d91da95 05:30:47 ---> a67af603c06a 05:30:47 Step 6/10 : RUN apk add --update --no-cache make git 05:30:47 ---> Running in 22b65709b8a2 05:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:30:47 OK: 265 MiB in 53 packages 05:30:48 Removing intermediate container 22b65709b8a2 05:30:48 ---> e87db2cc48b9 05:30:48 Step 7/10 : COPY go.mod vendor* ./ 05:30:48 ---> d37e308bf34e 05:30:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:30:48 ---> Running in ca3616c363ca 05:30:51 Still waiting to schedule task 05:30:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:31:28 Removing intermediate container ca3616c363ca 05:31:28 ---> c195ce38c85f 05:31:28 Step 9/10 : COPY . . 05:31:28 ---> 170dff118e49 05:31:28 Step 10/10 : RUN ${MAKE} 05:31:28 ---> Running in 40d9615643ac 05:31:28 noop 05:31:28 Removing intermediate container 40d9615643ac 05:31:28 ---> fa37a8496f09 05:31:28 Successfully built fa37a8496f09 05:31:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:28 + docker inspect -f . ci-base-image-x86_64 05:31:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:28 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:31:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:31:29 $ docker top 5b9c86e92d8869bad2cd3429be1952ba09a20274aa9a96ca75ab3216ac076914 -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:29 + go version 05:31:29 go version go1.20.2 linux/amd64 [Pipeline] } 05:31:29 $ docker stop --time=1 5b9c86e92d8869bad2cd3429be1952ba09a20274aa9a96ca75ab3216ac076914 05:31:31 $ docker rm -f --volumes 5b9c86e92d8869bad2cd3429be1952ba09a20274aa9a96ca75ab3216ac076914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:31:31 + docker inspect -f . ci-base-image-x86_64 05:31:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:31:31 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:31:32 $ docker top cc92b21d4984a3a899f737e2cfef93fb940821e4ada9585378554b96ca9457eb -eo pid,comm [Pipeline] { [Pipeline] sh 05:31:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:31:32 + make test 05:31:32 go test -race -coverprofile=coverage.out ./... 05:31:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:31:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:31:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.082s coverage: 27.6% of statements 05:31:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 05:31:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:31:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:31:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.068s coverage: 86.0% of statements 05:31:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:31:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:31:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:31:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:31:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 77.5% of statements 05:31:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:31:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.077s coverage: 14.6% of statements 05:31:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.061s coverage: 68.5% of statements 05:31:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.123s coverage: 89.2% of statements 05:31:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 5.5% of statements 05:32:20 GO111MODULE=on go vet ./... 05:32:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:32:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:32:22 ./bin/test-attribution-txt.sh [Pipeline] echo 05:32:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:32:22 $ docker stop --time=1 cc92b21d4984a3a899f737e2cfef93fb940821e4ada9585378554b96ca9457eb 05:32:24 $ docker rm -f --volumes cc92b21d4984a3a899f737e2cfef93fb940821e4ada9585378554b96ca9457eb [Pipeline] // withDockerContainer [Pipeline] sh 05:32:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:32:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:32:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:32:25 + ls -al . 05:32:25 total 272 05:32:25 drwxrwxr-x 11 jenkins jenkins 4096 May 8 05:31 . 05:32:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:30 .. 05:32:25 -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:30 .dockerignore 05:32:25 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:30 .git 05:32:25 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:30 .github 05:32:25 -rw-rw-r-- 1 jenkins jenkins 131 May 8 05:30 .gitignore 05:32:25 -rw-rw-r-- 1 jenkins jenkins 42 May 8 05:30 .golangci.yml 05:32:25 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:30 .semver 05:32:25 -rw-rw-r-- 1 jenkins jenkins 31677 May 8 05:30 CHANGELOG.md 05:32:25 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:30 GOVERNANCE.md 05:32:25 -rw-rw-r-- 1 jenkins jenkins 885 May 8 05:30 Jenkinsfile 05:32:25 -rw-rw-r-- 1 jenkins jenkins 11341 May 8 05:30 LICENSE 05:32:25 -rw-rw-r-- 1 jenkins jenkins 1714 May 8 05:30 Makefile 05:32:25 -rw-rw-r-- 1 jenkins jenkins 619 May 8 05:30 OWNERS.md 05:32:25 -rw-rw-r-- 1 jenkins jenkins 4891 May 8 05:30 README.md 05:32:25 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:30 VERSION 05:32:25 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:30 bin 05:32:25 -rw-r--r-- 1 jenkins jenkins 106119 May 8 05:31 coverage.out 05:32:25 drwxrwxr-x 5 jenkins jenkins 4096 May 8 05:30 example 05:32:25 -rw-rw-r-- 1 jenkins jenkins 3246 May 8 05:30 go.mod 05:32:25 -rw-rw-r-- 1 jenkins jenkins 30781 May 8 05:30 go.sum 05:32:25 drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:30 internal 05:32:25 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:30 openapi 05:32:25 drwxrwxr-x 6 jenkins jenkins 4096 May 8 05:30 pkg 05:32:25 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:30 snap 05:32:25 -rw-rw-r-- 1 jenkins jenkins 222 May 8 05:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14463 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:32:25 Running in /w/workspace/device-sdk-go/214 [Pipeline] { [Pipeline] checkout 05:32:25 The recommended git tool is: git 05:32:25 + 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=c2fb876fcd1e0284408ad645a921007a1ace85f5 --label arch=amd64 --label version=3.0.0-dev.83 . 05:32:25 Sending build context to Docker daemon 11.16MB 05:32:25 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:32:25 Step 2/23 : FROM ${BASE} AS builder 05:32:25 ---> fa37a8496f09 05:32:25 Step 3/23 : ARG MAKE=make build 05:32:25 ---> Running in 414242620cda 05:32:26 Removing intermediate container 414242620cda 05:32:26 ---> 6a35a16b27f4 05:32:26 Step 4/23 : WORKDIR /device-sdk-go 05:32:26 ---> Running in 8d5b98afe1fd 05:32:26 Removing intermediate container 8d5b98afe1fd 05:32:26 ---> c955fa6ab4e0 05:32:26 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:32:26 ---> Running in 7250cb38d2ee 05:32:26 Removing intermediate container 7250cb38d2ee 05:32:26 ---> 94c3c0878572 05:32:26 Step 6/23 : RUN apk add --update --no-cache make git 05:32:26 ---> Running in 2dd2274bb688 05:32:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:32:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:32:27 OK: 265 MiB in 53 packages 05:32:27 Removing intermediate container 2dd2274bb688 05:32:27 ---> 5ff647ed5612 05:32:27 Step 7/23 : COPY go.mod vendor* ./ 05:32:27 ---> c84781a740bc 05:32:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:27 ---> Running in 2d21919e61ac 05:32:28 Removing intermediate container 2d21919e61ac 05:32:28 ---> 24d1f9d46bfe 05:32:28 Step 9/23 : COPY . . 05:32:28 ---> 741565ff3409 05:32:28 Step 10/23 : RUN ${MAKE} 05:32:28 ---> Running in ee9cb07c906e 05:32:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.83" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:32:31 using credential edgex-jenkins-ssh 05:32:31 Cloning the remote Git repository 05:32:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:32:31 > git init /w/workspace/device-sdk-go/214 # timeout=10 05:32:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:32:31 > git --version # timeout=10 05:32:31 > git --version # 'git version 2.25.1' 05:32:31 using GIT_SSH to set credentials SSH Credentials for GitHub 05:32:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:34 Avoid second fetch 05:32:34 Checking out Revision c2fb876fcd1e0284408ad645a921007a1ace85f5 (main) 05:32:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:32:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:32:34 > git config core.sparsecheckout # timeout=10 05:32:34 > git checkout -f c2fb876fcd1e0284408ad645a921007a1ace85f5 # timeout=10 05:32:34 Commit message: "Merge pull request #1449 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.81" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:32:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:32:35 % Total % Received % Xferd Average Speed Time Time Time Current 05:32:35 Dload Upload Total Spent Left Speed 05:32:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 05:32:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:32:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json 05:32:36 sudo tee /etc/docker/daemon.new 05:32:36 { 05:32:36 "registry-mirrors": [ 05:32:36 "https://nexus3.edgexfoundry.org:10001" 05:32:36 ], 05:32:36 "bip": "10.250.0.254/24", 05:32:36 "hosts": [ 05:32:36 "tcp://0.0.0.0:5555", 05:32:36 "unix:///var/run/docker.sock" 05:32:36 ], 05:32:36 "mtu": 1458, 05:32:36 "selinux-enabled": true, 05:32:36 "seccomp-profile": "/etc/docker/seccomp.json" 05:32:36 } [Pipeline] sh 05:32:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:32:37 + sudo service docker restart 05:32:46 Removing intermediate container ee9cb07c906e 05:32:46 ---> ce94e0be6bbb 05:32:46 Step 11/23 : FROM alpine:3.17 05:32:46 3.17: Pulling from library/alpine 05:32:46 f56be85fc22e: Already exists 05:32:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:32:46 Status: Downloaded newer image for alpine:3.17 05:32:46 ---> 9ed4aefc74f6 05:32:46 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:32:46 ---> Running in 679e76f39ad1 05:32:46 Removing intermediate container 679e76f39ad1 05:32:46 ---> b1db7edb7e78 05:32:46 Step 13/23 : RUN apk add --update --no-cache 05:32:46 ---> Running in 47099aa03b99 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 05:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 05:32:46 OK: 7 MiB in 15 packages 05:32:47 Removing intermediate container 47099aa03b99 05:32:47 ---> 6f08a26859d5 05:32:47 Step 14/23 : WORKDIR / 05:32:47 ---> Running in bb211f7cca46 05:32:47 Removing intermediate container bb211f7cca46 05:32:47 ---> 5b4d7f526748 05:32:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:32:47 ---> 15f68bca2088 05:32:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:32:47 ---> ae09ba20885c 05:32:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:32:47 ---> 034663d83fa5 05:32:47 Step 18/23 : EXPOSE 59999 05:32:47 ---> Running in 10a2245e3aff 05:32:47 Removing intermediate container 10a2245e3aff 05:32:47 ---> f1599eebfc05 05:32:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:32:47 ---> Running in b73b34ed2155 05:32:48 Removing intermediate container b73b34ed2155 05:32:48 ---> c024f695a089 05:32:48 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:32:48 ---> Running in 9495232689ee 05:32:48 Removing intermediate container 9495232689ee 05:32:48 ---> ad0853196640 05:32:48 Step 21/23 : LABEL arch=amd64 05:32:48 ---> Running in 16fc9c967be7 05:32:48 Removing intermediate container 16fc9c967be7 05:32:48 ---> 60c805b4f957 05:32:48 Step 22/23 : LABEL git_sha=c2fb876fcd1e0284408ad645a921007a1ace85f5 05:32:48 ---> Running in 46daf9bbdd8e 05:32:48 Removing intermediate container 46daf9bbdd8e 05:32:48 ---> 6683c7d9e094 05:32:48 Step 23/23 : LABEL version=3.0.0-dev.83 05:32:48 ---> Running in 0af30eedfe4b 05:32:48 Removing intermediate container 0af30eedfe4b 05:32:48 ---> 84c1dac31b49 05:32:48 [Warning] One or more build-args [ARCH] were not consumed 05:32:48 Successfully built 84c1dac31b49 05:32:48 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 05:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:32:48 05:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:32:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:32:49 latest: Pulling from edgex-lftools-log-publisher 05:32:49 5eb5b503b376: Pulling fs layer 05:32:49 5c69ac0246d0: Pulling fs layer 05:32:49 ec43610c2a17: Pulling fs layer 05:32:49 3a2ae6a8a46f: Pulling fs layer 05:32:49 33b1e0a273af: Pulling fs layer 05:32:49 5d3b04190fa2: Pulling fs layer 05:32:49 2f39f015ded8: Pulling fs layer 05:32:49 3a2ae6a8a46f: Waiting 05:32:49 33b1e0a273af: Waiting 05:32:49 5d3b04190fa2: Waiting 05:32:49 5c69ac0246d0: Verifying Checksum 05:32:49 5c69ac0246d0: Download complete 05:32:49 3a2ae6a8a46f: Verifying Checksum 05:32:49 3a2ae6a8a46f: Download complete 05:32:49 33b1e0a273af: Verifying Checksum 05:32:49 33b1e0a273af: Download complete 05:32:49 ec43610c2a17: Verifying Checksum 05:32:49 ec43610c2a17: Download complete 05:32:49 5d3b04190fa2: Verifying Checksum 05:32:49 5d3b04190fa2: Download complete 05:32:49 5eb5b503b376: Verifying Checksum 05:32:49 5eb5b503b376: Download complete 05:32:49 2f39f015ded8: Verifying Checksum 05:32:49 2f39f015ded8: Download complete 05:32:50 5eb5b503b376: Pull complete 05:32:50 5c69ac0246d0: Pull complete 05:32:51 ec43610c2a17: Pull complete 05:32:51 3a2ae6a8a46f: Pull complete 05:32:51 33b1e0a273af: Pull complete 05:32:51 5d3b04190fa2: Pull complete 05:32:55 2f39f015ded8: Pull complete 05:32:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:32:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:32:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:32:55 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:32:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:32:56 $ docker top 8901a27377bc8c48e96eb4c958bc7404060e9291d4bfa99af53fccdb801e63de -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 05:32:56 provisioning config files... 05:32:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/214@tmp/config18418937578017831835tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:57 ---> job-cost.sh 05:32:57 lf-activate-venv: SKIPPING 05:32:57 INFO: No Stack... 05:32:57 ---> docker-login.sh 05:32:57 nexus3.edgexfoundry.org:10001 05:32:57 INFO: Retrieving Pricing Info for: v3-standard-8 05:32:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:57 INFO: Archiving Costs [Pipeline] sh 05:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:57 Configure a credential helper to remove this warning. See 05:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:57 05:32:57 Login Succeeded 05:32:57 nexus3.edgexfoundry.org:10002 05:32:58 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:32:58 + cut -d, -f6 [Pipeline] lock 05:32:58 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] 05:32:58 Resource [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] did not exist. Created. 05:32:58 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:58 + echo total: 0.2199999988079071 [Pipeline] stash 05:32:58 Stashed 1 file(s) [Pipeline] } 05:32:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] [Pipeline] // lock [Pipeline] } 05:32:58 $ docker stop --time=1 8901a27377bc8c48e96eb4c958bc7404060e9291d4bfa99af53fccdb801e63de 05:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:58 Configure a credential helper to remove this warning. See 05:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:58 05:32:58 Login Succeeded 05:32:58 nexus3.edgexfoundry.org:10003 05:32:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:58 Configure a credential helper to remove this warning. See 05:32:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:58 05:32:58 Login Succeeded 05:32:58 nexus3.edgexfoundry.org:10004 05:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:59 Configure a credential helper to remove this warning. See 05:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:59 05:32:59 Login Succeeded 05:32:59 docker.io 05:32:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:59 Configure a credential helper to remove this warning. See 05:32:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:59 05:32:59 Login Succeeded 05:32:59 ---> docker-login.sh ends 05:32:59 $ docker rm -f --volumes 8901a27377bc8c48e96eb4c958bc7404060e9291d4bfa99af53fccdb801e63de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 05:32:59 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 05:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:59 ========================================================= 05:32:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 05:32:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:00 + 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 . 05:33:00 Sending build context to Docker daemon 5.936MB 05:33:00 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 05:33:00 Step 2/10 : FROM ${BASE} AS builder 05:33:04 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:33:04 c41833b44d91: Pulling fs layer 05:33:04 ed15518f5707: Pulling fs layer 05:33:04 feae8fd75edb: Pulling fs layer 05:33:04 242c74f7c9fa: Pulling fs layer 05:33:04 3cdef696dda3: Pulling fs layer 05:33:04 2ced38df9373: Pulling fs layer 05:33:04 58f1dce35555: Pulling fs layer 05:33:04 242c74f7c9fa: Waiting 05:33:04 3cdef696dda3: Waiting 05:33:04 2ced38df9373: Waiting 05:33:04 58f1dce35555: Waiting 05:33:04 ed15518f5707: Verifying Checksum 05:33:04 ed15518f5707: Download complete 05:33:04 242c74f7c9fa: Verifying Checksum 05:33:04 242c74f7c9fa: Download complete 05:33:04 3cdef696dda3: Verifying Checksum 05:33:04 3cdef696dda3: Download complete 05:33:04 c41833b44d91: Download complete 05:33:05 c41833b44d91: Pull complete 05:33:05 58f1dce35555: Verifying Checksum 05:33:05 58f1dce35555: Download complete 05:33:05 ed15518f5707: Pull complete 05:33:06 feae8fd75edb: Download complete 05:33:06 2ced38df9373: Verifying Checksum 05:33:06 2ced38df9373: Download complete 05:33:19 feae8fd75edb: Pull complete 05:33:19 242c74f7c9fa: Pull complete 05:33:19 3cdef696dda3: Pull complete 05:33:25 2ced38df9373: Pull complete 05:33:30 58f1dce35555: Pull complete 05:33:30 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 05:33:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 05:33:30 ---> fadd8f120f05 05:33:30 Step 3/10 : ARG MAKE=make build 05:33:32 ---> Running in 53b7902351c2 05:33:32 Removing intermediate container 53b7902351c2 05:33:32 ---> 1f066a48dbff 05:33:32 Step 4/10 : WORKDIR /device-sdk-go 05:33:32 ---> Running in 70bd751f6011 05:33:32 Removing intermediate container 70bd751f6011 05:33:32 ---> 04afb28228e7 05:33:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:33:32 ---> Running in 774a2942d9f3 05:33:33 Removing intermediate container 774a2942d9f3 05:33:33 ---> 862482f95bdb 05:33:33 Step 6/10 : RUN apk add --update --no-cache make git 05:33:33 ---> Running in cc0568f06f8a 05:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:33:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:33:36 OK: 263 MiB in 53 packages 05:33:37 Removing intermediate container cc0568f06f8a 05:33:37 ---> 64c1c0be95d3 05:33:37 Step 7/10 : COPY go.mod vendor* ./ 05:33:37 ---> d6f77e627266 05:33:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:37 ---> Running in 106be4905641 05:34:45 Removing intermediate container 106be4905641 05:34:45 ---> bb89110fdff8 05:34:45 Step 9/10 : COPY . . 05:34:45 ---> 8df4518e309f 05:34:45 Step 10/10 : RUN ${MAKE} 05:34:45 ---> Running in 798f19777f36 05:34:45 noop 05:34:45 Removing intermediate container 798f19777f36 05:34:45 ---> 5e861b8bf27e 05:34:45 Successfully built 5e861b8bf27e 05:34:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:45 + docker inspect -f . ci-base-image-arm64 05:34:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:46 prd-ubuntu20.04-docker-arm64-4c-16g-14463 does not seem to be running inside a container 05:34:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/214 -v /w/workspace/device-sdk-go/214:/w/workspace/device-sdk-go/214:rw,z -v /w/workspace/device-sdk-go/214@tmp:/w/workspace/device-sdk-go/214@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 05:34:47 $ docker top 5ec10f594da029478fcf92227093f45f686739e921bf62e10e9f511e438ba6f6 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:48 + go version 05:34:48 go version go1.20.2 linux/arm64 [Pipeline] } 05:34:48 $ docker stop --time=1 5ec10f594da029478fcf92227093f45f686739e921bf62e10e9f511e438ba6f6 05:34:49 $ docker rm -f --volumes 5ec10f594da029478fcf92227093f45f686739e921bf62e10e9f511e438ba6f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:50 + docker inspect -f . ci-base-image-arm64 05:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:50 prd-ubuntu20.04-docker-arm64-4c-16g-14463 does not seem to be running inside a container 05:34:50 $ 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/214 -v /w/workspace/device-sdk-go/214:/w/workspace/device-sdk-go/214:rw,z -v /w/workspace/device-sdk-go/214@tmp:/w/workspace/device-sdk-go/214@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 05:34:52 $ docker top f13a243aa73664e32c94b287b9c4a1d50de719845997009acca9c8285a58dbee -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:53 + git config --global --add safe.directory /w/workspace/device-sdk-go/214 [Pipeline] fileExists [Pipeline] sh 05:34:54 + make test 05:34:54 go test -race -coverprofile=coverage.out ./... 05:35:41 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:38:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:38:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.253s coverage: 27.6% of statements 05:38:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.319s coverage: 80.2% of statements 05:38:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:38:42 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:38:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.412s coverage: 86.0% of statements 05:38:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:38:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.503s coverage: 77.5% of statements 05:38:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:38:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:38:55 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:38:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.299s coverage: 14.6% of statements 05:38:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.459s coverage: 68.5% of statements 05:39:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.493s coverage: 89.2% of statements 05:39:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:39:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.278s coverage: 5.5% of statements 05:39:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:39:03 GO111MODULE=on go vet ./... 05:42:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:42:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:42:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:42:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:42:10 $ docker stop --time=1 f13a243aa73664e32c94b287b9c4a1d50de719845997009acca9c8285a58dbee 05:42:12 $ docker rm -f --volumes f13a243aa73664e32c94b287b9c4a1d50de719845997009acca9c8285a58dbee [Pipeline] // withDockerContainer [Pipeline] sh 05:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:42:13 Warning: overwriting stash ‘coverage-report’ 05:42:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:42:15 + ls -al . 05:42:15 total 268 05:42:15 drwxrwxr-x 10 jenkins jenkins 4096 May 8 05:34 . 05:42:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 .. 05:42:15 -rw-rw-r-- 1 jenkins jenkins 140 May 8 05:32 .dockerignore 05:42:15 drwxrwxr-x 8 jenkins jenkins 4096 May 8 05:32 .git 05:42:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 .github 05:42:15 -rw-rw-r-- 1 jenkins jenkins 131 May 8 05:32 .gitignore 05:42:15 -rw-rw-r-- 1 jenkins jenkins 42 May 8 05:32 .golangci.yml 05:42:15 -rw-rw-r-- 1 jenkins jenkins 31677 May 8 05:32 CHANGELOG.md 05:42:15 -rw-rw-r-- 1 jenkins jenkins 677 May 8 05:32 GOVERNANCE.md 05:42:15 -rw-rw-r-- 1 jenkins jenkins 885 May 8 05:32 Jenkinsfile 05:42:15 -rw-rw-r-- 1 jenkins jenkins 11341 May 8 05:32 LICENSE 05:42:15 -rw-rw-r-- 1 jenkins jenkins 1714 May 8 05:32 Makefile 05:42:15 -rw-rw-r-- 1 jenkins jenkins 619 May 8 05:32 OWNERS.md 05:42:15 -rw-rw-r-- 1 jenkins jenkins 4891 May 8 05:32 README.md 05:42:15 -rw-rw-r-- 1 jenkins jenkins 12 May 8 05:30 VERSION 05:42:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 05:32 bin 05:42:15 -rw-r--r-- 1 jenkins jenkins 106120 May 8 05:39 coverage.out 05:42:15 drwxrwxr-x 5 jenkins jenkins 4096 May 8 05:32 example 05:42:15 -rw-rw-r-- 1 jenkins jenkins 3246 May 8 05:32 go.mod 05:42:15 -rw-rw-r-- 1 jenkins jenkins 30781 May 8 05:32 go.sum 05:42:15 drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:32 internal 05:42:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 05:32 openapi 05:42:15 drwxrwxr-x 6 jenkins jenkins 4096 May 8 05:32 pkg 05:42:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 05:32 snap 05:42:15 -rw-rw-r-- 1 jenkins jenkins 222 May 8 05:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:42:15 + 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=c2fb876fcd1e0284408ad645a921007a1ace85f5 --label arch=arm64 --label version=3.0.0-dev.83 . 05:42:16 Sending build context to Docker daemon 6.043MB 05:42:16 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 05:42:16 Step 2/23 : FROM ${BASE} AS builder 05:42:16 ---> 5e861b8bf27e 05:42:16 Step 3/23 : ARG MAKE=make build 05:42:17 ---> Running in a3b1c0b64e50 05:42:17 Removing intermediate container a3b1c0b64e50 05:42:17 ---> 491b93139244 05:42:17 Step 4/23 : WORKDIR /device-sdk-go 05:42:17 ---> Running in 82b0cf48997b 05:42:18 Removing intermediate container 82b0cf48997b 05:42:18 ---> 0f0f993819b3 05:42:18 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:42:18 ---> Running in c53b3f9b381a 05:42:18 Removing intermediate container c53b3f9b381a 05:42:18 ---> 8f7d941d686f 05:42:18 Step 6/23 : RUN apk add --update --no-cache make git 05:42:18 ---> Running in 46b3391d742c 05:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:42:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:42:22 OK: 263 MiB in 53 packages 05:42:23 Removing intermediate container 46b3391d742c 05:42:23 ---> 1b248554500f 05:42:23 Step 7/23 : COPY go.mod vendor* ./ 05:42:23 ---> d7e007d84807 05:42:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:42:23 ---> Running in 9b3d6aaff636 05:42:27 Removing intermediate container 9b3d6aaff636 05:42:27 ---> 6ed180dc6d2b 05:42:27 Step 9/23 : COPY . . 05:42:30 ---> f4d702a68e57 05:42:30 Step 10/23 : RUN ${MAKE} 05:42:30 ---> Running in c8ebf748d1fe 05:42:31 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.83" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:45:08 Removing intermediate container c8ebf748d1fe 05:45:08 ---> 21215345db08 05:45:08 Step 11/23 : FROM alpine:3.17 05:45:08 3.17: Pulling from library/alpine 05:45:08 c41833b44d91: Already exists 05:45:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 05:45:08 Status: Downloaded newer image for alpine:3.17 05:45:08 ---> 51e60588ff2c 05:45:08 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:45:08 ---> Running in 7d0262ac208e 05:45:08 Removing intermediate container 7d0262ac208e 05:45:08 ---> 0d50d1c272d7 05:45:08 Step 13/23 : RUN apk add --update --no-cache 05:45:08 ---> Running in 8dea208a1ec2 05:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:45:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:45:09 OK: 7 MiB in 15 packages 05:45:14 Removing intermediate container 8dea208a1ec2 05:45:14 ---> ca53762d7d1e 05:45:14 Step 14/23 : WORKDIR / 05:45:14 ---> Running in 878d7432b078 05:45:14 Removing intermediate container 878d7432b078 05:45:14 ---> 49ba9466fb74 05:45:14 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:45:14 ---> e67fc84378cb 05:45:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:45:16 ---> 8034f615c87c 05:45:16 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:45:16 ---> 87daa80465a8 05:45:16 Step 18/23 : EXPOSE 59999 05:45:16 ---> Running in 30d6981cd117 05:45:16 Removing intermediate container 30d6981cd117 05:45:16 ---> a2a90a0fd00a 05:45:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:45:17 ---> Running in 45c3bbdc0c05 05:45:17 Removing intermediate container 45c3bbdc0c05 05:45:17 ---> 8227b4c5149b 05:45:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:45:17 ---> Running in 9c978ec37a0f 05:45:17 Removing intermediate container 9c978ec37a0f 05:45:17 ---> 6e407714888d 05:45:17 Step 21/23 : LABEL arch=arm64 05:45:17 ---> Running in f84dc8da761f 05:45:18 Removing intermediate container f84dc8da761f 05:45:18 ---> 999cedc1ee8d 05:45:18 Step 22/23 : LABEL git_sha=c2fb876fcd1e0284408ad645a921007a1ace85f5 05:45:18 ---> Running in 53f46e679151 05:45:18 Removing intermediate container 53f46e679151 05:45:18 ---> 74d53f809680 05:45:18 Step 23/23 : LABEL version=3.0.0-dev.83 05:45:18 ---> Running in 3297e0d53222 05:45:19 Removing intermediate container 3297e0d53222 05:45:19 ---> 1e3d2b11c781 05:45:19 [Warning] One or more build-args [ARCH] were not consumed 05:45:19 Successfully built 1e3d2b11c781 05:45:19 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:19 05:45:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:19 arm64: Pulling from edgex-lftools-log-publisher 05:45:19 8998bd30e6a1: Pulling fs layer 05:45:19 04944245beec: Pulling fs layer 05:45:19 699f458cf7ca: Pulling fs layer 05:45:19 765212b225bb: Pulling fs layer 05:45:19 f23df028b6ca: Pulling fs layer 05:45:19 d65c8cfc05b1: Pulling fs layer 05:45:19 2437ff75d9bd: Pulling fs layer 05:45:19 765212b225bb: Waiting 05:45:19 f23df028b6ca: Waiting 05:45:19 d65c8cfc05b1: Waiting 05:45:19 2437ff75d9bd: Waiting 05:45:20 04944245beec: Verifying Checksum 05:45:20 04944245beec: Download complete 05:45:20 765212b225bb: Verifying Checksum 05:45:20 765212b225bb: Download complete 05:45:20 f23df028b6ca: Verifying Checksum 05:45:20 f23df028b6ca: Download complete 05:45:20 d65c8cfc05b1: Verifying Checksum 05:45:20 d65c8cfc05b1: Download complete 05:45:20 699f458cf7ca: Verifying Checksum 05:45:20 699f458cf7ca: Download complete 05:45:21 8998bd30e6a1: Verifying Checksum 05:45:21 8998bd30e6a1: Download complete 05:45:22 2437ff75d9bd: Verifying Checksum 05:45:22 2437ff75d9bd: Download complete 05:45:27 8998bd30e6a1: Pull complete 05:45:27 04944245beec: Pull complete 05:45:29 699f458cf7ca: Pull complete 05:45:29 765212b225bb: Pull complete 05:45:29 f23df028b6ca: Pull complete 05:45:30 d65c8cfc05b1: Pull complete 05:45:45 2437ff75d9bd: Pull complete 05:45:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:45:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:45:45 prd-ubuntu20.04-docker-arm64-4c-16g-14463 does not seem to be running inside a container 05:45:45 $ 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/214 -v /w/workspace/device-sdk-go/214:/w/workspace/device-sdk-go/214:rw,z -v /w/workspace/device-sdk-go/214@tmp:/w/workspace/device-sdk-go/214@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 05:45:48 $ docker top 17c603b853d389b7a0d3c0fca1b47697aec775a89f7e7bc75b2d97d7b9b81494 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:49 ---> job-cost.sh 05:45:49 lf-activate-venv: SKIPPING 05:45:49 INFO: No Stack... 05:45:49 INFO: Retrieving Pricing Info for: v3-standard-4 05:45:50 INFO: Archiving Costs [Pipeline] sh 05:45:51 + cat /w/workspace/device-sdk-go/214/archives/cost.csv 05:45:51 + cut -d, -f6 [Pipeline] lock 05:45:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] 05:45:51 Resource [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] did not exist. Created. 05:45:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:45:51 /w/workspace/device-sdk-go/214@tmp/durable-df42d194/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:45:52 + echo total: 0.10999999940395355 [Pipeline] stash 05:45:52 Warning: overwriting stash ‘stack-cost’ 05:45:52 Stashed 1 file(s) [Pipeline] } 05:45:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-214-stack-cost] [Pipeline] // lock [Pipeline] } 05:45:52 $ docker stop --time=1 17c603b853d389b7a0d3c0fca1b47697aec775a89f7e7bc75b2d97d7b9b81494 05:45:54 $ docker rm -f --volumes 17c603b853d389b7a0d3c0fca1b47697aec775a89f7e7bc75b2d97d7b9b81494 [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 05:45:54 provisioning config files... 05:45:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2806019687076196879tmp [Pipeline] { [Pipeline] sh 05:45:54 + set +x 05:45:54 + curl -s https://codecov.io/bash 05:45:54 + bash -s -- 05:45:54 05:45:54 _____ _ 05:45:54 / ____| | | 05:45:54 | | ___ __| | ___ ___ _____ __ 05:45:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:45:54 | |___| (_) | (_| | __/ (_| (_) \ V / 05:45:54 \_____\___/ \__,_|\___|\___\___/ \_/ 05:45:54 Bash-1.0.6 05:45:54 05:45:54 05:45:54 ==> git version 2.25.1 found 05:45:54 ==> 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 05:45:54 Release-Date: 2020-01-08 05:45:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:45:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:45:54 ==> Jenkins CI detected. 05:45:54 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:45:54 project root: . 05:45:54 --> token set from env 05:45:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:45:54 ==> Running gcov in . (disable via -X gcov) 05:45:54 ==> Python coveragepy not found 05:45:54 ==> Searching for coverage reports in: 05:45:54 + . 05:45:54 -> Found 1 reports 05:45:54 ==> Detecting git/mercurial file structure 05:45:54 ==> Reading reports 05:45:54 + ./coverage.out bytes=106120 05:45:54 ==> Appending adjustments 05:45:54 https://docs.codecov.io/docs/fixing-reports 05:45:55 + Found adjustments 05:45:55 ==> Gzipping contents 05:45:55 16K /tmp/codecov.FiRnOa.gz 05:45:55 ==> Uploading reports 05:45:55 url: https://codecov.io 05:45:55 query: branch=main&commit=c2fb876fcd1e0284408ad645a921007a1ace85f5&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F214%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:55 -> Pinging Codecov 05:45:55 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=c2fb876fcd1e0284408ad645a921007a1ace85f5&build=214&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F214%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:45:55 -> Uploading to 05:45:55 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7E55EF52A471D76F132DFD9A03CDDE97/c2fb876fcd1e0284408ad645a921007a1ace85f5/5c71dbf9-907c-4b01-8107-399eddff176e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T054555Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75db5dd91952c00054be8a3f45e64cb918a6f6ed3ae794cf0814f5b380dc5e9d 05:45:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:55 Dload Upload Total Spent Left Speed 05:45:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15027 0 0 100 15027 0 68931 --:--:-- --:--:-- --:--:-- 68616 100 15027 0 0 100 15027 0 68616 --:--:-- --:--:-- --:--:-- 68616 05:45:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] } 05:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:45:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:45:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:56 05:45:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:45:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:45:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:45:56 df9b9388f04a: Pulling fs layer 05:45:56 52dc419b0ee2: Pulling fs layer 05:45:56 25bc292e5bac: Pulling fs layer 05:45:56 114826534d7a: Pulling fs layer 05:45:56 4657fd5d0bcf: Pulling fs layer 05:45:56 6ad1cebc031e: Pulling fs layer 05:45:56 8a3aa393b2d8: Pulling fs layer 05:45:56 4657fd5d0bcf: Waiting 05:45:56 6ad1cebc031e: Waiting 05:45:56 8a3aa393b2d8: Waiting 05:45:56 114826534d7a: Waiting 05:45:56 25bc292e5bac: Verifying Checksum 05:45:56 25bc292e5bac: Download complete 05:45:56 52dc419b0ee2: Download complete 05:45:56 4657fd5d0bcf: Verifying Checksum 05:45:56 4657fd5d0bcf: Download complete 05:45:56 df9b9388f04a: Verifying Checksum 05:45:56 df9b9388f04a: Download complete 05:45:56 6ad1cebc031e: Verifying Checksum 05:45:56 6ad1cebc031e: Download complete 05:45:56 df9b9388f04a: Pull complete 05:45:56 52dc419b0ee2: Pull complete 05:45:56 25bc292e5bac: Pull complete 05:45:57 114826534d7a: Verifying Checksum 05:45:57 114826534d7a: Download complete 05:45:57 8a3aa393b2d8: Verifying Checksum 05:46:01 114826534d7a: Pull complete 05:46:01 4657fd5d0bcf: Pull complete 05:46:01 6ad1cebc031e: Pull complete 05:46:04 8a3aa393b2d8: Pull complete 05:46:04 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:46:04 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:04 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:46:05 $ docker top c01f4e501c20f41477d60ca0142a84cba8147cce82cf1814bb29cf261d55464d -eo pid,comm [Pipeline] { [Pipeline] echo 05:46:06 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:46:06 + set -o pipefail 05:46:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:46:10 05:46:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:46:10 05:46:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/6798ffde-25c5-461c-9159-5a59df587a39 05:46:10 05:46:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:46:10 05:46:11 05:46:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:46:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:46:11 More details here: https://snyk.co/ue1NS 05:46:11 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 05:46:11 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:46:11 $ docker stop --time=1 c01f4e501c20f41477d60ca0142a84cba8147cce82cf1814bb29cf261d55464d 05:46:12 $ docker rm -f --volumes c01f4e501c20f41477d60ca0142a84cba8147cce82cf1814bb29cf261d55464d [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 05:46:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:13 provisioning config files... 05:46:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9132875942239324609tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:46:13 --> edgex-publish-swagger.sh 05:46:13 === Publish openapi/v3 API === 05:46:13 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:46:13 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:46:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:46:13 Dload Upload Total Spent Left Speed 05:46:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 105k --:--:-- --:--:-- --:--:-- 105k 100 23674 0 0 100 23674 0 43759 --:--:-- --:--:-- --:--:-- 43678 05:46:14 05:46:14 [Pipeline] } 05:46:14 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 05:46:14 + git log --format=format:%s -1 c2fb876fcd1e0284408ad645a921007a1ace85f5 [Pipeline] sh 05:46:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:15 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:15 $ docker top 8f9486082668d6818629487594f7ea6d21f8b4778030cd43c351cdbca5b0c9fd -eo pid,comm 05:46: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). 05:46:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:15 [ssh-agent] Looking for ssh-agent implementation... 05:46:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:15 $ docker exec 8f9486082668d6818629487594f7ea6d21f8b4778030cd43c351cdbca5b0c9fd ssh-agent 05:46:16 SSH_AUTH_SOCK=/tmp/ssh-JjNCtaPgAedj/agent.33 05:46:16 SSH_AGENT_PID=39 05:46:16 Running ssh-add (command line suppressed) 05:46:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1722418647839932176.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1722418647839932176.key) 05:46:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:16 + git semver tag 05:46:16 2023-05-08 05:46:16,660 [run_tag] DEBUG tag force:False 05:46:16 2023-05-08 05:46:16,660 [check_head_tag] DEBUG check head tag 05:46:16 2023-05-08 05:46:16,663 [execute] INFO git cat-file --batch-check 05:46:16 2023-05-08 05:46:16,663 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:46:16 2023-05-08 05:46:16,667 [execute] INFO git cat-file --batch 05:46:16 2023-05-08 05:46:16,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:46:16 2023-05-08 05:46:16,709 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:16 2023-05-08 05:46:16,709 [execute] INFO git tag -a v3.0.0-dev.83 -m v3.0.0-dev.83 05:46:16 2023-05-08 05:46:16,709 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.83', '-m', 'v3.0.0-dev.83'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:46:16 2023-05-08 05:46:16,714 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:16 3.0.0-dev.83 [Pipeline] } 05:46:16 $ docker exec --env ******** --env ******** 8f9486082668d6818629487594f7ea6d21f8b4778030cd43c351cdbca5b0c9fd ssh-agent -k 05:46:17 unset SSH_AUTH_SOCK; 05:46:17 unset SSH_AGENT_PID; 05:46:17 echo Agent pid 39 killed; 05:46:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:17 + git semver [Pipeline] } 05:46:17 $ docker stop --time=1 8f9486082668d6818629487594f7ea6d21f8b4778030cd43c351cdbca5b0c9fd 05:46:18 $ docker rm -f --volumes 8f9486082668d6818629487594f7ea6d21f8b4778030cd43c351cdbca5b0c9fd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:46:19 05:46:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:46:19 0.23.1-centos7: Pulling from edgex-lftools 05:46:19 ab5ef0e58194: Pulling fs layer 05:46:19 9712f1f96733: Pulling fs layer 05:46:19 63f879dbbcfc: Pulling fs layer 05:46:19 0d9ebad4ef96: Pulling fs layer 05:46:19 e9a5061849ea: Pulling fs layer 05:46:19 d747dcd14b5f: Pulling fs layer 05:46:19 2de7ff778b66: Pulling fs layer 05:46:19 d747dcd14b5f: Waiting 05:46:19 0d9ebad4ef96: Waiting 05:46:19 e9a5061849ea: Waiting 05:46:19 2de7ff778b66: Waiting 05:46:19 9712f1f96733: Verifying Checksum 05:46:19 9712f1f96733: Download complete 05:46:19 63f879dbbcfc: Verifying Checksum 05:46:19 63f879dbbcfc: Download complete 05:46:20 0d9ebad4ef96: Verifying Checksum 05:46:20 0d9ebad4ef96: Download complete 05:46:20 ab5ef0e58194: Verifying Checksum 05:46:20 ab5ef0e58194: Download complete 05:46:20 d747dcd14b5f: Verifying Checksum 05:46:20 d747dcd14b5f: Download complete 05:46:20 e9a5061849ea: Verifying Checksum 05:46:20 e9a5061849ea: Download complete 05:46:20 2de7ff778b66: Verifying Checksum 05:46:20 2de7ff778b66: Download complete 05:46:22 ab5ef0e58194: Pull complete 05:46:22 9712f1f96733: Pull complete 05:46:23 63f879dbbcfc: Pull complete 05:46:28 0d9ebad4ef96: Pull complete 05:46:28 e9a5061849ea: Pull complete 05:46:28 d747dcd14b5f: Pull complete 05:46:28 2de7ff778b66: Pull complete 05:46:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:46:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:46:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:29 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:46:31 $ docker top 6fdfdb82f62fa1d7a4b21958df947be9b78b041af22023e371bd703ac3199ea5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:46:31 provisioning config files... 05:46:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15334898536345535028tmp 05:46:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10866287410652960794tmp 05:46:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6867364769383036889tmp [Pipeline] { [Pipeline] echo 05:46:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:46:31 ---> sigul-configuration.sh 05:46:31 gpg: directory `/root/.gnupg' created 05:46:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:46:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:46:31 gpg: keyring `/root/.gnupg/secring.gpg' created 05:46:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:46:31 gpg: CAST5 encrypted data 05:46:31 gpg: encrypted with 1 passphrase 05:46:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:46:31 + mkdir /home/jenkins 05:46:31 + mkdir /home/jenkins/sigul [Pipeline] sh 05:46:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:46:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:46:32 ---> sigul-install.sh 05:46:32 Sigul already installed; skipping installation. [Pipeline] sh 05:46:32 + git tag --list 05:46:32 0.7.1 05:46:32 delhi-tag 05:46:32 v1.0.0 05:46:32 v1.1.0 05:46:32 v1.1.1 05:46:32 v1.1.2 05:46:32 v1.2.0 05:46:32 v1.2.1 05:46:32 v1.2.2 05:46:32 v1.2.3 05:46:32 v1.3.0 05:46:32 v1.4.0 05:46:32 v2.0.0 05:46:32 v2.1.0 05:46:32 v2.1.1 05:46:32 v2.1.1-dev.2 05:46:32 v2.1.1-dev.3 05:46:32 v2.2.0 05:46:32 v2.2.1-dev.1 05:46:32 v2.2.1-dev.10 05:46:32 v2.2.1-dev.11 05:46:32 v2.2.1-dev.12 05:46:32 v2.2.1-dev.13 05:46:32 v2.2.1-dev.14 05:46:32 v2.2.1-dev.2 05:46:32 v2.2.1-dev.3 05:46:32 v2.2.1-dev.4 05:46:32 v2.2.1-dev.5 05:46:32 v2.2.1-dev.6 05:46:32 v2.2.1-dev.7 05:46:32 v2.2.1-dev.8 05:46:32 v2.2.1-dev.9 05:46:32 v2.3.0 05:46:32 v2.3.0-dev.14 05:46:32 v2.3.0-dev.15 05:46:32 v2.3.0-dev.16 05:46:32 v2.3.0-dev.17 05:46:32 v2.3.0-dev.18 05:46:32 v2.3.0-dev.19 05:46:32 v2.3.0-dev.20 05:46:32 v2.3.0-dev.21 05:46:32 v2.3.0-dev.22 05:46:32 v2.3.0-dev.23 05:46:32 v2.3.0-dev.24 05:46:32 v2.3.0-dev.25 05:46:32 v2.3.0-dev.26 05:46:32 v2.3.0-dev.27 05:46:32 v2.3.0-dev.28 05:46:32 v2.3.0-dev.29 05:46:32 v2.3.0-dev.30 05:46:32 v2.3.0-dev.31 05:46:32 v2.3.0-dev.32 05:46:32 v2.3.0-dev.33 05:46:32 v2.3.0-dev.34 05:46:32 v2.3.0-dev.35 05:46:32 v2.3.0-dev.36 05:46:32 v2.3.0-dev.37 05:46:32 v2.3.0-dev.38 05:46:32 v2.3.0-dev.39 05:46:32 v2.3.0-dev.40 05:46:32 v2.3.0-dev.41 05:46:32 v2.3.0-dev.42 05:46:32 v2.3.0-dev.43 05:46:32 v2.3.0-dev.44 05:46:32 v2.3.0-dev.45 05:46:32 v2.3.0-dev.46 05:46:32 v2.3.0-dev.47 05:46:32 v2.3.0-dev.48 05:46:32 v2.3.0-dev.49 05:46:32 v2.3.0-dev.50 05:46:32 v2.3.0-dev.51 05:46:32 v2.3.1 05:46:32 v2.3.1-dev.1 05:46:32 v2.3.1-dev.2 05:46:32 v2.3.1-dev.3 05:46:32 v2.3.1-dev.4 05:46:32 v3.0.0-dev.1 05:46:32 v3.0.0-dev.10 05:46:32 v3.0.0-dev.11 05:46:32 v3.0.0-dev.12 05:46:32 v3.0.0-dev.13 05:46:32 v3.0.0-dev.14 05:46:32 v3.0.0-dev.15 05:46:32 v3.0.0-dev.16 05:46:32 v3.0.0-dev.17 05:46:32 v3.0.0-dev.18 05:46:32 v3.0.0-dev.19 05:46:32 v3.0.0-dev.2 05:46:32 v3.0.0-dev.20 05:46:32 v3.0.0-dev.21 05:46:32 v3.0.0-dev.22 05:46:32 v3.0.0-dev.23 05:46:32 v3.0.0-dev.24 05:46:32 v3.0.0-dev.25 05:46:32 v3.0.0-dev.26 05:46:32 v3.0.0-dev.27 05:46:32 v3.0.0-dev.28 05:46:32 v3.0.0-dev.29 05:46:32 v3.0.0-dev.3 05:46:32 v3.0.0-dev.30 05:46:32 v3.0.0-dev.31 05:46:32 v3.0.0-dev.32 05:46:32 v3.0.0-dev.33 05:46:32 v3.0.0-dev.34 05:46:32 v3.0.0-dev.35 05:46:32 v3.0.0-dev.36 05:46:32 v3.0.0-dev.37 05:46:32 v3.0.0-dev.38 05:46:32 v3.0.0-dev.39 05:46:32 v3.0.0-dev.4 05:46:32 v3.0.0-dev.40 05:46:32 v3.0.0-dev.41 05:46:32 v3.0.0-dev.42 05:46:32 v3.0.0-dev.43 05:46:32 v3.0.0-dev.44 05:46:32 v3.0.0-dev.45 05:46:32 v3.0.0-dev.46 05:46:32 v3.0.0-dev.47 05:46:32 v3.0.0-dev.48 05:46:32 v3.0.0-dev.49 05:46:32 v3.0.0-dev.5 05:46:32 v3.0.0-dev.50 05:46:32 v3.0.0-dev.51 05:46:32 v3.0.0-dev.52 05:46:32 v3.0.0-dev.53 05:46:32 v3.0.0-dev.54 05:46:32 v3.0.0-dev.55 05:46:32 v3.0.0-dev.56 05:46:32 v3.0.0-dev.57 05:46:32 v3.0.0-dev.58 05:46:32 v3.0.0-dev.59 05:46:32 v3.0.0-dev.6 05:46:32 v3.0.0-dev.60 05:46:32 v3.0.0-dev.61 05:46:32 v3.0.0-dev.62 05:46:32 v3.0.0-dev.63 05:46:32 v3.0.0-dev.64 05:46:32 v3.0.0-dev.65 05:46:32 v3.0.0-dev.66 05:46:32 v3.0.0-dev.67 05:46:32 v3.0.0-dev.68 05:46:32 v3.0.0-dev.69 05:46:32 v3.0.0-dev.7 05:46:32 v3.0.0-dev.70 05:46:32 v3.0.0-dev.71 05:46:32 v3.0.0-dev.72 05:46:32 v3.0.0-dev.73 05:46:32 v3.0.0-dev.74 05:46:32 v3.0.0-dev.75 05:46:32 v3.0.0-dev.76 05:46:32 v3.0.0-dev.77 05:46:32 v3.0.0-dev.78 05:46:32 v3.0.0-dev.79 05:46:32 v3.0.0-dev.8 05:46:32 v3.0.0-dev.80 05:46:32 v3.0.0-dev.81 05:46:32 v3.0.0-dev.82 05:46:32 v3.0.0-dev.83 05:46:32 v3.0.0-dev.9 [Pipeline] sh 05:46:33 + lftools sign git-tag v3.0.0-dev.83 05:46:33 Signing Git tag with Sigul... 05:46:33 Signing v3.0.0-dev.83 [Pipeline] echo 05:46:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:46:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:46:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:46:34 $ docker stop --time=1 6fdfdb82f62fa1d7a4b21958df947be9b78b041af22023e371bd703ac3199ea5 05:46:35 $ docker rm -f --volumes 6fdfdb82f62fa1d7a4b21958df947be9b78b041af22023e371bd703ac3199ea5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:46:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:36 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:36 $ docker top 0cbca14f2240aa62b09c5782903998e28d61709e9595db84a650bf5f1ae498d1 -eo pid,comm 05:46:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:46:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:37 [ssh-agent] Looking for ssh-agent implementation... 05:46:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:37 $ docker exec 0cbca14f2240aa62b09c5782903998e28d61709e9595db84a650bf5f1ae498d1 ssh-agent 05:46:37 SSH_AUTH_SOCK=/tmp/ssh-JK6gYt4bDL70/agent.34 05:46:37 SSH_AGENT_PID=40 05:46:37 Running ssh-add (command line suppressed) 05:46:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10302780399741334886.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10302780399741334886.key) 05:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:37 + git semver bump pre 05:46:37 2023-05-08 05:46:37,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:37 2023-05-08 05:46:37,905 [bump_version] DEBUG bumping version:3.0.0-dev.83 on axis:pre with prefix:dev 05:46:37 2023-05-08 05:46:37,905 [bump_version] DEBUG bumped version:3.0.0-dev.84 05:46:37 2023-05-08 05:46:37,905 [write_version] DEBUG write version:3.0.0-dev.84 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:46:37 2023-05-08 05:46:37,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:37 2023-05-08 05:46:37,905 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:37 2023-05-08 05:46:37,907 [execute] INFO git cat-file --batch-check 05:46:37 2023-05-08 05:46:37,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:37 2023-05-08 05:46:37,913 [execute] INFO git cat-file --batch 05:46:37 2023-05-08 05:46:37,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:37 2023-05-08 05:46:37,919 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:37 3.0.0-dev.84 [Pipeline] } 05:46:37 $ docker exec --env ******** --env ******** 0cbca14f2240aa62b09c5782903998e28d61709e9595db84a650bf5f1ae498d1 ssh-agent -k 05:46:38 unset SSH_AUTH_SOCK; 05:46:38 unset SSH_AGENT_PID; 05:46:38 echo Agent pid 40 killed; 05:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:38 + git semver [Pipeline] } 05:46:38 $ docker stop --time=1 0cbca14f2240aa62b09c5782903998e28d61709e9595db84a650bf5f1ae498d1 05:46:39 $ docker rm -f --volumes 0cbca14f2240aa62b09c5782903998e28d61709e9595db84a650bf5f1ae498d1 [Pipeline] // withDockerContainer [Pipeline] sh 05:46:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:46:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:46:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:40 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:46:41 $ docker top f108e4f6113ddd62afd4d64d17cf54c5c865ddc2513f1d7a6abc383af2a7186a -eo pid,comm 05:46:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:46:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:46:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:46:41 [ssh-agent] Looking for ssh-agent implementation... 05:46:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:46:41 $ docker exec f108e4f6113ddd62afd4d64d17cf54c5c865ddc2513f1d7a6abc383af2a7186a ssh-agent 05:46:41 SSH_AUTH_SOCK=/tmp/ssh-2E7Y4GFBQdtk/agent.32 05:46:41 SSH_AGENT_PID=38 05:46:41 Running ssh-add (command line suppressed) 05:46:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089219519812835332.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089219519812835332.key) 05:46:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:46:41 + git semver push 05:46:42 2023-05-08 05:46:41,950 [run_push] DEBUG push 05:46:42 2023-05-08 05:46:41,951 [execute] INFO git cat-file --batch-check 05:46:42 2023-05-08 05:46:41,951 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:46:42 2023-05-08 05:46:41,955 [execute] INFO git rev-list 32d04f142d448f5551a0935699413bb7f287858a -- 05:46:42 2023-05-08 05:46:41,955 [execute] DEBUG Popen(['git', 'rev-list', '32d04f142d448f5551a0935699413bb7f287858a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:46:42 2023-05-08 05:46:41,966 [execute] INFO git fetch -v origin 05:46:42 2023-05-08 05:46:41,967 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:46:42 2023-05-08 05:46:42,414 [run_push] DEBUG no remote changes detected 05:46:42 2023-05-08 05:46:42,415 [execute] INFO git push origin semver 05:46:42 2023-05-08 05:46:42,415 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:46:43 2023-05-08 05:46:43,224 [run_push] DEBUG push all version tags 05:46:43 2023-05-08 05:46:43,224 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:46:43 2023-05-08 05:46:43,225 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:46:44 2023-05-08 05:46:44,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:46:44 3.0.0-dev.84 [Pipeline] } 05:46:44 $ docker exec --env ******** --env ******** f108e4f6113ddd62afd4d64d17cf54c5c865ddc2513f1d7a6abc383af2a7186a ssh-agent -k 05:46:44 unset SSH_AUTH_SOCK; 05:46:44 unset SSH_AGENT_PID; 05:46:44 echo Agent pid 38 killed; 05:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:46:44 + git semver [Pipeline] } 05:46:44 $ docker stop --time=1 f108e4f6113ddd62afd4d64d17cf54c5c865ddc2513f1d7a6abc383af2a7186a 05:46:46 $ docker rm -f --volumes f108e4f6113ddd62afd4d64d17cf54c5c865ddc2513f1d7a6abc383af2a7186a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:46:46 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:46:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:46:46 total 16 05:46:46 drwxr-xr-x 3 root root 4096 May 8 05:32 . 05:46:46 drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:46 .. 05:46:46 drwxr-xr-x 2 root root 4096 May 8 05:32 cost 05:46:46 -rw-r--r-- 1 root root 85 May 8 05:32 cost.csv 05:46:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:46:46 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:46:46 total 16 05:46:46 drwxr-xr-x 3 jenkins jenkins 4096 May 8 05:32 . 05:46:46 drwxrwxr-x 12 jenkins jenkins 4096 May 8 05:46 .. 05:46:46 drwxr-xr-x 2 jenkins jenkins 4096 May 8 05:32 cost 05:46:46 -rw-r--r-- 1 jenkins jenkins 85 May 8 05:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:46:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:46:47 ---> package-listing.sh 05:46:47 ++ facter osfamily 05:46:47 ++ tr '[:upper:]' '[:lower:]' 05:46:48 + OS_FAMILY=debian 05:46:48 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:46:48 + START_PACKAGES=/tmp/packages_start.txt 05:46:48 + END_PACKAGES=/tmp/packages_end.txt 05:46:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:46:48 + PACKAGES=/tmp/packages_start.txt 05:46:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:46:48 + PACKAGES=/tmp/packages_end.txt 05:46:48 + case "${OS_FAMILY}" in 05:46:48 + grep '^ii' 05:46:48 + dpkg -l 05:46:48 + '[' -f /tmp/packages_start.txt ']' 05:46:48 + '[' -f /tmp/packages_end.txt ']' 05:46:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:46:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:46:48 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:46:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:46:48 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:46:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:46:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:46:48 prd-ubuntu20.04-docker-8c-8g-14461 does not seem to be running inside a container 05:46:49 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:46:49 $ docker top 5cfb1707ccb74d19f1e3bd80e14803a0b8300dcecab2d4df1a0ed44426d12cae -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:46:50 + mkdir -p /var/log/sysstat [Pipeline] sh 05:46:50 + ls /var/log/sa-host 05:46:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:46:50 provisioning config files... 05:46:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15311720435689658335tmp [Pipeline] { [Pipeline] echo 05:46:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:46:50 ---> create-netrc.sh [Pipeline] } 05:46:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:46:51 ---> python-tools-install.sh [Pipeline] echo 05:46:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:46:51 ---> sudo-logs.sh 05:46:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:46:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:46:51 ---> job-cost.sh 05:46:51 lf-activate-venv: SKIPPING 05:46:51 DEBUG: total: 0.2199999988079071 05:46:51 INFO: Retrieving Stack Cost... 05:46:51 INFO: Retrieving Pricing Info for: v3-standard-8 05:46:52 INFO: Archiving Costs [Pipeline] echo 05:46:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:46:52 ---> logs-deploy.sh 05:46:52 lf-activate-venv: SKIPPING 05:46:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/214 05:46:52 INFO: archiving workspace using pattern(s): 05:46:53 Archives upload complete. 05:46:53 INFO: archiving logs to Nexus