Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 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-ssh3675825238012963278.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-ssh10195532131364309826.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-ssh9543400145760788084.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-ssh12816841766236412093.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-ssh18039348303687177639.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9877 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 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 Commit message: "Merge pull request #1356 from hahattan/issue-1271" > git rev-list --no-walk 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:25:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:25:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:25:02 ========================================================= 13:25:02 EdgeX Global Pipelines Version Info 13:25:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:25:02 ------------------- 13:25:02 stable info: 13:25:02 ------------------- 13:25:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:25:02 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:25:02 Message: update stable to v1.0.244 13:25:03 ------------------- 13:25:03 experimental info: 13:25:03 ------------------- 13:25:03 Commited By: **** collab-it+edgex@linuxfoundation.org 13:25:03 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 13:25:03 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:25:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2dcc4a6 [Pipeline] echo 13:25:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:25:04 provisioning config files... 13:25:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9588534713448107320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:04 ---> docker-login.sh 13:25:04 nexus3.edgexfoundry.org:10001 13:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:04 Configure a credential helper to remove this warning. See 13:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:04 13:25:04 Login Succeeded 13:25:04 nexus3.edgexfoundry.org:10002 13:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:04 Configure a credential helper to remove this warning. See 13:25:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:04 13:25:04 Login Succeeded 13:25:04 nexus3.edgexfoundry.org:10003 13:25:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:05 Configure a credential helper to remove this warning. See 13:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:05 13:25:05 Login Succeeded 13:25:05 nexus3.edgexfoundry.org:10004 13:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:05 Configure a credential helper to remove this warning. See 13:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:05 13:25:05 Login Succeeded 13:25:05 docker.io 13:25:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:05 Configure a credential helper to remove this warning. See 13:25:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:05 13:25:05 Login Succeeded 13:25:05 ---> docker-login.sh ends [Pipeline] } 13:25:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:25:05 + git rev-list -1 --merges 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616~1..2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo 13:25:05 -----------> git rev-list -1 --merges 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616~1..2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 13:25:05 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [false] [Pipeline] sh 13:25:06 + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo 13:25:06 ========================================================= 13:25:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:25:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:25:06 + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] echo 13:25:06 [semverPrep] GIT_COMMIT: 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616, Commit Message: Merge pull request #1356 from hahattan/issue-1271 [Pipeline] echo 13:25:06 [semverPrep] This is not a build commit. [Pipeline] sh 13:25:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:25:06 + grep -v github /etc/ssh/ssh_known_hosts 13:25:06 + [ -e /tmp/ssh_known_hosts ] 13:25:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:25:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:25:06 + sudo tee -a /etc/ssh/ssh_known_hosts 13:25:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:07 13:25:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:07 0.1.4: Pulling from edgex-devops/py-git-semver 13:25:07 b85a868b505f: Pulling fs layer 13:25:07 e2be974225ed: Pulling fs layer 13:25:07 339a4e72a1f5: Pulling fs layer 13:25:07 988bab9f4d93: Pulling fs layer 13:25:07 1469e6f7b9e6: Pulling fs layer 13:25:07 988bab9f4d93: Waiting 13:25:07 eaf3925da568: Pulling fs layer 13:25:07 bab4dde63d76: Pulling fs layer 13:25:07 bde34c3a00c8: Pulling fs layer 13:25:07 1469e6f7b9e6: Waiting 13:25:07 eaf3925da568: Waiting 13:25:07 bab4dde63d76: Waiting 13:25:07 b352a97aabf1: Pulling fs layer 13:25:07 4872d77fe225: Pulling fs layer 13:25:07 b352a97aabf1: Waiting 13:25:07 5851b861e8e6: Pulling fs layer 13:25:07 4872d77fe225: Waiting 13:25:07 e2be974225ed: Verifying Checksum 13:25:07 e2be974225ed: Download complete 13:25:07 988bab9f4d93: Verifying Checksum 13:25:07 988bab9f4d93: Download complete 13:25:07 1469e6f7b9e6: Verifying Checksum 13:25:07 1469e6f7b9e6: Download complete 13:25:07 339a4e72a1f5: Verifying Checksum 13:25:07 339a4e72a1f5: Download complete 13:25:07 eaf3925da568: Verifying Checksum 13:25:07 eaf3925da568: Download complete 13:25:07 bde34c3a00c8: Download complete 13:25:07 b352a97aabf1: Download complete 13:25:07 4872d77fe225: Verifying Checksum 13:25:07 4872d77fe225: Download complete 13:25:07 5851b861e8e6: Verifying Checksum 13:25:07 5851b861e8e6: Download complete 13:25:07 b85a868b505f: Verifying Checksum 13:25:07 b85a868b505f: Download complete 13:25:08 bab4dde63d76: Verifying Checksum 13:25:08 bab4dde63d76: Download complete 13:25:09 b85a868b505f: Pull complete 13:25:09 e2be974225ed: Pull complete 13:25:09 339a4e72a1f5: Pull complete 13:25:09 988bab9f4d93: Pull complete 13:25:10 1469e6f7b9e6: Pull complete 13:25:10 eaf3925da568: Pull complete 13:25:12 bab4dde63d76: Pull complete 13:25:12 bde34c3a00c8: Pull complete 13:25:12 b352a97aabf1: Pull complete 13:25:12 4872d77fe225: Pull complete 13:25:12 5851b861e8e6: Pull complete 13:25:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:25:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:25:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:25:12 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:25:14 $ docker top 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 -eo pid,comm 13:25:14 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). 13:25:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:25:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:25:14 [ssh-agent] Looking for ssh-agent implementation... 13:25:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:25:15 $ docker exec 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent 13:25:15 SSH_AUTH_SOCK=/tmp/ssh-sKWKOtcRtjWn/agent.31 13:25:15 SSH_AGENT_PID=37 13:25:15 Running ssh-add (command line suppressed) 13:25:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9733695413186960086.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9733695413186960086.key) 13:25:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:25:15 + git tag --points-at HEAD [Pipeline] } 13:25:15 $ docker exec --env ******** --env ******** 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent -k 13:25:15 unset SSH_AUTH_SOCK; 13:25:15 unset SSH_AGENT_PID; 13:25:15 echo Agent pid 37 killed; 13:25:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:25:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:25:15 [ssh-agent] Looking for ssh-agent implementation... 13:25:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:25:15 $ docker exec 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent 13:25:15 SSH_AUTH_SOCK=/tmp/ssh-LXY1d4BgK9kz/agent.69 13:25:15 SSH_AGENT_PID=75 13:25:15 Running ssh-add (command line suppressed) 13:25:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10521673511038401604.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10521673511038401604.key) 13:25:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:25:16 + git semver init 13:25:16 2023-03-13 13:25:16,516 [run_init] DEBUG init version:0.0.0 force:False 13:25:16 2023-03-13 13:25:16,517 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:25:16 2023-03-13 13:25:16,518 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:25:16 2023-03-13 13:25:16,518 [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) 13:25:17 2023-03-13 13:25:17,398 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 13:25:17 2023-03-13 13:25:17,399 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 13:25:17 2023-03-13 13:25:17,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:25:17 2023-03-13 13:25:17,399 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:25:17 3.0.0-dev.51 [Pipeline] } 13:25:17 $ docker exec --env ******** --env ******** 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 ssh-agent -k 13:25:17 unset SSH_AUTH_SOCK; 13:25:17 unset SSH_AGENT_PID; 13:25:17 echo Agent pid 75 killed; 13:25:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:25:17 + git semver [Pipeline] } 13:25:18 $ docker stop --time=1 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 13:25:19 $ docker rm -f --volumes 5f38aa2b9777bb00a4bd31bc7b86d5c0216dd11e4c3d2ddd3dfd5ec1313f9606 [Pipeline] // withDockerContainer [Pipeline] sh 13:25:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:25:20 Stashed 1 file(s) [Pipeline] echo 13:25:20 [edgeXSemver]: initialized semver on version 3.0.0-dev.51 [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 13:25:20 provisioning config files... 13:25:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16744673562705196900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:25:20 ---> docker-login.sh 13:25:20 nexus3.edgexfoundry.org:10001 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10002 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10003 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 nexus3.edgexfoundry.org:10004 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:20 Configure a credential helper to remove this warning. See 13:25:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:20 13:25:20 Login Succeeded 13:25:20 docker.io 13:25:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:25:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:25:21 Configure a credential helper to remove this warning. See 13:25:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:25:21 13:25:21 Login Succeeded 13:25:21 ---> docker-login.sh ends [Pipeline] } 13:25:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:25:21 ========================================================= 13:25:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:25:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:25:21 + 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 . 13:25:21 Sending build context to Docker daemon 10.74MB 13:25:21 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:25:21 Step 2/10 : FROM ${BASE} AS builder 13:25:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:25:21 213ec9aee27d: Pulling fs layer 13:25:21 4583459ba037: Pulling fs layer 13:25:21 93c1e223e6f2: Pulling fs layer 13:25:21 53926ce57604: Pulling fs layer 13:25:21 21b2b0c7a3f4: Pulling fs layer 13:25:21 22ff95d597cd: Pulling fs layer 13:25:21 12d6caf4c0d1: Pulling fs layer 13:25:21 96b7cbca73a9: Pulling fs layer 13:25:21 a7acece74701: Pulling fs layer 13:25:21 53926ce57604: Waiting 13:25:21 21b2b0c7a3f4: Waiting 13:25:21 22ff95d597cd: Waiting 13:25:21 12d6caf4c0d1: Waiting 13:25:21 96b7cbca73a9: Waiting 13:25:21 a7acece74701: Waiting 13:25:21 93c1e223e6f2: Verifying Checksum 13:25:21 93c1e223e6f2: Download complete 13:25:21 4583459ba037: Download complete 13:25:21 21b2b0c7a3f4: Verifying Checksum 13:25:21 21b2b0c7a3f4: Download complete 13:25:21 22ff95d597cd: Verifying Checksum 13:25:21 22ff95d597cd: Download complete 13:25:21 213ec9aee27d: Verifying Checksum 13:25:21 213ec9aee27d: Download complete 13:25:21 12d6caf4c0d1: Download complete 13:25:21 213ec9aee27d: Pull complete 13:25:22 4583459ba037: Pull complete 13:25:22 93c1e223e6f2: Pull complete 13:25:22 a7acece74701: Verifying Checksum 13:25:22 a7acece74701: Download complete 13:25:22 96b7cbca73a9: Verifying Checksum 13:25:22 96b7cbca73a9: Download complete 13:25:22 53926ce57604: Verifying Checksum 13:25:22 53926ce57604: Download complete 13:25:25 53926ce57604: Pull complete 13:25:25 21b2b0c7a3f4: Pull complete 13:25:26 22ff95d597cd: Pull complete 13:25:26 12d6caf4c0d1: Pull complete 13:25:27 96b7cbca73a9: Pull complete 13:25:28 a7acece74701: Pull complete 13:25:28 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 13:25:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:25:28 ---> db6d94c90886 13:25:28 Step 3/10 : ARG MAKE=make build 13:25:32 ---> Running in e1ba3a765b28 13:25:32 Removing intermediate container e1ba3a765b28 13:25:32 ---> 4cc452ea2a69 13:25:32 Step 4/10 : WORKDIR /device-sdk-go 13:25:32 ---> Running in 21bf14b78507 13:25:32 Removing intermediate container 21bf14b78507 13:25:32 ---> 8490235d7aab 13:25:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:25:32 ---> Running in 55d73916b0a2 13:25:32 Removing intermediate container 55d73916b0a2 13:25:32 ---> f70b18bf07a1 13:25:32 Step 6/10 : RUN apk add --update --no-cache make git 13:25:32 ---> Running in 372b71ae8766 13:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:25:33 OK: 211 MiB in 51 packages 13:25:33 Removing intermediate container 372b71ae8766 13:25:33 ---> f343e581b344 13:25:33 Step 7/10 : COPY go.mod vendor* ./ 13:25:33 ---> 38b09f5edf3e 13:25:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:25:33 ---> Running in 5988067b78d1 13:25:35 Still waiting to schedule task 13:25:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:26:12 Removing intermediate container 5988067b78d1 13:26:12 ---> 4611c6559f55 13:26:12 Step 9/10 : COPY . . 13:26:12 ---> a1fb355155d9 13:26:12 Step 10/10 : RUN ${MAKE} 13:26:12 ---> Running in bdc1b949d709 13:26:12 noop 13:26:12 Removing intermediate container bdc1b949d709 13:26:12 ---> b07dbac2b2d7 13:26:12 Successfully built b07dbac2b2d7 13:26:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:12 + docker inspect -f . ci-base-image-x86_64 13:26:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:12 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:26:13 $ docker top ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:13 + go version 13:26:13 go version go1.18.7 linux/amd64 [Pipeline] } 13:26:13 $ docker stop --time=1 ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 13:26:14 $ docker rm -f --volumes ac2f45afdffdd06c61a5c59eca6b345288d29916e61d76895f2a8513d4d95268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:15 + docker inspect -f . ci-base-image-x86_64 13:26:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:15 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:26:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:26:15 $ docker top 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa -eo pid,comm [Pipeline] { [Pipeline] sh 13:26:15 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 13:26:16 + make test 13:26:16 go test -race -coverprofile=coverage.out ./... 13:26:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.074s coverage: 27.6% of statements 13:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.075s coverage: 78.9% of statements 13:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.123s coverage: 86.0% of statements 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:26:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.128s coverage: 75.9% of statements 13:26:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:26:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.2% of statements 13:26:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:26:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.104s coverage: 65.2% of statements 13:26:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:26:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:26:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.781s coverage: 89.2% of statements 13:26:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.5% of statements 13:26:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:26:53 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." 13:26:53 GO111MODULE=on go vet ./... 13:26:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:26:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:26:57 ./bin/test-attribution-txt.sh [Pipeline] echo 13:26:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:26:57 $ docker stop --time=1 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa 13:27:00 $ docker rm -f --volumes 338a801730eeeaf80fddbff1fe03be6c703e2c9a6896938e56f5fafe1dfa17aa [Pipeline] // withDockerContainer [Pipeline] sh 13:27:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:27:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:27:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:27:01 + ls -al . 13:27:01 total 280 13:27:01 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 13:26 . 13:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:25 .. 13:27:01 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 13:25 .dockerignore 13:27:01 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:26 .git 13:27:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:25 .github 13:27:01 -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 13:25 .gitignore 13:27:01 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 13:25 .golangci.yml 13:27:01 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:25 .semver 13:27:01 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 13:25 CHANGELOG.md 13:27:01 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:25 GOVERNANCE.md 13:27:01 -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 13:25 Jenkinsfile 13:27:01 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 13:25 LICENSE 13:27:01 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 13:25 Makefile 13:27:01 -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 13:25 OWNERS.md 13:27:01 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 13:25 README.md 13:27:01 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:25 VERSION 13:27:01 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:25 bin 13:27:01 -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 13:26 coverage.out 13:27:01 drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 13:25 example 13:27:01 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 13:25 go.mod 13:27:01 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 13:25 go.sum 13:27:01 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:25 internal 13:27:01 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:25 openapi 13:27:01 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 13:25 pkg 13:27:01 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:25 snap 13:27:01 -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:02 + 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=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 --label arch=amd64 --label version=3.0.0-dev.51 . 13:27:02 Sending build context to Docker daemon 10.85MB 13:27:02 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:27:02 Step 2/23 : FROM ${BASE} AS builder 13:27:02 ---> b07dbac2b2d7 13:27:02 Step 3/23 : ARG MAKE=make build 13:27:02 ---> Running in d474a8f65b72 13:27:02 Removing intermediate container d474a8f65b72 13:27:02 ---> ac7301af716d 13:27:02 Step 4/23 : WORKDIR /device-sdk-go 13:27:02 ---> Running in 00fcbb8f3465 13:27:02 Removing intermediate container 00fcbb8f3465 13:27:02 ---> 3d90657a9eb4 13:27:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:27:02 ---> Running in 7af1839e07d5 13:27:02 Removing intermediate container 7af1839e07d5 13:27:02 ---> 2ee7e7d5d205 13:27:02 Step 6/23 : RUN apk add --update --no-cache make git 13:27:02 ---> Running in b9fc2ba6274e 13:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:27:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:27:03 OK: 211 MiB in 51 packages 13:27:03 Removing intermediate container b9fc2ba6274e 13:27:03 ---> 13e3ac7d6810 13:27:03 Step 7/23 : COPY go.mod vendor* ./ 13:27:03 ---> 703490fc5dfc 13:27:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:27:03 ---> Running in 216f434c2090 13:27:04 Removing intermediate container 216f434c2090 13:27:04 ---> 756506dfeded 13:27:04 Step 9/23 : COPY . . 13:27:05 ---> 18d9b0aa0757 13:27:05 Step 10/23 : RUN ${MAKE} 13:27:05 ---> Running in 61b9b67b2767 13:27:05 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.51" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:27:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9878 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 13:27:13 Running in /w/workspace/device-sdk-go/181 [Pipeline] { [Pipeline] checkout 13:27:13 The recommended git tool is: git 13:27:19 using credential edgex-jenkins-ssh 13:27:19 Cloning the remote Git repository 13:27:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:27:19 > git init /w/workspace/device-sdk-go/181 # timeout=10 13:27:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:27:19 > git --version # timeout=10 13:27:19 > git --version # 'git version 2.25.1' 13:27:19 using GIT_SSH to set credentials SSH Credentials for GitHub 13:27:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:27:22 Avoid second fetch 13:27:22 Checking out Revision 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 (main) 13:27:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:27:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:27:22 > git config core.sparsecheckout # timeout=10 13:27:22 > git checkout -f 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 # timeout=10 13:27:22 Commit message: "Merge pull request #1356 from hahattan/issue-1271" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:27:23 Removing intermediate container 61b9b67b2767 13:27:23 ---> 1a314ff4ed9f 13:27:23 Step 11/23 : FROM alpine:3.16 13:27:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:27:23 % Total % Received % Xferd Average Speed Time Time Time Current 13:27:23 Dload Upload Total Spent Left Speed 13:27:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82798 0 --:--:-- --:--:-- --:--:-- 82798 13:27:23 3.16: Pulling from library/alpine 13:27:23 ef5531b6e74e: Pulling fs layer [Pipeline] sh 13:27:24 ef5531b6e74e: Verifying Checksum 13:27:24 ef5531b6e74e: Download complete 13:27:24 ef5531b6e74e: Pull complete 13:27:24 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:27:24 Status: Downloaded newer image for alpine:3.16 13:27:24 ---> dfd21b5a31f5 13:27:24 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:27:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:27:24 ---> Running in eedd856ae404 13:27:24 Removing intermediate container eedd856ae404 13:27:24 ---> 1557a8dbadcc 13:27:24 Step 13/23 : RUN apk add --update --no-cache 13:27:24 ---> Running in 18adf9335817 13:27:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:27:24 + sudo tee /etc/docker/daemon.new 13:27:24 { 13:27:24 "registry-mirrors": [ 13:27:24 "https://nexus3.edgexfoundry.org:10001" 13:27:24 ], 13:27:24 "bip": "10.250.0.254/24", 13:27:24 "hosts": [ 13:27:24 "tcp://0.0.0.0:5555", 13:27:24 "unix:///var/run/docker.sock" 13:27:24 ], 13:27:24 "mtu": 1458, 13:27:24 "selinux-enabled": true, 13:27:24 "seccomp-profile": "/etc/docker/seccomp.json" 13:27:24 } [Pipeline] sh 13:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:27:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:27:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:27:25 OK: 6 MiB in 14 packages 13:27:25 + sudo service docker restart 13:27:25 Removing intermediate container 18adf9335817 13:27:25 ---> 6d53b8b04810 13:27:25 Step 14/23 : WORKDIR / 13:27:25 ---> Running in c8aaa3485335 13:27:25 Removing intermediate container c8aaa3485335 13:27:25 ---> 4bb44a89594c 13:27:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:27:25 ---> 455b5eb32b75 13:27:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:27:26 ---> b08791344cbb 13:27:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:27:26 ---> 0d5470235d23 13:27:26 Step 18/23 : EXPOSE 59999 13:27:26 ---> Running in 7b46bc1e5933 13:27:26 Removing intermediate container 7b46bc1e5933 13:27:26 ---> f22af402eae5 13:27:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:27:26 ---> Running in f8bb49dfafef 13:27:26 Removing intermediate container f8bb49dfafef 13:27:26 ---> 46b45ace61d6 13:27:26 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:27:26 ---> Running in fbb6276f6677 13:27:26 Removing intermediate container fbb6276f6677 13:27:26 ---> 3b0e44334bf5 13:27:26 Step 21/23 : LABEL arch=amd64 13:27:26 ---> Running in e6f4773cfbcb 13:27:26 Removing intermediate container e6f4773cfbcb 13:27:26 ---> 2e1e81d927b6 13:27:26 Step 22/23 : LABEL git_sha=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 13:27:26 ---> Running in 3b8303ba18e8 13:27:27 Removing intermediate container 3b8303ba18e8 13:27:27 ---> f000e1456f77 13:27:27 Step 23/23 : LABEL version=3.0.0-dev.51 13:27:27 ---> Running in 43a1fe7a5e99 13:27:27 Removing intermediate container 43a1fe7a5e99 13:27:27 ---> d79e34f6d4d9 13:27:27 [Warning] One or more build-args [ARCH] were not consumed 13:27:27 Successfully built d79e34f6d4d9 13:27:27 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 13:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:27:27 13:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:27:27 latest: Pulling from edgex-lftools-log-publisher 13:27:27 5eb5b503b376: Pulling fs layer 13:27:27 5c69ac0246d0: Pulling fs layer 13:27:27 ec43610c2a17: Pulling fs layer 13:27:27 3a2ae6a8a46f: Pulling fs layer 13:27:27 33b1e0a273af: Pulling fs layer 13:27:27 5d3b04190fa2: Pulling fs layer 13:27:27 2f39f015ded8: Pulling fs layer 13:27:27 3a2ae6a8a46f: Waiting 13:27:27 33b1e0a273af: Waiting 13:27:27 5d3b04190fa2: Waiting 13:27:27 2f39f015ded8: Waiting 13:27:27 5c69ac0246d0: Download complete 13:27:27 3a2ae6a8a46f: Download complete 13:27:28 33b1e0a273af: Verifying Checksum 13:27:28 33b1e0a273af: Download complete 13:27:28 5d3b04190fa2: Download complete 13:27:28 ec43610c2a17: Verifying Checksum 13:27:28 ec43610c2a17: Download complete 13:27:28 5eb5b503b376: Verifying Checksum 13:27:28 5eb5b503b376: Download complete 13:27:28 2f39f015ded8: Download complete 13:27:29 5eb5b503b376: Pull complete 13:27:29 5c69ac0246d0: Pull complete 13:27:29 ec43610c2a17: Pull complete 13:27:30 3a2ae6a8a46f: Pull complete 13:27:30 33b1e0a273af: Pull complete 13:27:30 5d3b04190fa2: Pull complete 13:27:34 2f39f015ded8: Pull complete 13:27:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:27:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:34 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:27: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/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 13:27:38 $ docker top 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:38 ---> job-cost.sh 13:27:38 lf-activate-venv: SKIPPING 13:27:38 INFO: No Stack... 13:27:38 INFO: Retrieving Pricing Info for: v3-standard-8 13:27:39 INFO: Archiving Costs [Pipeline] sh 13:27:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 13:27:39 + cut -d, -f6 [Pipeline] lock 13:27:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] 13:27:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] did not exist. Created. 13:27:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:27:39 + echo total: 0.2199999988079071 [Pipeline] stash 13:27:39 Stashed 1 file(s) [Pipeline] } 13:27:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 13:27:39 $ docker stop --time=1 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 13:27:40 $ docker rm -f --volumes 9e576dd1e7d5d2773dd409d44bc30a8342ec32f55c60080049aac213cd53d2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:27:47 provisioning config files... 13:27:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/181@tmp/config2251527300918738634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:27:47 ---> docker-login.sh 13:27:47 nexus3.edgexfoundry.org:10001 13:27:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:48 Configure a credential helper to remove this warning. See 13:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:48 13:27:48 Login Succeeded 13:27:48 nexus3.edgexfoundry.org:10002 13:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:48 Configure a credential helper to remove this warning. See 13:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:48 13:27:48 Login Succeeded 13:27:48 nexus3.edgexfoundry.org:10003 13:27:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:48 Configure a credential helper to remove this warning. See 13:27:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:48 13:27:48 Login Succeeded 13:27:48 nexus3.edgexfoundry.org:10004 13:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:49 Configure a credential helper to remove this warning. See 13:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:49 13:27:49 Login Succeeded 13:27:49 docker.io 13:27:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:27:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:27:49 Configure a credential helper to remove this warning. See 13:27:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:27:49 13:27:49 Login Succeeded 13:27:49 ---> docker-login.sh ends [Pipeline] } 13:27:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:27:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:27:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:27:49 ========================================================= 13:27:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:27:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:50 + 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 . 13:27:50 Sending build context to Docker daemon 5.773MB 13:27:50 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 13:27:50 Step 2/10 : FROM ${BASE} AS builder 13:27:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:27:50 9b18e9b68314: Pulling fs layer 13:27:50 35d82f9e3411: Pulling fs layer 13:27:50 e16973657156: Pulling fs layer 13:27:50 fc693d55d65f: Pulling fs layer 13:27:50 7e9fc2657dce: Pulling fs layer 13:27:50 dda99020689f: Pulling fs layer 13:27:50 db1c61fa0a46: Pulling fs layer 13:27:50 891c053d2c06: Pulling fs layer 13:27:50 dda99020689f: Waiting 13:27:50 fc693d55d65f: Waiting 13:27:50 7e9fc2657dce: Waiting 13:27:50 db1c61fa0a46: Waiting 13:27:50 891c053d2c06: Waiting 13:27:50 e16973657156: Verifying Checksum 13:27:50 e16973657156: Download complete 13:27:50 35d82f9e3411: Verifying Checksum 13:27:50 35d82f9e3411: Download complete 13:27:50 7e9fc2657dce: Download complete 13:27:50 dda99020689f: Verifying Checksum 13:27:50 dda99020689f: Download complete 13:27:50 9b18e9b68314: Verifying Checksum 13:27:50 9b18e9b68314: Download complete 13:27:51 9b18e9b68314: Pull complete 13:27:51 891c053d2c06: Verifying Checksum 13:27:51 891c053d2c06: Download complete 13:27:52 35d82f9e3411: Pull complete 13:27:52 e16973657156: Pull complete 13:27:52 db1c61fa0a46: Verifying Checksum 13:27:52 db1c61fa0a46: Download complete 13:27:53 fc693d55d65f: Verifying Checksum 13:27:53 fc693d55d65f: Download complete 13:28:03 fc693d55d65f: Pull complete 13:28:03 7e9fc2657dce: Pull complete 13:28:04 dda99020689f: Pull complete 13:28:10 db1c61fa0a46: Pull complete 13:28:11 891c053d2c06: Pull complete 13:28:11 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 13:28:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:28:11 ---> f96f9c87975a 13:28:11 Step 3/10 : ARG MAKE=make build 13:28:13 ---> Running in cffa45114b43 13:28:13 Removing intermediate container cffa45114b43 13:28:13 ---> 81ec00a70483 13:28:13 Step 4/10 : WORKDIR /device-sdk-go 13:28:13 ---> Running in abe80fdb886a 13:28:14 Removing intermediate container abe80fdb886a 13:28:14 ---> 5df37e306838 13:28:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:28:14 ---> Running in 4bb6dc47a9f6 13:28:14 Removing intermediate container 4bb6dc47a9f6 13:28:14 ---> 2f1111cd3e89 13:28:14 Step 6/10 : RUN apk add --update --no-cache make git 13:28:14 ---> Running in 36adb6bf4658 13:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:28:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:28:16 OK: 221 MiB in 51 packages 13:28:17 Removing intermediate container 36adb6bf4658 13:28:17 ---> e12e227d61a9 13:28:17 Step 7/10 : COPY go.mod vendor* ./ 13:28:18 ---> 8b0524e92c60 13:28:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:18 ---> Running in 1eedc8d420f2 13:29:26 Removing intermediate container 1eedc8d420f2 13:29:26 ---> 4bed0fb19891 13:29:26 Step 9/10 : COPY . . 13:29:26 ---> 4040a0b6cda3 13:29:26 Step 10/10 : RUN ${MAKE} 13:29:26 ---> Running in be0c35a71f9c 13:29:26 noop 13:29:26 Removing intermediate container be0c35a71f9c 13:29:26 ---> 23be2b624674 13:29:26 Successfully built 23be2b624674 13:29:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:26 + docker inspect -f . ci-base-image-arm64 13:29:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:26 prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container 13:29:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 13:29:28 $ docker top f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:28 + go version 13:29:28 go version go1.18.7 linux/arm64 [Pipeline] } 13:29:28 $ docker stop --time=1 f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 13:29:30 $ docker rm -f --volumes f502aefb064e6a351e30325dfc38e08fbc7b47583f748cdde56655f908fecb51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:29:30 + docker inspect -f . ci-base-image-arm64 13:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:31 prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container 13:29:31 $ 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/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 13:29:32 $ docker top 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e -eo pid,comm [Pipeline] { [Pipeline] sh 13:29:32 + git config --global --add safe.directory /w/workspace/device-sdk-go/181 [Pipeline] fileExists [Pipeline] sh 13:29:33 + make test 13:29:33 go test -race -coverprofile=coverage.out ./... 13:30:05 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 13:31:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 13:31:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 13:31:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 13:31:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 13:31:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 13:31:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.360s coverage: 27.6% of statements 13:32:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.401s coverage: 78.9% of statements 13:32:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.600s coverage: 86.0% of statements 13:32:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 13:32:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 13:32:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.560s coverage: 75.9% of statements 13:32:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 13:32:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.441s coverage: 15.2% of statements 13:32:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 13:32:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.601s coverage: 65.2% of statements 13:32:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 13:32:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 13:32:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.600s coverage: 89.2% of statements 13:32:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.234s coverage: 5.5% of statements 13:32:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 13:32:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:32:13 GO111MODULE=on go vet ./... 13:33:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:33:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:33:50 ./bin/test-attribution-txt.sh [Pipeline] echo 13:33:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:33:50 $ docker stop --time=1 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e 13:33:51 $ docker rm -f --volumes 71ef7b6745194f74591f128ef5ab55d72d80aff9ee4457b0bf359077b8e7bc0e [Pipeline] // withDockerContainer [Pipeline] sh 13:33:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:33:53 Warning: overwriting stash ‘coverage-report’ 13:33:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:33:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:33:54 + ls -al . 13:33:54 total 276 13:33:54 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 13:29 . 13:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:27 .. 13:33:54 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 13:27 .dockerignore 13:33:54 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 13:27 .git 13:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:27 .github 13:33:54 -rw-rw-r-- 1 jenkins jenkins 131 Mar 13 13:27 .gitignore 13:33:54 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 13:27 .golangci.yml 13:33:54 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 13 13:27 CHANGELOG.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 13:27 GOVERNANCE.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 13:27 Jenkinsfile 13:33:54 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 13:27 LICENSE 13:33:54 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 13 13:27 Makefile 13:33:54 -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 13:27 OWNERS.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 13 13:27 README.md 13:33:54 -rw-rw-r-- 1 jenkins jenkins 12 Mar 13 13:25 VERSION 13:33:54 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 13:27 bin 13:33:54 -rw-r--r-- 1 jenkins jenkins 111699 Mar 13 13:32 coverage.out 13:33:54 drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 13:27 example 13:33:54 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 13 13:27 go.mod 13:33:54 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 13 13:27 go.sum 13:33:54 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:27 internal 13:33:54 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 13:27 openapi 13:33:54 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 13:27 pkg 13:33:54 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 13:27 snap 13:33:54 -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 13:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:33:54 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 --label arch=arm64 --label version=3.0.0-dev.51 . 13:33:55 Sending build context to Docker daemon 5.885MB 13:33:55 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 13:33:55 Step 2/23 : FROM ${BASE} AS builder 13:33:55 ---> 23be2b624674 13:33:55 Step 3/23 : ARG MAKE=make build 13:33:55 ---> Running in 0f287e41a30e 13:33:55 Removing intermediate container 0f287e41a30e 13:33:55 ---> 0379111c1e4b 13:33:55 Step 4/23 : WORKDIR /device-sdk-go 13:33:55 ---> Running in 8511fcae864c 13:33:55 Removing intermediate container 8511fcae864c 13:33:55 ---> 4b076ae3a30c 13:33:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 13:33:56 ---> Running in 6d5eaeff1c06 13:33:56 Removing intermediate container 6d5eaeff1c06 13:33:56 ---> 38c4ad48dd67 13:33:56 Step 6/23 : RUN apk add --update --no-cache make git 13:33:56 ---> Running in 2dd7260dd459 13:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:33:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:33:58 OK: 221 MiB in 51 packages 13:33:59 Removing intermediate container 2dd7260dd459 13:33:59 ---> b006928f4a4f 13:33:59 Step 7/23 : COPY go.mod vendor* ./ 13:33:59 ---> 3f0a866bf441 13:33:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:34:00 ---> Running in 91140089b3f5 13:34:02 Removing intermediate container 91140089b3f5 13:34:02 ---> b6a5f11937ee 13:34:02 Step 9/23 : COPY . . 13:34:03 ---> 03c614ea3eb7 13:34:03 Step 10/23 : RUN ${MAKE} 13:34:03 ---> Running in 6b5f94498ea5 13:34:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.51" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:36:11 Removing intermediate container 6b5f94498ea5 13:36:11 ---> 4d415f296e39 13:36:11 Step 11/23 : FROM alpine:3.16 13:36:11 3.16: Pulling from library/alpine 13:36:11 3760b48202b3: Pulling fs layer 13:36:11 3760b48202b3: Verifying Checksum 13:36:11 3760b48202b3: Download complete 13:36:11 3760b48202b3: Pull complete 13:36:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 13:36:11 Status: Downloaded newer image for alpine:3.16 13:36:11 ---> 4c81e5bf8899 13:36:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:36:11 ---> Running in e87547809b8f 13:36:11 Removing intermediate container e87547809b8f 13:36:11 ---> 9aba0a0712dd 13:36:11 Step 13/23 : RUN apk add --update --no-cache 13:36:11 ---> Running in a73e00da89b1 13:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:36:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:36:11 OK: 5 MiB in 14 packages 13:36:11 Removing intermediate container a73e00da89b1 13:36:11 ---> 35b1bc801864 13:36:11 Step 14/23 : WORKDIR / 13:36:11 ---> Running in 0512711e71e8 13:36:11 Removing intermediate container 0512711e71e8 13:36:11 ---> e13baf9de1bc 13:36:11 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:36:11 ---> 36120afcdcfd 13:36:11 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:36:11 ---> fa361f3a0e16 13:36:11 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:36:11 ---> 125baac5e6fa 13:36:11 Step 18/23 : EXPOSE 59999 13:36:11 ---> Running in ad73d5af5688 13:36:11 Removing intermediate container ad73d5af5688 13:36:11 ---> 1e72a6f8c40c 13:36:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 13:36:11 ---> Running in 5885eceb8be6 13:36:11 Removing intermediate container 5885eceb8be6 13:36:11 ---> 74edc06224f9 13:36:11 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 13:36:11 ---> Running in bf9f2b7036ae 13:36:11 Removing intermediate container bf9f2b7036ae 13:36:11 ---> 6f5f7b907235 13:36:11 Step 21/23 : LABEL arch=arm64 13:36:11 ---> Running in d98e96af972e 13:36:11 Removing intermediate container d98e96af972e 13:36:11 ---> ba85427e9b55 13:36:11 Step 22/23 : LABEL git_sha=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 13:36:11 ---> Running in 9de08661afc8 13:36:11 Removing intermediate container 9de08661afc8 13:36:11 ---> a81597938c7c 13:36:11 Step 23/23 : LABEL version=3.0.0-dev.51 13:36:11 ---> Running in 7aa2bc1d2214 13:36:11 Removing intermediate container 7aa2bc1d2214 13:36:11 ---> 392a5a5592ef 13:36:11 [Warning] One or more build-args [ARCH] were not consumed 13:36:11 Successfully built 392a5a5592ef 13:36:11 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 13:36:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:36:11 13:36:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:36:12 arm64: Pulling from edgex-lftools-log-publisher 13:36:12 8998bd30e6a1: Pulling fs layer 13:36:12 04944245beec: Pulling fs layer 13:36:12 699f458cf7ca: Pulling fs layer 13:36:12 765212b225bb: Pulling fs layer 13:36:12 f23df028b6ca: Pulling fs layer 13:36:12 d65c8cfc05b1: Pulling fs layer 13:36:12 2437ff75d9bd: Pulling fs layer 13:36:12 f23df028b6ca: Waiting 13:36:12 d65c8cfc05b1: Waiting 13:36:12 765212b225bb: Waiting 13:36:12 2437ff75d9bd: Waiting 13:36:12 04944245beec: Verifying Checksum 13:36:12 04944245beec: Download complete 13:36:12 765212b225bb: Verifying Checksum 13:36:12 765212b225bb: Download complete 13:36:12 f23df028b6ca: Verifying Checksum 13:36:12 f23df028b6ca: Download complete 13:36:12 d65c8cfc05b1: Verifying Checksum 13:36:12 d65c8cfc05b1: Download complete 13:36:12 699f458cf7ca: Verifying Checksum 13:36:12 699f458cf7ca: Download complete 13:36:12 8998bd30e6a1: Download complete 13:36:14 2437ff75d9bd: Verifying Checksum 13:36:14 2437ff75d9bd: Download complete 13:36:16 8998bd30e6a1: Pull complete 13:36:16 04944245beec: Pull complete 13:36:17 699f458cf7ca: Pull complete 13:36:18 765212b225bb: Pull complete 13:36:18 f23df028b6ca: Pull complete 13:36:19 d65c8cfc05b1: Pull complete 13:36:31 2437ff75d9bd: Pull complete 13:36:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:36:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:36:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:36:31 prd-ubuntu20.04-docker-arm64-4c-16g-9878 does not seem to be running inside a container 13:36:31 $ 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/181 -v /w/workspace/device-sdk-go/181:/w/workspace/device-sdk-go/181:rw,z -v /w/workspace/device-sdk-go/181@tmp:/w/workspace/device-sdk-go/181@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 13:36:34 $ docker top fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:36:34 ---> job-cost.sh 13:36:35 lf-activate-venv: SKIPPING 13:36:35 INFO: No Stack... 13:36:36 INFO: Retrieving Pricing Info for: v3-standard-4 13:36:36 INFO: Archiving Costs [Pipeline] sh 13:36:37 + cut -d, -f6 13:36:37 + cat /w/workspace/device-sdk-go/181/archives/cost.csv [Pipeline] lock 13:36:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] 13:36:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] did not exist. Created. 13:36:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:36:37 /w/workspace/device-sdk-go/181@tmp/durable-44528a8f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:36:37 + echo total: 0.10999999940395355 [Pipeline] stash 13:36:37 Warning: overwriting stash ‘stack-cost’ 13:36:37 Stashed 1 file(s) [Pipeline] } 13:36:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-181-stack-cost] [Pipeline] // lock [Pipeline] } 13:36:37 $ docker stop --time=1 fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 13:36:39 $ docker rm -f --volumes fc2d022da0ccc204b9c2adfec7d3d040b4af334d90ef44a3d306e3d2f66e8a45 [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 13:36:39 provisioning config files... 13:36:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1478958926666491438tmp [Pipeline] { [Pipeline] sh 13:36:39 + set +x 13:36:39 + curl -s https://codecov.io/bash 13:36:39 + bash -s -- 13:36:39 13:36:39 _____ _ 13:36:39 / ____| | | 13:36:39 | | ___ __| | ___ ___ _____ __ 13:36:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:36:39 | |___| (_) | (_| | __/ (_| (_) \ V / 13:36:39 \_____\___/ \__,_|\___|\___\___/ \_/ 13:36:39 Bash-1.0.6 13:36:39 13:36:39 13:36:39 ==> git version 2.25.1 found 13:36:39 ==> 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 13:36:39 Release-Date: 2020-01-08 13:36:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:36:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:36:39 ==> Jenkins CI detected. 13:36:39 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 13:36:39 project root: . 13:36:39 --> token set from env 13:36:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:36:39 ==> Running gcov in . (disable via -X gcov) 13:36:39 ==> Python coveragepy not found 13:36:39 ==> Searching for coverage reports in: 13:36:39 + . 13:36:39 -> Found 1 reports 13:36:39 ==> Detecting git/mercurial file structure 13:36:40 ==> Reading reports 13:36:40 + ./coverage.out bytes=111699 13:36:40 ==> Appending adjustments 13:36:40 https://docs.codecov.io/docs/fixing-reports 13:36:40 + Found adjustments 13:36:40 ==> Gzipping contents 13:36:40 16K /tmp/codecov.DWt6JA.gz 13:36:40 ==> Uploading reports 13:36:40 url: https://codecov.io 13:36:40 query: branch=main&commit=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:36:40 -> Pinging Codecov 13:36:40 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=2dcc4a6d5dc5ca25eaa0111ffba392fe61782616&build=181&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F181%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:36:40 -> Uploading to 13:36:40 https://storage.googleapis.com/codecov/v4/raw/2023-03-13/7E55EF52A471D76F132DFD9A03CDDE97/2dcc4a6d5dc5ca25eaa0111ffba392fe61782616/1053b9ab-d906-495c-acfa-1a54f7610f16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230313T133640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29f90a83f37860e85329b0ecae9b71ea9e8d9ac3576d58c8b8be74545c31ebe5 13:36:40 % Total % Received % Xferd Average Speed Time Time Time Current 13:36:40 Dload Upload Total Spent Left Speed 13:36:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15521 0 0 100 15521 0 64402 --:--:-- --:--:-- --:--:-- 64402 13:36:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] } 13:36:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:36:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:36:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:36:41 13:36:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:36:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:36:41 df9b9388f04a: Pulling fs layer 13:36:41 52dc419b0ee2: Pulling fs layer 13:36:41 25bc292e5bac: Pulling fs layer 13:36:41 114826534d7a: Pulling fs layer 13:36:41 4657fd5d0bcf: Pulling fs layer 13:36:41 6ad1cebc031e: Pulling fs layer 13:36:41 8a3aa393b2d8: Pulling fs layer 13:36:41 6ad1cebc031e: Waiting 13:36:41 114826534d7a: Waiting 13:36:41 8a3aa393b2d8: Waiting 13:36:41 4657fd5d0bcf: Waiting 13:36:41 25bc292e5bac: Download complete 13:36:41 52dc419b0ee2: Verifying Checksum 13:36:41 52dc419b0ee2: Download complete 13:36:41 4657fd5d0bcf: Verifying Checksum 13:36:41 4657fd5d0bcf: Download complete 13:36:41 df9b9388f04a: Verifying Checksum 13:36:41 df9b9388f04a: Download complete 13:36:41 6ad1cebc031e: Verifying Checksum 13:36:41 6ad1cebc031e: Download complete 13:36:41 df9b9388f04a: Pull complete 13:36:42 52dc419b0ee2: Pull complete 13:36:42 25bc292e5bac: Pull complete 13:36:42 114826534d7a: Verifying Checksum 13:36:42 114826534d7a: Download complete 13:36:42 8a3aa393b2d8: Verifying Checksum 13:36:42 8a3aa393b2d8: Download complete 13:36:46 114826534d7a: Pull complete 13:36:46 4657fd5d0bcf: Pull complete 13:36:47 6ad1cebc031e: Pull complete 13:36:51 8a3aa393b2d8: Pull complete 13:36:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 13:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:36:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:36:51 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:36: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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:37:05 $ docker top 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 -eo pid,comm [Pipeline] { [Pipeline] echo 13:37:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 13:37:06 + set -o pipefail 13:37:06 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 13:37:10 13:37:10 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 13:37:10 13:37:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/2fde76d9-b7fc-4ecd-83e0-4f178905bb4a 13:37:10 13:37:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:37:10 13:37:10 13:37:10 A medium severity vulnerability was found in the Snyk CLI versions you are using. 13:37:10 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 13:37:10 More details here: https://snyk.co/ue1NS 13:37:10 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 13:37:10 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 13:37:10 $ docker stop --time=1 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 13:37:15 $ docker rm -f --volumes 7b9d5b6e094683de0bdbd9bbafa3ef1083f1abbe32b36ceffd8c42197d03ed32 [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 13:37:15 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:37:15 provisioning config files... 13:37:15 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6075377404070967051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:37:16 --> edgex-publish-swagger.sh 13:37:16 === Publish openapi/v3 API === 13:37:16 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 13:37:16 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 13:37:16 % Total % Received % Xferd Average Speed Time Time Time Current 13:37:16 Dload Upload Total Spent Left Speed 13:37:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 39089 --:--:-- --:--:-- --:--:-- 39024 100 23571 0 0 100 23571 0 39089 --:--:-- --:--:-- --:--:-- 39024 13:37:16 13:37:16 [Pipeline] } 13:37:16 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 13:37:17 + git log --format=format:%s -1 2dcc4a6d5dc5ca25eaa0111ffba392fe61782616 [Pipeline] sh 13:37:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:37:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:17 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:37:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:37:18 $ docker top 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 -eo pid,comm 13:37:18 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). 13:37:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:37:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:37:18 [ssh-agent] Looking for ssh-agent implementation... 13:37:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:37:18 $ docker exec 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 ssh-agent 13:37:18 SSH_AUTH_SOCK=/tmp/ssh-r3cDhVLEqX2A/agent.32 13:37:18 SSH_AGENT_PID=38 13:37:18 Running ssh-add (command line suppressed) 13:37:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2015857763268922818.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2015857763268922818.key) 13:37:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:37:19 + git semver tag 13:37:19 2023-03-13 13:37:19,258 [run_tag] DEBUG tag force:False 13:37:19 2023-03-13 13:37:19,259 [check_head_tag] DEBUG check head tag 13:37:19 2023-03-13 13:37:19,260 [execute] INFO git cat-file --batch-check 13:37:19 2023-03-13 13:37:19,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 13:37:19 2023-03-13 13:37:19,265 [execute] INFO git cat-file --batch 13:37:19 2023-03-13 13:37:19,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 13:37:19 2023-03-13 13:37:19,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:19 2023-03-13 13:37:19,303 [execute] INFO git tag -a v3.0.0-dev.51 -m v3.0.0-dev.51 13:37:19 2023-03-13 13:37:19,304 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.51', '-m', 'v3.0.0-dev.51'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 13:37:19 2023-03-13 13:37:19,310 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:19 3.0.0-dev.51 [Pipeline] } 13:37:19 $ docker exec --env ******** --env ******** 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 ssh-agent -k 13:37:19 unset SSH_AUTH_SOCK; 13:37:19 unset SSH_AGENT_PID; 13:37:19 echo Agent pid 38 killed; 13:37:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:37:19 + git semver [Pipeline] } 13:37:20 $ docker stop --time=1 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 13:37:21 $ docker rm -f --volumes 98bb08cf22caad01f1f43269ba909896ba2ce770d532131eb5e3be3da4921038 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:37:21 13:37:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:37:22 0.23.1-centos7: Pulling from edgex-lftools 13:37:22 ab5ef0e58194: Pulling fs layer 13:37:22 9712f1f96733: Pulling fs layer 13:37:22 63f879dbbcfc: Pulling fs layer 13:37:22 0d9ebad4ef96: Pulling fs layer 13:37:22 e9a5061849ea: Pulling fs layer 13:37:22 d747dcd14b5f: Pulling fs layer 13:37:22 2de7ff778b66: Pulling fs layer 13:37:22 0d9ebad4ef96: Waiting 13:37:22 e9a5061849ea: Waiting 13:37:22 2de7ff778b66: Waiting 13:37:22 d747dcd14b5f: Waiting 13:37:22 9712f1f96733: Verifying Checksum 13:37:22 9712f1f96733: Download complete 13:37:22 63f879dbbcfc: Verifying Checksum 13:37:22 63f879dbbcfc: Download complete 13:37:23 e9a5061849ea: Verifying Checksum 13:37:23 e9a5061849ea: Download complete 13:37:23 d747dcd14b5f: Download complete 13:37:23 0d9ebad4ef96: Verifying Checksum 13:37:23 0d9ebad4ef96: Download complete 13:37:23 ab5ef0e58194: Verifying Checksum 13:37:23 ab5ef0e58194: Download complete 13:37:23 2de7ff778b66: Verifying Checksum 13:37:23 2de7ff778b66: Download complete 13:37:25 ab5ef0e58194: Pull complete 13:37:25 9712f1f96733: Pull complete 13:37:26 63f879dbbcfc: Pull complete 13:37:30 0d9ebad4ef96: Pull complete 13:37:30 e9a5061849ea: Pull complete 13:37:30 d747dcd14b5f: Pull complete 13:37:31 2de7ff778b66: Pull complete 13:37:31 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:37:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:37:31 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:31 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:37:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:37:43 $ docker top 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:37:43 provisioning config files... 13:37:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16598325542767843742tmp 13:37:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1772892456854637897tmp 13:37:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1308942045912308332tmp [Pipeline] { [Pipeline] echo 13:37:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:37:44 ---> sigul-configuration.sh 13:37:44 gpg: directory `/root/.gnupg' created 13:37:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:37:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:37:44 gpg: keyring `/root/.gnupg/secring.gpg' created 13:37:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:37:44 gpg: CAST5 encrypted data 13:37:44 gpg: encrypted with 1 passphrase 13:37:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:37:44 + mkdir /home/jenkins 13:37:44 + mkdir /home/jenkins/sigul [Pipeline] sh 13:37:44 + 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 13:37:44 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:37:44 ---> sigul-install.sh 13:37:44 Sigul already installed; skipping installation. [Pipeline] sh 13:37:45 + git tag --list 13:37:45 0.7.1 13:37:45 delhi-tag 13:37:45 v1.0.0 13:37:45 v1.1.0 13:37:45 v1.1.1 13:37:45 v1.1.2 13:37:45 v1.2.0 13:37:45 v1.2.1 13:37:45 v1.2.2 13:37:45 v1.2.3 13:37:45 v1.3.0 13:37:45 v1.4.0 13:37:45 v2.0.0 13:37:45 v2.1.0 13:37:45 v2.1.1 13:37:45 v2.1.1-dev.2 13:37:45 v2.1.1-dev.3 13:37:45 v2.2.0 13:37:45 v2.2.1-dev.1 13:37:45 v2.2.1-dev.10 13:37:45 v2.2.1-dev.11 13:37:45 v2.2.1-dev.12 13:37:45 v2.2.1-dev.13 13:37:45 v2.2.1-dev.14 13:37:45 v2.2.1-dev.2 13:37:45 v2.2.1-dev.3 13:37:45 v2.2.1-dev.4 13:37:45 v2.2.1-dev.5 13:37:45 v2.2.1-dev.6 13:37:45 v2.2.1-dev.7 13:37:45 v2.2.1-dev.8 13:37:45 v2.2.1-dev.9 13:37:45 v2.3.0 13:37:45 v2.3.0-dev.14 13:37:45 v2.3.0-dev.15 13:37:45 v2.3.0-dev.16 13:37:45 v2.3.0-dev.17 13:37:45 v2.3.0-dev.18 13:37:45 v2.3.0-dev.19 13:37:45 v2.3.0-dev.20 13:37:45 v2.3.0-dev.21 13:37:45 v2.3.0-dev.22 13:37:45 v2.3.0-dev.23 13:37:45 v2.3.0-dev.24 13:37:45 v2.3.0-dev.25 13:37:45 v2.3.0-dev.26 13:37:45 v2.3.0-dev.27 13:37:45 v2.3.0-dev.28 13:37:45 v2.3.0-dev.29 13:37:45 v2.3.0-dev.30 13:37:45 v2.3.0-dev.31 13:37:45 v2.3.0-dev.32 13:37:45 v2.3.0-dev.33 13:37:45 v2.3.0-dev.34 13:37:45 v2.3.0-dev.35 13:37:45 v2.3.0-dev.36 13:37:45 v2.3.0-dev.37 13:37:45 v2.3.0-dev.38 13:37:45 v2.3.0-dev.39 13:37:45 v2.3.0-dev.40 13:37:45 v2.3.0-dev.41 13:37:45 v2.3.0-dev.42 13:37:45 v2.3.0-dev.43 13:37:45 v2.3.0-dev.44 13:37:45 v2.3.0-dev.45 13:37:45 v2.3.0-dev.46 13:37:45 v2.3.0-dev.47 13:37:45 v2.3.0-dev.48 13:37:45 v2.3.0-dev.49 13:37:45 v2.3.0-dev.50 13:37:45 v2.3.0-dev.51 13:37:45 v2.3.1-dev.1 13:37:45 v3.0.0-dev.1 13:37:45 v3.0.0-dev.10 13:37:45 v3.0.0-dev.11 13:37:45 v3.0.0-dev.12 13:37:45 v3.0.0-dev.13 13:37:45 v3.0.0-dev.14 13:37:45 v3.0.0-dev.15 13:37:45 v3.0.0-dev.16 13:37:45 v3.0.0-dev.17 13:37:45 v3.0.0-dev.18 13:37:45 v3.0.0-dev.19 13:37:45 v3.0.0-dev.2 13:37:45 v3.0.0-dev.20 13:37:45 v3.0.0-dev.21 13:37:45 v3.0.0-dev.22 13:37:45 v3.0.0-dev.23 13:37:45 v3.0.0-dev.24 13:37:45 v3.0.0-dev.25 13:37:45 v3.0.0-dev.26 13:37:45 v3.0.0-dev.27 13:37:45 v3.0.0-dev.28 13:37:45 v3.0.0-dev.29 13:37:45 v3.0.0-dev.3 13:37:45 v3.0.0-dev.30 13:37:45 v3.0.0-dev.31 13:37:45 v3.0.0-dev.32 13:37:45 v3.0.0-dev.33 13:37:45 v3.0.0-dev.34 13:37:45 v3.0.0-dev.35 13:37:45 v3.0.0-dev.36 13:37:45 v3.0.0-dev.37 13:37:45 v3.0.0-dev.38 13:37:45 v3.0.0-dev.39 13:37:45 v3.0.0-dev.4 13:37:45 v3.0.0-dev.40 13:37:45 v3.0.0-dev.41 13:37:45 v3.0.0-dev.42 13:37:45 v3.0.0-dev.43 13:37:45 v3.0.0-dev.44 13:37:45 v3.0.0-dev.45 13:37:45 v3.0.0-dev.46 13:37:45 v3.0.0-dev.47 13:37:45 v3.0.0-dev.48 13:37:45 v3.0.0-dev.49 13:37:45 v3.0.0-dev.5 13:37:45 v3.0.0-dev.50 13:37:45 v3.0.0-dev.51 13:37:45 v3.0.0-dev.6 13:37:45 v3.0.0-dev.7 13:37:45 v3.0.0-dev.8 13:37:45 v3.0.0-dev.9 [Pipeline] sh 13:37:45 + lftools sign git-tag v3.0.0-dev.51 13:37:46 Signing Git tag with Sigul... 13:37:46 Signing v3.0.0-dev.51 [Pipeline] echo 13:37:46 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:37:46 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:37:46 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:37:46 $ docker stop --time=1 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf 13:37:48 $ docker rm -f --volumes 0e593f66d4ba0bc2fe66127f4a86df6f8627af96fda3ba536a84b019dde0f0cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:37:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:37:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:49 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:37:49 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:37:50 $ docker top 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 -eo pid,comm 13:37:50 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). 13:37:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:37:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:37:50 [ssh-agent] Looking for ssh-agent implementation... 13:37:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:37:50 $ docker exec 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 ssh-agent 13:37:50 SSH_AUTH_SOCK=/tmp/ssh-CMPNaT8u5i77/agent.32 13:37:50 SSH_AGENT_PID=38 13:37:50 Running ssh-add (command line suppressed) 13:37:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2869878467499477220.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2869878467499477220.key) 13:37:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:37:51 + git semver bump pre 13:37:51 2023-03-13 13:37:51,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:51 2023-03-13 13:37:51,432 [bump_version] DEBUG bumping version:3.0.0-dev.51 on axis:pre with prefix:dev 13:37:51 2023-03-13 13:37:51,432 [bump_version] DEBUG bumped version:3.0.0-dev.52 13:37:51 2023-03-13 13:37:51,432 [write_version] DEBUG write version:3.0.0-dev.52 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 13:37:51 2023-03-13 13:37:51,432 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:51 2023-03-13 13:37:51,432 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:51 2023-03-13 13:37:51,435 [execute] INFO git cat-file --batch-check 13:37:51 2023-03-13 13:37:51,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:37:51 2023-03-13 13:37:51,441 [execute] INFO git cat-file --batch 13:37:51 2023-03-13 13:37:51,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:37:51 2023-03-13 13:37:51,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:51 3.0.0-dev.52 [Pipeline] } 13:37:51 $ docker exec --env ******** --env ******** 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 ssh-agent -k 13:37:51 unset SSH_AUTH_SOCK; 13:37:51 unset SSH_AGENT_PID; 13:37:51 echo Agent pid 38 killed; 13:37:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:37:51 + git semver [Pipeline] } 13:37:52 $ docker stop --time=1 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 13:37:53 $ docker rm -f --volumes 702b5468085acc8fba243f9aeab2735640ef499dc587b8bf8a30a00bd161b819 [Pipeline] // withDockerContainer [Pipeline] sh 13:37:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:37:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:37:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:37:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:37:54 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:37:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:37:54 $ docker top b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 -eo pid,comm 13:37:54 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). 13:37:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:37:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:37:54 [ssh-agent] Looking for ssh-agent implementation... 13:37:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:37:54 $ docker exec b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 ssh-agent 13:37:54 SSH_AUTH_SOCK=/tmp/ssh-pqfedBWFX97D/agent.33 13:37:54 SSH_AGENT_PID=39 13:37:54 Running ssh-add (command line suppressed) 13:37:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4413482195672033694.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4413482195672033694.key) 13:37:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:37:55 + git semver push 13:37:55 2023-03-13 13:37:55,456 [run_push] DEBUG push 13:37:55 2023-03-13 13:37:55,457 [execute] INFO git cat-file --batch-check 13:37:55 2023-03-13 13:37:55,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:37:55 2023-03-13 13:37:55,459 [execute] INFO git rev-list 58f91cc6589b34c61270caa1248f0100e34aa422 -- 13:37:55 2023-03-13 13:37:55,459 [execute] DEBUG Popen(['git', 'rev-list', '58f91cc6589b34c61270caa1248f0100e34aa422', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:37:55 2023-03-13 13:37:55,472 [execute] INFO git fetch -v origin 13:37:55 2023-03-13 13:37:55,472 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 13:37:56 2023-03-13 13:37:55,929 [run_push] DEBUG no remote changes detected 13:37:56 2023-03-13 13:37:55,929 [execute] INFO git push origin semver 13:37:56 2023-03-13 13:37:55,930 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:37:57 2023-03-13 13:37:56,754 [run_push] DEBUG push all version tags 13:37:57 2023-03-13 13:37:56,755 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:37:57 2023-03-13 13:37:56,755 [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) 13:37:57 2023-03-13 13:37:57,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:37:57 3.0.0-dev.52 [Pipeline] } 13:37:57 $ docker exec --env ******** --env ******** b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 ssh-agent -k 13:37:57 unset SSH_AUTH_SOCK; 13:37:57 unset SSH_AGENT_PID; 13:37:57 echo Agent pid 39 killed; 13:37:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:37:58 + git semver [Pipeline] } 13:37:58 $ docker stop --time=1 b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 13:38:00 $ docker rm -f --volumes b168749e9c2683651a6e1ef4c4dd8bef2ea4cfef399f1f37af3f30d99be25ee3 [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 13:38:00 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 13:38:00 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:38:00 total 16 13:38:00 drwxr-xr-x 3 root root 4096 Mar 13 13:27 . 13:38:00 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:37 .. 13:38:00 drwxr-xr-x 2 root root 4096 Mar 13 13:27 cost 13:38:00 -rw-r--r-- 1 root root 85 Mar 13 13:27 cost.csv 13:38:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:38:00 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:38:00 total 16 13:38:00 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 13:27 . 13:38:00 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 13:37 .. 13:38:00 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 13:27 cost 13:38:00 -rw-r--r-- 1 jenkins jenkins 85 Mar 13 13:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:38:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:38:02 ---> package-listing.sh 13:38:02 ++ facter osfamily 13:38:02 ++ tr '[:upper:]' '[:lower:]' 13:38:02 + OS_FAMILY=debian 13:38:02 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 13:38:02 + START_PACKAGES=/tmp/packages_start.txt 13:38:02 + END_PACKAGES=/tmp/packages_end.txt 13:38:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:38:02 + PACKAGES=/tmp/packages_start.txt 13:38:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 13:38:02 + PACKAGES=/tmp/packages_end.txt 13:38:02 + case "${OS_FAMILY}" in 13:38:02 + grep '^ii' 13:38:02 + dpkg -l 13:38:02 + '[' -f /tmp/packages_start.txt ']' 13:38:02 + '[' -f /tmp/packages_end.txt ']' 13:38:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:38:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 13:38:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 13:38:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 13:38:02 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 13:38:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:38:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:03 prd-ubuntu20.04-docker-8c-8g-9877 does not seem to be running inside a container 13:38:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:38:03 $ docker top 0803556f2429c97edca892aeff0df75f537a51b92cb94d0b051802eaf557c8c0 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:04 + touch /tmp/pre-build-complete [Pipeline] sh 13:38:04 + mkdir -p /var/log/sysstat [Pipeline] sh 13:38:04 + ls /var/log/sa-host 13:38:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:38:04 provisioning config files... 13:38:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1807279350913658717tmp [Pipeline] { [Pipeline] echo 13:38:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:38:05 ---> create-netrc.sh [Pipeline] } 13:38:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:38:05 ---> python-tools-install.sh [Pipeline] echo 13:38:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:38:05 ---> sudo-logs.sh 13:38:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:38:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:38:06 ---> job-cost.sh 13:38:06 lf-activate-venv: SKIPPING 13:38:06 DEBUG: total: 0.2199999988079071 13:38:06 INFO: Retrieving Stack Cost... 13:38:06 INFO: Retrieving Pricing Info for: v3-standard-8 13:38:06 INFO: Archiving Costs [Pipeline] echo 13:38:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:38:07 ---> logs-deploy.sh 13:38:07 lf-activate-venv: SKIPPING 13:38:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/181 13:38:07 INFO: archiving workspace using pattern(s): 13:38:08 Archives upload complete. 13:38:08 INFO: archiving logs to Nexus