Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f9571835d69bd2b94c85f597b4604ec549aac7dc 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-ssh12764682711238039937.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14071734201886086117.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh14713812007184463897.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh17089515687244822757.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh2163963443791075484.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-15331’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15332 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 f9571835d69bd2b94c85f597b4604ec549aac7dc (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 f9571835d69bd2b94c85f597b4604ec549aac7dc # timeout=10 Commit message: "Merge pull request #1183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.5" > git rev-list --no-walk cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:59:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:59:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:59:09 ========================================================= 15:59:09 EdgeX Global Pipelines Version Info 15:59:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:59:09 ------------------- 15:59:09 stable info: 15:59:09 ------------------- 15:59:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:59:09 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:59:09 Message: update stable to v1.0.234 15:59:10 ------------------- 15:59:10 experimental info: 15:59:10 ------------------- 15:59:10 Commited By: **** collab-it+edgex@linuxfoundation.org 15:59:10 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:59:10 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:59:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f957183 [Pipeline] echo 15:59:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:11 provisioning config files... 15:59:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7740080754295499191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:11 ---> docker-login.sh 15:59:11 nexus3.edgexfoundry.org:10001 15:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:11 Configure a credential helper to remove this warning. See 15:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:11 15:59:11 Login Succeeded 15:59:11 nexus3.edgexfoundry.org:10002 15:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:11 Configure a credential helper to remove this warning. See 15:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:11 15:59:11 Login Succeeded 15:59:11 nexus3.edgexfoundry.org:10003 15:59:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:11 Configure a credential helper to remove this warning. See 15:59:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:11 15:59:11 Login Succeeded 15:59:11 nexus3.edgexfoundry.org:10004 15:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:12 Configure a credential helper to remove this warning. See 15:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:12 15:59:12 Login Succeeded 15:59:12 docker.io 15:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:12 Configure a credential helper to remove this warning. See 15:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:12 15:59:12 Login Succeeded 15:59:12 ---> docker-login.sh ends [Pipeline] } 15:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:59:13 + git rev-list -1 --merges f9571835d69bd2b94c85f597b4604ec549aac7dc~1..f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] echo 15:59:13 -----------> git rev-list -1 --merges f9571835d69bd2b94c85f597b4604ec549aac7dc~1..f9571835d69bd2b94c85f597b4604ec549aac7dc f9571835d69bd2b94c85f597b4604ec549aac7dc 15:59:13 f9571835d69bd2b94c85f597b4604ec549aac7dc [false] [Pipeline] sh 15:59:13 + git log --format=format:%s -1 f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] echo 15:59:13 ========================================================= 15:59:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:59:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:13 + git log --format=format:%s -1 f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] echo 15:59:13 [semverPrep] GIT_COMMIT: f9571835d69bd2b94c85f597b4604ec549aac7dc, Commit Message: Merge pull request #1183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.5 [Pipeline] echo 15:59:13 [semverPrep] This is not a build commit. [Pipeline] sh 15:59:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:14 + grep -v github /etc/ssh/ssh_known_hosts 15:59:14 + [ -e /tmp/ssh_known_hosts ] 15:59:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:59:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:59:14 + sudo tee -a /etc/ssh/ssh_known_hosts 15:59:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:14 15:59:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:14 0.1.4: Pulling from edgex-devops/py-git-semver 15:59:14 42c077c10790: Pulling fs layer 15:59:14 f63e77b7563a: Pulling fs layer 15:59:14 bd5fdadae976: Pulling fs layer 15:59:14 205491f53016: Pulling fs layer 15:59:14 df18705c85c3: Pulling fs layer 15:59:14 bdb3f477010e: Pulling fs layer 15:59:14 c8a8fc8e1c8f: Pulling fs layer 15:59:14 2c6e9b1d212d: Pulling fs layer 15:59:14 df18705c85c3: Waiting 15:59:14 205491f53016: Waiting 15:59:14 bdb3f477010e: Waiting 15:59:14 c8a8fc8e1c8f: Waiting 15:59:14 bdb8f0575790: Pulling fs layer 15:59:14 2c6e9b1d212d: Waiting 15:59:14 386e3cb2ff24: Pulling fs layer 15:59:14 bdb8f0575790: Waiting 15:59:14 2343380bae48: Pulling fs layer 15:59:14 386e3cb2ff24: Waiting 15:59:14 2343380bae48: Waiting 15:59:14 f63e77b7563a: Download complete 15:59:14 205491f53016: Verifying Checksum 15:59:14 205491f53016: Download complete 15:59:15 df18705c85c3: Verifying Checksum 15:59:15 df18705c85c3: Download complete 15:59:15 bd5fdadae976: Verifying Checksum 15:59:15 bd5fdadae976: Download complete 15:59:15 bdb3f477010e: Download complete 15:59:15 2c6e9b1d212d: Download complete 15:59:15 bdb8f0575790: Download complete 15:59:15 386e3cb2ff24: Download complete 15:59:15 2343380bae48: Verifying Checksum 15:59:15 2343380bae48: Download complete 15:59:15 42c077c10790: Verifying Checksum 15:59:15 42c077c10790: Download complete 15:59:15 c8a8fc8e1c8f: Verifying Checksum 15:59:15 c8a8fc8e1c8f: Download complete 15:59:16 42c077c10790: Pull complete 15:59:16 f63e77b7563a: Pull complete 15:59:16 bd5fdadae976: Pull complete 15:59:16 205491f53016: Pull complete 15:59:17 df18705c85c3: Pull complete 15:59:17 bdb3f477010e: Pull complete 15:59:19 c8a8fc8e1c8f: Pull complete 15:59:19 2c6e9b1d212d: Pull complete 15:59:19 bdb8f0575790: Pull complete 15:59:19 386e3cb2ff24: Pull complete 15:59:19 2343380bae48: Pull complete 15:59:19 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:19 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 15:59:19 $ 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:59:20 $ docker top ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc -eo pid,comm 15:59:20 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:59:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:20 [ssh-agent] Looking for ssh-agent implementation... 15:59:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:20 $ docker exec ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc ssh-agent 15:59:20 SSH_AUTH_SOCK=/tmp/ssh-mu88DQ9w0Gpc/agent.33 15:59:20 SSH_AGENT_PID=40 15:59:20 Running ssh-add (command line suppressed) 15:59:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2736395677700752985.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2736395677700752985.key) 15:59:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:21 + git tag --points-at HEAD [Pipeline] } 15:59:21 $ docker exec --env ******** --env ******** ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc ssh-agent -k 15:59:21 unset SSH_AUTH_SOCK; 15:59:21 unset SSH_AGENT_PID; 15:59:21 echo Agent pid 40 killed; 15:59:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:59:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:21 [ssh-agent] Looking for ssh-agent implementation... 15:59:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:21 $ docker exec ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc ssh-agent 15:59:21 SSH_AUTH_SOCK=/tmp/ssh-5508Zwftd921/agent.73 15:59:21 SSH_AGENT_PID=79 15:59:21 Running ssh-add (command line suppressed) 15:59:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7429049910798662911.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7429049910798662911.key) 15:59:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:22 + git semver init 15:59:22 2022-06-22 15:59:22,294 [run_init] DEBUG init version:0.0.0 force:False 15:59:22 2022-06-22 15:59:22,294 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:59:22 2022-06-22 15:59:22,295 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:59:22 2022-06-22 15:59:22,295 [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:59:23 2022-06-22 15:59:23,137 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:59:23 2022-06-22 15:59:23,137 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:59:23 2022-06-22 15:59:23,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:23 2022-06-22 15:59:23,137 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:23 2.2.1-dev.9 [Pipeline] } 15:59:23 $ docker exec --env ******** --env ******** ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc ssh-agent -k 15:59:23 unset SSH_AUTH_SOCK; 15:59:23 unset SSH_AGENT_PID; 15:59:23 echo Agent pid 79 killed; 15:59:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:23 + git semver [Pipeline] } 15:59:24 $ docker stop --time=1 ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc 15:59:25 $ docker rm -f ce0d4e2f924dc5faaae6391149c3088bbc8fb00e5586504d19becd17d10074bc [Pipeline] // withDockerContainer [Pipeline] sh 15:59:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:59:25 Stashed 1 file(s) [Pipeline] echo 15:59:25 [edgeXSemver]: initialized semver on version 2.2.1-dev.9 [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:59:26 provisioning config files... 15:59:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5628453615357039186tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:26 ---> docker-login.sh 15:59:26 nexus3.edgexfoundry.org:10001 15:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:26 Configure a credential helper to remove this warning. See 15:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:26 15:59:26 Login Succeeded 15:59:26 nexus3.edgexfoundry.org:10002 15:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:26 Configure a credential helper to remove this warning. See 15:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:26 15:59:26 Login Succeeded 15:59:26 nexus3.edgexfoundry.org:10003 15:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:26 Configure a credential helper to remove this warning. See 15:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:26 15:59:26 Login Succeeded 15:59:26 nexus3.edgexfoundry.org:10004 15:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:26 Configure a credential helper to remove this warning. See 15:59:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:26 15:59:26 Login Succeeded 15:59:26 docker.io 15:59:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:27 Configure a credential helper to remove this warning. See 15:59:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:27 15:59:27 Login Succeeded 15:59:27 ---> docker-login.sh ends [Pipeline] } 15:59:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:27 ========================================================= 15:59:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:59:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:27 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 15:59:27 Sending build context to Docker daemon 9.66MB 15:59:27 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:59:27 Step 2/11 : FROM ${BASE} AS builder 15:59:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:59:27 59bf1c3509f3: Pulling fs layer 15:59:27 666ba61612fd: Pulling fs layer 15:59:27 8ed8ca486205: Pulling fs layer 15:59:27 cc1cd167ecdc: Pulling fs layer 15:59:27 c516ae0d96e1: Pulling fs layer 15:59:27 684cea983483: Pulling fs layer 15:59:27 dd3240ac7de5: Pulling fs layer 15:59:27 b1e948a4e11c: Pulling fs layer 15:59:27 cc1cd167ecdc: Waiting 15:59:27 c516ae0d96e1: Waiting 15:59:27 b1e948a4e11c: Waiting 15:59:27 a8fd76ee1af6: Pulling fs layer 15:59:27 646ad004c059: Pulling fs layer 15:59:27 646ad004c059: Waiting 15:59:27 8ed8ca486205: Download complete 15:59:27 666ba61612fd: Verifying Checksum 15:59:27 666ba61612fd: Download complete 15:59:27 c516ae0d96e1: Verifying Checksum 15:59:27 c516ae0d96e1: Download complete 15:59:27 684cea983483: Download complete 15:59:27 dd3240ac7de5: Verifying Checksum 15:59:27 dd3240ac7de5: Download complete 15:59:27 59bf1c3509f3: Verifying Checksum 15:59:27 59bf1c3509f3: Download complete 15:59:27 b1e948a4e11c: Verifying Checksum 15:59:27 b1e948a4e11c: Download complete 15:59:27 59bf1c3509f3: Pull complete 15:59:28 666ba61612fd: Pull complete 15:59:28 8ed8ca486205: Pull complete 15:59:28 646ad004c059: Verifying Checksum 15:59:28 646ad004c059: Download complete 15:59:28 a8fd76ee1af6: Verifying Checksum 15:59:28 a8fd76ee1af6: Download complete 15:59:28 cc1cd167ecdc: Verifying Checksum 15:59:28 cc1cd167ecdc: Download complete 15:59:31 cc1cd167ecdc: Pull complete 15:59:31 c516ae0d96e1: Pull complete 15:59:31 684cea983483: Pull complete 15:59:32 dd3240ac7de5: Pull complete 15:59:32 b1e948a4e11c: Pull complete 15:59:34 a8fd76ee1af6: Pull complete 15:59:35 646ad004c059: Pull complete 15:59:35 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 15:59:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:59:35 ---> 8f69c11f6b0c 15:59:35 Step 3/11 : ARG MAKE=make build 15:59:36 ---> Running in 4bb621130965 15:59:36 Removing intermediate container 4bb621130965 15:59:36 ---> 058272b31301 15:59:36 Step 4/11 : WORKDIR /device-sdk-go 15:59:36 ---> Running in fd49941f91d9 15:59:36 Removing intermediate container fd49941f91d9 15:59:36 ---> a9cc3b4e019c 15:59:36 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:59:36 ---> Running in 0253dd818d8b 15:59:36 Removing intermediate container 0253dd818d8b 15:59:36 ---> 62d050ac8c00 15:59:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:59:36 ---> Running in efa851c49871 15:59:37 Removing intermediate container efa851c49871 15:59:37 ---> b0f92a12e6f0 15:59:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:59:37 ---> Running in cc7189327c0b 15:59:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:59:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:59:38 OK: 221 MiB in 52 packages 15:59:38 Removing intermediate container cc7189327c0b 15:59:38 ---> ebfba39d9831 15:59:38 Step 8/11 : COPY go.mod vendor* ./ 15:59:38 ---> 4d566b7bcfa9 15:59:38 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:38 ---> Running in a3fb722eb7ba 15:59:41 Still waiting to schedule task 15:59:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-15333’ is offline 15:59:51 Removing intermediate container a3fb722eb7ba 15:59:51 ---> 795fa8fc31d7 15:59:51 Step 10/11 : COPY . . 15:59:51 ---> a7dfdec6c65f 15:59:51 Step 11/11 : RUN ${MAKE} 15:59:51 ---> Running in d4d993fa83bf 15:59:51 noop 15:59:51 Removing intermediate container d4d993fa83bf 15:59:51 ---> 2c7b07b1a25d 15:59:51 Successfully built 2c7b07b1a25d 15:59:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:52 + docker inspect -f . ci-base-image-x86_64 15:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:52 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 15:59:52 $ 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:59:52 $ docker top c1e5d65f253b721770b27c697d3107c85630ac91abd2825ad521387290ff1ef1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:53 + go version 15:59:53 go version go1.17.7 linux/amd64 [Pipeline] } 15:59:53 $ docker stop --time=1 c1e5d65f253b721770b27c697d3107c85630ac91abd2825ad521387290ff1ef1 15:59:54 $ docker rm -f c1e5d65f253b721770b27c697d3107c85630ac91abd2825ad521387290ff1ef1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:54 + docker inspect -f . ci-base-image-x86_64 15:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:55 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 15:59:55 $ 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:59:55 $ docker top 1a2354596817e9248ad5bec8602aa295e84c6a34be3a0f601cfb8e40275cbfac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:59:55 + make test 15:59:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:00:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:00:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.097s coverage: 23.7% of statements 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:00:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.090s coverage: 27.6% of statements 16:00:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements 16:00:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements 16:00:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.111s coverage: 60.0% of statements 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:00:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:00:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.114s coverage: 34.8% of statements 16:00:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:00:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.072s coverage: 85.4% of statements 16:00:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:00:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:00:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 65.1% of statements 16:00:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 89.2% of statements 16:00:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:00:15 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.7% of statements 16:00:15 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:00:29 GO111MODULE=on go vet ./... 16:00:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:00:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:00:33 ./bin/test-attribution-txt.sh [Pipeline] echo 16:00:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:00:33 $ docker stop --time=1 1a2354596817e9248ad5bec8602aa295e84c6a34be3a0f601cfb8e40275cbfac 16:00:35 $ docker rm -f 1a2354596817e9248ad5bec8602aa295e84c6a34be3a0f601cfb8e40275cbfac [Pipeline] // withDockerContainer [Pipeline] sh 16:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:00:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:00:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:00:37 + ls -al . 16:00:37 total 304 16:00:37 drwxrwxr-x 11 jenkins jenkins 4096 Jun 22 16:00 . 16:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 15:59 .. 16:00:37 -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 15:59 .dockerignore 16:00:37 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 15:59 .git 16:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 15:59 .github 16:00:37 -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 15:59 .gitignore 16:00:37 -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 15:59 .golangci.yml 16:00:37 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 15:59 .semver 16:00:37 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 15:59 CHANGELOG.md 16:00:37 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 15:59 GOVERNANCE.md 16:00:37 -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 15:59 Jenkinsfile 16:00:37 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 15:59 LICENSE 16:00:37 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 15:59 Makefile 16:00:37 -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 15:59 OWNERS.md 16:00:37 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 15:59 README.md 16:00:37 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 15:59 VERSION 16:00:37 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 15:59 bin 16:00:37 -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 16:00 coverage.out 16:00:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 15:59 example 16:00:37 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 15:59 go.mod 16:00:37 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 15:59 go.sum 16:00:37 drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 15:59 internal 16:00:37 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 15:59 openapi 16:00:37 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 15:59 pkg 16:00:37 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 15:59 snap 16:00:37 -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 15:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:37 + 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=f9571835d69bd2b94c85f597b4604ec549aac7dc --label arch=amd64 --label version=2.2.1-dev.9 . 16:00:37 Sending build context to Docker daemon 9.793MB 16:00:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:00:37 Step 2/25 : FROM ${BASE} AS builder 16:00:37 ---> 2c7b07b1a25d 16:00:37 Step 3/25 : ARG MAKE=make build 16:00:37 ---> Running in eac690cb0b0c 16:00:37 Removing intermediate container eac690cb0b0c 16:00:37 ---> b811792b5d76 16:00:37 Step 4/25 : WORKDIR /device-sdk-go 16:00:37 ---> Running in e739c06e01b0 16:00:37 Removing intermediate container e739c06e01b0 16:00:37 ---> 89ed00e25c7b 16:00:37 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:00:37 ---> Running in bdadec5518d9 16:00:38 Removing intermediate container bdadec5518d9 16:00:38 ---> b5e4f055b94e 16:00:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:00:38 ---> Running in 60ea874fe0fb 16:00:38 Removing intermediate container 60ea874fe0fb 16:00:38 ---> a6728d52faac 16:00:38 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:00:38 ---> Running in e080141b0443 16:00:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:00:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:00:40 OK: 221 MiB in 52 packages 16:00:40 Removing intermediate container e080141b0443 16:00:40 ---> c08210ac26e0 16:00:40 Step 8/25 : COPY go.mod vendor* ./ 16:00:40 ---> 38475c6ee067 16:00:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:40 ---> Running in edaff60bc6d2 16:00:41 Removing intermediate container edaff60bc6d2 16:00:41 ---> 616db8299408 16:00:41 Step 10/25 : COPY . . 16:00:41 ---> 3b7c60d3b980 16:00:41 Step 11/25 : RUN ${MAKE} 16:00:41 ---> Running in 91455181b62b 16:00:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:00:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:00:59 Removing intermediate container 91455181b62b 16:00:59 ---> b290d8fcabe7 16:00:59 Step 12/25 : FROM alpine:3.14 16:01:00 3.14: Pulling from library/alpine 16:01:00 8663204ce13b: Pulling fs layer 16:01:00 8663204ce13b: Verifying Checksum 16:01:00 8663204ce13b: Download complete 16:01:01 8663204ce13b: Pull complete 16:01:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:01:01 Status: Downloaded newer image for alpine:3.14 16:01:01 ---> e04c818066af 16:01:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:01:01 ---> Running in ec4f9220b4e8 16:01:01 Removing intermediate container ec4f9220b4e8 16:01:01 ---> 1eb91e411d6b 16:01:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:01:01 ---> Running in aa5d6ec3762d 16:01:01 Removing intermediate container aa5d6ec3762d 16:01:01 ---> a128b1487f0b 16:01:01 Step 15/25 : RUN apk add --update --no-cache zeromq 16:01:01 ---> Running in c53bf755ffa1 16:01:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:01:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:01:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:01:03 (2/5) Installing libsodium (1.0.18-r0) 16:01:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:01:03 (4/5) Installing libzmq (4.3.4-r0) 16:01:03 (5/5) Installing zeromq (4.3.4-r0) 16:01:03 Executing busybox-1.33.1-r7.trigger 16:01:03 OK: 8 MiB in 19 packages 16:01:04 Removing intermediate container c53bf755ffa1 16:01:04 ---> cc1a50ae4856 16:01:04 Step 16/25 : WORKDIR / 16:01:04 ---> Running in bc74d0ec390b 16:01:04 Removing intermediate container bc74d0ec390b 16:01:04 ---> 5fee9183f3d0 16:01:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:01:04 ---> 85639eae5e92 16:01:04 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:01:04 ---> 038372c0bdf7 16:01:04 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:01:04 ---> 72f14e14d8a2 16:01:04 Step 20/25 : EXPOSE 59999 16:01:05 ---> Running in a02172d13462 16:01:05 Removing intermediate container a02172d13462 16:01:05 ---> dc2a582253f0 16:01:05 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:01:05 ---> Running in 6bcef65918f6 16:01:05 Removing intermediate container 6bcef65918f6 16:01:05 ---> d8137c36dd32 16:01:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:01:05 ---> Running in 83a0990135db 16:01:05 Removing intermediate container 83a0990135db 16:01:05 ---> 987778e684db 16:01:05 Step 23/25 : LABEL arch=amd64 16:01:05 ---> Running in c54ab5c2c46e 16:01:05 Removing intermediate container c54ab5c2c46e 16:01:05 ---> fda35d0a5596 16:01:05 Step 24/25 : LABEL git_sha=f9571835d69bd2b94c85f597b4604ec549aac7dc 16:01:05 ---> Running in efed4dd6704c 16:01:05 Removing intermediate container efed4dd6704c 16:01:05 ---> ef5c87b21657 16:01:05 Step 25/25 : LABEL version=2.2.1-dev.9 16:01:05 ---> Running in 1b53a1d2172d 16:01:05 Removing intermediate container 1b53a1d2172d 16:01:05 ---> 680e8ee90086 16:01:05 [Warning] One or more build-args [ARCH] were not consumed 16:01:05 Successfully built 680e8ee90086 16:01:05 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 16:01:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:06 16:01:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:06 latest: Pulling from edgex-lftools-log-publisher 16:01:06 5eb5b503b376: Pulling fs layer 16:01:06 5c69ac0246d0: Pulling fs layer 16:01:06 ec43610c2a17: Pulling fs layer 16:01:06 3a2ae6a8a46f: Pulling fs layer 16:01:06 33b1e0a273af: Pulling fs layer 16:01:06 5d3b04190fa2: Pulling fs layer 16:01:06 2f39f015ded8: Pulling fs layer 16:01:06 3a2ae6a8a46f: Waiting 16:01:06 33b1e0a273af: Waiting 16:01:06 2f39f015ded8: Waiting 16:01:06 5d3b04190fa2: Waiting 16:01:06 5c69ac0246d0: Verifying Checksum 16:01:06 5c69ac0246d0: Download complete 16:01:06 3a2ae6a8a46f: Verifying Checksum 16:01:06 3a2ae6a8a46f: Download complete 16:01:06 33b1e0a273af: Verifying Checksum 16:01:06 33b1e0a273af: Download complete 16:01:06 ec43610c2a17: Verifying Checksum 16:01:06 ec43610c2a17: Download complete 16:01:06 5d3b04190fa2: Verifying Checksum 16:01:06 5d3b04190fa2: Download complete 16:01:06 5eb5b503b376: Download complete 16:01:07 2f39f015ded8: Download complete 16:01:08 5eb5b503b376: Pull complete 16:01:08 5c69ac0246d0: Pull complete 16:01:08 ec43610c2a17: Pull complete 16:01:08 3a2ae6a8a46f: Pull complete 16:01:09 33b1e0a273af: Pull complete 16:01:09 5d3b04190fa2: Pull complete 16:01:13 2f39f015ded8: Pull complete 16:01:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:01:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:01:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:01:13 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:01:13 $ 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 16:01:14 $ docker top 9eb455c75475e7a5afc481d572a92735e346765a35aa2aac403557d0e41222c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:15 ---> job-cost.sh 16:01:15 lf-activate-venv: SKIPPING 16:01:15 INFO: No Stack... 16:01:15 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:16 INFO: Archiving Costs [Pipeline] sh 16:01:16 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:01:16 + cut -d, -f6 [Pipeline] lock 16:01:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] 16:01:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] did not exist. Created. 16:01:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:01:16 + echo total: 0.2199999988079071 [Pipeline] stash 16:01:16 Stashed 1 file(s) [Pipeline] } 16:01:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } 16:01:16 $ docker stop --time=1 9eb455c75475e7a5afc481d572a92735e346765a35aa2aac403557d0e41222c2 16:01:17 $ docker rm -f 9eb455c75475e7a5afc481d572a92735e346765a35aa2aac403557d0e41222c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:02:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15334 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:02:00 Running in /w/workspace/device-sdk-go/84 [Pipeline] { [Pipeline] checkout 16:02:00 The recommended git tool is: git 16:02:07 using credential edgex-jenkins-ssh 16:02:07 Cloning the remote Git repository 16:02:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:02:07 > git init /w/workspace/device-sdk-go/84 # timeout=10 16:02:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:02:07 > git --version # timeout=10 16:02:07 > git --version # 'git version 2.25.1' 16:02:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:02:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:09 Avoid second fetch 16:02:09 Checking out Revision f9571835d69bd2b94c85f597b4604ec549aac7dc (main) 16:02:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:02:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:02:09 > git config core.sparsecheckout # timeout=10 16:02:09 > git checkout -f f9571835d69bd2b94c85f597b4604ec549aac7dc # timeout=10 16:02:14 Commit message: "Merge pull request #1183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:02:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:02:14 % Total % Received % Xferd Average Speed Time Time Time Current 16:02:14 Dload Upload Total Spent Left Speed 16:02:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 217k 0 --:--:-- --:--:-- --:--:-- 221k [Pipeline] sh 16:02:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:02:16 + sudo tee /etc/docker/daemon.new 16:02:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:02:16 { 16:02:16 "registry-mirrors": [ 16:02:16 "https://nexus3.edgexfoundry.org:10001" 16:02:16 ], 16:02:16 "bip": "10.250.0.254/24", 16:02:16 "hosts": [ 16:02:16 "tcp://0.0.0.0:5555", 16:02:16 "unix:///var/run/docker.sock" 16:02:16 ], 16:02:16 "mtu": 1458, 16:02:16 "selinux-enabled": true, 16:02:16 "seccomp-profile": "/etc/docker/seccomp.json" 16:02:16 } [Pipeline] sh 16:02:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:02:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:02:35 provisioning config files... 16:02:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/84@tmp/config3716380814496806541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:35 ---> docker-login.sh 16:02:35 nexus3.edgexfoundry.org:10001 16:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:36 Configure a credential helper to remove this warning. See 16:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:36 16:02:36 Login Succeeded 16:02:36 nexus3.edgexfoundry.org:10002 16:02:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:36 Configure a credential helper to remove this warning. See 16:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:36 16:02:36 Login Succeeded 16:02:36 nexus3.edgexfoundry.org:10003 16:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:37 Configure a credential helper to remove this warning. See 16:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:37 16:02:37 Login Succeeded 16:02:37 nexus3.edgexfoundry.org:10004 16:02:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:37 Configure a credential helper to remove this warning. See 16:02:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:37 16:02:37 Login Succeeded 16:02:37 docker.io 16:02:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:02:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:02:38 Configure a credential helper to remove this warning. See 16:02:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:02:38 16:02:38 Login Succeeded 16:02:38 ---> docker-login.sh ends [Pipeline] } 16:02:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:02:39 ========================================================= 16:02:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:02:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:39 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 16:02:40 Sending build context to Docker daemon 5.172MB 16:02:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:02:40 Step 2/11 : FROM ${BASE} AS builder 16:02:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:02:40 9b3977197b4f: Pulling fs layer 16:02:40 1a89e8eeedd5: Pulling fs layer 16:02:40 94645a83ff95: Pulling fs layer 16:02:40 e6fb740bc735: Pulling fs layer 16:02:40 3a77bd46dcc9: Pulling fs layer 16:02:40 355e64cbe906: Pulling fs layer 16:02:40 63ab81a10011: Pulling fs layer 16:02:40 555d1d1c4555: Pulling fs layer 16:02:40 7d9057610161: Pulling fs layer 16:02:40 e6fb740bc735: Waiting 16:02:40 3a77bd46dcc9: Waiting 16:02:40 355e64cbe906: Waiting 16:02:40 63ab81a10011: Waiting 16:02:40 555d1d1c4555: Waiting 16:02:40 7d9057610161: Waiting 16:02:40 94645a83ff95: Verifying Checksum 16:02:40 94645a83ff95: Download complete 16:02:40 1a89e8eeedd5: Verifying Checksum 16:02:40 1a89e8eeedd5: Download complete 16:02:40 3a77bd46dcc9: Download complete 16:02:40 355e64cbe906: Verifying Checksum 16:02:40 355e64cbe906: Download complete 16:02:40 9b3977197b4f: Download complete 16:02:40 63ab81a10011: Verifying Checksum 16:02:40 63ab81a10011: Download complete 16:02:41 9b3977197b4f: Pull complete 16:02:41 7d9057610161: Verifying Checksum 16:02:41 7d9057610161: Download complete 16:02:42 1a89e8eeedd5: Pull complete 16:02:42 94645a83ff95: Pull complete 16:02:42 555d1d1c4555: Verifying Checksum 16:02:42 555d1d1c4555: Download complete 16:02:43 e6fb740bc735: Verifying Checksum 16:02:43 e6fb740bc735: Download complete 16:02:55 e6fb740bc735: Pull complete 16:02:55 3a77bd46dcc9: Pull complete 16:02:55 355e64cbe906: Pull complete 16:02:55 63ab81a10011: Pull complete 16:03:02 555d1d1c4555: Pull complete 16:03:04 7d9057610161: Pull complete 16:03:04 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 16:03:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:03:04 ---> 819e984ddca1 16:03:04 Step 3/11 : ARG MAKE=make build 16:03:05 ---> Running in 46e18a77e64b 16:03:05 Removing intermediate container 46e18a77e64b 16:03:05 ---> 9cec09dd3f2c 16:03:05 Step 4/11 : WORKDIR /device-sdk-go 16:03:05 ---> Running in 2ed29d62472e 16:03:05 Removing intermediate container 2ed29d62472e 16:03:05 ---> 53c664d62ec2 16:03:05 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:03:06 ---> Running in 052ea2ab5117 16:03:06 Removing intermediate container 052ea2ab5117 16:03:06 ---> e1f1b9d4b130 16:03:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:03:06 ---> Running in 300e73259d7c 16:03:08 Removing intermediate container 300e73259d7c 16:03:08 ---> 940eefa2a785 16:03:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:03:08 ---> Running in dcb9aea59ac0 16:03:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:03:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:03:12 OK: 220 MiB in 52 packages 16:03:12 Removing intermediate container dcb9aea59ac0 16:03:12 ---> d84c3dc11091 16:03:12 Step 8/11 : COPY go.mod vendor* ./ 16:03:13 ---> 91e56cd88961 16:03:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:03:13 ---> Running in 6be39629d099 16:04:00 Removing intermediate container 6be39629d099 16:04:00 ---> 89c0b7e84b4d 16:04:00 Step 10/11 : COPY . . 16:04:00 ---> 61f16e822a76 16:04:00 Step 11/11 : RUN ${MAKE} 16:04:00 ---> Running in d0254c0cabd5 16:04:00 noop 16:04:00 Removing intermediate container d0254c0cabd5 16:04:00 ---> 70aabda57c43 16:04:00 Successfully built 70aabda57c43 16:04:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:01 + docker inspect -f . ci-base-image-arm64 16:04:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:01 prd-ubuntu20.04-docker-arm64-4c-16g-15334 does not seem to be running inside a container 16:04:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/84 -v /w/workspace/device-sdk-go/84:/w/workspace/device-sdk-go/84:rw,z -v /w/workspace/device-sdk-go/84@tmp:/w/workspace/device-sdk-go/84@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 16:04:02 $ docker top e5352de7d6b16153566b86fb3b910d5117de7682217b2b34c6b09f2c293c501a -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:03 + go version 16:04:03 go version go1.17.7 linux/arm64 [Pipeline] } 16:04:03 $ docker stop --time=1 e5352de7d6b16153566b86fb3b910d5117de7682217b2b34c6b09f2c293c501a 16:04:05 $ docker rm -f e5352de7d6b16153566b86fb3b910d5117de7682217b2b34c6b09f2c293c501a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:05 + docker inspect -f . ci-base-image-arm64 16:04:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:06 prd-ubuntu20.04-docker-arm64-4c-16g-15334 does not seem to be running inside a container 16:04:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/84 -v /w/workspace/device-sdk-go/84:/w/workspace/device-sdk-go/84:rw,z -v /w/workspace/device-sdk-go/84@tmp:/w/workspace/device-sdk-go/84@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 16:04:07 $ docker top e289b9321b57f756b97bb7a011f8f49f95d49a9ccc635de55cb5f3f01d62228a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:04:08 + make test 16:04:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:04:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:06:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:06:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:06:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:06:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.444s coverage: 23.7% of statements 16:06:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:06:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.266s coverage: 27.6% of statements 16:06:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.350s coverage: 78.9% of statements 16:06:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.257s coverage: 10.8% of statements 16:06:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.804s coverage: 60.0% of statements 16:06:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:06:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:06:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.502s coverage: 34.8% of statements 16:06:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:06:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.324s coverage: 85.4% of statements 16:06:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:06:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:06:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.515s coverage: 65.1% of statements 16:06:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.237s coverage: 89.2% of statements 16:06:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:06:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.252s coverage: 4.7% of statements 16:06:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:06:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:06:47 GO111MODULE=on go vet ./... 16:08:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:08:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:08:24 ./bin/test-attribution-txt.sh [Pipeline] echo 16:08:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:08:24 $ docker stop --time=1 e289b9321b57f756b97bb7a011f8f49f95d49a9ccc635de55cb5f3f01d62228a 16:08:26 $ docker rm -f e289b9321b57f756b97bb7a011f8f49f95d49a9ccc635de55cb5f3f01d62228a [Pipeline] // withDockerContainer [Pipeline] sh 16:08:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:08:27 Warning: overwriting stash ‘coverage-report’ 16:08:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:08:28 + ls -al . 16:08:28 total 300 16:08:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 22 16:08 . 16:08:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:02 .. 16:08:28 -rw-rw-r-- 1 jenkins jenkins 140 Jun 22 16:02 .dockerignore 16:08:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 22 16:02 .git 16:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:02 .github 16:08:28 -rw-rw-r-- 1 jenkins jenkins 131 Jun 22 16:02 .gitignore 16:08:28 -rw-rw-r-- 1 jenkins jenkins 42 Jun 22 16:02 .golangci.yml 16:08:28 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 22 16:02 CHANGELOG.md 16:08:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 22 16:02 GOVERNANCE.md 16:08:28 -rw-rw-r-- 1 jenkins jenkins 880 Jun 22 16:02 Jenkinsfile 16:08:28 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 22 16:02 LICENSE 16:08:28 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 22 16:02 Makefile 16:08:28 -rw-rw-r-- 1 jenkins jenkins 619 Jun 22 16:02 OWNERS.md 16:08:28 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 22 16:02 README.md 16:08:28 -rw-rw-r-- 1 jenkins jenkins 11 Jun 22 15:59 VERSION 16:08:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 22 16:02 bin 16:08:28 -rw-r--r-- 1 jenkins jenkins 131190 Jun 22 16:06 coverage.out 16:08:28 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 16:02 example 16:08:28 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 22 16:02 go.mod 16:08:28 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 22 16:02 go.sum 16:08:28 drwxrwxr-x 15 jenkins jenkins 4096 Jun 22 16:02 internal 16:08:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 22 16:02 openapi 16:08:28 drwxrwxr-x 5 jenkins jenkins 4096 Jun 22 16:02 pkg 16:08:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 22 16:02 snap 16:08:28 -rw-rw-r-- 1 jenkins jenkins 222 Jun 22 16:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:29 + 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=f9571835d69bd2b94c85f597b4604ec549aac7dc --label arch=arm64 --label version=2.2.1-dev.9 . 16:08:29 Sending build context to Docker daemon 5.304MB 16:08:29 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:08:29 Step 2/25 : FROM ${BASE} AS builder 16:08:29 ---> 70aabda57c43 16:08:29 Step 3/25 : ARG MAKE=make build 16:08:29 ---> Running in e289e8fe684a 16:08:29 Removing intermediate container e289e8fe684a 16:08:29 ---> 993dfa8462ff 16:08:29 Step 4/25 : WORKDIR /device-sdk-go 16:08:30 ---> Running in 98331d2d2200 16:08:30 Removing intermediate container 98331d2d2200 16:08:30 ---> f327754da3aa 16:08:30 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:08:30 ---> Running in 9160be31a3ea 16:08:30 Removing intermediate container 9160be31a3ea 16:08:30 ---> f8b5b73d61d3 16:08:30 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:08:31 ---> Running in 972bce8014d8 16:08:32 Removing intermediate container 972bce8014d8 16:08:32 ---> bcc4783eb66f 16:08:32 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:08:32 ---> Running in 9c7b08f6a4d7 16:08:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:08:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:08:35 OK: 220 MiB in 52 packages 16:08:36 Removing intermediate container 9c7b08f6a4d7 16:08:36 ---> 4d745eef06e1 16:08:36 Step 8/25 : COPY go.mod vendor* ./ 16:08:36 ---> e4a6f4071bac 16:08:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:08:36 ---> Running in 4922302b70d8 16:08:38 Removing intermediate container 4922302b70d8 16:08:38 ---> fe4433754449 16:08:38 Step 10/25 : COPY . . 16:08:39 ---> 5490c1ee2053 16:08:39 Step 11/25 : RUN ${MAKE} 16:08:39 ---> Running in 270994cbb2f0 16:08:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.9" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:10:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:10:39 Removing intermediate container 270994cbb2f0 16:10:39 ---> 7014fc9e77a8 16:10:39 Step 12/25 : FROM alpine:3.14 16:10:39 3.14: Pulling from library/alpine 16:10:39 455c02918c45: Pulling fs layer 16:10:40 455c02918c45: Verifying Checksum 16:10:40 455c02918c45: Download complete 16:10:40 455c02918c45: Pull complete 16:10:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:10:40 Status: Downloaded newer image for alpine:3.14 16:10:40 ---> ac73e934f311 16:10:40 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:10:40 ---> Running in 0f7f170ababb 16:10:41 Removing intermediate container 0f7f170ababb 16:10:41 ---> 0133fbd9c2c5 16:10:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:10:41 ---> Running in f4feb925c0ed 16:10:43 Removing intermediate container f4feb925c0ed 16:10:43 ---> 5908c98b07da 16:10:43 Step 15/25 : RUN apk add --update --no-cache zeromq 16:10:43 ---> Running in 014e45bca373 16:10:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:10:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:10:45 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:10:45 (2/5) Installing libsodium (1.0.18-r0) 16:10:45 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:10:46 (4/5) Installing libzmq (4.3.4-r0) 16:10:46 (5/5) Installing zeromq (4.3.4-r0) 16:10:46 Executing busybox-1.33.1-r7.trigger 16:10:46 OK: 8 MiB in 19 packages 16:10:47 Removing intermediate container 014e45bca373 16:10:47 ---> 78027a20087a 16:10:47 Step 16/25 : WORKDIR / 16:10:47 ---> Running in d864531fd202 16:10:47 Removing intermediate container d864531fd202 16:10:47 ---> e37a1a1c0f42 16:10:47 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:10:48 ---> 67e4d82f2920 16:10:48 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:10:49 ---> 52863a62f99a 16:10:49 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:10:50 ---> 463aa70d498d 16:10:50 Step 20/25 : EXPOSE 59999 16:10:50 ---> Running in 7c60bb6fa084 16:10:50 Removing intermediate container 7c60bb6fa084 16:10:50 ---> 91061cd7cb2a 16:10:50 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:10:50 ---> Running in 147a37830bb9 16:10:50 Removing intermediate container 147a37830bb9 16:10:50 ---> a70c517d8d8f 16:10:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:10:51 ---> Running in 032de4cea51e 16:10:51 Removing intermediate container 032de4cea51e 16:10:51 ---> 1fdd65784544 16:10:51 Step 23/25 : LABEL arch=arm64 16:10:51 ---> Running in e7543e86c8d7 16:10:51 Removing intermediate container e7543e86c8d7 16:10:51 ---> 1b1ecedc615b 16:10:51 Step 24/25 : LABEL git_sha=f9571835d69bd2b94c85f597b4604ec549aac7dc 16:10:51 ---> Running in 06e3233f09f8 16:10:51 Removing intermediate container 06e3233f09f8 16:10:51 ---> cefdf78fd082 16:10:51 Step 25/25 : LABEL version=2.2.1-dev.9 16:10:52 ---> Running in 6745c2ee9b37 16:10:52 Removing intermediate container 6745c2ee9b37 16:10:52 ---> d50670bfa41f 16:10:52 [Warning] One or more build-args [ARCH] were not consumed 16:10:52 Successfully built d50670bfa41f 16:10:52 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 16:10:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:10:52 16:10:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:10:53 arm64: Pulling from edgex-lftools-log-publisher 16:10:53 8998bd30e6a1: Pulling fs layer 16:10:53 04944245beec: Pulling fs layer 16:10:53 699f458cf7ca: Pulling fs layer 16:10:53 765212b225bb: Pulling fs layer 16:10:53 f23df028b6ca: Pulling fs layer 16:10:53 d65c8cfc05b1: Pulling fs layer 16:10:53 2437ff75d9bd: Pulling fs layer 16:10:53 f23df028b6ca: Waiting 16:10:53 d65c8cfc05b1: Waiting 16:10:53 2437ff75d9bd: Waiting 16:10:53 765212b225bb: Waiting 16:10:53 04944245beec: Verifying Checksum 16:10:53 04944245beec: Download complete 16:10:53 765212b225bb: Verifying Checksum 16:10:53 765212b225bb: Download complete 16:10:53 f23df028b6ca: Verifying Checksum 16:10:53 f23df028b6ca: Download complete 16:10:53 d65c8cfc05b1: Verifying Checksum 16:10:53 d65c8cfc05b1: Download complete 16:10:53 699f458cf7ca: Verifying Checksum 16:10:53 699f458cf7ca: Download complete 16:10:54 8998bd30e6a1: Verifying Checksum 16:10:54 8998bd30e6a1: Download complete 16:10:55 2437ff75d9bd: Verifying Checksum 16:10:55 2437ff75d9bd: Download complete 16:10:58 8998bd30e6a1: Pull complete 16:10:58 04944245beec: Pull complete 16:11:00 699f458cf7ca: Pull complete 16:11:00 765212b225bb: Pull complete 16:11:01 f23df028b6ca: Pull complete 16:11:01 d65c8cfc05b1: Pull complete 16:11:16 2437ff75d9bd: Pull complete 16:11:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:17 prd-ubuntu20.04-docker-arm64-4c-16g-15334 does not seem to be running inside a container 16:11:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/84 -v /w/workspace/device-sdk-go/84:/w/workspace/device-sdk-go/84:rw,z -v /w/workspace/device-sdk-go/84@tmp:/w/workspace/device-sdk-go/84@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 16:11:19 $ docker top 9ede90a197ae005b26518f7a2519030194d42b05bdc23e017c98c86d14de0d5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:20 ---> job-cost.sh 16:11:20 lf-activate-venv: SKIPPING 16:11:20 INFO: No Stack... 16:11:21 INFO: Retrieving Pricing Info for: v3-standard-4 16:11:21 INFO: Archiving Costs [Pipeline] sh 16:11:22 + cut -d, -f6 16:11:22 + cat /w/workspace/device-sdk-go/84/archives/cost.csv [Pipeline] lock 16:11:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] 16:11:22 Resource [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] did not exist. Created. 16:11:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:11:23 /w/workspace/device-sdk-go/84@tmp/durable-4d4dbf8c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:11:23 + echo total: 0.10999999940395355 [Pipeline] stash 16:11:24 Warning: overwriting stash ‘stack-cost’ 16:11:24 Stashed 1 file(s) [Pipeline] } 16:11:24 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } 16:11:24 $ docker stop --time=1 9ede90a197ae005b26518f7a2519030194d42b05bdc23e017c98c86d14de0d5b 16:11:25 $ docker rm -f 9ede90a197ae005b26518f7a2519030194d42b05bdc23e017c98c86d14de0d5b [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 16:11:26 provisioning config files... 16:11:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8944137926848859436tmp [Pipeline] { [Pipeline] sh 16:11:26 + set +x 16:11:26 + bash -s -- 16:11:26 + curl -s https://codecov.io/bash 16:11:26 16:11:26 _____ _ 16:11:26 / ____| | | 16:11:26 | | ___ __| | ___ ___ _____ __ 16:11:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:11:26 | |___| (_) | (_| | __/ (_| (_) \ V / 16:11:26 \_____\___/ \__,_|\___|\___\___/ \_/ 16:11:26 Bash-1.0.6 16:11:26 16:11:26 16:11:26 ==> git version 2.25.1 found 16:11:26 ==> 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 16:11:26 Release-Date: 2020-01-08 16:11:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:11:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:11:26 ==> Jenkins CI detected. 16:11:26 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:11:26 project root: . 16:11:26 --> token set from env 16:11:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:11:26 ==> Running gcov in . (disable via -X gcov) 16:11:26 ==> Python coveragepy not found 16:11:26 ==> Searching for coverage reports in: 16:11:26 + . 16:11:26 -> Found 1 reports 16:11:26 ==> Detecting git/mercurial file structure 16:11:26 ==> Reading reports 16:11:26 + ./coverage.out bytes=131190 16:11:26 ==> Appending adjustments 16:11:26 https://docs.codecov.io/docs/fixing-reports 16:11:26 + Found adjustments 16:11:26 ==> Gzipping contents 16:11:26 20K /tmp/codecov.EUcCyX.gz 16:11:26 ==> Uploading reports 16:11:26 url: https://codecov.io 16:11:26 query: branch=main&commit=f9571835d69bd2b94c85f597b4604ec549aac7dc&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:11:26 -> Pinging Codecov 16:11:26 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=f9571835d69bd2b94c85f597b4604ec549aac7dc&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:11:26 -> Uploading to 16:11:26 https://storage.googleapis.com/codecov/v4/raw/2022-06-22/7E55EF52A471D76F132DFD9A03CDDE97/f9571835d69bd2b94c85f597b4604ec549aac7dc/feb4d373-4c3a-4184-a36e-2beab3bb84dc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220622%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220622T161126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ef699672f319eecddf78fb4aaaa85dd12e6256bc3b061dfc52f1c53622d124e 16:11:26 % Total % Received % Xferd Average Speed Time Time Time Current 16:11:26 Dload Upload Total Spent Left Speed 16:11:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16886 0 0 100 16886 0 76407 --:--:-- --:--:-- --:--:-- 76063 100 16886 0 0 100 16886 0 63243 --:--:-- --:--:-- --:--:-- 63007 16:11:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] } 16:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:11:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:11:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:11:27 16:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:11:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:11:28 df9b9388f04a: Pulling fs layer 16:11:28 52dc419b0ee2: Pulling fs layer 16:11:28 25bc292e5bac: Pulling fs layer 16:11:28 114826534d7a: Pulling fs layer 16:11:28 4657fd5d0bcf: Pulling fs layer 16:11:28 6ad1cebc031e: Pulling fs layer 16:11:28 8a3aa393b2d8: Pulling fs layer 16:11:28 4657fd5d0bcf: Waiting 16:11:28 6ad1cebc031e: Waiting 16:11:28 114826534d7a: Waiting 16:11:28 8a3aa393b2d8: Waiting 16:11:28 25bc292e5bac: Verifying Checksum 16:11:28 25bc292e5bac: Download complete 16:11:28 52dc419b0ee2: Verifying Checksum 16:11:28 52dc419b0ee2: Download complete 16:11:28 4657fd5d0bcf: Verifying Checksum 16:11:28 4657fd5d0bcf: Download complete 16:11:28 df9b9388f04a: Download complete 16:11:28 6ad1cebc031e: Verifying Checksum 16:11:28 6ad1cebc031e: Download complete 16:11:28 df9b9388f04a: Pull complete 16:11:28 52dc419b0ee2: Pull complete 16:11:28 25bc292e5bac: Pull complete 16:11:28 114826534d7a: Verifying Checksum 16:11:28 114826534d7a: Download complete 16:11:29 8a3aa393b2d8: Verifying Checksum 16:11:29 8a3aa393b2d8: Download complete 16:11:32 114826534d7a: Pull complete 16:11:32 4657fd5d0bcf: Pull complete 16:11:32 6ad1cebc031e: Pull complete 16:11:36 8a3aa393b2d8: Pull complete 16:11:36 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:11:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:11:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:36 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:11:36 $ 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 16:11:38 $ docker top 1565a28077d98be40b2eb934979cb78d2f0192ed8a3046508b27ee7c9b3c6c69 -eo pid,comm [Pipeline] { [Pipeline] echo 16:11:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:11:38 + set -o pipefail 16:11:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:11:43 16:11:43 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 16:11:43 16:11:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/04290e12-0bef-4a9d-bc1f-6904a132e5bf 16:11:43 16:11:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:11:43 16:11:43 16:11:43 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 16:11:43 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 16:11:43 $ docker stop --time=1 1565a28077d98be40b2eb934979cb78d2f0192ed8a3046508b27ee7c9b3c6c69 16:11:46 $ docker rm -f 1565a28077d98be40b2eb934979cb78d2f0192ed8a3046508b27ee7c9b3c6c69 [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 16:11:46 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:46 provisioning config files... 16:11:46 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9221958902756688495tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:47 --> edgex-publish-swagger.sh 16:11:47 === Publish openapi/v2 API === 16:11:47 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:11:47 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 16:11:47 % Total % Received % Xferd Average Speed Time Time Time Current 16:11:47 Dload Upload Total Spent Left Speed 16:11:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 365k --:--:-- --:--:-- --:--:-- 365k 100 53552 0 0 100 53552 0 83284 --:--:-- --:--:-- --:--:-- 83155 16:11:47 16:11:47 [Pipeline] } 16:11:47 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 16:11:48 + git log --format=format:%s -1 f9571835d69bd2b94c85f597b4604ec549aac7dc [Pipeline] sh 16:11:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:48 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:11:48 $ 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 16:11:49 $ docker top 76a394410d93135227b6cda017db8e9e0eb50d235488d1d1352b807026507d17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:49 [ssh-agent] Looking for ssh-agent implementation... 16:11:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:49 $ docker exec 76a394410d93135227b6cda017db8e9e0eb50d235488d1d1352b807026507d17 ssh-agent 16:11:49 SSH_AUTH_SOCK=/tmp/ssh-mk2s3TTMoxt9/agent.34 16:11:49 SSH_AGENT_PID=40 16:11:49 Running ssh-add (command line suppressed) 16:11:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3223757495986904496.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3223757495986904496.key) 16:11:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:49 + git semver tag 16:11:50 2022-06-22 16:11:50,186 [run_tag] DEBUG tag force:False 16:11:50 2022-06-22 16:11:50,186 [check_head_tag] DEBUG check head tag 16:11:50 2022-06-22 16:11:50,187 [execute] INFO git cat-file --batch-check 16:11:50 2022-06-22 16:11:50,187 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:11:50 2022-06-22 16:11:50,191 [execute] INFO git cat-file --batch 16:11:50 2022-06-22 16:11:50,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:11:50 2022-06-22 16:11:50,205 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:11:50 2022-06-22 16:11:50,206 [execute] INFO git tag -a v2.2.1-dev.9 -m v2.2.1-dev.9 16:11:50 2022-06-22 16:11:50,206 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.9', '-m', 'v2.2.1-dev.9'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:11:50 2022-06-22 16:11:50,211 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:11:50 2.2.1-dev.9 [Pipeline] } 16:11:50 $ docker exec --env ******** --env ******** 76a394410d93135227b6cda017db8e9e0eb50d235488d1d1352b807026507d17 ssh-agent -k 16:11:50 unset SSH_AUTH_SOCK; 16:11:50 unset SSH_AGENT_PID; 16:11:50 echo Agent pid 40 killed; 16:11:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:50 + git semver [Pipeline] } 16:11:50 $ docker stop --time=1 76a394410d93135227b6cda017db8e9e0eb50d235488d1d1352b807026507d17 16:11:52 $ docker rm -f 76a394410d93135227b6cda017db8e9e0eb50d235488d1d1352b807026507d17 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:11:52 16:11:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:11:52 0.23.1-centos7: Pulling from edgex-lftools 16:11:52 ab5ef0e58194: Pulling fs layer 16:11:52 9712f1f96733: Pulling fs layer 16:11:52 63f879dbbcfc: Pulling fs layer 16:11:52 0d9ebad4ef96: Pulling fs layer 16:11:52 e9a5061849ea: Pulling fs layer 16:11:52 d747dcd14b5f: Pulling fs layer 16:11:52 2de7ff778b66: Pulling fs layer 16:11:52 0d9ebad4ef96: Waiting 16:11:52 e9a5061849ea: Waiting 16:11:52 d747dcd14b5f: Waiting 16:11:52 2de7ff778b66: Waiting 16:11:52 9712f1f96733: Verifying Checksum 16:11:52 9712f1f96733: Download complete 16:11:53 63f879dbbcfc: Verifying Checksum 16:11:53 63f879dbbcfc: Download complete 16:11:53 e9a5061849ea: Verifying Checksum 16:11:53 e9a5061849ea: Download complete 16:11:53 d747dcd14b5f: Download complete 16:11:53 0d9ebad4ef96: Verifying Checksum 16:11:53 0d9ebad4ef96: Download complete 16:11:53 ab5ef0e58194: Verifying Checksum 16:11:53 ab5ef0e58194: Download complete 16:11:53 2de7ff778b66: Verifying Checksum 16:11:53 2de7ff778b66: Download complete 16:11:56 ab5ef0e58194: Pull complete 16:11:56 9712f1f96733: Pull complete 16:11:56 63f879dbbcfc: Pull complete 16:12:01 0d9ebad4ef96: Pull complete 16:12:01 e9a5061849ea: Pull complete 16:12:01 d747dcd14b5f: Pull complete 16:12:01 2de7ff778b66: Pull complete 16:12:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:12:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:12:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:02 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:12:02 $ 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 16:12:04 $ docker top 2e65e26d4605a0099c87c8caa030c1d7a51c6f33c472362fb16d33d831e503e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:12:04 provisioning config files... 16:12:04 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6723567179622710172tmp 16:12:04 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5140431601233118718tmp 16:12:04 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config676604800261933836tmp [Pipeline] { [Pipeline] echo 16:12:04 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:12:05 ---> sigul-configuration.sh 16:12:05 gpg: directory `/root/.gnupg' created 16:12:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:12:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:12:05 gpg: keyring `/root/.gnupg/secring.gpg' created 16:12:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:12:05 gpg: CAST5 encrypted data 16:12:05 gpg: encrypted with 1 passphrase 16:12:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:12:05 + mkdir /home/jenkins 16:12:05 + mkdir /home/jenkins/sigul [Pipeline] sh 16:12:05 + 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 16:12:05 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:12:05 ---> sigul-install.sh 16:12:05 Sigul already installed; skipping installation. [Pipeline] sh 16:12:06 + git tag --list 16:12:06 0.7.1 16:12:06 delhi-tag 16:12:06 v1.0.0 16:12:06 v1.1.0 16:12:06 v1.1.1 16:12:06 v1.1.2 16:12:06 v1.2.0 16:12:06 v1.2.1 16:12:06 v1.2.2 16:12:06 v1.2.3 16:12:06 v1.3.0 16:12:06 v1.4.0 16:12:06 v2.0.0 16:12:06 v2.1.0 16:12:06 v2.1.1 16:12:06 v2.1.1-dev.2 16:12:06 v2.1.1-dev.3 16:12:06 v2.2.0 16:12:06 v2.2.1-dev.1 16:12:06 v2.2.1-dev.2 16:12:06 v2.2.1-dev.3 16:12:06 v2.2.1-dev.4 16:12:06 v2.2.1-dev.5 16:12:06 v2.2.1-dev.6 16:12:06 v2.2.1-dev.7 16:12:06 v2.2.1-dev.8 16:12:06 v2.2.1-dev.9 [Pipeline] sh 16:12:06 + lftools sign git-tag v2.2.1-dev.9 16:12:07 Signing Git tag with Sigul... 16:12:07 Signing v2.2.1-dev.9 [Pipeline] echo 16:12:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:12:07 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:12:07 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:12:07 $ docker stop --time=1 2e65e26d4605a0099c87c8caa030c1d7a51c6f33c472362fb16d33d831e503e8 16:12:09 $ docker rm -f 2e65e26d4605a0099c87c8caa030c1d7a51c6f33c472362fb16d33d831e503e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:12:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:12:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:12:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:09 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:12:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:12:10 $ docker top bc43afda99b8f7425a84669925039748d440870828c10ef9ec1f5b90d5fdaf3f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:12:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:12:10 [ssh-agent] Looking for ssh-agent implementation... 16:12:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:12:10 $ docker exec bc43afda99b8f7425a84669925039748d440870828c10ef9ec1f5b90d5fdaf3f ssh-agent 16:12:10 SSH_AUTH_SOCK=/tmp/ssh-rmkA6PwZUL6x/agent.33 16:12:10 SSH_AGENT_PID=40 16:12:10 Running ssh-add (command line suppressed) 16:12:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6527422695878222135.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6527422695878222135.key) 16:12:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:12:11 + git semver bump pre 16:12:11 2022-06-22 16:12:11,289 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:12:11 2022-06-22 16:12:11,289 [bump_version] DEBUG bumping version:2.2.1-dev.9 on axis:pre with prefix:dev 16:12:11 2022-06-22 16:12:11,289 [bump_version] DEBUG bumped version:2.2.1-dev.10 16:12:11 2022-06-22 16:12:11,290 [write_version] DEBUG write version:2.2.1-dev.10 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:12:11 2022-06-22 16:12:11,290 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:12:11 2022-06-22 16:12:11,290 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:12:11 2022-06-22 16:12:11,292 [execute] INFO git cat-file --batch-check 16:12:11 2022-06-22 16:12:11,293 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:12:11 2022-06-22 16:12:11,299 [execute] INFO git cat-file --batch 16:12:11 2022-06-22 16:12:11,299 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:12:11 2022-06-22 16:12:11,304 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:12:11 2.2.1-dev.10 [Pipeline] } 16:12:11 $ docker exec --env ******** --env ******** bc43afda99b8f7425a84669925039748d440870828c10ef9ec1f5b90d5fdaf3f ssh-agent -k 16:12:11 unset SSH_AUTH_SOCK; 16:12:11 unset SSH_AGENT_PID; 16:12:11 echo Agent pid 40 killed; 16:12:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:12:11 + git semver [Pipeline] } 16:12:12 $ docker stop --time=1 bc43afda99b8f7425a84669925039748d440870828c10ef9ec1f5b90d5fdaf3f 16:12:13 $ docker rm -f bc43afda99b8f7425a84669925039748d440870828c10ef9ec1f5b90d5fdaf3f [Pipeline] // withDockerContainer [Pipeline] sh 16:12:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:12:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:12:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:14 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:12: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 16:12:14 $ docker top df2195cbc6d146d1ca5c89f4cc6bd87947aa36531b2d0a9c9704f99474827fbb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:12:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:12:14 [ssh-agent] Looking for ssh-agent implementation... 16:12:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:12:14 $ docker exec df2195cbc6d146d1ca5c89f4cc6bd87947aa36531b2d0a9c9704f99474827fbb ssh-agent 16:12:14 SSH_AUTH_SOCK=/tmp/ssh-L1qcQWd8ZTFg/agent.34 16:12:14 SSH_AGENT_PID=40 16:12:14 Running ssh-add (command line suppressed) 16:12:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150686574515684695.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6150686574515684695.key) 16:12:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:12:15 + git semver push 16:12:15 2022-06-22 16:12:15,577 [run_push] DEBUG push 16:12:15 2022-06-22 16:12:15,578 [execute] INFO git cat-file --batch-check 16:12:15 2022-06-22 16:12:15,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:12:15 2022-06-22 16:12:15,583 [execute] INFO git rev-list d75d2db0c7cf6ac1df5e8c5a12599df4da2af37e -- 16:12:15 2022-06-22 16:12:15,583 [execute] DEBUG Popen(['git', 'rev-list', 'd75d2db0c7cf6ac1df5e8c5a12599df4da2af37e', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:12:15 2022-06-22 16:12:15,594 [execute] INFO git fetch -v origin 16:12:15 2022-06-22 16:12:15,594 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:12:16 2022-06-22 16:12:16,062 [run_push] DEBUG no remote changes detected 16:12:16 2022-06-22 16:12:16,063 [execute] INFO git push origin semver 16:12:16 2022-06-22 16:12:16,063 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:12:17 2022-06-22 16:12:16,872 [run_push] DEBUG push all version tags 16:12:17 2022-06-22 16:12:16,873 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:12:17 2022-06-22 16:12:16,873 [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) 16:12:17 2022-06-22 16:12:17,572 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:12:17 2.2.1-dev.10 [Pipeline] } 16:12:17 $ docker exec --env ******** --env ******** df2195cbc6d146d1ca5c89f4cc6bd87947aa36531b2d0a9c9704f99474827fbb ssh-agent -k 16:12:17 unset SSH_AUTH_SOCK; 16:12:17 unset SSH_AGENT_PID; 16:12:17 echo Agent pid 40 killed; 16:12:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:12:18 + git semver [Pipeline] } 16:12:18 $ docker stop --time=1 df2195cbc6d146d1ca5c89f4cc6bd87947aa36531b2d0a9c9704f99474827fbb 16:12:19 $ docker rm -f df2195cbc6d146d1ca5c89f4cc6bd87947aa36531b2d0a9c9704f99474827fbb [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 16:12:20 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:12:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:12:20 total 16 16:12:20 drwxr-xr-x 3 root root 4096 Jun 22 16:01 . 16:12:20 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 16:12 .. 16:12:20 drwxr-xr-x 2 root root 4096 Jun 22 16:01 cost 16:12:20 -rw-r--r-- 1 root root 83 Jun 22 16:01 cost.csv 16:12:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:12:20 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:12:20 total 16 16:12:20 drwxr-xr-x 3 jenkins jenkins 4096 Jun 22 16:01 . 16:12:20 drwxrwxr-x 12 jenkins jenkins 4096 Jun 22 16:12 .. 16:12:20 drwxr-xr-x 2 jenkins jenkins 4096 Jun 22 16:01 cost 16:12:20 -rw-r--r-- 1 jenkins jenkins 83 Jun 22 16:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:12:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:12:21 ---> package-listing.sh 16:12:21 ++ facter osfamily 16:12:21 ++ tr '[:upper:]' '[:lower:]' 16:12:21 + OS_FAMILY=debian 16:12:21 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:12:21 + START_PACKAGES=/tmp/packages_start.txt 16:12:21 + END_PACKAGES=/tmp/packages_end.txt 16:12:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:12:21 + PACKAGES=/tmp/packages_start.txt 16:12:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:12:21 + PACKAGES=/tmp/packages_end.txt 16:12:21 + case "${OS_FAMILY}" in 16:12:21 + dpkg -l 16:12:21 + grep '^ii' 16:12:21 + '[' -f /tmp/packages_start.txt ']' 16:12:21 + '[' -f /tmp/packages_end.txt ']' 16:12:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:12:21 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:12:21 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:12:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:12:21 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 16:12:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:22 prd-ubuntu20.04-docker-8c-8g-15332 does not seem to be running inside a container 16:12:22 $ 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 16:12:23 $ docker top cb82b1cfeec8173a165ef826f85363b1966bc16f600fb5127cec8f73a480cfa8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:23 + touch /tmp/pre-build-complete [Pipeline] sh 16:12:23 + mkdir -p /var/log/sysstat [Pipeline] sh 16:12:23 + ls /var/log/sa-host 16:12:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:12:24 provisioning config files... 16:12:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3536593564694684229tmp [Pipeline] { [Pipeline] echo 16:12:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:12:24 ---> create-netrc.sh [Pipeline] } 16:12:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:12:24 ---> python-tools-install.sh [Pipeline] echo 16:12:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:12:24 ---> sudo-logs.sh 16:12:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:12:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:12:25 ---> job-cost.sh 16:12:25 lf-activate-venv: SKIPPING 16:12:25 DEBUG: total: 0.2199999988079071 16:12:25 INFO: Retrieving Stack Cost... 16:12:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:12:26 INFO: Archiving Costs [Pipeline] echo 16:12:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:12:26 ---> logs-deploy.sh 16:12:26 lf-activate-venv: SKIPPING 16:12:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/84 16:12:26 INFO: archiving workspace using pattern(s): 16:12:27 Archives upload complete. 16:12:27 INFO: archiving logs to Nexus 16:12:28 ---> uname -a: 16:12:28 Linux prd-ubuntu20-04-docker-8c-8g-15332 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 16:12:28 16:12:28 16:12:28 ---> lscpu: 16:12:28 Architecture: x86_64 16:12:28 CPU op-mode(s): 32-bit, 64-bit 16:12:28 Byte Order: Little Endian 16:12:28 Address sizes: 40 bits physical, 48 bits virtual 16:12:28 CPU(s): 8 16:12:28 On-line CPU(s) list: 0-7 16:12:28 Thread(s) per core: 1 16:12:28 Core(s) per socket: 1 16:12:28 Socket(s): 8 16:12:28 NUMA node(s): 1 16:12:28 Vendor ID: AuthenticAMD 16:12:28 CPU family: 23 16:12:28 Model: 49 16:12:28 Model name: AMD EPYC-Rome Processor 16:12:28 Stepping: 0 16:12:28 CPU MHz: 2800.000 16:12:28 BogoMIPS: 5600.00 16:12:28 Virtualization: AMD-V 16:12:28 Hypervisor vendor: KVM 16:12:28 Virtualization type: full 16:12:28 L1d cache: 256 KiB 16:12:28 L1i cache: 256 KiB 16:12:28 L2 cache: 4 MiB 16:12:28 L3 cache: 128 MiB 16:12:28 NUMA node0 CPU(s): 0-7 16:12:28 Vulnerability Itlb multihit: Not affected 16:12:28 Vulnerability L1tf: Not affected 16:12:28 Vulnerability Mds: Not affected 16:12:28 Vulnerability Meltdown: Not affected 16:12:28 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:12:28 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:12:28 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:12:28 Vulnerability Srbds: Not affected 16:12:28 Vulnerability Tsx async abort: Not affected 16:12:28 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:12:28 16:12:28 16:12:28 ---> nproc: 16:12:28 8 16:12:28 16:12:28 16:12:28 ---> df -h: 16:12:28 Filesystem Size Used Avail Use% Mounted on 16:12:28 overlay 155G 12G 143G 8% / 16:12:28 tmpfs 64M 0 64M 0% /dev 16:12:28 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:12:28 shm 64M 0 64M 0% /dev/shm 16:12:28 /dev/vda1 155G 12G 143G 8% /facter-os 16:12:28 16:12:28 16:12:28 ---> sar -b -r -n DEV: 16:12:28 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-15332) 06/22/22 _x86_64_ (8 CPU) 16:12:28 16:12:28 15:58:33 LINUX RESTART (8 CPU) 16:12:28 16:12:28 15:59:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:12:28 16:00:01 444.16 16.16 428.00 0.00 2206.43 144378.20 0.00 16:12:28 16:01:01 121.74 0.15 121.59 0.00 9.73 27588.67 0.00 16:12:28 16:02:01 88.75 0.03 88.72 0.00 1.20 19618.28 0.00 16:12:28 16:03:01 1.65 0.00 1.65 0.00 0.00 18.26 0.00 16:12:28 16:04:01 1.23 0.02 1.22 0.00 0.13 14.26 0.00 16:12:28 16:05:01 1.37 0.00 1.37 0.00 0.00 16.66 0.00 16:12:28 16:06:01 2.73 1.57 1.17 0.00 49.05 14.93 0.00 16:12:28 16:07:01 1.42 0.00 1.42 0.00 0.00 17.86 0.00 16:12:28 16:08:01 1.02 0.00 1.02 0.00 0.00 11.47 0.00 16:12:28 16:09:01 1.75 0.00 1.75 0.00 0.00 24.53 0.00 16:12:28 16:10:01 1.13 0.00 1.13 0.00 0.00 13.06 0.00 16:12:28 16:11:01 1.80 0.00 1.80 0.00 0.00 21.33 0.00 16:12:28 16:12:01 69.61 0.23 69.38 0.00 9.20 36539.02 0.00 16:12:28 Average: 56.80 1.40 55.40 0.00 175.05 17559.86 0.00 16:12:28 16:12:28 15:59:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:12:28 16:00:01 28189976 31613136 678212 2.06 158508 3472380 2542544 7.49 1408956 2833900 106888 16:12:28 16:01:01 28194928 31741156 551032 1.68 164588 3581476 2143228 6.32 1269976 2957456 84 16:12:28 16:02:01 27696356 31776112 514576 1.56 174492 4054044 1925444 5.67 1283100 3389316 12 16:12:28 16:03:01 27695936 31775856 514176 1.56 174512 4054048 1925444 5.67 1282532 3389320 20 16:12:28 16:04:01 27697024 31778028 512696 1.56 174536 4054060 1925444 5.67 1280864 3390328 48 16:12:28 16:05:01 27697260 31778268 512452 1.56 174556 4054060 1925444 5.67 1280508 3390328 52 16:12:28 16:06:01 27700988 31784444 506164 1.54 174580 4055532 1925444 5.67 1278140 3389856 20 16:12:28 16:07:01 27701444 31785064 505496 1.54 174600 4055664 1925444 5.67 1277732 3389988 52 16:12:28 16:08:01 27701468 31785092 505424 1.54 174616 4055664 1925444 5.67 1277480 3389988 12 16:12:28 16:09:01 27701452 31785104 505384 1.54 174632 4055644 1925444 5.67 1277900 3389968 12 16:12:28 16:10:01 27701348 31785040 505372 1.54 174664 4055648 1925444 5.67 1277584 3389972 20 16:12:28 16:11:01 27701284 31784976 505308 1.54 174704 4055648 1925444 5.67 1278348 3389972 0 16:12:28 16:12:01 26191084 31748728 538072 1.64 216712 5363408 1906996 5.62 1391992 4655848 636096 16:12:28 Average: 27659273 31763154 527259 1.60 175823 4074406 1988247 5.86 1297316 3411249 57178 16:12:28 16:12:28 15:59:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:12:28 16:00:01 lo 6.47 6.47 0.64 0.64 0.00 0.00 0.00 0.00 16:12:28 16:00:01 docker0 108.25 132.48 8.67 1084.28 0.00 0.00 0.00 0.00 16:12:28 16:00:01 ens3 746.34 488.40 7140.96 153.42 0.00 0.00 0.00 0.00 16:12:28 16:00:01 veth3029b81 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 16:12:28 16:01:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 16:12:28 16:01:01 docker0 8.26 9.43 0.49 38.12 0.00 0.00 0.00 0.00 16:12:28 16:01:01 ens3 44.57 29.41 110.34 13.44 0.00 0.00 0.00 0.00 16:12:28 16:02:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 16:12:28 16:02:01 docker0 6.97 9.35 0.41 51.25 0.00 0.00 0.00 0.00 16:12:28 16:02:01 ens3 143.15 101.80 2580.29 67.29 0.00 0.00 0.00 0.00 16:12:28 16:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:03:01 ens3 0.67 0.67 0.04 0.06 0.00 0.00 0.00 0.00 16:12:28 16:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:04:01 ens3 1.13 0.50 0.47 0.34 0.00 0.00 0.00 0.00 16:12:28 16:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:05:01 ens3 1.02 0.43 1.48 0.03 0.00 0.00 0.00 0.00 16:12:28 16:06:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:06:01 ens3 7.03 5.33 5.17 5.86 0.00 0.00 0.00 0.00 16:12:28 16:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:07:01 ens3 0.27 0.18 0.07 0.01 0.00 0.00 0.00 0.00 16:12:28 16:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:08:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:09:01 ens3 0.25 0.17 0.08 0.07 0.00 0.00 0.00 0.00 16:12:28 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:10:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 16:12:28 16:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:12:28 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:12:28 16:11:01 ens3 0.63 0.47 0.33 0.22 0.00 0.00 0.00 0.00 16:12:28 16:12:01 lo 2.00 2.00 0.20 0.20 0.00 0.00 0.00 0.00 16:12:28 16:12:01 docker0 34.52 43.22 3.20 684.63 0.00 0.00 0.00 0.00 16:12:28 16:12:01 ens3 340.44 207.23 7855.48 32.57 0.00 0.00 0.00 0.00 16:12:28 Average: lo 0.90 0.90 0.09 0.09 0.00 0.00 0.00 0.00 16:12:28 Average: docker0 12.15 14.96 0.98 142.95 0.00 0.00 0.00 0.00 16:12:28 Average: ens3 98.90 64.20 1361.17 21.02 0.00 0.00 0.00 0.00 16:12:28 16:12:28