Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5f8eaa6ff6ef578af331e6eea42e46d4600f317a 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-ssh13304417612016610754.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-ssh12792326073164322411.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-ssh6775066734651037495.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-ssh13997455721425532552.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-ssh15314153680735888844.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-901 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 5f8eaa6ff6ef578af331e6eea42e46d4600f317a (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 5f8eaa6ff6ef578af331e6eea42e46d4600f317a # timeout=10 Commit message: "Merge pull request #1268 from jinlinGuan/issue-4248-sdk" > git rev-list --no-walk 75403564eeb8af1d0f1f8ff2eb4e718373552573 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:23:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:23:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:23:26 ========================================================= 15:23:26 EdgeX Global Pipelines Version Info 15:23:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:23:27 ------------------- 15:23:27 stable info: 15:23:27 ------------------- 15:23:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:23:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:23:27 Message: update stable to v1.0.244 15:23:27 ------------------- 15:23:27 experimental info: 15:23:27 ------------------- 15:23:27 Commited By: **** collab-it+edgex@linuxfoundation.org 15:23:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:23:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:23:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5f8eaa6 [Pipeline] echo 15:23:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:23:28 provisioning config files... 15:23:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6056681411509723999tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:28 ---> docker-login.sh 15:23:28 nexus3.edgexfoundry.org:10001 15:23:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:28 Configure a credential helper to remove this warning. See 15:23:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:28 15:23:28 Login Succeeded 15:23:28 nexus3.edgexfoundry.org:10002 15:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:29 Configure a credential helper to remove this warning. See 15:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:29 15:23:29 Login Succeeded 15:23:29 nexus3.edgexfoundry.org:10003 15:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:29 Configure a credential helper to remove this warning. See 15:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:29 15:23:29 Login Succeeded 15:23:29 nexus3.edgexfoundry.org:10004 15:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:29 Configure a credential helper to remove this warning. See 15:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:29 15:23:29 Login Succeeded 15:23:29 docker.io 15:23:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:29 Configure a credential helper to remove this warning. See 15:23:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:29 15:23:29 Login Succeeded 15:23:29 ---> docker-login.sh ends [Pipeline] } 15:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:23:29 + git rev-list -1 --merges 5f8eaa6ff6ef578af331e6eea42e46d4600f317a~1..5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] echo 15:23:29 -----------> git rev-list -1 --merges 5f8eaa6ff6ef578af331e6eea42e46d4600f317a~1..5f8eaa6ff6ef578af331e6eea42e46d4600f317a 5f8eaa6ff6ef578af331e6eea42e46d4600f317a 15:23:29 5f8eaa6ff6ef578af331e6eea42e46d4600f317a [false] [Pipeline] sh 15:23:30 + git log --format=format:%s -1 5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] echo 15:23:30 ========================================================= 15:23:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:23:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:23:30 + git log --format=format:%s -1 5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] echo 15:23:30 [semverPrep] GIT_COMMIT: 5f8eaa6ff6ef578af331e6eea42e46d4600f317a, Commit Message: Merge pull request #1268 from jinlinGuan/issue-4248-sdk [Pipeline] echo 15:23:30 [semverPrep] This is not a build commit. [Pipeline] sh 15:23:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:23:31 + grep -v github /etc/ssh/ssh_known_hosts 15:23:31 + [ -e /tmp/ssh_known_hosts ] 15:23:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:23:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:23:31 + sudo tee -a /etc/ssh/ssh_known_hosts 15:23:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:31 15:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:31 0.1.4: Pulling from edgex-devops/py-git-semver 15:23:31 b85a868b505f: Pulling fs layer 15:23:31 e2be974225ed: Pulling fs layer 15:23:31 339a4e72a1f5: Pulling fs layer 15:23:31 988bab9f4d93: Pulling fs layer 15:23:31 1469e6f7b9e6: Pulling fs layer 15:23:31 eaf3925da568: Pulling fs layer 15:23:31 bab4dde63d76: Pulling fs layer 15:23:31 bde34c3a00c8: Pulling fs layer 15:23:31 b352a97aabf1: Pulling fs layer 15:23:31 4872d77fe225: Pulling fs layer 15:23:31 5851b861e8e6: Pulling fs layer 15:23:31 1469e6f7b9e6: Waiting 15:23:31 bab4dde63d76: Waiting 15:23:31 b352a97aabf1: Waiting 15:23:31 4872d77fe225: Waiting 15:23:31 5851b861e8e6: Waiting 15:23:31 988bab9f4d93: Waiting 15:23:31 eaf3925da568: Waiting 15:23:31 bde34c3a00c8: Waiting 15:23:31 e2be974225ed: Verifying Checksum 15:23:31 e2be974225ed: Download complete 15:23:31 988bab9f4d93: Verifying Checksum 15:23:31 988bab9f4d93: Download complete 15:23:31 1469e6f7b9e6: Verifying Checksum 15:23:31 1469e6f7b9e6: Download complete 15:23:31 339a4e72a1f5: Verifying Checksum 15:23:31 339a4e72a1f5: Download complete 15:23:31 eaf3925da568: Verifying Checksum 15:23:31 eaf3925da568: Download complete 15:23:31 bde34c3a00c8: Verifying Checksum 15:23:31 bde34c3a00c8: Download complete 15:23:31 b352a97aabf1: Download complete 15:23:31 4872d77fe225: Download complete 15:23:31 5851b861e8e6: Verifying Checksum 15:23:31 5851b861e8e6: Download complete 15:23:31 b85a868b505f: Verifying Checksum 15:23:31 b85a868b505f: Download complete 15:23:32 bab4dde63d76: Verifying Checksum 15:23:32 bab4dde63d76: Download complete 15:23:33 b85a868b505f: Pull complete 15:23:33 e2be974225ed: Pull complete 15:23:33 339a4e72a1f5: Pull complete 15:23:33 988bab9f4d93: Pull complete 15:23:34 1469e6f7b9e6: Pull complete 15:23:34 eaf3925da568: Pull complete 15:23:36 bab4dde63d76: Pull complete 15:23:36 bde34c3a00c8: Pull complete 15:23:36 b352a97aabf1: Pull complete 15:23:36 4872d77fe225: Pull complete 15:23:36 5851b861e8e6: Pull complete 15:23:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:23:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:23:36 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:23:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:23:39 $ docker top 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f -eo pid,comm 15:23:39 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). 15:23:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:23:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:39 [ssh-agent] Looking for ssh-agent implementation... 15:23:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:39 $ docker exec 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f ssh-agent 15:23:39 SSH_AUTH_SOCK=/tmp/ssh-o1lV6w9IWmyT/agent.33 15:23:39 SSH_AGENT_PID=39 15:23:39 Running ssh-add (command line suppressed) 15:23:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17062480371777674177.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17062480371777674177.key) 15:23:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:40 + git tag --points-at HEAD [Pipeline] } 15:23:40 $ docker exec --env ******** --env ******** 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f ssh-agent -k 15:23:40 unset SSH_AUTH_SOCK; 15:23:40 unset SSH_AGENT_PID; 15:23:40 echo Agent pid 39 killed; 15:23:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:23:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:23:40 [ssh-agent] Looking for ssh-agent implementation... 15:23:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:23:40 $ docker exec 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f ssh-agent 15:23:40 SSH_AUTH_SOCK=/tmp/ssh-4Vv34N6noWxv/agent.71 15:23:40 SSH_AGENT_PID=77 15:23:40 Running ssh-add (command line suppressed) 15:23:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6371434593125598144.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6371434593125598144.key) 15:23:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:23:40 + git semver init 15:23:41 2023-01-03 15:23:41,035 [run_init] DEBUG init version:0.0.0 force:False 15:23:41 2023-01-03 15:23:41,035 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:23:41 2023-01-03 15:23:41,036 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:23:41 2023-01-03 15:23:41,036 [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) 15:23:42 2023-01-03 15:23:42,009 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:23:42 2023-01-03 15:23:42,010 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:23:42 2023-01-03 15:23:42,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:23:42 2023-01-03 15:23:42,010 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:23:42 3.0.0-dev.5 [Pipeline] } 15:23:42 $ docker exec --env ******** --env ******** 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f ssh-agent -k 15:23:42 unset SSH_AUTH_SOCK; 15:23:42 unset SSH_AGENT_PID; 15:23:42 echo Agent pid 77 killed; 15:23:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:23:42 + git semver [Pipeline] } 15:23:42 $ docker stop --time=1 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f 15:23:44 $ docker rm -f --volumes 92bd305ebb16d21584cf9b6c6a6c08accbc34df6b3a724e57492d6bdd231af7f [Pipeline] // withDockerContainer [Pipeline] sh 15:23:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:23:44 Stashed 1 file(s) [Pipeline] echo 15:23:44 [edgeXSemver]: initialized semver on version 3.0.0-dev.5 [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 15:23:44 provisioning config files... 15:23:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18345557525383680304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:23:45 ---> docker-login.sh 15:23:45 nexus3.edgexfoundry.org:10001 15:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 nexus3.edgexfoundry.org:10002 15:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 nexus3.edgexfoundry.org:10003 15:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 nexus3.edgexfoundry.org:10004 15:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 docker.io 15:23:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:23:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:23:45 Configure a credential helper to remove this warning. See 15:23:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:23:45 15:23:45 Login Succeeded 15:23:45 ---> docker-login.sh ends [Pipeline] } 15:23:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:23:45 ========================================================= 15:23:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:23:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:23:46 + 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 . 15:23:46 Sending build context to Docker daemon 10.36MB 15:23:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:23:46 Step 2/10 : FROM ${BASE} AS builder 15:23:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:23:46 213ec9aee27d: Pulling fs layer 15:23:46 4583459ba037: Pulling fs layer 15:23:46 93c1e223e6f2: Pulling fs layer 15:23:46 53926ce57604: Pulling fs layer 15:23:46 21b2b0c7a3f4: Pulling fs layer 15:23:46 22ff95d597cd: Pulling fs layer 15:23:46 12d6caf4c0d1: Pulling fs layer 15:23:46 96b7cbca73a9: Pulling fs layer 15:23:46 a7acece74701: Pulling fs layer 15:23:46 12d6caf4c0d1: Waiting 15:23:46 53926ce57604: Waiting 15:23:46 96b7cbca73a9: Waiting 15:23:46 21b2b0c7a3f4: Waiting 15:23:46 a7acece74701: Waiting 15:23:46 22ff95d597cd: Waiting 15:23:46 93c1e223e6f2: Verifying Checksum 15:23:46 93c1e223e6f2: Download complete 15:23:46 4583459ba037: Download complete 15:23:46 21b2b0c7a3f4: Verifying Checksum 15:23:46 21b2b0c7a3f4: Download complete 15:23:46 22ff95d597cd: Verifying Checksum 15:23:46 22ff95d597cd: Download complete 15:23:46 213ec9aee27d: Verifying Checksum 15:23:46 213ec9aee27d: Download complete 15:23:46 12d6caf4c0d1: Verifying Checksum 15:23:46 12d6caf4c0d1: Download complete 15:23:46 213ec9aee27d: Pull complete 15:23:46 4583459ba037: Pull complete 15:23:46 93c1e223e6f2: Pull complete 15:23:47 a7acece74701: Verifying Checksum 15:23:47 a7acece74701: Download complete 15:23:47 53926ce57604: Verifying Checksum 15:23:47 53926ce57604: Download complete 15:23:47 96b7cbca73a9: Verifying Checksum 15:23:47 96b7cbca73a9: Download complete 15:23:51 53926ce57604: Pull complete 15:23:51 21b2b0c7a3f4: Pull complete 15:23:51 22ff95d597cd: Pull complete 15:23:51 12d6caf4c0d1: Pull complete 15:23:53 96b7cbca73a9: Pull complete 15:23:54 a7acece74701: Pull complete 15:23:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:23:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:23:54 ---> db6d94c90886 15:23:54 Step 3/10 : ARG MAKE=make build 15:23:58 ---> Running in 3ab6a78d972f 15:23:58 Removing intermediate container 3ab6a78d972f 15:23:58 ---> 2ba87a120e14 15:23:58 Step 4/10 : WORKDIR /device-sdk-go 15:23:58 ---> Running in 0e114ae92321 15:23:58 Removing intermediate container 0e114ae92321 15:23:58 ---> 4995eb42d5a2 15:23:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:23:58 ---> Running in e4ebbebabf0e 15:23:58 Removing intermediate container e4ebbebabf0e 15:23:58 ---> b211d9cb7e79 15:23:58 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:23:58 ---> Running in 5a5a9c8eb736 15:23:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:23:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:23:59 OK: 211 MiB in 51 packages 15:23:59 Removing intermediate container 5a5a9c8eb736 15:23:59 ---> 2ffafdcaed6d 15:23:59 Step 7/10 : COPY go.mod vendor* ./ 15:23:59 ---> 29c0c461a0b7 15:23:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:23:59 ---> Running in 1266b10a97b5 15:23:59 Still waiting to schedule task 15:23:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:24:31 Removing intermediate container 1266b10a97b5 15:24:31 ---> dfba70a9541d 15:24:31 Step 9/10 : COPY . . 15:24:31 ---> 70d7ea12926d 15:24:31 Step 10/10 : RUN ${MAKE} 15:24:31 ---> Running in 354e2c997f28 15:24:31 noop 15:24:31 Removing intermediate container 354e2c997f28 15:24:31 ---> a3d73960b3a0 15:24:31 Successfully built a3d73960b3a0 15:24:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:32 + docker inspect -f . ci-base-image-x86_64 15:24:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:32 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:24: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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:24:32 $ docker top 6d27e0ce1a5173495c01550da8aa511ab669f539a019cc49e926d4571f66f5bb -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:33 + go version 15:24:33 go version go1.18.7 linux/amd64 [Pipeline] } 15:24:33 $ docker stop --time=1 6d27e0ce1a5173495c01550da8aa511ab669f539a019cc49e926d4571f66f5bb 15:24:34 $ docker rm -f --volumes 6d27e0ce1a5173495c01550da8aa511ab669f539a019cc49e926d4571f66f5bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:24:34 + docker inspect -f . ci-base-image-x86_64 15:24:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:24:34 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:24:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:24:35 $ docker top 122be6e5d81920a042f16bf1cbf377ce32e95ab74f407d9ef3cb5a6245e55a97 -eo pid,comm [Pipeline] { [Pipeline] sh 15:24:35 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:24:35 + make test 15:24:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:24:42 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.092s coverage: 78.9% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.113s coverage: 73.1% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.123s coverage: 54.4% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.086s coverage: 65.1% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.754s coverage: 89.2% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:24:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.7% of statements 15:24:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:25:15 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." 15:25:15 GO111MODULE=on go vet ./... 15:25:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:25:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:25:16 ./bin/test-attribution-txt.sh 15:25:16 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:25:16 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 15:25:16 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 15:25:17 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:25:17 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:25:17 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:25:17 $ docker stop --time=1 122be6e5d81920a042f16bf1cbf377ce32e95ab74f407d9ef3cb5a6245e55a97 15:25:20 $ docker rm -f --volumes 122be6e5d81920a042f16bf1cbf377ce32e95ab74f407d9ef3cb5a6245e55a97 [Pipeline] // withDockerContainer [Pipeline] sh 15:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:25:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:25:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:25:21 + ls -al . 15:25:21 total 280 15:25:21 drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 15:24 . 15:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 15:23 .. 15:25:21 -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 15:23 .dockerignore 15:25:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 15:24 .git 15:25:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 15:23 .github 15:25:21 -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 15:23 .gitignore 15:25:21 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 15:23 .golangci.yml 15:25:21 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 15:23 .semver 15:25:21 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 15:23 CHANGELOG.md 15:25:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 15:23 GOVERNANCE.md 15:25:21 -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 15:23 Jenkinsfile 15:25:21 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 15:23 LICENSE 15:25:21 -rw-rw-r-- 1 jenkins jenkins 2003 Jan 3 15:23 Makefile 15:25:21 -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 15:23 OWNERS.md 15:25:21 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 15:23 README.md 15:25:21 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 15:23 VERSION 15:25:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 15:23 bin 15:25:21 -rw-r--r-- 1 jenkins jenkins 101760 Jan 3 15:24 coverage.out 15:25:21 drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 15:23 example 15:25:21 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 15:23 go.mod 15:25:21 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 15:23 go.sum 15:25:21 drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 15:23 internal 15:25:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 15:23 openapi 15:25:21 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 15:23 pkg 15:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 15:23 snap 15:25:21 -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 15:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:22 + 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=5f8eaa6ff6ef578af331e6eea42e46d4600f317a --label arch=amd64 --label version=3.0.0-dev.5 . 15:25:22 Sending build context to Docker daemon 10.46MB 15:25:22 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:25:22 Step 2/23 : FROM ${BASE} AS builder 15:25:22 ---> a3d73960b3a0 15:25:22 Step 3/23 : ARG MAKE=make build 15:25:22 ---> Running in 3096a5f44c8c 15:25:22 Removing intermediate container 3096a5f44c8c 15:25:22 ---> 4c00147dc572 15:25:22 Step 4/23 : WORKDIR /device-sdk-go 15:25:22 ---> Running in a5f37d4d14b8 15:25:22 Removing intermediate container a5f37d4d14b8 15:25:22 ---> 7bdf479c7a72 15:25:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:25:22 ---> Running in a6dfbdf93eb0 15:25:22 Removing intermediate container a6dfbdf93eb0 15:25:22 ---> 0225509f7bc0 15:25:22 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:25:22 ---> Running in 934d99dca447 15:25:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:25:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:25:23 OK: 211 MiB in 51 packages 15:25:23 Removing intermediate container 934d99dca447 15:25:23 ---> 49d2f7098544 15:25:23 Step 7/23 : COPY go.mod vendor* ./ 15:25:23 ---> 0215cf3da2ba 15:25:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:25:23 ---> Running in ea2e86b2ad02 15:25:24 Removing intermediate container ea2e86b2ad02 15:25:24 ---> a17d223c7085 15:25:24 Step 9/23 : COPY . . 15:25:25 ---> 3a2d15896a04 15:25:25 Step 10/23 : RUN ${MAKE} 15:25:25 ---> Running in d6b8b8ca1c50 15:25:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:25:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-903 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:25:33 Running in /w/workspace/device-sdk-go/135 [Pipeline] { [Pipeline] checkout 15:25:33 The recommended git tool is: git 15:25:38 using credential edgex-jenkins-ssh 15:25:38 Cloning the remote Git repository 15:25:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:25:38 > git init /w/workspace/device-sdk-go/135 # timeout=10 15:25:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:25:38 > git --version # timeout=10 15:25:38 > git --version # 'git version 2.25.1' 15:25:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:25:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:25:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:25:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:25:41 Avoid second fetch 15:25:41 Checking out Revision 5f8eaa6ff6ef578af331e6eea42e46d4600f317a (main) 15:25:42 Commit message: "Merge pull request #1268 from jinlinGuan/issue-4248-sdk" 15:25:41 > git config core.sparsecheckout # timeout=10 15:25:41 > git checkout -f 5f8eaa6ff6ef578af331e6eea42e46d4600f317a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:25:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:25:42 % Total % Received % Xferd Average Speed Time Time Time Current 15:25:42 Dload Upload Total Spent Left Speed 15:25:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh 15:25:43 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:25:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:25:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:25:43 + sudo tee /etc/docker/daemon.new 15:25:43 { 15:25:43 "registry-mirrors": [ 15:25:43 "https://nexus3.edgexfoundry.org:10001" 15:25:43 ], 15:25:43 "bip": "10.250.0.254/24", 15:25:43 "hosts": [ 15:25:43 "tcp://0.0.0.0:5555", 15:25:43 "unix:///var/run/docker.sock" 15:25:43 ], 15:25:43 "mtu": 1458, 15:25:43 "selinux-enabled": true, 15:25:43 "seccomp-profile": "/etc/docker/seccomp.json" 15:25:43 } [Pipeline] sh 15:25:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:25:44 + sudo service docker restart 15:25:48 Removing intermediate container d6b8b8ca1c50 15:25:48 ---> bbb4e3d7a6ea 15:25:48 Step 11/23 : FROM alpine:3.16 15:25:48 3.16: Pulling from library/alpine 15:25:48 ca7dd9ec2225: Pulling fs layer 15:25:48 ca7dd9ec2225: Verifying Checksum 15:25:48 ca7dd9ec2225: Download complete 15:25:49 ca7dd9ec2225: Pull complete 15:25:49 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:25:49 Status: Downloaded newer image for alpine:3.16 15:25:49 ---> bfe296a52501 15:25:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:25:49 ---> Running in f6be26cb9a26 15:25:49 Removing intermediate container f6be26cb9a26 15:25:49 ---> 09fd137feb58 15:25:49 Step 13/23 : RUN apk add --update --no-cache zeromq 15:25:49 ---> Running in b0432b419716 15:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:25:49 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:25:49 (2/5) Installing libsodium (1.0.18-r0) 15:25:49 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:25:49 (4/5) Installing libzmq (4.3.4-r0) 15:25:49 (5/5) Installing zeromq (4.3.4-r0) 15:25:49 Executing busybox-1.35.0-r17.trigger 15:25:49 OK: 8 MiB in 19 packages 15:25:50 Removing intermediate container b0432b419716 15:25:50 ---> fdc1369f73d1 15:25:50 Step 14/23 : WORKDIR / 15:25:50 ---> Running in a9a40820f8d8 15:25:50 Removing intermediate container a9a40820f8d8 15:25:50 ---> 6b31a91555a4 15:25:50 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:25:50 ---> fc84ff04f0da 15:25:50 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:25:51 ---> 459ed8ac2707 15:25:51 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:25:51 ---> b0c4df74b274 15:25:51 Step 18/23 : EXPOSE 59999 15:25:51 ---> Running in 3080e34d480e 15:25:51 Removing intermediate container 3080e34d480e 15:25:51 ---> 0e2637aaa834 15:25:51 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:25:51 ---> Running in b3ae537a7213 15:25:51 Removing intermediate container b3ae537a7213 15:25:51 ---> 659edaa94213 15:25:51 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:25:51 ---> Running in 46cd882f5af9 15:25:51 Removing intermediate container 46cd882f5af9 15:25:51 ---> 65a285a1404f 15:25:51 Step 21/23 : LABEL arch=amd64 15:25:51 ---> Running in ccfd18f74de6 15:25:51 Removing intermediate container ccfd18f74de6 15:25:51 ---> 4e5483b5d46a 15:25:51 Step 22/23 : LABEL git_sha=5f8eaa6ff6ef578af331e6eea42e46d4600f317a 15:25:51 ---> Running in f1aada88b8f1 15:25:51 Removing intermediate container f1aada88b8f1 15:25:51 ---> cfc01396af12 15:25:51 Step 23/23 : LABEL version=3.0.0-dev.5 15:25:51 ---> Running in 11263ae9813f 15:25:51 Removing intermediate container 11263ae9813f 15:25:51 ---> 7eb2f0a97b63 15:25:51 [Warning] One or more build-args [ARCH] were not consumed 15:25:52 Successfully built 7eb2f0a97b63 15:25:52 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 15:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:25:52 15:25:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:25:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:25:52 latest: Pulling from edgex-lftools-log-publisher 15:25:52 5eb5b503b376: Pulling fs layer 15:25:52 5c69ac0246d0: Pulling fs layer 15:25:52 ec43610c2a17: Pulling fs layer 15:25:52 3a2ae6a8a46f: Pulling fs layer 15:25:52 33b1e0a273af: Pulling fs layer 15:25:52 5d3b04190fa2: Pulling fs layer 15:25:52 2f39f015ded8: Pulling fs layer 15:25:52 3a2ae6a8a46f: Waiting 15:25:52 33b1e0a273af: Waiting 15:25:52 2f39f015ded8: Waiting 15:25:52 5d3b04190fa2: Waiting 15:25:52 5c69ac0246d0: Verifying Checksum 15:25:52 5c69ac0246d0: Download complete 15:25:52 3a2ae6a8a46f: Verifying Checksum 15:25:52 3a2ae6a8a46f: Download complete 15:25:52 33b1e0a273af: Verifying Checksum 15:25:52 33b1e0a273af: Download complete 15:25:53 5d3b04190fa2: Verifying Checksum 15:25:53 5d3b04190fa2: Download complete 15:25:53 ec43610c2a17: Verifying Checksum 15:25:53 ec43610c2a17: Download complete 15:25:53 5eb5b503b376: Verifying Checksum 15:25:53 5eb5b503b376: Download complete 15:25:53 2f39f015ded8: Download complete 15:25:54 5eb5b503b376: Pull complete 15:25:54 5c69ac0246d0: Pull complete 15:25:55 ec43610c2a17: Pull complete 15:25:55 3a2ae6a8a46f: Pull complete 15:25:55 33b1e0a273af: Pull complete 15:25:55 5d3b04190fa2: Pull complete 15:26:00 2f39f015ded8: Pull complete 15:26:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:26:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:26:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:26:00 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:26:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:26:04 $ docker top 18eee67f0990038e26175fb6b53d626f67c97d8f6f07251abc9cdccba8baef48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 15:26:04 provisioning config files... 15:26:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/135@tmp/config15720002125407715073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:26:05 ---> job-cost.sh 15:26:05 lf-activate-venv: SKIPPING 15:26:05 INFO: No Stack... 15:26:05 ---> docker-login.sh 15:26:05 nexus3.edgexfoundry.org:10001 15:26:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:05 INFO: Retrieving Pricing Info for: v3-standard-8 15:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:05 Configure a credential helper to remove this warning. See 15:26:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:05 15:26:05 Login Succeeded 15:26:05 nexus3.edgexfoundry.org:10002 15:26:05 INFO: Archiving Costs [Pipeline] sh 15:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:06 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:26:06 + cut -d, -f6 [Pipeline] lock 15:26:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] 15:26:06 Resource [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] did not exist. Created. 15:26:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:06 Configure a credential helper to remove this warning. See 15:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:06 15:26:06 Login Succeeded 15:26:06 nexus3.edgexfoundry.org:10003 15:26:06 + echo total: 0.2199999988079071 [Pipeline] stash 15:26:06 Stashed 1 file(s) [Pipeline] } 15:26:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] [Pipeline] // lock 15:26:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:06 Configure a credential helper to remove this warning. See 15:26:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:06 15:26:06 Login Succeeded 15:26:06 nexus3.edgexfoundry.org:10004 [Pipeline] } 15:26:06 $ docker stop --time=1 18eee67f0990038e26175fb6b53d626f67c97d8f6f07251abc9cdccba8baef48 15:26:07 $ docker rm -f --volumes 18eee67f0990038e26175fb6b53d626f67c97d8f6f07251abc9cdccba8baef48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:08 Configure a credential helper to remove this warning. See 15:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:08 15:26:08 Login Succeeded 15:26:08 docker.io 15:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:26:09 Configure a credential helper to remove this warning. See 15:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:26:09 15:26:09 Login Succeeded 15:26:09 ---> docker-login.sh ends [Pipeline] } 15:26:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:26:09 ========================================================= 15:26:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:26:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:26:10 + 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 . 15:26:10 Sending build context to Docker daemon 5.565MB 15:26:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:26:10 Step 2/10 : FROM ${BASE} AS builder 15:26:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:26:10 9b18e9b68314: Pulling fs layer 15:26:10 35d82f9e3411: Pulling fs layer 15:26:10 e16973657156: Pulling fs layer 15:26:10 fc693d55d65f: Pulling fs layer 15:26:10 7e9fc2657dce: Pulling fs layer 15:26:10 dda99020689f: Pulling fs layer 15:26:10 db1c61fa0a46: Pulling fs layer 15:26:10 891c053d2c06: Pulling fs layer 15:26:10 dda99020689f: Waiting 15:26:10 fc693d55d65f: Waiting 15:26:10 7e9fc2657dce: Waiting 15:26:10 db1c61fa0a46: Waiting 15:26:10 891c053d2c06: Waiting 15:26:10 e16973657156: Verifying Checksum 15:26:10 e16973657156: Download complete 15:26:10 35d82f9e3411: Verifying Checksum 15:26:10 35d82f9e3411: Download complete 15:26:10 7e9fc2657dce: Verifying Checksum 15:26:10 dda99020689f: Verifying Checksum 15:26:10 dda99020689f: Download complete 15:26:10 9b18e9b68314: Verifying Checksum 15:26:10 9b18e9b68314: Download complete 15:26:11 9b18e9b68314: Pull complete 15:26:11 891c053d2c06: Verifying Checksum 15:26:11 891c053d2c06: Download complete 15:26:12 35d82f9e3411: Pull complete 15:26:12 e16973657156: Pull complete 15:26:13 db1c61fa0a46: Verifying Checksum 15:26:13 db1c61fa0a46: Download complete 15:26:13 fc693d55d65f: Download complete 15:26:26 fc693d55d65f: Pull complete 15:26:26 7e9fc2657dce: Pull complete 15:26:26 dda99020689f: Pull complete 15:26:32 db1c61fa0a46: Pull complete 15:26:34 891c053d2c06: Pull complete 15:26:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:26:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:26:34 ---> f96f9c87975a 15:26:34 Step 3/10 : ARG MAKE=make build 15:26:36 ---> Running in dda311581db5 15:26:37 Removing intermediate container dda311581db5 15:26:37 ---> e04f7c7cb37c 15:26:37 Step 4/10 : WORKDIR /device-sdk-go 15:26:37 ---> Running in dad0a0dca62b 15:26:37 Removing intermediate container dad0a0dca62b 15:26:37 ---> 8f628e1e9a4e 15:26:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:26:37 ---> Running in 75aa6e188799 15:26:37 Removing intermediate container 75aa6e188799 15:26:37 ---> 11caf28d598b 15:26:37 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:26:37 ---> Running in 581aecfb855c 15:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:26:40 OK: 221 MiB in 51 packages 15:26:41 Removing intermediate container 581aecfb855c 15:26:41 ---> 6a4848b5e198 15:26:41 Step 7/10 : COPY go.mod vendor* ./ 15:26:41 ---> 633e3578e0f3 15:26:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:26:41 ---> Running in 98279bd8ab77 15:27:37 Removing intermediate container 98279bd8ab77 15:27:37 ---> 27bea518d65c 15:27:37 Step 9/10 : COPY . . 15:27:37 ---> 7b4e056b95cd 15:27:37 Step 10/10 : RUN ${MAKE} 15:27:37 ---> Running in 529fb607065d 15:27:37 noop 15:27:37 Removing intermediate container 529fb607065d 15:27:37 ---> c62764a637a1 15:27:37 Successfully built c62764a637a1 15:27:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:38 + docker inspect -f . ci-base-image-arm64 15:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:38 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 15:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/135 -v /w/workspace/device-sdk-go/135:/w/workspace/device-sdk-go/135:rw,z -v /w/workspace/device-sdk-go/135@tmp:/w/workspace/device-sdk-go/135@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 15:27:39 $ docker top 8458e9c8238eee82f4a17a5b51beb7918fa19787741b8a1059a847ddd61a1515 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:40 + go version 15:27:40 go version go1.18.7 linux/arm64 [Pipeline] } 15:27:40 $ docker stop --time=1 8458e9c8238eee82f4a17a5b51beb7918fa19787741b8a1059a847ddd61a1515 15:27:42 $ docker rm -f --volumes 8458e9c8238eee82f4a17a5b51beb7918fa19787741b8a1059a847ddd61a1515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:27:42 + docker inspect -f . ci-base-image-arm64 15:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 15:27:43 $ 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/135 -v /w/workspace/device-sdk-go/135:/w/workspace/device-sdk-go/135:rw,z -v /w/workspace/device-sdk-go/135@tmp:/w/workspace/device-sdk-go/135@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 15:27:44 $ docker top e5d490ab906e92e11256d253b990d8fc9c6c82e8e4bcb8d616b96ff818dd45a9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:27:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/135 [Pipeline] fileExists [Pipeline] sh 15:27:44 + make test 15:27:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:28:17 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:29:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:29:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:29:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:29:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:29:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:30:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.497s coverage: 27.6% of statements 15:30:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.542s coverage: 78.9% of statements 15:30:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:30:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.443s coverage: 73.1% of statements 15:30:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:30:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:30:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.690s coverage: 54.4% of statements 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 15:30:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.467s coverage: 65.1% of statements 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:30:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:30:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.686s coverage: 89.2% of statements 15:30:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:30:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.397s coverage: 4.7% of statements 15:30:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:30:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:30:12 GO111MODULE=on go vet ./... 15:31:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:31:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:31:49 ./bin/test-attribution-txt.sh 15:31:49 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:31:49 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 15:31:49 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 15:31:49 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:31:49 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:31:49 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:31:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:31:49 $ docker stop --time=1 e5d490ab906e92e11256d253b990d8fc9c6c82e8e4bcb8d616b96ff818dd45a9 15:31:51 $ docker rm -f --volumes e5d490ab906e92e11256d253b990d8fc9c6c82e8e4bcb8d616b96ff818dd45a9 [Pipeline] // withDockerContainer [Pipeline] sh 15:31:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:31:52 Warning: overwriting stash ‘coverage-report’ 15:31:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:31:53 + ls -al . 15:31:53 total 276 15:31:53 drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 15:27 . 15:31:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 15:25 .. 15:31:53 -rw-rw-r-- 1 jenkins jenkins 140 Jan 3 15:25 .dockerignore 15:31:53 drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 15:25 .git 15:31:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 15:25 .github 15:31:53 -rw-rw-r-- 1 jenkins jenkins 131 Jan 3 15:25 .gitignore 15:31:53 -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 15:25 .golangci.yml 15:31:53 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 3 15:25 CHANGELOG.md 15:31:53 -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 15:25 GOVERNANCE.md 15:31:53 -rw-rw-r-- 1 jenkins jenkins 880 Jan 3 15:25 Jenkinsfile 15:31:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 3 15:25 LICENSE 15:31:53 -rw-rw-r-- 1 jenkins jenkins 2003 Jan 3 15:25 Makefile 15:31:53 -rw-rw-r-- 1 jenkins jenkins 619 Jan 3 15:25 OWNERS.md 15:31:53 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 3 15:25 README.md 15:31:53 -rw-rw-r-- 1 jenkins jenkins 11 Jan 3 15:23 VERSION 15:31:53 drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 15:25 bin 15:31:53 -rw-r--r-- 1 jenkins jenkins 101759 Jan 3 15:30 coverage.out 15:31:53 drwxrwxr-x 5 jenkins jenkins 4096 Jan 3 15:25 example 15:31:53 -rw-rw-r-- 1 jenkins jenkins 3342 Jan 3 15:25 go.mod 15:31:53 -rw-rw-r-- 1 jenkins jenkins 44555 Jan 3 15:25 go.sum 15:31:53 drwxrwxr-x 14 jenkins jenkins 4096 Jan 3 15:25 internal 15:31:53 drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 15:25 openapi 15:31:53 drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 15:25 pkg 15:31:53 drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 15:25 snap 15:31:53 -rw-rw-r-- 1 jenkins jenkins 222 Jan 3 15:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:31: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=5f8eaa6ff6ef578af331e6eea42e46d4600f317a --label arch=arm64 --label version=3.0.0-dev.5 . 15:31:54 Sending build context to Docker daemon 5.668MB 15:31:54 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:31:54 Step 2/23 : FROM ${BASE} AS builder 15:31:54 ---> c62764a637a1 15:31:54 Step 3/23 : ARG MAKE=make build 15:31:54 ---> Running in 2d1bbefb22d6 15:31:54 Removing intermediate container 2d1bbefb22d6 15:31:54 ---> 28a8057e08ac 15:31:54 Step 4/23 : WORKDIR /device-sdk-go 15:31:54 ---> Running in 71f14f26e4c6 15:31:55 Removing intermediate container 71f14f26e4c6 15:31:55 ---> 3fb9e0358ea8 15:31:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:31:55 ---> Running in c58c2fc493ba 15:31:55 Removing intermediate container c58c2fc493ba 15:31:55 ---> a2564a32ee77 15:31:55 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:31:55 ---> Running in 09031bc9fe7f 15:31:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:31:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:31:58 OK: 221 MiB in 51 packages 15:32:00 Removing intermediate container 09031bc9fe7f 15:32:00 ---> ef2de7d844e8 15:32:00 Step 7/23 : COPY go.mod vendor* ./ 15:32:01 ---> dd1d940c5194 15:32:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:01 ---> Running in 952b26671ac9 15:32:02 Removing intermediate container 952b26671ac9 15:32:02 ---> 24ddb90d0dfc 15:32:02 Step 9/23 : COPY . . 15:32:04 ---> cb4601a6874e 15:32:04 Step 10/23 : RUN ${MAKE} 15:32:04 ---> Running in 427fcfa68271 15:32:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:34:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:34:12 Removing intermediate container 427fcfa68271 15:34:12 ---> 6ac467c89beb 15:34:12 Step 11/23 : FROM alpine:3.16 15:34:12 3.16: Pulling from library/alpine 15:34:12 6875df1f5354: Pulling fs layer 15:34:12 6875df1f5354: Verifying Checksum 15:34:12 6875df1f5354: Download complete 15:34:12 6875df1f5354: Pull complete 15:34:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 15:34:12 Status: Downloaded newer image for alpine:3.16 15:34:12 ---> 2b4661558fb8 15:34:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:34:12 ---> Running in dc213e22535b 15:34:12 Removing intermediate container dc213e22535b 15:34:12 ---> 9ce403ce0401 15:34:12 Step 13/23 : RUN apk add --update --no-cache zeromq 15:34:12 ---> Running in dfd118f57f04 15:34:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:34:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:34:12 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:34:12 (2/5) Installing libsodium (1.0.18-r0) 15:34:12 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:34:12 (4/5) Installing libzmq (4.3.4-r0) 15:34:12 (5/5) Installing zeromq (4.3.4-r0) 15:34:12 Executing busybox-1.35.0-r17.trigger 15:34:12 OK: 8 MiB in 19 packages 15:34:13 Removing intermediate container dfd118f57f04 15:34:13 ---> b73d8edc6d97 15:34:13 Step 14/23 : WORKDIR / 15:34:13 ---> Running in 4d4dc8245b51 15:34:13 Removing intermediate container 4d4dc8245b51 15:34:13 ---> b381df7c7c17 15:34:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:34:14 ---> b177df6ae779 15:34:14 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:34:15 ---> fdc1b582a596 15:34:15 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:34:16 ---> ab0467d526ba 15:34:16 Step 18/23 : EXPOSE 59999 15:34:16 ---> Running in 51f6cfe07c83 15:34:16 Removing intermediate container 51f6cfe07c83 15:34:16 ---> 8f3e4221d2fd 15:34:16 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:34:16 ---> Running in 762afc62e480 15:34:16 Removing intermediate container 762afc62e480 15:34:16 ---> 24a2ec8051d3 15:34:16 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:34:16 ---> Running in f264e7881877 15:34:17 Removing intermediate container f264e7881877 15:34:17 ---> 8281cd7d12fc 15:34:17 Step 21/23 : LABEL arch=arm64 15:34:17 ---> Running in 8cdf9970ce2a 15:34:17 Removing intermediate container 8cdf9970ce2a 15:34:17 ---> 1e69c017b82a 15:34:17 Step 22/23 : LABEL git_sha=5f8eaa6ff6ef578af331e6eea42e46d4600f317a 15:34:17 ---> Running in a8d2349f65d1 15:34:17 Removing intermediate container a8d2349f65d1 15:34:17 ---> 7357827989cb 15:34:17 Step 23/23 : LABEL version=3.0.0-dev.5 15:34:17 ---> Running in 31242106f40d 15:34:18 Removing intermediate container 31242106f40d 15:34:18 ---> 6a92c145a320 15:34:18 [Warning] One or more build-args [ARCH] were not consumed 15:34:18 Successfully built 6a92c145a320 15:34:18 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 15:34:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:18 15:34:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:19 arm64: Pulling from edgex-lftools-log-publisher 15:34:19 8998bd30e6a1: Pulling fs layer 15:34:19 04944245beec: Pulling fs layer 15:34:19 699f458cf7ca: Pulling fs layer 15:34:19 765212b225bb: Pulling fs layer 15:34:19 f23df028b6ca: Pulling fs layer 15:34:19 d65c8cfc05b1: Pulling fs layer 15:34:19 2437ff75d9bd: Pulling fs layer 15:34:19 765212b225bb: Waiting 15:34:19 f23df028b6ca: Waiting 15:34:19 d65c8cfc05b1: Waiting 15:34:19 2437ff75d9bd: Waiting 15:34:19 04944245beec: Verifying Checksum 15:34:19 04944245beec: Download complete 15:34:19 765212b225bb: Download complete 15:34:19 f23df028b6ca: Verifying Checksum 15:34:19 f23df028b6ca: Download complete 15:34:19 d65c8cfc05b1: Verifying Checksum 15:34:19 d65c8cfc05b1: Download complete 15:34:19 699f458cf7ca: Verifying Checksum 15:34:19 699f458cf7ca: Download complete 15:34:19 8998bd30e6a1: Verifying Checksum 15:34:19 8998bd30e6a1: Download complete 15:34:22 2437ff75d9bd: Verifying Checksum 15:34:22 2437ff75d9bd: Download complete 15:34:24 8998bd30e6a1: Pull complete 15:34:24 04944245beec: Pull complete 15:34:26 699f458cf7ca: Pull complete 15:34:26 765212b225bb: Pull complete 15:34:26 f23df028b6ca: Pull complete 15:34:26 d65c8cfc05b1: Pull complete 15:34:41 2437ff75d9bd: Pull complete 15:34:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:34:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:34:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:34:42 prd-ubuntu20.04-docker-arm64-4c-16g-903 does not seem to be running inside a container 15:34:42 $ 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/135 -v /w/workspace/device-sdk-go/135:/w/workspace/device-sdk-go/135:rw,z -v /w/workspace/device-sdk-go/135@tmp:/w/workspace/device-sdk-go/135@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 15:34:44 $ docker top 5828b85b7f4a1b92fa655087245fca3f1ef9cfd3059d5441b730366c2162855f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:34:45 ---> job-cost.sh 15:34:45 lf-activate-venv: SKIPPING 15:34:45 INFO: No Stack... 15:34:46 INFO: Retrieving Pricing Info for: v3-standard-4 15:34:46 INFO: Archiving Costs [Pipeline] sh 15:34:47 + cut -d, -f6 15:34:47 + cat /w/workspace/device-sdk-go/135/archives/cost.csv [Pipeline] lock 15:34:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] 15:34:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] did not exist. Created. 15:34:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:34:48 /w/workspace/device-sdk-go/135@tmp/durable-111dcab7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:34:48 + echo total: 0.10999999940395355 [Pipeline] stash 15:34:48 Warning: overwriting stash ‘stack-cost’ 15:34:48 Stashed 1 file(s) [Pipeline] } 15:34:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 15:34:48 $ docker stop --time=1 5828b85b7f4a1b92fa655087245fca3f1ef9cfd3059d5441b730366c2162855f 15:34:49 $ docker rm -f --volumes 5828b85b7f4a1b92fa655087245fca3f1ef9cfd3059d5441b730366c2162855f [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 15:34:50 provisioning config files... 15:34:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9681806682683612792tmp [Pipeline] { [Pipeline] sh 15:34:50 + set +x 15:34:50 + curl -s https://codecov.io/bash 15:34:50 + bash -s -- 15:34:50 15:34:50 _____ _ 15:34:50 / ____| | | 15:34:50 | | ___ __| | ___ ___ _____ __ 15:34:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:34:50 | |___| (_) | (_| | __/ (_| (_) \ V / 15:34:50 \_____\___/ \__,_|\___|\___\___/ \_/ 15:34:50 Bash-1.0.6 15:34:50 15:34:50 15:34:50 ==> git version 2.25.1 found 15:34:50 ==> 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 15:34:50 Release-Date: 2020-01-08 15:34:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:34:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:34:50 ==> Jenkins CI detected. 15:34:50 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:34:50 project root: . 15:34:50 --> token set from env 15:34:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:34:50 ==> Running gcov in . (disable via -X gcov) 15:34:50 ==> Python coveragepy not found 15:34:50 ==> Searching for coverage reports in: 15:34:50 + . 15:34:50 -> Found 1 reports 15:34:50 ==> Detecting git/mercurial file structure 15:34:50 ==> Reading reports 15:34:50 + ./coverage.out bytes=101759 15:34:50 ==> Appending adjustments 15:34:50 https://docs.codecov.io/docs/fixing-reports 15:34:51 + Found adjustments 15:34:51 ==> Gzipping contents 15:34:51 16K /tmp/codecov.jIkVCo.gz 15:34:51 ==> Uploading reports 15:34:51 url: https://codecov.io 15:34:51 query: branch=main&commit=5f8eaa6ff6ef578af331e6eea42e46d4600f317a&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:51 -> Pinging Codecov 15:34:51 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=5f8eaa6ff6ef578af331e6eea42e46d4600f317a&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:34:51 -> Uploading to 15:34:51 https://storage.googleapis.com/codecov/v4/raw/2023-01-03/7E55EF52A471D76F132DFD9A03CDDE97/5f8eaa6ff6ef578af331e6eea42e46d4600f317a/9f86d747-6d98-4fef-a60b-8329398115ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T153451Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b97858ce32c2d20bf7356a6309fe16caa62464b466d7eb3d8bc7b284e38f4708 15:34:51 % Total % Received % Xferd Average Speed Time Time Time Current 15:34:51 Dload Upload Total Spent Left Speed 15:34:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14732 0 0 100 14732 0 72215 --:--:-- --:--:-- --:--:-- 71863 100 14732 0 0 100 14732 0 72215 --:--:-- --:--:-- --:--:-- 71863 15:34:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] } 15:34:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:34:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:34:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:52 15:34:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:34:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:34:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:34:52 df9b9388f04a: Pulling fs layer 15:34:52 52dc419b0ee2: Pulling fs layer 15:34:52 25bc292e5bac: Pulling fs layer 15:34:52 114826534d7a: Pulling fs layer 15:34:52 4657fd5d0bcf: Pulling fs layer 15:34:52 6ad1cebc031e: Pulling fs layer 15:34:52 8a3aa393b2d8: Pulling fs layer 15:34:52 6ad1cebc031e: Waiting 15:34:52 114826534d7a: Waiting 15:34:52 4657fd5d0bcf: Waiting 15:34:52 8a3aa393b2d8: Waiting 15:34:52 25bc292e5bac: Verifying Checksum 15:34:52 25bc292e5bac: Download complete 15:34:52 52dc419b0ee2: Download complete 15:34:52 4657fd5d0bcf: Verifying Checksum 15:34:52 4657fd5d0bcf: Download complete 15:34:52 df9b9388f04a: Verifying Checksum 15:34:52 df9b9388f04a: Download complete 15:34:52 df9b9388f04a: Pull complete 15:34:52 6ad1cebc031e: Verifying Checksum 15:34:52 6ad1cebc031e: Download complete 15:34:52 52dc419b0ee2: Pull complete 15:34:52 25bc292e5bac: Pull complete 15:34:53 114826534d7a: Verifying Checksum 15:34:53 114826534d7a: Download complete 15:34:53 8a3aa393b2d8: Verifying Checksum 15:34:53 8a3aa393b2d8: Download complete 15:34:56 114826534d7a: Pull complete 15:34:56 4657fd5d0bcf: Pull complete 15:34:57 6ad1cebc031e: Pull complete 15:35:00 8a3aa393b2d8: Pull complete 15:35:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:35:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:35:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:00 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:35:03 $ docker top 92ff665b04e315052117ebf604cb442489aae2ee6c54bed0ddfe798afff9f9fa -eo pid,comm [Pipeline] { [Pipeline] echo 15:35:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:35:03 + set -o pipefail 15:35:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:35:09 15:35:09 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 15:35:09 15:35:09 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/e7b04dee-b189-46d0-9bd5-69c10d555ac3 15:35:09 15:35:09 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:35:09 15:35:09 15:35:09 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:35:09 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:35:09 More details here: https://snyk.co/ue1NS [Pipeline] } 15:35:09 $ docker stop --time=1 92ff665b04e315052117ebf604cb442489aae2ee6c54bed0ddfe798afff9f9fa 15:35:12 $ docker rm -f --volumes 92ff665b04e315052117ebf604cb442489aae2ee6c54bed0ddfe798afff9f9fa [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 15:35:13 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:13 provisioning config files... 15:35:13 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17238265330000327646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:35:13 --> edgex-publish-swagger.sh 15:35:13 === Publish openapi/v2 API === 15:35:13 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:35:13 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 15:35:13 % Total % Received % Xferd Average Speed Time Time Time Current 15:35:13 Dload Upload Total Spent Left Speed 15:35:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 396k --:--:-- --:--:-- --:--:-- 393k 100 53590 100 38 100 53552 81 111k --:--:-- --:--:-- --:--:-- 111k 15:35:13 {"code":403,"message":"Access Denied"} 15:35:13 [Pipeline] } 15:35:13 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 15:35:14 + git log --format=format:%s -1 5f8eaa6ff6ef578af331e6eea42e46d4600f317a [Pipeline] sh 15:35:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:14 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:35:15 $ docker top a418e9481a707b6f0b3729b2403bab87c8353503b30e81b64637cbef9a8ebccb -eo pid,comm 15:35:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:35:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:15 [ssh-agent] Looking for ssh-agent implementation... 15:35:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:15 $ docker exec a418e9481a707b6f0b3729b2403bab87c8353503b30e81b64637cbef9a8ebccb ssh-agent 15:35:15 SSH_AUTH_SOCK=/tmp/ssh-4266uq8A7qdG/agent.31 15:35:15 SSH_AGENT_PID=37 15:35:15 Running ssh-add (command line suppressed) 15:35:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11747431393690008257.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11747431393690008257.key) 15:35:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:16 + git semver tag 15:35:16 2023-01-03 15:35:16,202 [run_tag] DEBUG tag force:False 15:35:16 2023-01-03 15:35:16,202 [check_head_tag] DEBUG check head tag 15:35:16 2023-01-03 15:35:16,203 [execute] INFO git cat-file --batch-check 15:35:16 2023-01-03 15:35:16,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:35:16 2023-01-03 15:35:16,207 [execute] INFO git cat-file --batch 15:35:16 2023-01-03 15:35:16,207 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:35:16 2023-01-03 15:35:16,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:16 2023-01-03 15:35:16,232 [execute] INFO git tag -a v3.0.0-dev.5 -m v3.0.0-dev.5 15:35:16 2023-01-03 15:35:16,232 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.5', '-m', 'v3.0.0-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:35:16 2023-01-03 15:35:16,237 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:16 3.0.0-dev.5 [Pipeline] } 15:35:16 $ docker exec --env ******** --env ******** a418e9481a707b6f0b3729b2403bab87c8353503b30e81b64637cbef9a8ebccb ssh-agent -k 15:35:16 unset SSH_AUTH_SOCK; 15:35:16 unset SSH_AGENT_PID; 15:35:16 echo Agent pid 37 killed; 15:35:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:16 + git semver [Pipeline] } 15:35:16 $ docker stop --time=1 a418e9481a707b6f0b3729b2403bab87c8353503b30e81b64637cbef9a8ebccb 15:35:18 $ docker rm -f --volumes a418e9481a707b6f0b3729b2403bab87c8353503b30e81b64637cbef9a8ebccb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:18 15:35:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:18 0.23.1-centos7: Pulling from edgex-lftools 15:35:18 ab5ef0e58194: Pulling fs layer 15:35:18 9712f1f96733: Pulling fs layer 15:35:18 63f879dbbcfc: Pulling fs layer 15:35:18 0d9ebad4ef96: Pulling fs layer 15:35:18 e9a5061849ea: Pulling fs layer 15:35:18 d747dcd14b5f: Pulling fs layer 15:35:18 2de7ff778b66: Pulling fs layer 15:35:18 0d9ebad4ef96: Waiting 15:35:18 e9a5061849ea: Waiting 15:35:18 d747dcd14b5f: Waiting 15:35:18 9712f1f96733: Verifying Checksum 15:35:18 9712f1f96733: Download complete 15:35:19 63f879dbbcfc: Verifying Checksum 15:35:19 63f879dbbcfc: Download complete 15:35:19 e9a5061849ea: Verifying Checksum 15:35:19 e9a5061849ea: Download complete 15:35:19 d747dcd14b5f: Verifying Checksum 15:35:19 d747dcd14b5f: Download complete 15:35:19 ab5ef0e58194: Verifying Checksum 15:35:19 ab5ef0e58194: Download complete 15:35:19 0d9ebad4ef96: Verifying Checksum 15:35:19 0d9ebad4ef96: Download complete 15:35:19 2de7ff778b66: Verifying Checksum 15:35:19 2de7ff778b66: Download complete 15:35:22 ab5ef0e58194: Pull complete 15:35:22 9712f1f96733: Pull complete 15:35:23 63f879dbbcfc: Pull complete 15:35:27 0d9ebad4ef96: Pull complete 15:35:27 e9a5061849ea: Pull complete 15:35:27 d747dcd14b5f: Pull complete 15:35:28 2de7ff778b66: Pull complete 15:35:28 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:35:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:35:28 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:28 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:35:31 $ docker top 87c48d38d1915ed48d018baa8911bb06ff6b133f89424de435379a1115abd114 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:35:31 provisioning config files... 15:35:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18222054849531689150tmp 15:35:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6423403872544240611tmp 15:35:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15695362368790012357tmp [Pipeline] { [Pipeline] echo 15:35:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:35:31 ---> sigul-configuration.sh 15:35:31 gpg: directory `/root/.gnupg' created 15:35:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:35:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:35:31 gpg: keyring `/root/.gnupg/secring.gpg' created 15:35:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:35:31 gpg: CAST5 encrypted data 15:35:31 gpg: encrypted with 1 passphrase 15:35:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:35:32 + mkdir /home/jenkins 15:35:32 + mkdir /home/jenkins/sigul [Pipeline] sh 15:35:32 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:35:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:35:32 ---> sigul-install.sh 15:35:32 Sigul already installed; skipping installation. [Pipeline] sh 15:35:32 + git tag --list 15:35:32 0.7.1 15:35:32 delhi-tag 15:35:32 v1.0.0 15:35:32 v1.1.0 15:35:32 v1.1.1 15:35:32 v1.1.2 15:35:32 v1.2.0 15:35:32 v1.2.1 15:35:32 v1.2.2 15:35:32 v1.2.3 15:35:32 v1.3.0 15:35:32 v1.4.0 15:35:32 v2.0.0 15:35:32 v2.1.0 15:35:32 v2.1.1 15:35:32 v2.1.1-dev.2 15:35:32 v2.1.1-dev.3 15:35:32 v2.2.0 15:35:32 v2.2.1-dev.1 15:35:32 v2.2.1-dev.10 15:35:32 v2.2.1-dev.11 15:35:32 v2.2.1-dev.12 15:35:32 v2.2.1-dev.13 15:35:32 v2.2.1-dev.14 15:35:32 v2.2.1-dev.2 15:35:32 v2.2.1-dev.3 15:35:32 v2.2.1-dev.4 15:35:32 v2.2.1-dev.5 15:35:32 v2.2.1-dev.6 15:35:32 v2.2.1-dev.7 15:35:32 v2.2.1-dev.8 15:35:32 v2.2.1-dev.9 15:35:32 v2.3.0 15:35:32 v2.3.0-dev.14 15:35:32 v2.3.0-dev.15 15:35:32 v2.3.0-dev.16 15:35:32 v2.3.0-dev.17 15:35:32 v2.3.0-dev.18 15:35:32 v2.3.0-dev.19 15:35:32 v2.3.0-dev.20 15:35:32 v2.3.0-dev.21 15:35:32 v2.3.0-dev.22 15:35:32 v2.3.0-dev.23 15:35:32 v2.3.0-dev.24 15:35:32 v2.3.0-dev.25 15:35:32 v2.3.0-dev.26 15:35:32 v2.3.0-dev.27 15:35:32 v2.3.0-dev.28 15:35:32 v2.3.0-dev.29 15:35:32 v2.3.0-dev.30 15:35:32 v2.3.0-dev.31 15:35:32 v2.3.0-dev.32 15:35:32 v2.3.0-dev.33 15:35:32 v2.3.0-dev.34 15:35:32 v2.3.0-dev.35 15:35:32 v2.3.0-dev.36 15:35:32 v2.3.0-dev.37 15:35:32 v2.3.0-dev.38 15:35:32 v2.3.0-dev.39 15:35:32 v2.3.0-dev.40 15:35:32 v2.3.0-dev.41 15:35:32 v2.3.0-dev.42 15:35:32 v2.3.0-dev.43 15:35:32 v2.3.0-dev.44 15:35:32 v2.3.0-dev.45 15:35:32 v2.3.0-dev.46 15:35:32 v2.3.0-dev.47 15:35:32 v2.3.0-dev.48 15:35:32 v2.3.0-dev.49 15:35:32 v2.3.0-dev.50 15:35:32 v2.3.0-dev.51 15:35:32 v2.3.1-dev.1 15:35:32 v2.3.1-dev.2 15:35:32 v3.0.0-dev.1 15:35:32 v3.0.0-dev.2 15:35:32 v3.0.0-dev.3 15:35:32 v3.0.0-dev.4 15:35:32 v3.0.0-dev.5 [Pipeline] sh 15:35:33 + lftools sign git-tag v3.0.0-dev.5 15:35:33 Signing Git tag with Sigul... 15:35:33 Signing v3.0.0-dev.5 [Pipeline] echo 15:35:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:35:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:35:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:35:34 $ docker stop --time=1 87c48d38d1915ed48d018baa8911bb06ff6b133f89424de435379a1115abd114 15:35:35 $ docker rm -f --volumes 87c48d38d1915ed48d018baa8911bb06ff6b133f89424de435379a1115abd114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:35:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:36 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:35:36 $ docker top e1634871c8a1fc3ca686da014f309452a4e611db954513a577b5df760ba721bf -eo pid,comm 15:35:36 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). 15:35:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:36 [ssh-agent] Looking for ssh-agent implementation... 15:35:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:36 $ docker exec e1634871c8a1fc3ca686da014f309452a4e611db954513a577b5df760ba721bf ssh-agent 15:35:37 SSH_AUTH_SOCK=/tmp/ssh-N75hG6wnkK7C/agent.32 15:35:37 SSH_AGENT_PID=38 15:35:37 Running ssh-add (command line suppressed) 15:35:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16629991598387292279.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16629991598387292279.key) 15:35:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:37 + git semver bump pre 15:35:37 2023-01-03 15:35:37,675 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 2023-01-03 15:35:37,675 [bump_version] DEBUG bumping version:3.0.0-dev.5 on axis:pre with prefix:dev 15:35:37 2023-01-03 15:35:37,675 [bump_version] DEBUG bumped version:3.0.0-dev.6 15:35:37 2023-01-03 15:35:37,675 [write_version] DEBUG write version:3.0.0-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:35:37 2023-01-03 15:35:37,675 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 2023-01-03 15:35:37,675 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 2023-01-03 15:35:37,677 [execute] INFO git cat-file --batch-check 15:35:37 2023-01-03 15:35:37,677 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:37 2023-01-03 15:35:37,682 [execute] INFO git cat-file --batch 15:35:37 2023-01-03 15:35:37,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:37 2023-01-03 15:35:37,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:37 3.0.0-dev.6 [Pipeline] } 15:35:37 $ docker exec --env ******** --env ******** e1634871c8a1fc3ca686da014f309452a4e611db954513a577b5df760ba721bf ssh-agent -k 15:35:37 unset SSH_AUTH_SOCK; 15:35:37 unset SSH_AGENT_PID; 15:35:37 echo Agent pid 38 killed; 15:35:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:38 + git semver [Pipeline] } 15:35:38 $ docker stop --time=1 e1634871c8a1fc3ca686da014f309452a4e611db954513a577b5df760ba721bf 15:35:39 $ docker rm -f --volumes e1634871c8a1fc3ca686da014f309452a4e611db954513a577b5df760ba721bf [Pipeline] // withDockerContainer [Pipeline] sh 15:35:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:35:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:35:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:40 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:35:41 $ docker top 6221599a1c91482bc0df0faac3349dffa58ba8efb48f6090e790a636da981d62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:35:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:35:41 [ssh-agent] Looking for ssh-agent implementation... 15:35:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:35:41 $ docker exec 6221599a1c91482bc0df0faac3349dffa58ba8efb48f6090e790a636da981d62 ssh-agent 15:35:41 SSH_AUTH_SOCK=/tmp/ssh-nLS7TSJw2oau/agent.31 15:35:41 SSH_AGENT_PID=37 15:35:41 Running ssh-add (command line suppressed) 15:35:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9436798520947969620.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9436798520947969620.key) 15:35:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:35:41 + git semver push 15:35:42 2023-01-03 15:35:42,139 [run_push] DEBUG push 15:35:42 2023-01-03 15:35:42,140 [execute] INFO git cat-file --batch-check 15:35:42 2023-01-03 15:35:42,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:35:42 2023-01-03 15:35:42,145 [execute] INFO git rev-list f24c6b355ed5ae4141d62e06202ee9c07da1f3fe -- 15:35:42 2023-01-03 15:35:42,145 [execute] DEBUG Popen(['git', 'rev-list', 'f24c6b355ed5ae4141d62e06202ee9c07da1f3fe', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:35:42 2023-01-03 15:35:42,158 [execute] INFO git fetch -v origin 15:35:42 2023-01-03 15:35:42,159 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:35:43 2023-01-03 15:35:43,001 [run_push] DEBUG no remote changes detected 15:35:43 2023-01-03 15:35:43,002 [execute] INFO git push origin semver 15:35:43 2023-01-03 15:35:43,002 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:35:44 2023-01-03 15:35:44,185 [run_push] DEBUG push all version tags 15:35:44 2023-01-03 15:35:44,185 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:35:44 2023-01-03 15:35:44,186 [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) 15:35:45 2023-01-03 15:35:45,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:35:45 3.0.0-dev.6 [Pipeline] } 15:35:45 $ docker exec --env ******** --env ******** 6221599a1c91482bc0df0faac3349dffa58ba8efb48f6090e790a636da981d62 ssh-agent -k 15:35:45 unset SSH_AUTH_SOCK; 15:35:45 unset SSH_AGENT_PID; 15:35:45 echo Agent pid 37 killed; 15:35:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:35:45 + git semver [Pipeline] } 15:35:46 $ docker stop --time=1 6221599a1c91482bc0df0faac3349dffa58ba8efb48f6090e790a636da981d62 15:35:47 $ docker rm -f --volumes 6221599a1c91482bc0df0faac3349dffa58ba8efb48f6090e790a636da981d62 [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 15:35:47 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:35:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:47 total 16 15:35:47 drwxr-xr-x 3 root root 4096 Jan 3 15:26 . 15:35:47 drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 15:35 .. 15:35:47 drwxr-xr-x 2 root root 4096 Jan 3 15:26 cost 15:35:47 -rw-r--r-- 1 root root 85 Jan 3 15:26 cost.csv 15:35:47 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:47 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:35:47 total 16 15:35:47 drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 15:26 . 15:35:47 drwxrwxr-x 12 jenkins jenkins 4096 Jan 3 15:35 .. 15:35:47 drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 15:26 cost 15:35:47 -rw-r--r-- 1 jenkins jenkins 85 Jan 3 15:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:35:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:35:49 ---> package-listing.sh 15:35:49 ++ facter osfamily 15:35:49 ++ tr '[:upper:]' '[:lower:]' 15:35:49 + OS_FAMILY=debian 15:35:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:35:49 + START_PACKAGES=/tmp/packages_start.txt 15:35:49 + END_PACKAGES=/tmp/packages_end.txt 15:35:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:35:49 + PACKAGES=/tmp/packages_start.txt 15:35:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:35:49 + PACKAGES=/tmp/packages_end.txt 15:35:49 + case "${OS_FAMILY}" in 15:35:49 + dpkg -l 15:35:49 + grep '^ii' 15:35:49 + '[' -f /tmp/packages_start.txt ']' 15:35:49 + '[' -f /tmp/packages_end.txt ']' 15:35:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:35:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:35:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:35:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:35:49 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 15:35:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:35:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:35:50 prd-ubuntu20.04-docker-8c-8g-901 does not seem to be running inside a container 15:35:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:35:50 $ docker top 20680523fcca8db5ec4d4f743fe8748057a43d46c0ed44197b5d265dc6dda65a -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:50 + touch /tmp/pre-build-complete [Pipeline] sh 15:35:51 + mkdir -p /var/log/sysstat [Pipeline] sh 15:35:51 + ls /var/log/sa-host 15:35:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:35:51 provisioning config files... 15:35:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4403368454678140401tmp [Pipeline] { [Pipeline] echo 15:35:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:35:51 ---> create-netrc.sh [Pipeline] } 15:35:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:35:52 ---> python-tools-install.sh [Pipeline] echo 15:35:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:35:52 ---> sudo-logs.sh 15:35:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:35:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:35:52 ---> job-cost.sh 15:35:52 lf-activate-venv: SKIPPING 15:35:52 DEBUG: total: 0.2199999988079071 15:35:52 INFO: Retrieving Stack Cost... 15:35:53 INFO: Retrieving Pricing Info for: v3-standard-8 15:35:53 INFO: Archiving Costs [Pipeline] echo 15:35:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:35:54 ---> logs-deploy.sh 15:35:54 lf-activate-venv: SKIPPING 15:35:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/135 15:35:54 INFO: archiving workspace using pattern(s): 15:35:54 Archives upload complete. 15:35:54 INFO: archiving logs to Nexus