Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 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-ssh11183700996585604748.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-ssh16124329500036915941.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-ssh7392962985725027874.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-ssh10886927248936656830.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-ssh8684386264028676122.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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6365’ Running on prd-ubuntu20.04-docker-8c-8g-6372 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 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 (main) Commit message: "Merge pull request #1326 from marcpfuller/mod-core-contracts-15" > 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 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 # timeout=10 > git rev-list --no-walk ceb19cb4ab86878044c724e5e66081db52e959f9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:19:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:19:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:19:45 ========================================================= 05:19:45 EdgeX Global Pipelines Version Info 05:19:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:19:46 ------------------- 05:19:46 stable info: 05:19:46 ------------------- 05:19:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:19:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:19:46 Message: update stable to v1.0.244 05:19:47 ------------------- 05:19:47 experimental info: 05:19:47 ------------------- 05:19:47 Commited By: **** collab-it+edgex@linuxfoundation.org 05:19:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:19:47 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08f78b5 [Pipeline] echo 05:19:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:19:47 provisioning config files... 05:19:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18275709483831406708tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:19:48 ---> docker-login.sh 05:19:48 nexus3.edgexfoundry.org:10001 05:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:48 Configure a credential helper to remove this warning. See 05:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:48 05:19:48 Login Succeeded 05:19:48 nexus3.edgexfoundry.org:10002 05:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:48 Configure a credential helper to remove this warning. See 05:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:48 05:19:48 Login Succeeded 05:19:48 nexus3.edgexfoundry.org:10003 05:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:48 Configure a credential helper to remove this warning. See 05:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:48 05:19:48 Login Succeeded 05:19:48 nexus3.edgexfoundry.org:10004 05:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:48 Configure a credential helper to remove this warning. See 05:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:48 05:19:48 Login Succeeded 05:19:48 docker.io 05:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:19:49 Configure a credential helper to remove this warning. See 05:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:19:49 05:19:49 Login Succeeded 05:19:49 ---> docker-login.sh ends [Pipeline] } 05:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:19:49 + git rev-list -1 --merges 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8~1..08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] echo 05:19:49 -----------> git rev-list -1 --merges 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8~1..08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 05:19:49 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [false] [Pipeline] sh 05:19:49 + git log --format=format:%s -1 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] echo 05:19:49 ========================================================= 05:19:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:19:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:50 + git log --format=format:%s -1 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] echo 05:19:50 [semverPrep] GIT_COMMIT: 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8, Commit Message: Merge pull request #1326 from marcpfuller/mod-core-contracts-15 [Pipeline] echo 05:19:50 [semverPrep] This is not a build commit. [Pipeline] sh 05:19:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:19:50 + grep -v github /etc/ssh/ssh_known_hosts 05:19:50 + [ -e /tmp/ssh_known_hosts ] 05:19:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:19:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:19:50 + sudo tee -a /etc/ssh/ssh_known_hosts 05:19:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:50 05:19:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:19:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:51 0.1.4: Pulling from edgex-devops/py-git-semver 05:19:51 b85a868b505f: Pulling fs layer 05:19:51 e2be974225ed: Pulling fs layer 05:19:51 339a4e72a1f5: Pulling fs layer 05:19:51 988bab9f4d93: Pulling fs layer 05:19:51 1469e6f7b9e6: Pulling fs layer 05:19:51 eaf3925da568: Pulling fs layer 05:19:51 bab4dde63d76: Pulling fs layer 05:19:51 bde34c3a00c8: Pulling fs layer 05:19:51 b352a97aabf1: Pulling fs layer 05:19:51 4872d77fe225: Pulling fs layer 05:19:51 5851b861e8e6: Pulling fs layer 05:19:51 eaf3925da568: Waiting 05:19:51 988bab9f4d93: Waiting 05:19:51 1469e6f7b9e6: Waiting 05:19:51 4872d77fe225: Waiting 05:19:51 bab4dde63d76: Waiting 05:19:51 5851b861e8e6: Waiting 05:19:51 bde34c3a00c8: Waiting 05:19:51 b352a97aabf1: Waiting 05:19:51 e2be974225ed: Verifying Checksum 05:19:51 e2be974225ed: Download complete 05:19:51 988bab9f4d93: Verifying Checksum 05:19:51 988bab9f4d93: Download complete 05:19:51 1469e6f7b9e6: Verifying Checksum 05:19:51 1469e6f7b9e6: Download complete 05:19:51 eaf3925da568: Verifying Checksum 05:19:51 eaf3925da568: Download complete 05:19:51 339a4e72a1f5: Verifying Checksum 05:19:51 339a4e72a1f5: Download complete 05:19:51 bde34c3a00c8: Verifying Checksum 05:19:51 bde34c3a00c8: Download complete 05:19:51 b352a97aabf1: Download complete 05:19:51 4872d77fe225: Download complete 05:19:51 5851b861e8e6: Verifying Checksum 05:19:51 5851b861e8e6: Download complete 05:19:51 b85a868b505f: Verifying Checksum 05:19:51 b85a868b505f: Download complete 05:19:52 bab4dde63d76: Verifying Checksum 05:19:52 bab4dde63d76: Download complete 05:19:53 b85a868b505f: Pull complete 05:19:53 e2be974225ed: Pull complete 05:19:53 339a4e72a1f5: Pull complete 05:19:53 988bab9f4d93: Pull complete 05:19:54 1469e6f7b9e6: Pull complete 05:19:54 eaf3925da568: Pull complete 05:19:56 bab4dde63d76: Pull complete 05:19:56 bde34c3a00c8: Pull complete 05:19:56 b352a97aabf1: Pull complete 05:19:56 4872d77fe225: Pull complete 05:19:56 5851b861e8e6: Pull complete 05:19:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:19:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:19:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:19:56 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:19:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:19:58 $ docker top 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 -eo pid,comm 05:19:58 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:19:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:59 [ssh-agent] Looking for ssh-agent implementation... 05:19:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:19:59 $ docker exec 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 ssh-agent 05:19:59 SSH_AUTH_SOCK=/tmp/ssh-OMfXE5jrnxaI/agent.32 05:19:59 SSH_AGENT_PID=38 05:19:59 Running ssh-add (command line suppressed) 05:19:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10979015483449380513.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10979015483449380513.key) 05:19:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:19:59 + git tag --points-at HEAD [Pipeline] } 05:19:59 $ docker exec --env ******** --env ******** 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 ssh-agent -k 05:19:59 unset SSH_AUTH_SOCK; 05:19:59 unset SSH_AGENT_PID; 05:19:59 echo Agent pid 38 killed; 05:19:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:19:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:19:59 [ssh-agent] Looking for ssh-agent implementation... 05:20:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:20:00 $ docker exec 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 ssh-agent 05:20:00 SSH_AUTH_SOCK=/tmp/ssh-cCsh9QEX3XRl/agent.70 05:20:00 SSH_AGENT_PID=76 05:20:00 Running ssh-add (command line suppressed) 05:20:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17704036649547345209.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17704036649547345209.key) 05:20:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:20:00 + git semver init 05:20:00 2023-02-17 05:20:00,810 [run_init] DEBUG init version:0.0.0 force:False 05:20:00 2023-02-17 05:20:00,811 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:20:00 2023-02-17 05:20:00,812 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:20:00 2023-02-17 05:20:00,813 [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:20:02 2023-02-17 05:20:02,104 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:20:02 2023-02-17 05:20:02,104 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:20:02 2023-02-17 05:20:02,104 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:02 2023-02-17 05:20:02,105 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:20:02 3.0.0-dev.30 [Pipeline] } 05:20:02 $ docker exec --env ******** --env ******** 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 ssh-agent -k 05:20:02 unset SSH_AUTH_SOCK; 05:20:02 unset SSH_AGENT_PID; 05:20:02 echo Agent pid 76 killed; 05:20:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:20:02 + git semver [Pipeline] } 05:20:02 $ docker stop --time=1 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 05:20:04 $ docker rm -f --volumes 90a3f8cda6535a3c4bdbdeb7dabcb25d8e85a31dcd750a399dd068609313c3a3 [Pipeline] // withDockerContainer [Pipeline] sh 05:20:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:20:04 Stashed 1 file(s) [Pipeline] echo 05:20:04 [edgeXSemver]: initialized semver on version 3.0.0-dev.30 [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:20:05 provisioning config files... 05:20:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17564561415080858937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:05 ---> docker-login.sh 05:20:05 nexus3.edgexfoundry.org:10001 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10002 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10003 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 nexus3.edgexfoundry.org:10004 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 docker.io 05:20:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:05 Configure a credential helper to remove this warning. See 05:20:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:05 05:20:05 Login Succeeded 05:20:05 ---> docker-login.sh ends [Pipeline] } 05:20:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:20:05 ========================================================= 05:20:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:20:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:06 + 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:20:06 Sending build context to Docker daemon 10.49MB 05:20:06 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:20:06 Step 2/10 : FROM ${BASE} AS builder 05:20:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:20:06 213ec9aee27d: Pulling fs layer 05:20:06 4583459ba037: Pulling fs layer 05:20:06 93c1e223e6f2: Pulling fs layer 05:20:06 53926ce57604: Pulling fs layer 05:20:06 21b2b0c7a3f4: Pulling fs layer 05:20:06 22ff95d597cd: Pulling fs layer 05:20:06 12d6caf4c0d1: Pulling fs layer 05:20:06 96b7cbca73a9: Pulling fs layer 05:20:06 a7acece74701: Pulling fs layer 05:20:06 21b2b0c7a3f4: Waiting 05:20:06 12d6caf4c0d1: Waiting 05:20:06 96b7cbca73a9: Waiting 05:20:06 53926ce57604: Waiting 05:20:06 a7acece74701: Waiting 05:20:06 93c1e223e6f2: Verifying Checksum 05:20:06 93c1e223e6f2: Download complete 05:20:06 21b2b0c7a3f4: Verifying Checksum 05:20:06 21b2b0c7a3f4: Download complete 05:20:06 22ff95d597cd: Verifying Checksum 05:20:06 22ff95d597cd: Download complete 05:20:06 213ec9aee27d: Verifying Checksum 05:20:06 213ec9aee27d: Download complete 05:20:06 12d6caf4c0d1: Download complete 05:20:06 213ec9aee27d: Pull complete 05:20:06 4583459ba037: Pull complete 05:20:06 93c1e223e6f2: Pull complete 05:20:09 a7acece74701: Verifying Checksum 05:20:09 a7acece74701: Download complete 05:20:09 96b7cbca73a9: Verifying Checksum 05:20:09 96b7cbca73a9: Download complete 05:20:09 53926ce57604: Verifying Checksum 05:20:09 53926ce57604: Download complete 05:20:13 53926ce57604: Pull complete 05:20:13 21b2b0c7a3f4: Pull complete 05:20:13 22ff95d597cd: Pull complete 05:20:13 12d6caf4c0d1: Pull complete 05:20:14 96b7cbca73a9: Pull complete 05:20:15 a7acece74701: Pull complete 05:20:15 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 05:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:20:15 ---> db6d94c90886 05:20:15 Step 3/10 : ARG MAKE=make build 05:20:19 ---> Running in 7e69b38cb52a 05:20:19 Removing intermediate container 7e69b38cb52a 05:20:19 ---> 8a9c03a582c5 05:20:19 Step 4/10 : WORKDIR /device-sdk-go 05:20:19 ---> Running in aa0b6bec5acd 05:20:19 Removing intermediate container aa0b6bec5acd 05:20:19 ---> 84f59ccf303d 05:20:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:20:19 ---> Running in 33d80e66afff 05:20:19 Removing intermediate container 33d80e66afff 05:20:19 ---> d6b30f5ed119 05:20:19 Step 6/10 : RUN apk add --update --no-cache make git 05:20:19 ---> Running in 89855850f3ab 05:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:20:19 OK: 211 MiB in 51 packages 05:20:19 Still waiting to schedule task 05:20:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6369’ 05:20:20 Removing intermediate container 89855850f3ab 05:20:20 ---> df4b83e426a5 05:20:20 Step 7/10 : COPY go.mod vendor* ./ 05:20:20 ---> a3edec72916f 05:20:20 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:20:20 ---> Running in b49b90f4249b 05:20:52 Removing intermediate container b49b90f4249b 05:20:52 ---> 8e45ac1390fa 05:20:52 Step 9/10 : COPY . . 05:20:52 ---> 114a6316aa3a 05:20:52 Step 10/10 : RUN ${MAKE} 05:20:52 ---> Running in 6f21ef175f1c 05:20:52 noop 05:20:52 Removing intermediate container 6f21ef175f1c 05:20:52 ---> 2311c971b1ee 05:20:52 Successfully built 2311c971b1ee 05:20:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:53 + docker inspect -f . ci-base-image-x86_64 05:20:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:53 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:20:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:53 $ docker top 7a45014103da14bb7e9399ea40176e8a350f7c1f7020df65135d398733ee4234 -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:53 + go version 05:20:53 go version go1.18.7 linux/amd64 [Pipeline] } 05:20:53 $ docker stop --time=1 7a45014103da14bb7e9399ea40176e8a350f7c1f7020df65135d398733ee4234 05:20:55 $ docker rm -f --volumes 7a45014103da14bb7e9399ea40176e8a350f7c1f7020df65135d398733ee4234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:20:55 + docker inspect -f . ci-base-image-x86_64 05:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:20:55 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:20:56 $ docker top de4bc2255f4416ea77727cb9364801ea701893632c488d457000cfaa9561a0fd -eo pid,comm [Pipeline] { [Pipeline] sh 05:20:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:20:57 + make test 05:20:57 go test -race -coverprofile=coverage.out ./... 05:21:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.081s coverage: 78.9% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.092s coverage: 77.8% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 77.0% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.2% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.749s coverage: 89.2% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 05:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:21:33 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:21:33 GO111MODULE=on go vet ./... 05:21:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:21:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:21:35 ./bin/test-attribution-txt.sh [Pipeline] echo 05:21:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:21:35 $ docker stop --time=1 de4bc2255f4416ea77727cb9364801ea701893632c488d457000cfaa9561a0fd 05:21:38 $ docker rm -f --volumes de4bc2255f4416ea77727cb9364801ea701893632c488d457000cfaa9561a0fd [Pipeline] // withDockerContainer [Pipeline] sh 05:21:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:21:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:21:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:21:39 + ls -al . 05:21:39 total 272 05:21:39 drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 05:20 . 05:21:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:19 .. 05:21:39 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:19 .dockerignore 05:21:39 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:21 .git 05:21:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:19 .github 05:21:39 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:19 .gitignore 05:21:39 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:19 .golangci.yml 05:21:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:20 .semver 05:21:39 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:19 CHANGELOG.md 05:21:39 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:19 GOVERNANCE.md 05:21:39 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:19 Jenkinsfile 05:21:39 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:19 LICENSE 05:21:39 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:19 Makefile 05:21:39 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:19 OWNERS.md 05:21:39 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:19 README.md 05:21:39 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 05:20 VERSION 05:21:39 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:19 bin 05:21:39 -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:21 coverage.out 05:21:39 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:19 example 05:21:39 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:19 go.mod 05:21:39 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:19 go.sum 05:21:39 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:19 internal 05:21:39 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:19 openapi 05:21:39 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:19 pkg 05:21:39 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:19 snap 05:21:39 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:21:40 + 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=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 --label arch=amd64 --label version=3.0.0-dev.30 . 05:21:40 Sending build context to Docker daemon 10.59MB 05:21:40 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:21:40 Step 2/23 : FROM ${BASE} AS builder 05:21:40 ---> 2311c971b1ee 05:21:40 Step 3/23 : ARG MAKE=make build 05:21:40 ---> Running in 3470e152a981 05:21:40 Removing intermediate container 3470e152a981 05:21:40 ---> f5a570c15ddf 05:21:40 Step 4/23 : WORKDIR /device-sdk-go 05:21:40 ---> Running in c5d8dad60701 05:21:40 Removing intermediate container c5d8dad60701 05:21:40 ---> e494f2e65260 05:21:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:21:40 ---> Running in 16219da07184 05:21:40 Removing intermediate container 16219da07184 05:21:40 ---> 25212173dacd 05:21:40 Step 6/23 : RUN apk add --update --no-cache make git 05:21:40 ---> Running in 3d9d441685c3 05:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:21:41 OK: 211 MiB in 51 packages 05:21:41 Removing intermediate container 3d9d441685c3 05:21:41 ---> f4fb55eed186 05:21:41 Step 7/23 : COPY go.mod vendor* ./ 05:21:41 ---> d6ad4a32f0e7 05:21:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:21:41 ---> Running in 8a3cd32cb7b4 05:21:42 Removing intermediate container 8a3cd32cb7b4 05:21:42 ---> f849496ceb9c 05:21:42 Step 9/23 : COPY . . 05:21:42 ---> 5d41ab95a142 05:21:42 Step 10/23 : RUN ${MAKE} 05:21:42 ---> Running in 1e3067a9046e 05:21:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:22:01 Removing intermediate container 1e3067a9046e 05:22:01 ---> e238f0138ed0 05:22:01 Step 11/23 : FROM alpine:3.16 05:22:01 3.16: Pulling from library/alpine 05:22:01 ef5531b6e74e: Pulling fs layer 05:22:01 ef5531b6e74e: Verifying Checksum 05:22:01 ef5531b6e74e: Download complete 05:22:01 ef5531b6e74e: Pull complete 05:22:01 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:22:01 Status: Downloaded newer image for alpine:3.16 05:22:01 ---> dfd21b5a31f5 05:22:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:22:01 ---> Running in 4a1c68e7f2b5 05:22:01 Removing intermediate container 4a1c68e7f2b5 05:22:01 ---> 73fa3a454f84 05:22:01 Step 13/23 : RUN apk add --update --no-cache 05:22:01 ---> Running in 1ceea6022827 05:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:22:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:22:02 OK: 6 MiB in 14 packages 05:22:02 Removing intermediate container 1ceea6022827 05:22:02 ---> 052c08f43042 05:22:02 Step 14/23 : WORKDIR / 05:22:02 ---> Running in a59397085b84 05:22:02 Removing intermediate container a59397085b84 05:22:02 ---> 96986475fbae 05:22:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:22:02 ---> e705a16196d1 05:22:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:22:03 ---> 213588b1b9c7 05:22:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:22:03 ---> f2dd38c98227 05:22:03 Step 18/23 : EXPOSE 59999 05:22:03 ---> Running in d8116c2a0246 05:22:03 Removing intermediate container d8116c2a0246 05:22:03 ---> d1ab5141eb80 05:22:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:22:03 ---> Running in bc1231c1f866 05:22:03 Removing intermediate container bc1231c1f866 05:22:03 ---> b3a010fd7e31 05:22:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:22:03 ---> Running in 4925bcf9ef67 05:22:03 Removing intermediate container 4925bcf9ef67 05:22:03 ---> d6d0506983c7 05:22:03 Step 21/23 : LABEL arch=amd64 05:22:03 ---> Running in 307a0fdd10fc 05:22:04 Removing intermediate container 307a0fdd10fc 05:22:04 ---> 5388219844c0 05:22:04 Step 22/23 : LABEL git_sha=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 05:22:04 ---> Running in ae7a5f0f60c4 05:22:04 Removing intermediate container ae7a5f0f60c4 05:22:04 ---> 7c4450e52eae 05:22:04 Step 23/23 : LABEL version=3.0.0-dev.30 05:22:04 ---> Running in d3be570d4cf1 05:22:04 Removing intermediate container d3be570d4cf1 05:22:04 ---> 1a905d4e594d 05:22:04 [Warning] One or more build-args [ARCH] were not consumed 05:22:04 Successfully built 1a905d4e594d 05:22:04 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:22:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:04 05:22:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:22:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:04 latest: Pulling from edgex-lftools-log-publisher 05:22:04 5eb5b503b376: Pulling fs layer 05:22:04 5c69ac0246d0: Pulling fs layer 05:22:04 ec43610c2a17: Pulling fs layer 05:22:04 3a2ae6a8a46f: Pulling fs layer 05:22:04 33b1e0a273af: Pulling fs layer 05:22:04 5d3b04190fa2: Pulling fs layer 05:22:04 2f39f015ded8: Pulling fs layer 05:22:04 3a2ae6a8a46f: Waiting 05:22:04 33b1e0a273af: Waiting 05:22:04 5d3b04190fa2: Waiting 05:22:04 2f39f015ded8: Waiting 05:22:04 5c69ac0246d0: Verifying Checksum 05:22:04 5c69ac0246d0: Download complete 05:22:04 3a2ae6a8a46f: Verifying Checksum 05:22:04 3a2ae6a8a46f: Download complete 05:22:05 33b1e0a273af: Verifying Checksum 05:22:05 33b1e0a273af: Download complete 05:22:05 5d3b04190fa2: Verifying Checksum 05:22:05 5d3b04190fa2: Download complete 05:22:05 ec43610c2a17: Verifying Checksum 05:22:05 ec43610c2a17: Download complete 05:22:05 5eb5b503b376: Verifying Checksum 05:22:05 5eb5b503b376: Download complete 05:22:05 2f39f015ded8: Download complete 05:22:06 5eb5b503b376: Pull complete 05:22:06 5c69ac0246d0: Pull complete 05:22:06 ec43610c2a17: Pull complete 05:22:06 3a2ae6a8a46f: Pull complete 05:22:06 33b1e0a273af: Pull complete 05:22:07 5d3b04190fa2: Pull complete 05:22:11 2f39f015ded8: Pull complete 05:22:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:22:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:22:11 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:22:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:22:14 $ docker top 7de0b1d79a3e7a62f7e00459c58dfc6df3b9e45d651ab10be31e530f5f43c928 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:14 ---> job-cost.sh 05:22:14 lf-activate-venv: SKIPPING 05:22:14 INFO: No Stack... 05:22:14 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:15 INFO: Archiving Costs [Pipeline] sh 05:22:15 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:22:15 + cut -d, -f6 [Pipeline] lock 05:22:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] 05:22:15 Resource [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] did not exist. Created. 05:22:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:15 + echo total: 0.2199999988079071 [Pipeline] stash 05:22:15 Stashed 1 file(s) [Pipeline] } 05:22:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:15 $ docker stop --time=1 7de0b1d79a3e7a62f7e00459c58dfc6df3b9e45d651ab10be31e530f5f43c928 05:22:16 $ docker rm -f --volumes 7de0b1d79a3e7a62f7e00459c58dfc6df3b9e45d651ab10be31e530f5f43c928 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:23:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6377 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:23:00 Running in /w/workspace/device-sdk-go/160 [Pipeline] { [Pipeline] checkout 05:23:00 The recommended git tool is: git 05:23:07 using credential edgex-jenkins-ssh 05:23:07 Cloning the remote Git repository 05:23:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:23:07 > git init /w/workspace/device-sdk-go/160 # timeout=10 05:23:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:23:07 > git --version # timeout=10 05:23:07 > git --version # 'git version 2.25.1' 05:23:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:23:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:23:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:23:10 Avoid second fetch 05:23:10 Checking out Revision 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 (main) 05:23:10 > git config core.sparsecheckout # timeout=10 05:23:10 > git checkout -f 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 # timeout=10 05:23:11 Commit message: "Merge pull request #1326 from marcpfuller/mod-core-contracts-15" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:23:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:23:12 % Total % Received % Xferd Average Speed Time Time Time Current 05:23:12 Dload Upload Total Spent Left Speed 05:23:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 05:23:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:23:13 + + sudo tee /etc/docker/daemon.newsudo 05:23:13 jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:23:13 { 05:23:13 "registry-mirrors": [ 05:23:13 "https://nexus3.edgexfoundry.org:10001" 05:23:13 ], 05:23:13 "bip": "10.250.0.254/24", 05:23:13 "hosts": [ 05:23:13 "tcp://0.0.0.0:5555", 05:23:13 "unix:///var/run/docker.sock" 05:23:13 ], 05:23:13 "mtu": 1458, 05:23:13 "selinux-enabled": true, 05:23:13 "seccomp-profile": "/etc/docker/seccomp.json" 05:23:13 } [Pipeline] sh 05:23:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:23:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:23:32 provisioning config files... 05:23:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/160@tmp/config10893297373998578607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:23:32 ---> docker-login.sh 05:23:32 nexus3.edgexfoundry.org:10001 05:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:33 Configure a credential helper to remove this warning. See 05:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:33 05:23:33 Login Succeeded 05:23:33 nexus3.edgexfoundry.org:10002 05:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:33 Configure a credential helper to remove this warning. See 05:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:33 05:23:33 Login Succeeded 05:23:33 nexus3.edgexfoundry.org:10003 05:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:34 Configure a credential helper to remove this warning. See 05:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:34 05:23:34 Login Succeeded 05:23:34 nexus3.edgexfoundry.org:10004 05:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:34 Configure a credential helper to remove this warning. See 05:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:34 05:23:34 Login Succeeded 05:23:34 docker.io 05:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:23:35 Configure a credential helper to remove this warning. See 05:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:23:35 05:23:35 Login Succeeded 05:23:35 ---> docker-login.sh ends [Pipeline] } 05:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:23:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:23:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:23:36 ========================================================= 05:23:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:23:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:23:36 + 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:23:36 Sending build context to Docker daemon 5.632MB 05:23:36 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:23:36 Step 2/10 : FROM ${BASE} AS builder 05:23:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:23:36 9b18e9b68314: Pulling fs layer 05:23:36 35d82f9e3411: Pulling fs layer 05:23:36 e16973657156: Pulling fs layer 05:23:36 fc693d55d65f: Pulling fs layer 05:23:36 7e9fc2657dce: Pulling fs layer 05:23:36 dda99020689f: Pulling fs layer 05:23:36 db1c61fa0a46: Pulling fs layer 05:23:36 891c053d2c06: Pulling fs layer 05:23:36 dda99020689f: Waiting 05:23:36 db1c61fa0a46: Waiting 05:23:36 891c053d2c06: Waiting 05:23:36 fc693d55d65f: Waiting 05:23:36 7e9fc2657dce: Waiting 05:23:36 e16973657156: Verifying Checksum 05:23:36 e16973657156: Download complete 05:23:37 35d82f9e3411: Verifying Checksum 05:23:37 35d82f9e3411: Download complete 05:23:37 7e9fc2657dce: Verifying Checksum 05:23:37 7e9fc2657dce: Download complete 05:23:37 dda99020689f: Download complete 05:23:37 9b18e9b68314: Verifying Checksum 05:23:37 9b18e9b68314: Download complete 05:23:37 9b18e9b68314: Pull complete 05:23:38 35d82f9e3411: Pull complete 05:23:38 e16973657156: Pull complete 05:23:39 891c053d2c06: Verifying Checksum 05:23:39 891c053d2c06: Download complete 05:23:40 db1c61fa0a46: Verifying Checksum 05:23:40 db1c61fa0a46: Download complete 05:23:40 fc693d55d65f: Verifying Checksum 05:23:40 fc693d55d65f: Download complete 05:23:53 fc693d55d65f: Pull complete 05:23:53 7e9fc2657dce: Pull complete 05:23:53 dda99020689f: Pull complete 05:23:58 db1c61fa0a46: Pull complete 05:23:59 891c053d2c06: Pull complete 05:23:59 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 05:23:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:23:59 ---> f96f9c87975a 05:23:59 Step 3/10 : ARG MAKE=make build 05:24:02 ---> Running in e31f6381797b 05:24:02 Removing intermediate container e31f6381797b 05:24:02 ---> 465ee8b65efd 05:24:02 Step 4/10 : WORKDIR /device-sdk-go 05:24:02 ---> Running in e42ccb5c61c7 05:24:03 Removing intermediate container e42ccb5c61c7 05:24:03 ---> c75710853983 05:24:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:24:03 ---> Running in d8dd8aaff6cb 05:24:03 Removing intermediate container d8dd8aaff6cb 05:24:03 ---> bbb81523688f 05:24:03 Step 6/10 : RUN apk add --update --no-cache make git 05:24:03 ---> Running in 1fb4d54d3991 05:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:24:06 OK: 221 MiB in 51 packages 05:24:07 Removing intermediate container 1fb4d54d3991 05:24:07 ---> a8c9c71a7934 05:24:07 Step 7/10 : COPY go.mod vendor* ./ 05:24:08 ---> b8831ce14a5d 05:24:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:24:08 ---> Running in f15f5ea6a17a 05:25:30 Removing intermediate container f15f5ea6a17a 05:25:30 ---> 1c003481d851 05:25:30 Step 9/10 : COPY . . 05:25:30 ---> 2036cd09db06 05:25:30 Step 10/10 : RUN ${MAKE} 05:25:30 ---> Running in f469ec329d46 05:25:30 noop 05:25:30 Removing intermediate container f469ec329d46 05:25:30 ---> 30c9b44803ac 05:25:30 Successfully built 30c9b44803ac 05:25:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:30 + docker inspect -f . ci-base-image-arm64 05:25:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:30 prd-ubuntu20.04-docker-arm64-4c-16g-6377 does not seem to be running inside a container 05:25:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/160 -v /w/workspace/device-sdk-go/160:/w/workspace/device-sdk-go/160:rw,z -v /w/workspace/device-sdk-go/160@tmp:/w/workspace/device-sdk-go/160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:25:32 $ docker top 034d94479d5ec20106efbdda286ef466a443d58dcacaeab8adbb5980b789bc26 -eo pid,comm [Pipeline] { [Pipeline] sh 05:25:33 + go version 05:25:33 go version go1.18.7 linux/arm64 [Pipeline] } 05:25:33 $ docker stop --time=1 034d94479d5ec20106efbdda286ef466a443d58dcacaeab8adbb5980b789bc26 05:25:35 $ docker rm -f --volumes 034d94479d5ec20106efbdda286ef466a443d58dcacaeab8adbb5980b789bc26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:25:35 + docker inspect -f . ci-base-image-arm64 05:25:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:25:35 prd-ubuntu20.04-docker-arm64-4c-16g-6377 does not seem to be running inside a container 05:25:35 $ 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/160 -v /w/workspace/device-sdk-go/160:/w/workspace/device-sdk-go/160:rw,z -v /w/workspace/device-sdk-go/160@tmp:/w/workspace/device-sdk-go/160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:25:37 $ docker top 39f04f388f87b41a4266d3de5062e8770f47f73610aea0e7bab7f88fd1af97d1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:25:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/160 [Pipeline] fileExists [Pipeline] sh 05:25:38 + make test 05:25:38 go test -race -coverprofile=coverage.out ./... 05:26:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 05:28:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.308s coverage: 27.6% of statements 05:28:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 78.9% of statements 05:28:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 05:29:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.465s coverage: 77.8% of statements 05:29:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 05:29:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 05:29:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.591s coverage: 77.0% of statements 05:29:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 05:29:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 05:29:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 05:29:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.467s coverage: 65.2% of statements 05:29:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 05:29:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 05:29:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.435s coverage: 89.2% of statements 05:29:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 05:29:04 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.374s coverage: 4.7% of statements 05:29:04 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 05:29:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:29:05 GO111MODULE=on go vet ./... 05:30:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:30:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:30:41 ./bin/test-attribution-txt.sh [Pipeline] echo 05:30:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:30:41 $ docker stop --time=1 39f04f388f87b41a4266d3de5062e8770f47f73610aea0e7bab7f88fd1af97d1 05:30:43 $ docker rm -f --volumes 39f04f388f87b41a4266d3de5062e8770f47f73610aea0e7bab7f88fd1af97d1 [Pipeline] // withDockerContainer [Pipeline] sh 05:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:30:45 Warning: overwriting stash ‘coverage-report’ 05:30:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:30:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:30:46 + ls -al . 05:30:46 total 268 05:30:46 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 05:25 . 05:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:23 .. 05:30:46 -rw-rw-r-- 1 jenkins jenkins 140 Feb 17 05:23 .dockerignore 05:30:46 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 05:23 .git 05:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:23 .github 05:30:46 -rw-rw-r-- 1 jenkins jenkins 131 Feb 17 05:23 .gitignore 05:30:46 -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 05:23 .golangci.yml 05:30:46 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 17 05:23 CHANGELOG.md 05:30:46 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 05:23 GOVERNANCE.md 05:30:46 -rw-rw-r-- 1 jenkins jenkins 885 Feb 17 05:23 Jenkinsfile 05:30:46 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 17 05:23 LICENSE 05:30:46 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 17 05:23 Makefile 05:30:46 -rw-rw-r-- 1 jenkins jenkins 619 Feb 17 05:23 OWNERS.md 05:30:46 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 17 05:23 README.md 05:30:46 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 05:20 VERSION 05:30:46 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 05:23 bin 05:30:46 -rw-r--r-- 1 jenkins jenkins 98700 Feb 17 05:29 coverage.out 05:30:46 drwxrwxr-x 5 jenkins jenkins 4096 Feb 17 05:23 example 05:30:46 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 17 05:23 go.mod 05:30:46 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 17 05:23 go.sum 05:30:46 drwxrwxr-x 13 jenkins jenkins 4096 Feb 17 05:23 internal 05:30:46 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 05:23 openapi 05:30:46 drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 05:23 pkg 05:30:46 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 05:23 snap 05:30:46 -rw-rw-r-- 1 jenkins jenkins 222 Feb 17 05:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:30:46 + 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=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 --label arch=arm64 --label version=3.0.0-dev.30 . 05:30:46 Sending build context to Docker daemon 5.731MB 05:30:46 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:30:46 Step 2/23 : FROM ${BASE} AS builder 05:30:46 ---> 30c9b44803ac 05:30:46 Step 3/23 : ARG MAKE=make build 05:30:47 ---> Running in 83956246ea53 05:30:47 Removing intermediate container 83956246ea53 05:30:47 ---> 549ab173292e 05:30:47 Step 4/23 : WORKDIR /device-sdk-go 05:30:47 ---> Running in 87f34030738c 05:30:47 Removing intermediate container 87f34030738c 05:30:47 ---> 9a85280ed4cc 05:30:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:30:47 ---> Running in 823b6620888b 05:30:48 Removing intermediate container 823b6620888b 05:30:48 ---> 555243b5eeae 05:30:48 Step 6/23 : RUN apk add --update --no-cache make git 05:30:48 ---> Running in 49a3e908e704 05:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:30:50 OK: 221 MiB in 51 packages 05:30:51 Removing intermediate container 49a3e908e704 05:30:51 ---> fb43235fc15c 05:30:51 Step 7/23 : COPY go.mod vendor* ./ 05:30:52 ---> c55407f57589 05:30:52 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:30:52 ---> Running in 98f59f05151e 05:30:54 Removing intermediate container 98f59f05151e 05:30:54 ---> fc614ce6e2c2 05:30:54 Step 9/23 : COPY . . 05:30:56 ---> 963757c80c2a 05:30:56 Step 10/23 : RUN ${MAKE} 05:30:56 ---> Running in f6d6e6875c1e 05:30:57 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.30" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:33:03 Removing intermediate container f6d6e6875c1e 05:33:03 ---> f9d259d20bec 05:33:03 Step 11/23 : FROM alpine:3.16 05:33:03 3.16: Pulling from library/alpine 05:33:03 3760b48202b3: Pulling fs layer 05:33:04 3760b48202b3: Verifying Checksum 05:33:04 3760b48202b3: Download complete 05:33:04 3760b48202b3: Pull complete 05:33:04 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 05:33:04 Status: Downloaded newer image for alpine:3.16 05:33:04 ---> 4c81e5bf8899 05:33:04 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:33:04 ---> Running in 0247f999a0f1 05:33:05 Removing intermediate container 0247f999a0f1 05:33:05 ---> 5e39c524b278 05:33:05 Step 13/23 : RUN apk add --update --no-cache 05:33:05 ---> Running in 0f63e0b6c6f8 05:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:33:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:33:07 OK: 5 MiB in 14 packages 05:33:08 Removing intermediate container 0f63e0b6c6f8 05:33:08 ---> 207f89af44e6 05:33:08 Step 14/23 : WORKDIR / 05:33:08 ---> Running in abca6491b48e 05:33:08 Removing intermediate container abca6491b48e 05:33:08 ---> 77b5582952c5 05:33:08 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:33:09 ---> f01c05f25a69 05:33:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:33:10 ---> 63ba6752482f 05:33:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:33:10 ---> 445b323ae004 05:33:10 Step 18/23 : EXPOSE 59999 05:33:11 ---> Running in c33c6a48d035 05:33:11 Removing intermediate container c33c6a48d035 05:33:11 ---> 86e94d2d5a01 05:33:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:33:11 ---> Running in 6feaff331658 05:33:11 Removing intermediate container 6feaff331658 05:33:11 ---> 481f3cc77a12 05:33:11 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:33:12 ---> Running in 5022799293d9 05:33:12 Removing intermediate container 5022799293d9 05:33:12 ---> c9b031fa861a 05:33:12 Step 21/23 : LABEL arch=arm64 05:33:12 ---> Running in 7fb477756ae7 05:33:12 Removing intermediate container 7fb477756ae7 05:33:12 ---> 91c91b0eb0c1 05:33:12 Step 22/23 : LABEL git_sha=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 05:33:12 ---> Running in 8d4655db2999 05:33:12 Removing intermediate container 8d4655db2999 05:33:12 ---> 1f940278df13 05:33:12 Step 23/23 : LABEL version=3.0.0-dev.30 05:33:13 ---> Running in 71f632f8272a 05:33:13 Removing intermediate container 71f632f8272a 05:33:13 ---> 9622d7d9c310 05:33:13 [Warning] One or more build-args [ARCH] were not consumed 05:33:13 Successfully built 9622d7d9c310 05:33:13 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:33:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:13 05:33:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:14 arm64: Pulling from edgex-lftools-log-publisher 05:33:14 8998bd30e6a1: Pulling fs layer 05:33:14 04944245beec: Pulling fs layer 05:33:14 699f458cf7ca: Pulling fs layer 05:33:14 765212b225bb: Pulling fs layer 05:33:14 f23df028b6ca: Pulling fs layer 05:33:14 d65c8cfc05b1: Pulling fs layer 05:33:14 2437ff75d9bd: Pulling fs layer 05:33:14 765212b225bb: Waiting 05:33:14 f23df028b6ca: Waiting 05:33:14 d65c8cfc05b1: Waiting 05:33:14 2437ff75d9bd: Waiting 05:33:14 04944245beec: Verifying Checksum 05:33:14 04944245beec: Download complete 05:33:14 765212b225bb: Verifying Checksum 05:33:14 765212b225bb: Download complete 05:33:14 f23df028b6ca: Verifying Checksum 05:33:14 f23df028b6ca: Download complete 05:33:14 d65c8cfc05b1: Download complete 05:33:14 699f458cf7ca: Verifying Checksum 05:33:14 699f458cf7ca: Download complete 05:33:15 8998bd30e6a1: Verifying Checksum 05:33:15 8998bd30e6a1: Download complete 05:33:17 2437ff75d9bd: Verifying Checksum 05:33:19 8998bd30e6a1: Pull complete 05:33:19 04944245beec: Pull complete 05:33:20 699f458cf7ca: Pull complete 05:33:20 765212b225bb: Pull complete 05:33:21 f23df028b6ca: Pull complete 05:33:21 d65c8cfc05b1: Pull complete 05:33:33 2437ff75d9bd: Pull complete 05:33:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:33:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:33:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:34 prd-ubuntu20.04-docker-arm64-4c-16g-6377 does not seem to be running inside a container 05:33:34 $ 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/160 -v /w/workspace/device-sdk-go/160:/w/workspace/device-sdk-go/160:rw,z -v /w/workspace/device-sdk-go/160@tmp:/w/workspace/device-sdk-go/160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:33:36 $ docker top 9105e776506f0b90d1b3fcd2974401fa2f8400057da5079874abce35b73ea26d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:33:37 ---> job-cost.sh 05:33:37 lf-activate-venv: SKIPPING 05:33:37 INFO: No Stack... 05:33:37 INFO: Retrieving Pricing Info for: v3-standard-4 05:33:38 INFO: Archiving Costs [Pipeline] sh 05:33:39 + cat /w/workspace/device-sdk-go/160/archives/cost.csv 05:33:39 + cut -d, -f6 [Pipeline] lock 05:33:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] 05:33:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] did not exist. Created. 05:33:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:33:39 /w/workspace/device-sdk-go/160@tmp/durable-7e2546fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:33:40 + echo total: 0.10999999940395355 [Pipeline] stash 05:33:40 Warning: overwriting stash ‘stack-cost’ 05:33:40 Stashed 1 file(s) [Pipeline] } 05:33:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 05:33:40 $ docker stop --time=1 9105e776506f0b90d1b3fcd2974401fa2f8400057da5079874abce35b73ea26d 05:33:41 $ docker rm -f --volumes 9105e776506f0b90d1b3fcd2974401fa2f8400057da5079874abce35b73ea26d [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:33:42 provisioning config files... 05:33:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1328877179474268037tmp [Pipeline] { [Pipeline] sh 05:33:42 + set +x 05:33:42 + curl -s https://codecov.io/bash 05:33:42 + bash -s -- 05:33:42 05:33:42 _____ _ 05:33:42 / ____| | | 05:33:42 | | ___ __| | ___ ___ _____ __ 05:33:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:33:42 | |___| (_) | (_| | __/ (_| (_) \ V / 05:33:42 \_____\___/ \__,_|\___|\___\___/ \_/ 05:33:42 Bash-1.0.6 05:33:42 05:33:42 05:33:42 ==> git version 2.25.1 found 05:33:42 ==> 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:33:42 Release-Date: 2020-01-08 05:33:42 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:33:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:33:42 ==> Jenkins CI detected. 05:33:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:33:42 project root: . 05:33:42 --> token set from env 05:33:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:33:42 ==> Running gcov in . (disable via -X gcov) 05:33:42 ==> Python coveragepy not found 05:33:42 ==> Searching for coverage reports in: 05:33:42 + . 05:33:42 -> Found 1 reports 05:33:42 ==> Detecting git/mercurial file structure 05:33:42 ==> Reading reports 05:33:42 + ./coverage.out bytes=98700 05:33:42 ==> Appending adjustments 05:33:42 https://docs.codecov.io/docs/fixing-reports 05:33:42 + Found adjustments 05:33:42 ==> Gzipping contents 05:33:42 16K /tmp/codecov.FWHtHX.gz 05:33:42 ==> Uploading reports 05:33:42 url: https://codecov.io 05:33:42 query: branch=main&commit=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:33:42 -> Pinging Codecov 05:33:42 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=08f78b5e5c66dc01915b78c11f09bc0973b3e0c8&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:33:42 -> Uploading to 05:33:42 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/7E55EF52A471D76F132DFD9A03CDDE97/08f78b5e5c66dc01915b78c11f09bc0973b3e0c8/e0d90167-13cd-4b82-b60d-d1627ea385b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T053342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9ba5149fae787cbf6413608713f5a137076018da1424e6fd8c763b626fb5d7f 05:33:42 % Total % Received % Xferd Average Speed Time Time Time Current 05:33:42 Dload Upload Total Spent Left Speed 05:33:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14357 0 0 100 14357 0 52589 --:--:-- --:--:-- --:--:-- 52589 05:33:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] } 05:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:33:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:33:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:43 05:33:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:33:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:33:44 df9b9388f04a: Pulling fs layer 05:33:44 52dc419b0ee2: Pulling fs layer 05:33:44 25bc292e5bac: Pulling fs layer 05:33:44 114826534d7a: Pulling fs layer 05:33:44 4657fd5d0bcf: Pulling fs layer 05:33:44 114826534d7a: Waiting 05:33:44 6ad1cebc031e: Pulling fs layer 05:33:44 8a3aa393b2d8: Pulling fs layer 05:33:44 6ad1cebc031e: Waiting 05:33:44 25bc292e5bac: Verifying Checksum 05:33:44 25bc292e5bac: Download complete 05:33:44 52dc419b0ee2: Verifying Checksum 05:33:44 52dc419b0ee2: Download complete 05:33:44 4657fd5d0bcf: Verifying Checksum 05:33:44 4657fd5d0bcf: Download complete 05:33:44 df9b9388f04a: Download complete 05:33:44 df9b9388f04a: Pull complete 05:33:44 52dc419b0ee2: Pull complete 05:33:44 6ad1cebc031e: Verifying Checksum 05:33:44 6ad1cebc031e: Download complete 05:33:44 25bc292e5bac: Pull complete 05:33:45 114826534d7a: Verifying Checksum 05:33:45 114826534d7a: Download complete 05:33:45 8a3aa393b2d8: Verifying Checksum 05:33:45 8a3aa393b2d8: Download complete 05:33:48 114826534d7a: Pull complete 05:33:48 4657fd5d0bcf: Pull complete 05:33:48 6ad1cebc031e: Pull complete 05:33:51 8a3aa393b2d8: Pull complete 05:33:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:33:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:33:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:33:51 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:33:52 $ docker top 1a97435dff59526dcf1d416e4b785f3f140f0a1fdc82df50aa5cebff557563a8 -eo pid,comm [Pipeline] { [Pipeline] echo 05:33:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:33:53 + set -o pipefail 05:33:53 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:33:59 05:33:59 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 05:33:59 05:33:59 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/c8052985-4e44-492a-a1c7-a8c094ef6d29 05:33:59 05:33:59 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:33:59 05:33:59 05:33:59 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:33:59 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:33:59 More details here: https://snyk.co/ue1NS [Pipeline] } 05:33:59 $ docker stop --time=1 1a97435dff59526dcf1d416e4b785f3f140f0a1fdc82df50aa5cebff557563a8 05:34:01 $ docker rm -f --volumes 1a97435dff59526dcf1d416e4b785f3f140f0a1fdc82df50aa5cebff557563a8 [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:34:01 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:01 provisioning config files... 05:34:01 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10799281656861747219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:02 --> edgex-publish-swagger.sh 05:34:02 === Publish openapi/v3 API === 05:34:02 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 05:34:02 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 05:34:02 % Total % Received % Xferd Average Speed Time Time Time Current 05:34:02 Dload Upload Total Spent Left Speed 05:34:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25278 0 0 100 25278 0 40187 --:--:-- --:--:-- --:--:-- 40123 100 25278 0 0 100 25278 0 40123 --:--:-- --:--:-- --:--:-- 40060 05:34:02 05:34:02 [Pipeline] } 05:34:02 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:34:03 + git log --format=format:%s -1 08f78b5e5c66dc01915b78c11f09bc0973b3e0c8 [Pipeline] sh 05:34:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:34:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:34:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:03 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:34:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:34:04 $ docker top 122b8f7a2aec6cf10259956c26794903adf8fe1f31af841784090bd018039473 -eo pid,comm 05:34:04 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:34:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:04 [ssh-agent] Looking for ssh-agent implementation... 05:34:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:04 $ docker exec 122b8f7a2aec6cf10259956c26794903adf8fe1f31af841784090bd018039473 ssh-agent 05:34:04 SSH_AUTH_SOCK=/tmp/ssh-a1PwuI4JDUkN/agent.31 05:34:04 SSH_AGENT_PID=37 05:34:04 Running ssh-add (command line suppressed) 05:34:04 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11331071074842038626.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11331071074842038626.key) 05:34:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:04 + git semver tag 05:34:05 2023-02-17 05:34:05,115 [run_tag] DEBUG tag force:False 05:34:05 2023-02-17 05:34:05,115 [check_head_tag] DEBUG check head tag 05:34:05 2023-02-17 05:34:05,116 [execute] INFO git cat-file --batch-check 05:34:05 2023-02-17 05:34:05,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:34:05 2023-02-17 05:34:05,119 [execute] INFO git cat-file --batch 05:34:05 2023-02-17 05:34:05,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:34:05 2023-02-17 05:34:05,149 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:05 2023-02-17 05:34:05,149 [execute] INFO git tag -a v3.0.0-dev.30 -m v3.0.0-dev.30 05:34:05 2023-02-17 05:34:05,149 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.30', '-m', 'v3.0.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:34:05 2023-02-17 05:34:05,154 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:05 3.0.0-dev.30 [Pipeline] } 05:34:05 $ docker exec --env ******** --env ******** 122b8f7a2aec6cf10259956c26794903adf8fe1f31af841784090bd018039473 ssh-agent -k 05:34:05 unset SSH_AUTH_SOCK; 05:34:05 unset SSH_AGENT_PID; 05:34:05 echo Agent pid 37 killed; 05:34:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:05 + git semver [Pipeline] } 05:34:05 $ docker stop --time=1 122b8f7a2aec6cf10259956c26794903adf8fe1f31af841784090bd018039473 05:34:07 $ docker rm -f --volumes 122b8f7a2aec6cf10259956c26794903adf8fe1f31af841784090bd018039473 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:07 05:34:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:07 0.23.1-centos7: Pulling from edgex-lftools 05:34:07 ab5ef0e58194: Pulling fs layer 05:34:07 9712f1f96733: Pulling fs layer 05:34:07 63f879dbbcfc: Pulling fs layer 05:34:07 0d9ebad4ef96: Pulling fs layer 05:34:07 e9a5061849ea: Pulling fs layer 05:34:07 d747dcd14b5f: Pulling fs layer 05:34:07 2de7ff778b66: Pulling fs layer 05:34:07 e9a5061849ea: Waiting 05:34:07 d747dcd14b5f: Waiting 05:34:07 2de7ff778b66: Waiting 05:34:07 0d9ebad4ef96: Waiting 05:34:07 9712f1f96733: Verifying Checksum 05:34:07 9712f1f96733: Download complete 05:34:08 63f879dbbcfc: Verifying Checksum 05:34:08 63f879dbbcfc: Download complete 05:34:09 e9a5061849ea: Verifying Checksum 05:34:09 e9a5061849ea: Download complete 05:34:09 0d9ebad4ef96: Verifying Checksum 05:34:09 0d9ebad4ef96: Download complete 05:34:09 d747dcd14b5f: Verifying Checksum 05:34:09 d747dcd14b5f: Download complete 05:34:09 ab5ef0e58194: Verifying Checksum 05:34:09 ab5ef0e58194: Download complete 05:34:10 2de7ff778b66: Verifying Checksum 05:34:10 2de7ff778b66: Download complete 05:34:12 ab5ef0e58194: Pull complete 05:34:12 9712f1f96733: Pull complete 05:34:12 63f879dbbcfc: Pull complete 05:34:16 0d9ebad4ef96: Pull complete 05:34:16 e9a5061849ea: Pull complete 05:34:16 d747dcd14b5f: Pull complete 05:34:17 2de7ff778b66: Pull complete 05:34:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:34:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:17 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:34:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:34:19 $ docker top 14cea9bb3b2450a48b67e8d23241f3e2377fcff03104d9b92e207c0b710a950f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:34:19 provisioning config files... 05:34:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16214120352515587204tmp 05:34:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8509256791952250678tmp 05:34:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15343869509932650330tmp [Pipeline] { [Pipeline] echo 05:34:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:34:19 ---> sigul-configuration.sh 05:34:19 gpg: directory `/root/.gnupg' created 05:34:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:34:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:34:19 gpg: keyring `/root/.gnupg/secring.gpg' created 05:34:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:34:19 gpg: CAST5 encrypted data 05:34:19 gpg: encrypted with 1 passphrase 05:34:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:34:20 + mkdir /home/jenkins 05:34:20 + mkdir /home/jenkins/sigul [Pipeline] sh 05:34:20 + 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:34:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:34:20 ---> sigul-install.sh 05:34:20 Sigul already installed; skipping installation. [Pipeline] sh 05:34:20 + git tag --list 05:34:20 0.7.1 05:34:20 delhi-tag 05:34:20 v1.0.0 05:34:20 v1.1.0 05:34:20 v1.1.1 05:34:20 v1.1.2 05:34:20 v1.2.0 05:34:20 v1.2.1 05:34:20 v1.2.2 05:34:20 v1.2.3 05:34:20 v1.3.0 05:34:20 v1.4.0 05:34:20 v2.0.0 05:34:20 v2.1.0 05:34:20 v2.1.1 05:34:20 v2.1.1-dev.2 05:34:20 v2.1.1-dev.3 05:34:20 v2.2.0 05:34:20 v2.2.1-dev.1 05:34:20 v2.2.1-dev.10 05:34:20 v2.2.1-dev.11 05:34:20 v2.2.1-dev.12 05:34:20 v2.2.1-dev.13 05:34:20 v2.2.1-dev.14 05:34:20 v2.2.1-dev.2 05:34:20 v2.2.1-dev.3 05:34:20 v2.2.1-dev.4 05:34:20 v2.2.1-dev.5 05:34:20 v2.2.1-dev.6 05:34:20 v2.2.1-dev.7 05:34:20 v2.2.1-dev.8 05:34:20 v2.2.1-dev.9 05:34:20 v2.3.0 05:34:20 v2.3.0-dev.14 05:34:20 v2.3.0-dev.15 05:34:20 v2.3.0-dev.16 05:34:20 v2.3.0-dev.17 05:34:20 v2.3.0-dev.18 05:34:20 v2.3.0-dev.19 05:34:20 v2.3.0-dev.20 05:34:20 v2.3.0-dev.21 05:34:20 v2.3.0-dev.22 05:34:20 v2.3.0-dev.23 05:34:20 v2.3.0-dev.24 05:34:20 v2.3.0-dev.25 05:34:20 v2.3.0-dev.26 05:34:20 v2.3.0-dev.27 05:34:20 v2.3.0-dev.28 05:34:20 v2.3.0-dev.29 05:34:20 v2.3.0-dev.30 05:34:20 v2.3.0-dev.31 05:34:20 v2.3.0-dev.32 05:34:20 v2.3.0-dev.33 05:34:20 v2.3.0-dev.34 05:34:20 v2.3.0-dev.35 05:34:20 v2.3.0-dev.36 05:34:20 v2.3.0-dev.37 05:34:20 v2.3.0-dev.38 05:34:20 v2.3.0-dev.39 05:34:20 v2.3.0-dev.40 05:34:20 v2.3.0-dev.41 05:34:20 v2.3.0-dev.42 05:34:20 v2.3.0-dev.43 05:34:20 v2.3.0-dev.44 05:34:20 v2.3.0-dev.45 05:34:20 v2.3.0-dev.46 05:34:20 v2.3.0-dev.47 05:34:20 v2.3.0-dev.48 05:34:20 v2.3.0-dev.49 05:34:20 v2.3.0-dev.50 05:34:20 v2.3.0-dev.51 05:34:20 v2.3.1-dev.1 05:34:20 v2.3.1-dev.2 05:34:20 v3.0.0-dev.1 05:34:20 v3.0.0-dev.10 05:34:20 v3.0.0-dev.11 05:34:20 v3.0.0-dev.12 05:34:20 v3.0.0-dev.13 05:34:20 v3.0.0-dev.14 05:34:20 v3.0.0-dev.15 05:34:20 v3.0.0-dev.16 05:34:20 v3.0.0-dev.17 05:34:20 v3.0.0-dev.18 05:34:20 v3.0.0-dev.19 05:34:20 v3.0.0-dev.2 05:34:20 v3.0.0-dev.20 05:34:20 v3.0.0-dev.21 05:34:20 v3.0.0-dev.22 05:34:20 v3.0.0-dev.23 05:34:20 v3.0.0-dev.24 05:34:20 v3.0.0-dev.25 05:34:20 v3.0.0-dev.26 05:34:20 v3.0.0-dev.27 05:34:20 v3.0.0-dev.28 05:34:20 v3.0.0-dev.29 05:34:20 v3.0.0-dev.3 05:34:20 v3.0.0-dev.30 05:34:20 v3.0.0-dev.4 05:34:20 v3.0.0-dev.5 05:34:20 v3.0.0-dev.6 05:34:20 v3.0.0-dev.7 05:34:20 v3.0.0-dev.8 05:34:20 v3.0.0-dev.9 [Pipeline] sh 05:34:21 + lftools sign git-tag v3.0.0-dev.30 05:34:21 Signing Git tag with Sigul... 05:34:21 Signing v3.0.0-dev.30 [Pipeline] echo 05:34:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:34:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:34:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:34:22 $ docker stop --time=1 14cea9bb3b2450a48b67e8d23241f3e2377fcff03104d9b92e207c0b710a950f 05:34:23 $ docker rm -f --volumes 14cea9bb3b2450a48b67e8d23241f3e2377fcff03104d9b92e207c0b710a950f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:34:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:34:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:34:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:24 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:34:24 $ docker top b7c1d40ddf1aabbcf4a1b1302d699c0f7ee29c9d05fb0fb7270d079a4de373fc -eo pid,comm 05:34:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:34:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:24 [ssh-agent] Looking for ssh-agent implementation... 05:34:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:24 $ docker exec b7c1d40ddf1aabbcf4a1b1302d699c0f7ee29c9d05fb0fb7270d079a4de373fc ssh-agent 05:34:25 SSH_AUTH_SOCK=/tmp/ssh-Ca0iVlprL85V/agent.33 05:34:25 SSH_AGENT_PID=39 05:34:25 Running ssh-add (command line suppressed) 05:34:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6561571855657061655.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6561571855657061655.key) 05:34:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:25 + git semver bump pre 05:34:25 2023-02-17 05:34:25,626 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:25 2023-02-17 05:34:25,626 [bump_version] DEBUG bumping version:3.0.0-dev.30 on axis:pre with prefix:dev 05:34:25 2023-02-17 05:34:25,626 [bump_version] DEBUG bumped version:3.0.0-dev.31 05:34:25 2023-02-17 05:34:25,626 [write_version] DEBUG write version:3.0.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:34:25 2023-02-17 05:34:25,626 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:25 2023-02-17 05:34:25,626 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:25 2023-02-17 05:34:25,628 [execute] INFO git cat-file --batch-check 05:34:25 2023-02-17 05:34:25,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:34:25 2023-02-17 05:34:25,633 [execute] INFO git cat-file --batch 05:34:25 2023-02-17 05:34:25,633 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:34:25 2023-02-17 05:34:25,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:25 3.0.0-dev.31 [Pipeline] } 05:34:25 $ docker exec --env ******** --env ******** b7c1d40ddf1aabbcf4a1b1302d699c0f7ee29c9d05fb0fb7270d079a4de373fc ssh-agent -k 05:34:25 unset SSH_AUTH_SOCK; 05:34:25 unset SSH_AGENT_PID; 05:34:25 echo Agent pid 39 killed; 05:34:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:26 + git semver [Pipeline] } 05:34:26 $ docker stop --time=1 b7c1d40ddf1aabbcf4a1b1302d699c0f7ee29c9d05fb0fb7270d079a4de373fc 05:34:27 $ docker rm -f --volumes b7c1d40ddf1aabbcf4a1b1302d699c0f7ee29c9d05fb0fb7270d079a4de373fc [Pipeline] // withDockerContainer [Pipeline] sh 05:34:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:34:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:28 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:34:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:34:28 $ docker top 781c3fb3738fcf2402775b4a7927e78afac2d6b5f7b0f052f5e638a8e5d46c9c -eo pid,comm 05:34:28 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:34:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:34:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:34:28 [ssh-agent] Looking for ssh-agent implementation... 05:34:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:34:28 $ docker exec 781c3fb3738fcf2402775b4a7927e78afac2d6b5f7b0f052f5e638a8e5d46c9c ssh-agent 05:34:29 SSH_AUTH_SOCK=/tmp/ssh-yZCalyx4P40v/agent.32 05:34:29 SSH_AGENT_PID=38 05:34:29 Running ssh-add (command line suppressed) 05:34:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16633112189956038990.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16633112189956038990.key) 05:34:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:34:29 + git semver push 05:34:29 2023-02-17 05:34:29,584 [run_push] DEBUG push 05:34:29 2023-02-17 05:34:29,585 [execute] INFO git cat-file --batch-check 05:34:29 2023-02-17 05:34:29,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:34:29 2023-02-17 05:34:29,589 [execute] INFO git rev-list 2e4240726bf6edb187b7301c87938be53bf0535f -- 05:34:29 2023-02-17 05:34:29,589 [execute] DEBUG Popen(['git', 'rev-list', '2e4240726bf6edb187b7301c87938be53bf0535f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:34:29 2023-02-17 05:34:29,600 [execute] INFO git fetch -v origin 05:34:29 2023-02-17 05:34:29,601 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:34:30 2023-02-17 05:34:30,154 [run_push] DEBUG no remote changes detected 05:34:30 2023-02-17 05:34:30,155 [execute] INFO git push origin semver 05:34:30 2023-02-17 05:34:30,155 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:34:31 2023-02-17 05:34:30,980 [run_push] DEBUG push all version tags 05:34:31 2023-02-17 05:34:30,980 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:34:31 2023-02-17 05:34:30,981 [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:34:32 2023-02-17 05:34:31,863 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:34:32 3.0.0-dev.31 [Pipeline] } 05:34:32 $ docker exec --env ******** --env ******** 781c3fb3738fcf2402775b4a7927e78afac2d6b5f7b0f052f5e638a8e5d46c9c ssh-agent -k 05:34:32 unset SSH_AUTH_SOCK; 05:34:32 unset SSH_AGENT_PID; 05:34:32 echo Agent pid 38 killed; 05:34:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:34:32 + git semver [Pipeline] } 05:34:32 $ docker stop --time=1 781c3fb3738fcf2402775b4a7927e78afac2d6b5f7b0f052f5e638a8e5d46c9c 05:34:34 $ docker rm -f --volumes 781c3fb3738fcf2402775b4a7927e78afac2d6b5f7b0f052f5e638a8e5d46c9c [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:34:34 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:34:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:34:34 total 16 05:34:34 drwxr-xr-x 3 root root 4096 Feb 17 05:22 . 05:34:34 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:34 .. 05:34:34 drwxr-xr-x 2 root root 4096 Feb 17 05:22 cost 05:34:34 -rw-r--r-- 1 root root 85 Feb 17 05:22 cost.csv 05:34:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:34:34 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:34:34 total 16 05:34:34 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 05:22 . 05:34:34 drwxrwxr-x 12 jenkins jenkins 4096 Feb 17 05:34 .. 05:34:34 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 05:22 cost 05:34:34 -rw-r--r-- 1 jenkins jenkins 85 Feb 17 05:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:34:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:34:35 ---> package-listing.sh 05:34:35 ++ facter osfamily 05:34:35 ++ tr '[:upper:]' '[:lower:]' 05:34:35 + OS_FAMILY=debian 05:34:35 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:34:35 + START_PACKAGES=/tmp/packages_start.txt 05:34:35 + END_PACKAGES=/tmp/packages_end.txt 05:34:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:34:35 + PACKAGES=/tmp/packages_start.txt 05:34:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:34:35 + PACKAGES=/tmp/packages_end.txt 05:34:35 + case "${OS_FAMILY}" in 05:34:35 + dpkg -l 05:34:35 + grep '^ii' 05:34:35 + '[' -f /tmp/packages_start.txt ']' 05:34:35 + '[' -f /tmp/packages_end.txt ']' 05:34:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:34:35 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:34:35 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:34:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:34:35 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:34:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:34:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:34:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:34:36 prd-ubuntu20.04-docker-8c-8g-6372 does not seem to be running inside a container 05:34:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:34:36 $ docker top 1b814a4ea66a64c2491df4f32de2e7ee4277112cf536e296fe02338e80d6f929 -eo pid,comm [Pipeline] { [Pipeline] sh 05:34:37 + touch /tmp/pre-build-complete [Pipeline] sh 05:34:37 + mkdir -p /var/log/sysstat [Pipeline] sh 05:34:37 + ls /var/log/sa-host 05:34:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:37 provisioning config files... 05:34:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10347408593972175267tmp [Pipeline] { [Pipeline] echo 05:34:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:34:38 ---> create-netrc.sh [Pipeline] } 05:34:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:34:38 ---> python-tools-install.sh [Pipeline] echo 05:34:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:34:38 ---> sudo-logs.sh 05:34:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:34:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:34:39 ---> job-cost.sh 05:34:39 lf-activate-venv: SKIPPING 05:34:39 DEBUG: total: 0.2199999988079071 05:34:39 INFO: Retrieving Stack Cost... 05:34:40 INFO: Retrieving Pricing Info for: v3-standard-8 05:34:40 INFO: Archiving Costs [Pipeline] echo 05:34:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:34:40 ---> logs-deploy.sh 05:34:40 lf-activate-venv: SKIPPING 05:34:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/160 05:34:40 INFO: archiving workspace using pattern(s): 05:34:41 Archives upload complete. 05:34:41 INFO: archiving logs to Nexus