Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cf6bcd748b49a57926d0cd1f149c1f1b3a309328 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-ssh14968799066105802613.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-ssh1158222019892547401.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-ssh3176194726362255389.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-ssh5661759255142280496.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-ssh17875571048417394573.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-2632’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-15250’ is offline ‘prd-ubuntu20.04-docker-8c-8g-15251’ is offline Running on prd-ubuntu20.04-docker-8c-8g-15254 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 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 (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 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 Commit message: "Merge pull request #1181 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.4" > git rev-list --no-walk 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:51 ========================================================= 20:58:51 EdgeX Global Pipelines Version Info 20:58:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:52 ------------------- 20:58:52 stable info: 20:58:52 ------------------- 20:58:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:58:52 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:58:52 Message: update stable to v1.0.234 20:58:53 ------------------- 20:58:53 experimental info: 20:58:53 ------------------- 20:58:53 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:53 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 20:58:53 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf6bcd7 [Pipeline] echo 20:58:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:53 provisioning config files... 20:58:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5545557468728207911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:54 ---> docker-login.sh 20:58:54 nexus3.edgexfoundry.org:10001 20:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:54 Configure a credential helper to remove this warning. See 20:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:54 20:58:54 Login Succeeded 20:58:54 nexus3.edgexfoundry.org:10002 20:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:54 Configure a credential helper to remove this warning. See 20:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:54 20:58:54 Login Succeeded 20:58:54 nexus3.edgexfoundry.org:10003 20:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:54 Configure a credential helper to remove this warning. See 20:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:54 20:58:54 Login Succeeded 20:58:54 nexus3.edgexfoundry.org:10004 20:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:54 Configure a credential helper to remove this warning. See 20:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:54 20:58:54 Login Succeeded 20:58:54 docker.io 20:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:55 Configure a credential helper to remove this warning. See 20:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:55 20:58:55 Login Succeeded 20:58:55 ---> docker-login.sh ends [Pipeline] } 20:58:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:55 + git rev-list -1 --merges cf6bcd748b49a57926d0cd1f149c1f1b3a309328~1..cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] echo 20:58:55 -----------> git rev-list -1 --merges cf6bcd748b49a57926d0cd1f149c1f1b3a309328~1..cf6bcd748b49a57926d0cd1f149c1f1b3a309328 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 20:58:55 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [false] [Pipeline] sh 20:58:55 + git log --format=format:%s -1 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] echo 20:58:55 ========================================================= 20:58:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:56 + git log --format=format:%s -1 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] echo 20:58:56 [semverPrep] GIT_COMMIT: cf6bcd748b49a57926d0cd1f149c1f1b3a309328, Commit Message: Merge pull request #1181 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.4 [Pipeline] echo 20:58:56 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:56 + grep -v github /etc/ssh/ssh_known_hosts 20:58:56 + [ -e /tmp/ssh_known_hosts ] 20:58:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:56 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:56 20:58:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:57 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:57 42c077c10790: Pulling fs layer 20:58:57 f63e77b7563a: Pulling fs layer 20:58:57 bd5fdadae976: Pulling fs layer 20:58:57 205491f53016: Pulling fs layer 20:58:57 df18705c85c3: Pulling fs layer 20:58:57 bdb3f477010e: Pulling fs layer 20:58:57 c8a8fc8e1c8f: Pulling fs layer 20:58:57 2c6e9b1d212d: Pulling fs layer 20:58:57 bdb8f0575790: Pulling fs layer 20:58:57 386e3cb2ff24: Pulling fs layer 20:58:57 2343380bae48: Pulling fs layer 20:58:57 c8a8fc8e1c8f: Waiting 20:58:57 2c6e9b1d212d: Waiting 20:58:57 bdb8f0575790: Waiting 20:58:57 386e3cb2ff24: Waiting 20:58:57 2343380bae48: Waiting 20:58:57 df18705c85c3: Waiting 20:58:57 bdb3f477010e: Waiting 20:58:57 205491f53016: Waiting 20:58:57 f63e77b7563a: Verifying Checksum 20:58:57 f63e77b7563a: Download complete 20:58:57 205491f53016: Verifying Checksum 20:58:57 205491f53016: Download complete 20:58:57 df18705c85c3: Verifying Checksum 20:58:57 df18705c85c3: Download complete 20:58:57 bdb3f477010e: Download complete 20:58:57 bd5fdadae976: Verifying Checksum 20:58:57 bd5fdadae976: Download complete 20:58:57 2c6e9b1d212d: Verifying Checksum 20:58:57 2c6e9b1d212d: Download complete 20:58:57 bdb8f0575790: Download complete 20:58:57 386e3cb2ff24: Download complete 20:58:57 2343380bae48: Verifying Checksum 20:58:57 2343380bae48: Download complete 20:58:57 42c077c10790: Verifying Checksum 20:58:57 42c077c10790: Download complete 20:58:57 c8a8fc8e1c8f: Download complete 20:58:59 42c077c10790: Pull complete 20:58:59 f63e77b7563a: Pull complete 20:58:59 bd5fdadae976: Pull complete 20:58:59 205491f53016: Pull complete 20:58:59 df18705c85c3: Pull complete 20:59:00 bdb3f477010e: Pull complete 20:59:02 c8a8fc8e1c8f: Pull complete 20:59:02 2c6e9b1d212d: Pull complete 20:59:02 bdb8f0575790: Pull complete 20:59:02 386e3cb2ff24: Pull complete 20:59:02 2343380bae48: Pull complete 20:59:02 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 20:59:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:02 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 20:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:04 $ docker top c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 -eo pid,comm 20:59:04 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). 20:59:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:04 [ssh-agent] Looking for ssh-agent implementation... 20:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:04 $ docker exec c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 ssh-agent 20:59:04 SSH_AUTH_SOCK=/tmp/ssh-0gAN1StZrKLJ/agent.33 20:59:04 SSH_AGENT_PID=39 20:59:04 Running ssh-add (command line suppressed) 20:59:04 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4092146105544180655.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4092146105544180655.key) 20:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:05 + git tag --points-at HEAD [Pipeline] } 20:59:05 $ docker exec --env ******** --env ******** c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 ssh-agent -k 20:59:05 unset SSH_AUTH_SOCK; 20:59:05 unset SSH_AGENT_PID; 20:59:05 echo Agent pid 39 killed; 20:59:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:05 [ssh-agent] Looking for ssh-agent implementation... 20:59:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:05 $ docker exec c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 ssh-agent 20:59:05 SSH_AUTH_SOCK=/tmp/ssh-2qnmuHnArWgU/agent.72 20:59:05 SSH_AGENT_PID=78 20:59:05 Running ssh-add (command line suppressed) 20:59:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3260355624529644166.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3260355624529644166.key) 20:59:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:05 + git semver init 20:59:06 2022-06-21 20:59:06,163 [run_init] DEBUG init version:0.0.0 force:False 20:59:06 2022-06-21 20:59:06,164 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:59:06 2022-06-21 20:59:06,165 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:59:06 2022-06-21 20:59:06,165 [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) 20:59:07 2022-06-21 20:59:06,941 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:59:07 2022-06-21 20:59:06,942 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:59:07 2022-06-21 20:59:06,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:07 2022-06-21 20:59:06,942 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:59:07 2.2.1-dev.8 [Pipeline] } 20:59:07 $ docker exec --env ******** --env ******** c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 ssh-agent -k 20:59:07 unset SSH_AUTH_SOCK; 20:59:07 unset SSH_AGENT_PID; 20:59:07 echo Agent pid 78 killed; 20:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:07 + git semver [Pipeline] } 20:59:07 $ docker stop --time=1 c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 20:59:09 $ docker rm -f c3f2675c72baaaa12d33884b2b7e9230b7dbb241d23a67d33b182aba31b459e0 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:09 Stashed 1 file(s) [Pipeline] echo 20:59:09 [edgeXSemver]: initialized semver on version 2.2.1-dev.8 [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 20:59:09 provisioning config files... 20:59:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config35274356237951767tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:10 ---> docker-login.sh 20:59:10 nexus3.edgexfoundry.org:10001 20:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:10 Configure a credential helper to remove this warning. See 20:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:10 20:59:10 Login Succeeded 20:59:10 nexus3.edgexfoundry.org:10002 20:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:10 Configure a credential helper to remove this warning. See 20:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:10 20:59:10 Login Succeeded 20:59:10 nexus3.edgexfoundry.org:10003 20:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:10 Configure a credential helper to remove this warning. See 20:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:10 20:59:10 Login Succeeded 20:59:10 nexus3.edgexfoundry.org:10004 20:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:10 Configure a credential helper to remove this warning. See 20:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:10 20:59:10 Login Succeeded 20:59:10 docker.io 20:59:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:10 Configure a credential helper to remove this warning. See 20:59:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:10 20:59:10 Login Succeeded 20:59:10 ---> docker-login.sh ends [Pipeline] } 20:59:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:11 ========================================================= 20:59:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:59:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:11 + 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 . 20:59:11 Sending build context to Docker daemon 9.616MB 20:59:11 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 20:59:11 Step 2/11 : FROM ${BASE} AS builder 20:59:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:11 59bf1c3509f3: Pulling fs layer 20:59:11 666ba61612fd: Pulling fs layer 20:59:11 8ed8ca486205: Pulling fs layer 20:59:11 cc1cd167ecdc: Pulling fs layer 20:59:11 c516ae0d96e1: Pulling fs layer 20:59:11 c516ae0d96e1: Waiting 20:59:11 684cea983483: Pulling fs layer 20:59:11 dd3240ac7de5: Pulling fs layer 20:59:11 b1e948a4e11c: Pulling fs layer 20:59:11 a8fd76ee1af6: Pulling fs layer 20:59:11 646ad004c059: Pulling fs layer 20:59:11 b1e948a4e11c: Waiting 20:59:11 dd3240ac7de5: Waiting 20:59:11 a8fd76ee1af6: Waiting 20:59:11 684cea983483: Waiting 20:59:11 8ed8ca486205: Verifying Checksum 20:59:11 8ed8ca486205: Download complete 20:59:11 666ba61612fd: Verifying Checksum 20:59:11 666ba61612fd: Download complete 20:59:11 c516ae0d96e1: Download complete 20:59:11 684cea983483: Download complete 20:59:11 dd3240ac7de5: Verifying Checksum 20:59:11 dd3240ac7de5: Download complete 20:59:11 59bf1c3509f3: Verifying Checksum 20:59:11 59bf1c3509f3: Download complete 20:59:11 b1e948a4e11c: Verifying Checksum 20:59:11 b1e948a4e11c: Download complete 20:59:11 59bf1c3509f3: Pull complete 20:59:11 666ba61612fd: Pull complete 20:59:11 8ed8ca486205: Pull complete 20:59:12 646ad004c059: Verifying Checksum 20:59:12 646ad004c059: Download complete 20:59:12 a8fd76ee1af6: Verifying Checksum 20:59:12 a8fd76ee1af6: Download complete 20:59:12 cc1cd167ecdc: Verifying Checksum 20:59:12 cc1cd167ecdc: Download complete 20:59:16 cc1cd167ecdc: Pull complete 20:59:16 c516ae0d96e1: Pull complete 20:59:16 684cea983483: Pull complete 20:59:16 dd3240ac7de5: Pull complete 20:59:16 b1e948a4e11c: Pull complete 20:59:19 a8fd76ee1af6: Pull complete 20:59:19 646ad004c059: Pull complete 20:59:19 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 20:59:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:59:19 ---> 8f69c11f6b0c 20:59:19 Step 3/11 : ARG MAKE=make build 20:59:21 ---> Running in 88629cc3e5cf 20:59:21 Removing intermediate container 88629cc3e5cf 20:59:21 ---> b718eedd2564 20:59:21 Step 4/11 : WORKDIR /device-sdk-go 20:59:21 ---> Running in d5bf2c077066 20:59:21 Removing intermediate container d5bf2c077066 20:59:21 ---> 6fbfa55934b1 20:59:21 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:59:21 ---> Running in 4a84de16b766 20:59:21 Removing intermediate container 4a84de16b766 20:59:21 ---> 7dad2aec0de8 20:59:21 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:21 ---> Running in ceda3f36df54 20:59:22 Removing intermediate container ceda3f36df54 20:59:22 ---> 76506bd73a23 20:59:22 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:59:22 ---> Running in bb73e184702d 20:59:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:59:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:59:23 OK: 221 MiB in 52 packages 20:59:24 Removing intermediate container bb73e184702d 20:59:24 ---> f468588cc0eb 20:59:24 Step 8/11 : COPY go.mod vendor* ./ 20:59:24 ---> fd9f811ac233 20:59:24 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:24 ---> Running in 46d82565c219 20:59:24 Still waiting to schedule task 20:59:24 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:59:39 Removing intermediate container 46d82565c219 20:59:39 ---> 95095cf19073 20:59:39 Step 10/11 : COPY . . 20:59:39 ---> e3212c1ce7b8 20:59:39 Step 11/11 : RUN ${MAKE} 20:59:39 ---> Running in 77d635697441 20:59:39 noop 20:59:39 Removing intermediate container 77d635697441 20:59:39 ---> 408bd6bd419c 20:59:39 Successfully built 408bd6bd419c 20:59:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:39 + docker inspect -f . ci-base-image-x86_64 20:59:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:39 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 20:59:39 $ 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 20:59:40 $ docker top 0d05f48d97ed1292bd16c8627a8688ff1027faf61081bf3aaae4555d7ad86f52 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:40 + go version 20:59:40 go version go1.17.7 linux/amd64 [Pipeline] } 20:59:40 $ docker stop --time=1 0d05f48d97ed1292bd16c8627a8688ff1027faf61081bf3aaae4555d7ad86f52 20:59:42 $ docker rm -f 0d05f48d97ed1292bd16c8627a8688ff1027faf61081bf3aaae4555d7ad86f52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:42 + docker inspect -f . ci-base-image-x86_64 20:59:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:42 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 20:59:42 $ 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 20:59:43 $ docker top 69b8f784c1a7c7988b967e0d82936933ff47d8658ff6b890da12d87dd3fa8b1f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:59:43 + make test 20:59:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:59:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:00:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.095s coverage: 23.7% of statements 21:00:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 27.6% of statements 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.109s coverage: 78.9% of statements 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.066s coverage: 10.8% of statements 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.131s coverage: 60.0% of statements 21:00:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:00:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:00:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 34.8% of statements 21:00:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:00:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 85.4% of statements 21:00:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:00:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:00:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements 21:00:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.754s coverage: 89.2% of statements 21:00:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:00:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements 21:00:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:00:20 GO111MODULE=on go vet ./... 21:00:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:22 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:22 $ docker stop --time=1 69b8f784c1a7c7988b967e0d82936933ff47d8658ff6b890da12d87dd3fa8b1f 21:00:25 $ docker rm -f 69b8f784c1a7c7988b967e0d82936933ff47d8658ff6b890da12d87dd3fa8b1f [Pipeline] // withDockerContainer [Pipeline] sh 21:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:26 + ls -al . 21:00:26 total 304 21:00:26 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 21:00 . 21:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 20:58 .. 21:00:26 -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 20:58 .dockerignore 21:00:26 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 20:59 .git 21:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 20:58 .github 21:00:26 -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 20:58 .gitignore 21:00:26 -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 20:58 .golangci.yml 21:00:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 20:59 .semver 21:00:26 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 20:58 CHANGELOG.md 21:00:26 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 20:58 GOVERNANCE.md 21:00:26 -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 20:58 Jenkinsfile 21:00:26 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 20:58 LICENSE 21:00:26 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 20:58 Makefile 21:00:26 -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 20:58 OWNERS.md 21:00:26 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 20:58 README.md 21:00:26 -rw-rw-r-- 1 jenkins jenkins 11 Jun 21 20:59 VERSION 21:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 20:58 bin 21:00:26 -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 21:00 coverage.out 21:00:26 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 20:58 example 21:00:26 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 20:58 go.mod 21:00:26 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 20:58 go.sum 21:00:26 drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 20:58 internal 21:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 20:58 openapi 21:00:26 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 20:58 pkg 21:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 20:58 snap 21:00:26 -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:26 + 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=cf6bcd748b49a57926d0cd1f149c1f1b3a309328 --label arch=amd64 --label version=2.2.1-dev.8 . 21:00:26 Sending build context to Docker daemon 9.748MB 21:00:26 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:00:26 Step 2/25 : FROM ${BASE} AS builder 21:00:26 ---> 408bd6bd419c 21:00:26 Step 3/25 : ARG MAKE=make build 21:00:26 ---> Running in 57b393d6636a 21:00:26 Removing intermediate container 57b393d6636a 21:00:26 ---> 7017f40c235e 21:00:26 Step 4/25 : WORKDIR /device-sdk-go 21:00:26 ---> Running in 87178636369b 21:00:26 Removing intermediate container 87178636369b 21:00:26 ---> 6cadc7753bfc 21:00:26 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:00:27 ---> Running in da7faa1c4948 21:00:27 Removing intermediate container da7faa1c4948 21:00:27 ---> baae76ca6bbb 21:00:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:27 ---> Running in 30deaf23ea00 21:00:27 Removing intermediate container 30deaf23ea00 21:00:27 ---> f3a945d979ec 21:00:27 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:00:27 ---> Running in 0cdd9269a850 21:00:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:00:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:00:29 OK: 221 MiB in 52 packages 21:00:29 Removing intermediate container 0cdd9269a850 21:00:29 ---> 713772d31eb3 21:00:29 Step 8/25 : COPY go.mod vendor* ./ 21:00:30 ---> 9e07a96c4883 21:00:30 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:30 ---> Running in 165b7cde1813 21:00:30 Removing intermediate container 165b7cde1813 21:00:30 ---> 5cd7bcd65672 21:00:30 Step 10/25 : COPY . . 21:00:31 ---> eb05f5e75c33 21:00:31 Step 11/25 : RUN ${MAKE} 21:00:31 ---> Running in 8a2b150c68f2 21:00:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:00:50 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:00:50 Removing intermediate container 8a2b150c68f2 21:00:50 ---> b82e2da463c5 21:00:50 Step 12/25 : FROM alpine:3.14 21:00:50 3.14: Pulling from library/alpine 21:00:51 8663204ce13b: Pulling fs layer 21:00:51 8663204ce13b: Download complete 21:00:51 8663204ce13b: Pull complete 21:00:51 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:00:51 Status: Downloaded newer image for alpine:3.14 21:00:51 ---> e04c818066af 21:00:51 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:00:51 ---> Running in c55e5e685aa1 21:00:51 Removing intermediate container c55e5e685aa1 21:00:51 ---> 89f16e913e8e 21:00:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:51 ---> Running in fb4b701471ad 21:00:52 Removing intermediate container fb4b701471ad 21:00:52 ---> d4e63a1514f6 21:00:52 Step 15/25 : RUN apk add --update --no-cache zeromq 21:00:52 ---> Running in ad7839fd9307 21:00:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:00:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:00:53 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:00:53 (2/5) Installing libsodium (1.0.18-r0) 21:00:53 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:00:53 (4/5) Installing libzmq (4.3.4-r0) 21:00:53 (5/5) Installing zeromq (4.3.4-r0) 21:00:54 Executing busybox-1.33.1-r7.trigger 21:00:54 OK: 8 MiB in 19 packages 21:00:54 Removing intermediate container ad7839fd9307 21:00:54 ---> c21b6e114313 21:00:54 Step 16/25 : WORKDIR / 21:00:54 ---> Running in 3c3c39f2bf58 21:00:54 Removing intermediate container 3c3c39f2bf58 21:00:54 ---> e50e6abd9fa1 21:00:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:00:54 ---> cd650cd67661 21:00:54 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:00:55 ---> 4f5dbc1074e2 21:00:55 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:00:55 ---> 6a22be3c37e3 21:00:55 Step 20/25 : EXPOSE 59999 21:00:55 ---> Running in 8bdf680ab6df 21:00:55 Removing intermediate container 8bdf680ab6df 21:00:55 ---> 2979a4df3dc6 21:00:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:00:55 ---> Running in 0e9c3309593d 21:00:55 Removing intermediate container 0e9c3309593d 21:00:55 ---> 83d091023590 21:00:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:00:55 ---> Running in 20538054a3d2 21:00:56 Removing intermediate container 20538054a3d2 21:00:56 ---> 7f2f550449e7 21:00:56 Step 23/25 : LABEL arch=amd64 21:00:56 ---> Running in 886c1d70eeef 21:00:56 Removing intermediate container 886c1d70eeef 21:00:56 ---> 111b62a0eb3b 21:00:56 Step 24/25 : LABEL git_sha=cf6bcd748b49a57926d0cd1f149c1f1b3a309328 21:00:56 ---> Running in e09ccd708fdd 21:00:56 Removing intermediate container e09ccd708fdd 21:00:56 ---> 0c47785f07be 21:00:56 Step 25/25 : LABEL version=2.2.1-dev.8 21:00:56 ---> Running in b091231b78ba 21:00:56 Removing intermediate container b091231b78ba 21:00:56 ---> 1ac7c2b104af 21:00:56 [Warning] One or more build-args [ARCH] were not consumed 21:00:56 Successfully built 1ac7c2b104af 21:00:56 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 21:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:57 21:00:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:57 latest: Pulling from edgex-lftools-log-publisher 21:00:57 5eb5b503b376: Pulling fs layer 21:00:57 5c69ac0246d0: Pulling fs layer 21:00:57 ec43610c2a17: Pulling fs layer 21:00:57 3a2ae6a8a46f: Pulling fs layer 21:00:57 33b1e0a273af: Pulling fs layer 21:00:57 5d3b04190fa2: Pulling fs layer 21:00:57 2f39f015ded8: Pulling fs layer 21:00:57 3a2ae6a8a46f: Waiting 21:00:57 33b1e0a273af: Waiting 21:00:57 5c69ac0246d0: Verifying Checksum 21:00:57 5c69ac0246d0: Download complete 21:00:57 3a2ae6a8a46f: Verifying Checksum 21:00:57 3a2ae6a8a46f: Download complete 21:00:57 33b1e0a273af: Verifying Checksum 21:00:57 33b1e0a273af: Download complete 21:00:57 ec43610c2a17: Verifying Checksum 21:00:57 ec43610c2a17: Download complete 21:00:57 5d3b04190fa2: Verifying Checksum 21:00:57 5d3b04190fa2: Download complete 21:00:57 5eb5b503b376: Verifying Checksum 21:00:57 5eb5b503b376: Download complete 21:00:58 2f39f015ded8: Download complete 21:00:58 5eb5b503b376: Pull complete 21:00:59 5c69ac0246d0: Pull complete 21:00:59 ec43610c2a17: Pull complete 21:00:59 3a2ae6a8a46f: Pull complete 21:00:59 33b1e0a273af: Pull complete 21:00:59 5d3b04190fa2: Pull complete 21:01:05 2f39f015ded8: Pull complete 21:01:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:01:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:01:05 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:01:05 $ 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 21:01:07 $ docker top 282d1fcdf7d58c0b0a73c87ccf90cf354bc6180f803e5a652964783f8085eaf8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:07 ---> job-cost.sh 21:01:07 lf-activate-venv: SKIPPING 21:01:07 INFO: No Stack... 21:01:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:08 INFO: Archiving Costs [Pipeline] sh 21:01:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 21:01:09 + cut -d, -f6 [Pipeline] lock 21:01:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] 21:01:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] did not exist. Created. 21:01:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:09 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:09 Stashed 1 file(s) [Pipeline] } 21:01:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:09 $ docker stop --time=1 282d1fcdf7d58c0b0a73c87ccf90cf354bc6180f803e5a652964783f8085eaf8 21:01:10 $ docker rm -f 282d1fcdf7d58c0b0a73c87ccf90cf354bc6180f803e5a652964783f8085eaf8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:04:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15273 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 21:04:36 Running in /w/workspace/device-sdk-go/83 [Pipeline] { [Pipeline] checkout 21:04:36 The recommended git tool is: git 21:04:43 using credential edgex-jenkins-ssh 21:04:43 Cloning the remote Git repository 21:04:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:04:43 > git init /w/workspace/device-sdk-go/83 # timeout=10 21:04:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:04:44 > git --version # timeout=10 21:04:44 > git --version # 'git version 2.25.1' 21:04:44 using GIT_SSH to set credentials SSH Credentials for GitHub 21:04:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:45 Avoid second fetch 21:04:45 Checking out Revision cf6bcd748b49a57926d0cd1f149c1f1b3a309328 (main) 21:04:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:04:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:04:45 > git config core.sparsecheckout # timeout=10 21:04:45 > git checkout -f cf6bcd748b49a57926d0cd1f149c1f1b3a309328 # timeout=10 21:04:50 Commit message: "Merge pull request #1181 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.4" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:04:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:04:51 Dload Upload Total Spent Left Speed 21:04:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 78044 0 --:--:-- --:--:-- --:--:-- 78544 [Pipeline] sh 21:04:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:04:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:04:52 + sudo tee /etc/docker/daemon.new 21:04:52 { 21:04:52 "registry-mirrors": [ 21:04:52 "https://nexus3.edgexfoundry.org:10001" 21:04:52 ], 21:04:52 "bip": "10.250.0.254/24", 21:04:52 "hosts": [ 21:04:52 "tcp://0.0.0.0:5555", 21:04:52 "unix:///var/run/docker.sock" 21:04:52 ], 21:04:52 "mtu": 1458, 21:04:52 "selinux-enabled": true, 21:04:52 "seccomp-profile": "/etc/docker/seccomp.json" 21:04:52 } [Pipeline] sh 21:04:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:04:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:11 provisioning config files... 21:05:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/83@tmp/config3492757112657881652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:11 ---> docker-login.sh 21:05:11 nexus3.edgexfoundry.org:10001 21:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:12 Configure a credential helper to remove this warning. See 21:05:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:12 21:05:12 Login Succeeded 21:05:12 nexus3.edgexfoundry.org:10002 21:05:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:13 Configure a credential helper to remove this warning. See 21:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:13 21:05:13 Login Succeeded 21:05:13 nexus3.edgexfoundry.org:10003 21:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:13 Configure a credential helper to remove this warning. See 21:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:13 21:05:13 Login Succeeded 21:05:13 nexus3.edgexfoundry.org:10004 21:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:14 Configure a credential helper to remove this warning. See 21:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:14 21:05:14 Login Succeeded 21:05:14 docker.io 21:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:14 Configure a credential helper to remove this warning. See 21:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:14 21:05:14 Login Succeeded 21:05:14 ---> docker-login.sh ends [Pipeline] } 21:05:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:05:15 ========================================================= 21:05:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:05:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:15 + 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 . 21:05:15 Sending build context to Docker daemon 5.152MB 21:05:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 21:05:16 Step 2/11 : FROM ${BASE} AS builder 21:05:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:05:16 9b3977197b4f: Pulling fs layer 21:05:16 1a89e8eeedd5: Pulling fs layer 21:05:16 94645a83ff95: Pulling fs layer 21:05:16 e6fb740bc735: Pulling fs layer 21:05:16 3a77bd46dcc9: Pulling fs layer 21:05:16 355e64cbe906: Pulling fs layer 21:05:16 63ab81a10011: Pulling fs layer 21:05:16 555d1d1c4555: Pulling fs layer 21:05:16 7d9057610161: Pulling fs layer 21:05:16 e6fb740bc735: Waiting 21:05:16 3a77bd46dcc9: Waiting 21:05:16 355e64cbe906: Waiting 21:05:16 555d1d1c4555: Waiting 21:05:16 7d9057610161: Waiting 21:05:16 63ab81a10011: Waiting 21:05:16 94645a83ff95: Verifying Checksum 21:05:16 94645a83ff95: Download complete 21:05:16 1a89e8eeedd5: Verifying Checksum 21:05:16 1a89e8eeedd5: Download complete 21:05:16 3a77bd46dcc9: Verifying Checksum 21:05:16 3a77bd46dcc9: Download complete 21:05:16 355e64cbe906: Verifying Checksum 21:05:16 355e64cbe906: Download complete 21:05:16 63ab81a10011: Verifying Checksum 21:05:16 9b3977197b4f: Download complete 21:05:16 63ab81a10011: Download complete 21:05:17 9b3977197b4f: Pull complete 21:05:17 7d9057610161: Verifying Checksum 21:05:17 7d9057610161: Download complete 21:05:18 1a89e8eeedd5: Pull complete 21:05:18 94645a83ff95: Pull complete 21:05:18 555d1d1c4555: Verifying Checksum 21:05:18 555d1d1c4555: Download complete 21:05:19 e6fb740bc735: Verifying Checksum 21:05:19 e6fb740bc735: Download complete 21:05:32 e6fb740bc735: Pull complete 21:05:32 3a77bd46dcc9: Pull complete 21:05:32 355e64cbe906: Pull complete 21:05:32 63ab81a10011: Pull complete 21:05:39 555d1d1c4555: Pull complete 21:05:41 7d9057610161: Pull complete 21:05:41 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 21:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:05:41 ---> 819e984ddca1 21:05:41 Step 3/11 : ARG MAKE=make build 21:05:42 ---> Running in cd4e55c2a175 21:05:43 Removing intermediate container cd4e55c2a175 21:05:43 ---> 1bc63123d7d0 21:05:43 Step 4/11 : WORKDIR /device-sdk-go 21:05:43 ---> Running in c702e7b6aad7 21:05:43 Removing intermediate container c702e7b6aad7 21:05:43 ---> b5b7ef21a72f 21:05:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:05:44 ---> Running in a6cf2a1a3757 21:05:44 Removing intermediate container a6cf2a1a3757 21:05:44 ---> 305381c9ddb1 21:05:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:44 ---> Running in 200de59d0657 21:05:46 Removing intermediate container 200de59d0657 21:05:46 ---> 1945d12b9cc9 21:05:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:05:46 ---> Running in ff8533e537ba 21:05:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:05:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:05:49 OK: 220 MiB in 52 packages 21:05:50 Removing intermediate container ff8533e537ba 21:05:50 ---> 15f30554c178 21:05:50 Step 8/11 : COPY go.mod vendor* ./ 21:05:51 ---> a341bd5977e7 21:05:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:51 ---> Running in 21d2b571959e 21:06:38 Removing intermediate container 21d2b571959e 21:06:38 ---> 32f3ac94cb1e 21:06:38 Step 10/11 : COPY . . 21:06:38 ---> 173f641664c3 21:06:38 Step 11/11 : RUN ${MAKE} 21:06:38 ---> Running in 633b1985e8bd 21:06:39 noop 21:06:39 Removing intermediate container 633b1985e8bd 21:06:39 ---> 2491b4548bd7 21:06:39 Successfully built 2491b4548bd7 21:06:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:40 + docker inspect -f . ci-base-image-arm64 21:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:40 prd-ubuntu20.04-docker-arm64-4c-16g-15273 does not seem to be running inside a container 21:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/83 -v /w/workspace/device-sdk-go/83:/w/workspace/device-sdk-go/83:rw,z -v /w/workspace/device-sdk-go/83@tmp:/w/workspace/device-sdk-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:42 $ docker top 5585705bde84c8dbccb8ce5db77c9b7906d368e93c8c204f09f9091b6ded0455 -eo pid,comm [Pipeline] { [Pipeline] sh 21:06:43 + go version 21:06:43 go version go1.17.7 linux/arm64 [Pipeline] } 21:06:43 $ docker stop --time=1 5585705bde84c8dbccb8ce5db77c9b7906d368e93c8c204f09f9091b6ded0455 21:06:44 $ docker rm -f 5585705bde84c8dbccb8ce5db77c9b7906d368e93c8c204f09f9091b6ded0455 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:45 + docker inspect -f . ci-base-image-arm64 21:06:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:45 prd-ubuntu20.04-docker-arm64-4c-16g-15273 does not seem to be running inside a container 21:06:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/83 -v /w/workspace/device-sdk-go/83:/w/workspace/device-sdk-go/83:rw,z -v /w/workspace/device-sdk-go/83@tmp:/w/workspace/device-sdk-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:06:47 $ docker top f3d1ba0ebd09f7724d71651e73d8350792f280893df3ed3edbe67dcbfe489893 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:06:48 + make test 21:06:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:07:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:09:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:09:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:09:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:09:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.480s coverage: 23.7% of statements 21:09:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:09:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.264s coverage: 27.6% of statements 21:09:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements 21:09:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.298s coverage: 10.8% of statements 21:09:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.432s coverage: 60.0% of statements 21:09:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:09:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:09:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.440s coverage: 34.8% of statements 21:09:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:09:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.318s coverage: 85.4% of statements 21:09:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:09:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:09:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.458s coverage: 65.1% of statements 21:09:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.361s coverage: 89.2% of statements 21:09:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:09:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements 21:09:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:09:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:09:36 GO111MODULE=on go vet ./... 21:11:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:11:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:11:13 ./bin/test-attribution-txt.sh [Pipeline] echo 21:11:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:11:13 $ docker stop --time=1 f3d1ba0ebd09f7724d71651e73d8350792f280893df3ed3edbe67dcbfe489893 21:11:15 $ docker rm -f f3d1ba0ebd09f7724d71651e73d8350792f280893df3ed3edbe67dcbfe489893 [Pipeline] // withDockerContainer [Pipeline] sh 21:11:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:11:17 Warning: overwriting stash ‘coverage-report’ 21:11:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:11:18 + ls -al . 21:11:18 total 300 21:11:18 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 21:11 . 21:11:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:04 .. 21:11:18 -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 21:04 .dockerignore 21:11:18 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 21:04 .git 21:11:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:04 .github 21:11:18 -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 21:04 .gitignore 21:11:18 -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 21:04 .golangci.yml 21:11:18 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 21:04 CHANGELOG.md 21:11:18 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 21:04 GOVERNANCE.md 21:11:18 -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 21:04 Jenkinsfile 21:11:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 21:04 LICENSE 21:11:18 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 21:04 Makefile 21:11:18 -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 21:04 OWNERS.md 21:11:18 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 21:04 README.md 21:11:18 -rw-rw-r-- 1 jenkins jenkins 11 Jun 21 20:59 VERSION 21:11:18 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 21:04 bin 21:11:18 -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 21:09 coverage.out 21:11:18 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 21:04 example 21:11:18 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 21:04 go.mod 21:11:18 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 21:04 go.sum 21:11:18 drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 21:04 internal 21:11:18 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 21:04 openapi 21:11:18 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 21:04 pkg 21:11:18 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 21:04 snap 21:11:18 -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:11:18 + 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=cf6bcd748b49a57926d0cd1f149c1f1b3a309328 --label arch=arm64 --label version=2.2.1-dev.8 . 21:11:19 Sending build context to Docker daemon 5.284MB 21:11:19 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 21:11:19 Step 2/25 : FROM ${BASE} AS builder 21:11:19 ---> 2491b4548bd7 21:11:19 Step 3/25 : ARG MAKE=make build 21:11:19 ---> Running in d2ac4e86cfa6 21:11:19 Removing intermediate container d2ac4e86cfa6 21:11:19 ---> 5c79598af217 21:11:19 Step 4/25 : WORKDIR /device-sdk-go 21:11:20 ---> Running in ed720d085bf0 21:11:20 Removing intermediate container ed720d085bf0 21:11:20 ---> 8cd14dc5e617 21:11:20 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:11:20 ---> Running in 1156ddc3b0d0 21:11:20 Removing intermediate container 1156ddc3b0d0 21:11:20 ---> 3484bfc8aba0 21:11:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:11:20 ---> Running in 940828d94f35 21:11:22 Removing intermediate container 940828d94f35 21:11:22 ---> ce6b0d9e4d39 21:11:22 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:11:22 ---> Running in ebed2016ac59 21:11:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:11:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:11:25 OK: 220 MiB in 52 packages 21:11:26 Removing intermediate container ebed2016ac59 21:11:26 ---> a12b6fb96d9c 21:11:26 Step 8/25 : COPY go.mod vendor* ./ 21:11:27 ---> a07dfd5e2ef6 21:11:27 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:11:27 ---> Running in 559961e196ba 21:11:29 Removing intermediate container 559961e196ba 21:11:29 ---> d071d5da5095 21:11:29 Step 10/25 : COPY . . 21:11:30 ---> 8687acb72b00 21:11:30 Step 11/25 : RUN ${MAKE} 21:11:30 ---> Running in d4028ce4dc44 21:11:31 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.8" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:13:53 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:13:53 Removing intermediate container d4028ce4dc44 21:13:53 ---> 5d8b6819ddc5 21:13:53 Step 12/25 : FROM alpine:3.14 21:13:53 3.14: Pulling from library/alpine 21:13:53 455c02918c45: Pulling fs layer 21:13:53 455c02918c45: Download complete 21:13:53 455c02918c45: Pull complete 21:13:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:13:53 Status: Downloaded newer image for alpine:3.14 21:13:53 ---> ac73e934f311 21:13:53 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:13:53 ---> Running in e04d7f10ff24 21:13:53 Removing intermediate container e04d7f10ff24 21:13:53 ---> cd1da9f3346c 21:13:53 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:53 ---> Running in bcce20313c4a 21:13:53 Removing intermediate container bcce20313c4a 21:13:53 ---> e7f8c66ba2bc 21:13:53 Step 15/25 : RUN apk add --update --no-cache zeromq 21:13:53 ---> Running in fed500917474 21:13:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:13:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:13:56 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:13:56 (2/5) Installing libsodium (1.0.18-r0) 21:13:56 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:13:56 (4/5) Installing libzmq (4.3.4-r0) 21:13:57 (5/5) Installing zeromq (4.3.4-r0) 21:13:57 Executing busybox-1.33.1-r7.trigger 21:13:57 OK: 8 MiB in 19 packages 21:13:58 Removing intermediate container fed500917474 21:13:58 ---> e6d020923dba 21:13:58 Step 16/25 : WORKDIR / 21:13:58 ---> Running in 2343da8c8228 21:13:58 Removing intermediate container 2343da8c8228 21:13:58 ---> d92373d43516 21:13:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:13:59 ---> b31d69184eac 21:13:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:14:00 ---> c49cdf7e5ab4 21:14:00 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:14:01 ---> 5dcb3121aab4 21:14:01 Step 20/25 : EXPOSE 59999 21:14:01 ---> Running in 549bf9775878 21:14:01 Removing intermediate container 549bf9775878 21:14:01 ---> 20f549645706 21:14:01 Step 21/25 : ENTRYPOINT ["/device-simple"] 21:14:01 ---> Running in b6a03d6b5755 21:14:02 Removing intermediate container b6a03d6b5755 21:14:02 ---> 82debfb78ba2 21:14:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:14:02 ---> Running in 37fb2a6ab185 21:14:02 Removing intermediate container 37fb2a6ab185 21:14:02 ---> a19d9e82875b 21:14:02 Step 23/25 : LABEL arch=arm64 21:14:02 ---> Running in c825ce7b1002 21:14:03 Removing intermediate container c825ce7b1002 21:14:03 ---> 7b8259577370 21:14:03 Step 24/25 : LABEL git_sha=cf6bcd748b49a57926d0cd1f149c1f1b3a309328 21:14:03 ---> Running in 72307e9b04f5 21:14:03 Removing intermediate container 72307e9b04f5 21:14:03 ---> f165c83e520c 21:14:03 Step 25/25 : LABEL version=2.2.1-dev.8 21:14:03 ---> Running in 3f54377224a5 21:14:04 Removing intermediate container 3f54377224a5 21:14:04 ---> 46a17062b7f1 21:14:04 [Warning] One or more build-args [ARCH] were not consumed 21:14:04 Successfully built 46a17062b7f1 21:14:04 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 21:14:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:04 21:14:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:05 arm64: Pulling from edgex-lftools-log-publisher 21:14:05 8998bd30e6a1: Pulling fs layer 21:14:05 04944245beec: Pulling fs layer 21:14:05 699f458cf7ca: Pulling fs layer 21:14:05 765212b225bb: Pulling fs layer 21:14:05 f23df028b6ca: Pulling fs layer 21:14:05 d65c8cfc05b1: Pulling fs layer 21:14:05 2437ff75d9bd: Pulling fs layer 21:14:05 f23df028b6ca: Waiting 21:14:05 d65c8cfc05b1: Waiting 21:14:05 765212b225bb: Waiting 21:14:05 2437ff75d9bd: Waiting 21:14:05 04944245beec: Verifying Checksum 21:14:05 04944245beec: Download complete 21:14:05 765212b225bb: Verifying Checksum 21:14:05 765212b225bb: Download complete 21:14:05 f23df028b6ca: Download complete 21:14:05 d65c8cfc05b1: Verifying Checksum 21:14:05 d65c8cfc05b1: Download complete 21:14:05 699f458cf7ca: Verifying Checksum 21:14:05 699f458cf7ca: Download complete 21:14:05 8998bd30e6a1: Download complete 21:14:08 2437ff75d9bd: Verifying Checksum 21:14:08 2437ff75d9bd: Download complete 21:14:10 8998bd30e6a1: Pull complete 21:14:10 04944245beec: Pull complete 21:14:12 699f458cf7ca: Pull complete 21:14:12 765212b225bb: Pull complete 21:14:13 f23df028b6ca: Pull complete 21:14:13 d65c8cfc05b1: Pull complete 21:14:29 2437ff75d9bd: Pull complete 21:14:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:14:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:14:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:29 prd-ubuntu20.04-docker-arm64-4c-16g-15273 does not seem to be running inside a container 21:14:29 $ 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/83 -v /w/workspace/device-sdk-go/83:/w/workspace/device-sdk-go/83:rw,z -v /w/workspace/device-sdk-go/83@tmp:/w/workspace/device-sdk-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:14:32 $ docker top 20e3b8dbf6334e106fbdfd9135c606f090e63b71cda8a1daf6b0642e618a05d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:33 ---> job-cost.sh 21:14:33 lf-activate-venv: SKIPPING 21:14:33 INFO: No Stack... 21:14:34 INFO: Retrieving Pricing Info for: v3-standard-4 21:14:34 INFO: Archiving Costs [Pipeline] sh 21:14:35 + cat /w/workspace/device-sdk-go/83/archives/cost.csv 21:14:35 + cut -d, -f6 [Pipeline] lock 21:14:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] 21:14:35 Resource [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] did not exist. Created. 21:14:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:14:36 /w/workspace/device-sdk-go/83@tmp/durable-83b8f5a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:14:37 + echo total: 0.10999999940395355 [Pipeline] stash 21:14:37 Warning: overwriting stash ‘stack-cost’ 21:14:37 Stashed 1 file(s) [Pipeline] } 21:14:37 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:14:37 $ docker stop --time=1 20e3b8dbf6334e106fbdfd9135c606f090e63b71cda8a1daf6b0642e618a05d3 21:14:38 $ docker rm -f 20e3b8dbf6334e106fbdfd9135c606f090e63b71cda8a1daf6b0642e618a05d3 [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 21:14:39 provisioning config files... 21:14:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4862704459776112347tmp [Pipeline] { [Pipeline] sh 21:14:39 + set +x 21:14:39 + curl -s https://codecov.io/bash 21:14:39 + bash -s -- 21:14:39 21:14:39 _____ _ 21:14:39 / ____| | | 21:14:39 | | ___ __| | ___ ___ _____ __ 21:14:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:14:39 | |___| (_) | (_| | __/ (_| (_) \ V / 21:14:39 \_____\___/ \__,_|\___|\___\___/ \_/ 21:14:39 Bash-1.0.6 21:14:39 21:14:39 21:14:39 ==> git version 2.25.1 found 21:14:39 ==> 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 21:14:39 Release-Date: 2020-01-08 21:14:39 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:14:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:14:39 ==> Jenkins CI detected. 21:14:39 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:14:39 project root: . 21:14:39 --> token set from env 21:14:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:14:39 ==> Running gcov in . (disable via -X gcov) 21:14:39 ==> Python coveragepy not found 21:14:39 ==> Searching for coverage reports in: 21:14:39 + . 21:14:39 -> Found 1 reports 21:14:39 ==> Detecting git/mercurial file structure 21:14:39 ==> Reading reports 21:14:39 + ./coverage.out bytes=131190 21:14:39 ==> Appending adjustments 21:14:39 https://docs.codecov.io/docs/fixing-reports 21:14:39 + Found adjustments 21:14:39 ==> Gzipping contents 21:14:39 20K /tmp/codecov.qrpkGy.gz 21:14:39 ==> Uploading reports 21:14:39 url: https://codecov.io 21:14:39 query: branch=main&commit=cf6bcd748b49a57926d0cd1f149c1f1b3a309328&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:39 -> Pinging Codecov 21:14:39 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=cf6bcd748b49a57926d0cd1f149c1f1b3a309328&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:14:40 -> Uploading to 21:14:40 https://storage.googleapis.com/codecov/v4/raw/2022-06-21/7E55EF52A471D76F132DFD9A03CDDE97/cf6bcd748b49a57926d0cd1f149c1f1b3a309328/e466b745-719f-4d78-a049-9198c06dc437.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T211440Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f9cd7cf8f32e4b58eca513f0ddb3e9cc205bce5b1880032bf4722c78cdf9992 21:14:40 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:40 Dload Upload Total Spent Left Speed 21:14:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16864 0 0 100 16864 0 78803 --:--:-- --:--:-- --:--:-- 78803 21:14:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] } 21:14:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:14:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:14:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:40 21:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:14:41 df9b9388f04a: Pulling fs layer 21:14:41 52dc419b0ee2: Pulling fs layer 21:14:41 25bc292e5bac: Pulling fs layer 21:14:41 114826534d7a: Pulling fs layer 21:14:41 4657fd5d0bcf: Pulling fs layer 21:14:41 6ad1cebc031e: Pulling fs layer 21:14:41 8a3aa393b2d8: Pulling fs layer 21:14:41 114826534d7a: Waiting 21:14:41 4657fd5d0bcf: Waiting 21:14:41 6ad1cebc031e: Waiting 21:14:41 25bc292e5bac: Verifying Checksum 21:14:41 25bc292e5bac: Download complete 21:14:41 52dc419b0ee2: Verifying Checksum 21:14:41 52dc419b0ee2: Download complete 21:14:41 4657fd5d0bcf: Verifying Checksum 21:14:41 4657fd5d0bcf: Download complete 21:14:41 df9b9388f04a: Verifying Checksum 21:14:41 df9b9388f04a: Download complete 21:14:41 df9b9388f04a: Pull complete 21:14:41 6ad1cebc031e: Verifying Checksum 21:14:41 6ad1cebc031e: Download complete 21:14:41 52dc419b0ee2: Pull complete 21:14:41 25bc292e5bac: Pull complete 21:14:41 114826534d7a: Verifying Checksum 21:14:41 114826534d7a: Download complete 21:14:41 8a3aa393b2d8: Verifying Checksum 21:14:41 8a3aa393b2d8: Download complete 21:14:45 114826534d7a: Pull complete 21:14:45 4657fd5d0bcf: Pull complete 21:14:45 6ad1cebc031e: Pull complete 21:14:47 8a3aa393b2d8: Pull complete 21:14:47 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:14:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:14:47 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:48 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:14:48 $ 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 21:14:49 $ docker top e744c9317c6a9fa3d64d4a2be767d2a138078164122f5a6c88146621c1505d44 -eo pid,comm [Pipeline] { [Pipeline] echo 21:14:49 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:14:50 + set -o pipefail 21:14:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:14:55 21:14:55 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 21:14:55 21:14:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/b65aa037-37bf-43e9-9383-841dfb699f86 21:14:55 21:14:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:14:55 21:14:55 [Pipeline] } 21:14:55 $ docker stop --time=1 e744c9317c6a9fa3d64d4a2be767d2a138078164122f5a6c88146621c1505d44 21:14:57 $ docker rm -f e744c9317c6a9fa3d64d4a2be767d2a138078164122f5a6c88146621c1505d44 [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 21:14:57 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:14:57 provisioning config files... 21:14:57 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8755674835284139735tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:14:58 --> edgex-publish-swagger.sh 21:14:58 === Publish openapi/v2 API === 21:14:58 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:14:58 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 21:14:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:14:58 Dload Upload Total Spent Left Speed 21:14:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 91385 --:--:-- --:--:-- --:--:-- 91229 100 53552 0 0 100 53552 0 91385 --:--:-- --:--:-- --:--:-- 91229 21:14:58 21:14:58 [Pipeline] } 21:14:58 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 21:14:59 + git log --format=format:%s -1 cf6bcd748b49a57926d0cd1f149c1f1b3a309328 [Pipeline] sh 21:14:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:14:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:14:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:59 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:14:59 $ 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 21:15:00 $ docker top 63bfc1c97ce4117464dd807190a7e68140929562ddf13fdad71ba708d672533a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:00 [ssh-agent] Looking for ssh-agent implementation... 21:15:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:00 $ docker exec 63bfc1c97ce4117464dd807190a7e68140929562ddf13fdad71ba708d672533a ssh-agent 21:15:00 SSH_AUTH_SOCK=/tmp/ssh-APZ0rKyNpLFW/agent.34 21:15:00 SSH_AGENT_PID=40 21:15:00 Running ssh-add (command line suppressed) 21:15:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2778533733452948520.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2778533733452948520.key) 21:15:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:01 + git semver tag 21:15:01 2022-06-21 21:15:01,309 [run_tag] DEBUG tag force:False 21:15:01 2022-06-21 21:15:01,309 [check_head_tag] DEBUG check head tag 21:15:01 2022-06-21 21:15:01,310 [execute] INFO git cat-file --batch-check 21:15:01 2022-06-21 21:15:01,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:15:01 2022-06-21 21:15:01,312 [execute] INFO git cat-file --batch 21:15:01 2022-06-21 21:15:01,313 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:15:01 2022-06-21 21:15:01,322 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:01 2022-06-21 21:15:01,322 [execute] INFO git tag -a v2.2.1-dev.8 -m v2.2.1-dev.8 21:15:01 2022-06-21 21:15:01,323 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.8', '-m', 'v2.2.1-dev.8'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:15:01 2022-06-21 21:15:01,329 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:01 2.2.1-dev.8 [Pipeline] } 21:15:01 $ docker exec --env ******** --env ******** 63bfc1c97ce4117464dd807190a7e68140929562ddf13fdad71ba708d672533a ssh-agent -k 21:15:01 unset SSH_AUTH_SOCK; 21:15:01 unset SSH_AGENT_PID; 21:15:01 echo Agent pid 40 killed; 21:15:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:01 + git semver [Pipeline] } 21:15:02 $ docker stop --time=1 63bfc1c97ce4117464dd807190a7e68140929562ddf13fdad71ba708d672533a 21:15:03 $ docker rm -f 63bfc1c97ce4117464dd807190a7e68140929562ddf13fdad71ba708d672533a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:03 21:15:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:04 0.23.1-centos7: Pulling from edgex-lftools 21:15:04 ab5ef0e58194: Pulling fs layer 21:15:04 9712f1f96733: Pulling fs layer 21:15:04 63f879dbbcfc: Pulling fs layer 21:15:04 0d9ebad4ef96: Pulling fs layer 21:15:04 e9a5061849ea: Pulling fs layer 21:15:04 d747dcd14b5f: Pulling fs layer 21:15:04 2de7ff778b66: Pulling fs layer 21:15:04 d747dcd14b5f: Waiting 21:15:04 e9a5061849ea: Waiting 21:15:04 2de7ff778b66: Waiting 21:15:04 0d9ebad4ef96: Waiting 21:15:04 9712f1f96733: Verifying Checksum 21:15:04 9712f1f96733: Download complete 21:15:04 63f879dbbcfc: Verifying Checksum 21:15:04 63f879dbbcfc: Download complete 21:15:04 0d9ebad4ef96: Verifying Checksum 21:15:04 0d9ebad4ef96: Download complete 21:15:04 d747dcd14b5f: Verifying Checksum 21:15:04 d747dcd14b5f: Download complete 21:15:04 e9a5061849ea: Verifying Checksum 21:15:04 e9a5061849ea: Download complete 21:15:04 ab5ef0e58194: Verifying Checksum 21:15:04 ab5ef0e58194: Download complete 21:15:04 2de7ff778b66: Verifying Checksum 21:15:04 2de7ff778b66: Download complete 21:15:07 ab5ef0e58194: Pull complete 21:15:07 9712f1f96733: Pull complete 21:15:07 63f879dbbcfc: Pull complete 21:15:12 0d9ebad4ef96: Pull complete 21:15:12 e9a5061849ea: Pull complete 21:15:12 d747dcd14b5f: Pull complete 21:15:12 2de7ff778b66: Pull complete 21:15:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:15:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:12 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:15:12 $ 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 21:15:14 $ docker top 7c6fbf289028b347dbfa21d0127b5df8b4809a13935ab525b3a931ab509fd9cd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:15:14 provisioning config files... 21:15:14 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3058415176158087436tmp 21:15:14 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6159087465669142493tmp 21:15:14 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config689338536032808018tmp [Pipeline] { [Pipeline] echo 21:15:14 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:15:15 ---> sigul-configuration.sh 21:15:15 gpg: directory `/root/.gnupg' created 21:15:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:15:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:15:15 gpg: keyring `/root/.gnupg/secring.gpg' created 21:15:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:15:15 gpg: CAST5 encrypted data 21:15:15 gpg: encrypted with 1 passphrase 21:15:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:15:15 + mkdir /home/jenkins 21:15:15 + mkdir /home/jenkins/sigul [Pipeline] sh 21:15: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 21:15:15 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:15:15 ---> sigul-install.sh 21:15:15 Sigul already installed; skipping installation. [Pipeline] sh 21:15:16 + git tag --list 21:15:16 0.7.1 21:15:16 delhi-tag 21:15:16 v1.0.0 21:15:16 v1.1.0 21:15:16 v1.1.1 21:15:16 v1.1.2 21:15:16 v1.2.0 21:15:16 v1.2.1 21:15:16 v1.2.2 21:15:16 v1.2.3 21:15:16 v1.3.0 21:15:16 v1.4.0 21:15:16 v2.0.0 21:15:16 v2.1.0 21:15:16 v2.1.1 21:15:16 v2.1.1-dev.2 21:15:16 v2.1.1-dev.3 21:15:16 v2.2.0 21:15:16 v2.2.1-dev.1 21:15:16 v2.2.1-dev.2 21:15:16 v2.2.1-dev.3 21:15:16 v2.2.1-dev.4 21:15:16 v2.2.1-dev.5 21:15:16 v2.2.1-dev.6 21:15:16 v2.2.1-dev.7 21:15:16 v2.2.1-dev.8 [Pipeline] sh 21:15:16 + lftools sign git-tag v2.2.1-dev.8 21:15:17 Signing Git tag with Sigul... 21:15:17 Signing v2.2.1-dev.8 [Pipeline] echo 21:15:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:15:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:15:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:15:17 $ docker stop --time=1 7c6fbf289028b347dbfa21d0127b5df8b4809a13935ab525b3a931ab509fd9cd 21:15:19 $ docker rm -f 7c6fbf289028b347dbfa21d0127b5df8b4809a13935ab525b3a931ab509fd9cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:15:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:20 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:15:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:15:20 $ docker top 25e057c30b96c50806f659d72868e31390188dc6cba57206a51e57edae76c82d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:20 [ssh-agent] Looking for ssh-agent implementation... 21:15:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:20 $ docker exec 25e057c30b96c50806f659d72868e31390188dc6cba57206a51e57edae76c82d ssh-agent 21:15:20 SSH_AUTH_SOCK=/tmp/ssh-txQZxlsqq479/agent.32 21:15:20 SSH_AGENT_PID=38 21:15:20 Running ssh-add (command line suppressed) 21:15:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1007693132097255271.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1007693132097255271.key) 21:15:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:21 + git semver bump pre 21:15:21 2022-06-21 21:15:21,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:21 2022-06-21 21:15:21,382 [bump_version] DEBUG bumping version:2.2.1-dev.8 on axis:pre with prefix:dev 21:15:21 2022-06-21 21:15:21,382 [bump_version] DEBUG bumped version:2.2.1-dev.9 21:15:21 2022-06-21 21:15:21,382 [write_version] DEBUG write version:2.2.1-dev.9 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:15:21 2022-06-21 21:15:21,382 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:21 2022-06-21 21:15:21,383 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:21 2022-06-21 21:15:21,385 [execute] INFO git cat-file --batch-check 21:15:21 2022-06-21 21:15:21,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:21 2022-06-21 21:15:21,390 [execute] INFO git cat-file --batch 21:15:21 2022-06-21 21:15:21,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:21 2022-06-21 21:15:21,397 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:21 2.2.1-dev.9 [Pipeline] } 21:15:21 $ docker exec --env ******** --env ******** 25e057c30b96c50806f659d72868e31390188dc6cba57206a51e57edae76c82d ssh-agent -k 21:15:21 unset SSH_AUTH_SOCK; 21:15:21 unset SSH_AGENT_PID; 21:15:21 echo Agent pid 38 killed; 21:15:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:21 + git semver [Pipeline] } 21:15:22 $ docker stop --time=1 25e057c30b96c50806f659d72868e31390188dc6cba57206a51e57edae76c82d 21:15:23 $ docker rm -f 25e057c30b96c50806f659d72868e31390188dc6cba57206a51e57edae76c82d [Pipeline] // withDockerContainer [Pipeline] sh 21:15:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:15:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:24 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:15:24 $ 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 21:15:24 $ docker top 32e83f8be3ed938a5d71b5bae3351c2692b7b6775055e1c25b3a4a5f183d7e74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:24 [ssh-agent] Looking for ssh-agent implementation... 21:15:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:24 $ docker exec 32e83f8be3ed938a5d71b5bae3351c2692b7b6775055e1c25b3a4a5f183d7e74 ssh-agent 21:15:25 SSH_AUTH_SOCK=/tmp/ssh-qNgGnP8wQkt2/agent.32 21:15:25 SSH_AGENT_PID=38 21:15:25 Running ssh-add (command line suppressed) 21:15:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2052683114774859004.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2052683114774859004.key) 21:15:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:25 + git semver push 21:15:25 2022-06-21 21:15:25,675 [run_push] DEBUG push 21:15:25 2022-06-21 21:15:25,676 [execute] INFO git cat-file --batch-check 21:15:25 2022-06-21 21:15:25,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:15:25 2022-06-21 21:15:25,680 [execute] INFO git rev-list af26e7bbe991e2c9507da131bbab0ce4db1bc167 -- 21:15:25 2022-06-21 21:15:25,680 [execute] DEBUG Popen(['git', 'rev-list', 'af26e7bbe991e2c9507da131bbab0ce4db1bc167', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:25 2022-06-21 21:15:25,690 [execute] INFO git fetch -v origin 21:15:25 2022-06-21 21:15:25,690 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:15:26 2022-06-21 21:15:26,141 [run_push] DEBUG no remote changes detected 21:15:26 2022-06-21 21:15:26,141 [execute] INFO git push origin semver 21:15:26 2022-06-21 21:15:26,141 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:15:27 2022-06-21 21:15:26,941 [run_push] DEBUG push all version tags 21:15:27 2022-06-21 21:15:26,942 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:15:27 2022-06-21 21:15:26,942 [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) 21:15:27 2022-06-21 21:15:27,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:15:27 2.2.1-dev.9 [Pipeline] } 21:15:27 $ docker exec --env ******** --env ******** 32e83f8be3ed938a5d71b5bae3351c2692b7b6775055e1c25b3a4a5f183d7e74 ssh-agent -k 21:15:27 unset SSH_AUTH_SOCK; 21:15:27 unset SSH_AGENT_PID; 21:15:27 echo Agent pid 38 killed; 21:15:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:28 + git semver [Pipeline] } 21:15:28 $ docker stop --time=1 32e83f8be3ed938a5d71b5bae3351c2692b7b6775055e1c25b3a4a5f183d7e74 21:15:29 $ docker rm -f 32e83f8be3ed938a5d71b5bae3351c2692b7b6775055e1c25b3a4a5f183d7e74 [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 21:15:30 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:15:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:15:30 total 16 21:15:30 drwxr-xr-x 3 root root 4096 Jun 21 21:01 . 21:15:30 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 21:15 .. 21:15:30 drwxr-xr-x 2 root root 4096 Jun 21 21:01 cost 21:15:30 -rw-r--r-- 1 root root 83 Jun 21 21:01 cost.csv 21:15:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:15:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:15:30 total 16 21:15:30 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 21:01 . 21:15:30 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 21:15 .. 21:15:30 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 21:01 cost 21:15:30 -rw-r--r-- 1 jenkins jenkins 83 Jun 21 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:15:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:15:31 ---> package-listing.sh 21:15:31 ++ facter osfamily 21:15:31 ++ tr '[:upper:]' '[:lower:]' 21:15:31 + OS_FAMILY=debian 21:15:31 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:15:31 + START_PACKAGES=/tmp/packages_start.txt 21:15:31 + END_PACKAGES=/tmp/packages_end.txt 21:15:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:15:31 + PACKAGES=/tmp/packages_start.txt 21:15:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:15:31 + PACKAGES=/tmp/packages_end.txt 21:15:31 + case "${OS_FAMILY}" in 21:15:31 + dpkg -l 21:15:31 + grep '^ii' 21:15:31 + '[' -f /tmp/packages_start.txt ']' 21:15:31 + '[' -f /tmp/packages_end.txt ']' 21:15:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:15:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:15:31 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:15: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 21:15: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 21:15:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:15:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:32 prd-ubuntu20.04-docker-8c-8g-15254 does not seem to be running inside a container 21:15: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 21:15:33 $ docker top 3fdaf0eb94d5209ff84719bcf1c547ba0ac1f8be2f87c352c060f3a5f53a53ca -eo pid,comm [Pipeline] { [Pipeline] sh 21:15:33 + touch /tmp/pre-build-complete [Pipeline] sh 21:15:33 + mkdir -p /var/log/sysstat [Pipeline] sh 21:15:33 + ls /var/log/sa-host 21:15:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:34 provisioning config files... 21:15:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config67955758319065432tmp [Pipeline] { [Pipeline] echo 21:15:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:15:34 ---> create-netrc.sh [Pipeline] } 21:15:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:15:34 ---> python-tools-install.sh [Pipeline] echo 21:15:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:15:34 ---> sudo-logs.sh 21:15:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:15:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:15:35 ---> job-cost.sh 21:15:35 lf-activate-venv: SKIPPING 21:15:35 DEBUG: total: 0.2199999988079071 21:15:35 INFO: Retrieving Stack Cost... 21:15:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:15:36 INFO: Archiving Costs [Pipeline] echo 21:15:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:15:36 ---> logs-deploy.sh 21:15:36 lf-activate-venv: SKIPPING 21:15:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/83 21:15:36 INFO: archiving workspace using pattern(s): 21:15:37 Archives upload complete. 21:15:37 INFO: archiving logs to Nexus