Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37feea84d12508780716eef2708031ba6031fa53 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-ssh9623008460166115042.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-ssh3391859784694388930.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-ssh10555437394682294490.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-ssh13621974097402650420.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-ssh12783421096624946628.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-2539 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 Avoid second fetch Checking out Revision 37feea84d12508780716eef2708031ba6031fa53 (main) 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 > 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 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 Commit message: "Merge pull request #1177 from weichou1229/issue-1176" > git rev-list --no-walk f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:15:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:15:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:15:16 ========================================================= 06:15:16 EdgeX Global Pipelines Version Info 06:15:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:15:17 ------------------- 06:15:17 stable info: 06:15:17 ------------------- 06:15:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:15:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:15:17 Message: update stable to v1.0.234 06:15:17 ------------------- 06:15:17 experimental info: 06:15:17 ------------------- 06:15:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:15:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 06:15:17 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:15:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37feea8 [Pipeline] echo 06:15:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:18 provisioning config files... 06:15:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3014698266227999791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:18 ---> docker-login.sh 06:15:18 nexus3.edgexfoundry.org:10001 06:15:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:18 Configure a credential helper to remove this warning. See 06:15:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:18 06:15:18 Login Succeeded 06:15:18 nexus3.edgexfoundry.org:10002 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 nexus3.edgexfoundry.org:10003 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 nexus3.edgexfoundry.org:10004 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:19 Configure a credential helper to remove this warning. See 06:15:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:19 06:15:19 Login Succeeded 06:15:19 docker.io 06:15:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:20 Configure a credential helper to remove this warning. See 06:15:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:20 06:15:20 Login Succeeded 06:15:20 ---> docker-login.sh ends [Pipeline] } 06:15:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:15:20 + git rev-list -1 --merges 37feea84d12508780716eef2708031ba6031fa53~1..37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo 06:15:20 -----------> git rev-list -1 --merges 37feea84d12508780716eef2708031ba6031fa53~1..37feea84d12508780716eef2708031ba6031fa53 37feea84d12508780716eef2708031ba6031fa53 06:15:20 37feea84d12508780716eef2708031ba6031fa53 [false] [Pipeline] sh 06:15:20 + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo 06:15:20 ========================================================= 06:15:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:15:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:15:21 + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo 06:15:21 [semverPrep] GIT_COMMIT: 37feea84d12508780716eef2708031ba6031fa53, Commit Message: Merge pull request #1177 from weichou1229/issue-1176 [Pipeline] echo 06:15:21 [semverPrep] This is not a build commit. [Pipeline] sh 06:15:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:15:21 + grep -v github /etc/ssh/ssh_known_hosts 06:15:21 + [ -e /tmp/ssh_known_hosts ] 06:15:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:15:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:15:21 + sudo tee -a /etc/ssh/ssh_known_hosts 06:15:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:21 06:15:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:22 0.1.4: Pulling from edgex-devops/py-git-semver 06:15:22 42c077c10790: Pulling fs layer 06:15:22 f63e77b7563a: Pulling fs layer 06:15:22 bd5fdadae976: Pulling fs layer 06:15:22 205491f53016: Pulling fs layer 06:15:22 df18705c85c3: Pulling fs layer 06:15:22 bdb3f477010e: Pulling fs layer 06:15:22 c8a8fc8e1c8f: Pulling fs layer 06:15:22 2c6e9b1d212d: Pulling fs layer 06:15:22 bdb8f0575790: Pulling fs layer 06:15:22 386e3cb2ff24: Pulling fs layer 06:15:22 2343380bae48: Pulling fs layer 06:15:22 bdb8f0575790: Waiting 06:15:22 2c6e9b1d212d: Waiting 06:15:22 205491f53016: Waiting 06:15:22 c8a8fc8e1c8f: Waiting 06:15:22 df18705c85c3: Waiting 06:15:22 f63e77b7563a: Download complete 06:15:22 205491f53016: Download complete 06:15:22 df18705c85c3: Verifying Checksum 06:15:22 df18705c85c3: Download complete 06:15:22 bdb3f477010e: Verifying Checksum 06:15:22 bdb3f477010e: Download complete 06:15:22 bd5fdadae976: Verifying Checksum 06:15:22 bd5fdadae976: Download complete 06:15:22 2c6e9b1d212d: Download complete 06:15:22 bdb8f0575790: Verifying Checksum 06:15:22 bdb8f0575790: Download complete 06:15:22 386e3cb2ff24: Download complete 06:15:22 2343380bae48: Download complete 06:15:22 42c077c10790: Verifying Checksum 06:15:22 42c077c10790: Download complete 06:15:22 c8a8fc8e1c8f: Verifying Checksum 06:15:22 c8a8fc8e1c8f: Download complete 06:15:23 42c077c10790: Pull complete 06:15:23 f63e77b7563a: Pull complete 06:15:24 bd5fdadae976: Pull complete 06:15:24 205491f53016: Pull complete 06:15:24 df18705c85c3: Pull complete 06:15:24 bdb3f477010e: Pull complete 06:15:26 c8a8fc8e1c8f: Pull complete 06:15:26 2c6e9b1d212d: Pull complete 06:15:26 bdb8f0575790: Pull complete 06:15:26 386e3cb2ff24: Pull complete 06:15:26 2343380bae48: Pull complete 06:15:26 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 06:15:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:15:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:15:27 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:15:27 $ 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 06:15:28 $ docker top ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 -eo pid,comm 06:15:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:15:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:15:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:28 [ssh-agent] Looking for ssh-agent implementation... 06:15:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:28 $ docker exec ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent 06:15:28 SSH_AUTH_SOCK=/tmp/ssh-OtElZFCwXD5e/agent.32 06:15:28 SSH_AGENT_PID=40 06:15:28 Running ssh-add (command line suppressed) 06:15:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1176252393654892226.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1176252393654892226.key) 06:15:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:29 + git tag --points-at HEAD [Pipeline] } 06:15:29 $ docker exec --env ******** --env ******** ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent -k 06:15:29 unset SSH_AUTH_SOCK; 06:15:29 unset SSH_AGENT_PID; 06:15:29 echo Agent pid 40 killed; 06:15:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:15:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:15:29 [ssh-agent] Looking for ssh-agent implementation... 06:15:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:15:29 $ docker exec ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent 06:15:29 SSH_AUTH_SOCK=/tmp/ssh-v6GowhfUVk81/agent.74 06:15:29 SSH_AGENT_PID=81 06:15:29 Running ssh-add (command line suppressed) 06:15:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_179055577793938128.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_179055577793938128.key) 06:15:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:15:30 + git semver init 06:15:30 2022-06-17 06:15:30,457 [run_init] DEBUG init version:0.0.0 force:False 06:15:30 2022-06-17 06:15:30,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:15:30 2022-06-17 06:15:30,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:15:30 2022-06-17 06:15:30,459 [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) 06:15:31 2022-06-17 06:15:31,243 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:15:31 2022-06-17 06:15:31,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:15:31 2022-06-17 06:15:31,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:15:31 2022-06-17 06:15:31,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:15:31 2.2.1-dev.5 [Pipeline] } 06:15:31 $ docker exec --env ******** --env ******** ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent -k 06:15:31 unset SSH_AUTH_SOCK; 06:15:31 unset SSH_AGENT_PID; 06:15:31 echo Agent pid 81 killed; 06:15:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:15:31 + git semver [Pipeline] } 06:15:32 $ docker stop --time=1 ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 06:15:33 $ docker rm -f ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 [Pipeline] // withDockerContainer [Pipeline] sh 06:15:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:15:34 Stashed 1 file(s) [Pipeline] echo 06:15:34 [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:15:34 provisioning config files... 06:15:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7190149538043318904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:15:34 ---> docker-login.sh 06:15:34 nexus3.edgexfoundry.org:10001 06:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:34 Configure a credential helper to remove this warning. See 06:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:34 06:15:34 Login Succeeded 06:15:34 nexus3.edgexfoundry.org:10002 06:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:34 Configure a credential helper to remove this warning. See 06:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:34 06:15:34 Login Succeeded 06:15:34 nexus3.edgexfoundry.org:10003 06:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:34 Configure a credential helper to remove this warning. See 06:15:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:34 06:15:34 Login Succeeded 06:15:34 nexus3.edgexfoundry.org:10004 06:15:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 docker.io 06:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:15:35 Configure a credential helper to remove this warning. See 06:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:15:35 06:15:35 Login Succeeded 06:15:35 ---> docker-login.sh ends [Pipeline] } 06:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:15:35 ========================================================= 06:15:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:15:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:15:35 + 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 . 06:15:35 Sending build context to Docker daemon 9.711MB 06:15:35 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:15:35 Step 2/11 : FROM ${BASE} AS builder 06:15:35 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:15:35 59bf1c3509f3: Pulling fs layer 06:15:35 666ba61612fd: Pulling fs layer 06:15:35 8ed8ca486205: Pulling fs layer 06:15:35 cc1cd167ecdc: Pulling fs layer 06:15:35 c516ae0d96e1: Pulling fs layer 06:15:35 684cea983483: Pulling fs layer 06:15:35 dd3240ac7de5: Pulling fs layer 06:15:35 b1e948a4e11c: Pulling fs layer 06:15:35 a8fd76ee1af6: Pulling fs layer 06:15:35 646ad004c059: Pulling fs layer 06:15:35 dd3240ac7de5: Waiting 06:15:35 b1e948a4e11c: Waiting 06:15:35 a8fd76ee1af6: Waiting 06:15:35 646ad004c059: Waiting 06:15:35 cc1cd167ecdc: Waiting 06:15:35 684cea983483: Waiting 06:15:35 c516ae0d96e1: Waiting 06:15:35 8ed8ca486205: Verifying Checksum 06:15:35 8ed8ca486205: Download complete 06:15:35 666ba61612fd: Verifying Checksum 06:15:35 666ba61612fd: Download complete 06:15:36 c516ae0d96e1: Verifying Checksum 06:15:36 c516ae0d96e1: Download complete 06:15:36 684cea983483: Verifying Checksum 06:15:36 684cea983483: Download complete 06:15:36 59bf1c3509f3: Download complete 06:15:36 dd3240ac7de5: Verifying Checksum 06:15:36 dd3240ac7de5: Download complete 06:15:36 b1e948a4e11c: Verifying Checksum 06:15:36 b1e948a4e11c: Download complete 06:15:36 59bf1c3509f3: Pull complete 06:15:36 666ba61612fd: Pull complete 06:15:36 8ed8ca486205: Pull complete 06:15:36 cc1cd167ecdc: Verifying Checksum 06:15:36 cc1cd167ecdc: Download complete 06:15:36 646ad004c059: Verifying Checksum 06:15:36 646ad004c059: Download complete 06:15:36 a8fd76ee1af6: Verifying Checksum 06:15:36 a8fd76ee1af6: Download complete 06:15:41 cc1cd167ecdc: Pull complete 06:15:41 c516ae0d96e1: Pull complete 06:15:41 684cea983483: Pull complete 06:15:41 dd3240ac7de5: Pull complete 06:15:41 b1e948a4e11c: Pull complete 06:15:42 a8fd76ee1af6: Pull complete 06:15:43 646ad004c059: Pull complete 06:15:43 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 06:15:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:15:43 ---> 8f69c11f6b0c 06:15:43 Step 3/11 : ARG MAKE=make build 06:15:45 ---> Running in 62e0b76ea5dd 06:15:45 Removing intermediate container 62e0b76ea5dd 06:15:45 ---> 5c3e76da6347 06:15:45 Step 4/11 : WORKDIR /device-sdk-go 06:15:45 ---> Running in fd97fd9169cd 06:15:45 Removing intermediate container fd97fd9169cd 06:15:45 ---> 8166f0a4f6fe 06:15:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:15:45 ---> Running in e17d58336e3b 06:15:45 Removing intermediate container e17d58336e3b 06:15:45 ---> 4e66da2d7229 06:15:45 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:15:45 ---> Running in 782580bf3b3d 06:15:46 Removing intermediate container 782580bf3b3d 06:15:46 ---> 0abfc172f069 06:15:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:15:46 ---> Running in 1309de85a605 06:15:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:15:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:15:48 OK: 221 MiB in 52 packages 06:15:48 Removing intermediate container 1309de85a605 06:15:48 ---> e3147221e58a 06:15:48 Step 8/11 : COPY go.mod vendor* ./ 06:15:48 ---> 03baf27384e6 06:15:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:15:48 ---> Running in 5257d2ecb52d 06:15:49 Still waiting to schedule task 06:15:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:16:06 Removing intermediate container 5257d2ecb52d 06:16:06 ---> ac41d3a3496a 06:16:06 Step 10/11 : COPY . . 06:16:06 ---> fc7f8d9739d3 06:16:06 Step 11/11 : RUN ${MAKE} 06:16:06 ---> Running in e15002b8bfdb 06:16:06 noop 06:16:06 Removing intermediate container e15002b8bfdb 06:16:06 ---> fca957725350 06:16:06 Successfully built fca957725350 06:16:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:06 + docker inspect -f . ci-base-image-x86_64 06:16:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:06 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:16:06 $ 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 06:16:07 $ docker top 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e -eo pid,comm [Pipeline] { [Pipeline] sh 06:16:07 + go version 06:16:07 go version go1.17.7 linux/amd64 [Pipeline] } 06:16:07 $ docker stop --time=1 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e 06:16:08 $ docker rm -f 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:09 + docker inspect -f . ci-base-image-x86_64 06:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:09 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:16:09 $ 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 06:16:09 $ docker top 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:16:10 + make test 06:16:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:16:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.3% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.083s coverage: 10.8% of statements 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 60.0% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 34.8% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 85.4% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 65.1% of statements 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.829s coverage: 89.2% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:16:45 GO111MODULE=on go vet ./... 06:16:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:16:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:16:47 ./bin/test-attribution-txt.sh [Pipeline] echo 06:16:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:16:47 $ docker stop --time=1 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d 06:16:50 $ docker rm -f 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d [Pipeline] // withDockerContainer [Pipeline] sh 06:16:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:16:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:16:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:16:51 + ls -al . 06:16:51 total 300 06:16:51 drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 06:16 . 06:16:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:15 .. 06:16:51 -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 06:15 .dockerignore 06:16:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 06:15 .git 06:16:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:15 .github 06:16:51 -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 06:15 .gitignore 06:16:51 -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 06:15 .golangci.yml 06:16:51 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 06:15 .semver 06:16:51 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 06:15 CHANGELOG.md 06:16:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 06:15 GOVERNANCE.md 06:16:51 -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 06:15 Jenkinsfile 06:16:51 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 06:15 LICENSE 06:16:51 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 06:15 Makefile 06:16:51 -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 06:15 OWNERS.md 06:16:51 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 06:15 README.md 06:16:51 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 06:15 VERSION 06:16:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:15 bin 06:16:51 -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 06:16 coverage.out 06:16:51 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:15 example 06:16:51 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 06:15 go.mod 06:16:51 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 06:15 go.sum 06:16:51 drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 06:15 internal 06:16:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 06:15 openapi 06:16:51 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:15 pkg 06:16:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:15 snap 06:16:51 -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:51 + 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=37feea84d12508780716eef2708031ba6031fa53 --label arch=amd64 --label version=2.2.1-dev.5 . 06:16:51 Sending build context to Docker daemon 9.842MB 06:16:51 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:16:51 Step 2/25 : FROM ${BASE} AS builder 06:16:51 ---> fca957725350 06:16:51 Step 3/25 : ARG MAKE=make build 06:16:51 ---> Running in 639ab2f86a88 06:16:52 Removing intermediate container 639ab2f86a88 06:16:52 ---> 5950a39d7218 06:16:52 Step 4/25 : WORKDIR /device-sdk-go 06:16:52 ---> Running in 1b00384ee2e7 06:16:52 Removing intermediate container 1b00384ee2e7 06:16:52 ---> 51388be5636f 06:16:52 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:52 ---> Running in 0d28586a7eaf 06:16:52 Removing intermediate container 0d28586a7eaf 06:16:52 ---> c5af7ff00bd2 06:16:52 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:52 ---> Running in 6bbe85de8470 06:16:52 Removing intermediate container 6bbe85de8470 06:16:52 ---> d7aaf1577dec 06:16:52 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:16:52 ---> Running in e6569e1ac835 06:16:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:16:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:16:54 OK: 221 MiB in 52 packages 06:16:54 Removing intermediate container e6569e1ac835 06:16:54 ---> bf5311ea1152 06:16:54 Step 8/25 : COPY go.mod vendor* ./ 06:16:54 ---> a22ebc93e6c7 06:16:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:54 ---> Running in 689ddc8144aa 06:16:55 Removing intermediate container 689ddc8144aa 06:16:55 ---> c6bcbd5a09b6 06:16:55 Step 10/25 : COPY . . 06:16:55 ---> 8672b77c69f6 06:16:55 Step 11/25 : RUN ${MAKE} 06:16:55 ---> Running in 0a084767374b 06:16:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:17:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:17:14 Removing intermediate container 0a084767374b 06:17:14 ---> f48c63f338c9 06:17:14 Step 12/25 : FROM alpine:3.14 06:17:15 3.14: Pulling from library/alpine 06:17:15 8663204ce13b: Pulling fs layer 06:17:15 8663204ce13b: Verifying Checksum 06:17:15 8663204ce13b: Download complete 06:17:15 8663204ce13b: Pull complete 06:17:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:17:15 Status: Downloaded newer image for alpine:3.14 06:17:15 ---> e04c818066af 06:17:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:15 ---> Running in 8630d1a6936e 06:17:15 Removing intermediate container 8630d1a6936e 06:17:15 ---> a84e90a87962 06:17:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:15 ---> Running in 73bd4861811c 06:17:16 Removing intermediate container 73bd4861811c 06:17:16 ---> 7b0239ee6ed7 06:17:16 Step 15/25 : RUN apk add --update --no-cache zeromq 06:17:16 ---> Running in 452762a8c061 06:17:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:17:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:17:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:17:18 (2/5) Installing libsodium (1.0.18-r0) 06:17:18 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:17:18 (4/5) Installing libzmq (4.3.4-r0) 06:17:18 (5/5) Installing zeromq (4.3.4-r0) 06:17:18 Executing busybox-1.33.1-r7.trigger 06:17:18 OK: 8 MiB in 19 packages 06:17:18 Removing intermediate container 452762a8c061 06:17:18 ---> e51eee7dad02 06:17:18 Step 16/25 : WORKDIR / 06:17:18 ---> Running in ab26052a6a43 06:17:18 Removing intermediate container ab26052a6a43 06:17:18 ---> b8d9c2c90722 06:17:18 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:17:19 ---> 49a60c16487c 06:17:19 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:17:19 ---> ef4bb9d4e15d 06:17:19 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:17:19 ---> dded53e93ba3 06:17:19 Step 20/25 : EXPOSE 59999 06:17:19 ---> Running in 104eccee209c 06:17:19 Removing intermediate container 104eccee209c 06:17:19 ---> a363774012f5 06:17:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:17:19 ---> Running in 100adabff047 06:17:19 Removing intermediate container 100adabff047 06:17:19 ---> 7f155a124420 06:17:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:17:19 ---> Running in 78a90a4ffca1 06:17:20 Removing intermediate container 78a90a4ffca1 06:17:20 ---> 4d4805591aa5 06:17:20 Step 23/25 : LABEL arch=amd64 06:17:20 ---> Running in fbf016b47f22 06:17:20 Removing intermediate container fbf016b47f22 06:17:20 ---> d27b25934b93 06:17:20 Step 24/25 : LABEL git_sha=37feea84d12508780716eef2708031ba6031fa53 06:17:20 ---> Running in 5c730ddb72ce 06:17:20 Removing intermediate container 5c730ddb72ce 06:17:20 ---> 7fb96012a5f6 06:17:20 Step 25/25 : LABEL version=2.2.1-dev.5 06:17:20 ---> Running in 2634f349ab39 06:17:20 Removing intermediate container 2634f349ab39 06:17:20 ---> dd32952757fa 06:17:20 [Warning] One or more build-args [ARCH] were not consumed 06:17:20 Successfully built dd32952757fa 06:17:20 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 06:17:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:20 06:17:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:21 latest: Pulling from edgex-lftools-log-publisher 06:17:21 5eb5b503b376: Pulling fs layer 06:17:21 5c69ac0246d0: Pulling fs layer 06:17:21 ec43610c2a17: Pulling fs layer 06:17:21 3a2ae6a8a46f: Pulling fs layer 06:17:21 33b1e0a273af: Pulling fs layer 06:17:21 5d3b04190fa2: Pulling fs layer 06:17:21 2f39f015ded8: Pulling fs layer 06:17:21 33b1e0a273af: Waiting 06:17:21 3a2ae6a8a46f: Waiting 06:17:21 2f39f015ded8: Waiting 06:17:21 5c69ac0246d0: Verifying Checksum 06:17:21 5c69ac0246d0: Download complete 06:17:21 3a2ae6a8a46f: Verifying Checksum 06:17:21 3a2ae6a8a46f: Download complete 06:17:21 33b1e0a273af: Verifying Checksum 06:17:21 33b1e0a273af: Download complete 06:17:21 ec43610c2a17: Verifying Checksum 06:17:21 ec43610c2a17: Download complete 06:17:21 5d3b04190fa2: Download complete 06:17:21 5eb5b503b376: Download complete 06:17:22 5eb5b503b376: Pull complete 06:17:22 5c69ac0246d0: Pull complete 06:17:23 ec43610c2a17: Pull complete 06:17:23 3a2ae6a8a46f: Pull complete 06:17:23 33b1e0a273af: Pull complete 06:17:23 5d3b04190fa2: Pull complete 06:17:27 2f39f015ded8: Pull complete 06:17:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:17:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:27 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:17:27 $ 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 06:17:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2540 in /w/workspace/edgexfoundry_device-sdk-go_main 06:17:29 $ docker top d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 06:17:29 Running in /w/workspace/device-sdk-go/80 [Pipeline] { [Pipeline] checkout 06:17:29 The recommended git tool is: git 06:17:30 ---> job-cost.sh 06:17:30 lf-activate-venv: SKIPPING 06:17:30 INFO: No Stack... 06:17:30 INFO: Retrieving Pricing Info for: v3-standard-8 06:17:30 INFO: Archiving Costs [Pipeline] sh 06:17:31 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:17:31 + cut -d, -f6 [Pipeline] lock 06:17:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] 06:17:31 Resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] did not exist. Created. 06:17:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:17:31 + echo total: 0.2199999988079071 [Pipeline] stash 06:17:31 Stashed 1 file(s) [Pipeline] } 06:17:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 06:17:31 $ docker stop --time=1 d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 06:17:32 $ docker rm -f d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:17:36 using credential edgex-jenkins-ssh 06:17:36 Cloning the remote Git repository 06:17:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:17:36 > git init /w/workspace/device-sdk-go/80 # timeout=10 06:17:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:17:36 > git --version # timeout=10 06:17:36 > git --version # 'git version 2.25.1' 06:17:36 using GIT_SSH to set credentials SSH Credentials for GitHub 06:17:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:38 Avoid second fetch 06:17:38 Checking out Revision 37feea84d12508780716eef2708031ba6031fa53 (main) 06:17:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:17:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:17:38 > git config core.sparsecheckout # timeout=10 06:17:38 > git checkout -f 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 06:17:42 Commit message: "Merge pull request #1177 from weichou1229/issue-1176" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:17:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:17:43 Dload Upload Total Spent Left Speed 06:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 63 12253 63 7747 0 0 43522 0 --:--:-- --:--:-- --:--:-- 43279 100 12253 100 12253 0 0 68072 0 --:--:-- --:--:-- --:--:-- 67696 [Pipeline] sh 06:17:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:17:44 + sudo tee /etc/docker/daemon.new 06:17:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:17:44 { 06:17:44 "registry-mirrors": [ 06:17:44 "https://nexus3.edgexfoundry.org:10001" 06:17:44 ], 06:17:44 "bip": "10.250.0.254/24", 06:17:44 "hosts": [ 06:17:44 "tcp://0.0.0.0:5555", 06:17:44 "unix:///var/run/docker.sock" 06:17:44 ], 06:17:44 "mtu": 1458, 06:17:44 "selinux-enabled": true, 06:17:44 "seccomp-profile": "/etc/docker/seccomp.json" 06:17:44 } [Pipeline] sh 06:17:44 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:17:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:18:03 provisioning config files... 06:18:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/80@tmp/config1505172518131481589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:03 ---> docker-login.sh 06:18:03 nexus3.edgexfoundry.org:10001 06:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:04 Configure a credential helper to remove this warning. See 06:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:04 06:18:04 Login Succeeded 06:18:04 nexus3.edgexfoundry.org:10002 06:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:04 Configure a credential helper to remove this warning. See 06:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:04 06:18:04 Login Succeeded 06:18:05 nexus3.edgexfoundry.org:10003 06:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:05 Configure a credential helper to remove this warning. See 06:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:05 06:18:05 Login Succeeded 06:18:05 nexus3.edgexfoundry.org:10004 06:18:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:05 Configure a credential helper to remove this warning. See 06:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:05 06:18:05 Login Succeeded 06:18:05 docker.io 06:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:18:06 Configure a credential helper to remove this warning. See 06:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:18:06 06:18:06 Login Succeeded 06:18:06 ---> docker-login.sh ends [Pipeline] } 06:18:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:18:07 ========================================================= 06:18:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:18:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:07 + 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 . 06:18:08 Sending build context to Docker daemon 5.197MB 06:18:08 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 06:18:08 Step 2/11 : FROM ${BASE} AS builder 06:18:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:18:08 9b3977197b4f: Pulling fs layer 06:18:08 1a89e8eeedd5: Pulling fs layer 06:18:08 94645a83ff95: Pulling fs layer 06:18:08 e6fb740bc735: Pulling fs layer 06:18:08 3a77bd46dcc9: Pulling fs layer 06:18:08 355e64cbe906: Pulling fs layer 06:18:08 63ab81a10011: Pulling fs layer 06:18:08 555d1d1c4555: Pulling fs layer 06:18:08 7d9057610161: Pulling fs layer 06:18:08 3a77bd46dcc9: Waiting 06:18:08 63ab81a10011: Waiting 06:18:08 e6fb740bc735: Waiting 06:18:08 555d1d1c4555: Waiting 06:18:08 7d9057610161: Waiting 06:18:08 355e64cbe906: Waiting 06:18:08 94645a83ff95: Verifying Checksum 06:18:08 94645a83ff95: Download complete 06:18:08 1a89e8eeedd5: Verifying Checksum 06:18:08 1a89e8eeedd5: Download complete 06:18:08 3a77bd46dcc9: Verifying Checksum 06:18:08 3a77bd46dcc9: Download complete 06:18:08 355e64cbe906: Verifying Checksum 06:18:08 9b3977197b4f: Verifying Checksum 06:18:08 9b3977197b4f: Download complete 06:18:08 355e64cbe906: Download complete 06:18:08 63ab81a10011: Verifying Checksum 06:18:08 63ab81a10011: Download complete 06:18:09 9b3977197b4f: Pull complete 06:18:09 7d9057610161: Verifying Checksum 06:18:09 7d9057610161: Download complete 06:18:09 1a89e8eeedd5: Pull complete 06:18:10 94645a83ff95: Pull complete 06:18:10 555d1d1c4555: Verifying Checksum 06:18:10 555d1d1c4555: Download complete 06:18:11 e6fb740bc735: Verifying Checksum 06:18:11 e6fb740bc735: Download complete 06:18:23 e6fb740bc735: Pull complete 06:18:23 3a77bd46dcc9: Pull complete 06:18:23 355e64cbe906: Pull complete 06:18:23 63ab81a10011: Pull complete 06:18:30 555d1d1c4555: Pull complete 06:18:32 7d9057610161: Pull complete 06:18:32 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 06:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:18:32 ---> 819e984ddca1 06:18:32 Step 3/11 : ARG MAKE=make build 06:18:33 ---> Running in d8bde9d2f223 06:18:33 Removing intermediate container d8bde9d2f223 06:18:33 ---> c48c9a4a3cee 06:18:33 Step 4/11 : WORKDIR /device-sdk-go 06:18:33 ---> Running in c28a0f91b5ca 06:18:33 Removing intermediate container c28a0f91b5ca 06:18:33 ---> 6723bf9aaeb8 06:18:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:33 ---> Running in 9320b39cef0e 06:18:35 Removing intermediate container 9320b39cef0e 06:18:35 ---> 7ffb9f8952ab 06:18:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:35 ---> Running in dc9012b96195 06:18:37 Removing intermediate container dc9012b96195 06:18:37 ---> 814e554d4078 06:18:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:18:37 ---> Running in 1f1f157f61a6 06:18:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:18:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:18:40 OK: 220 MiB in 52 packages 06:18:40 Removing intermediate container 1f1f157f61a6 06:18:40 ---> 7b2814240761 06:18:40 Step 8/11 : COPY go.mod vendor* ./ 06:18:41 ---> 19d288746622 06:18:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:18:41 ---> Running in d0c4975ae026 06:19:28 Removing intermediate container d0c4975ae026 06:19:28 ---> 794ca4ab674e 06:19:28 Step 10/11 : COPY . . 06:19:28 ---> 793dbff44faf 06:19:28 Step 11/11 : RUN ${MAKE} 06:19:28 ---> Running in 899f9a8abae4 06:19:28 noop 06:19:29 Removing intermediate container 899f9a8abae4 06:19:29 ---> d21e4f7fa871 06:19:29 Successfully built d21e4f7fa871 06:19:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:29 + docker inspect -f . ci-base-image-arm64 06:19:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:29 prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container 06:19:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@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 06:19:31 $ docker top 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 -eo pid,comm [Pipeline] { [Pipeline] sh 06:19:32 + go version 06:19:32 go version go1.17.7 linux/arm64 [Pipeline] } 06:19:32 $ docker stop --time=1 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 06:19:33 $ docker rm -f 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:34 + docker inspect -f . ci-base-image-arm64 06:19:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:34 prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container 06:19:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@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 06:19:36 $ docker top 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:19:37 + make test 06:19:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:20:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:21:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:21:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:21:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:21:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.512s coverage: 23.3% of statements 06:21:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:21:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.290s coverage: 27.6% of statements 06:21:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.389s coverage: 78.9% of statements 06:21:54 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.269s coverage: 10.8% of statements 06:21:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.544s coverage: 60.0% of statements 06:21:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:21:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:22:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.425s coverage: 34.8% of statements 06:22:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:22:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.310s coverage: 85.4% of statements 06:22:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:22:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:22:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.499s coverage: 65.1% of statements 06:22:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.581s coverage: 89.2% of statements 06:22:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:22:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements 06:22:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:22:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:22:10 GO111MODULE=on go vet ./... 06:23:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:23:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:23:47 ./bin/test-attribution-txt.sh [Pipeline] echo 06:23:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:23:47 $ docker stop --time=1 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b 06:23:49 $ docker rm -f 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b [Pipeline] // withDockerContainer [Pipeline] sh 06:23:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:23:50 Warning: overwriting stash ‘coverage-report’ 06:23:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:23:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:23:52 + ls -al . 06:23:52 total 296 06:23:52 drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 06:23 . 06:23:52 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:17 .. 06:23:52 -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 06:17 .dockerignore 06:23:52 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 06:17 .git 06:23:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:17 .github 06:23:52 -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 06:17 .gitignore 06:23:52 -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 06:17 .golangci.yml 06:23:52 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 06:17 CHANGELOG.md 06:23:52 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 06:17 GOVERNANCE.md 06:23:52 -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 06:17 Jenkinsfile 06:23:52 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 06:17 LICENSE 06:23:52 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 06:17 Makefile 06:23:52 -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 06:17 OWNERS.md 06:23:52 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 06:17 README.md 06:23:52 -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 06:15 VERSION 06:23:52 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:17 bin 06:23:52 -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 06:22 coverage.out 06:23:52 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:17 example 06:23:52 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 06:17 go.mod 06:23:52 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 06:17 go.sum 06:23:52 drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 06:17 internal 06:23:52 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 06:17 openapi 06:23:52 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:17 pkg 06:23:52 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:17 snap 06:23:52 -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:23:52 + 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=37feea84d12508780716eef2708031ba6031fa53 --label arch=arm64 --label version=2.2.1-dev.5 . 06:23:52 Sending build context to Docker daemon 5.328MB 06:23:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:23:52 Step 2/25 : FROM ${BASE} AS builder 06:23:52 ---> d21e4f7fa871 06:23:52 Step 3/25 : ARG MAKE=make build 06:23:52 ---> Running in c2b46b9885da 06:23:53 Removing intermediate container c2b46b9885da 06:23:53 ---> 3820c4f4e3e7 06:23:53 Step 4/25 : WORKDIR /device-sdk-go 06:23:53 ---> Running in 440a827dbbf9 06:23:53 Removing intermediate container 440a827dbbf9 06:23:53 ---> 8df5749f10f5 06:23:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:23:53 ---> Running in 85a87c386853 06:23:54 Removing intermediate container 85a87c386853 06:23:54 ---> dc06bc384c35 06:23:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:23:54 ---> Running in 99761ed276cb 06:23:56 Removing intermediate container 99761ed276cb 06:23:56 ---> 18a218d69ef8 06:23:56 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:23:56 ---> Running in 5f147a0a8f85 06:23:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:23:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:23:59 OK: 220 MiB in 52 packages 06:24:00 Removing intermediate container 5f147a0a8f85 06:24:00 ---> fc0c39edc8fd 06:24:00 Step 8/25 : COPY go.mod vendor* ./ 06:24:01 ---> c18c8c1f9c43 06:24:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:24:01 ---> Running in fdade8eb159b 06:24:03 Removing intermediate container fdade8eb159b 06:24:03 ---> 9296e5b6c93c 06:24:03 Step 10/25 : COPY . . 06:24:04 ---> 674fe8c65be8 06:24:04 Step 11/25 : RUN ${MAKE} 06:24:04 ---> Running in 67f01eb1005e 06:24:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:26:27 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:26:27 Removing intermediate container 67f01eb1005e 06:26:27 ---> c56357ca3694 06:26:27 Step 12/25 : FROM alpine:3.14 06:26:27 3.14: Pulling from library/alpine 06:26:27 455c02918c45: Pulling fs layer 06:26:27 455c02918c45: Verifying Checksum 06:26:27 455c02918c45: Download complete 06:26:27 455c02918c45: Pull complete 06:26:27 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:26:27 Status: Downloaded newer image for alpine:3.14 06:26:27 ---> ac73e934f311 06:26:27 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:26:27 ---> Running in eaa0b299a440 06:26:27 Removing intermediate container eaa0b299a440 06:26:27 ---> 767531802dbb 06:26:27 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:26:27 ---> Running in f5b6287e2787 06:26:27 Removing intermediate container f5b6287e2787 06:26:27 ---> f819aadcfa32 06:26:27 Step 15/25 : RUN apk add --update --no-cache zeromq 06:26:27 ---> Running in f509cffbec71 06:26:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:26:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:26:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 06:26:27 (2/5) Installing libsodium (1.0.18-r0) 06:26:27 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 06:26:27 (4/5) Installing libzmq (4.3.4-r0) 06:26:28 (5/5) Installing zeromq (4.3.4-r0) 06:26:28 Executing busybox-1.33.1-r7.trigger 06:26:28 OK: 8 MiB in 19 packages 06:26:30 Removing intermediate container f509cffbec71 06:26:30 ---> 9f47453884f2 06:26:30 Step 16/25 : WORKDIR / 06:26:30 ---> Running in 05f2a9f4dca2 06:26:30 Removing intermediate container 05f2a9f4dca2 06:26:30 ---> 983107b21b6a 06:26:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:26:30 ---> 9a3b10257a4a 06:26:30 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:26:31 ---> 7ed6ac94af49 06:26:31 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:26:32 ---> 9bf340a807fc 06:26:32 Step 20/25 : EXPOSE 59999 06:26:32 ---> Running in 4532698f961f 06:26:32 Removing intermediate container 4532698f961f 06:26:32 ---> 10320ec92167 06:26:32 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:26:32 ---> Running in 9acdfb7f85c4 06:26:33 Removing intermediate container 9acdfb7f85c4 06:26:33 ---> 7141b747c08f 06:26:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:26:33 ---> Running in 732ac7310b5a 06:26:33 Removing intermediate container 732ac7310b5a 06:26:33 ---> 83f5fcd83e45 06:26:33 Step 23/25 : LABEL arch=arm64 06:26:33 ---> Running in 6b25ad4da38f 06:26:34 Removing intermediate container 6b25ad4da38f 06:26:34 ---> 53b7799c9952 06:26:34 Step 24/25 : LABEL git_sha=37feea84d12508780716eef2708031ba6031fa53 06:26:34 ---> Running in 4ec203243031 06:26:34 Removing intermediate container 4ec203243031 06:26:34 ---> defd798159af 06:26:34 Step 25/25 : LABEL version=2.2.1-dev.5 06:26:34 ---> Running in a74ad3134074 06:26:34 Removing intermediate container a74ad3134074 06:26:34 ---> 6f8f6a9d64bd 06:26:34 [Warning] One or more build-args [ARCH] were not consumed 06:26:34 Successfully built 6f8f6a9d64bd 06:26:34 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:26:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:35 06:26:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:26:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:26:36 arm64: Pulling from edgex-lftools-log-publisher 06:26:36 8998bd30e6a1: Pulling fs layer 06:26:36 04944245beec: Pulling fs layer 06:26:36 699f458cf7ca: Pulling fs layer 06:26:36 765212b225bb: Pulling fs layer 06:26:36 f23df028b6ca: Pulling fs layer 06:26:36 d65c8cfc05b1: Pulling fs layer 06:26:36 2437ff75d9bd: Pulling fs layer 06:26:36 765212b225bb: Waiting 06:26:36 f23df028b6ca: Waiting 06:26:36 d65c8cfc05b1: Waiting 06:26:36 2437ff75d9bd: Waiting 06:26:36 04944245beec: Verifying Checksum 06:26:36 04944245beec: Download complete 06:26:36 765212b225bb: Verifying Checksum 06:26:36 765212b225bb: Download complete 06:26:36 f23df028b6ca: Verifying Checksum 06:26:36 f23df028b6ca: Download complete 06:26:36 d65c8cfc05b1: Verifying Checksum 06:26:36 d65c8cfc05b1: Download complete 06:26:36 699f458cf7ca: Verifying Checksum 06:26:36 699f458cf7ca: Download complete 06:26:36 8998bd30e6a1: Download complete 06:26:39 2437ff75d9bd: Verifying Checksum 06:26:39 2437ff75d9bd: Download complete 06:26:41 8998bd30e6a1: Pull complete 06:26:41 04944245beec: Pull complete 06:26:44 699f458cf7ca: Pull complete 06:26:44 765212b225bb: Pull complete 06:26:44 f23df028b6ca: Pull complete 06:26:45 d65c8cfc05b1: Pull complete 06:27:00 2437ff75d9bd: Pull complete 06:27:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:27:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:00 prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container 06:27:00 $ 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/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@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:27:03 $ docker top e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:04 ---> job-cost.sh 06:27:04 lf-activate-venv: SKIPPING 06:27:04 INFO: No Stack... 06:27:05 INFO: Retrieving Pricing Info for: v3-standard-4 06:27:06 INFO: Archiving Costs [Pipeline] sh 06:27:06 + cat /w/workspace/device-sdk-go/80/archives/cost.csv 06:27:06 + cut -d, -f6 [Pipeline] lock 06:27:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] 06:27:06 Resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] did not exist. Created. 06:27:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:27:07 /w/workspace/device-sdk-go/80@tmp/durable-c14e67e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:27:08 + echo total: 0.10999999940395355 [Pipeline] stash 06:27:08 Warning: overwriting stash ‘stack-cost’ 06:27:09 Stashed 1 file(s) [Pipeline] } 06:27:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } 06:27:09 $ docker stop --time=1 e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 06:27:11 $ docker rm -f e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 [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:27:11 provisioning config files... 06:27:11 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3922314985400297482tmp [Pipeline] { [Pipeline] sh 06:27:12 + set +x 06:27:12 + curl -s https://codecov.io/bash 06:27:12 + bash -s -- 06:27:12 06:27:12 _____ _ 06:27:12 / ____| | | 06:27:12 | | ___ __| | ___ ___ _____ __ 06:27:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:27:12 | |___| (_) | (_| | __/ (_| (_) \ V / 06:27:12 \_____\___/ \__,_|\___|\___\___/ \_/ 06:27:12 Bash-1.0.6 06:27:12 06:27:12 06:27:12 ==> git version 2.25.1 found 06:27:12 ==> 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:27:12 Release-Date: 2020-01-08 06:27:12 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:27:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:27:12 ==> Jenkins CI detected. 06:27:12 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:27:12 project root: . 06:27:12 --> token set from env 06:27:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:27:12 ==> Running gcov in . (disable via -X gcov) 06:27:12 ==> Python coveragepy not found 06:27:12 ==> Searching for coverage reports in: 06:27:12 + . 06:27:12 -> Found 1 reports 06:27:12 ==> Detecting git/mercurial file structure 06:27:12 ==> Reading reports 06:27:12 + ./coverage.out bytes=131010 06:27:12 ==> Appending adjustments 06:27:12 https://docs.codecov.io/docs/fixing-reports 06:27:12 + Found adjustments 06:27:12 ==> Gzipping contents 06:27:12 20K /tmp/codecov.Acs1tE.gz 06:27:12 ==> Uploading reports 06:27:12 url: https://codecov.io 06:27:12 query: branch=main&commit=37feea84d12508780716eef2708031ba6031fa53&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:12 -> Pinging Codecov 06:27:12 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=37feea84d12508780716eef2708031ba6031fa53&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:27:13 -> Uploading to 06:27:13 https://storage.googleapis.com/codecov/v4/raw/2022-06-17/7E55EF52A471D76F132DFD9A03CDDE97/37feea84d12508780716eef2708031ba6031fa53/b5178dac-3640-4693-9b76-94bc3cffb4b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T062712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83403748d73c8ca621fa651be20d5b17023a6b0f77298e2ea01e03ed7afac3b6 06:27:13 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:13 Dload Upload Total Spent Left Speed 06:27:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16844 0 0 100 16844 0 61926 --:--:-- --:--:-- --:--:-- 61699 06:27:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/37feea84d12508780716eef2708031ba6031fa53 [Pipeline] } 06:27:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:27:13 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:27:13 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:14 06:27:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:27:14 df9b9388f04a: Pulling fs layer 06:27:14 52dc419b0ee2: Pulling fs layer 06:27:14 25bc292e5bac: Pulling fs layer 06:27:14 114826534d7a: Pulling fs layer 06:27:14 4657fd5d0bcf: Pulling fs layer 06:27:14 6ad1cebc031e: Pulling fs layer 06:27:14 8a3aa393b2d8: Pulling fs layer 06:27:14 114826534d7a: Waiting 06:27:14 4657fd5d0bcf: Waiting 06:27:14 8a3aa393b2d8: Waiting 06:27:14 6ad1cebc031e: Waiting 06:27:14 25bc292e5bac: Verifying Checksum 06:27:14 25bc292e5bac: Download complete 06:27:15 52dc419b0ee2: Verifying Checksum 06:27:15 52dc419b0ee2: Download complete 06:27:15 4657fd5d0bcf: Verifying Checksum 06:27:15 4657fd5d0bcf: Download complete 06:27:16 df9b9388f04a: Verifying Checksum 06:27:16 df9b9388f04a: Download complete 06:27:16 6ad1cebc031e: Verifying Checksum 06:27:16 6ad1cebc031e: Download complete 06:27:16 df9b9388f04a: Pull complete 06:27:16 52dc419b0ee2: Pull complete 06:27:16 25bc292e5bac: Pull complete 06:27:16 114826534d7a: Verifying Checksum 06:27:16 114826534d7a: Download complete 06:27:17 8a3aa393b2d8: Verifying Checksum 06:27:17 8a3aa393b2d8: Download complete 06:27:20 114826534d7a: Pull complete 06:27:20 4657fd5d0bcf: Pull complete 06:27:20 6ad1cebc031e: Pull complete 06:27:23 8a3aa393b2d8: Pull complete 06:27:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:27:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:27:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:23 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:27:23 $ 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:27:25 $ docker top 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 -eo pid,comm [Pipeline] { [Pipeline] echo 06:27:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:27:26 + set -o pipefail 06:27:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:27:42 06:27:42 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 06:27:42 06:27:42 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a730bbc9-f508-45af-81cf-591bdfaa42b1 06:27:42 06:27:42 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:27:42 06:27:42 [Pipeline] } 06:27:42 $ docker stop --time=1 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 06:27:44 $ docker rm -f 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 [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:27:45 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:45 provisioning config files... 06:27:45 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4771754007882279399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:45 --> edgex-publish-swagger.sh 06:27:45 === Publish openapi/v2 API === 06:27:45 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:27:45 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:27:45 % Total % Received % Xferd Average Speed Time Time Time Current 06:27:45 Dload Upload Total Spent Left Speed 06:27:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 81222 --:--:-- --:--:-- --:--:-- 81222 06:27:45 06:27:45 [Pipeline] } 06:27:45 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:27:46 + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] sh 06:27:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:27:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:27:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:27:47 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:27:47 $ 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:27:47 $ docker top 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:27:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:47 [ssh-agent] Looking for ssh-agent implementation... 06:27:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:47 $ docker exec 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 ssh-agent 06:27:47 SSH_AUTH_SOCK=/tmp/ssh-LZKKqqPB4YXE/agent.32 06:27:47 SSH_AGENT_PID=38 06:27:47 Running ssh-add (command line suppressed) 06:27:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3698582590058588520.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3698582590058588520.key) 06:27:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:48 + git semver tag 06:27:48 2022-06-17 06:27:48,494 [run_tag] DEBUG tag force:False 06:27:48 2022-06-17 06:27:48,494 [check_head_tag] DEBUG check head tag 06:27:48 2022-06-17 06:27:48,495 [execute] INFO git cat-file --batch-check 06:27:48 2022-06-17 06:27:48,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:27:48 2022-06-17 06:27:48,499 [execute] INFO git cat-file --batch 06:27:48 2022-06-17 06:27:48,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:27:48 2022-06-17 06:27:48,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:27:48 2022-06-17 06:27:48,509 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 06:27:48 2022-06-17 06:27:48,509 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:27:48 2022-06-17 06:27:48,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:27:48 2.2.1-dev.5 [Pipeline] } 06:27:48 $ docker exec --env ******** --env ******** 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 ssh-agent -k 06:27:48 unset SSH_AUTH_SOCK; 06:27:48 unset SSH_AGENT_PID; 06:27:48 echo Agent pid 38 killed; 06:27:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:27:49 + git semver [Pipeline] } 06:27:49 $ docker stop --time=1 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 06:27:50 $ docker rm -f 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:27:50 06:27:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:27:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:27:51 0.23.1-centos7: Pulling from edgex-lftools 06:27:51 ab5ef0e58194: Pulling fs layer 06:27:51 9712f1f96733: Pulling fs layer 06:27:51 63f879dbbcfc: Pulling fs layer 06:27:51 0d9ebad4ef96: Pulling fs layer 06:27:51 e9a5061849ea: Pulling fs layer 06:27:51 d747dcd14b5f: Pulling fs layer 06:27:51 2de7ff778b66: Pulling fs layer 06:27:51 e9a5061849ea: Waiting 06:27:51 d747dcd14b5f: Waiting 06:27:51 2de7ff778b66: Waiting 06:27:51 0d9ebad4ef96: Waiting 06:27:51 9712f1f96733: Verifying Checksum 06:27:51 9712f1f96733: Download complete 06:27:51 63f879dbbcfc: Verifying Checksum 06:27:51 63f879dbbcfc: Download complete 06:27:51 e9a5061849ea: Verifying Checksum 06:27:51 e9a5061849ea: Download complete 06:27:51 d747dcd14b5f: Verifying Checksum 06:27:51 d747dcd14b5f: Download complete 06:27:51 ab5ef0e58194: Verifying Checksum 06:27:51 ab5ef0e58194: Download complete 06:27:51 0d9ebad4ef96: Verifying Checksum 06:27:51 0d9ebad4ef96: Download complete 06:27:52 2de7ff778b66: Verifying Checksum 06:27:52 2de7ff778b66: Download complete 06:27:54 ab5ef0e58194: Pull complete 06:27:54 9712f1f96733: Pull complete 06:27:55 63f879dbbcfc: Pull complete 06:27:59 0d9ebad4ef96: Pull complete 06:27:59 e9a5061849ea: Pull complete 06:27:59 d747dcd14b5f: Pull complete 06:28:00 2de7ff778b66: Pull complete 06:28:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:00 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:28: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:28:02 $ docker top c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:28:02 provisioning config files... 06:28:02 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3845349810313162499tmp 06:28:02 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config777508990740521574tmp 06:28:02 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8328103496627526601tmp [Pipeline] { [Pipeline] echo 06:28:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:28:02 ---> sigul-configuration.sh 06:28:02 gpg: directory `/root/.gnupg' created 06:28:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:28:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:28:02 gpg: keyring `/root/.gnupg/secring.gpg' created 06:28:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:28:02 gpg: CAST5 encrypted data 06:28:02 gpg: encrypted with 1 passphrase 06:28:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:28:03 + mkdir /home/jenkins 06:28:03 + mkdir /home/jenkins/sigul [Pipeline] sh 06:28:03 + 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:28:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:28:03 ---> sigul-install.sh 06:28:03 Sigul already installed; skipping installation. [Pipeline] sh 06:28:04 + git tag --list 06:28:04 0.7.1 06:28:04 delhi-tag 06:28:04 v1.0.0 06:28:04 v1.1.0 06:28:04 v1.1.1 06:28:04 v1.1.2 06:28:04 v1.2.0 06:28:04 v1.2.1 06:28:04 v1.2.2 06:28:04 v1.2.3 06:28:04 v1.3.0 06:28:04 v1.4.0 06:28:04 v2.0.0 06:28:04 v2.1.0 06:28:04 v2.1.1 06:28:04 v2.1.1-dev.2 06:28:04 v2.1.1-dev.3 06:28:04 v2.2.0 06:28:04 v2.2.1-dev.1 06:28:04 v2.2.1-dev.2 06:28:04 v2.2.1-dev.3 06:28:04 v2.2.1-dev.4 06:28:04 v2.2.1-dev.5 [Pipeline] sh 06:28:04 + lftools sign git-tag v2.2.1-dev.5 06:28:04 Signing Git tag with Sigul... 06:28:04 Signing v2.2.1-dev.5 [Pipeline] echo 06:28:05 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:28:05 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:28:05 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:28:05 $ docker stop --time=1 c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d 06:28:06 $ docker rm -f c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:28:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:07 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:28:07 $ 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:28:08 $ docker top c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:08 [ssh-agent] Looking for ssh-agent implementation... 06:28:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:08 $ docker exec c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae ssh-agent 06:28:08 SSH_AUTH_SOCK=/tmp/ssh-JhNGRYlagFKI/agent.33 06:28:08 SSH_AGENT_PID=39 06:28:08 Running ssh-add (command line suppressed) 06:28:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057366494878947383.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057366494878947383.key) 06:28:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:08 + git semver bump pre 06:28:09 2022-06-17 06:28:08,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:09 2022-06-17 06:28:08,993 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev 06:28:09 2022-06-17 06:28:08,993 [bump_version] DEBUG bumped version:2.2.1-dev.6 06:28:09 2022-06-17 06:28:08,993 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:28:09 2022-06-17 06:28:08,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:09 2022-06-17 06:28:08,993 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:09 2022-06-17 06:28:08,995 [execute] INFO git cat-file --batch-check 06:28:09 2022-06-17 06:28:08,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:09 2022-06-17 06:28:09,001 [execute] INFO git cat-file --batch 06:28:09 2022-06-17 06:28:09,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:09 2022-06-17 06:28:09,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:09 2.2.1-dev.6 [Pipeline] } 06:28:09 $ docker exec --env ******** --env ******** c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae ssh-agent -k 06:28:09 unset SSH_AUTH_SOCK; 06:28:09 unset SSH_AGENT_PID; 06:28:09 echo Agent pid 39 killed; 06:28:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:09 + git semver [Pipeline] } 06:28:09 $ docker stop --time=1 c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae 06:28:11 $ docker rm -f c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae [Pipeline] // withDockerContainer [Pipeline] sh 06:28:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:28:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:28:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:11 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:28:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:28:12 $ docker top aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:28:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:28:12 [ssh-agent] Looking for ssh-agent implementation... 06:28:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:28:12 $ docker exec aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc ssh-agent 06:28:12 SSH_AUTH_SOCK=/tmp/ssh-IqxOTTAZ1yBP/agent.32 06:28:12 SSH_AGENT_PID=38 06:28:12 Running ssh-add (command line suppressed) 06:28:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_914505766915494958.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_914505766915494958.key) 06:28:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:28:13 + git semver push 06:28:13 2022-06-17 06:28:13,385 [run_push] DEBUG push 06:28:13 2022-06-17 06:28:13,386 [execute] INFO git cat-file --batch-check 06:28:13 2022-06-17 06:28:13,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:28:13 2022-06-17 06:28:13,391 [execute] INFO git rev-list d90e7d4cc92e04deafe4ca13d4b3d6653cac8775 -- 06:28:13 2022-06-17 06:28:13,391 [execute] DEBUG Popen(['git', 'rev-list', 'd90e7d4cc92e04deafe4ca13d4b3d6653cac8775', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:13 2022-06-17 06:28:13,400 [execute] INFO git fetch -v origin 06:28:13 2022-06-17 06:28:13,401 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:28:14 2022-06-17 06:28:13,981 [run_push] DEBUG no remote changes detected 06:28:14 2022-06-17 06:28:13,981 [execute] INFO git push origin semver 06:28:14 2022-06-17 06:28:13,982 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:28:14 2022-06-17 06:28:14,799 [run_push] DEBUG push all version tags 06:28:14 2022-06-17 06:28:14,799 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:28:14 2022-06-17 06:28:14,800 [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:28:15 2022-06-17 06:28:15,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:28:15 2.2.1-dev.6 [Pipeline] } 06:28:15 $ docker exec --env ******** --env ******** aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc ssh-agent -k 06:28:15 unset SSH_AUTH_SOCK; 06:28:15 unset SSH_AGENT_PID; 06:28:15 echo Agent pid 38 killed; 06:28:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:28:15 + git semver [Pipeline] } 06:28:16 $ docker stop --time=1 aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc 06:28:17 $ docker rm -f aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc [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:28:18 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:28:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:18 total 16 06:28:18 drwxr-xr-x 3 root root 4096 Jun 17 06:17 . 06:28:18 drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 06:28 .. 06:28:18 drwxr-xr-x 2 root root 4096 Jun 17 06:17 cost 06:28:18 -rw-r--r-- 1 root root 83 Jun 17 06:17 cost.csv 06:28:18 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:18 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:28:18 total 16 06:28:18 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 06:17 . 06:28:18 drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 06:28 .. 06:28:18 drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 06:17 cost 06:28:18 -rw-r--r-- 1 jenkins jenkins 83 Jun 17 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:28:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:28:19 ---> package-listing.sh 06:28:19 ++ facter osfamily 06:28:19 ++ tr '[:upper:]' '[:lower:]' 06:28:19 + OS_FAMILY=debian 06:28:19 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:28:19 + START_PACKAGES=/tmp/packages_start.txt 06:28:19 + END_PACKAGES=/tmp/packages_end.txt 06:28:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:28:19 + PACKAGES=/tmp/packages_start.txt 06:28:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:28:19 + PACKAGES=/tmp/packages_end.txt 06:28:19 + case "${OS_FAMILY}" in 06:28:19 + dpkg -l 06:28:19 + grep '^ii' 06:28:19 + '[' -f /tmp/packages_start.txt ']' 06:28:19 + '[' -f /tmp/packages_end.txt ']' 06:28:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:28:19 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:28:19 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:28:19 + 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:28:19 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:28:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:28:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:28:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:28:20 prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container 06:28:20 $ 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:28:20 $ docker top c299d8bf2ef406c4b111bff2e60b31d2bb8747f7c0901805366cadde07233db5 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:21 + touch /tmp/pre-build-complete [Pipeline] sh 06:28:21 + mkdir -p /var/log/sysstat [Pipeline] sh 06:28:21 + ls /var/log/sa-host 06:28:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:28:21 provisioning config files... 06:28:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7096869603156929797tmp [Pipeline] { [Pipeline] echo 06:28:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:28:22 ---> create-netrc.sh [Pipeline] } 06:28:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:28:22 ---> python-tools-install.sh [Pipeline] echo 06:28:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:28:22 ---> sudo-logs.sh 06:28:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:28:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:28:23 ---> job-cost.sh 06:28:23 lf-activate-venv: SKIPPING 06:28:23 DEBUG: total: 0.2199999988079071 06:28:23 INFO: Retrieving Stack Cost... 06:28:23 INFO: Retrieving Pricing Info for: v3-standard-8 06:28:24 INFO: Archiving Costs [Pipeline] echo 06:28:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:28:24 ---> logs-deploy.sh 06:28:24 lf-activate-venv: SKIPPING 06:28:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/80 06:28:24 INFO: archiving workspace using pattern(s): 06:28:25 Archives upload complete. 06:28:25 INFO: archiving logs to Nexus