Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 274c96a3089376cd4a6ab8c9c701e19955d76f21 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-ssh4928295961411912446.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-ssh5779178541468469890.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-ssh3154997811621833554.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-ssh6338922977698022158.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-ssh6214711002653293469.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-16928 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 274c96a3089376cd4a6ab8c9c701e19955d76f21 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 274c96a3089376cd4a6ab8c9c701e19955d76f21 # timeout=10 Commit message: "Merge pull request #1188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.8" > git rev-list --no-walk 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:20:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:20:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:20:29 ========================================================= 04:20:29 EdgeX Global Pipelines Version Info 04:20:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:20:30 ------------------- 04:20:30 stable info: 04:20:30 ------------------- 04:20:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:20:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:20:30 Message: update stable to v1.0.234 04:20:31 ------------------- 04:20:31 experimental info: 04:20:31 ------------------- 04:20:31 Commited By: **** collab-it+edgex@linuxfoundation.org 04:20:31 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 04:20:31 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 274c96a [Pipeline] echo 04:20:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:31 provisioning config files... 04:20:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3411959200697574476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:32 ---> docker-login.sh 04:20:32 nexus3.edgexfoundry.org:10001 04:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:32 Configure a credential helper to remove this warning. See 04:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:32 04:20:32 Login Succeeded 04:20:32 nexus3.edgexfoundry.org:10002 04:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:32 Configure a credential helper to remove this warning. See 04:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:32 04:20:32 Login Succeeded 04:20:32 nexus3.edgexfoundry.org:10003 04:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:32 Configure a credential helper to remove this warning. See 04:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:32 04:20:32 Login Succeeded 04:20:32 nexus3.edgexfoundry.org:10004 04:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:32 Configure a credential helper to remove this warning. See 04:20:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:32 04:20:32 Login Succeeded 04:20:32 docker.io 04:20:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:33 Configure a credential helper to remove this warning. See 04:20:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:33 04:20:33 Login Succeeded 04:20:33 ---> docker-login.sh ends [Pipeline] } 04:20:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:20:33 + git rev-list -1 --merges 274c96a3089376cd4a6ab8c9c701e19955d76f21~1..274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] echo 04:20:33 -----------> git rev-list -1 --merges 274c96a3089376cd4a6ab8c9c701e19955d76f21~1..274c96a3089376cd4a6ab8c9c701e19955d76f21 274c96a3089376cd4a6ab8c9c701e19955d76f21 04:20:33 274c96a3089376cd4a6ab8c9c701e19955d76f21 [false] [Pipeline] sh 04:20:34 + git log --format=format:%s -1 274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] echo 04:20:34 ========================================================= 04:20:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:20:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:34 + git log --format=format:%s -1 274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] echo 04:20:34 [semverPrep] GIT_COMMIT: 274c96a3089376cd4a6ab8c9c701e19955d76f21, Commit Message: Merge pull request #1188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.8 [Pipeline] echo 04:20:34 [semverPrep] This is not a build commit. [Pipeline] sh 04:20:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:20:34 + grep -v github /etc/ssh/ssh_known_hosts 04:20:34 + [ -e /tmp/ssh_known_hosts ] 04:20:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:20:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:20:34 + sudo tee -a /etc/ssh/ssh_known_hosts 04:20:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:35 04:20:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:20:35 42c077c10790: Pulling fs layer 04:20:35 f63e77b7563a: Pulling fs layer 04:20:35 bd5fdadae976: Pulling fs layer 04:20:35 205491f53016: Pulling fs layer 04:20:35 df18705c85c3: Pulling fs layer 04:20:35 bdb3f477010e: Pulling fs layer 04:20:35 c8a8fc8e1c8f: Pulling fs layer 04:20:35 2c6e9b1d212d: Pulling fs layer 04:20:35 bdb8f0575790: Pulling fs layer 04:20:35 386e3cb2ff24: Pulling fs layer 04:20:35 2343380bae48: Pulling fs layer 04:20:35 2c6e9b1d212d: Waiting 04:20:35 bdb8f0575790: Waiting 04:20:35 205491f53016: Waiting 04:20:35 df18705c85c3: Waiting 04:20:35 bdb3f477010e: Waiting 04:20:35 c8a8fc8e1c8f: Waiting 04:20:35 2343380bae48: Waiting 04:20:35 386e3cb2ff24: Waiting 04:20:35 f63e77b7563a: Verifying Checksum 04:20:35 f63e77b7563a: Download complete 04:20:35 205491f53016: Verifying Checksum 04:20:35 205491f53016: Download complete 04:20:35 df18705c85c3: Verifying Checksum 04:20:35 bdb3f477010e: Download complete 04:20:35 bd5fdadae976: Verifying Checksum 04:20:35 bd5fdadae976: Download complete 04:20:35 2c6e9b1d212d: Verifying Checksum 04:20:35 2c6e9b1d212d: Download complete 04:20:35 bdb8f0575790: Verifying Checksum 04:20:35 bdb8f0575790: Download complete 04:20:35 386e3cb2ff24: Verifying Checksum 04:20:35 386e3cb2ff24: Download complete 04:20:35 2343380bae48: Verifying Checksum 04:20:35 2343380bae48: Download complete 04:20:35 42c077c10790: Verifying Checksum 04:20:35 42c077c10790: Download complete 04:20:36 c8a8fc8e1c8f: Verifying Checksum 04:20:36 c8a8fc8e1c8f: Download complete 04:20:37 42c077c10790: Pull complete 04:20:37 f63e77b7563a: Pull complete 04:20:38 bd5fdadae976: Pull complete 04:20:38 205491f53016: Pull complete 04:20:38 df18705c85c3: Pull complete 04:20:38 bdb3f477010e: Pull complete 04:20:40 c8a8fc8e1c8f: Pull complete 04:20:40 2c6e9b1d212d: Pull complete 04:20:40 bdb8f0575790: Pull complete 04:20:40 386e3cb2ff24: Pull complete 04:20:40 2343380bae48: Pull complete 04:20:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:20:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:20:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:40 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:20:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:20:42 $ docker top a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 -eo pid,comm 04:20:42 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). 04:20:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:20:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:42 [ssh-agent] Looking for ssh-agent implementation... 04:20:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:42 $ docker exec a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 ssh-agent 04:20:42 SSH_AUTH_SOCK=/tmp/ssh-V7iTIYaPQ29I/agent.32 04:20:42 SSH_AGENT_PID=38 04:20:42 Running ssh-add (command line suppressed) 04:20:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8688905066368555325.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8688905066368555325.key) 04:20:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:43 + git tag --points-at HEAD [Pipeline] } 04:20:43 $ docker exec --env ******** --env ******** a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 ssh-agent -k 04:20:43 unset SSH_AUTH_SOCK; 04:20:43 unset SSH_AGENT_PID; 04:20:43 echo Agent pid 38 killed; 04:20:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:20:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:20:43 [ssh-agent] Looking for ssh-agent implementation... 04:20:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:20:43 $ docker exec a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 ssh-agent 04:20:43 SSH_AUTH_SOCK=/tmp/ssh-USGLnm8rzo5F/agent.71 04:20:43 SSH_AGENT_PID=77 04:20:43 Running ssh-add (command line suppressed) 04:20:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5189261416604855857.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5189261416604855857.key) 04:20:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:20:44 + git semver init 04:20:44 2022-07-05 04:20:44,515 [run_init] DEBUG init version:0.0.0 force:False 04:20:44 2022-07-05 04:20:44,516 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:20:44 2022-07-05 04:20:44,516 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:20:44 2022-07-05 04:20:44,517 [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) 04:20:45 2022-07-05 04:20:45,299 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:20:45 2022-07-05 04:20:45,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:20:45 2022-07-05 04:20:45,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:20:45 2022-07-05 04:20:45,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:20:45 2.2.1-dev.11 [Pipeline] } 04:20:45 $ docker exec --env ******** --env ******** a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 ssh-agent -k 04:20:45 unset SSH_AUTH_SOCK; 04:20:45 unset SSH_AGENT_PID; 04:20:45 echo Agent pid 77 killed; 04:20:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:20:45 + git semver [Pipeline] } 04:20:46 $ docker stop --time=1 a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 04:20:47 $ docker rm -f a004495038fb44d1455e93e47ea4d3af2036a29637ea5a224dff767b4fd7b701 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:20:48 Stashed 1 file(s) [Pipeline] echo 04:20:48 [edgeXSemver]: initialized semver on version 2.2.1-dev.11 [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 04:20:48 provisioning config files... 04:20:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1202109552571271195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:48 ---> docker-login.sh 04:20:48 nexus3.edgexfoundry.org:10001 04:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:48 Configure a credential helper to remove this warning. See 04:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:48 04:20:48 Login Succeeded 04:20:48 nexus3.edgexfoundry.org:10002 04:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:48 Configure a credential helper to remove this warning. See 04:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:48 04:20:48 Login Succeeded 04:20:48 nexus3.edgexfoundry.org:10003 04:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:48 Configure a credential helper to remove this warning. See 04:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:48 04:20:48 Login Succeeded 04:20:48 nexus3.edgexfoundry.org:10004 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 docker.io 04:20:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:20:49 Configure a credential helper to remove this warning. See 04:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:20:49 04:20:49 Login Succeeded 04:20:49 ---> docker-login.sh ends [Pipeline] } 04:20:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:20:49 ========================================================= 04:20:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:20:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:49 + 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 . 04:20:49 Sending build context to Docker daemon 9.673MB 04:20:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:20:49 Step 2/11 : FROM ${BASE} AS builder 04:20:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:20:49 59bf1c3509f3: Pulling fs layer 04:20:49 666ba61612fd: Pulling fs layer 04:20:49 8ed8ca486205: Pulling fs layer 04:20:49 cc1cd167ecdc: Pulling fs layer 04:20:49 c516ae0d96e1: Pulling fs layer 04:20:49 684cea983483: Pulling fs layer 04:20:49 dd3240ac7de5: Pulling fs layer 04:20:49 b1e948a4e11c: Pulling fs layer 04:20:49 a8fd76ee1af6: Pulling fs layer 04:20:49 646ad004c059: Pulling fs layer 04:20:49 cc1cd167ecdc: Waiting 04:20:49 b1e948a4e11c: Waiting 04:20:49 a8fd76ee1af6: Waiting 04:20:49 c516ae0d96e1: Waiting 04:20:49 646ad004c059: Waiting 04:20:49 684cea983483: Waiting 04:20:49 dd3240ac7de5: Waiting 04:20:49 8ed8ca486205: Verifying Checksum 04:20:49 8ed8ca486205: Download complete 04:20:50 c516ae0d96e1: Verifying Checksum 04:20:50 c516ae0d96e1: Download complete 04:20:50 684cea983483: Verifying Checksum 04:20:50 684cea983483: Download complete 04:20:50 59bf1c3509f3: Verifying Checksum 04:20:50 dd3240ac7de5: Verifying Checksum 04:20:50 dd3240ac7de5: Download complete 04:20:50 b1e948a4e11c: Verifying Checksum 04:20:50 b1e948a4e11c: Download complete 04:20:50 59bf1c3509f3: Pull complete 04:20:50 666ba61612fd: Pull complete 04:20:50 8ed8ca486205: Pull complete 04:20:50 646ad004c059: Verifying Checksum 04:20:50 646ad004c059: Download complete 04:20:50 cc1cd167ecdc: Verifying Checksum 04:20:50 cc1cd167ecdc: Download complete 04:20:50 a8fd76ee1af6: Download complete 04:20:55 cc1cd167ecdc: Pull complete 04:20:55 c516ae0d96e1: Pull complete 04:20:55 684cea983483: Pull complete 04:20:55 dd3240ac7de5: Pull complete 04:20:55 b1e948a4e11c: Pull complete 04:20:57 a8fd76ee1af6: Pull complete 04:20:58 646ad004c059: Pull complete 04:20:58 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:20:58 ---> 8f69c11f6b0c 04:20:58 Step 3/11 : ARG MAKE=make build 04:21:00 ---> Running in edada7d2586d 04:21:00 Removing intermediate container edada7d2586d 04:21:00 ---> b305e6f99e80 04:21:00 Step 4/11 : WORKDIR /device-sdk-go 04:21:00 ---> Running in 0b089e7e3468 04:21:00 Removing intermediate container 0b089e7e3468 04:21:00 ---> c705084604f0 04:21:00 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:21:00 ---> Running in cfcd75fa2cbe 04:21:00 Removing intermediate container cfcd75fa2cbe 04:21:00 ---> 8c1f8afb15d8 04:21:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:00 ---> Running in 45c6a817f674 04:21:01 Removing intermediate container 45c6a817f674 04:21:01 ---> 3c220a85c69d 04:21:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:21:01 ---> Running in ce53d1223784 04:21:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:21:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:21:03 OK: 221 MiB in 52 packages 04:21:03 Still waiting to schedule task 04:21:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:21:03 Removing intermediate container ce53d1223784 04:21:03 ---> 1ae7154e0f2b 04:21:03 Step 8/11 : COPY go.mod vendor* ./ 04:21:03 ---> 8fe93cb486e0 04:21:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:03 ---> Running in ef49698ecb0d 04:21:21 Removing intermediate container ef49698ecb0d 04:21:21 ---> 1636c4597d91 04:21:21 Step 10/11 : COPY . . 04:21:21 ---> 953d661e22a5 04:21:21 Step 11/11 : RUN ${MAKE} 04:21:21 ---> Running in 80d54fb24f5d 04:21:21 noop 04:21:21 Removing intermediate container 80d54fb24f5d 04:21:21 ---> 79e69ab074a1 04:21:21 Successfully built 79e69ab074a1 04:21:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:21 + docker inspect -f . ci-base-image-x86_64 04:21:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:21 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:21:21 $ 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 04:21:22 $ docker top e26fc3d785f098df47a9c6887db5643c1a1f1eab2ad01361683db4d02590d941 -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:22 + go version 04:21:22 go version go1.17.7 linux/amd64 [Pipeline] } 04:21:22 $ docker stop --time=1 e26fc3d785f098df47a9c6887db5643c1a1f1eab2ad01361683db4d02590d941 04:21:23 $ docker rm -f e26fc3d785f098df47a9c6887db5643c1a1f1eab2ad01361683db4d02590d941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:24 + docker inspect -f . ci-base-image-x86_64 04:21:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:24 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:21:24 $ 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 04:21:25 $ docker top f269a4ae7c6bd98a816431d9f4e581e55dd7a3339f7368a09bbbb0a0b7b2b593 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:21:25 + make test 04:21:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:21:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:21:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.103s coverage: 23.7% of statements 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:21:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 04:21:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements 04:21:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.093s coverage: 10.8% of statements 04:21:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:21:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:21:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.083s coverage: 34.8% of statements 04:21:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:21:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 85.4% of statements 04:21:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:21:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:21:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.110s coverage: 65.1% of statements 04:21:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.908s coverage: 89.2% of statements 04:21:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:21:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:21:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:22:03 GO111MODULE=on go vet ./... 04:22:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:22:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:22:05 ./bin/test-attribution-txt.sh [Pipeline] echo 04:22:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:22:06 $ docker stop --time=1 f269a4ae7c6bd98a816431d9f4e581e55dd7a3339f7368a09bbbb0a0b7b2b593 04:22:08 $ docker rm -f f269a4ae7c6bd98a816431d9f4e581e55dd7a3339f7368a09bbbb0a0b7b2b593 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:22:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:22:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:22:09 + ls -al . 04:22:09 total 304 04:22:09 drwxrwxr-x 11 jenkins jenkins 4096 Jul 5 04:22 . 04:22:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 04:20 .. 04:22:09 -rw-rw-r-- 1 jenkins jenkins 140 Jul 5 04:20 .dockerignore 04:22:09 drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 04:20 .git 04:22:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 04:20 .github 04:22:09 -rw-rw-r-- 1 jenkins jenkins 131 Jul 5 04:20 .gitignore 04:22:09 -rw-rw-r-- 1 jenkins jenkins 42 Jul 5 04:20 .golangci.yml 04:22:09 drwxr-xr-x 3 jenkins jenkins 4096 Jul 5 04:20 .semver 04:22:09 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 5 04:20 CHANGELOG.md 04:22:09 -rw-rw-r-- 1 jenkins jenkins 677 Jul 5 04:20 GOVERNANCE.md 04:22:09 -rw-rw-r-- 1 jenkins jenkins 880 Jul 5 04:20 Jenkinsfile 04:22:09 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 5 04:20 LICENSE 04:22:09 -rw-rw-r-- 1 jenkins jenkins 2015 Jul 5 04:20 Makefile 04:22:09 -rw-rw-r-- 1 jenkins jenkins 619 Jul 5 04:20 OWNERS.md 04:22:09 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 5 04:20 README.md 04:22:09 -rw-rw-r-- 1 jenkins jenkins 12 Jul 5 04:20 VERSION 04:22:09 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 04:20 bin 04:22:09 -rw-r--r-- 1 jenkins jenkins 131190 Jul 5 04:21 coverage.out 04:22:09 drwxrwxr-x 5 jenkins jenkins 4096 Jul 5 04:20 example 04:22:09 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 5 04:20 go.mod 04:22:09 -rw-rw-r-- 1 jenkins jenkins 35551 Jul 5 04:20 go.sum 04:22:09 drwxrwxr-x 15 jenkins jenkins 4096 Jul 5 04:20 internal 04:22:09 drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 04:20 openapi 04:22:09 drwxrwxr-x 5 jenkins jenkins 4096 Jul 5 04:20 pkg 04:22:09 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 04:20 snap 04:22:09 -rw-rw-r-- 1 jenkins jenkins 222 Jul 5 04:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:10 + 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=274c96a3089376cd4a6ab8c9c701e19955d76f21 --label arch=amd64 --label version=2.2.1-dev.11 . 04:22:10 Sending build context to Docker daemon 9.805MB 04:22:10 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:22:10 Step 2/25 : FROM ${BASE} AS builder 04:22:10 ---> 79e69ab074a1 04:22:10 Step 3/25 : ARG MAKE=make build 04:22:10 ---> Running in b30864997178 04:22:10 Removing intermediate container b30864997178 04:22:10 ---> 0510af485157 04:22:10 Step 4/25 : WORKDIR /device-sdk-go 04:22:10 ---> Running in 3f6bde724e41 04:22:10 Removing intermediate container 3f6bde724e41 04:22:10 ---> dd388a5ee818 04:22:10 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:10 ---> Running in c2ce24ce2a0b 04:22:10 Removing intermediate container c2ce24ce2a0b 04:22:10 ---> 45674824377d 04:22:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:10 ---> Running in 31383a8cc514 04:22:11 Removing intermediate container 31383a8cc514 04:22:11 ---> 73bb253c74cc 04:22:11 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:22:11 ---> Running in 4f3e7cf1f376 04:22:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:22:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:22:12 OK: 221 MiB in 52 packages 04:22:13 Removing intermediate container 4f3e7cf1f376 04:22:13 ---> dafc78981545 04:22:13 Step 8/25 : COPY go.mod vendor* ./ 04:22:13 ---> 3009f027fe50 04:22:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:13 ---> Running in a68eef0c3558 04:22:14 Removing intermediate container a68eef0c3558 04:22:14 ---> 6f293561a5aa 04:22:14 Step 10/25 : COPY . . 04:22:14 ---> 8f73c9eddfdc 04:22:14 Step 11/25 : RUN ${MAKE} 04:22:14 ---> Running in d446347145a5 04:22:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.11" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:22:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:22:35 Removing intermediate container d446347145a5 04:22:35 ---> b44b73194d4b 04:22:35 Step 12/25 : FROM alpine:3.14 04:22:35 3.14: Pulling from library/alpine 04:22:35 8663204ce13b: Pulling fs layer 04:22:36 8663204ce13b: Verifying Checksum 04:22:36 8663204ce13b: Download complete 04:22:36 8663204ce13b: Pull complete 04:22:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:22:36 Status: Downloaded newer image for alpine:3.14 04:22:36 ---> e04c818066af 04:22:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:36 ---> Running in 61254cc7485b 04:22:36 Removing intermediate container 61254cc7485b 04:22:36 ---> a9d8db10b03b 04:22:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:36 ---> Running in 6fd2746af164 04:22:36 Removing intermediate container 6fd2746af164 04:22:36 ---> 44d04e8a8bdd 04:22:36 Step 15/25 : RUN apk add --update --no-cache zeromq 04:22:36 ---> Running in dadf14e64471 04:22:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:22:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16929 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:22:37 Running in /w/workspace/device-sdk-go/86 [Pipeline] { [Pipeline] checkout 04:22:37 The recommended git tool is: git 04:22:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:22:38 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:22:38 (2/5) Installing libsodium (1.0.18-r0) 04:22:38 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:22:38 (4/5) Installing libzmq (4.3.4-r0) 04:22:38 (5/5) Installing zeromq (4.3.4-r0) 04:22:38 Executing busybox-1.33.1-r7.trigger 04:22:38 OK: 8 MiB in 19 packages 04:22:39 Removing intermediate container dadf14e64471 04:22:39 ---> d8a189122d0f 04:22:39 Step 16/25 : WORKDIR / 04:22:39 ---> Running in c00a656b367b 04:22:39 Removing intermediate container c00a656b367b 04:22:39 ---> 5a6fef6a5f6f 04:22:39 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:39 ---> 7c7542f5f77a 04:22:39 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:40 ---> 84eedfacf1ef 04:22:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:40 ---> 214fc4b0bbe0 04:22:40 Step 20/25 : EXPOSE 59999 04:22:40 ---> Running in a3fbdb88d6a4 04:22:40 Removing intermediate container a3fbdb88d6a4 04:22:40 ---> 5a28256217e2 04:22:40 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:22:40 ---> Running in 0951a2ce70a0 04:22:40 Removing intermediate container 0951a2ce70a0 04:22:40 ---> a8adcffe0a8f 04:22:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:22:40 ---> Running in 56b64de46d17 04:22:40 Removing intermediate container 56b64de46d17 04:22:40 ---> 8d36f760bec1 04:22:40 Step 23/25 : LABEL arch=amd64 04:22:40 ---> Running in f36501b6b956 04:22:40 Removing intermediate container f36501b6b956 04:22:40 ---> 28a048a6698a 04:22:40 Step 24/25 : LABEL git_sha=274c96a3089376cd4a6ab8c9c701e19955d76f21 04:22:41 ---> Running in 23121d63315e 04:22:41 Removing intermediate container 23121d63315e 04:22:41 ---> e1ee04b28e75 04:22:41 Step 25/25 : LABEL version=2.2.1-dev.11 04:22:41 ---> Running in 841339691de3 04:22:41 Removing intermediate container 841339691de3 04:22:41 ---> 9a72155b56bf 04:22:41 [Warning] One or more build-args [ARCH] were not consumed 04:22:41 Successfully built 9a72155b56bf 04:22:41 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 04:22:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:41 04:22:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:42 latest: Pulling from edgex-lftools-log-publisher 04:22:42 5eb5b503b376: Pulling fs layer 04:22:42 5c69ac0246d0: Pulling fs layer 04:22:42 ec43610c2a17: Pulling fs layer 04:22:42 3a2ae6a8a46f: Pulling fs layer 04:22:42 33b1e0a273af: Pulling fs layer 04:22:42 5d3b04190fa2: Pulling fs layer 04:22:42 3a2ae6a8a46f: Waiting 04:22:42 33b1e0a273af: Waiting 04:22:42 2f39f015ded8: Pulling fs layer 04:22:42 5d3b04190fa2: Waiting 04:22:42 2f39f015ded8: Waiting 04:22:42 5c69ac0246d0: Verifying Checksum 04:22:42 5c69ac0246d0: Download complete 04:22:42 3a2ae6a8a46f: Download complete 04:22:42 33b1e0a273af: Verifying Checksum 04:22:42 33b1e0a273af: Download complete 04:22:42 ec43610c2a17: Verifying Checksum 04:22:42 ec43610c2a17: Download complete 04:22:42 5d3b04190fa2: Download complete 04:22:42 5eb5b503b376: Verifying Checksum 04:22:42 5eb5b503b376: Download complete 04:22:42 2f39f015ded8: Verifying Checksum 04:22:42 2f39f015ded8: Download complete 04:22:43 using credential edgex-jenkins-ssh 04:22:43 Cloning the remote Git repository 04:22:43 5eb5b503b376: Pull complete 04:22:43 5c69ac0246d0: Pull complete 04:22:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:22:43 > git init /w/workspace/device-sdk-go/86 # timeout=10 04:22:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:43 > git --version # timeout=10 04:22:43 > git --version # 'git version 2.25.1' 04:22:43 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:44 ec43610c2a17: Pull complete 04:22:44 3a2ae6a8a46f: Pull complete 04:22:44 33b1e0a273af: Pull complete 04:22:44 5d3b04190fa2: Pull complete 04:22:45 Avoid second fetch 04:22:45 Checking out Revision 274c96a3089376cd4a6ab8c9c701e19955d76f21 (main) 04:22:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:45 > git config core.sparsecheckout # timeout=10 04:22:45 > git checkout -f 274c96a3089376cd4a6ab8c9c701e19955d76f21 # timeout=10 04:22:48 2f39f015ded8: Pull complete 04:22:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:49 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:22:49 $ 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 04:22:50 $ docker top 974cfc49fdf19d186c2944a0e63d95c0953772f6ee74e7d4a5f0c58e10fe3f78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:50 Commit message: "Merge pull request #1188 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.1-dev.8" 04:22:51 ---> job-cost.sh 04:22:51 lf-activate-venv: SKIPPING 04:22:51 INFO: No Stack... 04:22:51 04:22:51 GitHub has been notified of this commit’s build result 04:22:51 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:51 Dload Upload Total Spent Left Speed 04:22:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 45720 0 --:--:-- --:--:-- --:--:-- 45720 04:22:51 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 04:22:52 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:22:52 + cut -d, -f6 [Pipeline] lock 04:22:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] 04:22:52 Resource [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] did not exist. Created. 04:22:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:52 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:52 Stashed 1 file(s) [Pipeline] } 04:22:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:52 $ docker stop --time=1 974cfc49fdf19d186c2944a0e63d95c0953772f6ee74e7d4a5f0c58e10fe3f78 04:22:52 + sudo tee /etc/docker/daemon.new 04:22:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:52 { 04:22:52 "registry-mirrors": [ 04:22:52 "https://nexus3.edgexfoundry.org:10001" 04:22:52 ], 04:22:52 "bip": "10.250.0.254/24", 04:22:52 "hosts": [ 04:22:52 "tcp://0.0.0.0:5555", 04:22:52 "unix:///var/run/docker.sock" 04:22:52 ], 04:22:52 "mtu": 1458, 04:22:52 "selinux-enabled": true, 04:22:52 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:52 } 04:22:53 $ docker rm -f 974cfc49fdf19d186c2944a0e63d95c0953772f6ee74e7d4a5f0c58e10fe3f78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:22:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:13 provisioning config files... 04:23:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/86@tmp/config1416503480977114413tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:13 ---> docker-login.sh 04:23:13 nexus3.edgexfoundry.org:10001 04:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:14 Configure a credential helper to remove this warning. See 04:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:14 04:23:14 Login Succeeded 04:23:14 nexus3.edgexfoundry.org:10002 04:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:14 Configure a credential helper to remove this warning. See 04:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:14 04:23:14 Login Succeeded 04:23:14 nexus3.edgexfoundry.org:10003 04:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:15 Configure a credential helper to remove this warning. See 04:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:15 04:23:15 Login Succeeded 04:23:15 nexus3.edgexfoundry.org:10004 04:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:15 Configure a credential helper to remove this warning. See 04:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:15 04:23:15 Login Succeeded 04:23:15 docker.io 04:23:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:23:16 Configure a credential helper to remove this warning. See 04:23:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:23:16 04:23:16 Login Succeeded 04:23:16 ---> docker-login.sh ends [Pipeline] } 04:23:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:23:16 ========================================================= 04:23:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:23:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:17 + 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 . 04:23:17 Sending build context to Docker daemon 5.179MB 04:23:17 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:23:17 Step 2/11 : FROM ${BASE} AS builder 04:23:17 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:23:17 9b3977197b4f: Pulling fs layer 04:23:17 1a89e8eeedd5: Pulling fs layer 04:23:17 94645a83ff95: Pulling fs layer 04:23:17 e6fb740bc735: Pulling fs layer 04:23:17 3a77bd46dcc9: Pulling fs layer 04:23:17 355e64cbe906: Pulling fs layer 04:23:17 63ab81a10011: Pulling fs layer 04:23:17 555d1d1c4555: Pulling fs layer 04:23:17 7d9057610161: Pulling fs layer 04:23:17 e6fb740bc735: Waiting 04:23:17 3a77bd46dcc9: Waiting 04:23:17 355e64cbe906: Waiting 04:23:17 63ab81a10011: Waiting 04:23:17 555d1d1c4555: Waiting 04:23:17 7d9057610161: Waiting 04:23:17 94645a83ff95: Verifying Checksum 04:23:17 94645a83ff95: Download complete 04:23:17 1a89e8eeedd5: Verifying Checksum 04:23:17 1a89e8eeedd5: Download complete 04:23:17 3a77bd46dcc9: Verifying Checksum 04:23:17 3a77bd46dcc9: Download complete 04:23:17 355e64cbe906: Download complete 04:23:17 9b3977197b4f: Verifying Checksum 04:23:17 9b3977197b4f: Download complete 04:23:18 63ab81a10011: Verifying Checksum 04:23:18 63ab81a10011: Download complete 04:23:19 7d9057610161: Verifying Checksum 04:23:19 7d9057610161: Download complete 04:23:19 9b3977197b4f: Pull complete 04:23:19 1a89e8eeedd5: Pull complete 04:23:19 94645a83ff95: Pull complete 04:23:20 555d1d1c4555: Verifying Checksum 04:23:20 555d1d1c4555: Download complete 04:23:20 e6fb740bc735: Download complete 04:23:33 e6fb740bc735: Pull complete 04:23:33 3a77bd46dcc9: Pull complete 04:23:33 355e64cbe906: Pull complete 04:23:33 63ab81a10011: Pull complete 04:23:40 555d1d1c4555: Pull complete 04:23:41 7d9057610161: Pull complete 04:23:41 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:23:41 ---> 819e984ddca1 04:23:41 Step 3/11 : ARG MAKE=make build 04:23:43 ---> Running in 3d46192c1cb2 04:23:43 Removing intermediate container 3d46192c1cb2 04:23:43 ---> 2989fdd0d549 04:23:43 Step 4/11 : WORKDIR /device-sdk-go 04:23:43 ---> Running in b16391bf97ca 04:23:44 Removing intermediate container b16391bf97ca 04:23:44 ---> 4dc4d5b8aae0 04:23:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:23:44 ---> Running in 8d7ab21d39f7 04:23:44 Removing intermediate container 8d7ab21d39f7 04:23:44 ---> 25b395c71900 04:23:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:44 ---> Running in 62aaca080b83 04:23:46 Removing intermediate container 62aaca080b83 04:23:46 ---> 34b72656e23d 04:23:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:23:46 ---> Running in acfe760e05f1 04:23:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:23:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:23:48 OK: 220 MiB in 52 packages 04:23:49 Removing intermediate container acfe760e05f1 04:23:49 ---> 6aa5ad9e66d2 04:23:49 Step 8/11 : COPY go.mod vendor* ./ 04:23:50 ---> 39b7c7da28b8 04:23:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:50 ---> Running in f026d6efff9b 04:24:37 Removing intermediate container f026d6efff9b 04:24:37 ---> f18a946b868f 04:24:37 Step 10/11 : COPY . . 04:24:37 ---> 361c14afa009 04:24:37 Step 11/11 : RUN ${MAKE} 04:24:37 ---> Running in 0b84194f68db 04:24:37 noop 04:24:37 Removing intermediate container 0b84194f68db 04:24:37 ---> d2b1201e9187 04:24:37 Successfully built d2b1201e9187 04:24:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:37 + docker inspect -f . ci-base-image-arm64 04:24:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:38 prd-ubuntu20.04-docker-arm64-4c-16g-16929 does not seem to be running inside a container 04:24:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/86 -v /w/workspace/device-sdk-go/86:/w/workspace/device-sdk-go/86:rw,z -v /w/workspace/device-sdk-go/86@tmp:/w/workspace/device-sdk-go/86@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-arm64 cat 04:24:39 $ docker top 6cc6c0a2e8ad56be225ae5a4f70b00196b0d06b628c96b1d4c0ea68982e14842 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:40 + go version 04:24:40 go version go1.17.7 linux/arm64 [Pipeline] } 04:24:40 $ docker stop --time=1 6cc6c0a2e8ad56be225ae5a4f70b00196b0d06b628c96b1d4c0ea68982e14842 04:24:42 $ docker rm -f 6cc6c0a2e8ad56be225ae5a4f70b00196b0d06b628c96b1d4c0ea68982e14842 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:42 + docker inspect -f . ci-base-image-arm64 04:24:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:43 prd-ubuntu20.04-docker-arm64-4c-16g-16929 does not seem to be running inside a container 04:24:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/86 -v /w/workspace/device-sdk-go/86:/w/workspace/device-sdk-go/86:rw,z -v /w/workspace/device-sdk-go/86@tmp:/w/workspace/device-sdk-go/86@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-arm64 cat 04:24:44 $ docker top 755ec3d213501a79140b86131bf65fc4f5214bc74319b8ffe93b8ef576793c2d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:24:45 + make test 04:24:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:25:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:26:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:26:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:26:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:27:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.471s coverage: 23.7% of statements 04:27:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:27:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.262s coverage: 27.6% of statements 04:27:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.331s coverage: 78.9% of statements 04:27:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.249s coverage: 10.8% of statements 04:27:03 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.560s coverage: 60.0% of statements 04:27:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:27:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:27:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.487s coverage: 34.8% of statements 04:27:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:27:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.280s coverage: 85.4% of statements 04:27:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:27:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:27:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.447s coverage: 65.1% of statements 04:27:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.143s coverage: 89.2% of statements 04:27:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.7% of statements 04:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:27:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:27:13 GO111MODULE=on go vet ./... 04:28:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:35 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:28:36 $ docker stop --time=1 755ec3d213501a79140b86131bf65fc4f5214bc74319b8ffe93b8ef576793c2d 04:28:38 $ docker rm -f 755ec3d213501a79140b86131bf65fc4f5214bc74319b8ffe93b8ef576793c2d [Pipeline] // withDockerContainer [Pipeline] sh 04:28:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:40 Warning: overwriting stash ‘coverage-report’ 04:28:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:28:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:41 + ls -al . 04:28:41 total 300 04:28:41 drwxrwxr-x 10 jenkins jenkins 4096 Jul 5 04:28 . 04:28:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 04:22 .. 04:28:41 -rw-rw-r-- 1 jenkins jenkins 140 Jul 5 04:22 .dockerignore 04:28:41 drwxrwxr-x 8 jenkins jenkins 4096 Jul 5 04:22 .git 04:28:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 04:22 .github 04:28:41 -rw-rw-r-- 1 jenkins jenkins 131 Jul 5 04:22 .gitignore 04:28:41 -rw-rw-r-- 1 jenkins jenkins 42 Jul 5 04:22 .golangci.yml 04:28:41 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 5 04:22 CHANGELOG.md 04:28:41 -rw-rw-r-- 1 jenkins jenkins 677 Jul 5 04:22 GOVERNANCE.md 04:28:41 -rw-rw-r-- 1 jenkins jenkins 880 Jul 5 04:22 Jenkinsfile 04:28:41 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 5 04:22 LICENSE 04:28:41 -rw-rw-r-- 1 jenkins jenkins 2015 Jul 5 04:22 Makefile 04:28:41 -rw-rw-r-- 1 jenkins jenkins 619 Jul 5 04:22 OWNERS.md 04:28:41 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 5 04:22 README.md 04:28:41 -rw-rw-r-- 1 jenkins jenkins 12 Jul 5 04:20 VERSION 04:28:41 drwxrwxr-x 2 jenkins jenkins 4096 Jul 5 04:22 bin 04:28:41 -rw-r--r-- 1 jenkins jenkins 131190 Jul 5 04:27 coverage.out 04:28:41 drwxrwxr-x 5 jenkins jenkins 4096 Jul 5 04:22 example 04:28:41 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 5 04:22 go.mod 04:28:41 -rw-rw-r-- 1 jenkins jenkins 35551 Jul 5 04:22 go.sum 04:28:41 drwxrwxr-x 15 jenkins jenkins 4096 Jul 5 04:22 internal 04:28:41 drwxrwxr-x 3 jenkins jenkins 4096 Jul 5 04:22 openapi 04:28:41 drwxrwxr-x 5 jenkins jenkins 4096 Jul 5 04:22 pkg 04:28:41 drwxrwxr-x 4 jenkins jenkins 4096 Jul 5 04:22 snap 04:28:41 -rw-rw-r-- 1 jenkins jenkins 222 Jul 5 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:41 + 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=274c96a3089376cd4a6ab8c9c701e19955d76f21 --label arch=arm64 --label version=2.2.1-dev.11 . 04:28:42 Sending build context to Docker daemon 5.311MB 04:28:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:28:42 Step 2/25 : FROM ${BASE} AS builder 04:28:42 ---> d2b1201e9187 04:28:42 Step 3/25 : ARG MAKE=make build 04:28:42 ---> Running in 6ee59fb26ceb 04:28:42 Removing intermediate container 6ee59fb26ceb 04:28:42 ---> cbcde0ee699d 04:28:42 Step 4/25 : WORKDIR /device-sdk-go 04:28:42 ---> Running in 762eb3dd5b1a 04:28:43 Removing intermediate container 762eb3dd5b1a 04:28:43 ---> 0de1c7cbbede 04:28:43 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:43 ---> Running in 72b141826d9d 04:28:43 Removing intermediate container 72b141826d9d 04:28:43 ---> a54c18b18bf0 04:28:43 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:43 ---> Running in db125d163efd 04:28:45 Removing intermediate container db125d163efd 04:28:45 ---> bf8c71e4b753 04:28:45 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:28:45 ---> Running in 50395b16958b 04:28:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:28:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:28:48 OK: 220 MiB in 52 packages 04:28:49 Removing intermediate container 50395b16958b 04:28:49 ---> 243aca8a9f3f 04:28:49 Step 8/25 : COPY go.mod vendor* ./ 04:28:49 ---> a3b291537732 04:28:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:49 ---> Running in 0bb75bb5f9d0 04:28:51 Removing intermediate container 0bb75bb5f9d0 04:28:51 ---> c29b02f512eb 04:28:51 Step 10/25 : COPY . . 04:28:52 ---> e5fe9cb2f56f 04:28:52 Step 11/25 : RUN ${MAKE} 04:28:52 ---> Running in ae5cbd03c053 04:28:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.11" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:30:45 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:30:49 Removing intermediate container ae5cbd03c053 04:30:49 ---> 16d73344c2f1 04:30:49 Step 12/25 : FROM alpine:3.14 04:30:49 3.14: Pulling from library/alpine 04:30:50 455c02918c45: Pulling fs layer 04:30:50 455c02918c45: Download complete 04:30:50 455c02918c45: Pull complete 04:30:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:30:50 Status: Downloaded newer image for alpine:3.14 04:30:50 ---> ac73e934f311 04:30:50 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:30:50 ---> Running in c7809765d02f 04:30:51 Removing intermediate container c7809765d02f 04:30:51 ---> a8d53b96a7c1 04:30:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:30:51 ---> Running in 0c27d4543fa9 04:30:53 Removing intermediate container 0c27d4543fa9 04:30:53 ---> 30b8824d35c2 04:30:53 Step 15/25 : RUN apk add --update --no-cache zeromq 04:30:53 ---> Running in f58b57d9e6ab 04:30:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:30:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:30:55 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:30:55 (2/5) Installing libsodium (1.0.18-r0) 04:30:55 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:30:56 (4/5) Installing libzmq (4.3.4-r0) 04:30:56 (5/5) Installing zeromq (4.3.4-r0) 04:30:56 Executing busybox-1.33.1-r7.trigger 04:30:56 OK: 8 MiB in 19 packages 04:30:57 Removing intermediate container f58b57d9e6ab 04:30:57 ---> 251fb8e8c5c5 04:30:57 Step 16/25 : WORKDIR / 04:30:57 ---> Running in 4beb65944693 04:30:57 Removing intermediate container 4beb65944693 04:30:57 ---> 81cb74bf1f87 04:30:57 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:30:57 ---> 6dce2fdc4b45 04:30:57 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:30:59 ---> 433ba9a8391c 04:30:59 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:30:59 ---> 57657e7860c0 04:30:59 Step 20/25 : EXPOSE 59999 04:30:59 ---> Running in 1e2a75b4445d 04:31:00 Removing intermediate container 1e2a75b4445d 04:31:00 ---> 962082345b32 04:31:00 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:31:00 ---> Running in 74402665a0ec 04:31:00 Removing intermediate container 74402665a0ec 04:31:00 ---> d247ba409e73 04:31:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:31:00 ---> Running in eab307212fa4 04:31:01 Removing intermediate container eab307212fa4 04:31:01 ---> 4e89be4877f3 04:31:01 Step 23/25 : LABEL arch=arm64 04:31:01 ---> Running in e29f3434591e 04:31:01 Removing intermediate container e29f3434591e 04:31:01 ---> 796e4eea0b07 04:31:01 Step 24/25 : LABEL git_sha=274c96a3089376cd4a6ab8c9c701e19955d76f21 04:31:01 ---> Running in 321e4c999101 04:31:01 Removing intermediate container 321e4c999101 04:31:01 ---> c979a9c93c70 04:31:01 Step 25/25 : LABEL version=2.2.1-dev.11 04:31:01 ---> Running in 2e9dc4f9a026 04:31:02 Removing intermediate container 2e9dc4f9a026 04:31:02 ---> aaed7f387c78 04:31:02 [Warning] One or more build-args [ARCH] were not consumed 04:31:02 Successfully built aaed7f387c78 04:31:02 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 04:31:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:31:02 04:31:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:31:03 arm64: Pulling from edgex-lftools-log-publisher 04:31:03 8998bd30e6a1: Pulling fs layer 04:31:03 04944245beec: Pulling fs layer 04:31:03 699f458cf7ca: Pulling fs layer 04:31:03 765212b225bb: Pulling fs layer 04:31:03 f23df028b6ca: Pulling fs layer 04:31:03 d65c8cfc05b1: Pulling fs layer 04:31:03 2437ff75d9bd: Pulling fs layer 04:31:03 765212b225bb: Waiting 04:31:03 f23df028b6ca: Waiting 04:31:03 d65c8cfc05b1: Waiting 04:31:03 2437ff75d9bd: Waiting 04:31:03 04944245beec: Verifying Checksum 04:31:03 04944245beec: Download complete 04:31:03 765212b225bb: Verifying Checksum 04:31:03 765212b225bb: Download complete 04:31:03 f23df028b6ca: Verifying Checksum 04:31:03 f23df028b6ca: Download complete 04:31:03 d65c8cfc05b1: Verifying Checksum 04:31:03 d65c8cfc05b1: Download complete 04:31:03 699f458cf7ca: Verifying Checksum 04:31:03 699f458cf7ca: Download complete 04:31:04 8998bd30e6a1: Download complete 04:31:06 2437ff75d9bd: Verifying Checksum 04:31:06 2437ff75d9bd: Download complete 04:31:08 8998bd30e6a1: Pull complete 04:31:08 04944245beec: Pull complete 04:31:09 699f458cf7ca: Pull complete 04:31:09 765212b225bb: Pull complete 04:31:10 f23df028b6ca: Pull complete 04:31:10 d65c8cfc05b1: Pull complete 04:31:25 2437ff75d9bd: Pull complete 04:31:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:31:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:31:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:25 prd-ubuntu20.04-docker-arm64-4c-16g-16929 does not seem to be running inside a container 04:31:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/86 -v /w/workspace/device-sdk-go/86:/w/workspace/device-sdk-go/86:rw,z -v /w/workspace/device-sdk-go/86@tmp:/w/workspace/device-sdk-go/86@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:arm64 cat 04:31:28 $ docker top 46848ab3d0e6c04da532179ba678a96aabaf804042aef4b19909b606e08bc656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:29 ---> job-cost.sh 04:31:29 lf-activate-venv: SKIPPING 04:31:29 INFO: No Stack... 04:31:29 INFO: Retrieving Pricing Info for: v3-standard-4 04:31:30 INFO: Archiving Costs [Pipeline] sh 04:31:31 + cat /w/workspace/device-sdk-go/86/archives/cost.csv 04:31:31 + cut -d, -f6 [Pipeline] lock 04:31:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] 04:31:31 Resource [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] did not exist. Created. 04:31:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:31:31 /w/workspace/device-sdk-go/86@tmp/durable-00908848/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:31:32 + echo total: 0.10999999940395355 [Pipeline] stash 04:31:32 Warning: overwriting stash ‘stack-cost’ 04:31:32 Stashed 1 file(s) [Pipeline] } 04:31:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-86-stack-cost] [Pipeline] // lock [Pipeline] } 04:31:32 $ docker stop --time=1 46848ab3d0e6c04da532179ba678a96aabaf804042aef4b19909b606e08bc656 04:31:34 $ docker rm -f 46848ab3d0e6c04da532179ba678a96aabaf804042aef4b19909b606e08bc656 [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 04:31:34 provisioning config files... 04:31:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2253822629716577120tmp [Pipeline] { [Pipeline] sh 04:31:34 + set +x 04:31:34 + curl -s https://codecov.io/bash 04:31:34 + bash -s -- 04:31:34 04:31:34 _____ _ 04:31:34 / ____| | | 04:31:34 | | ___ __| | ___ ___ _____ __ 04:31:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:31:34 | |___| (_) | (_| | __/ (_| (_) \ V / 04:31:34 \_____\___/ \__,_|\___|\___\___/ \_/ 04:31:34 Bash-1.0.6 04:31:34 04:31:34 04:31:34 ==> git version 2.25.1 found 04:31:34 ==> 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 04:31:34 Release-Date: 2020-01-08 04:31:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:31:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:31:34 ==> Jenkins CI detected. 04:31:34 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:31:34 project root: . 04:31:34 --> token set from env 04:31:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:31:34 ==> Running gcov in . (disable via -X gcov) 04:31:34 ==> Python coveragepy not found 04:31:34 ==> Searching for coverage reports in: 04:31:34 + . 04:31:34 -> Found 1 reports 04:31:34 ==> Detecting git/mercurial file structure 04:31:34 ==> Reading reports 04:31:35 + ./coverage.out bytes=131190 04:31:35 ==> Appending adjustments 04:31:35 https://docs.codecov.io/docs/fixing-reports 04:31:35 + Found adjustments 04:31:35 ==> Gzipping contents 04:31:35 20K /tmp/codecov.DZSIbU.gz 04:31:35 ==> Uploading reports 04:31:35 url: https://codecov.io 04:31:35 query: branch=main&commit=274c96a3089376cd4a6ab8c9c701e19955d76f21&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:31:35 -> Pinging Codecov 04:31:35 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=274c96a3089376cd4a6ab8c9c701e19955d76f21&build=86&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F86%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:31:35 -> Uploading to 04:31:35 https://storage.googleapis.com/codecov/v4/raw/2022-07-05/7E55EF52A471D76F132DFD9A03CDDE97/274c96a3089376cd4a6ab8c9c701e19955d76f21/6de87762-d565-4708-b4c2-df9b90331f48.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220705%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220705T043135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88756bbb4ce1bf2f94d3dcc7176185d080ec91edcff24a83fbeb07dca1bb221a 04:31:35 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:35 Dload Upload Total Spent Left Speed 04:31:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16854 0 0 100 16854 0 54367 --:--:-- --:--:-- --:--:-- 54367 04:31:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] } 04:31:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:31:36 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:31:36 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:36 04:31:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:31:36 df9b9388f04a: Pulling fs layer 04:31:36 52dc419b0ee2: Pulling fs layer 04:31:36 25bc292e5bac: Pulling fs layer 04:31:36 114826534d7a: Pulling fs layer 04:31:36 4657fd5d0bcf: Pulling fs layer 04:31:36 6ad1cebc031e: Pulling fs layer 04:31:36 8a3aa393b2d8: Pulling fs layer 04:31:36 114826534d7a: Waiting 04:31:36 4657fd5d0bcf: Waiting 04:31:36 8a3aa393b2d8: Waiting 04:31:36 6ad1cebc031e: Waiting 04:31:36 25bc292e5bac: Verifying Checksum 04:31:36 25bc292e5bac: Download complete 04:31:36 52dc419b0ee2: Verifying Checksum 04:31:36 52dc419b0ee2: Download complete 04:31:36 4657fd5d0bcf: Verifying Checksum 04:31:36 4657fd5d0bcf: Download complete 04:31:36 df9b9388f04a: Verifying Checksum 04:31:36 df9b9388f04a: Download complete 04:31:37 6ad1cebc031e: Verifying Checksum 04:31:37 6ad1cebc031e: Download complete 04:31:37 df9b9388f04a: Pull complete 04:31:37 52dc419b0ee2: Pull complete 04:31:37 25bc292e5bac: Pull complete 04:31:37 114826534d7a: Download complete 04:31:37 8a3aa393b2d8: Verifying Checksum 04:31:37 8a3aa393b2d8: Download complete 04:31:41 114826534d7a: Pull complete 04:31:41 4657fd5d0bcf: Pull complete 04:31:41 6ad1cebc031e: Pull complete 04:31:44 8a3aa393b2d8: Pull complete 04:31:44 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:31:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:31:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:44 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:31:44 $ 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 04:31:46 $ docker top de9d0b1cffbdb19b3177844c4a55601f896ea0acd73a63afd5cddf98c12a4c27 -eo pid,comm [Pipeline] { [Pipeline] echo 04:31:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:31:47 + set -o pipefail 04:31:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:31:52 04:31:52 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 04:31:52 04:31:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/01d76924-99f7-4780-9236-249631fa0299 04:31:52 04:31:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:31:52 04:31:52 04:31:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:31:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:31:52 $ docker stop --time=1 de9d0b1cffbdb19b3177844c4a55601f896ea0acd73a63afd5cddf98c12a4c27 04:31:54 $ docker rm -f de9d0b1cffbdb19b3177844c4a55601f896ea0acd73a63afd5cddf98c12a4c27 [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 04:31:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:31:55 provisioning config files... 04:31:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6589393902673784684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:31:55 --> edgex-publish-swagger.sh 04:31:55 === Publish openapi/v2 API === 04:31:55 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:31:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 04:31:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:31:55 Dload Upload Total Spent Left Speed 04:31:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 225k --:--:-- --:--:-- --:--:-- 224k 100 53552 0 0 100 53552 0 84333 --:--:-- --:--:-- --:--:-- 84201 04:31:56 04:31:56 [Pipeline] } 04:31:56 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 04:31:56 + git log --format=format:%s -1 274c96a3089376cd4a6ab8c9c701e19955d76f21 [Pipeline] sh 04:31:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:31:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:31:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:31:57 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:31:57 $ 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 04:31:57 $ docker top 97d35be8420ca8540870a23ea72be46477c87ff43bfa679adf81debcc86f8d45 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:31:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:31:57 [ssh-agent] Looking for ssh-agent implementation... 04:31:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:31:58 $ docker exec 97d35be8420ca8540870a23ea72be46477c87ff43bfa679adf81debcc86f8d45 ssh-agent 04:31:58 SSH_AUTH_SOCK=/tmp/ssh-qfCTXOybXq66/agent.33 04:31:58 SSH_AGENT_PID=39 04:31:58 Running ssh-add (command line suppressed) 04:31:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2054619958831031349.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2054619958831031349.key) 04:31:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:31:58 + git semver tag 04:31:58 2022-07-05 04:31:58,809 [run_tag] DEBUG tag force:False 04:31:58 2022-07-05 04:31:58,809 [check_head_tag] DEBUG check head tag 04:31:58 2022-07-05 04:31:58,809 [execute] INFO git cat-file --batch-check 04:31:58 2022-07-05 04:31:58,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:31:58 2022-07-05 04:31:58,813 [execute] INFO git cat-file --batch 04:31:58 2022-07-05 04:31:58,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:31:58 2022-07-05 04:31:58,825 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:58 2022-07-05 04:31:58,825 [execute] INFO git tag -a v2.2.1-dev.11 -m v2.2.1-dev.11 04:31:58 2022-07-05 04:31:58,825 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.11', '-m', 'v2.2.1-dev.11'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:31:58 2022-07-05 04:31:58,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:31:58 2.2.1-dev.11 [Pipeline] } 04:31:58 $ docker exec --env ******** --env ******** 97d35be8420ca8540870a23ea72be46477c87ff43bfa679adf81debcc86f8d45 ssh-agent -k 04:31:58 unset SSH_AUTH_SOCK; 04:31:58 unset SSH_AGENT_PID; 04:31:58 echo Agent pid 39 killed; 04:31:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:31:59 + git semver [Pipeline] } 04:31:59 $ docker stop --time=1 97d35be8420ca8540870a23ea72be46477c87ff43bfa679adf81debcc86f8d45 04:32:00 $ docker rm -f 97d35be8420ca8540870a23ea72be46477c87ff43bfa679adf81debcc86f8d45 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:32:01 04:32:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:32:01 0.23.1-centos7: Pulling from edgex-lftools 04:32:01 ab5ef0e58194: Pulling fs layer 04:32:01 9712f1f96733: Pulling fs layer 04:32:01 63f879dbbcfc: Pulling fs layer 04:32:01 0d9ebad4ef96: Pulling fs layer 04:32:01 e9a5061849ea: Pulling fs layer 04:32:01 d747dcd14b5f: Pulling fs layer 04:32:01 2de7ff778b66: Pulling fs layer 04:32:01 e9a5061849ea: Waiting 04:32:01 0d9ebad4ef96: Waiting 04:32:01 d747dcd14b5f: Waiting 04:32:01 2de7ff778b66: Waiting 04:32:01 9712f1f96733: Verifying Checksum 04:32:01 9712f1f96733: Download complete 04:32:01 63f879dbbcfc: Verifying Checksum 04:32:01 63f879dbbcfc: Download complete 04:32:02 e9a5061849ea: Verifying Checksum 04:32:02 e9a5061849ea: Download complete 04:32:02 d747dcd14b5f: Verifying Checksum 04:32:02 d747dcd14b5f: Download complete 04:32:02 0d9ebad4ef96: Verifying Checksum 04:32:02 0d9ebad4ef96: Download complete 04:32:02 ab5ef0e58194: Download complete 04:32:02 2de7ff778b66: Verifying Checksum 04:32:02 2de7ff778b66: Download complete 04:32:05 ab5ef0e58194: Pull complete 04:32:05 9712f1f96733: Pull complete 04:32:06 63f879dbbcfc: Pull complete 04:32:10 0d9ebad4ef96: Pull complete 04:32:10 e9a5061849ea: Pull complete 04:32:10 d747dcd14b5f: Pull complete 04:32:11 2de7ff778b66: Pull complete 04:32:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:32:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:11 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:32:11 $ 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 04:32:14 $ docker top 42b105901441bb593528997736a977925fd9f5adce4d4c633e6c962a267833d5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:32:14 provisioning config files... 04:32:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1720527001174184465tmp 04:32:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2978700803078853772tmp 04:32:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5439063962362600593tmp [Pipeline] { [Pipeline] echo 04:32:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:32:14 ---> sigul-configuration.sh 04:32:14 gpg: directory `/root/.gnupg' created 04:32:14 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:32:14 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:32:14 gpg: keyring `/root/.gnupg/secring.gpg' created 04:32:14 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:32:14 gpg: CAST5 encrypted data 04:32:14 gpg: encrypted with 1 passphrase 04:32:14 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:32:14 + mkdir /home/jenkins 04:32:14 + mkdir /home/jenkins/sigul [Pipeline] sh 04:32:15 + 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 04:32:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:32:15 ---> sigul-install.sh 04:32:15 Sigul already installed; skipping installation. [Pipeline] sh 04:32:15 + git tag --list 04:32:15 0.7.1 04:32:15 delhi-tag 04:32:15 v1.0.0 04:32:15 v1.1.0 04:32:15 v1.1.1 04:32:15 v1.1.2 04:32:15 v1.2.0 04:32:15 v1.2.1 04:32:15 v1.2.2 04:32:15 v1.2.3 04:32:15 v1.3.0 04:32:15 v1.4.0 04:32:15 v2.0.0 04:32:15 v2.1.0 04:32:15 v2.1.1 04:32:15 v2.1.1-dev.2 04:32:15 v2.1.1-dev.3 04:32:15 v2.2.0 04:32:15 v2.2.1-dev.1 04:32:15 v2.2.1-dev.10 04:32:15 v2.2.1-dev.11 04:32:15 v2.2.1-dev.2 04:32:15 v2.2.1-dev.3 04:32:15 v2.2.1-dev.4 04:32:15 v2.2.1-dev.5 04:32:15 v2.2.1-dev.6 04:32:15 v2.2.1-dev.7 04:32:15 v2.2.1-dev.8 04:32:15 v2.2.1-dev.9 [Pipeline] sh 04:32:15 + lftools sign git-tag v2.2.1-dev.11 04:32:16 Signing Git tag with Sigul... 04:32:16 Signing v2.2.1-dev.11 [Pipeline] echo 04:32:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:32:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:32:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:32:17 $ docker stop --time=1 42b105901441bb593528997736a977925fd9f5adce4d4c633e6c962a267833d5 04:32:18 $ docker rm -f 42b105901441bb593528997736a977925fd9f5adce4d4c633e6c962a267833d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:32:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:32:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:19 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:32:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:32:19 $ docker top f50fa07223eea27e198cc0baf529ae08bce0a8887e8d5b8ece3c08403f4d0190 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:19 [ssh-agent] Looking for ssh-agent implementation... 04:32:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:19 $ docker exec f50fa07223eea27e198cc0baf529ae08bce0a8887e8d5b8ece3c08403f4d0190 ssh-agent 04:32:20 SSH_AUTH_SOCK=/tmp/ssh-mq0KmbjSVSrV/agent.32 04:32:20 SSH_AGENT_PID=38 04:32:20 Running ssh-add (command line suppressed) 04:32:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6736759530165409219.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6736759530165409219.key) 04:32:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:20 + git semver bump pre 04:32:20 2022-07-05 04:32:20,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:20 2022-07-05 04:32:20,645 [bump_version] DEBUG bumping version:2.2.1-dev.11 on axis:pre with prefix:dev 04:32:20 2022-07-05 04:32:20,646 [bump_version] DEBUG bumped version:2.2.1-dev.12 04:32:20 2022-07-05 04:32:20,646 [write_version] DEBUG write version:2.2.1-dev.12 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:32:20 2022-07-05 04:32:20,646 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:20 2022-07-05 04:32:20,646 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:20 2022-07-05 04:32:20,647 [execute] INFO git cat-file --batch-check 04:32:20 2022-07-05 04:32:20,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:32:20 2022-07-05 04:32:20,653 [execute] INFO git cat-file --batch 04:32:20 2022-07-05 04:32:20,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:32:20 2022-07-05 04:32:20,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:20 2.2.1-dev.12 [Pipeline] } 04:32:20 $ docker exec --env ******** --env ******** f50fa07223eea27e198cc0baf529ae08bce0a8887e8d5b8ece3c08403f4d0190 ssh-agent -k 04:32:20 unset SSH_AUTH_SOCK; 04:32:20 unset SSH_AGENT_PID; 04:32:20 echo Agent pid 38 killed; 04:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:21 + git semver [Pipeline] } 04:32:21 $ docker stop --time=1 f50fa07223eea27e198cc0baf529ae08bce0a8887e8d5b8ece3c08403f4d0190 04:32:22 $ docker rm -f f50fa07223eea27e198cc0baf529ae08bce0a8887e8d5b8ece3c08403f4d0190 [Pipeline] // withDockerContainer [Pipeline] sh 04:32:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:32:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:32:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:23 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:32:23 $ 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 04:32:23 $ docker top 432b24a2a68ab221f06e6e5fe0c220ca21356e2174116ac50a4c5443e51e009c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:24 [ssh-agent] Looking for ssh-agent implementation... 04:32:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:24 $ docker exec 432b24a2a68ab221f06e6e5fe0c220ca21356e2174116ac50a4c5443e51e009c ssh-agent 04:32:24 SSH_AUTH_SOCK=/tmp/ssh-shnJbzuAuHtQ/agent.33 04:32:24 SSH_AGENT_PID=39 04:32:24 Running ssh-add (command line suppressed) 04:32:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8472184360708731979.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8472184360708731979.key) 04:32:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:24 + git semver push 04:32:24 2022-07-05 04:32:24,873 [run_push] DEBUG push 04:32:24 2022-07-05 04:32:24,874 [execute] INFO git cat-file --batch-check 04:32:24 2022-07-05 04:32:24,874 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:32:24 2022-07-05 04:32:24,878 [execute] INFO git rev-list 3f404295b7200f5f0fea2049121fd282e3a28bc7 -- 04:32:24 2022-07-05 04:32:24,878 [execute] DEBUG Popen(['git', 'rev-list', '3f404295b7200f5f0fea2049121fd282e3a28bc7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:32:24 2022-07-05 04:32:24,886 [execute] INFO git fetch -v origin 04:32:24 2022-07-05 04:32:24,886 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:32:25 2022-07-05 04:32:25,360 [run_push] DEBUG no remote changes detected 04:32:25 2022-07-05 04:32:25,361 [execute] INFO git push origin semver 04:32:25 2022-07-05 04:32:25,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:32:26 2022-07-05 04:32:26,091 [run_push] DEBUG push all version tags 04:32:26 2022-07-05 04:32:26,091 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:32:26 2022-07-05 04:32:26,092 [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) 04:32:27 2022-07-05 04:32:26,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:32:27 2.2.1-dev.12 [Pipeline] } 04:32:27 $ docker exec --env ******** --env ******** 432b24a2a68ab221f06e6e5fe0c220ca21356e2174116ac50a4c5443e51e009c ssh-agent -k 04:32:27 unset SSH_AUTH_SOCK; 04:32:27 unset SSH_AGENT_PID; 04:32:27 echo Agent pid 39 killed; 04:32:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:27 + git semver [Pipeline] } 04:32:28 $ docker stop --time=1 432b24a2a68ab221f06e6e5fe0c220ca21356e2174116ac50a4c5443e51e009c 04:32:29 $ docker rm -f 432b24a2a68ab221f06e6e5fe0c220ca21356e2174116ac50a4c5443e51e009c [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 04:32:29 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:32:29 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:32:29 total 16 04:32:29 drwxr-xr-x 3 root root 4096 Jul 5 04:22 . 04:32:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 5 04:32 .. 04:32:29 drwxr-xr-x 2 root root 4096 Jul 5 04:22 cost 04:32:29 -rw-r--r-- 1 root root 83 Jul 5 04:22 cost.csv 04:32:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:32:29 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:32:29 total 16 04:32:29 drwxr-xr-x 3 jenkins jenkins 4096 Jul 5 04:22 . 04:32:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 5 04:32 .. 04:32:29 drwxr-xr-x 2 jenkins jenkins 4096 Jul 5 04:22 cost 04:32:29 -rw-r--r-- 1 jenkins jenkins 83 Jul 5 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:32:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:32:31 ---> package-listing.sh 04:32:31 ++ facter osfamily 04:32:31 ++ tr '[:upper:]' '[:lower:]' 04:32:31 + OS_FAMILY=debian 04:32:31 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:32:31 + START_PACKAGES=/tmp/packages_start.txt 04:32:31 + END_PACKAGES=/tmp/packages_end.txt 04:32:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:32:31 + PACKAGES=/tmp/packages_start.txt 04:32:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:32:31 + PACKAGES=/tmp/packages_end.txt 04:32:31 + case "${OS_FAMILY}" in 04:32:31 + dpkg -l 04:32:31 + grep '^ii' 04:32:31 + '[' -f /tmp/packages_start.txt ']' 04:32:31 + '[' -f /tmp/packages_end.txt ']' 04:32:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:32:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:32:31 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:32:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:32:31 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 04:32:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:32:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:32 prd-ubuntu20.04-docker-8c-8g-16928 does not seem to be running inside a container 04:32:32 $ 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 04:32:32 $ docker top 8ee99f1c70798651cb03730e131a0a2b58597d84b38bcf4032131df6dc484671 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:32 + touch /tmp/pre-build-complete [Pipeline] sh 04:32:33 + mkdir -p /var/log/sysstat [Pipeline] sh 04:32:33 + ls /var/log/sa-host 04:32:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:33 provisioning config files... 04:32:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3068845973721497822tmp [Pipeline] { [Pipeline] echo 04:32:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:32:33 ---> create-netrc.sh [Pipeline] } 04:32:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:32:34 ---> python-tools-install.sh [Pipeline] echo 04:32:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:32:34 ---> sudo-logs.sh 04:32:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:32:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:32:34 ---> job-cost.sh 04:32:34 lf-activate-venv: SKIPPING 04:32:34 DEBUG: total: 0.2199999988079071 04:32:34 INFO: Retrieving Stack Cost... 04:32:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:36 INFO: Archiving Costs [Pipeline] echo 04:32:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:32:36 ---> logs-deploy.sh 04:32:36 lf-activate-venv: SKIPPING 04:32:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/86 04:32:36 INFO: archiving workspace using pattern(s): 04:32:37 Archives upload complete. 04:32:37 INFO: archiving logs to Nexus