Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 75403564eeb8af1d0f1f8ff2eb4e718373552573 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-ssh3154016218841086956.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8134402241520760760.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5615570274898559908.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh17126697565822433901.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-ssh4871013980900160185.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/v2]] ========================================================= [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.18 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/v2 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-121184 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 75403564eeb8af1d0f1f8ff2eb4e718373552573 (main) Commit message: "Merge pull request #1266 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.4" > 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 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 > git rev-list --no-walk 8e357452e8ed135c62f8def4dd7ee99c07bc90f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:28:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:28:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:28:19 ========================================================= 06:28:19 EdgeX Global Pipelines Version Info 06:28:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:28:20 ------------------- 06:28:20 stable info: 06:28:20 ------------------- 06:28:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:28:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:28:20 Message: update stable to v1.0.244 06:28:20 ------------------- 06:28:20 experimental info: 06:28:20 ------------------- 06:28:20 Commited By: **** collab-it+edgex@linuxfoundation.org 06:28:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 06:28:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:28:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:28:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:28:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7540356 [Pipeline] echo 06:28:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:21 provisioning config files... 06:28:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8297230206855042063tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:21 ---> docker-login.sh 06:28:21 nexus3.edgexfoundry.org:10001 06:28:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10002 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10003 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 nexus3.edgexfoundry.org:10004 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 docker.io 06:28:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:22 Configure a credential helper to remove this warning. See 06:28:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:22 06:28:22 Login Succeeded 06:28:22 ---> docker-login.sh ends [Pipeline] } 06:28:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:28:23 + git rev-list -1 --merges 75403564eeb8af1d0f1f8ff2eb4e718373552573~1..75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] echo 06:28:23 -----------> git rev-list -1 --merges 75403564eeb8af1d0f1f8ff2eb4e718373552573~1..75403564eeb8af1d0f1f8ff2eb4e718373552573 75403564eeb8af1d0f1f8ff2eb4e718373552573 06:28:23 75403564eeb8af1d0f1f8ff2eb4e718373552573 [false] [Pipeline] sh 06:28:23 + git log --format=format:%s -1 75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] echo 06:28:23 ========================================================= 06:28:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:28:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:28:23 + git log --format=format:%s -1 75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] echo 06:28:23 [semverPrep] GIT_COMMIT: 75403564eeb8af1d0f1f8ff2eb4e718373552573, Commit Message: Merge pull request #1266 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.4 [Pipeline] echo 06:28:23 [semverPrep] This is not a build commit. [Pipeline] sh 06:28:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:24 + grep -v github /etc/ssh/ssh_known_hosts 06:28:24 + [ -e /tmp/ssh_known_hosts ] 06:28:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:28:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:28:24 + sudo tee -a /etc/ssh/ssh_known_hosts 06:28:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:24 06:28:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:25 0.1.4: Pulling from edgex-devops/py-git-semver 06:28:25 b85a868b505f: Pulling fs layer 06:28:25 e2be974225ed: Pulling fs layer 06:28:25 339a4e72a1f5: Pulling fs layer 06:28:25 988bab9f4d93: Pulling fs layer 06:28:25 1469e6f7b9e6: Pulling fs layer 06:28:25 eaf3925da568: Pulling fs layer 06:28:25 bab4dde63d76: Pulling fs layer 06:28:25 bde34c3a00c8: Pulling fs layer 06:28:25 b352a97aabf1: Pulling fs layer 06:28:25 4872d77fe225: Pulling fs layer 06:28:25 5851b861e8e6: Pulling fs layer 06:28:25 bab4dde63d76: Waiting 06:28:25 bde34c3a00c8: Waiting 06:28:25 b352a97aabf1: Waiting 06:28:25 5851b861e8e6: Waiting 06:28:25 988bab9f4d93: Waiting 06:28:25 4872d77fe225: Waiting 06:28:25 1469e6f7b9e6: Waiting 06:28:25 eaf3925da568: Waiting 06:28:25 e2be974225ed: Download complete 06:28:25 988bab9f4d93: Verifying Checksum 06:28:25 988bab9f4d93: Download complete 06:28:25 1469e6f7b9e6: Verifying Checksum 06:28:25 1469e6f7b9e6: Download complete 06:28:25 339a4e72a1f5: Verifying Checksum 06:28:25 339a4e72a1f5: Download complete 06:28:25 eaf3925da568: Verifying Checksum 06:28:25 eaf3925da568: Download complete 06:28:25 bde34c3a00c8: Verifying Checksum 06:28:25 bde34c3a00c8: Download complete 06:28:25 b352a97aabf1: Verifying Checksum 06:28:25 b352a97aabf1: Download complete 06:28:25 4872d77fe225: Verifying Checksum 06:28:25 4872d77fe225: Download complete 06:28:25 5851b861e8e6: Verifying Checksum 06:28:25 5851b861e8e6: Download complete 06:28:25 b85a868b505f: Verifying Checksum 06:28:25 b85a868b505f: Download complete 06:28:25 bab4dde63d76: Verifying Checksum 06:28:25 bab4dde63d76: Download complete 06:28:26 b85a868b505f: Pull complete 06:28:26 e2be974225ed: Pull complete 06:28:27 339a4e72a1f5: Pull complete 06:28:27 988bab9f4d93: Pull complete 06:28:27 1469e6f7b9e6: Pull complete 06:28:27 eaf3925da568: Pull complete 06:28:29 bab4dde63d76: Pull complete 06:28:29 bde34c3a00c8: Pull complete 06:28:29 b352a97aabf1: Pull complete 06:28:29 4872d77fe225: Pull complete 06:28:29 5851b861e8e6: Pull complete 06:28:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:28:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:29 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:28: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 06:28:31 $ docker top df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 -eo pid,comm 06:28: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). 06:28:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:31 [ssh-agent] Looking for ssh-agent implementation... 06:28:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:31 $ docker exec df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 ssh-agent 06:28:31 SSH_AUTH_SOCK=/tmp/ssh-zOChJDQWVZgP/agent.31 06:28:31 SSH_AGENT_PID=37 06:28:31 Running ssh-add (command line suppressed) 06:28:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13831074915269984378.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13831074915269984378.key) 06:28:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:32 + git tag --points-at HEAD [Pipeline] } 06:28:32 $ docker exec --env ******** --env ******** df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 ssh-agent -k 06:28:32 unset SSH_AUTH_SOCK; 06:28:32 unset SSH_AGENT_PID; 06:28:32 echo Agent pid 37 killed; 06:28:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:28:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:32 [ssh-agent] Looking for ssh-agent implementation... 06:28:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:32 $ docker exec df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 ssh-agent 06:28:32 SSH_AUTH_SOCK=/tmp/ssh-esS0UAniwN3n/agent.70 06:28:32 SSH_AGENT_PID=76 06:28:32 Running ssh-add (command line suppressed) 06:28:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2702553966909830590.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2702553966909830590.key) 06:28:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:32 + git semver init 06:28:33 2022-12-14 06:28:33,033 [run_init] DEBUG init version:0.0.0 force:False 06:28:33 2022-12-14 06:28:33,034 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:28:33 2022-12-14 06:28:33,034 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:28:33 2022-12-14 06:28:33,034 [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) 06:28:34 2022-12-14 06:28:33,992 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:28:34 2022-12-14 06:28:33,993 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:28:34 2022-12-14 06:28:33,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:34 2022-12-14 06:28:33,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:34 3.0.0-dev.4 [Pipeline] } 06:28:34 $ docker exec --env ******** --env ******** df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 ssh-agent -k 06:28:34 unset SSH_AUTH_SOCK; 06:28:34 unset SSH_AGENT_PID; 06:28:34 echo Agent pid 76 killed; 06:28:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:34 + git semver [Pipeline] } 06:28:34 $ docker stop --time=1 df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 06:28:36 $ docker rm -f df63ff628db172d3de6044f0fdba2961de4278040ac4410ff0ecbe65e522baf4 [Pipeline] // withDockerContainer [Pipeline] sh 06:28:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:28:36 Stashed 1 file(s) [Pipeline] echo 06:28:36 [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [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 06:28:36 provisioning config files... 06:28:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3532293978259905515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:37 ---> docker-login.sh 06:28:37 nexus3.edgexfoundry.org:10001 06:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:37 Configure a credential helper to remove this warning. See 06:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:37 06:28:37 Login Succeeded 06:28:37 nexus3.edgexfoundry.org:10002 06:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:37 Configure a credential helper to remove this warning. See 06:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:37 06:28:37 Login Succeeded 06:28:37 nexus3.edgexfoundry.org:10003 06:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:37 Configure a credential helper to remove this warning. See 06:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:37 06:28:37 Login Succeeded 06:28:37 nexus3.edgexfoundry.org:10004 06:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:37 Configure a credential helper to remove this warning. See 06:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:37 06:28:37 Login Succeeded 06:28:37 docker.io 06:28:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:37 Configure a credential helper to remove this warning. See 06:28:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:37 06:28:37 Login Succeeded 06:28:37 ---> docker-login.sh ends [Pipeline] } 06:28:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:28:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:28:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:28:37 ========================================================= 06:28:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:28:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:38 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 06:28:38 Sending build context to Docker daemon 10.35MB 06:28:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:28:38 Step 2/10 : FROM ${BASE} AS builder 06:28:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:28:38 213ec9aee27d: Pulling fs layer 06:28:38 4583459ba037: Pulling fs layer 06:28:38 93c1e223e6f2: Pulling fs layer 06:28:38 53926ce57604: Pulling fs layer 06:28:38 21b2b0c7a3f4: Pulling fs layer 06:28:38 22ff95d597cd: Pulling fs layer 06:28:38 12d6caf4c0d1: Pulling fs layer 06:28:38 96b7cbca73a9: Pulling fs layer 06:28:38 a7acece74701: Pulling fs layer 06:28:38 22ff95d597cd: Waiting 06:28:38 12d6caf4c0d1: Waiting 06:28:38 96b7cbca73a9: Waiting 06:28:38 a7acece74701: Waiting 06:28:38 53926ce57604: Waiting 06:28:38 21b2b0c7a3f4: Waiting 06:28:38 93c1e223e6f2: Download complete 06:28:38 4583459ba037: Verifying Checksum 06:28:38 4583459ba037: Download complete 06:28:38 21b2b0c7a3f4: Download complete 06:28:38 22ff95d597cd: Verifying Checksum 06:28:38 22ff95d597cd: Download complete 06:28:38 213ec9aee27d: Verifying Checksum 06:28:38 213ec9aee27d: Download complete 06:28:38 12d6caf4c0d1: Download complete 06:28:38 213ec9aee27d: Pull complete 06:28:38 4583459ba037: Pull complete 06:28:38 93c1e223e6f2: Pull complete 06:28:39 a7acece74701: Verifying Checksum 06:28:39 a7acece74701: Download complete 06:28:39 53926ce57604: Verifying Checksum 06:28:39 53926ce57604: Download complete 06:28:39 96b7cbca73a9: Verifying Checksum 06:28:39 96b7cbca73a9: Download complete 06:28:43 53926ce57604: Pull complete 06:28:43 21b2b0c7a3f4: Pull complete 06:28:43 22ff95d597cd: Pull complete 06:28:43 12d6caf4c0d1: Pull complete 06:28:45 96b7cbca73a9: Pull complete 06:28:46 a7acece74701: Pull complete 06:28:46 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:28:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:28:46 ---> db6d94c90886 06:28:46 Step 3/10 : ARG MAKE=make build 06:28:48 ---> Running in 58ed5a624202 06:28:48 Removing intermediate container 58ed5a624202 06:28:48 ---> b7314c717c4c 06:28:48 Step 4/10 : WORKDIR /device-sdk-go 06:28:48 ---> Running in 5ee68b7ac205 06:28:48 Removing intermediate container 5ee68b7ac205 06:28:48 ---> ff9c36b6dc79 06:28:48 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:28:48 ---> Running in 41fcc86ddf6c 06:28:48 Removing intermediate container 41fcc86ddf6c 06:28:48 ---> d53e8ca1c3fa 06:28:48 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:28:48 ---> Running in de4404970b06 06:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:28:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:28:48 OK: 211 MiB in 51 packages 06:28:49 Removing intermediate container de4404970b06 06:28:49 ---> ddd067855c17 06:28:49 Step 7/10 : COPY go.mod vendor* ./ 06:28:49 ---> d83205f4079f 06:28:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:49 ---> Running in 7c75bca9889f 06:28:51 Still waiting to schedule task 06:28:51 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:29:11 Removing intermediate container 7c75bca9889f 06:29:11 ---> 38d48ff39857 06:29:11 Step 9/10 : COPY . . 06:29:11 ---> 9914e436b67b 06:29:11 Step 10/10 : RUN ${MAKE} 06:29:11 ---> Running in a2d6b18c5337 06:29:11 noop 06:29:11 Removing intermediate container a2d6b18c5337 06:29:11 ---> 9026b38657e8 06:29:11 Successfully built 9026b38657e8 06:29:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:11 + docker inspect -f . ci-base-image-x86_64 06:29:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:11 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:29:11 $ 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 06:29:12 $ docker top f701d5b91ab1f67acf6fdba780227891f42cbdf4acacb40c3570697cc532a850 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:12 + go version 06:29:12 go version go1.18.7 linux/amd64 [Pipeline] } 06:29:12 $ docker stop --time=1 f701d5b91ab1f67acf6fdba780227891f42cbdf4acacb40c3570697cc532a850 06:29:13 $ docker rm -f f701d5b91ab1f67acf6fdba780227891f42cbdf4acacb40c3570697cc532a850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:14 + docker inspect -f . ci-base-image-x86_64 06:29:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:14 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:29:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:14 $ docker top e964a1ea3895d81d27dc984145184710abbf5aef2fcae0fa3e6b13923e64a558 -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:29:15 + make test 06:29:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:29:20 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.094s coverage: 78.9% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.089s coverage: 73.1% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.119s coverage: 54.4% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.101s coverage: 65.1% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.741s coverage: 89.2% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:29:35 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.072s coverage: 4.7% of statements 06:29:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:29:50 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:29:50 GO111MODULE=on go vet ./... 06:29:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:29:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:29:51 ./bin/test-attribution-txt.sh 06:29:51 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:29:51 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 06:29:51 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 06:29:51 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:29:51 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:29:51 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:29:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:29:51 $ docker stop --time=1 e964a1ea3895d81d27dc984145184710abbf5aef2fcae0fa3e6b13923e64a558 06:29:53 $ docker rm -f e964a1ea3895d81d27dc984145184710abbf5aef2fcae0fa3e6b13923e64a558 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:29:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:29:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:29:55 + ls -al . 06:29:55 total 280 06:29:55 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 06:29 . 06:29:55 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 06:28 .. 06:29:55 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 06:28 .dockerignore 06:29:55 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 06:29 .git 06:29:55 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 06:28 .github 06:29:55 -rw-rw-r-- 1 jenkins jenkins 131 Dec 14 06:28 .gitignore 06:29:55 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 06:28 .golangci.yml 06:29:55 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 06:28 .semver 06:29:55 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 14 06:28 CHANGELOG.md 06:29:55 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 06:28 GOVERNANCE.md 06:29:55 -rw-rw-r-- 1 jenkins jenkins 880 Dec 14 06:28 Jenkinsfile 06:29:55 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 06:28 LICENSE 06:29:55 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 14 06:28 Makefile 06:29:55 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 06:28 OWNERS.md 06:29:55 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 14 06:28 README.md 06:29:55 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 06:28 VERSION 06:29:55 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 06:28 bin 06:29:55 -rw-r--r-- 1 jenkins jenkins 101759 Dec 14 06:29 coverage.out 06:29:55 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 06:28 example 06:29:55 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 14 06:28 go.mod 06:29:55 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 14 06:28 go.sum 06:29:55 drwxrwxr-x 14 jenkins jenkins 4096 Dec 14 06:28 internal 06:29:55 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 06:28 openapi 06:29:55 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 06:28 pkg 06:29:55 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 06:28 snap 06:29:55 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 06:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:55 + 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=75403564eeb8af1d0f1f8ff2eb4e718373552573 --label arch=amd64 --label version=3.0.0-dev.4 . 06:29:55 Sending build context to Docker daemon 10.45MB 06:29:55 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:29:55 Step 2/23 : FROM ${BASE} AS builder 06:29:55 ---> 9026b38657e8 06:29:55 Step 3/23 : ARG MAKE=make build 06:29:55 ---> Running in ed7a970e7307 06:29:55 Removing intermediate container ed7a970e7307 06:29:55 ---> 9ac6e9794871 06:29:55 Step 4/23 : WORKDIR /device-sdk-go 06:29:55 ---> Running in 13ff56beeaf7 06:29:55 Removing intermediate container 13ff56beeaf7 06:29:55 ---> a1c1ece5ece3 06:29:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:29:55 ---> Running in 3a5c48356152 06:29:55 Removing intermediate container 3a5c48356152 06:29:55 ---> 384f34816d3b 06:29:55 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:29:55 ---> Running in 04c3985f38e8 06:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:29:56 OK: 211 MiB in 51 packages 06:29:56 Removing intermediate container 04c3985f38e8 06:29:56 ---> 85e95aeddffc 06:29:56 Step 7/23 : COPY go.mod vendor* ./ 06:29:56 ---> aae7acbc8ccf 06:29:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:56 ---> Running in 30aa70abe1d0 06:29:57 Removing intermediate container 30aa70abe1d0 06:29:57 ---> a9e1068f8d47 06:29:57 Step 9/23 : COPY . . 06:29:58 ---> 4046283080e4 06:29:58 Step 10/23 : RUN ${MAKE} 06:29:58 ---> Running in 0b5bd238563c 06:29:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:30:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:30:15 Removing intermediate container 0b5bd238563c 06:30:15 ---> b7331ea762cb 06:30:15 Step 11/23 : FROM alpine:3.16 06:30:16 3.16: Pulling from library/alpine 06:30:16 ca7dd9ec2225: Pulling fs layer 06:30:16 ca7dd9ec2225: Verifying Checksum 06:30:16 ca7dd9ec2225: Download complete 06:30:16 ca7dd9ec2225: Pull complete 06:30:16 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 06:30:16 Status: Downloaded newer image for alpine:3.16 06:30:16 ---> bfe296a52501 06:30:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:30:16 ---> Running in edd703bce16f 06:30:16 Removing intermediate container edd703bce16f 06:30:16 ---> 6d772a1a03a8 06:30:16 Step 13/23 : RUN apk add --update --no-cache zeromq 06:30:16 ---> Running in d328c572f4dd 06:30:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:30:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:30:17 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:30:17 (2/5) Installing libsodium (1.0.18-r0) 06:30:17 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:30:17 (4/5) Installing libzmq (4.3.4-r0) 06:30:17 (5/5) Installing zeromq (4.3.4-r0) 06:30:17 Executing busybox-1.35.0-r17.trigger 06:30:17 OK: 8 MiB in 19 packages 06:30:17 Removing intermediate container d328c572f4dd 06:30:17 ---> 2647b24eefb2 06:30:17 Step 14/23 : WORKDIR / 06:30:17 ---> Running in b1c6e3f554b4 06:30:17 Removing intermediate container b1c6e3f554b4 06:30:17 ---> dd2e4bac7425 06:30:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:30:17 ---> a9f79a10081e 06:30:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:30:18 ---> e2f4f2fda9c3 06:30:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:30:18 ---> 7f9b8e2c8f1a 06:30:18 Step 18/23 : EXPOSE 59999 06:30:18 ---> Running in a6b8c4458030 06:30:18 Removing intermediate container a6b8c4458030 06:30:18 ---> 8b31ca376e9c 06:30:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:30:18 ---> Running in e129073dc27d 06:30:18 Removing intermediate container e129073dc27d 06:30:18 ---> 87a57b1be653 06:30:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:30:18 ---> Running in 6fab664633f2 06:30:18 Removing intermediate container 6fab664633f2 06:30:18 ---> d3e97ce80927 06:30:18 Step 21/23 : LABEL arch=amd64 06:30:18 ---> Running in 75c8e9b37b28 06:30:18 Removing intermediate container 75c8e9b37b28 06:30:18 ---> cf8b4a6ebc7f 06:30:18 Step 22/23 : LABEL git_sha=75403564eeb8af1d0f1f8ff2eb4e718373552573 06:30:19 ---> Running in cbd8ed4d4e8a 06:30:19 Removing intermediate container cbd8ed4d4e8a 06:30:19 ---> c287376e69c1 06:30:19 Step 23/23 : LABEL version=3.0.0-dev.4 06:30:19 ---> Running in eb045fdd0467 06:30:19 Removing intermediate container eb045fdd0467 06:30:19 ---> 561b0b478fed 06:30:19 [Warning] One or more build-args [ARCH] were not consumed 06:30:19 Successfully built 561b0b478fed 06:30:19 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 06:30:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:19 06:30:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:19 latest: Pulling from edgex-lftools-log-publisher 06:30:19 5eb5b503b376: Pulling fs layer 06:30:19 5c69ac0246d0: Pulling fs layer 06:30:19 ec43610c2a17: Pulling fs layer 06:30:19 3a2ae6a8a46f: Pulling fs layer 06:30:19 33b1e0a273af: Pulling fs layer 06:30:19 5d3b04190fa2: Pulling fs layer 06:30:19 2f39f015ded8: Pulling fs layer 06:30:19 3a2ae6a8a46f: Waiting 06:30:19 2f39f015ded8: Waiting 06:30:19 5d3b04190fa2: Waiting 06:30:19 33b1e0a273af: Waiting 06:30:19 3a2ae6a8a46f: Verifying Checksum 06:30:19 3a2ae6a8a46f: Download complete 06:30:20 33b1e0a273af: Verifying Checksum 06:30:20 33b1e0a273af: Download complete 06:30:20 5d3b04190fa2: Verifying Checksum 06:30:20 5d3b04190fa2: Download complete 06:30:20 ec43610c2a17: Verifying Checksum 06:30:20 ec43610c2a17: Download complete 06:30:20 5eb5b503b376: Verifying Checksum 06:30:20 5eb5b503b376: Download complete 06:30:20 2f39f015ded8: Download complete 06:30:21 5eb5b503b376: Pull complete 06:30:21 5c69ac0246d0: Pull complete 06:30:21 ec43610c2a17: Pull complete 06:30:21 3a2ae6a8a46f: Pull complete 06:30:21 33b1e0a273af: Pull complete 06:30:22 5d3b04190fa2: Pull complete 06:30:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121185 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:30:26 Running in /w/workspace/device-sdk-go/134 [Pipeline] { [Pipeline] checkout 06:30:26 The recommended git tool is: git 06:30:26 2f39f015ded8: Pull complete 06:30:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:30:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:26 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:30:26 $ 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 06:30:27 $ docker top b2d4c28a08eae894e86c1c097e3203cef0b0b80b74ee1cb47159707fed159143 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:28 ---> job-cost.sh 06:30:28 lf-activate-venv: SKIPPING 06:30:28 INFO: No Stack... 06:30:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:30:28 INFO: Archiving Costs [Pipeline] sh 06:30:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:30:29 + cut -d, -f6 [Pipeline] lock 06:30:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] 06:30:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] did not exist. Created. 06:30:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:30:29 + echo total: 0.2199999988079071 [Pipeline] stash 06:30:29 Stashed 1 file(s) [Pipeline] } 06:30:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 06:30:29 $ docker stop --time=1 b2d4c28a08eae894e86c1c097e3203cef0b0b80b74ee1cb47159707fed159143 06:30:30 $ docker rm -f b2d4c28a08eae894e86c1c097e3203cef0b0b80b74ee1cb47159707fed159143 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:30:30 using credential edgex-jenkins-ssh 06:30:30 Cloning the remote Git repository 06:30:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:30:31 > git init /w/workspace/device-sdk-go/134 # timeout=10 06:30:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:30:31 > git --version # timeout=10 06:30:31 > git --version # 'git version 2.25.1' 06:30:31 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:30:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:34 Avoid second fetch 06:30:34 Checking out Revision 75403564eeb8af1d0f1f8ff2eb4e718373552573 (main) 06:30:34 Commit message: "Merge pull request #1266 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.4" 06:30:34 > git config core.sparsecheckout # timeout=10 06:30:34 > git checkout -f 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:30:35 % Total % Received % Xferd Average Speed Time Time Time Current 06:30:35 Dload Upload Total Spent Left Speed 06:30:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 06:30:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:30:36 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 06:30:36 /etc/docker/daemon.json 06:30:36 { 06:30:36 "registry-mirrors": [ 06:30:36 "https://nexus3.edgexfoundry.org:10001" 06:30:36 ], 06:30:36 "bip": "10.250.0.254/24", 06:30:36 "hosts": [ 06:30:36 "tcp://0.0.0.0:5555", 06:30:36 "unix:///var/run/docker.sock" 06:30:36 ], 06:30:36 "mtu": 1458, 06:30:36 "selinux-enabled": true, 06:30:36 "seccomp-profile": "/etc/docker/seccomp.json" 06:30:36 } [Pipeline] sh 06:30:36 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:30:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:55 provisioning config files... 06:30:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/134@tmp/config11642193599165999395tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:55 ---> docker-login.sh 06:30:55 nexus3.edgexfoundry.org:10001 06:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:56 Configure a credential helper to remove this warning. See 06:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:56 06:30:56 Login Succeeded 06:30:56 nexus3.edgexfoundry.org:10002 06:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:56 Configure a credential helper to remove this warning. See 06:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:56 06:30:56 Login Succeeded 06:30:56 nexus3.edgexfoundry.org:10003 06:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:57 Configure a credential helper to remove this warning. See 06:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:57 06:30:57 Login Succeeded 06:30:57 nexus3.edgexfoundry.org:10004 06:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:57 Configure a credential helper to remove this warning. See 06:30:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:57 06:30:57 Login Succeeded 06:30:57 docker.io 06:30:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:58 Configure a credential helper to remove this warning. See 06:30:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:58 06:30:58 Login Succeeded 06:30:58 ---> docker-login.sh ends [Pipeline] } 06:30:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:30:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:30:58 ========================================================= 06:30:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:30:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:58 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 06:30:58 Sending build context to Docker daemon 5.559MB 06:30:58 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:30:58 Step 2/10 : FROM ${BASE} AS builder 06:30:59 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:30:59 9b18e9b68314: Pulling fs layer 06:30:59 35d82f9e3411: Pulling fs layer 06:30:59 e16973657156: Pulling fs layer 06:30:59 fc693d55d65f: Pulling fs layer 06:30:59 7e9fc2657dce: Pulling fs layer 06:30:59 dda99020689f: Pulling fs layer 06:30:59 db1c61fa0a46: Pulling fs layer 06:30:59 891c053d2c06: Pulling fs layer 06:30:59 7e9fc2657dce: Waiting 06:30:59 dda99020689f: Waiting 06:30:59 db1c61fa0a46: Waiting 06:30:59 891c053d2c06: Waiting 06:30:59 fc693d55d65f: Waiting 06:30:59 e16973657156: Verifying Checksum 06:30:59 e16973657156: Download complete 06:30:59 35d82f9e3411: Verifying Checksum 06:30:59 35d82f9e3411: Download complete 06:30:59 7e9fc2657dce: Verifying Checksum 06:30:59 7e9fc2657dce: Download complete 06:30:59 dda99020689f: Verifying Checksum 06:30:59 dda99020689f: Download complete 06:30:59 9b18e9b68314: Verifying Checksum 06:30:59 9b18e9b68314: Download complete 06:31:00 9b18e9b68314: Pull complete 06:31:00 891c053d2c06: Verifying Checksum 06:31:00 891c053d2c06: Download complete 06:31:00 35d82f9e3411: Pull complete 06:31:00 e16973657156: Pull complete 06:31:01 db1c61fa0a46: Verifying Checksum 06:31:01 db1c61fa0a46: Download complete 06:31:01 fc693d55d65f: Download complete 06:31:14 fc693d55d65f: Pull complete 06:31:14 7e9fc2657dce: Pull complete 06:31:14 dda99020689f: Pull complete 06:31:19 db1c61fa0a46: Pull complete 06:31:21 891c053d2c06: Pull complete 06:31:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:31:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:31:21 ---> f96f9c87975a 06:31:21 Step 3/10 : ARG MAKE=make build 06:31:23 ---> Running in 24b27da16b0d 06:31:23 Removing intermediate container 24b27da16b0d 06:31:23 ---> cc1ff0c07d52 06:31:23 Step 4/10 : WORKDIR /device-sdk-go 06:31:23 ---> Running in 90beca7dc59e 06:31:23 Removing intermediate container 90beca7dc59e 06:31:23 ---> f397c97b9639 06:31:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:31:23 ---> Running in 92f5bc6c104e 06:31:24 Removing intermediate container 92f5bc6c104e 06:31:24 ---> cb1698fc66f9 06:31:24 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:31:24 ---> Running in 2fb89b946993 06:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:31:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:31:26 OK: 221 MiB in 51 packages 06:31:27 Removing intermediate container 2fb89b946993 06:31:27 ---> 1f0cb29ab2e4 06:31:27 Step 7/10 : COPY go.mod vendor* ./ 06:31:28 ---> cd4dcc29356f 06:31:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:28 ---> Running in e2e6f82b491d 06:32:24 Removing intermediate container e2e6f82b491d 06:32:24 ---> 268457457a8b 06:32:24 Step 9/10 : COPY . . 06:32:24 ---> 8210a8151fb5 06:32:24 Step 10/10 : RUN ${MAKE} 06:32:24 ---> Running in 903dcba33c14 06:32:24 noop 06:32:24 Removing intermediate container 903dcba33c14 06:32:24 ---> e7cc1d8701e3 06:32:24 Successfully built e7cc1d8701e3 06:32:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:24 + docker inspect -f . ci-base-image-arm64 06:32:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:25 prd-ubuntu20.04-docker-arm64-4c-16g-121185 does not seem to be running inside a container 06:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/134 -v /w/workspace/device-sdk-go/134:/w/workspace/device-sdk-go/134:rw,z -v /w/workspace/device-sdk-go/134@tmp:/w/workspace/device-sdk-go/134@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 06:32:26 $ docker top 009da57084720da45f8440f9bfce76b07be5b7e9167cda1cbdfbb9dac0859e00 -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:27 + go version 06:32:27 go version go1.18.7 linux/arm64 [Pipeline] } 06:32:27 $ docker stop --time=1 009da57084720da45f8440f9bfce76b07be5b7e9167cda1cbdfbb9dac0859e00 06:32:28 $ docker rm -f 009da57084720da45f8440f9bfce76b07be5b7e9167cda1cbdfbb9dac0859e00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:29 + docker inspect -f . ci-base-image-arm64 06:32:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:32:29 prd-ubuntu20.04-docker-arm64-4c-16g-121185 does not seem to be running inside a container 06:32:29 $ 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/134 -v /w/workspace/device-sdk-go/134:/w/workspace/device-sdk-go/134:rw,z -v /w/workspace/device-sdk-go/134@tmp:/w/workspace/device-sdk-go/134@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 06:32:30 $ docker top e66f0aac7762be6a25541bdc284723ac876d9db1dda0842aa815b86a826a8f9f -eo pid,comm [Pipeline] { [Pipeline] sh 06:32:31 + git config --global --add safe.directory /w/workspace/device-sdk-go/134 [Pipeline] fileExists [Pipeline] sh 06:32:31 + make test 06:32:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:33:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:34:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:34:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:34:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:34:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:34:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.448s coverage: 27.6% of statements 06:34:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.379s coverage: 78.9% of statements 06:34:45 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:34:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.579s coverage: 73.1% of statements 06:34:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:34:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:34:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s coverage: 54.4% of statements 06:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 06:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:34:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 06:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.406s coverage: 65.1% of statements 06:34:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:34:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.965s coverage: 89.2% of statements 06:34:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:34:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.306s coverage: 4.7% of statements 06:34:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:34:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:34:57 GO111MODULE=on go vet ./... 06:36:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:36:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:36:34 ./bin/test-attribution-txt.sh 06:36:34 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:36:34 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 06:36:34 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 06:36:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:36:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:36:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:36:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:36:34 $ docker stop --time=1 e66f0aac7762be6a25541bdc284723ac876d9db1dda0842aa815b86a826a8f9f 06:36:35 $ docker rm -f e66f0aac7762be6a25541bdc284723ac876d9db1dda0842aa815b86a826a8f9f [Pipeline] // withDockerContainer [Pipeline] sh 06:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:36:37 Warning: overwriting stash ‘coverage-report’ 06:36:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:36:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:36:38 + ls -al . 06:36:38 total 276 06:36:38 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 06:32 . 06:36:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 06:30 .. 06:36:38 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 06:30 .dockerignore 06:36:38 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 06:30 .git 06:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 06:30 .github 06:36:38 -rw-rw-r-- 1 jenkins jenkins 131 Dec 14 06:30 .gitignore 06:36:38 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 06:30 .golangci.yml 06:36:38 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 14 06:30 CHANGELOG.md 06:36:38 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 06:30 GOVERNANCE.md 06:36:38 -rw-rw-r-- 1 jenkins jenkins 880 Dec 14 06:30 Jenkinsfile 06:36:38 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 06:30 LICENSE 06:36:38 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 14 06:30 Makefile 06:36:38 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 06:30 OWNERS.md 06:36:38 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 14 06:30 README.md 06:36:38 -rw-rw-r-- 1 jenkins jenkins 11 Dec 14 06:28 VERSION 06:36:38 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 06:30 bin 06:36:38 -rw-r--r-- 1 jenkins jenkins 101759 Dec 14 06:34 coverage.out 06:36:38 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 06:30 example 06:36:38 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 14 06:30 go.mod 06:36:38 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 14 06:30 go.sum 06:36:38 drwxrwxr-x 14 jenkins jenkins 4096 Dec 14 06:30 internal 06:36:38 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 06:30 openapi 06:36:38 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 06:30 pkg 06:36:38 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 06:30 snap 06:36:38 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 06:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:38 + 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=75403564eeb8af1d0f1f8ff2eb4e718373552573 --label arch=arm64 --label version=3.0.0-dev.4 . 06:36:38 Sending build context to Docker daemon 5.662MB 06:36:38 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:36:38 Step 2/23 : FROM ${BASE} AS builder 06:36:38 ---> e7cc1d8701e3 06:36:38 Step 3/23 : ARG MAKE=make build 06:36:39 ---> Running in d0c13d227014 06:36:39 Removing intermediate container d0c13d227014 06:36:39 ---> 4d25eea9e42c 06:36:39 Step 4/23 : WORKDIR /device-sdk-go 06:36:39 ---> Running in c751be8bc0cb 06:36:39 Removing intermediate container c751be8bc0cb 06:36:39 ---> e229f03458e0 06:36:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:36:39 ---> Running in 3ab03b555c06 06:36:39 Removing intermediate container 3ab03b555c06 06:36:39 ---> 74646419f29d 06:36:39 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:36:39 ---> Running in fc3dfd6af95a 06:36:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:36:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:36:42 OK: 221 MiB in 51 packages 06:36:44 Removing intermediate container fc3dfd6af95a 06:36:44 ---> 8b72d8ce52f3 06:36:44 Step 7/23 : COPY go.mod vendor* ./ 06:36:44 ---> 95c283ffd757 06:36:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:36:44 ---> Running in e8ada74fc900 06:36:46 Removing intermediate container e8ada74fc900 06:36:46 ---> dcd1062f5413 06:36:46 Step 9/23 : COPY . . 06:36:47 ---> f4caec2373d4 06:36:47 Step 10/23 : RUN ${MAKE} 06:36:47 ---> Running in 3eb2eaef466a 06:36:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:38:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:38:55 Removing intermediate container 3eb2eaef466a 06:38:55 ---> 6c7643b3326f 06:38:55 Step 11/23 : FROM alpine:3.16 06:38:55 3.16: Pulling from library/alpine 06:38:55 6875df1f5354: Pulling fs layer 06:38:55 6875df1f5354: Verifying Checksum 06:38:55 6875df1f5354: Download complete 06:38:55 6875df1f5354: Pull complete 06:38:55 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 06:38:55 Status: Downloaded newer image for alpine:3.16 06:38:55 ---> 2b4661558fb8 06:38:55 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:38:55 ---> Running in f241a10d3229 06:38:55 Removing intermediate container f241a10d3229 06:38:55 ---> 97dc95fd9c87 06:38:55 Step 13/23 : RUN apk add --update --no-cache zeromq 06:38:55 ---> Running in 99891ac6696c 06:38:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:38:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:38:55 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:38:55 (2/5) Installing libsodium (1.0.18-r0) 06:38:55 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:38:55 (4/5) Installing libzmq (4.3.4-r0) 06:38:55 (5/5) Installing zeromq (4.3.4-r0) 06:38:55 Executing busybox-1.35.0-r17.trigger 06:38:55 OK: 8 MiB in 19 packages 06:38:55 Removing intermediate container 99891ac6696c 06:38:55 ---> 19529d67517f 06:38:55 Step 14/23 : WORKDIR / 06:38:55 ---> Running in 9ff14dc48b05 06:38:55 Removing intermediate container 9ff14dc48b05 06:38:55 ---> 2637bbf64273 06:38:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:38:55 ---> 886e3d254d61 06:38:55 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:38:55 ---> 68df21687745 06:38:55 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:38:55 ---> ff05231d4953 06:38:55 Step 18/23 : EXPOSE 59999 06:38:55 ---> Running in cbb14f6e4b97 06:38:55 Removing intermediate container cbb14f6e4b97 06:38:55 ---> a06e4d95f308 06:38:55 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:38:55 ---> Running in 21d07b76b318 06:38:55 Removing intermediate container 21d07b76b318 06:38:55 ---> c7a6a540c49d 06:38:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:38:55 ---> Running in 718f941ea8ee 06:38:56 Removing intermediate container 718f941ea8ee 06:38:56 ---> 64d6d0691b3d 06:38:56 Step 21/23 : LABEL arch=arm64 06:38:56 ---> Running in bc7c5b88db44 06:38:56 Removing intermediate container bc7c5b88db44 06:38:56 ---> bfac672eaa3c 06:38:56 Step 22/23 : LABEL git_sha=75403564eeb8af1d0f1f8ff2eb4e718373552573 06:38:56 ---> Running in a0edee0646b8 06:38:56 Removing intermediate container a0edee0646b8 06:38:56 ---> adcdd4de66e0 06:38:56 Step 23/23 : LABEL version=3.0.0-dev.4 06:38:56 ---> Running in 981cf34851bc 06:38:56 Removing intermediate container 981cf34851bc 06:38:56 ---> 9572f943ab59 06:38:56 [Warning] One or more build-args [ARCH] were not consumed 06:38:56 Successfully built 9572f943ab59 06:38:56 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 06:38:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:57 06:38:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:57 arm64: Pulling from edgex-lftools-log-publisher 06:38:57 8998bd30e6a1: Pulling fs layer 06:38:57 04944245beec: Pulling fs layer 06:38:57 699f458cf7ca: Pulling fs layer 06:38:57 765212b225bb: Pulling fs layer 06:38:57 f23df028b6ca: Pulling fs layer 06:38:57 d65c8cfc05b1: Pulling fs layer 06:38:57 2437ff75d9bd: Pulling fs layer 06:38:57 f23df028b6ca: Waiting 06:38:57 d65c8cfc05b1: Waiting 06:38:57 2437ff75d9bd: Waiting 06:38:57 765212b225bb: Waiting 06:38:57 04944245beec: Verifying Checksum 06:38:57 04944245beec: Download complete 06:38:57 765212b225bb: Verifying Checksum 06:38:57 f23df028b6ca: Download complete 06:38:57 d65c8cfc05b1: Download complete 06:38:57 699f458cf7ca: Verifying Checksum 06:38:57 699f458cf7ca: Download complete 06:38:58 8998bd30e6a1: Download complete 06:39:00 2437ff75d9bd: Verifying Checksum 06:39:00 2437ff75d9bd: Download complete 06:39:01 8998bd30e6a1: Pull complete 06:39:02 04944245beec: Pull complete 06:39:03 699f458cf7ca: Pull complete 06:39:03 765212b225bb: Pull complete 06:39:04 f23df028b6ca: Pull complete 06:39:04 d65c8cfc05b1: Pull complete 06:39:16 2437ff75d9bd: Pull complete 06:39:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:39:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:16 prd-ubuntu20.04-docker-arm64-4c-16g-121185 does not seem to be running inside a container 06:39:17 $ 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/134 -v /w/workspace/device-sdk-go/134:/w/workspace/device-sdk-go/134:rw,z -v /w/workspace/device-sdk-go/134@tmp:/w/workspace/device-sdk-go/134@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 06:39:19 $ docker top 28aaf3ae191e268a48bf32d92466387c17ca48dd5a4437f3ea65eac2034a05b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:20 ---> job-cost.sh 06:39:20 lf-activate-venv: SKIPPING 06:39:20 INFO: No Stack... 06:39:20 INFO: Retrieving Pricing Info for: v3-standard-4 06:39:21 INFO: Archiving Costs [Pipeline] sh 06:39:21 + cat /w/workspace/device-sdk-go/134/archives/cost.csv 06:39:21 + cut -d, -f6 [Pipeline] lock 06:39:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] 06:39:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] did not exist. Created. 06:39:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:39:22 /w/workspace/device-sdk-go/134@tmp/durable-996acf3f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:39:22 + echo total: 0.10999999940395355 [Pipeline] stash 06:39:22 Warning: overwriting stash ‘stack-cost’ 06:39:22 Stashed 1 file(s) [Pipeline] } 06:39:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-134-stack-cost] [Pipeline] // lock [Pipeline] } 06:39:22 $ docker stop --time=1 28aaf3ae191e268a48bf32d92466387c17ca48dd5a4437f3ea65eac2034a05b3 06:39:24 $ docker rm -f 28aaf3ae191e268a48bf32d92466387c17ca48dd5a4437f3ea65eac2034a05b3 [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 06:39:24 provisioning config files... 06:39:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13554998230923334139tmp [Pipeline] { [Pipeline] sh 06:39:24 + set +x 06:39:24 + curl -s https://codecov.io/bash 06:39:24 + bash -s -- 06:39:24 06:39:24 _____ _ 06:39:24 / ____| | | 06:39:24 | | ___ __| | ___ ___ _____ __ 06:39:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:39:24 | |___| (_) | (_| | __/ (_| (_) \ V / 06:39:24 \_____\___/ \__,_|\___|\___\___/ \_/ 06:39:24 Bash-1.0.6 06:39:24 06:39:24 06:39:24 ==> git version 2.25.1 found 06:39:24 ==> 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 06:39:24 Release-Date: 2020-01-08 06:39:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:39:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:39:24 ==> Jenkins CI detected. 06:39:24 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:39:24 project root: . 06:39:24 --> token set from env 06:39:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:39:24 ==> Running gcov in . (disable via -X gcov) 06:39:24 ==> Python coveragepy not found 06:39:24 ==> Searching for coverage reports in: 06:39:24 + . 06:39:24 -> Found 1 reports 06:39:24 ==> Detecting git/mercurial file structure 06:39:24 ==> Reading reports 06:39:24 + ./coverage.out bytes=101759 06:39:25 ==> Appending adjustments 06:39:25 https://docs.codecov.io/docs/fixing-reports 06:39:25 + Found adjustments 06:39:25 ==> Gzipping contents 06:39:25 16K /tmp/codecov.ufCnph.gz 06:39:25 ==> Uploading reports 06:39:25 url: https://codecov.io 06:39:25 query: branch=main&commit=75403564eeb8af1d0f1f8ff2eb4e718373552573&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:39:25 -> Pinging Codecov 06:39:25 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=75403564eeb8af1d0f1f8ff2eb4e718373552573&build=134&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F134%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:39:25 -> Uploading to 06:39:25 https://storage.googleapis.com/codecov/v4/raw/2022-12-14/7E55EF52A471D76F132DFD9A03CDDE97/75403564eeb8af1d0f1f8ff2eb4e718373552573/7557dc3a-1573-4d48-8273-9993d4ed6c02.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221214T063925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=048e34c172bb2e30c4b493e5a0cdc206c12473bf6bf38db2a7adc4e532416aaf 06:39:25 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:25 Dload Upload Total Spent Left Speed 06:39:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14713 0 0 100 14713 0 64814 --:--:-- --:--:-- --:--:-- 64814 06:39:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] } 06:39:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:39:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:39:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:39:26 06:39:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:39:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:39:26 df9b9388f04a: Pulling fs layer 06:39:26 52dc419b0ee2: Pulling fs layer 06:39:26 25bc292e5bac: Pulling fs layer 06:39:26 114826534d7a: Pulling fs layer 06:39:26 4657fd5d0bcf: Pulling fs layer 06:39:26 6ad1cebc031e: Pulling fs layer 06:39:26 8a3aa393b2d8: Pulling fs layer 06:39:26 4657fd5d0bcf: Waiting 06:39:26 6ad1cebc031e: Waiting 06:39:26 8a3aa393b2d8: Waiting 06:39:26 114826534d7a: Waiting 06:39:26 25bc292e5bac: Verifying Checksum 06:39:26 25bc292e5bac: Download complete 06:39:26 52dc419b0ee2: Verifying Checksum 06:39:26 52dc419b0ee2: Download complete 06:39:26 4657fd5d0bcf: Verifying Checksum 06:39:26 4657fd5d0bcf: Download complete 06:39:26 df9b9388f04a: Verifying Checksum 06:39:26 df9b9388f04a: Download complete 06:39:26 df9b9388f04a: Pull complete 06:39:26 52dc419b0ee2: Pull complete 06:39:26 6ad1cebc031e: Verifying Checksum 06:39:26 6ad1cebc031e: Download complete 06:39:26 25bc292e5bac: Pull complete 06:39:27 114826534d7a: Verifying Checksum 06:39:27 114826534d7a: Download complete 06:39:27 8a3aa393b2d8: Verifying Checksum 06:39:27 8a3aa393b2d8: Download complete 06:39:30 114826534d7a: Pull complete 06:39:31 4657fd5d0bcf: Pull complete 06:39:31 6ad1cebc031e: Pull complete 06:39:33 8a3aa393b2d8: Pull complete 06:39:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:39:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:39:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:33 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:39:33 $ 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 06:39:35 $ docker top 51df0effa95b59fe8a04f5268cf1ca0889acbdc6320eae259e64f49440188286 -eo pid,comm [Pipeline] { [Pipeline] echo 06:39:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:39:36 + set -o pipefail 06:39:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:39:42 06:39:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:39:42 06:39:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/f92d7877-8e4e-4a8c-9328-0cb611d1e288 06:39:42 06:39:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:39:42 06:39:42 06:39:42 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:39:42 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:39:42 More details here: https://snyk.co/ue1NS [Pipeline] } 06:39:42 $ docker stop --time=1 51df0effa95b59fe8a04f5268cf1ca0889acbdc6320eae259e64f49440188286 06:39:44 $ docker rm -f 51df0effa95b59fe8a04f5268cf1ca0889acbdc6320eae259e64f49440188286 [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 06:39:44 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:39:44 provisioning config files... 06:39:44 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4559075246666109296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:39:45 --> edgex-publish-swagger.sh 06:39:45 === Publish openapi/v2 API === 06:39:45 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:39:45 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:39:45 % Total % Received % Xferd Average Speed Time Time Time Current 06:39:45 Dload Upload Total Spent Left Speed 06:39:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53590 100 38 100 53552 80 110k --:--:-- --:--:-- --:--:-- 109k 06:39:45 {"code":403,"message":"Access Denied"} 06:39:45 [Pipeline] } 06:39:45 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 06:39:45 + git log --format=format:%s -1 75403564eeb8af1d0f1f8ff2eb4e718373552573 [Pipeline] sh 06:39:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:39:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:39:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:46 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:39:46 $ 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 06:39:46 $ docker top f4d1280d0cc28e69d700c670e71ba0d5f491602acf582b061a3efb40b1e7263c -eo pid,comm 06:39:46 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). 06:39:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:39:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:39:47 [ssh-agent] Looking for ssh-agent implementation... 06:39:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:39:47 $ docker exec f4d1280d0cc28e69d700c670e71ba0d5f491602acf582b061a3efb40b1e7263c ssh-agent 06:39:47 SSH_AUTH_SOCK=/tmp/ssh-jMo9U4sY0w1n/agent.32 06:39:47 SSH_AGENT_PID=38 06:39:47 Running ssh-add (command line suppressed) 06:39:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14769358114202165967.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14769358114202165967.key) 06:39:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:39:47 + git semver tag 06:39:47 2022-12-14 06:39:47,837 [run_tag] DEBUG tag force:False 06:39:47 2022-12-14 06:39:47,837 [check_head_tag] DEBUG check head tag 06:39:47 2022-12-14 06:39:47,838 [execute] INFO git cat-file --batch-check 06:39:47 2022-12-14 06:39:47,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:39:47 2022-12-14 06:39:47,841 [execute] INFO git cat-file --batch 06:39:47 2022-12-14 06:39:47,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:39:47 2022-12-14 06:39:47,868 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:39:47 2022-12-14 06:39:47,869 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 06:39:47 2022-12-14 06:39:47,869 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:39:47 2022-12-14 06:39:47,874 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:39:47 3.0.0-dev.4 [Pipeline] } 06:39:47 $ docker exec --env ******** --env ******** f4d1280d0cc28e69d700c670e71ba0d5f491602acf582b061a3efb40b1e7263c ssh-agent -k 06:39:48 unset SSH_AUTH_SOCK; 06:39:48 unset SSH_AGENT_PID; 06:39:48 echo Agent pid 38 killed; 06:39:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:39:48 + git semver [Pipeline] } 06:39:48 $ docker stop --time=1 f4d1280d0cc28e69d700c670e71ba0d5f491602acf582b061a3efb40b1e7263c 06:39:49 $ docker rm -f f4d1280d0cc28e69d700c670e71ba0d5f491602acf582b061a3efb40b1e7263c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:39:50 06:39:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:39:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:39:50 0.23.1-centos7: Pulling from edgex-lftools 06:39:50 ab5ef0e58194: Pulling fs layer 06:39:50 9712f1f96733: Pulling fs layer 06:39:50 63f879dbbcfc: Pulling fs layer 06:39:50 0d9ebad4ef96: Pulling fs layer 06:39:50 e9a5061849ea: Pulling fs layer 06:39:50 d747dcd14b5f: Pulling fs layer 06:39:50 2de7ff778b66: Pulling fs layer 06:39:50 e9a5061849ea: Waiting 06:39:50 d747dcd14b5f: Waiting 06:39:50 2de7ff778b66: Waiting 06:39:50 0d9ebad4ef96: Waiting 06:39:50 9712f1f96733: Download complete 06:39:51 63f879dbbcfc: Verifying Checksum 06:39:51 63f879dbbcfc: Download complete 06:39:51 e9a5061849ea: Verifying Checksum 06:39:51 e9a5061849ea: Download complete 06:39:51 d747dcd14b5f: Verifying Checksum 06:39:51 d747dcd14b5f: Download complete 06:39:51 ab5ef0e58194: Download complete 06:39:51 0d9ebad4ef96: Verifying Checksum 06:39:51 0d9ebad4ef96: Download complete 06:39:51 2de7ff778b66: Verifying Checksum 06:39:51 2de7ff778b66: Download complete 06:39:53 ab5ef0e58194: Pull complete 06:39:53 9712f1f96733: Pull complete 06:39:54 63f879dbbcfc: Pull complete 06:39:57 0d9ebad4ef96: Pull complete 06:39:57 e9a5061849ea: Pull complete 06:39:57 d747dcd14b5f: Pull complete 06:39:58 2de7ff778b66: Pull complete 06:39:58 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:39:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:39:58 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:39:58 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:39:58 $ 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 06:40:00 $ docker top 762c8d7428614f655efc88ff864946bbcc72cb0f58090853f3a76278f7fbf97d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:40:00 provisioning config files... 06:40:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2774757062623629868tmp 06:40:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13055942989845595744tmp 06:40:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17727064062215125662tmp [Pipeline] { [Pipeline] echo 06:40:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:40:00 ---> sigul-configuration.sh 06:40:00 gpg: directory `/root/.gnupg' created 06:40:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:40:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:40:00 gpg: keyring `/root/.gnupg/secring.gpg' created 06:40:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:40:00 gpg: CAST5 encrypted data 06:40:00 gpg: encrypted with 1 passphrase 06:40:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:40:01 + mkdir /home/jenkins 06:40:01 + mkdir /home/jenkins/sigul [Pipeline] sh 06:40:01 + 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 06:40:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:40:01 ---> sigul-install.sh 06:40:01 Sigul already installed; skipping installation. [Pipeline] sh 06:40:02 + git tag --list 06:40:02 0.7.1 06:40:02 delhi-tag 06:40:02 v1.0.0 06:40:02 v1.1.0 06:40:02 v1.1.1 06:40:02 v1.1.2 06:40:02 v1.2.0 06:40:02 v1.2.1 06:40:02 v1.2.2 06:40:02 v1.2.3 06:40:02 v1.3.0 06:40:02 v1.4.0 06:40:02 v2.0.0 06:40:02 v2.1.0 06:40:02 v2.1.1 06:40:02 v2.1.1-dev.2 06:40:02 v2.1.1-dev.3 06:40:02 v2.2.0 06:40:02 v2.2.1-dev.1 06:40:02 v2.2.1-dev.10 06:40:02 v2.2.1-dev.11 06:40:02 v2.2.1-dev.12 06:40:02 v2.2.1-dev.13 06:40:02 v2.2.1-dev.14 06:40:02 v2.2.1-dev.2 06:40:02 v2.2.1-dev.3 06:40:02 v2.2.1-dev.4 06:40:02 v2.2.1-dev.5 06:40:02 v2.2.1-dev.6 06:40:02 v2.2.1-dev.7 06:40:02 v2.2.1-dev.8 06:40:02 v2.2.1-dev.9 06:40:02 v2.3.0 06:40:02 v2.3.0-dev.14 06:40:02 v2.3.0-dev.15 06:40:02 v2.3.0-dev.16 06:40:02 v2.3.0-dev.17 06:40:02 v2.3.0-dev.18 06:40:02 v2.3.0-dev.19 06:40:02 v2.3.0-dev.20 06:40:02 v2.3.0-dev.21 06:40:02 v2.3.0-dev.22 06:40:02 v2.3.0-dev.23 06:40:02 v2.3.0-dev.24 06:40:02 v2.3.0-dev.25 06:40:02 v2.3.0-dev.26 06:40:02 v2.3.0-dev.27 06:40:02 v2.3.0-dev.28 06:40:02 v2.3.0-dev.29 06:40:02 v2.3.0-dev.30 06:40:02 v2.3.0-dev.31 06:40:02 v2.3.0-dev.32 06:40:02 v2.3.0-dev.33 06:40:02 v2.3.0-dev.34 06:40:02 v2.3.0-dev.35 06:40:02 v2.3.0-dev.36 06:40:02 v2.3.0-dev.37 06:40:02 v2.3.0-dev.38 06:40:02 v2.3.0-dev.39 06:40:02 v2.3.0-dev.40 06:40:02 v2.3.0-dev.41 06:40:02 v2.3.0-dev.42 06:40:02 v2.3.0-dev.43 06:40:02 v2.3.0-dev.44 06:40:02 v2.3.0-dev.45 06:40:02 v2.3.0-dev.46 06:40:02 v2.3.0-dev.47 06:40:02 v2.3.0-dev.48 06:40:02 v2.3.0-dev.49 06:40:02 v2.3.0-dev.50 06:40:02 v2.3.0-dev.51 06:40:02 v2.3.1-dev.1 06:40:02 v2.3.1-dev.2 06:40:02 v3.0.0-dev.1 06:40:02 v3.0.0-dev.2 06:40:02 v3.0.0-dev.3 06:40:02 v3.0.0-dev.4 [Pipeline] sh 06:40:02 + lftools sign git-tag v3.0.0-dev.4 06:40:02 Signing Git tag with Sigul... 06:40:02 Signing v3.0.0-dev.4 [Pipeline] echo 06:40:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:40:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:40:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:40:03 $ docker stop --time=1 762c8d7428614f655efc88ff864946bbcc72cb0f58090853f3a76278f7fbf97d 06:40:04 $ docker rm -f 762c8d7428614f655efc88ff864946bbcc72cb0f58090853f3a76278f7fbf97d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:40:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:40:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:40:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:05 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:40:05 $ 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 06:40:06 $ docker top 858c6ebcb775e8ea39ded5388054b387e70f6481c7aa5b18142c8f18924a24c2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:06 [ssh-agent] Looking for ssh-agent implementation... 06:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:06 $ docker exec 858c6ebcb775e8ea39ded5388054b387e70f6481c7aa5b18142c8f18924a24c2 ssh-agent 06:40:06 SSH_AUTH_SOCK=/tmp/ssh-hAJHXVmRBMhf/agent.32 06:40:06 SSH_AGENT_PID=38 06:40:06 Running ssh-add (command line suppressed) 06:40:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8879947876871855254.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8879947876871855254.key) 06:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:06 + git semver bump pre 06:40:07 2022-12-14 06:40:06,951 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:40:07 2022-12-14 06:40:06,952 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 06:40:07 2022-12-14 06:40:06,952 [bump_version] DEBUG bumped version:3.0.0-dev.5 06:40:07 2022-12-14 06:40:06,952 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:40:07 2022-12-14 06:40:06,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:40:07 2022-12-14 06:40:06,952 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:40:07 2022-12-14 06:40:06,954 [execute] INFO git cat-file --batch-check 06:40:07 2022-12-14 06:40:06,955 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:40:07 2022-12-14 06:40:06,960 [execute] INFO git cat-file --batch 06:40:07 2022-12-14 06:40:06,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:40:07 2022-12-14 06:40:06,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:40:07 3.0.0-dev.5 [Pipeline] } 06:40:07 $ docker exec --env ******** --env ******** 858c6ebcb775e8ea39ded5388054b387e70f6481c7aa5b18142c8f18924a24c2 ssh-agent -k 06:40:07 unset SSH_AUTH_SOCK; 06:40:07 unset SSH_AGENT_PID; 06:40:07 echo Agent pid 38 killed; 06:40:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:07 + git semver [Pipeline] } 06:40:07 $ docker stop --time=1 858c6ebcb775e8ea39ded5388054b387e70f6481c7aa5b18142c8f18924a24c2 06:40:09 $ docker rm -f 858c6ebcb775e8ea39ded5388054b387e70f6481c7aa5b18142c8f18924a24c2 [Pipeline] // withDockerContainer [Pipeline] sh 06:40:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:40:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:40:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:09 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:40:09 $ 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 06:40:10 $ docker top feee8ab863e14a5901b8e1b5cc3acb9d7dfbc87088ee46c24857ed283119a0b6 -eo pid,comm 06:40:10 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). 06:40:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:40:10 [ssh-agent] Looking for ssh-agent implementation... 06:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:40:10 $ docker exec feee8ab863e14a5901b8e1b5cc3acb9d7dfbc87088ee46c24857ed283119a0b6 ssh-agent 06:40:10 SSH_AUTH_SOCK=/tmp/ssh-eFXCdsVKop1H/agent.32 06:40:10 SSH_AGENT_PID=38 06:40:10 Running ssh-add (command line suppressed) 06:40:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14941891097973301450.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14941891097973301450.key) 06:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:40:10 + git semver push 06:40:11 2022-12-14 06:40:11,008 [run_push] DEBUG push 06:40:11 2022-12-14 06:40:11,008 [execute] INFO git cat-file --batch-check 06:40:11 2022-12-14 06:40:11,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:40:11 2022-12-14 06:40:11,012 [execute] INFO git rev-list 04fee096769a070cae493018eb16e59b55438831 -- 06:40:11 2022-12-14 06:40:11,012 [execute] DEBUG Popen(['git', 'rev-list', '04fee096769a070cae493018eb16e59b55438831', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:40:11 2022-12-14 06:40:11,023 [execute] INFO git fetch -v origin 06:40:11 2022-12-14 06:40:11,024 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:40:11 2022-12-14 06:40:11,551 [run_push] DEBUG no remote changes detected 06:40:11 2022-12-14 06:40:11,552 [execute] INFO git push origin semver 06:40:11 2022-12-14 06:40:11,552 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:40:12 2022-12-14 06:40:12,323 [run_push] DEBUG push all version tags 06:40:12 2022-12-14 06:40:12,323 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:40:12 2022-12-14 06:40:12,324 [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) 06:40:13 2022-12-14 06:40:13,200 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:40:13 3.0.0-dev.5 [Pipeline] } 06:40:13 $ docker exec --env ******** --env ******** feee8ab863e14a5901b8e1b5cc3acb9d7dfbc87088ee46c24857ed283119a0b6 ssh-agent -k 06:40:13 unset SSH_AUTH_SOCK; 06:40:13 unset SSH_AGENT_PID; 06:40:13 echo Agent pid 38 killed; 06:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:40:13 + git semver [Pipeline] } 06:40:14 $ docker stop --time=1 feee8ab863e14a5901b8e1b5cc3acb9d7dfbc87088ee46c24857ed283119a0b6 06:40:15 $ docker rm -f feee8ab863e14a5901b8e1b5cc3acb9d7dfbc87088ee46c24857ed283119a0b6 [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 06:40:16 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:40:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:40:16 total 16 06:40:16 drwxr-xr-x 3 root root 4096 Dec 14 06:30 . 06:40:16 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 06:40 .. 06:40:16 drwxr-xr-x 2 root root 4096 Dec 14 06:30 cost 06:40:16 -rw-r--r-- 1 root root 85 Dec 14 06:30 cost.csv 06:40:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:40:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:40:16 total 16 06:40:16 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 06:30 . 06:40:16 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 06:40 .. 06:40:16 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 06:30 cost 06:40:16 -rw-r--r-- 1 jenkins jenkins 85 Dec 14 06:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:40:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:40:17 ---> package-listing.sh 06:40:17 ++ facter osfamily 06:40:17 ++ tr '[:upper:]' '[:lower:]' 06:40:17 + OS_FAMILY=debian 06:40:17 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:40:17 + START_PACKAGES=/tmp/packages_start.txt 06:40:17 + END_PACKAGES=/tmp/packages_end.txt 06:40:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:40:17 + PACKAGES=/tmp/packages_start.txt 06:40:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:40:17 + PACKAGES=/tmp/packages_end.txt 06:40:17 + case "${OS_FAMILY}" in 06:40:17 + dpkg -l 06:40:17 + grep '^ii' 06:40:17 + '[' -f /tmp/packages_start.txt ']' 06:40:17 + '[' -f /tmp/packages_end.txt ']' 06:40:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:40:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:40:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:40:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:40:17 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 06:40:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:40:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:40:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:40:18 prd-ubuntu20.04-docker-8c-8g-121184 does not seem to be running inside a container 06:40:18 $ 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 06:40:18 $ docker top 67146f4c7965a2248bcad0d0b6748a5ba26d31c9057818cce2426aac39526727 -eo pid,comm [Pipeline] { [Pipeline] sh 06:40:18 + touch /tmp/pre-build-complete [Pipeline] sh 06:40:19 + mkdir -p /var/log/sysstat [Pipeline] sh 06:40:19 + ls /var/log/sa-host 06:40:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:40:19 provisioning config files... 06:40:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15272390290193924008tmp [Pipeline] { [Pipeline] echo 06:40:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:40:20 ---> create-netrc.sh [Pipeline] } 06:40:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:40:20 ---> python-tools-install.sh [Pipeline] echo 06:40:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:40:20 ---> sudo-logs.sh 06:40:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:40:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:40:20 ---> job-cost.sh 06:40:20 lf-activate-venv: SKIPPING 06:40:20 DEBUG: total: 0.2199999988079071 06:40:20 INFO: Retrieving Stack Cost... 06:40:21 INFO: Retrieving Pricing Info for: v3-standard-8 06:40:21 INFO: Archiving Costs [Pipeline] echo 06:40:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:40:22 ---> logs-deploy.sh 06:40:22 lf-activate-venv: SKIPPING 06:40:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/134 06:40:22 INFO: archiving workspace using pattern(s): 06:40:23 Archives upload complete. 06:40:23 INFO: archiving logs to Nexus