Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 387354420b6c024391aeac33674ce5c69e12b92e 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-ssh14897205272919309388.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-ssh16373332467138101823.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-ssh11871253903951544236.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-ssh15137118340054686106.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-ssh12894080413347965191.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15515 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 387354420b6c024391aeac33674ce5c69e12b92e (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 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 Commit message: "Merge pull request #1184 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.5" > git rev-list --no-walk f9571835d69bd2b94c85f597b4604ec549aac7dc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:51:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:51:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:51:09 ========================================================= 05:51:09 EdgeX Global Pipelines Version Info 05:51:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:51:10 ------------------- 05:51:10 stable info: 05:51:10 ------------------- 05:51:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:51:10 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:51:10 Message: update stable to v1.0.234 05:51:10 ------------------- 05:51:10 experimental info: 05:51:10 ------------------- 05:51:10 Commited By: **** collab-it+edgex@linuxfoundation.org 05:51:10 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 05:51:10 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3873544 [Pipeline] echo 05:51:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:11 provisioning config files... 05:51:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3649404248540824445tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:11 ---> docker-login.sh 05:51:11 nexus3.edgexfoundry.org:10001 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10002 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10003 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10004 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 docker.io 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 ---> docker-login.sh ends [Pipeline] } 05:51:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:51:13 + git rev-list -1 --merges 387354420b6c024391aeac33674ce5c69e12b92e~1..387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] echo 05:51:13 -----------> git rev-list -1 --merges 387354420b6c024391aeac33674ce5c69e12b92e~1..387354420b6c024391aeac33674ce5c69e12b92e 387354420b6c024391aeac33674ce5c69e12b92e 05:51:13 387354420b6c024391aeac33674ce5c69e12b92e [false] [Pipeline] sh 05:51:13 + git log --format=format:%s -1 387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] echo 05:51:13 ========================================================= 05:51:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:51:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:51:14 + git log --format=format:%s -1 387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] echo 05:51:14 [semverPrep] GIT_COMMIT: 387354420b6c024391aeac33674ce5c69e12b92e, Commit Message: Merge pull request #1184 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.5 [Pipeline] echo 05:51:14 [semverPrep] This is not a build commit. [Pipeline] sh 05:51:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:51:14 + grep -v github /etc/ssh/ssh_known_hosts 05:51:14 + [ -e /tmp/ssh_known_hosts ] 05:51:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:51:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:51:14 sudo tee -a /etc/ssh/ssh_known_hosts 05:51:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:15 05:51:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:15 0.1.4: Pulling from edgex-devops/py-git-semver 05:51:15 42c077c10790: Pulling fs layer 05:51:15 f63e77b7563a: Pulling fs layer 05:51:15 bd5fdadae976: Pulling fs layer 05:51:15 205491f53016: Pulling fs layer 05:51:15 df18705c85c3: Pulling fs layer 05:51:15 205491f53016: Waiting 05:51:15 bdb3f477010e: Pulling fs layer 05:51:15 c8a8fc8e1c8f: Pulling fs layer 05:51:15 df18705c85c3: Waiting 05:51:15 bdb3f477010e: Waiting 05:51:15 2c6e9b1d212d: Pulling fs layer 05:51:15 c8a8fc8e1c8f: Waiting 05:51:15 2c6e9b1d212d: Waiting 05:51:15 bdb8f0575790: Pulling fs layer 05:51:15 386e3cb2ff24: Pulling fs layer 05:51:15 bdb8f0575790: Waiting 05:51:15 2343380bae48: Pulling fs layer 05:51:15 2343380bae48: Waiting 05:51:15 386e3cb2ff24: Waiting 05:51:15 f63e77b7563a: Verifying Checksum 05:51:15 205491f53016: Verifying Checksum 05:51:15 205491f53016: Download complete 05:51:15 df18705c85c3: Verifying Checksum 05:51:15 df18705c85c3: Download complete 05:51:15 bd5fdadae976: Verifying Checksum 05:51:15 bd5fdadae976: Download complete 05:51:15 bdb3f477010e: Verifying Checksum 05:51:15 bdb3f477010e: Download complete 05:51:15 2c6e9b1d212d: Download complete 05:51:15 bdb8f0575790: Verifying Checksum 05:51:15 bdb8f0575790: Download complete 05:51:15 386e3cb2ff24: Verifying Checksum 05:51:15 386e3cb2ff24: Download complete 05:51:15 2343380bae48: Verifying Checksum 05:51:15 42c077c10790: Verifying Checksum 05:51:15 42c077c10790: Download complete 05:51:15 c8a8fc8e1c8f: Download complete 05:51:17 42c077c10790: Pull complete 05:51:17 f63e77b7563a: Pull complete 05:51:17 bd5fdadae976: Pull complete 05:51:17 205491f53016: Pull complete 05:51:18 df18705c85c3: Pull complete 05:51:18 bdb3f477010e: Pull complete 05:51:20 c8a8fc8e1c8f: Pull complete 05:51:20 2c6e9b1d212d: Pull complete 05:51:20 bdb8f0575790: Pull complete 05:51:20 386e3cb2ff24: Pull complete 05:51:20 2343380bae48: Pull complete 05:51:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 05:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:51:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:51:20 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 05:51:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:51:22 $ docker top d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 -eo pid,comm 05:51:22 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:51:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:51:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:22 [ssh-agent] Looking for ssh-agent implementation... 05:51:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:22 $ docker exec d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 ssh-agent 05:51:22 SSH_AUTH_SOCK=/tmp/ssh-MZfrCVRqjV4N/agent.33 05:51:22 SSH_AGENT_PID=39 05:51:22 Running ssh-add (command line suppressed) 05:51:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3322628495162678810.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3322628495162678810.key) 05:51:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:23 + git tag --points-at HEAD [Pipeline] } 05:51:23 $ docker exec --env ******** --env ******** d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 ssh-agent -k 05:51:23 unset SSH_AUTH_SOCK; 05:51:23 unset SSH_AGENT_PID; 05:51:23 echo Agent pid 39 killed; 05:51:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:51:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:51:23 [ssh-agent] Looking for ssh-agent implementation... 05:51:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:51:23 $ docker exec d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 ssh-agent 05:51:23 SSH_AUTH_SOCK=/tmp/ssh-kDWPKTA8g253/agent.74 05:51:23 SSH_AGENT_PID=80 05:51:23 Running ssh-add (command line suppressed) 05:51:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7890459794687119153.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7890459794687119153.key) 05:51:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:51:23 + git semver init 05:51:24 2022-06-24 05:51:24,162 [run_init] DEBUG init version:0.0.0 force:False 05:51:24 2022-06-24 05:51:24,163 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:51:24 2022-06-24 05:51:24,163 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:51:24 2022-06-24 05:51:24,164 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:51:25 2022-06-24 05:51:24,900 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:51:25 2022-06-24 05:51:24,901 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:51:25 2022-06-24 05:51:24,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:25 2022-06-24 05:51:24,901 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:51:25 2.2.1-dev.10 [Pipeline] } 05:51:25 $ docker exec --env ******** --env ******** d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 ssh-agent -k 05:51:25 unset SSH_AUTH_SOCK; 05:51:25 unset SSH_AGENT_PID; 05:51:25 echo Agent pid 80 killed; 05:51:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:51:25 + git semver [Pipeline] } 05:51:25 $ docker stop --time=1 d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 05:51:27 $ docker rm -f d5036811cea35df6a58893bb3e77a4eeab61fda33e5bfefe342cd981b69cfb14 [Pipeline] // withDockerContainer [Pipeline] sh 05:51:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:51:27 Stashed 1 file(s) [Pipeline] echo 05:51:27 [edgeXSemver]: initialized semver on version 2.2.1-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:51:27 provisioning config files... 05:51:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7719202087625045180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:28 ---> docker-login.sh 05:51:28 nexus3.edgexfoundry.org:10001 05:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:28 Configure a credential helper to remove this warning. See 05:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:28 05:51:28 Login Succeeded 05:51:28 nexus3.edgexfoundry.org:10002 05:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:28 Configure a credential helper to remove this warning. See 05:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:28 05:51:28 Login Succeeded 05:51:28 nexus3.edgexfoundry.org:10003 05:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:28 Configure a credential helper to remove this warning. See 05:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:28 05:51:28 Login Succeeded 05:51:28 nexus3.edgexfoundry.org:10004 05:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:28 Configure a credential helper to remove this warning. See 05:51:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:28 05:51:28 Login Succeeded 05:51:28 docker.io 05:51:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:29 Configure a credential helper to remove this warning. See 05:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:29 05:51:29 Login Succeeded 05:51:29 ---> docker-login.sh ends [Pipeline] } 05:51:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:51:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:29 ========================================================= 05:51:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:51:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:51:29 + 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 . 05:51:29 Sending build context to Docker daemon 9.666MB 05:51:29 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:51:29 Step 2/11 : FROM ${BASE} AS builder 05:51:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:51:29 59bf1c3509f3: Pulling fs layer 05:51:29 666ba61612fd: Pulling fs layer 05:51:29 8ed8ca486205: Pulling fs layer 05:51:29 cc1cd167ecdc: Pulling fs layer 05:51:29 c516ae0d96e1: Pulling fs layer 05:51:29 684cea983483: Pulling fs layer 05:51:29 dd3240ac7de5: Pulling fs layer 05:51:29 b1e948a4e11c: Pulling fs layer 05:51:29 a8fd76ee1af6: Pulling fs layer 05:51:29 646ad004c059: Pulling fs layer 05:51:29 cc1cd167ecdc: Waiting 05:51:29 b1e948a4e11c: Waiting 05:51:29 dd3240ac7de5: Waiting 05:51:29 684cea983483: Waiting 05:51:29 c516ae0d96e1: Waiting 05:51:29 a8fd76ee1af6: Waiting 05:51:29 8ed8ca486205: Verifying Checksum 05:51:29 8ed8ca486205: Download complete 05:51:29 666ba61612fd: Verifying Checksum 05:51:29 666ba61612fd: Download complete 05:51:29 c516ae0d96e1: Download complete 05:51:29 59bf1c3509f3: Verifying Checksum 05:51:29 dd3240ac7de5: Download complete 05:51:29 684cea983483: Verifying Checksum 05:51:29 684cea983483: Download complete 05:51:29 b1e948a4e11c: Verifying Checksum 05:51:29 b1e948a4e11c: Download complete 05:51:29 59bf1c3509f3: Pull complete 05:51:30 666ba61612fd: Pull complete 05:51:30 8ed8ca486205: Pull complete 05:51:30 a8fd76ee1af6: Download complete 05:51:30 646ad004c059: Verifying Checksum 05:51:30 646ad004c059: Download complete 05:51:30 cc1cd167ecdc: Verifying Checksum 05:51:30 cc1cd167ecdc: Download complete 05:51:34 cc1cd167ecdc: Pull complete 05:51:34 c516ae0d96e1: Pull complete 05:51:34 684cea983483: Pull complete 05:51:34 dd3240ac7de5: Pull complete 05:51:34 b1e948a4e11c: Pull complete 05:51:36 a8fd76ee1af6: Pull complete 05:51:37 646ad004c059: Pull complete 05:51:37 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 05:51:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:51:37 ---> 8f69c11f6b0c 05:51:37 Step 3/11 : ARG MAKE=make build 05:51:39 ---> Running in 350925dd138b 05:51:39 Removing intermediate container 350925dd138b 05:51:39 ---> edaad2676a65 05:51:39 Step 4/11 : WORKDIR /device-sdk-go 05:51:39 ---> Running in e036be09151b 05:51:39 Removing intermediate container e036be09151b 05:51:39 ---> 2538a53e982b 05:51:39 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:51:39 ---> Running in 9313bad74eb6 05:51:39 Removing intermediate container 9313bad74eb6 05:51:39 ---> 809d76d255b2 05:51:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:51:39 ---> Running in 3b1d1640a11d 05:51:40 Removing intermediate container 3b1d1640a11d 05:51:40 ---> c55d36cd4bdd 05:51:40 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:51:40 ---> Running in 74e00769b4ee 05:51:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:51:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:51:41 OK: 221 MiB in 52 packages 05:51:42 Removing intermediate container 74e00769b4ee 05:51:42 ---> d60c1071ae85 05:51:42 Step 8/11 : COPY go.mod vendor* ./ 05:51:42 ---> ac4f807beb2d 05:51:42 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:51:42 ---> Running in ab27cd2ff0fc 05:51:42 Still waiting to schedule task 05:51:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:52:00 Removing intermediate container ab27cd2ff0fc 05:52:00 ---> 166fc3633cdc 05:52:00 Step 10/11 : COPY . . 05:52:00 ---> b404d5e07758 05:52:00 Step 11/11 : RUN ${MAKE} 05:52:00 ---> Running in f78a39915813 05:52:00 noop 05:52:00 Removing intermediate container f78a39915813 05:52:00 ---> 0484e2cb13c5 05:52:00 Successfully built 0484e2cb13c5 05:52:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:00 + docker inspect -f . ci-base-image-x86_64 05:52:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:00 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 05:52:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:52:01 $ docker top 97f60ba0110f99f5bbe753152b481cfdbb400a2f6cd571c5e7faa5bce1fb623e -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:01 + go version 05:52:01 go version go1.17.7 linux/amd64 [Pipeline] } 05:52:01 $ docker stop --time=1 97f60ba0110f99f5bbe753152b481cfdbb400a2f6cd571c5e7faa5bce1fb623e 05:52:02 $ docker rm -f 97f60ba0110f99f5bbe753152b481cfdbb400a2f6cd571c5e7faa5bce1fb623e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:03 + docker inspect -f . ci-base-image-x86_64 05:52:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:52:03 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 05:52:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:52:03 $ docker top 490e0ca1d4228ab1e9038a12ce9e9b8eb466c2e8ccb240d8778ec93e69cccdfb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:52:04 + make test 05:52:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:52:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.090s coverage: 23.7% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.062s coverage: 10.8% of statements 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.114s coverage: 60.0% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.093s coverage: 34.8% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 85.4% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.788s coverage: 89.2% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:52:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 05:52:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:52:41 GO111MODULE=on go vet ./... 05:52:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:52:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:52:42 ./bin/test-attribution-txt.sh [Pipeline] echo 05:52:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:52:43 $ docker stop --time=1 490e0ca1d4228ab1e9038a12ce9e9b8eb466c2e8ccb240d8778ec93e69cccdfb 05:52:45 $ docker rm -f 490e0ca1d4228ab1e9038a12ce9e9b8eb466c2e8ccb240d8778ec93e69cccdfb [Pipeline] // withDockerContainer [Pipeline] sh 05:52:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:52:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:52:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:52:47 + ls -al . 05:52:47 total 304 05:52:47 drwxrwxr-x 11 jenkins jenkins 4096 Jun 24 05:52 . 05:52:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 05:51 .. 05:52:47 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 05:51 .dockerignore 05:52:47 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 05:51 .git 05:52:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 05:51 .github 05:52:47 -rw-rw-r-- 1 jenkins jenkins 131 Jun 24 05:51 .gitignore 05:52:47 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 05:51 .golangci.yml 05:52:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 05:51 .semver 05:52:47 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 24 05:51 CHANGELOG.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 05:51 GOVERNANCE.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 880 Jun 24 05:51 Jenkinsfile 05:52:47 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 05:51 LICENSE 05:52:47 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 24 05:51 Makefile 05:52:47 -rw-rw-r-- 1 jenkins jenkins 619 Jun 24 05:51 OWNERS.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 24 05:51 README.md 05:52:47 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 05:51 VERSION 05:52:47 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 05:51 bin 05:52:47 -rw-r--r-- 1 jenkins jenkins 131190 Jun 24 05:52 coverage.out 05:52:47 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 05:51 example 05:52:47 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 24 05:51 go.mod 05:52:47 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 24 05:51 go.sum 05:52:47 drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 05:51 internal 05:52:47 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 05:51 openapi 05:52:47 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 05:51 pkg 05:52:47 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 05:51 snap 05:52:47 -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 05:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:52:47 + 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=387354420b6c024391aeac33674ce5c69e12b92e --label arch=amd64 --label version=2.2.1-dev.10 . 05:52:47 Sending build context to Docker daemon 9.798MB 05:52:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:52:47 Step 2/25 : FROM ${BASE} AS builder 05:52:47 ---> 0484e2cb13c5 05:52:47 Step 3/25 : ARG MAKE=make build 05:52:47 ---> Running in da1297a913f1 05:52:47 Removing intermediate container da1297a913f1 05:52:47 ---> 07682dc9ea95 05:52:47 Step 4/25 : WORKDIR /device-sdk-go 05:52:47 ---> Running in 72b5a29b7d7a 05:52:47 Removing intermediate container 72b5a29b7d7a 05:52:47 ---> 3bc011c2ffdb 05:52:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:52:47 ---> Running in fb1f74fa094b 05:52:47 Removing intermediate container fb1f74fa094b 05:52:47 ---> 90cc2de01ed9 05:52:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:52:47 ---> Running in 8d23688c5d9e 05:52:48 Removing intermediate container 8d23688c5d9e 05:52:48 ---> 4df1e4304c86 05:52:48 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:52:48 ---> Running in 1ca72abfd653 05:52:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:52:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:52:49 OK: 221 MiB in 52 packages 05:52:50 Removing intermediate container 1ca72abfd653 05:52:50 ---> 0b588670da59 05:52:50 Step 8/25 : COPY go.mod vendor* ./ 05:52:50 ---> d5e104d4bd33 05:52:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:52:50 ---> Running in 555173973dcb 05:52:51 Removing intermediate container 555173973dcb 05:52:51 ---> bc047dbc7644 05:52:51 Step 10/25 : COPY . . 05:52:51 ---> a44b71b6d2ef 05:52:51 Step 11/25 : RUN ${MAKE} 05:52:51 ---> Running in 52f780d65774 05:52:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:53:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:53:11 Removing intermediate container 52f780d65774 05:53:11 ---> 3fdc71cfa5c6 05:53:11 Step 12/25 : FROM alpine:3.14 05:53:12 3.14: Pulling from library/alpine 05:53:12 8663204ce13b: Pulling fs layer 05:53:12 8663204ce13b: Verifying Checksum 05:53:12 8663204ce13b: Download complete 05:53:12 8663204ce13b: Pull complete 05:53:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:53:12 Status: Downloaded newer image for alpine:3.14 05:53:12 ---> e04c818066af 05:53:12 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:53:12 ---> Running in 02d8dab7c00a 05:53:12 Removing intermediate container 02d8dab7c00a 05:53:12 ---> 536a198ad053 05:53:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:53:12 ---> Running in d6a3722a37fb 05:53:13 Removing intermediate container d6a3722a37fb 05:53:13 ---> a6d5d6f7726b 05:53:13 Step 15/25 : RUN apk add --update --no-cache zeromq 05:53:13 ---> Running in 999cc7d89c70 05:53:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:53:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:53:14 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:53:14 (2/5) Installing libsodium (1.0.18-r0) 05:53:15 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:53:15 (4/5) Installing libzmq (4.3.4-r0) 05:53:15 (5/5) Installing zeromq (4.3.4-r0) 05:53:15 Executing busybox-1.33.1-r7.trigger 05:53:15 OK: 8 MiB in 19 packages 05:53:15 Removing intermediate container 999cc7d89c70 05:53:15 ---> 6c237fa3d417 05:53:15 Step 16/25 : WORKDIR / 05:53:16 ---> Running in 8da0e6e59a50 05:53:16 Removing intermediate container 8da0e6e59a50 05:53:16 ---> a0a3a14e5e9c 05:53:16 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:53:16 ---> 081284e52e47 05:53:16 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:53:16 ---> e432da51e84e 05:53:16 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:53:16 ---> 0edd747d9e61 05:53:16 Step 20/25 : EXPOSE 59999 05:53:16 ---> Running in 9d5b29497790 05:53:17 Removing intermediate container 9d5b29497790 05:53:17 ---> 5356af32a8fe 05:53:17 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:53:17 ---> Running in 7bcd9a7db8e2 05:53:17 Removing intermediate container 7bcd9a7db8e2 05:53:17 ---> 13272c594c0a 05:53:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:53:17 ---> Running in 8a7c3c9c639d 05:53:17 Removing intermediate container 8a7c3c9c639d 05:53:17 ---> 827f79a3d8fc 05:53:17 Step 23/25 : LABEL arch=amd64 05:53:17 ---> Running in fd984ca38fe4 05:53:17 Removing intermediate container fd984ca38fe4 05:53:17 ---> e362589d0c66 05:53:17 Step 24/25 : LABEL git_sha=387354420b6c024391aeac33674ce5c69e12b92e 05:53:17 ---> Running in 840353f2157e 05:53:17 Removing intermediate container 840353f2157e 05:53:17 ---> 4c82379005fb 05:53:17 Step 25/25 : LABEL version=2.2.1-dev.10 05:53:17 ---> Running in 6267455d5290 05:53:17 Removing intermediate container 6267455d5290 05:53:17 ---> 4d673f591644 05:53:17 [Warning] One or more build-args [ARCH] were not consumed 05:53:17 Successfully built 4d673f591644 05:53:17 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:18 05:53:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:18 latest: Pulling from edgex-lftools-log-publisher 05:53:18 5eb5b503b376: Pulling fs layer 05:53:18 5c69ac0246d0: Pulling fs layer 05:53:18 ec43610c2a17: Pulling fs layer 05:53:18 3a2ae6a8a46f: Pulling fs layer 05:53:18 33b1e0a273af: Pulling fs layer 05:53:18 5d3b04190fa2: Pulling fs layer 05:53:18 2f39f015ded8: Pulling fs layer 05:53:18 33b1e0a273af: Waiting 05:53:18 5d3b04190fa2: Waiting 05:53:18 2f39f015ded8: Waiting 05:53:18 3a2ae6a8a46f: Waiting 05:53:18 5c69ac0246d0: Download complete 05:53:18 3a2ae6a8a46f: Verifying Checksum 05:53:18 3a2ae6a8a46f: Download complete 05:53:18 ec43610c2a17: Verifying Checksum 05:53:18 ec43610c2a17: Download complete 05:53:18 33b1e0a273af: Verifying Checksum 05:53:18 33b1e0a273af: Download complete 05:53:18 5d3b04190fa2: Verifying Checksum 05:53:18 5d3b04190fa2: Download complete 05:53:18 5eb5b503b376: Verifying Checksum 05:53:18 5eb5b503b376: Download complete 05:53:19 2f39f015ded8: Download complete 05:53:19 5eb5b503b376: Pull complete 05:53:20 5c69ac0246d0: Pull complete 05:53:20 ec43610c2a17: Pull complete 05:53:20 3a2ae6a8a46f: Pull complete 05:53:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15516 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:53:20 Running in /w/workspace/device-sdk-go/85 [Pipeline] { [Pipeline] checkout 05:53:20 The recommended git tool is: git 05:53:20 33b1e0a273af: Pull complete 05:53:20 5d3b04190fa2: Pull complete 05:53:26 using credential edgex-jenkins-ssh 05:53:26 Cloning the remote Git repository 05:53:26 2f39f015ded8: Pull complete 05:53:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:53:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:53:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:53:26 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 05:53:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:53:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:53:26 > git init /w/workspace/device-sdk-go/85 # timeout=10 05:53:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:53:26 > git --version # timeout=10 05:53:26 > git --version # 'git version 2.25.1' 05:53:26 using GIT_SSH to set credentials SSH Credentials for GitHub 05:53:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:27 Avoid second fetch 05:53:27 Checking out Revision 387354420b6c024391aeac33674ce5c69e12b92e (main) 05:53:28 $ docker top 2ef70573e04b00ed8da762157e11b94d11ff7074d9014999798714711e245056 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:53:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:53:27 > git config core.sparsecheckout # timeout=10 05:53:27 > git checkout -f 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 05:53:28 ---> job-cost.sh 05:53:28 lf-activate-venv: SKIPPING 05:53:28 INFO: No Stack... 05:53:28 INFO: Retrieving Pricing Info for: v3-standard-8 05:53:29 INFO: Archiving Costs [Pipeline] sh 05:53:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:53:29 + cut -d, -f6 [Pipeline] lock 05:53:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] 05:53:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] did not exist. Created. 05:53:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:53:30 + echo total: 0.2199999988079071 [Pipeline] stash 05:53:30 Stashed 1 file(s) [Pipeline] } 05:53:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } 05:53:30 $ docker stop --time=1 2ef70573e04b00ed8da762157e11b94d11ff7074d9014999798714711e245056 05:53:31 $ docker rm -f 2ef70573e04b00ed8da762157e11b94d11ff7074d9014999798714711e245056 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:53:32 Commit message: "Merge pull request #1184 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:53:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:53:32 % Total % Received % Xferd Average Speed Time Time Time Current 05:53:32 Dload Upload Total Spent Left Speed 05:53:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 05:53:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:53:33 + + sudo teesudo /etc/docker/daemon.new jq 05:53:33 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:53:33 { 05:53:33 "registry-mirrors": [ 05:53:33 "https://nexus3.edgexfoundry.org:10001" 05:53:33 ], 05:53:33 "bip": "10.250.0.254/24", 05:53:33 "hosts": [ 05:53:33 "tcp://0.0.0.0:5555", 05:53:33 "unix:///var/run/docker.sock" 05:53:33 ], 05:53:33 "mtu": 1458, 05:53:33 "selinux-enabled": true, 05:53:33 "seccomp-profile": "/etc/docker/seccomp.json" 05:53:33 } [Pipeline] sh 05:53:34 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:53:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:53:52 provisioning config files... 05:53:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/85@tmp/config1623435101398592821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:53:53 ---> docker-login.sh 05:53:53 nexus3.edgexfoundry.org:10001 05:53:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 nexus3.edgexfoundry.org:10002 05:53:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:54 Configure a credential helper to remove this warning. See 05:53:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:54 05:53:54 Login Succeeded 05:53:54 nexus3.edgexfoundry.org:10003 05:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:55 Configure a credential helper to remove this warning. See 05:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:55 05:53:55 Login Succeeded 05:53:55 nexus3.edgexfoundry.org:10004 05:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:55 Configure a credential helper to remove this warning. See 05:53:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:55 05:53:55 Login Succeeded 05:53:55 docker.io 05:53:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:53:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:53:56 Configure a credential helper to remove this warning. See 05:53:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:53:56 05:53:56 Login Succeeded 05:53:56 ---> docker-login.sh ends [Pipeline] } 05:53:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:53:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:53:57 ========================================================= 05:53:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:53:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:53:57 + 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 . 05:53:57 Sending build context to Docker daemon 5.175MB 05:53:57 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:53:57 Step 2/11 : FROM ${BASE} AS builder 05:53:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:53:57 9b3977197b4f: Pulling fs layer 05:53:57 1a89e8eeedd5: Pulling fs layer 05:53:57 94645a83ff95: Pulling fs layer 05:53:57 e6fb740bc735: Pulling fs layer 05:53:57 3a77bd46dcc9: Pulling fs layer 05:53:57 355e64cbe906: Pulling fs layer 05:53:57 63ab81a10011: Pulling fs layer 05:53:57 555d1d1c4555: Pulling fs layer 05:53:57 7d9057610161: Pulling fs layer 05:53:57 e6fb740bc735: Waiting 05:53:57 3a77bd46dcc9: Waiting 05:53:57 355e64cbe906: Waiting 05:53:57 63ab81a10011: Waiting 05:53:57 7d9057610161: Waiting 05:53:57 555d1d1c4555: Waiting 05:53:57 94645a83ff95: Verifying Checksum 05:53:57 94645a83ff95: Download complete 05:53:57 1a89e8eeedd5: Download complete 05:53:57 3a77bd46dcc9: Verifying Checksum 05:53:57 3a77bd46dcc9: Download complete 05:53:57 355e64cbe906: Verifying Checksum 05:53:57 355e64cbe906: Download complete 05:53:57 9b3977197b4f: Verifying Checksum 05:53:58 63ab81a10011: Verifying Checksum 05:53:58 63ab81a10011: Download complete 05:53:59 9b3977197b4f: Pull complete 05:53:59 7d9057610161: Verifying Checksum 05:53:59 7d9057610161: Download complete 05:53:59 1a89e8eeedd5: Pull complete 05:53:59 94645a83ff95: Pull complete 05:54:00 555d1d1c4555: Verifying Checksum 05:54:00 555d1d1c4555: Download complete 05:54:00 e6fb740bc735: Verifying Checksum 05:54:00 e6fb740bc735: Download complete 05:54:13 e6fb740bc735: Pull complete 05:54:13 3a77bd46dcc9: Pull complete 05:54:13 355e64cbe906: Pull complete 05:54:13 63ab81a10011: Pull complete 05:54:20 555d1d1c4555: Pull complete 05:54:22 7d9057610161: Pull complete 05:54:22 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 05:54:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:54:22 ---> 819e984ddca1 05:54:22 Step 3/11 : ARG MAKE=make build 05:54:23 ---> Running in 438a25b3c109 05:54:23 Removing intermediate container 438a25b3c109 05:54:23 ---> ec183c01df41 05:54:23 Step 4/11 : WORKDIR /device-sdk-go 05:54:23 ---> Running in 5fe3d3dd3011 05:54:24 Removing intermediate container 5fe3d3dd3011 05:54:24 ---> 048df584a5a1 05:54:24 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:54:24 ---> Running in 3d86a4b0894d 05:54:24 Removing intermediate container 3d86a4b0894d 05:54:24 ---> e925c6d55183 05:54:24 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:54:24 ---> Running in 60a9ee554e23 05:54:27 Removing intermediate container 60a9ee554e23 05:54:27 ---> 053bc7091085 05:54:27 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:54:27 ---> Running in 8e121aaf887b 05:54:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:54:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:54:29 OK: 220 MiB in 52 packages 05:54:30 Removing intermediate container 8e121aaf887b 05:54:30 ---> 721dbfbb0636 05:54:30 Step 8/11 : COPY go.mod vendor* ./ 05:54:30 ---> 9849a55ec349 05:54:30 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:54:30 ---> Running in 667ed0bb4c13 05:54:43 go mod download: google.golang.org/genproto@v0.0.0-20211208223120-3a66f561d7aa: Get "https://storage.googleapis.com/proxy-golang-org-prod/d4ad4128e8196cf6-google.golang.org:genproto-v0.0.0-20211208223120-3a66f561d7aa.zip?Expires=1656136307&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=HsPVwqt1nK9qNx0cSkNVkn4XE%2B7hxJTdWQwoKWVMsgpXc3xkuzEAe7edX08xTeEVYirpfTPNOV6H3eA0I0eMiEs7mb0K4r%2Fqi4lHejRw4FaKqOtSAFwrk0bPJt2%2F6A9B8uDuHYOCjRl645bBGtiC7z55gxgGutxcyAtM24J1y%2F1MskfYAg60a0VZ%2BfuDSxyqA2Hy17sGPOg5ViBSt0PJT7Wl%2Frcs4BnW87J7yxDtKDQir%2F5zNdbTJZ6Olu9pjfYzg%2Fl5%2BCbwzMKo2DdHrXnxgdnRA02T8F4pn%2Ba3m%2FovD2kQhvSBZh3izcaw5vXMAMH0uSIpU2hTMDohQM97TGV5kg%3D%3D": dial tcp: lookup storage.googleapis.com on 10.30.120.3:53: server misbehaving 05:54:43 skipping... 05:55:10 Removing intermediate container 667ed0bb4c13 05:55:10 ---> 007b6c4f9d6c 05:55:10 Step 10/11 : COPY . . 05:55:10 ---> 70c050a312ef 05:55:10 Step 11/11 : RUN ${MAKE} 05:55:10 ---> Running in fdd3226e6d4e 05:55:10 noop 05:55:10 Removing intermediate container fdd3226e6d4e 05:55:10 ---> 7d5c8808c6c6 05:55:10 Successfully built 7d5c8808c6c6 05:55:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:10 + docker inspect -f . ci-base-image-arm64 05:55:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:10 prd-ubuntu20.04-docker-arm64-4c-16g-15516 does not seem to be running inside a container 05:55:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/85 -v /w/workspace/device-sdk-go/85:/w/workspace/device-sdk-go/85:rw,z -v /w/workspace/device-sdk-go/85@tmp:/w/workspace/device-sdk-go/85@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:55:12 $ docker top efcc53cc398f0a9bce5d37ed46c3e79f0232c49e0d916404cde489713dbd798d -eo pid,comm [Pipeline] { [Pipeline] sh 05:55:13 + go version 05:55:13 go version go1.17.7 linux/arm64 [Pipeline] } 05:55:13 $ docker stop --time=1 efcc53cc398f0a9bce5d37ed46c3e79f0232c49e0d916404cde489713dbd798d 05:55:14 $ docker rm -f efcc53cc398f0a9bce5d37ed46c3e79f0232c49e0d916404cde489713dbd798d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:55:15 + docker inspect -f . ci-base-image-arm64 05:55:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:55:15 prd-ubuntu20.04-docker-arm64-4c-16g-15516 does not seem to be running inside a container 05:55:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/85 -v /w/workspace/device-sdk-go/85:/w/workspace/device-sdk-go/85:rw,z -v /w/workspace/device-sdk-go/85@tmp:/w/workspace/device-sdk-go/85@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:55:17 $ docker top 218fd5f8eeb5266f3b430934ff54178f43f475a590e619595c1acc4fe18ac3f9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:55:17 + make test 05:55:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:55:18 go: downloading google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa 05:55:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:57:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.389s coverage: 23.7% of statements 05:57:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.231s coverage: 27.6% of statements 05:57:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.319s coverage: 78.9% of statements 05:57:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.250s coverage: 10.8% of statements 05:57:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.409s coverage: 60.0% of statements 05:57:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:57:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.438s coverage: 34.8% of statements 05:57:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:57:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.291s coverage: 85.4% of statements 05:57:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.414s coverage: 65.1% of statements 05:57:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.160s coverage: 89.2% of statements 05:57:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:57:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.220s coverage: 4.7% of statements 05:57:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:57:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:57:48 GO111MODULE=on go vet ./... 05:59:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:59:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:59:10 ./bin/test-attribution-txt.sh [Pipeline] echo 05:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:59:11 $ docker stop --time=1 218fd5f8eeb5266f3b430934ff54178f43f475a590e619595c1acc4fe18ac3f9 05:59:13 $ docker rm -f 218fd5f8eeb5266f3b430934ff54178f43f475a590e619595c1acc4fe18ac3f9 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:59:14 Warning: overwriting stash ‘coverage-report’ 05:59:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:59:16 + ls -al . 05:59:16 total 300 05:59:16 drwxrwxr-x 10 jenkins jenkins 4096 Jun 24 05:59 . 05:59:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 05:53 .. 05:59:16 -rw-rw-r-- 1 jenkins jenkins 140 Jun 24 05:53 .dockerignore 05:59:16 drwxrwxr-x 8 jenkins jenkins 4096 Jun 24 05:53 .git 05:59:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 05:53 .github 05:59:16 -rw-rw-r-- 1 jenkins jenkins 131 Jun 24 05:53 .gitignore 05:59:16 -rw-rw-r-- 1 jenkins jenkins 42 Jun 24 05:53 .golangci.yml 05:59:16 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 24 05:53 CHANGELOG.md 05:59:16 -rw-rw-r-- 1 jenkins jenkins 677 Jun 24 05:53 GOVERNANCE.md 05:59:16 -rw-rw-r-- 1 jenkins jenkins 880 Jun 24 05:53 Jenkinsfile 05:59:16 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 24 05:53 LICENSE 05:59:16 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 24 05:53 Makefile 05:59:16 -rw-rw-r-- 1 jenkins jenkins 619 Jun 24 05:53 OWNERS.md 05:59:16 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 24 05:53 README.md 05:59:16 -rw-rw-r-- 1 jenkins jenkins 12 Jun 24 05:51 VERSION 05:59:16 drwxrwxr-x 2 jenkins jenkins 4096 Jun 24 05:53 bin 05:59:16 -rw-r--r-- 1 jenkins jenkins 131190 Jun 24 05:57 coverage.out 05:59:16 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 05:53 example 05:59:16 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 24 05:53 go.mod 05:59:16 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 24 05:53 go.sum 05:59:16 drwxrwxr-x 15 jenkins jenkins 4096 Jun 24 05:53 internal 05:59:16 drwxrwxr-x 3 jenkins jenkins 4096 Jun 24 05:53 openapi 05:59:16 drwxrwxr-x 5 jenkins jenkins 4096 Jun 24 05:53 pkg 05:59:16 drwxrwxr-x 4 jenkins jenkins 4096 Jun 24 05:53 snap 05:59:16 -rw-rw-r-- 1 jenkins jenkins 222 Jun 24 05:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:16 + 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=387354420b6c024391aeac33674ce5c69e12b92e --label arch=arm64 --label version=2.2.1-dev.10 . 05:59:17 Sending build context to Docker daemon 5.307MB 05:59:17 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:59:17 Step 2/25 : FROM ${BASE} AS builder 05:59:17 ---> 7d5c8808c6c6 05:59:17 Step 3/25 : ARG MAKE=make build 05:59:17 ---> Running in 7f9b72a07736 05:59:17 Removing intermediate container 7f9b72a07736 05:59:17 ---> 5c76717fbb27 05:59:17 Step 4/25 : WORKDIR /device-sdk-go 05:59:17 ---> Running in 623a078ddd4c 05:59:18 Removing intermediate container 623a078ddd4c 05:59:18 ---> f6c4d5b7801a 05:59:18 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:59:18 ---> Running in 6ed5428f14d9 05:59:18 Removing intermediate container 6ed5428f14d9 05:59:18 ---> 3ca1c0e9bbfe 05:59:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:59:18 ---> Running in 5c9dc62f4886 05:59:20 Removing intermediate container 5c9dc62f4886 05:59:20 ---> 943fe960dbc4 05:59:20 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:59:20 ---> Running in 87a1cb4db752 05:59:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:59:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:59:22 OK: 220 MiB in 52 packages 05:59:23 Removing intermediate container 87a1cb4db752 05:59:23 ---> 381d007f5ce0 05:59:23 Step 8/25 : COPY go.mod vendor* ./ 05:59:24 ---> f0733582eba8 05:59:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:24 ---> Running in 46adcd6e8539 05:59:36 Removing intermediate container 46adcd6e8539 05:59:36 ---> 01302fa5ae78 05:59:36 Step 10/25 : COPY . . 05:59:37 ---> ec1c4e3dcdfa 05:59:37 Step 11/25 : RUN ${MAKE} 05:59:37 ---> Running in 4992675f2679 05:59:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.10" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:01:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:01:33 Removing intermediate container 4992675f2679 06:01:33 ---> 6738cf436c08 06:01:33 Step 12/25 : FROM alpine:3.14 06:01:33 3.14: Pulling from library/alpine 06:01:33 455c02918c45: Pulling fs layer 06:01:34 455c02918c45: Verifying Checksum 06:01:34 455c02918c45: Download complete 06:01:34 455c02918c45: Pull complete 06:01:34 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:01:34 Status: Downloaded newer image for alpine:3.14 06:01:34 ---> ac73e934f311 06:01:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:01:34 ---> Running in 4c4793de03a1 06:01:35 Removing intermediate container 4c4793de03a1 06:01:35 ---> 91214cde33fa 06:01:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:01:35 ---> Running in 699c4733918b 06:01:37 Removing intermediate container 699c4733918b 06:01:37 ---> 7c5f807e9145 06:01:37 Step 15/25 : RUN apk add --update --no-cache zeromq 06:01:37 ---> Running in d8513f3c47cb 06:01:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:01:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:01:39 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:01:39 (2/5) Installing libsodium (1.0.18-r0) 06:01:39 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:01:39 (4/5) Installing libzmq (4.3.4-r0) 06:01:39 (5/5) Installing zeromq (4.3.4-r0) 06:01:39 Executing busybox-1.33.1-r7.trigger 06:01:39 OK: 8 MiB in 19 packages 06:01:40 Removing intermediate container d8513f3c47cb 06:01:40 ---> 03a3d6857133 06:01:40 Step 16/25 : WORKDIR / 06:01:40 ---> Running in bef4a2c07445 06:01:40 Removing intermediate container bef4a2c07445 06:01:40 ---> d3bcb75e17ca 06:01:40 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:01:41 ---> 915d6c76edd0 06:01:41 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:01:43 ---> 69905a4fe2c8 06:01:43 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:01:43 ---> 5a43322154bc 06:01:43 Step 20/25 : EXPOSE 59999 06:01:43 ---> Running in 78c3c84ba99c 06:01:43 Removing intermediate container 78c3c84ba99c 06:01:43 ---> 8d81f419a113 06:01:43 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:01:43 ---> Running in 2e8360e4badc 06:01:44 Removing intermediate container 2e8360e4badc 06:01:44 ---> 76991b80e6fc 06:01:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:01:44 ---> Running in 0927632421e4 06:01:44 Removing intermediate container 0927632421e4 06:01:44 ---> e04dc69b4b50 06:01:44 Step 23/25 : LABEL arch=arm64 06:01:44 ---> Running in a07ee569d80a 06:01:45 Removing intermediate container a07ee569d80a 06:01:45 ---> 3cbc3fc36dfc 06:01:45 Step 24/25 : LABEL git_sha=387354420b6c024391aeac33674ce5c69e12b92e 06:01:45 ---> Running in 8c5fab7fb82a 06:01:45 Removing intermediate container 8c5fab7fb82a 06:01:45 ---> e0f1bf9c70d5 06:01:45 Step 25/25 : LABEL version=2.2.1-dev.10 06:01:45 ---> Running in 9f3e74eca0ce 06:01:45 Removing intermediate container 9f3e74eca0ce 06:01:45 ---> 0fa125aa3812 06:01:45 [Warning] One or more build-args [ARCH] were not consumed 06:01:45 Successfully built 0fa125aa3812 06:01:45 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 06:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:01:46 06:01:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:01:46 arm64: Pulling from edgex-lftools-log-publisher 06:01:46 8998bd30e6a1: Pulling fs layer 06:01:46 04944245beec: Pulling fs layer 06:01:46 699f458cf7ca: Pulling fs layer 06:01:46 765212b225bb: Pulling fs layer 06:01:46 f23df028b6ca: Pulling fs layer 06:01:46 d65c8cfc05b1: Pulling fs layer 06:01:46 2437ff75d9bd: Pulling fs layer 06:01:46 765212b225bb: Waiting 06:01:46 f23df028b6ca: Waiting 06:01:46 d65c8cfc05b1: Waiting 06:01:46 2437ff75d9bd: Waiting 06:01:46 04944245beec: Verifying Checksum 06:01:46 04944245beec: Download complete 06:01:46 765212b225bb: Verifying Checksum 06:01:46 765212b225bb: Download complete 06:01:46 f23df028b6ca: Verifying Checksum 06:01:46 f23df028b6ca: Download complete 06:01:46 d65c8cfc05b1: Verifying Checksum 06:01:46 d65c8cfc05b1: Download complete 06:01:47 699f458cf7ca: Verifying Checksum 06:01:47 699f458cf7ca: Download complete 06:01:47 8998bd30e6a1: Verifying Checksum 06:01:47 8998bd30e6a1: Download complete 06:01:50 2437ff75d9bd: Verifying Checksum 06:01:50 2437ff75d9bd: Download complete 06:01:52 8998bd30e6a1: Pull complete 06:01:52 04944245beec: Pull complete 06:01:53 699f458cf7ca: Pull complete 06:01:53 765212b225bb: Pull complete 06:01:54 f23df028b6ca: Pull complete 06:01:55 d65c8cfc05b1: Pull complete 06:02:10 2437ff75d9bd: Pull complete 06:02:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:02:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:02:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:10 prd-ubuntu20.04-docker-arm64-4c-16g-15516 does not seem to be running inside a container 06:02:10 $ 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/85 -v /w/workspace/device-sdk-go/85:/w/workspace/device-sdk-go/85:rw,z -v /w/workspace/device-sdk-go/85@tmp:/w/workspace/device-sdk-go/85@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 06:02:12 $ docker top a24cd03572aa6a362116cd98a0a9387850d343907e87660143d21290405f389d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:13 ---> job-cost.sh 06:02:13 lf-activate-venv: SKIPPING 06:02:13 INFO: No Stack... 06:02:14 INFO: Retrieving Pricing Info for: v3-standard-4 06:02:15 INFO: Archiving Costs [Pipeline] sh 06:02:16 + + cut -d,cat -f6 /w/workspace/device-sdk-go/85/archives/cost.csv 06:02:16 [Pipeline] lock 06:02:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] 06:02:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] did not exist. Created. 06:02:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:16 /w/workspace/device-sdk-go/85@tmp/durable-d6a64d57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:02:17 + echo total: 0.10999999940395355 [Pipeline] stash 06:02:17 Warning: overwriting stash ‘stack-cost’ 06:02:17 Stashed 1 file(s) [Pipeline] } 06:02:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-85-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:17 $ docker stop --time=1 a24cd03572aa6a362116cd98a0a9387850d343907e87660143d21290405f389d 06:02:19 $ docker rm -f a24cd03572aa6a362116cd98a0a9387850d343907e87660143d21290405f389d [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 06:02:19 provisioning config files... 06:02:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4464983914779279486tmp [Pipeline] { [Pipeline] sh 06:02:20 + set +x 06:02:20 + curl -s https://codecov.io/bash 06:02:20 + bash -s -- 06:02:20 06:02:20 _____ _ 06:02:20 / ____| | | 06:02:20 | | ___ __| | ___ ___ _____ __ 06:02:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:02:20 | |___| (_) | (_| | __/ (_| (_) \ V / 06:02:20 \_____\___/ \__,_|\___|\___\___/ \_/ 06:02:20 Bash-1.0.6 06:02:20 06:02:20 06:02:20 ==> git version 2.25.1 found 06:02:20 ==> 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 06:02:20 Release-Date: 2020-01-08 06:02:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:02:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:02:20 ==> Jenkins CI detected. 06:02:20 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:02:20 project root: . 06:02:20 --> token set from env 06:02:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:02:20 ==> Running gcov in . (disable via -X gcov) 06:02:20 ==> Python coveragepy not found 06:02:20 ==> Searching for coverage reports in: 06:02:20 + . 06:02:20 -> Found 1 reports 06:02:20 ==> Detecting git/mercurial file structure 06:02:20 ==> Reading reports 06:02:20 + ./coverage.out bytes=131190 06:02:20 ==> Appending adjustments 06:02:20 https://docs.codecov.io/docs/fixing-reports 06:02:20 + Found adjustments 06:02:20 ==> Gzipping contents 06:02:20 20K /tmp/codecov.E7XIev.gz 06:02:20 ==> Uploading reports 06:02:20 url: https://codecov.io 06:02:20 query: branch=main&commit=387354420b6c024391aeac33674ce5c69e12b92e&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:02:20 -> Pinging Codecov 06:02:20 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=387354420b6c024391aeac33674ce5c69e12b92e&build=85&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F85%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:02:20 -> Uploading to 06:02:20 https://storage.googleapis.com/codecov/v4/raw/2022-06-24/7E55EF52A471D76F132DFD9A03CDDE97/387354420b6c024391aeac33674ce5c69e12b92e/fe87903d-30f7-4a5f-af18-176b822a5ffc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220624%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220624T060220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6fbedb5d8629c55602f9e86f14ed9bb12927da1ca2c65b70002024f6d1dbd5c 06:02:20 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:20 Dload Upload Total Spent Left Speed 06:02:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16869 0 0 100 16869 0 71177 --:--:-- --:--:-- --:--:-- 71177 06:02:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] } 06:02:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:02:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:02:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:02:21 06:02:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:02:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:02:22 df9b9388f04a: Pulling fs layer 06:02:22 52dc419b0ee2: Pulling fs layer 06:02:22 25bc292e5bac: Pulling fs layer 06:02:22 114826534d7a: Pulling fs layer 06:02:22 4657fd5d0bcf: Pulling fs layer 06:02:22 6ad1cebc031e: Pulling fs layer 06:02:22 8a3aa393b2d8: Pulling fs layer 06:02:22 4657fd5d0bcf: Waiting 06:02:22 6ad1cebc031e: Waiting 06:02:22 8a3aa393b2d8: Waiting 06:02:22 114826534d7a: Waiting 06:02:22 25bc292e5bac: Verifying Checksum 06:02:22 25bc292e5bac: Download complete 06:02:22 52dc419b0ee2: Verifying Checksum 06:02:22 52dc419b0ee2: Download complete 06:02:22 4657fd5d0bcf: Download complete 06:02:22 df9b9388f04a: Verifying Checksum 06:02:22 df9b9388f04a: Download complete 06:02:22 df9b9388f04a: Pull complete 06:02:22 6ad1cebc031e: Verifying Checksum 06:02:22 6ad1cebc031e: Download complete 06:02:22 52dc419b0ee2: Pull complete 06:02:22 25bc292e5bac: Pull complete 06:02:22 114826534d7a: Verifying Checksum 06:02:22 114826534d7a: Download complete 06:02:22 8a3aa393b2d8: Verifying Checksum 06:02:22 8a3aa393b2d8: Download complete 06:02:26 114826534d7a: Pull complete 06:02:26 4657fd5d0bcf: Pull complete 06:02:26 6ad1cebc031e: Pull complete 06:02:29 8a3aa393b2d8: Pull complete 06:02:29 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:02:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:02:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:29 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:02:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:02:31 $ docker top 57db4f25b9b0288ef3574cf36a3cec59739192325c0dad92fb7e8447f416bb6a -eo pid,comm [Pipeline] { [Pipeline] echo 06:02:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:02:31 + set -o pipefail 06:02:31 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:02:37 06:02:37 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 06:02:37 06:02:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/32b74aa2-c8a5-42ad-a949-8b6658c916cb 06:02:37 06:02:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:02:37 06:02:37 06:02:37 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 06:02:37 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:02:37 $ docker stop --time=1 57db4f25b9b0288ef3574cf36a3cec59739192325c0dad92fb7e8447f416bb6a 06:02:39 $ docker rm -f 57db4f25b9b0288ef3574cf36a3cec59739192325c0dad92fb7e8447f416bb6a [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 06:02:40 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:02:40 provisioning config files... 06:02:40 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6806151430959770679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:40 --> edgex-publish-swagger.sh 06:02:40 === Publish openapi/v2 API === 06:02:40 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:02:40 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:02:40 % Total % Received % Xferd Average Speed Time Time Time Current 06:02:40 Dload Upload Total Spent Left Speed 06:02:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 80772 --:--:-- --:--:-- --:--:-- 80650 100 53552 0 0 100 53552 0 80772 --:--:-- --:--:-- --:--:-- 80650 06:02:40 06:02:40 [Pipeline] } 06:02:40 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 06:02:41 + git log --format=format:%s -1 387354420b6c024391aeac33674ce5c69e12b92e [Pipeline] sh 06:02:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:02:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:41 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:02:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:02:42 $ docker top b05e64cec1da160d60966377c58d3495e245c1d7ce8ff8a640f5da0f2a71c8e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:02:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:02:42 [ssh-agent] Looking for ssh-agent implementation... 06:02:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:02:42 $ docker exec b05e64cec1da160d60966377c58d3495e245c1d7ce8ff8a640f5da0f2a71c8e1 ssh-agent 06:02:42 SSH_AUTH_SOCK=/tmp/ssh-tkBibgkTxwcx/agent.33 06:02:42 SSH_AGENT_PID=39 06:02:42 Running ssh-add (command line suppressed) 06:02:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_397445183141913258.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_397445183141913258.key) 06:02:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:02:43 + git semver tag 06:02:43 2022-06-24 06:02:43,330 [run_tag] DEBUG tag force:False 06:02:43 2022-06-24 06:02:43,330 [check_head_tag] DEBUG check head tag 06:02:43 2022-06-24 06:02:43,331 [execute] INFO git cat-file --batch-check 06:02:43 2022-06-24 06:02:43,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:02:43 2022-06-24 06:02:43,334 [execute] INFO git cat-file --batch 06:02:43 2022-06-24 06:02:43,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:02:43 2022-06-24 06:02:43,341 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:02:43 2022-06-24 06:02:43,342 [execute] INFO git tag -a v2.2.1-dev.10 -m v2.2.1-dev.10 06:02:43 2022-06-24 06:02:43,342 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.10', '-m', 'v2.2.1-dev.10'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:02:43 2022-06-24 06:02:43,346 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:02:43 2.2.1-dev.10 [Pipeline] } 06:02:43 $ docker exec --env ******** --env ******** b05e64cec1da160d60966377c58d3495e245c1d7ce8ff8a640f5da0f2a71c8e1 ssh-agent -k 06:02:43 unset SSH_AUTH_SOCK; 06:02:43 unset SSH_AGENT_PID; 06:02:43 echo Agent pid 39 killed; 06:02:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:02:43 + git semver [Pipeline] } 06:02:44 $ docker stop --time=1 b05e64cec1da160d60966377c58d3495e245c1d7ce8ff8a640f5da0f2a71c8e1 06:02:45 $ docker rm -f b05e64cec1da160d60966377c58d3495e245c1d7ce8ff8a640f5da0f2a71c8e1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:02:45 06:02:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:02:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:02:46 0.23.1-centos7: Pulling from edgex-lftools 06:02:46 ab5ef0e58194: Pulling fs layer 06:02:46 9712f1f96733: Pulling fs layer 06:02:46 63f879dbbcfc: Pulling fs layer 06:02:46 0d9ebad4ef96: Pulling fs layer 06:02:46 e9a5061849ea: Pulling fs layer 06:02:46 d747dcd14b5f: Pulling fs layer 06:02:46 2de7ff778b66: Pulling fs layer 06:02:46 0d9ebad4ef96: Waiting 06:02:46 e9a5061849ea: Waiting 06:02:46 d747dcd14b5f: Waiting 06:02:46 2de7ff778b66: Waiting 06:02:46 9712f1f96733: Download complete 06:02:46 63f879dbbcfc: Verifying Checksum 06:02:46 63f879dbbcfc: Download complete 06:02:46 e9a5061849ea: Verifying Checksum 06:02:46 e9a5061849ea: Download complete 06:02:46 d747dcd14b5f: Verifying Checksum 06:02:46 d747dcd14b5f: Download complete 06:02:46 ab5ef0e58194: Verifying Checksum 06:02:46 ab5ef0e58194: Download complete 06:02:46 0d9ebad4ef96: Verifying Checksum 06:02:46 0d9ebad4ef96: Download complete 06:02:46 2de7ff778b66: Verifying Checksum 06:02:46 2de7ff778b66: Download complete 06:02:49 ab5ef0e58194: Pull complete 06:02:49 9712f1f96733: Pull complete 06:02:50 63f879dbbcfc: Pull complete 06:02:54 0d9ebad4ef96: Pull complete 06:02:54 e9a5061849ea: Pull complete 06:02:54 d747dcd14b5f: Pull complete 06:02:54 2de7ff778b66: Pull complete 06:02:54 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:02:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:02:54 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:54 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:02: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:02:57 $ docker top bea677d0a481c4839256c0e975d8d61806e061c0dbea004bdd50e711c857641b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:02:57 provisioning config files... 06:02:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3956769814164801435tmp 06:02:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6531876403211835256tmp 06:02:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1684541562531389856tmp [Pipeline] { [Pipeline] echo 06:02:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:02:57 ---> sigul-configuration.sh 06:02:57 gpg: directory `/root/.gnupg' created 06:02:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:02:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:02:57 gpg: keyring `/root/.gnupg/secring.gpg' created 06:02:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:02:57 gpg: CAST5 encrypted data 06:02:57 gpg: encrypted with 1 passphrase 06:02:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:02:58 + mkdir /home/jenkins 06:02:58 + mkdir /home/jenkins/sigul [Pipeline] sh 06:02:58 + 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 06:02:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:02:58 ---> sigul-install.sh 06:02:58 Sigul already installed; skipping installation. [Pipeline] sh 06:02:58 + git tag --list 06:02:58 0.7.1 06:02:58 delhi-tag 06:02:58 v1.0.0 06:02:58 v1.1.0 06:02:58 v1.1.1 06:02:58 v1.1.2 06:02:58 v1.2.0 06:02:58 v1.2.1 06:02:58 v1.2.2 06:02:58 v1.2.3 06:02:58 v1.3.0 06:02:58 v1.4.0 06:02:58 v2.0.0 06:02:58 v2.1.0 06:02:58 v2.1.1 06:02:58 v2.1.1-dev.2 06:02:58 v2.1.1-dev.3 06:02:58 v2.2.0 06:02:58 v2.2.1-dev.1 06:02:58 v2.2.1-dev.10 06:02:58 v2.2.1-dev.2 06:02:58 v2.2.1-dev.3 06:02:58 v2.2.1-dev.4 06:02:58 v2.2.1-dev.5 06:02:58 v2.2.1-dev.6 06:02:58 v2.2.1-dev.7 06:02:58 v2.2.1-dev.8 06:02:58 v2.2.1-dev.9 [Pipeline] sh 06:02:59 + lftools sign git-tag v2.2.1-dev.10 06:02:59 Signing Git tag with Sigul... 06:02:59 Signing v2.2.1-dev.10 [Pipeline] echo 06:03:00 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:03:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:03:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:03:00 $ docker stop --time=1 bea677d0a481c4839256c0e975d8d61806e061c0dbea004bdd50e711c857641b 06:03:01 $ docker rm -f bea677d0a481c4839256c0e975d8d61806e061c0dbea004bdd50e711c857641b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:03:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:02 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:03:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:03:02 $ docker top 50a5f17d331da8150eb5a9c965645678e211844daa03b59c228b9965032819c6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:03 [ssh-agent] Looking for ssh-agent implementation... 06:03:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:03 $ docker exec 50a5f17d331da8150eb5a9c965645678e211844daa03b59c228b9965032819c6 ssh-agent 06:03:03 SSH_AUTH_SOCK=/tmp/ssh-QH8t76tPH8pQ/agent.33 06:03:03 SSH_AGENT_PID=39 06:03:03 Running ssh-add (command line suppressed) 06:03:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2461919349108834708.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2461919349108834708.key) 06:03:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:03 + git semver bump pre 06:03:04 2022-06-24 06:03:03,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:03:04 2022-06-24 06:03:03,934 [bump_version] DEBUG bumping version:2.2.1-dev.10 on axis:pre with prefix:dev 06:03:04 2022-06-24 06:03:03,934 [bump_version] DEBUG bumped version:2.2.1-dev.11 06:03:04 2022-06-24 06:03:03,934 [write_version] DEBUG write version:2.2.1-dev.11 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:03:04 2022-06-24 06:03:03,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:03:04 2022-06-24 06:03:03,934 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:03:04 2022-06-24 06:03:03,938 [execute] INFO git cat-file --batch-check 06:03:04 2022-06-24 06:03:03,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:03:04 2022-06-24 06:03:03,944 [execute] INFO git cat-file --batch 06:03:04 2022-06-24 06:03:03,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:03:04 2022-06-24 06:03:03,949 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:03:04 2.2.1-dev.11 [Pipeline] } 06:03:04 $ docker exec --env ******** --env ******** 50a5f17d331da8150eb5a9c965645678e211844daa03b59c228b9965032819c6 ssh-agent -k 06:03:04 unset SSH_AUTH_SOCK; 06:03:04 unset SSH_AGENT_PID; 06:03:04 echo Agent pid 39 killed; 06:03:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:04 + git semver [Pipeline] } 06:03:04 $ docker stop --time=1 50a5f17d331da8150eb5a9c965645678e211844daa03b59c228b9965032819c6 06:03:06 $ docker rm -f 50a5f17d331da8150eb5a9c965645678e211844daa03b59c228b9965032819c6 [Pipeline] // withDockerContainer [Pipeline] sh 06:03:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:03:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:06 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:03:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:03:07 $ docker top d94581a5b95d045be944fcab7b235ccaf783784763b371280955d3ff056301e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:03:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:03:07 [ssh-agent] Looking for ssh-agent implementation... 06:03:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:03:07 $ docker exec d94581a5b95d045be944fcab7b235ccaf783784763b371280955d3ff056301e7 ssh-agent 06:03:07 SSH_AUTH_SOCK=/tmp/ssh-nJKVbY43RiOP/agent.33 06:03:07 SSH_AGENT_PID=39 06:03:07 Running ssh-add (command line suppressed) 06:03:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7032809564226287004.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7032809564226287004.key) 06:03:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:03:07 + git semver push 06:03:08 2022-06-24 06:03:08,104 [run_push] DEBUG push 06:03:08 2022-06-24 06:03:08,105 [execute] INFO git cat-file --batch-check 06:03:08 2022-06-24 06:03:08,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:03:08 2022-06-24 06:03:08,109 [execute] INFO git rev-list c2bac68a2cad8270dc78d370bb01c6f9055fc8ee -- 06:03:08 2022-06-24 06:03:08,109 [execute] DEBUG Popen(['git', 'rev-list', 'c2bac68a2cad8270dc78d370bb01c6f9055fc8ee', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:03:08 2022-06-24 06:03:08,119 [execute] INFO git fetch -v origin 06:03:08 2022-06-24 06:03:08,120 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:03:08 2022-06-24 06:03:08,600 [run_push] DEBUG no remote changes detected 06:03:08 2022-06-24 06:03:08,600 [execute] INFO git push origin semver 06:03:08 2022-06-24 06:03:08,601 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:03:09 2022-06-24 06:03:09,440 [run_push] DEBUG push all version tags 06:03:09 2022-06-24 06:03:09,441 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:03:09 2022-06-24 06:03:09,441 [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) 06:03:10 2022-06-24 06:03:10,170 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:03:10 2.2.1-dev.11 [Pipeline] } 06:03:10 $ docker exec --env ******** --env ******** d94581a5b95d045be944fcab7b235ccaf783784763b371280955d3ff056301e7 ssh-agent -k 06:03:10 unset SSH_AUTH_SOCK; 06:03:10 unset SSH_AGENT_PID; 06:03:10 echo Agent pid 39 killed; 06:03:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:03:10 + git semver [Pipeline] } 06:03:10 $ docker stop --time=1 d94581a5b95d045be944fcab7b235ccaf783784763b371280955d3ff056301e7 06:03:12 $ docker rm -f d94581a5b95d045be944fcab7b235ccaf783784763b371280955d3ff056301e7 [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 06:03:12 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:03:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:03:12 total 16 06:03:12 drwxr-xr-x 3 root root 4096 Jun 24 05:53 . 06:03:12 drwxrwxr-x 12 jenkins jenkins 4096 Jun 24 06:02 .. 06:03:12 drwxr-xr-x 2 root root 4096 Jun 24 05:53 cost 06:03:12 -rw-r--r-- 1 root root 83 Jun 24 05:53 cost.csv 06:03:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:03:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:03:12 total 16 06:03:12 drwxr-xr-x 3 jenkins jenkins 4096 Jun 24 05:53 . 06:03:12 drwxrwxr-x 12 jenkins jenkins 4096 Jun 24 06:02 .. 06:03:12 drwxr-xr-x 2 jenkins jenkins 4096 Jun 24 05:53 cost 06:03:12 -rw-r--r-- 1 jenkins jenkins 83 Jun 24 05:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:03:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:03:14 ---> package-listing.sh 06:03:14 ++ tr '[:upper:]' '[:lower:]' 06:03:14 ++ facter osfamily 06:03:14 + OS_FAMILY=debian 06:03:14 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:03:14 + START_PACKAGES=/tmp/packages_start.txt 06:03:14 + END_PACKAGES=/tmp/packages_end.txt 06:03:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:03:14 + PACKAGES=/tmp/packages_start.txt 06:03:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:03:14 + PACKAGES=/tmp/packages_end.txt 06:03:14 + case "${OS_FAMILY}" in 06:03:14 + dpkg -l 06:03:14 + grep '^ii' 06:03:14 + '[' -f /tmp/packages_start.txt ']' 06:03:14 + '[' -f /tmp/packages_end.txt ']' 06:03:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:03:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:03:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:03:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:03:14 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 06:03:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:03:15 prd-ubuntu20.04-docker-8c-8g-15515 does not seem to be running inside a container 06:03:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:03:15 $ docker top b8e5e74458b75a159f800ba3a17b513fdd2bd159ac48430824bdbaff8e6a42fe -eo pid,comm [Pipeline] { [Pipeline] sh 06:03:15 + touch /tmp/pre-build-complete [Pipeline] sh 06:03:15 + mkdir -p /var/log/sysstat [Pipeline] sh 06:03:16 + ls /var/log/sa-host 06:03:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:16 provisioning config files... 06:03:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6236673093030441865tmp [Pipeline] { [Pipeline] echo 06:03:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:03:16 ---> create-netrc.sh [Pipeline] } 06:03:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:03:17 ---> python-tools-install.sh [Pipeline] echo 06:03:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:03:17 ---> sudo-logs.sh 06:03:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:03:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:03:17 ---> job-cost.sh 06:03:17 lf-activate-venv: SKIPPING 06:03:17 DEBUG: total: 0.2199999988079071 06:03:17 INFO: Retrieving Stack Cost... 06:03:18 INFO: Retrieving Pricing Info for: v3-standard-8 06:03:18 INFO: Archiving Costs [Pipeline] echo 06:03:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:03:19 ---> logs-deploy.sh 06:03:19 lf-activate-venv: SKIPPING 06:03:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/85 06:03:19 INFO: archiving workspace using pattern(s): 06:03:20 Archives upload complete. 06:03:20 INFO: archiving logs to Nexus