Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 844470d981b00f1723aa71b22ce5646b0926e81e 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-ssh8035165255517591743.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-ssh8914570001298700889.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-ssh791984742118669033.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-ssh2906434589235853841.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-ssh14310965449402509264.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-7894 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 844470d981b00f1723aa71b22ce5646b0926e81e (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 844470d981b00f1723aa71b22ce5646b0926e81e # timeout=10 Commit message: "Merge pull request #1353 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.36" > git rev-list --no-walk 6c52867c974148776ead9b5ce3090ce3cf294dda # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:18:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:18:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:18:15 ========================================================= 05:18:15 EdgeX Global Pipelines Version Info 05:18:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:18:16 ------------------- 05:18:16 stable info: 05:18:16 ------------------- 05:18:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:18:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:18:16 Message: update stable to v1.0.244 05:18:16 ------------------- 05:18:16 experimental info: 05:18:16 ------------------- 05:18:16 Commited By: **** collab-it+edgex@linuxfoundation.org 05:18:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:18:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 844470d [Pipeline] echo 05:18:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:17 provisioning config files... 05:18:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2727981171341375098tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:17 ---> docker-login.sh 05:18:17 nexus3.edgexfoundry.org:10001 05:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:18 Configure a credential helper to remove this warning. See 05:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:18 05:18:18 Login Succeeded 05:18:18 nexus3.edgexfoundry.org:10002 05:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:18 Configure a credential helper to remove this warning. See 05:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:18 05:18:18 Login Succeeded 05:18:18 nexus3.edgexfoundry.org:10003 05:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:18 Configure a credential helper to remove this warning. See 05:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:18 05:18:18 Login Succeeded 05:18:18 nexus3.edgexfoundry.org:10004 05:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:18 Configure a credential helper to remove this warning. See 05:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:18 05:18:18 Login Succeeded 05:18:18 docker.io 05:18:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:18 Configure a credential helper to remove this warning. See 05:18:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:18 05:18:18 Login Succeeded 05:18:18 ---> docker-login.sh ends [Pipeline] } 05:18:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:18:19 + git rev-list -1 --merges 844470d981b00f1723aa71b22ce5646b0926e81e~1..844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] echo 05:18:19 -----------> git rev-list -1 --merges 844470d981b00f1723aa71b22ce5646b0926e81e~1..844470d981b00f1723aa71b22ce5646b0926e81e 844470d981b00f1723aa71b22ce5646b0926e81e 05:18:19 844470d981b00f1723aa71b22ce5646b0926e81e [false] [Pipeline] sh 05:18:19 + git log --format=format:%s -1 844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] echo 05:18:19 ========================================================= 05:18:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:18:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:20 + git log --format=format:%s -1 844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] echo 05:18:20 [semverPrep] GIT_COMMIT: 844470d981b00f1723aa71b22ce5646b0926e81e, Commit Message: Merge pull request #1353 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.36 [Pipeline] echo 05:18:20 [semverPrep] This is not a build commit. [Pipeline] sh 05:18:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:18:20 + grep -v github /etc/ssh/ssh_known_hosts 05:18:20 + [ -e /tmp/ssh_known_hosts ] 05:18:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:18:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:18:20 + sudo tee -a /etc/ssh/ssh_known_hosts 05:18:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:20 05:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:21 0.1.4: Pulling from edgex-devops/py-git-semver 05:18:21 b85a868b505f: Pulling fs layer 05:18:21 e2be974225ed: Pulling fs layer 05:18:21 339a4e72a1f5: Pulling fs layer 05:18:21 988bab9f4d93: Pulling fs layer 05:18:21 1469e6f7b9e6: Pulling fs layer 05:18:21 eaf3925da568: Pulling fs layer 05:18:21 bab4dde63d76: Pulling fs layer 05:18:21 bde34c3a00c8: Pulling fs layer 05:18:21 b352a97aabf1: Pulling fs layer 05:18:21 4872d77fe225: Pulling fs layer 05:18:21 5851b861e8e6: Pulling fs layer 05:18:21 bab4dde63d76: Waiting 05:18:21 b352a97aabf1: Waiting 05:18:21 4872d77fe225: Waiting 05:18:21 bde34c3a00c8: Waiting 05:18:21 1469e6f7b9e6: Waiting 05:18:21 eaf3925da568: Waiting 05:18:21 988bab9f4d93: Waiting 05:18:21 e2be974225ed: Verifying Checksum 05:18:21 e2be974225ed: Download complete 05:18:21 988bab9f4d93: Verifying Checksum 05:18:21 988bab9f4d93: Download complete 05:18:21 1469e6f7b9e6: Verifying Checksum 05:18:21 1469e6f7b9e6: Download complete 05:18:21 eaf3925da568: Verifying Checksum 05:18:21 339a4e72a1f5: Verifying Checksum 05:18:21 eaf3925da568: Download complete 05:18:21 339a4e72a1f5: Download complete 05:18:21 bde34c3a00c8: Download complete 05:18:21 b352a97aabf1: Verifying Checksum 05:18:21 b352a97aabf1: Download complete 05:18:21 4872d77fe225: Verifying Checksum 05:18:21 4872d77fe225: Download complete 05:18:21 5851b861e8e6: Verifying Checksum 05:18:21 5851b861e8e6: Download complete 05:18:21 b85a868b505f: Verifying Checksum 05:18:21 b85a868b505f: Download complete 05:18:21 bab4dde63d76: Verifying Checksum 05:18:21 bab4dde63d76: Download complete 05:18:22 b85a868b505f: Pull complete 05:18:22 e2be974225ed: Pull complete 05:18:23 339a4e72a1f5: Pull complete 05:18:23 988bab9f4d93: Pull complete 05:18:23 1469e6f7b9e6: Pull complete 05:18:23 eaf3925da568: Pull complete 05:18:25 bab4dde63d76: Pull complete 05:18:25 bde34c3a00c8: Pull complete 05:18:25 b352a97aabf1: Pull complete 05:18:25 4872d77fe225: Pull complete 05:18:25 5851b861e8e6: Pull complete 05:18:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:18:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:18:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:18:25 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:18:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:18:27 $ docker top 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 -eo pid,comm 05:18:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:18:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:28 [ssh-agent] Looking for ssh-agent implementation... 05:18:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:28 $ docker exec 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 ssh-agent 05:18:28 SSH_AUTH_SOCK=/tmp/ssh-OHQiO8zOIdFf/agent.32 05:18:28 SSH_AGENT_PID=38 05:18:28 Running ssh-add (command line suppressed) 05:18:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12484263267888970930.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12484263267888970930.key) 05:18:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:28 + git tag --points-at HEAD [Pipeline] } 05:18:28 $ docker exec --env ******** --env ******** 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 ssh-agent -k 05:18:28 unset SSH_AUTH_SOCK; 05:18:28 unset SSH_AGENT_PID; 05:18:28 echo Agent pid 38 killed; 05:18:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:18:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:28 [ssh-agent] Looking for ssh-agent implementation... 05:18:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:28 $ docker exec 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 ssh-agent 05:18:29 SSH_AUTH_SOCK=/tmp/ssh-c121j2OYcxqX/agent.71 05:18:29 SSH_AGENT_PID=77 05:18:29 Running ssh-add (command line suppressed) 05:18:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15573479366545519582.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15573479366545519582.key) 05:18:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:29 + git semver init 05:18:29 2023-03-01 05:18:29,595 [run_init] DEBUG init version:0.0.0 force:False 05:18:29 2023-03-01 05:18:29,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:18:29 2023-03-01 05:18:29,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:18:29 2023-03-01 05:18:29,598 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:18:30 2023-03-01 05:18:30,534 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:18:30 2023-03-01 05:18:30,535 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:18:30 2023-03-01 05:18:30,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:30 2023-03-01 05:18:30,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:18:30 3.0.0-dev.42 [Pipeline] } 05:18:30 $ docker exec --env ******** --env ******** 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 ssh-agent -k 05:18:30 unset SSH_AUTH_SOCK; 05:18:30 unset SSH_AGENT_PID; 05:18:30 echo Agent pid 77 killed; 05:18:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:31 + git semver [Pipeline] } 05:18:31 $ docker stop --time=1 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 05:18:32 $ docker rm -f --volumes 6a45bd717a7da4c44d72b06a6f01582bf2fdfe2d11cc9636e8ea14069e37d103 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:18:33 Stashed 1 file(s) [Pipeline] echo 05:18:33 [edgeXSemver]: initialized semver on version 3.0.0-dev.42 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:18:33 provisioning config files... 05:18:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17042354966072159837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7901 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:18:33 Running in /w/workspace/device-sdk-go/172 [Pipeline] { [Pipeline] checkout 05:18:33 The recommended git tool is: git 05:18:33 ---> docker-login.sh 05:18:33 nexus3.edgexfoundry.org:10001 05:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:33 Configure a credential helper to remove this warning. See 05:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:33 05:18:33 Login Succeeded 05:18:33 nexus3.edgexfoundry.org:10002 05:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:33 Configure a credential helper to remove this warning. See 05:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:33 05:18:33 Login Succeeded 05:18:33 nexus3.edgexfoundry.org:10003 05:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:33 Configure a credential helper to remove this warning. See 05:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:33 05:18:33 Login Succeeded 05:18:33 nexus3.edgexfoundry.org:10004 05:18:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:33 Configure a credential helper to remove this warning. See 05:18:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:33 05:18:33 Login Succeeded 05:18:33 docker.io 05:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:34 Configure a credential helper to remove this warning. See 05:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:34 05:18:34 Login Succeeded 05:18:34 ---> docker-login.sh ends [Pipeline] } 05:18:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:18:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:18:34 ========================================================= 05:18:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:18:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:18:34 + 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 . 05:18:34 Sending build context to Docker daemon 10.6MB 05:18:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:18:34 Step 2/10 : FROM ${BASE} AS builder 05:18:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:18:34 213ec9aee27d: Pulling fs layer 05:18:34 4583459ba037: Pulling fs layer 05:18:34 93c1e223e6f2: Pulling fs layer 05:18:34 53926ce57604: Pulling fs layer 05:18:34 21b2b0c7a3f4: Pulling fs layer 05:18:34 22ff95d597cd: Pulling fs layer 05:18:34 53926ce57604: Waiting 05:18:34 12d6caf4c0d1: Pulling fs layer 05:18:34 22ff95d597cd: Waiting 05:18:34 96b7cbca73a9: Pulling fs layer 05:18:34 a7acece74701: Pulling fs layer 05:18:34 12d6caf4c0d1: Waiting 05:18:34 96b7cbca73a9: Waiting 05:18:34 93c1e223e6f2: Download complete 05:18:34 4583459ba037: Verifying Checksum 05:18:34 4583459ba037: Download complete 05:18:34 21b2b0c7a3f4: Download complete 05:18:34 22ff95d597cd: Verifying Checksum 05:18:34 22ff95d597cd: Download complete 05:18:34 213ec9aee27d: Verifying Checksum 05:18:34 213ec9aee27d: Download complete 05:18:34 12d6caf4c0d1: Verifying Checksum 05:18:34 12d6caf4c0d1: Download complete 05:18:35 213ec9aee27d: Pull complete 05:18:35 4583459ba037: Pull complete 05:18:35 93c1e223e6f2: Pull complete 05:18:35 a7acece74701: Verifying Checksum 05:18:35 a7acece74701: Download complete 05:18:35 53926ce57604: Download complete 05:18:35 96b7cbca73a9: Verifying Checksum 05:18:35 96b7cbca73a9: Download complete 05:18:38 using credential edgex-jenkins-ssh 05:18:38 Cloning the remote Git repository 05:18:38 53926ce57604: Pull complete 05:18:38 21b2b0c7a3f4: Pull complete 05:18:38 22ff95d597cd: Pull complete 05:18:39 12d6caf4c0d1: Pull complete 05:18:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:18:38 > git init /w/workspace/device-sdk-go/172 # timeout=10 05:18:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:18:38 > git --version # timeout=10 05:18:38 > git --version # 'git version 2.25.1' 05:18:38 using GIT_SSH to set credentials SSH Credentials for GitHub 05:18:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:41 96b7cbca73a9: Pull complete 05:18:41 a7acece74701: Pull complete 05:18:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:18:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:18:41 ---> db6d94c90886 05:18:41 Step 3/10 : ARG MAKE=make build 05:18:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:18:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:18:42 Avoid second fetch 05:18:42 Checking out Revision 844470d981b00f1723aa71b22ce5646b0926e81e (main) 05:18:43 Commit message: "Merge pull request #1353 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.36" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:18:42 > git config core.sparsecheckout # timeout=10 05:18:42 > git checkout -f 844470d981b00f1723aa71b22ce5646b0926e81e # timeout=10 05:18:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:18:44 % Total % Received % Xferd Average Speed Time Time Time Current 05:18:44 Dload Upload Total Spent Left Speed 05:18:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 05:18:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:18:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:18:44 + sudo tee /etc/docker/daemon.new 05:18:44 { 05:18:44 "registry-mirrors": [ 05:18:44 "https://nexus3.edgexfoundry.org:10001" 05:18:44 ], 05:18:44 "bip": "10.250.0.254/24", 05:18:44 "hosts": [ 05:18:44 "tcp://0.0.0.0:5555", 05:18:44 "unix:///var/run/docker.sock" 05:18:44 ], 05:18:44 "mtu": 1458, 05:18:44 "selinux-enabled": true, 05:18:44 "seccomp-profile": "/etc/docker/seccomp.json" 05:18:44 } [Pipeline] sh 05:18:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:18:45 + sudo service docker restart 05:18:45 ---> Running in a3647ee41ccd 05:18:45 Removing intermediate container a3647ee41ccd 05:18:45 ---> 3aa80171eba8 05:18:45 Step 4/10 : WORKDIR /device-sdk-go 05:18:46 ---> Running in 3e9aa0253e39 05:18:46 Removing intermediate container 3e9aa0253e39 05:18:46 ---> 4332f03dc4ca 05:18:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:18:46 ---> Running in 4111f7576518 05:18:46 Removing intermediate container 4111f7576518 05:18:46 ---> 8732aea0c615 05:18:46 Step 6/10 : RUN apk add --update --no-cache make git 05:18:46 ---> Running in 9fb3eb33a16b 05:18:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:18:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:18:46 OK: 211 MiB in 51 packages 05:18:47 Removing intermediate container 9fb3eb33a16b 05:18:47 ---> dff7075e7e4b 05:18:47 Step 7/10 : COPY go.mod vendor* ./ 05:18:47 ---> 3079f6ddf18d 05:18:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:18:47 ---> Running in 297cb220c9bf [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:03 provisioning config files... 05:19:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/172@tmp/config6680796720452313561tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:04 ---> docker-login.sh 05:19:04 nexus3.edgexfoundry.org:10001 05:19:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:04 Configure a credential helper to remove this warning. See 05:19:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:04 05:19:04 Login Succeeded 05:19:04 nexus3.edgexfoundry.org:10002 05:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:05 Configure a credential helper to remove this warning. See 05:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:05 05:19:05 Login Succeeded 05:19:05 nexus3.edgexfoundry.org:10003 05:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:05 Configure a credential helper to remove this warning. See 05:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:05 05:19:05 Login Succeeded 05:19:05 nexus3.edgexfoundry.org:10004 05:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:05 Configure a credential helper to remove this warning. See 05:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:05 05:19:05 Login Succeeded 05:19:05 docker.io 05:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:06 Configure a credential helper to remove this warning. See 05:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:06 05:19:06 Login Succeeded 05:19:06 ---> docker-login.sh ends [Pipeline] } 05:19:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:19:06 ========================================================= 05:19:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:19:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:07 + 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 . 05:19:07 Sending build context to Docker daemon 5.694MB 05:19:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:19:07 Step 2/10 : FROM ${BASE} AS builder 05:19:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:19:09 9b18e9b68314: Pulling fs layer 05:19:09 35d82f9e3411: Pulling fs layer 05:19:09 e16973657156: Pulling fs layer 05:19:09 fc693d55d65f: Pulling fs layer 05:19:09 7e9fc2657dce: Pulling fs layer 05:19:09 dda99020689f: Pulling fs layer 05:19:09 db1c61fa0a46: Pulling fs layer 05:19:09 891c053d2c06: Pulling fs layer 05:19:09 fc693d55d65f: Waiting 05:19:09 7e9fc2657dce: Waiting 05:19:09 dda99020689f: Waiting 05:19:09 db1c61fa0a46: Waiting 05:19:09 891c053d2c06: Waiting 05:19:09 e16973657156: Download complete 05:19:09 35d82f9e3411: Download complete 05:19:09 7e9fc2657dce: Verifying Checksum 05:19:09 7e9fc2657dce: Download complete 05:19:09 dda99020689f: Verifying Checksum 05:19:09 dda99020689f: Download complete 05:19:09 9b18e9b68314: Verifying Checksum 05:19:09 9b18e9b68314: Download complete 05:19:10 9b18e9b68314: Pull complete 05:19:10 891c053d2c06: Verifying Checksum 05:19:10 891c053d2c06: Download complete 05:19:10 35d82f9e3411: Pull complete 05:19:10 e16973657156: Pull complete 05:19:11 db1c61fa0a46: Verifying Checksum 05:19:11 db1c61fa0a46: Download complete 05:19:12 fc693d55d65f: Verifying Checksum 05:19:12 fc693d55d65f: Download complete 05:19:13 Removing intermediate container 297cb220c9bf 05:19:13 ---> b88cbe4a13ab 05:19:13 Step 9/10 : COPY . . 05:19:13 ---> 927ebf329430 05:19:13 Step 10/10 : RUN ${MAKE} 05:19:13 ---> Running in 114bb0e839d0 05:19:13 noop 05:19:13 Removing intermediate container 114bb0e839d0 05:19:13 ---> 401874d80522 05:19:13 Successfully built 401874d80522 05:19:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:13 + docker inspect -f . ci-base-image-x86_64 05:19:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:13 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:19:14 $ docker top 9d102c730b461b4ecaca8df9a02484847fb1ab417662ac7a7863440a36d58309 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:14 + go version 05:19:14 go version go1.18.7 linux/amd64 [Pipeline] } 05:19:14 $ docker stop --time=1 9d102c730b461b4ecaca8df9a02484847fb1ab417662ac7a7863440a36d58309 05:19:15 $ docker rm -f --volumes 9d102c730b461b4ecaca8df9a02484847fb1ab417662ac7a7863440a36d58309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:16 + docker inspect -f . ci-base-image-x86_64 05:19:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:16 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:19:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:19:16 $ docker top 8feb06e47aadf13353375b446e49de0231c00686a9864ce0f3fd079efff91020 -eo pid,comm [Pipeline] { [Pipeline] sh 05:19:17 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:19:17 + make test 05:19:17 go test -race -coverprofile=coverage.out ./... 05:19:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:19:24 fc693d55d65f: Pull complete 05:19:24 7e9fc2657dce: Pull complete 05:19:24 dda99020689f: Pull complete 05:19:31 db1c61fa0a46: Pull complete 05:19:34 891c053d2c06: Pull complete 05:19:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:19:34 ---> f96f9c87975a 05:19:34 Step 3/10 : ARG MAKE=make build 05:19:34 ---> Running in beb5f05287e6 05:19:35 Removing intermediate container beb5f05287e6 05:19:35 ---> cef134bfb01e 05:19:35 Step 4/10 : WORKDIR /device-sdk-go 05:19:35 ---> Running in 4acbb950304e 05:19:35 Removing intermediate container 4acbb950304e 05:19:35 ---> e7ee0837d572 05:19:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:19:35 ---> Running in 5963fc2dc5c0 05:19:35 Removing intermediate container 5963fc2dc5c0 05:19:35 ---> cdfb9aa569b3 05:19:35 Step 6/10 : RUN apk add --update --no-cache make git 05:19:35 ---> Running in 780f22637f2b 05:19:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:19:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:19:38 OK: 221 MiB in 51 packages 05:19:38 Removing intermediate container 780f22637f2b 05:19:38 ---> 033204ea9e87 05:19:38 Step 7/10 : COPY go.mod vendor* ./ 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:19:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements 05:19:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 78.9% of statements 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:19:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:19:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 75.0% of statements 05:19:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:19:39 ---> 92e37dcf8db9 05:19:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:39 ---> Running in 8191982cbcd4 05:19:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.071s coverage: 15.3% of statements 05:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:19:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.2% of statements 05:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:19:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.763s coverage: 89.2% of statements 05:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:19:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements 05:19:39 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:19:54 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." 05:19:54 GO111MODULE=on go vet ./... 05:19:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:58 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:58 $ docker stop --time=1 8feb06e47aadf13353375b446e49de0231c00686a9864ce0f3fd079efff91020 05:20:01 $ docker rm -f --volumes 8feb06e47aadf13353375b446e49de0231c00686a9864ce0f3fd079efff91020 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:20:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:20:03 + ls -al . 05:20:03 total 280 05:20:03 drwxrwxr-x 11 jenkins jenkins 4096 Mar 1 05:19 . 05:20:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:18 .. 05:20:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:18 .dockerignore 05:20:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:19 .git 05:20:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:18 .github 05:20:03 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:18 .gitignore 05:20:03 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:18 .golangci.yml 05:20:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:18 .semver 05:20:03 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:18 CHANGELOG.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:18 GOVERNANCE.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:18 Jenkinsfile 05:20:03 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:18 LICENSE 05:20:03 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:18 Makefile 05:20:03 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:18 OWNERS.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:18 README.md 05:20:03 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 05:18 VERSION 05:20:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:18 bin 05:20:03 -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:19 coverage.out 05:20:03 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:18 example 05:20:03 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:18 go.mod 05:20:03 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:18 go.sum 05:20:03 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:18 internal 05:20:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:18 openapi 05:20:03 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:18 pkg 05:20:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:18 snap 05:20:03 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:03 + 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=844470d981b00f1723aa71b22ce5646b0926e81e --label arch=amd64 --label version=3.0.0-dev.42 . 05:20:03 Sending build context to Docker daemon 10.71MB 05:20:03 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:20:03 Step 2/23 : FROM ${BASE} AS builder 05:20:03 ---> 401874d80522 05:20:03 Step 3/23 : ARG MAKE=make build 05:20:03 ---> Running in bf4995eccad5 05:20:03 Removing intermediate container bf4995eccad5 05:20:03 ---> b93cb06b425c 05:20:03 Step 4/23 : WORKDIR /device-sdk-go 05:20:03 ---> Running in dd48340a4737 05:20:03 Removing intermediate container dd48340a4737 05:20:03 ---> 9bd73fc86407 05:20:03 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:20:03 ---> Running in 5e7cc99fb65d 05:20:03 Removing intermediate container 5e7cc99fb65d 05:20:03 ---> 51ad797b19c0 05:20:03 Step 6/23 : RUN apk add --update --no-cache make git 05:20:03 ---> Running in c06a14225b95 05:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:04 OK: 211 MiB in 51 packages 05:20:04 Removing intermediate container c06a14225b95 05:20:04 ---> e4a5554ecd98 05:20:04 Step 7/23 : COPY go.mod vendor* ./ 05:20:04 ---> 422da4fee61d 05:20:04 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:04 ---> Running in 0a1f03fa3ea5 05:20:05 Removing intermediate container 0a1f03fa3ea5 05:20:05 ---> aa48530f8734 05:20:05 Step 9/23 : COPY . . 05:20:06 ---> 70042203d669 05:20:06 Step 10/23 : RUN ${MAKE} 05:20:06 ---> Running in e2d07e3d7b26 05:20:06 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.42" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:20:28 Removing intermediate container e2d07e3d7b26 05:20:28 ---> c40c9f3e6f83 05:20:28 Step 11/23 : FROM alpine:3.16 05:20:28 3.16: Pulling from library/alpine 05:20:28 ef5531b6e74e: Pulling fs layer 05:20:28 ef5531b6e74e: Verifying Checksum 05:20:28 ef5531b6e74e: Download complete 05:20:28 ef5531b6e74e: Pull complete 05:20:28 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:20:28 Status: Downloaded newer image for alpine:3.16 05:20:28 ---> dfd21b5a31f5 05:20:28 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:20:28 ---> Running in fd8fd6f7ce8e 05:20:28 Removing intermediate container fd8fd6f7ce8e 05:20:28 ---> c18718edfd2b 05:20:28 Step 13/23 : RUN apk add --update --no-cache 05:20:28 ---> Running in 7a50156abd0e 05:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:28 OK: 6 MiB in 14 packages 05:20:28 Removing intermediate container 7a50156abd0e 05:20:28 ---> b91b272bbd87 05:20:28 Step 14/23 : WORKDIR / 05:20:28 ---> Running in ecea58cbe988 05:20:28 Removing intermediate container ecea58cbe988 05:20:28 ---> ad3119ef2440 05:20:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:20:28 ---> 91969f2c10cc 05:20:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:20:29 ---> 7565a8c2ceff 05:20:29 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:20:30 ---> 8e298ebcca1e 05:20:30 Step 18/23 : EXPOSE 59999 05:20:30 ---> Running in 9dab1206a1ca 05:20:30 Removing intermediate container 9dab1206a1ca 05:20:30 ---> 91dc3dade429 05:20:30 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:20:30 ---> Running in d0b080524834 05:20:30 Removing intermediate container d0b080524834 05:20:30 ---> 305f596538c9 05:20:30 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:20:30 ---> Running in 91204eb2af54 05:20:30 Removing intermediate container 91204eb2af54 05:20:30 ---> 9d597fafa3c0 05:20:30 Step 21/23 : LABEL arch=amd64 05:20:30 ---> Running in d35ab9a12010 05:20:30 Removing intermediate container d35ab9a12010 05:20:30 ---> 3ae31fcdf055 05:20:30 Step 22/23 : LABEL git_sha=844470d981b00f1723aa71b22ce5646b0926e81e 05:20:30 ---> Running in e7216c0815b5 05:20:30 Removing intermediate container e7216c0815b5 05:20:30 ---> 2b81b1d6a39a 05:20:30 Step 23/23 : LABEL version=3.0.0-dev.42 05:20:30 ---> Running in b66311512f41 05:20:30 Removing intermediate container b66311512f41 05:20:30 ---> 03c79ed4e491 05:20:30 [Warning] One or more build-args [ARCH] were not consumed 05:20:30 Successfully built 03c79ed4e491 05:20:30 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:30 05:20:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:31 latest: Pulling from edgex-lftools-log-publisher 05:20:31 5eb5b503b376: Pulling fs layer 05:20:31 5c69ac0246d0: Pulling fs layer 05:20:31 ec43610c2a17: Pulling fs layer 05:20:31 3a2ae6a8a46f: Pulling fs layer 05:20:31 33b1e0a273af: Pulling fs layer 05:20:31 5d3b04190fa2: Pulling fs layer 05:20:31 2f39f015ded8: Pulling fs layer 05:20:31 33b1e0a273af: Waiting 05:20:31 5d3b04190fa2: Waiting 05:20:31 2f39f015ded8: Waiting 05:20:31 3a2ae6a8a46f: Waiting 05:20:31 5c69ac0246d0: Download complete 05:20:31 3a2ae6a8a46f: Download complete 05:20:31 33b1e0a273af: Verifying Checksum 05:20:31 33b1e0a273af: Download complete 05:20:31 5d3b04190fa2: Verifying Checksum 05:20:31 5d3b04190fa2: Download complete 05:20:31 ec43610c2a17: Verifying Checksum 05:20:31 ec43610c2a17: Download complete 05:20:31 5eb5b503b376: Download complete 05:20:32 2f39f015ded8: Verifying Checksum 05:20:32 2f39f015ded8: Download complete 05:20:32 5eb5b503b376: Pull complete 05:20:32 5c69ac0246d0: Pull complete 05:20:33 ec43610c2a17: Pull complete 05:20:33 3a2ae6a8a46f: Pull complete 05:20:33 33b1e0a273af: Pull complete 05:20:33 5d3b04190fa2: Pull complete 05:20:37 2f39f015ded8: Pull complete 05:20:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:20:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:37 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:20:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:20:44 $ docker top 0598c7588f5001b55babb46176bb9bd22c7405286676ad7d5804985841058ae1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:45 ---> job-cost.sh 05:20:45 lf-activate-venv: SKIPPING 05:20:45 INFO: No Stack... 05:20:45 INFO: Retrieving Pricing Info for: v3-standard-8 05:20:45 INFO: Archiving Costs [Pipeline] sh 05:20:46 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:20:46 + cut -d, -f6 [Pipeline] lock 05:20:46 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] 05:20:46 Resource [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] did not exist. Created. 05:20:46 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:20:46 + echo total: 0.2199999988079071 [Pipeline] stash 05:20:46 Stashed 1 file(s) [Pipeline] } 05:20:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 05:20:46 $ docker stop --time=1 0598c7588f5001b55babb46176bb9bd22c7405286676ad7d5804985841058ae1 05:20:47 Removing intermediate container 8191982cbcd4 05:20:47 ---> 934e8bcf90b4 05:20:47 Step 9/10 : COPY . . 05:20:47 ---> e24c9059cad0 05:20:47 Step 10/10 : RUN ${MAKE} 05:20:47 ---> Running in 0d8b16130c20 05:20:47 noop 05:20:47 Removing intermediate container 0d8b16130c20 05:20:47 ---> fa72d950427f 05:20:47 Successfully built fa72d950427f 05:20:47 Successfully tagged ci-base-image-arm64:latest 05:20:47 $ docker rm -f --volumes 0598c7588f5001b55babb46176bb9bd22c7405286676ad7d5804985841058ae1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:20:48 + docker inspect -f . ci-base-image-arm64 05:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:48 prd-ubuntu20.04-docker-arm64-4c-16g-7901 does not seem to be running inside a container 05:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/172 -v /w/workspace/device-sdk-go/172:/w/workspace/device-sdk-go/172:rw,z -v /w/workspace/device-sdk-go/172@tmp:/w/workspace/device-sdk-go/172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:20:49 $ docker top 6bf57909cc894835b4a95114c8e484b069d1eede7aa3acc0e19e2c9f7c25b58c -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:50 + go version 05:20:50 go version go1.18.7 linux/arm64 [Pipeline] } 05:20:50 $ docker stop --time=1 6bf57909cc894835b4a95114c8e484b069d1eede7aa3acc0e19e2c9f7c25b58c 05:20:52 $ docker rm -f --volumes 6bf57909cc894835b4a95114c8e484b069d1eede7aa3acc0e19e2c9f7c25b58c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:53 + docker inspect -f . ci-base-image-arm64 05:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:53 prd-ubuntu20.04-docker-arm64-4c-16g-7901 does not seem to be running inside a container 05:20:53 $ 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/172 -v /w/workspace/device-sdk-go/172:/w/workspace/device-sdk-go/172:rw,z -v /w/workspace/device-sdk-go/172@tmp:/w/workspace/device-sdk-go/172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:20:54 $ docker top bb0f2f9eeae63c372a8eaf67c9bb122d33a3d4d184869178f0f425dbb7f86ad7 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:55 + git config --global --add safe.directory /w/workspace/device-sdk-go/172 [Pipeline] fileExists [Pipeline] sh 05:20:55 + make test 05:20:55 go test -race -coverprofile=coverage.out ./... 05:21:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:23:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.371s coverage: 27.6% of statements 05:23:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.311s coverage: 78.9% of statements 05:23:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:23:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.332s coverage: 86.0% of statements 05:23:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:23:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:23:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.530s coverage: 75.0% of statements 05:23:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:23:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.331s coverage: 15.3% of statements 05:23:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:23:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.537s coverage: 65.2% of statements 05:23:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:23:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:23:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 2.867s coverage: 89.2% of statements 05:23:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:23:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.254s coverage: 4.6% of statements 05:23:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:23:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:23:28 GO111MODULE=on go vet ./... 05:24:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:24:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:24:49 ./bin/test-attribution-txt.sh [Pipeline] echo 05:24:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:24:49 $ docker stop --time=1 bb0f2f9eeae63c372a8eaf67c9bb122d33a3d4d184869178f0f425dbb7f86ad7 05:24:51 $ docker rm -f --volumes bb0f2f9eeae63c372a8eaf67c9bb122d33a3d4d184869178f0f425dbb7f86ad7 [Pipeline] // withDockerContainer [Pipeline] sh 05:24:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:24:52 Warning: overwriting stash ‘coverage-report’ 05:24:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:54 + ls -al . 05:24:54 total 276 05:24:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 1 05:20 . 05:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:18 .. 05:24:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 1 05:18 .dockerignore 05:24:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 1 05:18 .git 05:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:18 .github 05:24:54 -rw-rw-r-- 1 jenkins jenkins 131 Mar 1 05:18 .gitignore 05:24:54 -rw-rw-r-- 1 jenkins jenkins 42 Mar 1 05:18 .golangci.yml 05:24:54 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 1 05:18 CHANGELOG.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 1 05:18 GOVERNANCE.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 885 Mar 1 05:18 Jenkinsfile 05:24:54 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 1 05:18 LICENSE 05:24:54 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 1 05:18 Makefile 05:24:54 -rw-rw-r-- 1 jenkins jenkins 619 Mar 1 05:18 OWNERS.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 1 05:18 README.md 05:24:54 -rw-rw-r-- 1 jenkins jenkins 12 Mar 1 05:18 VERSION 05:24:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 1 05:18 bin 05:24:54 -rw-r--r-- 1 jenkins jenkins 111243 Mar 1 05:23 coverage.out 05:24:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 1 05:18 example 05:24:54 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 1 05:18 go.mod 05:24:54 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 1 05:18 go.sum 05:24:54 drwxrwxr-x 13 jenkins jenkins 4096 Mar 1 05:18 internal 05:24:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 1 05:18 openapi 05:24:54 drwxrwxr-x 6 jenkins jenkins 4096 Mar 1 05:18 pkg 05:24:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 1 05:18 snap 05:24:54 -rw-rw-r-- 1 jenkins jenkins 222 Mar 1 05:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:24:54 + 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=844470d981b00f1723aa71b22ce5646b0926e81e --label arch=arm64 --label version=3.0.0-dev.42 . 05:24:54 Sending build context to Docker daemon 5.807MB 05:24:54 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:24:54 Step 2/23 : FROM ${BASE} AS builder 05:24:54 ---> fa72d950427f 05:24:54 Step 3/23 : ARG MAKE=make build 05:24:55 ---> Running in 6800f89e84dc 05:24:55 Removing intermediate container 6800f89e84dc 05:24:55 ---> d1232668a1e2 05:24:55 Step 4/23 : WORKDIR /device-sdk-go 05:24:55 ---> Running in 4cdd0f5b3d00 05:24:55 Removing intermediate container 4cdd0f5b3d00 05:24:55 ---> af9dcc42823b 05:24:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:24:55 ---> Running in e0f4ea0ad039 05:24:56 Removing intermediate container e0f4ea0ad039 05:24:56 ---> 342c56d76317 05:24:56 Step 6/23 : RUN apk add --update --no-cache make git 05:24:56 ---> Running in 7b4dfc81d3e7 05:24:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:24:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:24:58 OK: 221 MiB in 51 packages 05:24:59 Removing intermediate container 7b4dfc81d3e7 05:24:59 ---> 63385f2fc412 05:24:59 Step 7/23 : COPY go.mod vendor* ./ 05:24:59 ---> 78a6edce9892 05:24:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:24:59 ---> Running in 4a4407010a56 05:25:02 Removing intermediate container 4a4407010a56 05:25:02 ---> a2a04c63d27f 05:25:02 Step 9/23 : COPY . . 05:25:03 ---> 76a273e6cd83 05:25:03 Step 10/23 : RUN ${MAKE} 05:25:03 ---> Running in 03873e59329c 05:25:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.42" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:27:10 Removing intermediate container 03873e59329c 05:27:10 ---> 36849bc81458 05:27:10 Step 11/23 : FROM alpine:3.16 05:27:10 3.16: Pulling from library/alpine 05:27:10 3760b48202b3: Pulling fs layer 05:27:10 3760b48202b3: Verifying Checksum 05:27:10 3760b48202b3: Download complete 05:27:10 3760b48202b3: Pull complete 05:27:10 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:27:10 Status: Downloaded newer image for alpine:3.16 05:27:10 ---> 4c81e5bf8899 05:27:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:27:10 ---> Running in 2acba5ce8325 05:27:10 Removing intermediate container 2acba5ce8325 05:27:10 ---> 175c52010857 05:27:10 Step 13/23 : RUN apk add --update --no-cache 05:27:10 ---> Running in 5c98ae3cb017 05:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:27:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:27:10 OK: 5 MiB in 14 packages 05:27:10 Removing intermediate container 5c98ae3cb017 05:27:10 ---> b812c0d66d3d 05:27:10 Step 14/23 : WORKDIR / 05:27:10 ---> Running in c80ad652a2e3 05:27:10 Removing intermediate container c80ad652a2e3 05:27:10 ---> c9bc8ad9d642 05:27:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:27:10 ---> 558f09a3b2cc 05:27:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:27:10 ---> f1155cad0cb6 05:27:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:27:10 ---> 8eeb68a6c23c 05:27:10 Step 18/23 : EXPOSE 59999 05:27:10 ---> Running in d2882958d981 05:27:10 Removing intermediate container d2882958d981 05:27:10 ---> 80a36265edfe 05:27:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:27:10 ---> Running in 902844240c31 05:27:10 Removing intermediate container 902844240c31 05:27:10 ---> 638f69294b22 05:27:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:27:10 ---> Running in b9b0bec6d8eb 05:27:10 Removing intermediate container b9b0bec6d8eb 05:27:10 ---> be2f08c26cbe 05:27:10 Step 21/23 : LABEL arch=arm64 05:27:10 ---> Running in 3d22bbde5afd 05:27:10 Removing intermediate container 3d22bbde5afd 05:27:10 ---> 828a4a11192d 05:27:10 Step 22/23 : LABEL git_sha=844470d981b00f1723aa71b22ce5646b0926e81e 05:27:10 ---> Running in 95de994d9059 05:27:10 Removing intermediate container 95de994d9059 05:27:10 ---> 9ab2a8d704ae 05:27:10 Step 23/23 : LABEL version=3.0.0-dev.42 05:27:10 ---> Running in 8879ef86d3ac 05:27:10 Removing intermediate container 8879ef86d3ac 05:27:10 ---> 075f71658007 05:27:10 [Warning] One or more build-args [ARCH] were not consumed 05:27:10 Successfully built 075f71658007 05:27:10 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:11 05:27:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:11 arm64: Pulling from edgex-lftools-log-publisher 05:27:11 8998bd30e6a1: Pulling fs layer 05:27:11 04944245beec: Pulling fs layer 05:27:11 699f458cf7ca: Pulling fs layer 05:27:11 765212b225bb: Pulling fs layer 05:27:11 f23df028b6ca: Pulling fs layer 05:27:11 d65c8cfc05b1: Pulling fs layer 05:27:11 2437ff75d9bd: Pulling fs layer 05:27:11 765212b225bb: Waiting 05:27:11 f23df028b6ca: Waiting 05:27:11 d65c8cfc05b1: Waiting 05:27:11 2437ff75d9bd: Waiting 05:27:12 04944245beec: Verifying Checksum 05:27:12 04944245beec: Download complete 05:27:12 765212b225bb: Verifying Checksum 05:27:12 765212b225bb: Download complete 05:27:12 f23df028b6ca: Verifying Checksum 05:27:12 f23df028b6ca: Download complete 05:27:12 d65c8cfc05b1: Verifying Checksum 05:27:12 d65c8cfc05b1: Download complete 05:27:12 699f458cf7ca: Verifying Checksum 05:27:12 699f458cf7ca: Download complete 05:27:12 8998bd30e6a1: Verifying Checksum 05:27:12 8998bd30e6a1: Download complete 05:27:15 2437ff75d9bd: Verifying Checksum 05:27:15 2437ff75d9bd: Download complete 05:27:16 8998bd30e6a1: Pull complete 05:27:16 04944245beec: Pull complete 05:27:18 699f458cf7ca: Pull complete 05:27:18 765212b225bb: Pull complete 05:27:19 f23df028b6ca: Pull complete 05:27:20 d65c8cfc05b1: Pull complete 05:27:35 2437ff75d9bd: Pull complete 05:27:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:27:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:27:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:35 prd-ubuntu20.04-docker-arm64-4c-16g-7901 does not seem to be running inside a container 05:27:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/172 -v /w/workspace/device-sdk-go/172:/w/workspace/device-sdk-go/172:rw,z -v /w/workspace/device-sdk-go/172@tmp:/w/workspace/device-sdk-go/172@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:arm64 cat 05:27:37 $ docker top d4d3a84db0bdc6058284fb7ac33bd993dc809420dd6a29212af2d7605ee3a4b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:27:38 ---> job-cost.sh 05:27:38 lf-activate-venv: SKIPPING 05:27:38 INFO: No Stack... 05:27:39 INFO: Retrieving Pricing Info for: v3-standard-4 05:27:39 INFO: Archiving Costs [Pipeline] sh 05:27:40 + cat /w/workspace/device-sdk-go/172/archives/cost.csv 05:27:40 + cut -d, -f6 [Pipeline] lock 05:27:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] 05:27:40 Resource [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] did not exist. Created. 05:27:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:27:41 /w/workspace/device-sdk-go/172@tmp/durable-440452a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:27:41 + echo total: 0.10999999940395355 [Pipeline] stash 05:27:41 Warning: overwriting stash ‘stack-cost’ 05:27:41 Stashed 1 file(s) [Pipeline] } 05:27:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-172-stack-cost] [Pipeline] // lock [Pipeline] } 05:27:41 $ docker stop --time=1 d4d3a84db0bdc6058284fb7ac33bd993dc809420dd6a29212af2d7605ee3a4b5 05:27:43 $ docker rm -f --volumes d4d3a84db0bdc6058284fb7ac33bd993dc809420dd6a29212af2d7605ee3a4b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:27:43 provisioning config files... 05:27:43 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1920621927397072411tmp [Pipeline] { [Pipeline] sh 05:27:44 + set +x 05:27:44 + curl -s https://codecov.io/bash+ 05:27:44 bash -s -- 05:27:44 05:27:44 _____ _ 05:27:44 / ____| | | 05:27:44 | | ___ __| | ___ ___ _____ __ 05:27:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:27:44 | |___| (_) | (_| | __/ (_| (_) \ V / 05:27:44 \_____\___/ \__,_|\___|\___\___/ \_/ 05:27:44 Bash-1.0.6 05:27:44 05:27:44 05:27:44 ==> git version 2.25.1 found 05:27:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:27:44 Release-Date: 2020-01-08 05:27:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:27:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:27:44 ==> Jenkins CI detected. 05:27:44 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:27:44 project root: . 05:27:44 --> token set from env 05:27:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:27:44 ==> Running gcov in . (disable via -X gcov) 05:27:44 ==> Python coveragepy not found 05:27:44 ==> Searching for coverage reports in: 05:27:44 + . 05:27:44 -> Found 1 reports 05:27:44 ==> Detecting git/mercurial file structure 05:27:44 ==> Reading reports 05:27:44 + ./coverage.out bytes=111243 05:27:44 ==> Appending adjustments 05:27:44 https://docs.codecov.io/docs/fixing-reports 05:27:44 + Found adjustments 05:27:44 ==> Gzipping contents 05:27:44 16K /tmp/codecov.YdGUUS.gz 05:27:44 ==> Uploading reports 05:27:44 url: https://codecov.io 05:27:44 query: branch=main&commit=844470d981b00f1723aa71b22ce5646b0926e81e&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:44 -> Pinging Codecov 05:27:44 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=844470d981b00f1723aa71b22ce5646b0926e81e&build=172&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F172%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:27:44 -> Uploading to 05:27:44 https://storage.googleapis.com/codecov/v4/raw/2023-03-01/7E55EF52A471D76F132DFD9A03CDDE97/844470d981b00f1723aa71b22ce5646b0926e81e/1ab7889d-f55a-4750-9853-626d2d3091e0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230301%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230301T052744Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0d8d930cf91f73b5d43ecafd753d4e2944cac49a45599d5e8faccbada91606a 05:27:44 % Total % Received % Xferd Average Speed Time Time Time Current 05:27:44 Dload Upload Total Spent Left Speed 05:27:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15407 0 0 100 15407 0 57062 --:--:-- --:--:-- --:--:-- 57062 05:27:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] } 05:27:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:27:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:27:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:45 05:27:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:27:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:27:45 df9b9388f04a: Pulling fs layer 05:27:45 52dc419b0ee2: Pulling fs layer 05:27:45 25bc292e5bac: Pulling fs layer 05:27:45 114826534d7a: Pulling fs layer 05:27:45 4657fd5d0bcf: Pulling fs layer 05:27:45 6ad1cebc031e: Pulling fs layer 05:27:45 8a3aa393b2d8: Pulling fs layer 05:27:45 114826534d7a: Waiting 05:27:45 4657fd5d0bcf: Waiting 05:27:45 6ad1cebc031e: Waiting 05:27:45 8a3aa393b2d8: Waiting 05:27:45 25bc292e5bac: Verifying Checksum 05:27:45 25bc292e5bac: Download complete 05:27:45 52dc419b0ee2: Download complete 05:27:45 4657fd5d0bcf: Download complete 05:27:45 df9b9388f04a: Download complete 05:27:45 6ad1cebc031e: Verifying Checksum 05:27:45 6ad1cebc031e: Download complete 05:27:45 df9b9388f04a: Pull complete 05:27:45 52dc419b0ee2: Pull complete 05:27:46 25bc292e5bac: Pull complete 05:27:46 114826534d7a: Verifying Checksum 05:27:46 114826534d7a: Download complete 05:27:46 8a3aa393b2d8: Verifying Checksum 05:27:46 8a3aa393b2d8: Download complete 05:27:50 114826534d7a: Pull complete 05:27:50 4657fd5d0bcf: Pull complete 05:27:50 6ad1cebc031e: Pull complete 05:27:57 8a3aa393b2d8: Pull complete 05:27:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:27:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:27:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:27:57 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:28:04 $ docker top a02782c5c048a2c4e15f5279b72e03f6741a2c10a2fc169ea324897fee4aaec8 -eo pid,comm [Pipeline] { [Pipeline] echo 05:28:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:28:05 + set -o pipefail 05:28:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:28:10 05:28:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:28:10 05:28:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9bcd8f7d-9f45-4170-b891-7e55dfa7c084 05:28:10 05:28:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:28:10 05:28:10 05:28:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:28:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:28:10 More details here: https://snyk.co/ue1NS [Pipeline] } 05:28:10 $ docker stop --time=1 a02782c5c048a2c4e15f5279b72e03f6741a2c10a2fc169ea324897fee4aaec8 05:28:16 $ docker rm -f --volumes a02782c5c048a2c4e15f5279b72e03f6741a2c10a2fc169ea324897fee4aaec8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 05:28:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:28:16 provisioning config files... 05:28:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12552237561478373426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:28:17 --> edgex-publish-swagger.sh 05:28:17 === Publish openapi/v3 API === 05:28:17 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:28:17 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:28:17 % Total % Received % Xferd Average Speed Time Time Time Current 05:28:17 Dload Upload Total Spent Left Speed 05:28:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 38079 --:--:-- --:--:-- --:--:-- 38079 05:28:17 05:28:17 [Pipeline] } 05:28:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:28:18 + git log --format=format:%s -1 844470d981b00f1723aa71b22ce5646b0926e81e [Pipeline] sh 05:28:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:18 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:28:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:19 $ docker top d6c0f1f2e973ee743297b1f4d40f9e2ed85d8569c63dd965ebf4722ebdffd9bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:19 [ssh-agent] Looking for ssh-agent implementation... 05:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:19 $ docker exec d6c0f1f2e973ee743297b1f4d40f9e2ed85d8569c63dd965ebf4722ebdffd9bd ssh-agent 05:28:19 SSH_AUTH_SOCK=/tmp/ssh-GfKO3K09hpBz/agent.32 05:28:19 SSH_AGENT_PID=38 05:28:19 Running ssh-add (command line suppressed) 05:28:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1004542606322920502.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1004542606322920502.key) 05:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:20 + git semver tag 05:28:20 2023-03-01 05:28:20,440 [run_tag] DEBUG tag force:False 05:28:20 2023-03-01 05:28:20,440 [check_head_tag] DEBUG check head tag 05:28:20 2023-03-01 05:28:20,443 [execute] INFO git cat-file --batch-check 05:28:20 2023-03-01 05:28:20,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:28:20 2023-03-01 05:28:20,448 [execute] INFO git cat-file --batch 05:28:20 2023-03-01 05:28:20,448 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:28:20 2023-03-01 05:28:20,477 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:20 2023-03-01 05:28:20,477 [execute] INFO git tag -a v3.0.0-dev.42 -m v3.0.0-dev.42 05:28:20 2023-03-01 05:28:20,478 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.42', '-m', 'v3.0.0-dev.42'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:28:20 2023-03-01 05:28:20,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:20 3.0.0-dev.42 [Pipeline] } 05:28:20 $ docker exec --env ******** --env ******** d6c0f1f2e973ee743297b1f4d40f9e2ed85d8569c63dd965ebf4722ebdffd9bd ssh-agent -k 05:28:20 unset SSH_AUTH_SOCK; 05:28:20 unset SSH_AGENT_PID; 05:28:20 echo Agent pid 38 killed; 05:28:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:20 + git semver [Pipeline] } 05:28:21 $ docker stop --time=1 d6c0f1f2e973ee743297b1f4d40f9e2ed85d8569c63dd965ebf4722ebdffd9bd 05:28:22 $ docker rm -f --volumes d6c0f1f2e973ee743297b1f4d40f9e2ed85d8569c63dd965ebf4722ebdffd9bd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:22 05:28:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:23 0.23.1-centos7: Pulling from edgex-lftools 05:28:23 ab5ef0e58194: Pulling fs layer 05:28:23 9712f1f96733: Pulling fs layer 05:28:23 63f879dbbcfc: Pulling fs layer 05:28:23 0d9ebad4ef96: Pulling fs layer 05:28:23 e9a5061849ea: Pulling fs layer 05:28:23 d747dcd14b5f: Pulling fs layer 05:28:23 2de7ff778b66: Pulling fs layer 05:28:23 e9a5061849ea: Waiting 05:28:23 d747dcd14b5f: Waiting 05:28:23 9712f1f96733: Verifying Checksum 05:28:23 9712f1f96733: Download complete 05:28:23 63f879dbbcfc: Verifying Checksum 05:28:23 63f879dbbcfc: Download complete 05:28:23 0d9ebad4ef96: Verifying Checksum 05:28:23 0d9ebad4ef96: Download complete 05:28:23 e9a5061849ea: Verifying Checksum 05:28:23 e9a5061849ea: Download complete 05:28:23 d747dcd14b5f: Verifying Checksum 05:28:23 ab5ef0e58194: Verifying Checksum 05:28:23 ab5ef0e58194: Download complete 05:28:23 2de7ff778b66: Verifying Checksum 05:28:23 2de7ff778b66: Download complete 05:28:27 ab5ef0e58194: Pull complete 05:28:27 9712f1f96733: Pull complete 05:28:27 63f879dbbcfc: Pull complete 05:28:31 0d9ebad4ef96: Pull complete 05:28:31 e9a5061849ea: Pull complete 05:28:31 d747dcd14b5f: Pull complete 05:28:33 2de7ff778b66: Pull complete 05:28:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:28:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:28:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:33 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:28:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:28:41 $ docker top 631767ed3582986ecf1d8a279448384ecbc5e34abec533862cd323eb0a8c4976 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:28:41 provisioning config files... 05:28:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18291572194469786014tmp 05:28:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5021246808355915553tmp 05:28:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17733733439095436582tmp [Pipeline] { [Pipeline] echo 05:28:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:28:41 ---> sigul-configuration.sh 05:28:41 gpg: directory `/root/.gnupg' created 05:28:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:28:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:28:41 gpg: keyring `/root/.gnupg/secring.gpg' created 05:28:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:28:41 gpg: CAST5 encrypted data 05:28:41 gpg: encrypted with 1 passphrase 05:28:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:28:41 + mkdir /home/jenkins 05:28:41 + mkdir /home/jenkins/sigul [Pipeline] sh 05:28:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 05:28:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:28:42 ---> sigul-install.sh 05:28:42 Sigul already installed; skipping installation. [Pipeline] sh 05:28:42 + git tag --list 05:28:42 0.7.1 05:28:42 delhi-tag 05:28:42 v1.0.0 05:28:42 v1.1.0 05:28:42 v1.1.1 05:28:42 v1.1.2 05:28:42 v1.2.0 05:28:42 v1.2.1 05:28:42 v1.2.2 05:28:42 v1.2.3 05:28:42 v1.3.0 05:28:42 v1.4.0 05:28:42 v2.0.0 05:28:42 v2.1.0 05:28:42 v2.1.1 05:28:42 v2.1.1-dev.2 05:28:42 v2.1.1-dev.3 05:28:42 v2.2.0 05:28:42 v2.2.1-dev.1 05:28:42 v2.2.1-dev.10 05:28:42 v2.2.1-dev.11 05:28:42 v2.2.1-dev.12 05:28:42 v2.2.1-dev.13 05:28:42 v2.2.1-dev.14 05:28:42 v2.2.1-dev.2 05:28:42 v2.2.1-dev.3 05:28:42 v2.2.1-dev.4 05:28:42 v2.2.1-dev.5 05:28:42 v2.2.1-dev.6 05:28:42 v2.2.1-dev.7 05:28:42 v2.2.1-dev.8 05:28:42 v2.2.1-dev.9 05:28:42 v2.3.0 05:28:42 v2.3.0-dev.14 05:28:42 v2.3.0-dev.15 05:28:42 v2.3.0-dev.16 05:28:42 v2.3.0-dev.17 05:28:42 v2.3.0-dev.18 05:28:42 v2.3.0-dev.19 05:28:42 v2.3.0-dev.20 05:28:42 v2.3.0-dev.21 05:28:42 v2.3.0-dev.22 05:28:42 v2.3.0-dev.23 05:28:42 v2.3.0-dev.24 05:28:42 v2.3.0-dev.25 05:28:42 v2.3.0-dev.26 05:28:42 v2.3.0-dev.27 05:28:42 v2.3.0-dev.28 05:28:42 v2.3.0-dev.29 05:28:42 v2.3.0-dev.30 05:28:42 v2.3.0-dev.31 05:28:42 v2.3.0-dev.32 05:28:42 v2.3.0-dev.33 05:28:42 v2.3.0-dev.34 05:28:42 v2.3.0-dev.35 05:28:42 v2.3.0-dev.36 05:28:42 v2.3.0-dev.37 05:28:42 v2.3.0-dev.38 05:28:42 v2.3.0-dev.39 05:28:42 v2.3.0-dev.40 05:28:42 v2.3.0-dev.41 05:28:42 v2.3.0-dev.42 05:28:42 v2.3.0-dev.43 05:28:42 v2.3.0-dev.44 05:28:42 v2.3.0-dev.45 05:28:42 v2.3.0-dev.46 05:28:42 v2.3.0-dev.47 05:28:42 v2.3.0-dev.48 05:28:42 v2.3.0-dev.49 05:28:42 v2.3.0-dev.50 05:28:42 v2.3.0-dev.51 05:28:42 v2.3.1-dev.1 05:28:42 v2.3.1-dev.2 05:28:42 v3.0.0-dev.1 05:28:42 v3.0.0-dev.10 05:28:42 v3.0.0-dev.11 05:28:42 v3.0.0-dev.12 05:28:42 v3.0.0-dev.13 05:28:42 v3.0.0-dev.14 05:28:42 v3.0.0-dev.15 05:28:42 v3.0.0-dev.16 05:28:42 v3.0.0-dev.17 05:28:42 v3.0.0-dev.18 05:28:42 v3.0.0-dev.19 05:28:42 v3.0.0-dev.2 05:28:42 v3.0.0-dev.20 05:28:42 v3.0.0-dev.21 05:28:42 v3.0.0-dev.22 05:28:42 v3.0.0-dev.23 05:28:42 v3.0.0-dev.24 05:28:42 v3.0.0-dev.25 05:28:42 v3.0.0-dev.26 05:28:42 v3.0.0-dev.27 05:28:42 v3.0.0-dev.28 05:28:42 v3.0.0-dev.29 05:28:42 v3.0.0-dev.3 05:28:42 v3.0.0-dev.30 05:28:42 v3.0.0-dev.31 05:28:42 v3.0.0-dev.32 05:28:42 v3.0.0-dev.33 05:28:42 v3.0.0-dev.34 05:28:42 v3.0.0-dev.35 05:28:42 v3.0.0-dev.36 05:28:42 v3.0.0-dev.37 05:28:42 v3.0.0-dev.38 05:28:42 v3.0.0-dev.39 05:28:42 v3.0.0-dev.4 05:28:42 v3.0.0-dev.40 05:28:42 v3.0.0-dev.41 05:28:42 v3.0.0-dev.42 05:28:42 v3.0.0-dev.5 05:28:42 v3.0.0-dev.6 05:28:42 v3.0.0-dev.7 05:28:42 v3.0.0-dev.8 05:28:42 v3.0.0-dev.9 [Pipeline] sh 05:28:43 + lftools sign git-tag v3.0.0-dev.42 05:28:43 Signing Git tag with Sigul... 05:28:43 Signing v3.0.0-dev.42 [Pipeline] echo 05:28:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:28:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:28:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:28:44 $ docker stop --time=1 631767ed3582986ecf1d8a279448384ecbc5e34abec533862cd323eb0a8c4976 05:28:45 $ docker rm -f --volumes 631767ed3582986ecf1d8a279448384ecbc5e34abec533862cd323eb0a8c4976 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:28:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:46 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:46 $ docker top ad585bf7710e1db46a28c6c20235e1347610f2247b0119d7df20857a5ef7aed9 -eo pid,comm 05:28: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). 05:28:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:46 [ssh-agent] Looking for ssh-agent implementation... 05:28:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:47 $ docker exec ad585bf7710e1db46a28c6c20235e1347610f2247b0119d7df20857a5ef7aed9 ssh-agent 05:28:47 SSH_AUTH_SOCK=/tmp/ssh-Gos9jqRDNK6f/agent.32 05:28:47 SSH_AGENT_PID=38 05:28:47 Running ssh-add (command line suppressed) 05:28:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6467871803937381913.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6467871803937381913.key) 05:28:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:47 + git semver bump pre 05:28:47 2023-03-01 05:28:47,842 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:47 2023-03-01 05:28:47,843 [bump_version] DEBUG bumping version:3.0.0-dev.42 on axis:pre with prefix:dev 05:28:47 2023-03-01 05:28:47,843 [bump_version] DEBUG bumped version:3.0.0-dev.43 05:28:47 2023-03-01 05:28:47,843 [write_version] DEBUG write version:3.0.0-dev.43 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:28:47 2023-03-01 05:28:47,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:47 2023-03-01 05:28:47,843 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:47 2023-03-01 05:28:47,845 [execute] INFO git cat-file --batch-check 05:28:47 2023-03-01 05:28:47,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:47 2023-03-01 05:28:47,851 [execute] INFO git cat-file --batch 05:28:47 2023-03-01 05:28:47,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:47 2023-03-01 05:28:47,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:47 3.0.0-dev.43 [Pipeline] } 05:28:48 $ docker exec --env ******** --env ******** ad585bf7710e1db46a28c6c20235e1347610f2247b0119d7df20857a5ef7aed9 ssh-agent -k 05:28:48 unset SSH_AUTH_SOCK; 05:28:48 unset SSH_AGENT_PID; 05:28:48 echo Agent pid 38 killed; 05:28:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:48 + git semver [Pipeline] } 05:28:48 $ docker stop --time=1 ad585bf7710e1db46a28c6c20235e1347610f2247b0119d7df20857a5ef7aed9 05:28:50 $ docker rm -f --volumes ad585bf7710e1db46a28c6c20235e1347610f2247b0119d7df20857a5ef7aed9 [Pipeline] // withDockerContainer [Pipeline] sh 05:28:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:28:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:28:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:50 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:28:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:28:51 $ docker top ac0987b530b5398becdcbd25d3312926d1615837d64e2a92be4d5db235e9b7be -eo pid,comm 05:28:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:28:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:28:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:28:51 [ssh-agent] Looking for ssh-agent implementation... 05:28:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:28:51 $ docker exec ac0987b530b5398becdcbd25d3312926d1615837d64e2a92be4d5db235e9b7be ssh-agent 05:28:51 SSH_AUTH_SOCK=/tmp/ssh-ZAkUgaOrvLq7/agent.33 05:28:51 SSH_AGENT_PID=39 05:28:51 Running ssh-add (command line suppressed) 05:28:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12513261210576292848.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12513261210576292848.key) 05:28:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:28:52 + git semver push 05:28:52 2023-03-01 05:28:52,176 [run_push] DEBUG push 05:28:52 2023-03-01 05:28:52,177 [execute] INFO git cat-file --batch-check 05:28:52 2023-03-01 05:28:52,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:28:52 2023-03-01 05:28:52,182 [execute] INFO git rev-list 2099e1818b2eff3b31d0718a7aade8017ea945b3 -- 05:28:52 2023-03-01 05:28:52,183 [execute] DEBUG Popen(['git', 'rev-list', '2099e1818b2eff3b31d0718a7aade8017ea945b3', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:52 2023-03-01 05:28:52,193 [execute] INFO git fetch -v origin 05:28:52 2023-03-01 05:28:52,193 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:28:53 2023-03-01 05:28:52,863 [run_push] DEBUG no remote changes detected 05:28:53 2023-03-01 05:28:52,864 [execute] INFO git push origin semver 05:28:53 2023-03-01 05:28:52,864 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:28:53 2023-03-01 05:28:53,708 [run_push] DEBUG push all version tags 05:28:53 2023-03-01 05:28:53,709 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:28:53 2023-03-01 05:28:53,709 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:28:54 2023-03-01 05:28:54,649 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:28:54 3.0.0-dev.43 [Pipeline] } 05:28:54 $ docker exec --env ******** --env ******** ac0987b530b5398becdcbd25d3312926d1615837d64e2a92be4d5db235e9b7be ssh-agent -k 05:28:54 unset SSH_AUTH_SOCK; 05:28:54 unset SSH_AGENT_PID; 05:28:54 echo Agent pid 39 killed; 05:28:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:28:55 + git semver [Pipeline] } 05:28:55 $ docker stop --time=1 ac0987b530b5398becdcbd25d3312926d1615837d64e2a92be4d5db235e9b7be 05:28:56 $ docker rm -f --volumes ac0987b530b5398becdcbd25d3312926d1615837d64e2a92be4d5db235e9b7be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:28:57 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:28:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:57 total 16 05:28:57 drwxr-xr-x 3 root root 4096 Mar 1 05:20 . 05:28:57 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:28 .. 05:28:57 drwxr-xr-x 2 root root 4096 Mar 1 05:20 cost 05:28:57 -rw-r--r-- 1 root root 86 Mar 1 05:20 cost.csv 05:28:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:57 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:28:57 total 16 05:28:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 1 05:20 . 05:28:57 drwxrwxr-x 12 jenkins jenkins 4096 Mar 1 05:28 .. 05:28:57 drwxr-xr-x 2 jenkins jenkins 4096 Mar 1 05:20 cost 05:28:57 -rw-r--r-- 1 jenkins jenkins 86 Mar 1 05:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:28:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:28:58 ---> package-listing.sh 05:28:58 ++ facter osfamily 05:28:58 ++ tr '[:upper:]' '[:lower:]' 05:28:58 + OS_FAMILY=debian 05:28:58 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:28:58 + START_PACKAGES=/tmp/packages_start.txt 05:28:58 + END_PACKAGES=/tmp/packages_end.txt 05:28:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:28:58 + PACKAGES=/tmp/packages_start.txt 05:28:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:28:58 + PACKAGES=/tmp/packages_end.txt 05:28:58 + case "${OS_FAMILY}" in 05:28:58 + dpkg -l 05:28:58 + grep '^ii' 05:28:58 + '[' -f /tmp/packages_start.txt ']' 05:28:58 + '[' -f /tmp/packages_end.txt ']' 05:28:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:28:58 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:28:58 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:28:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:28:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:28:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:28:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:28:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:28:59 prd-ubuntu20.04-docker-8c-8g-7894 does not seem to be running inside a container 05:28:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:28:59 $ docker top d5f7bdc08499c886819cf92bcf39d430cd711d4bb497431233bbd5a08533c0dc -eo pid,comm [Pipeline] { [Pipeline] sh 05:29:00 + touch /tmp/pre-build-complete [Pipeline] sh 05:29:00 + mkdir -p /var/log/sysstat [Pipeline] sh 05:29:00 + ls /var/log/sa-host 05:29:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:29:01 provisioning config files... 05:29:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config190915649279276228tmp [Pipeline] { [Pipeline] echo 05:29:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:29:01 ---> create-netrc.sh [Pipeline] } 05:29:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:29:01 ---> python-tools-install.sh [Pipeline] echo 05:29:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:29:01 ---> sudo-logs.sh 05:29:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:29:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:29:02 ---> job-cost.sh 05:29:02 lf-activate-venv: SKIPPING 05:29:02 DEBUG: total: 0.2199999988079071 05:29:02 INFO: Retrieving Stack Cost... 05:29:02 INFO: Retrieving Pricing Info for: v3-standard-8 05:29:03 INFO: Archiving Costs [Pipeline] echo 05:29:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:29:03 ---> logs-deploy.sh 05:29:03 lf-activate-venv: SKIPPING 05:29:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/172 05:29:03 INFO: archiving workspace using pattern(s): 05:29:04 Archives upload complete. 05:29:04 INFO: archiving logs to Nexus 05:29:05 ---> uname -a: 05:29:05 Linux prd-ubuntu20-04-docker-8c-8g-7894 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 05:29:05 05:29:05 05:29:05 ---> lscpu: 05:29:05 Architecture: x86_64 05:29:05 CPU op-mode(s): 32-bit, 64-bit 05:29:05 Byte Order: Little Endian 05:29:05 Address sizes: 40 bits physical, 48 bits virtual 05:29:05 CPU(s): 8 05:29:05 On-line CPU(s) list: 0-7 05:29:05 Thread(s) per core: 1 05:29:05 Core(s) per socket: 1 05:29:05 Socket(s): 8 05:29:05 NUMA node(s): 1 05:29:05 Vendor ID: AuthenticAMD 05:29:05 CPU family: 23 05:29:05 Model: 49 05:29:05 Model name: AMD EPYC-Rome Processor 05:29:05 Stepping: 0 05:29:05 CPU MHz: 2799.996 05:29:05 BogoMIPS: 5599.99 05:29:05 Virtualization: AMD-V 05:29:05 Hypervisor vendor: KVM 05:29:05 Virtualization type: full 05:29:05 L1d cache: 256 KiB 05:29:05 L1i cache: 256 KiB 05:29:05 L2 cache: 4 MiB 05:29:05 L3 cache: 128 MiB 05:29:05 NUMA node0 CPU(s): 0-7 05:29:05 Vulnerability Itlb multihit: Not affected 05:29:05 Vulnerability L1tf: Not affected 05:29:05 Vulnerability Mds: Not affected 05:29:05 Vulnerability Meltdown: Not affected 05:29:05 Vulnerability Mmio stale data: Not affected 05:29:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:29:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 05:29:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 05:29:05 Vulnerability Srbds: Not affected 05:29:05 Vulnerability Tsx async abort: Not affected 05:29:05 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 05:29:05 05:29:05