Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 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-ssh5820265234291735938.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-ssh2284050656326606680.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-ssh14667298666611352183.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-ssh18047473109307230981.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-ssh13107482936833871961.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13937 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 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 (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 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 # timeout=10 Commit message: "Merge pull request #1178 from eaton-coreymutter/bugfix/no-more-no-content" > git rev-list --no-walk 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:03:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:03:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:03:16 ========================================================= 09:03:16 EdgeX Global Pipelines Version Info 09:03:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:03:17 ------------------- 09:03:17 stable info: 09:03:17 ------------------- 09:03:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:03:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 09:03:17 Message: update stable to v1.0.234 09:03:17 ------------------- 09:03:17 experimental info: 09:03:17 ------------------- 09:03:17 Commited By: **** collab-it+edgex@linuxfoundation.org 09:03:17 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 09:03:17 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:03:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:03:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:03:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a39694 [Pipeline] echo 09:03:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:03:18 provisioning config files... 09:03:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2488258125817278043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:18 ---> docker-login.sh 09:03:18 nexus3.edgexfoundry.org:10001 09:03:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:18 Configure a credential helper to remove this warning. See 09:03:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:18 09:03:18 Login Succeeded 09:03:18 nexus3.edgexfoundry.org:10002 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 nexus3.edgexfoundry.org:10003 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 nexus3.edgexfoundry.org:10004 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:19 Configure a credential helper to remove this warning. See 09:03:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:19 09:03:19 Login Succeeded 09:03:19 docker.io 09:03:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:20 Configure a credential helper to remove this warning. See 09:03:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:20 09:03:20 Login Succeeded 09:03:20 ---> docker-login.sh ends [Pipeline] } 09:03:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:03:20 + git rev-list -1 --merges 8a3969459e3b49fd9513ee312ce7b8a9c05fc841~1..8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] echo 09:03:20 -----------> git rev-list -1 --merges 8a3969459e3b49fd9513ee312ce7b8a9c05fc841~1..8a3969459e3b49fd9513ee312ce7b8a9c05fc841 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 09:03:20 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [false] [Pipeline] sh 09:03:20 + git log --format=format:%s -1 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] echo 09:03:20 ========================================================= 09:03:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:03:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:03:21 + git log --format=format:%s -1 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] echo 09:03:21 [semverPrep] GIT_COMMIT: 8a3969459e3b49fd9513ee312ce7b8a9c05fc841, Commit Message: Merge pull request #1178 from eaton-coreymutter/bugfix/no-more-no-content [Pipeline] echo 09:03:21 [semverPrep] This is not a build commit. [Pipeline] sh 09:03:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:03:21 + grep -v github /etc/ssh/ssh_known_hosts 09:03:21 + [ -e /tmp/ssh_known_hosts ] 09:03:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:03:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:03:21 + sudo tee -a /etc/ssh/ssh_known_hosts 09:03:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:22 09:03:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:22 0.1.4: Pulling from edgex-devops/py-git-semver 09:03:22 42c077c10790: Pulling fs layer 09:03:22 f63e77b7563a: Pulling fs layer 09:03:22 bd5fdadae976: Pulling fs layer 09:03:22 205491f53016: Pulling fs layer 09:03:22 df18705c85c3: Pulling fs layer 09:03:22 bdb3f477010e: Pulling fs layer 09:03:22 c8a8fc8e1c8f: Pulling fs layer 09:03:22 2c6e9b1d212d: Pulling fs layer 09:03:22 bdb8f0575790: Pulling fs layer 09:03:22 df18705c85c3: Waiting 09:03:22 386e3cb2ff24: Pulling fs layer 09:03:22 2343380bae48: Pulling fs layer 09:03:22 c8a8fc8e1c8f: Waiting 09:03:22 bdb3f477010e: Waiting 09:03:22 bdb8f0575790: Waiting 09:03:22 2c6e9b1d212d: Waiting 09:03:22 386e3cb2ff24: Waiting 09:03:22 2343380bae48: Waiting 09:03:22 205491f53016: Waiting 09:03:22 f63e77b7563a: Download complete 09:03:22 205491f53016: Download complete 09:03:22 df18705c85c3: Verifying Checksum 09:03:22 df18705c85c3: Download complete 09:03:22 bdb3f477010e: Download complete 09:03:22 bd5fdadae976: Verifying Checksum 09:03:22 bd5fdadae976: Download complete 09:03:22 2c6e9b1d212d: Verifying Checksum 09:03:22 2c6e9b1d212d: Download complete 09:03:22 bdb8f0575790: Download complete 09:03:22 386e3cb2ff24: Verifying Checksum 09:03:22 386e3cb2ff24: Download complete 09:03:22 2343380bae48: Download complete 09:03:22 42c077c10790: Verifying Checksum 09:03:22 42c077c10790: Download complete 09:03:22 c8a8fc8e1c8f: Verifying Checksum 09:03:22 c8a8fc8e1c8f: Download complete 09:03:23 42c077c10790: Pull complete 09:03:24 f63e77b7563a: Pull complete 09:03:24 bd5fdadae976: Pull complete 09:03:24 205491f53016: Pull complete 09:03:24 df18705c85c3: Pull complete 09:03:24 bdb3f477010e: Pull complete 09:03:26 c8a8fc8e1c8f: Pull complete 09:03:26 2c6e9b1d212d: Pull complete 09:03:27 bdb8f0575790: Pull complete 09:03:27 386e3cb2ff24: Pull complete 09:03:27 2343380bae48: Pull complete 09:03:27 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 09:03:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:03:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:03:27 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:03:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:03:29 $ docker top 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 -eo pid,comm 09:03:29 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). 09:03:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:03:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:29 [ssh-agent] Looking for ssh-agent implementation... 09:03:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:29 $ docker exec 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 ssh-agent 09:03:29 SSH_AUTH_SOCK=/tmp/ssh-dXgwVUX7M80N/agent.32 09:03:29 SSH_AGENT_PID=39 09:03:29 Running ssh-add (command line suppressed) 09:03:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6904159954550481998.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6904159954550481998.key) 09:03:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:29 + git tag --points-at HEAD [Pipeline] } 09:03:29 $ docker exec --env ******** --env ******** 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 ssh-agent -k 09:03:30 unset SSH_AUTH_SOCK; 09:03:30 unset SSH_AGENT_PID; 09:03:30 echo Agent pid 39 killed; 09:03:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:03:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:03:30 [ssh-agent] Looking for ssh-agent implementation... 09:03:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:03:30 $ docker exec 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 ssh-agent 09:03:30 SSH_AUTH_SOCK=/tmp/ssh-cH3xQCrzHqXE/agent.74 09:03:30 SSH_AGENT_PID=81 09:03:30 Running ssh-add (command line suppressed) 09:03:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7255644570808111839.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7255644570808111839.key) 09:03:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:03:30 + git semver init 09:03:31 2022-06-19 09:03:30,996 [run_init] DEBUG init version:0.0.0 force:False 09:03:31 2022-06-19 09:03:30,997 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:03:31 2022-06-19 09:03:30,997 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 09:03:31 2022-06-19 09:03:30,997 [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) 09:03:32 2022-06-19 09:03:31,784 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 09:03:32 2022-06-19 09:03:31,784 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 09:03:32 2022-06-19 09:03:31,784 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:32 2022-06-19 09:03:31,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:03:32 2.2.1-dev.6 [Pipeline] } 09:03:32 $ docker exec --env ******** --env ******** 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 ssh-agent -k 09:03:32 unset SSH_AUTH_SOCK; 09:03:32 unset SSH_AGENT_PID; 09:03:32 echo Agent pid 81 killed; 09:03:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:03:32 + git semver [Pipeline] } 09:03:32 $ docker stop --time=1 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 09:03:34 $ docker rm -f 8853bb7b29ec6bf8f4a077608ec86e4979d4f1aebb99f7a611af148c2ebf1e37 [Pipeline] // withDockerContainer [Pipeline] sh 09:03:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:03:34 Stashed 1 file(s) [Pipeline] echo 09:03:34 [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [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 09:03:34 provisioning config files... 09:03:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2623555390227648944tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:03:35 ---> docker-login.sh 09:03:35 nexus3.edgexfoundry.org:10001 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 nexus3.edgexfoundry.org:10002 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 nexus3.edgexfoundry.org:10003 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 nexus3.edgexfoundry.org:10004 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 docker.io 09:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:03:35 Configure a credential helper to remove this warning. See 09:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:03:35 09:03:35 Login Succeeded 09:03:35 ---> docker-login.sh ends [Pipeline] } 09:03:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:03:36 ========================================================= 09:03:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 09:03:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:03:36 + 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 . 09:03:36 Sending build context to Docker daemon 9.716MB 09:03:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:03:36 Step 2/11 : FROM ${BASE} AS builder 09:03:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 09:03:36 59bf1c3509f3: Pulling fs layer 09:03:36 666ba61612fd: Pulling fs layer 09:03:36 8ed8ca486205: Pulling fs layer 09:03:36 cc1cd167ecdc: Pulling fs layer 09:03:36 c516ae0d96e1: Pulling fs layer 09:03:36 684cea983483: Pulling fs layer 09:03:36 dd3240ac7de5: Pulling fs layer 09:03:36 b1e948a4e11c: Pulling fs layer 09:03:36 a8fd76ee1af6: Pulling fs layer 09:03:36 646ad004c059: Pulling fs layer 09:03:36 cc1cd167ecdc: Waiting 09:03:36 c516ae0d96e1: Waiting 09:03:36 684cea983483: Waiting 09:03:36 dd3240ac7de5: Waiting 09:03:36 b1e948a4e11c: Waiting 09:03:36 a8fd76ee1af6: Waiting 09:03:36 646ad004c059: Waiting 09:03:36 8ed8ca486205: Verifying Checksum 09:03:36 8ed8ca486205: Download complete 09:03:36 666ba61612fd: Verifying Checksum 09:03:36 666ba61612fd: Download complete 09:03:36 c516ae0d96e1: Download complete 09:03:36 684cea983483: Verifying Checksum 09:03:36 684cea983483: Download complete 09:03:36 dd3240ac7de5: Verifying Checksum 09:03:36 dd3240ac7de5: Download complete 09:03:36 59bf1c3509f3: Verifying Checksum 09:03:36 59bf1c3509f3: Download complete 09:03:36 b1e948a4e11c: Verifying Checksum 09:03:36 b1e948a4e11c: Download complete 09:03:36 59bf1c3509f3: Pull complete 09:03:36 666ba61612fd: Pull complete 09:03:37 8ed8ca486205: Pull complete 09:03:37 cc1cd167ecdc: Verifying Checksum 09:03:37 cc1cd167ecdc: Download complete 09:03:37 646ad004c059: Verifying Checksum 09:03:37 646ad004c059: Download complete 09:03:37 a8fd76ee1af6: Verifying Checksum 09:03:37 a8fd76ee1af6: Download complete 09:03:41 cc1cd167ecdc: Pull complete 09:03:41 c516ae0d96e1: Pull complete 09:03:41 684cea983483: Pull complete 09:03:41 dd3240ac7de5: Pull complete 09:03:41 b1e948a4e11c: Pull complete 09:03:43 a8fd76ee1af6: Pull complete 09:03:44 646ad004c059: Pull complete 09:03:44 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 09:03:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 09:03:44 ---> 8f69c11f6b0c 09:03:44 Step 3/11 : ARG MAKE=make build 09:03:45 ---> Running in 19235d63e39d 09:03:45 Removing intermediate container 19235d63e39d 09:03:45 ---> cd28ab6057eb 09:03:45 Step 4/11 : WORKDIR /device-sdk-go 09:03:45 ---> Running in c45ae6290f69 09:03:45 Removing intermediate container c45ae6290f69 09:03:45 ---> a81a0e578c06 09:03:45 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:03:45 ---> Running in 1e3079af4d3b 09:03:46 Removing intermediate container 1e3079af4d3b 09:03:46 ---> 24ec0b367f08 09:03:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:03:46 ---> Running in 4f5f1fb8cc31 09:03:46 Removing intermediate container 4f5f1fb8cc31 09:03:46 ---> ffec5236297f 09:03:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:03:46 ---> Running in 026a11197feb 09:03:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:03:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:03:48 OK: 221 MiB in 52 packages 09:03:48 Removing intermediate container 026a11197feb 09:03:48 ---> 8e9f6199a6ea 09:03:48 Step 8/11 : COPY go.mod vendor* ./ 09:03:48 ---> 2d29d70cc242 09:03:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:03:48 ---> Running in cf4bf15c843d 09:03:49 Still waiting to schedule task 09:03:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-13948’ is offline 09:04:03 Removing intermediate container cf4bf15c843d 09:04:03 ---> 35ebf41b5cb9 09:04:03 Step 10/11 : COPY . . 09:04:03 ---> 72d6f8963b5e 09:04:03 Step 11/11 : RUN ${MAKE} 09:04:03 ---> Running in af0fc5f79285 09:04:03 noop 09:04:03 Removing intermediate container af0fc5f79285 09:04:03 ---> 88f4ad96e3d2 09:04:03 Successfully built 88f4ad96e3d2 09:04:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:04 + docker inspect -f . ci-base-image-x86_64 09:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:04 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:04:04 $ 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 09:04:04 $ docker top a365d49582dbfe92ba10ceb42973f98466498c617c204e9a1f3dec727e5ccf97 -eo pid,comm [Pipeline] { [Pipeline] sh 09:04:05 + go version 09:04:05 go version go1.17.7 linux/amd64 [Pipeline] } 09:04:05 $ docker stop --time=1 a365d49582dbfe92ba10ceb42973f98466498c617c204e9a1f3dec727e5ccf97 09:04:06 $ docker rm -f a365d49582dbfe92ba10ceb42973f98466498c617c204e9a1f3dec727e5ccf97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:06 + docker inspect -f . ci-base-image-x86_64 09:04:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:04:06 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:04:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:04:07 $ docker top 2a863bc98e80d0bfab346cdfbd0135c40d838baa114310be3c6f8180bcaa75e5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:04:07 + make test 09:04:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:04:14 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.065s coverage: 23.3% of statements 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.073s coverage: 10.8% of statements 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.116s coverage: 60.0% of statements 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:04:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.115s coverage: 34.8% of statements 09:04:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.059s coverage: 85.4% of statements 09:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 65.1% of statements 09:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.856s coverage: 89.2% of statements 09:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 09:04:27 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 09:04:27 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:04:41 GO111MODULE=on go vet ./... 09:04:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:04:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:04:45 ./bin/test-attribution-txt.sh [Pipeline] echo 09:04:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:04:46 $ docker stop --time=1 2a863bc98e80d0bfab346cdfbd0135c40d838baa114310be3c6f8180bcaa75e5 09:04:48 $ docker rm -f 2a863bc98e80d0bfab346cdfbd0135c40d838baa114310be3c6f8180bcaa75e5 [Pipeline] // withDockerContainer [Pipeline] sh 09:04:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:04:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:04:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:04:49 + ls -al . 09:04:49 total 300 09:04:49 drwxrwxr-x 11 jenkins jenkins 4096 Jun 19 09:04 . 09:04:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 09:03 .. 09:04:49 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 09:03 .dockerignore 09:04:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 09:03 .git 09:04:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:03 .github 09:04:49 -rw-rw-r-- 1 jenkins jenkins 131 Jun 19 09:03 .gitignore 09:04:49 -rw-rw-r-- 1 jenkins jenkins 42 Jun 19 09:03 .golangci.yml 09:04:49 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 09:03 .semver 09:04:49 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 19 09:03 CHANGELOG.md 09:04:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 09:03 GOVERNANCE.md 09:04:49 -rw-rw-r-- 1 jenkins jenkins 880 Jun 19 09:03 Jenkinsfile 09:04:49 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 19 09:03 LICENSE 09:04:49 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 19 09:03 Makefile 09:04:49 -rw-rw-r-- 1 jenkins jenkins 619 Jun 19 09:03 OWNERS.md 09:04:49 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 19 09:03 README.md 09:04:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 09:03 VERSION 09:04:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:03 bin 09:04:49 -rw-r--r-- 1 jenkins jenkins 131010 Jun 19 09:04 coverage.out 09:04:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 09:03 example 09:04:49 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 19 09:03 go.mod 09:04:49 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 19 09:03 go.sum 09:04:49 drwxrwxr-x 15 jenkins jenkins 4096 Jun 19 09:03 internal 09:04:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 09:03 openapi 09:04:49 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 09:03 pkg 09:04:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 09:03 snap 09:04:49 -rw-rw-r-- 1 jenkins jenkins 222 Jun 19 09:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:04:50 + 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=8a3969459e3b49fd9513ee312ce7b8a9c05fc841 --label arch=amd64 --label version=2.2.1-dev.6 . 09:04:50 Sending build context to Docker daemon 9.847MB 09:04:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:04:50 Step 2/25 : FROM ${BASE} AS builder 09:04:50 ---> 88f4ad96e3d2 09:04:50 Step 3/25 : ARG MAKE=make build 09:04:50 ---> Running in 067184691feb 09:04:50 Removing intermediate container 067184691feb 09:04:50 ---> 39c615b04a15 09:04:50 Step 4/25 : WORKDIR /device-sdk-go 09:04:50 ---> Running in 66dfea1d4f28 09:04:50 Removing intermediate container 66dfea1d4f28 09:04:50 ---> 89ad5ef72227 09:04:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:04:50 ---> Running in 637d64cce80f 09:04:50 Removing intermediate container 637d64cce80f 09:04:50 ---> 53434f688a1d 09:04:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:04:50 ---> Running in bc44d8c9579b 09:04:51 Removing intermediate container bc44d8c9579b 09:04:51 ---> 0a4a700c06bc 09:04:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:04:51 ---> Running in ef5ba048f150 09:04:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 09:04:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 09:04:52 OK: 221 MiB in 52 packages 09:04:52 Removing intermediate container ef5ba048f150 09:04:52 ---> cf572ce2edaf 09:04:52 Step 8/25 : COPY go.mod vendor* ./ 09:04:53 ---> 5477d1585c07 09:04:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:04:53 ---> Running in e6899fb2df92 09:04:53 Removing intermediate container e6899fb2df92 09:04:53 ---> 17f1d43c50aa 09:04:53 Step 10/25 : COPY . . 09:04:54 ---> 39798106544c 09:04:54 Step 11/25 : RUN ${MAKE} 09:04:54 ---> Running in e22fe802a138 09:04:54 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:05:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:05:14 Removing intermediate container e22fe802a138 09:05:14 ---> cccf50fe4a2d 09:05:14 Step 12/25 : FROM alpine:3.14 09:05:14 3.14: Pulling from library/alpine 09:05:14 8663204ce13b: Pulling fs layer 09:05:15 8663204ce13b: Download complete 09:05:15 8663204ce13b: Pull complete 09:05:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:05:15 Status: Downloaded newer image for alpine:3.14 09:05:15 ---> e04c818066af 09:05:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:05:15 ---> Running in b504aa9b489b 09:05:15 Removing intermediate container b504aa9b489b 09:05:15 ---> 0aef1bd40c3a 09:05:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:05:15 ---> Running in df5a4462326e 09:05:15 Removing intermediate container df5a4462326e 09:05:15 ---> 1e5ec21323b4 09:05:15 Step 15/25 : RUN apk add --update --no-cache zeromq 09:05:16 ---> Running in a4ef8dba645c 09:05:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 09:05:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 09:05:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 09:05:17 (2/5) Installing libsodium (1.0.18-r0) 09:05:17 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 09:05:17 (4/5) Installing libzmq (4.3.4-r0) 09:05:17 (5/5) Installing zeromq (4.3.4-r0) 09:05:17 Executing busybox-1.33.1-r7.trigger 09:05:17 OK: 8 MiB in 19 packages 09:05:18 Removing intermediate container a4ef8dba645c 09:05:18 ---> 6b5aee062037 09:05:18 Step 16/25 : WORKDIR / 09:05:18 ---> Running in ad76a2cb8546 09:05:18 Removing intermediate container ad76a2cb8546 09:05:18 ---> 11c4ae450a1f 09:05:18 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:05:18 ---> 41c00cbd6b6c 09:05:18 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:05:19 ---> 71a4be07c69d 09:05:19 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:05:19 ---> 860a4f14925c 09:05:19 Step 20/25 : EXPOSE 59999 09:05:19 ---> Running in e4dba4a26412 09:05:19 Removing intermediate container e4dba4a26412 09:05:19 ---> 8b38dbb61f1d 09:05:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 09:05:19 ---> Running in 60406a44d980 09:05:19 Removing intermediate container 60406a44d980 09:05:19 ---> 76a5412626eb 09:05:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:05:19 ---> Running in cd8e3384a030 09:05:19 Removing intermediate container cd8e3384a030 09:05:19 ---> 1a9e3dee86fb 09:05:19 Step 23/25 : LABEL arch=amd64 09:05:19 ---> Running in 61a383bd76c0 09:05:19 Removing intermediate container 61a383bd76c0 09:05:19 ---> 4d049c9b60b7 09:05:19 Step 24/25 : LABEL git_sha=8a3969459e3b49fd9513ee312ce7b8a9c05fc841 09:05:20 ---> Running in 9bae72db7601 09:05:20 Removing intermediate container 9bae72db7601 09:05:20 ---> c19a86791eca 09:05:20 Step 25/25 : LABEL version=2.2.1-dev.6 09:05:20 ---> Running in 4ba6b4a962df 09:05:20 Removing intermediate container 4ba6b4a962df 09:05:20 ---> 19a45de8f3be 09:05:20 [Warning] One or more build-args [ARCH] were not consumed 09:05:20 Successfully built 19a45de8f3be 09:05:20 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:20 09:05:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:05:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:21 latest: Pulling from edgex-lftools-log-publisher 09:05:21 5eb5b503b376: Pulling fs layer 09:05:21 5c69ac0246d0: Pulling fs layer 09:05:21 ec43610c2a17: Pulling fs layer 09:05:21 3a2ae6a8a46f: Pulling fs layer 09:05:21 33b1e0a273af: Pulling fs layer 09:05:21 5d3b04190fa2: Pulling fs layer 09:05:21 2f39f015ded8: Pulling fs layer 09:05:21 3a2ae6a8a46f: Waiting 09:05:21 33b1e0a273af: Waiting 09:05:21 5d3b04190fa2: Waiting 09:05:21 2f39f015ded8: Waiting 09:05:21 5c69ac0246d0: Verifying Checksum 09:05:21 5c69ac0246d0: Download complete 09:05:21 3a2ae6a8a46f: Verifying Checksum 09:05:21 3a2ae6a8a46f: Download complete 09:05:21 33b1e0a273af: Verifying Checksum 09:05:21 33b1e0a273af: Download complete 09:05:21 5d3b04190fa2: Verifying Checksum 09:05:21 5d3b04190fa2: Download complete 09:05:21 ec43610c2a17: Verifying Checksum 09:05:21 ec43610c2a17: Download complete 09:05:21 5eb5b503b376: Download complete 09:05:21 2f39f015ded8: Download complete 09:05:22 5eb5b503b376: Pull complete 09:05:22 5c69ac0246d0: Pull complete 09:05:23 ec43610c2a17: Pull complete 09:05:23 3a2ae6a8a46f: Pull complete 09:05:23 33b1e0a273af: Pull complete 09:05:23 5d3b04190fa2: Pull complete 09:05:27 2f39f015ded8: Pull complete 09:05:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:05:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:05:27 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:05:29 $ docker top 5fbc6a3dc1d4125c37fde546cb294d9af7d352d27fb1df049a039cf6be84912f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:05:29 ---> job-cost.sh 09:05:29 lf-activate-venv: SKIPPING 09:05:29 INFO: No Stack... 09:05:30 INFO: Retrieving Pricing Info for: v3-standard-8 09:05:30 INFO: Archiving Costs [Pipeline] sh 09:05:31 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 09:05:31 + cut -d, -f6 [Pipeline] lock 09:05:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] 09:05:31 Resource [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] did not exist. Created. 09:05:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:05:31 + echo total: 0.2199999988079071 [Pipeline] stash 09:05:31 Stashed 1 file(s) [Pipeline] } 09:05:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 09:05:31 $ docker stop --time=1 5fbc6a3dc1d4125c37fde546cb294d9af7d352d27fb1df049a039cf6be84912f 09:05:32 $ docker rm -f 5fbc6a3dc1d4125c37fde546cb294d9af7d352d27fb1df049a039cf6be84912f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:44:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15071 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 09:44:25 Running in /w/workspace/device-sdk-go/81 [Pipeline] { [Pipeline] checkout 09:44:25 The recommended git tool is: git 09:44:32 using credential edgex-jenkins-ssh 09:44:32 Cloning the remote Git repository 09:44:32 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:44:32 > git init /w/workspace/device-sdk-go/81 # timeout=10 09:44:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:44:33 > git --version # timeout=10 09:44:33 > git --version # 'git version 2.25.1' 09:44:33 using GIT_SSH to set credentials SSH Credentials for GitHub 09:44:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:34 Avoid second fetch 09:44:34 Checking out Revision 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 (main) 09:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:44:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:44:34 > git config core.sparsecheckout # timeout=10 09:44:34 > git checkout -f 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 # timeout=10 09:44:39 Commit message: "Merge pull request #1178 from eaton-coreymutter/bugfix/no-more-no-content" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:44:40 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:40 Dload Upload Total Spent Left Speed 09:44:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 64489 0 --:--:-- --:--:-- --:--:-- 64489 [Pipeline] sh 09:44:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:44:41 + sudo tee /etc/docker/daemon.new 09:44:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:44:41 { 09:44:41 "registry-mirrors": [ 09:44:41 "https://nexus3.edgexfoundry.org:10001" 09:44:41 ], 09:44:41 "bip": "10.250.0.254/24", 09:44:41 "hosts": [ 09:44:41 "tcp://0.0.0.0:5555", 09:44:41 "unix:///var/run/docker.sock" 09:44:41 ], 09:44:41 "mtu": 1458, 09:44:41 "selinux-enabled": true, 09:44:41 "seccomp-profile": "/etc/docker/seccomp.json" 09:44:41 } [Pipeline] sh 09:44:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:44:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:45:00 provisioning config files... 09:45:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/81@tmp/config3165395582578937282tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:45:00 ---> docker-login.sh 09:45:00 nexus3.edgexfoundry.org:10001 09:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:01 Configure a credential helper to remove this warning. See 09:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:01 09:45:01 Login Succeeded 09:45:02 nexus3.edgexfoundry.org:10002 09:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:02 Configure a credential helper to remove this warning. See 09:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:02 09:45:02 Login Succeeded 09:45:02 nexus3.edgexfoundry.org:10003 09:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:02 Configure a credential helper to remove this warning. See 09:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:02 09:45:02 Login Succeeded 09:45:02 nexus3.edgexfoundry.org:10004 09:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:03 Configure a credential helper to remove this warning. See 09:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:03 09:45:03 Login Succeeded 09:45:03 docker.io 09:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:45:04 Configure a credential helper to remove this warning. See 09:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:45:04 09:45:04 Login Succeeded 09:45:04 ---> docker-login.sh ends [Pipeline] } 09:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:45:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:45:05 ========================================================= 09:45:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 09:45:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:45:05 + 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 . 09:45:06 Sending build context to Docker daemon 5.198MB 09:45:06 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 09:45:06 Step 2/11 : FROM ${BASE} AS builder 09:45:06 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:45:06 9b3977197b4f: Pulling fs layer 09:45:06 1a89e8eeedd5: Pulling fs layer 09:45:06 94645a83ff95: Pulling fs layer 09:45:06 e6fb740bc735: Pulling fs layer 09:45:06 3a77bd46dcc9: Pulling fs layer 09:45:06 355e64cbe906: Pulling fs layer 09:45:06 63ab81a10011: Pulling fs layer 09:45:06 e6fb740bc735: Waiting 09:45:06 3a77bd46dcc9: Waiting 09:45:06 355e64cbe906: Waiting 09:45:06 555d1d1c4555: Pulling fs layer 09:45:06 7d9057610161: Pulling fs layer 09:45:06 555d1d1c4555: Waiting 09:45:06 7d9057610161: Waiting 09:45:06 63ab81a10011: Waiting 09:45:06 94645a83ff95: Verifying Checksum 09:45:06 94645a83ff95: Download complete 09:45:06 1a89e8eeedd5: Download complete 09:45:06 3a77bd46dcc9: Download complete 09:45:06 355e64cbe906: Verifying Checksum 09:45:06 355e64cbe906: Download complete 09:45:06 63ab81a10011: Verifying Checksum 09:45:06 63ab81a10011: Download complete 09:45:06 9b3977197b4f: Verifying Checksum 09:45:06 9b3977197b4f: Download complete 09:45:07 9b3977197b4f: Pull complete 09:45:07 7d9057610161: Verifying Checksum 09:45:07 7d9057610161: Download complete 09:45:07 1a89e8eeedd5: Pull complete 09:45:08 94645a83ff95: Pull complete 09:45:08 555d1d1c4555: Verifying Checksum 09:45:08 555d1d1c4555: Download complete 09:45:09 e6fb740bc735: Verifying Checksum 09:45:09 e6fb740bc735: Download complete 09:45:21 e6fb740bc735: Pull complete 09:45:21 3a77bd46dcc9: Pull complete 09:45:21 355e64cbe906: Pull complete 09:45:21 63ab81a10011: Pull complete 09:45:28 555d1d1c4555: Pull complete 09:45:30 7d9057610161: Pull complete 09:45:30 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 09:45:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 09:45:30 ---> 819e984ddca1 09:45:30 Step 3/11 : ARG MAKE=make build 09:45:32 ---> Running in 66fa4e1566b5 09:45:32 Removing intermediate container 66fa4e1566b5 09:45:32 ---> 04dd5d9fa22d 09:45:32 Step 4/11 : WORKDIR /device-sdk-go 09:45:32 ---> Running in 3bb8ca8c9bcd 09:45:32 Removing intermediate container 3bb8ca8c9bcd 09:45:32 ---> 935436152b7e 09:45:32 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:45:32 ---> Running in be6dc5e33eb6 09:45:33 Removing intermediate container be6dc5e33eb6 09:45:33 ---> aaf78212b734 09:45:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:45:33 ---> Running in 832981ab40ac 09:45:36 Removing intermediate container 832981ab40ac 09:45:36 ---> c61a9d779ef3 09:45:36 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:45:36 ---> Running in ec2e3687f515 09:45:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:45:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:45:39 OK: 220 MiB in 52 packages 09:45:40 Removing intermediate container ec2e3687f515 09:45:40 ---> 50c5d3ad0261 09:45:40 Step 8/11 : COPY go.mod vendor* ./ 09:45:41 ---> aa2dcc3f16cd 09:45:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:45:41 ---> Running in 6d08da6c385c 09:46:28 Removing intermediate container 6d08da6c385c 09:46:28 ---> fd175e78be18 09:46:28 Step 10/11 : COPY . . 09:46:28 ---> 1b24a7a82819 09:46:28 Step 11/11 : RUN ${MAKE} 09:46:28 ---> Running in 912b86ddef23 09:46:29 noop 09:46:29 Removing intermediate container 912b86ddef23 09:46:29 ---> c643373ea5c5 09:46:29 Successfully built c643373ea5c5 09:46:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:30 + docker inspect -f . ci-base-image-arm64 09:46:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:30 prd-ubuntu20.04-docker-arm64-4c-16g-15071 does not seem to be running inside a container 09:46:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/81 -v /w/workspace/device-sdk-go/81:/w/workspace/device-sdk-go/81:rw,z -v /w/workspace/device-sdk-go/81@tmp:/w/workspace/device-sdk-go/81@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 09:46:32 $ docker top 858b2f70a7064915c5929367d6819089e142d40c66231c70a858cdbd703e8c6a -eo pid,comm [Pipeline] { [Pipeline] sh 09:46:32 + go version 09:46:32 go version go1.17.7 linux/arm64 [Pipeline] } 09:46:32 $ docker stop --time=1 858b2f70a7064915c5929367d6819089e142d40c66231c70a858cdbd703e8c6a 09:46:34 $ docker rm -f 858b2f70a7064915c5929367d6819089e142d40c66231c70a858cdbd703e8c6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:46:35 + docker inspect -f . ci-base-image-arm64 09:46:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:46:35 prd-ubuntu20.04-docker-arm64-4c-16g-15071 does not seem to be running inside a container 09:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/81 -v /w/workspace/device-sdk-go/81:/w/workspace/device-sdk-go/81:rw,z -v /w/workspace/device-sdk-go/81@tmp:/w/workspace/device-sdk-go/81@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 09:46:36 $ docker top b884cdf42e364422ff29d05906898319ea0be725f658434cc8839f74db24d222 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 09:46:37 + make test 09:46:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:47:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.417s coverage: 23.3% of statements 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.286s coverage: 27.6% of statements 09:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.329s coverage: 78.9% of statements 09:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.270s coverage: 10.8% of statements 09:49:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.481s coverage: 60.0% of statements 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 09:49:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.448s coverage: 34.8% of statements 09:49:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 09:49:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.307s coverage: 85.4% of statements 09:49:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:49:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:49:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.579s coverage: 65.1% of statements 09:49:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.291s coverage: 89.2% of statements 09:49:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 09:49:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.228s coverage: 4.7% of statements 09:49:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:49:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:49:12 GO111MODULE=on go vet ./... 09:50:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:50:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:50:34 ./bin/test-attribution-txt.sh [Pipeline] echo 09:50:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:50:36 $ docker stop --time=1 b884cdf42e364422ff29d05906898319ea0be725f658434cc8839f74db24d222 09:50:37 $ docker rm -f b884cdf42e364422ff29d05906898319ea0be725f658434cc8839f74db24d222 [Pipeline] // withDockerContainer [Pipeline] sh 09:50:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:50:39 Warning: overwriting stash ‘coverage-report’ 09:50:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:50:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:50:40 + ls -al . 09:50:40 total 296 09:50:40 drwxrwxr-x 10 jenkins jenkins 4096 Jun 19 09:50 . 09:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 09:44 .. 09:50:40 -rw-rw-r-- 1 jenkins jenkins 140 Jun 19 09:44 .dockerignore 09:50:40 drwxrwxr-x 8 jenkins jenkins 4096 Jun 19 09:44 .git 09:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:44 .github 09:50:40 -rw-rw-r-- 1 jenkins jenkins 131 Jun 19 09:44 .gitignore 09:50:40 -rw-rw-r-- 1 jenkins jenkins 42 Jun 19 09:44 .golangci.yml 09:50:40 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 19 09:44 CHANGELOG.md 09:50:40 -rw-rw-r-- 1 jenkins jenkins 677 Jun 19 09:44 GOVERNANCE.md 09:50:40 -rw-rw-r-- 1 jenkins jenkins 880 Jun 19 09:44 Jenkinsfile 09:50:40 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 19 09:44 LICENSE 09:50:40 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 19 09:44 Makefile 09:50:40 -rw-rw-r-- 1 jenkins jenkins 619 Jun 19 09:44 OWNERS.md 09:50:40 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 19 09:44 README.md 09:50:40 -rw-rw-r-- 1 jenkins jenkins 11 Jun 19 09:03 VERSION 09:50:40 drwxrwxr-x 2 jenkins jenkins 4096 Jun 19 09:44 bin 09:50:40 -rw-r--r-- 1 jenkins jenkins 131010 Jun 19 09:49 coverage.out 09:50:40 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 09:44 example 09:50:40 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 19 09:44 go.mod 09:50:40 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 19 09:44 go.sum 09:50:40 drwxrwxr-x 15 jenkins jenkins 4096 Jun 19 09:44 internal 09:50:40 drwxrwxr-x 3 jenkins jenkins 4096 Jun 19 09:44 openapi 09:50:40 drwxrwxr-x 5 jenkins jenkins 4096 Jun 19 09:44 pkg 09:50:40 drwxrwxr-x 4 jenkins jenkins 4096 Jun 19 09:44 snap 09:50:40 -rw-rw-r-- 1 jenkins jenkins 222 Jun 19 09:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:40 + 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=8a3969459e3b49fd9513ee312ce7b8a9c05fc841 --label arch=arm64 --label version=2.2.1-dev.6 . 09:50:41 Sending build context to Docker daemon 5.329MB 09:50:41 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 09:50:41 Step 2/25 : FROM ${BASE} AS builder 09:50:41 ---> c643373ea5c5 09:50:41 Step 3/25 : ARG MAKE=make build 09:50:41 ---> Running in 6cd8715e5fd9 09:50:41 Removing intermediate container 6cd8715e5fd9 09:50:41 ---> cb51d915fd63 09:50:41 Step 4/25 : WORKDIR /device-sdk-go 09:50:41 ---> Running in 944931e254db 09:50:41 Removing intermediate container 944931e254db 09:50:41 ---> 03ae8fa3e035 09:50:41 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:50:41 ---> Running in 090184c4971f 09:50:42 Removing intermediate container 090184c4971f 09:50:42 ---> d34f54832166 09:50:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:50:42 ---> Running in 7af22606bca4 09:50:43 Removing intermediate container 7af22606bca4 09:50:43 ---> 14ac84615fbf 09:50:43 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 09:50:43 ---> Running in ef2ea0f89234 09:50:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 09:50:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 09:50:46 OK: 220 MiB in 52 packages 09:50:47 Removing intermediate container ef2ea0f89234 09:50:47 ---> 58b046432dcd 09:50:47 Step 8/25 : COPY go.mod vendor* ./ 09:50:47 ---> adf13a5c9b1e 09:50:47 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:50:47 ---> Running in 2d8205ca94ad 09:50:49 Removing intermediate container 2d8205ca94ad 09:50:49 ---> 0aab1b9b616b 09:50:49 Step 10/25 : COPY . . 09:50:50 ---> 90c45d9364f9 09:50:50 Step 11/25 : RUN ${MAKE} 09:50:50 ---> Running in bb1fa4e6b9e7 09:50:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:52:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 09:52:58 Removing intermediate container bb1fa4e6b9e7 09:52:58 ---> c0e1d8ffaa93 09:52:58 Step 12/25 : FROM alpine:3.14 09:52:58 3.14: Pulling from library/alpine 09:52:58 455c02918c45: Pulling fs layer 09:52:58 455c02918c45: Verifying Checksum 09:52:58 455c02918c45: Download complete 09:52:58 455c02918c45: Pull complete 09:52:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 09:52:58 Status: Downloaded newer image for alpine:3.14 09:52:58 ---> ac73e934f311 09:52:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:52:58 ---> Running in 755bd80a76df 09:52:58 Removing intermediate container 755bd80a76df 09:52:58 ---> 8c2d8ec2dee8 09:52:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:58 ---> Running in afa604d25709 09:52:58 Removing intermediate container afa604d25709 09:52:58 ---> fdf166855d29 09:52:58 Step 15/25 : RUN apk add --update --no-cache zeromq 09:52:58 ---> Running in c7d837553049 09:52:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 09:52:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 09:52:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 09:52:58 (2/5) Installing libsodium (1.0.18-r0) 09:52:58 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 09:52:58 (4/5) Installing libzmq (4.3.4-r0) 09:52:59 (5/5) Installing zeromq (4.3.4-r0) 09:52:59 Executing busybox-1.33.1-r7.trigger 09:52:59 OK: 8 MiB in 19 packages 09:53:00 Removing intermediate container c7d837553049 09:53:00 ---> 90761d42dd02 09:53:00 Step 16/25 : WORKDIR / 09:53:00 ---> Running in 77c1105407a7 09:53:00 Removing intermediate container 77c1105407a7 09:53:00 ---> c873f076de44 09:53:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:53:00 ---> 0a56ac7eb787 09:53:00 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:53:02 ---> c945beb7e0db 09:53:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:53:02 ---> f867ba3f6673 09:53:02 Step 20/25 : EXPOSE 59999 09:53:02 ---> Running in 43f6fab80037 09:53:03 Removing intermediate container 43f6fab80037 09:53:03 ---> f5c245ce5c68 09:53:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 09:53:03 ---> Running in c84012650a09 09:53:03 Removing intermediate container c84012650a09 09:53:03 ---> 4ab4e146643d 09:53:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:53:03 ---> Running in 4aa3d404a4a0 09:53:04 Removing intermediate container 4aa3d404a4a0 09:53:04 ---> a573a7428cdc 09:53:04 Step 23/25 : LABEL arch=arm64 09:53:04 ---> Running in bf932e8d9965 09:53:04 Removing intermediate container bf932e8d9965 09:53:04 ---> 086c36a4474a 09:53:04 Step 24/25 : LABEL git_sha=8a3969459e3b49fd9513ee312ce7b8a9c05fc841 09:53:04 ---> Running in f007bfb74942 09:53:04 Removing intermediate container f007bfb74942 09:53:04 ---> f8b9818be2e1 09:53:04 Step 25/25 : LABEL version=2.2.1-dev.6 09:53:04 ---> Running in a349a8daf15b 09:53:05 Removing intermediate container a349a8daf15b 09:53:05 ---> 7d502365fcf4 09:53:05 [Warning] One or more build-args [ARCH] were not consumed 09:53:05 Successfully built 7d502365fcf4 09:53:05 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 09:53:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:05 09:53:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:06 arm64: Pulling from edgex-lftools-log-publisher 09:53:06 8998bd30e6a1: Pulling fs layer 09:53:06 04944245beec: Pulling fs layer 09:53:06 699f458cf7ca: Pulling fs layer 09:53:06 765212b225bb: Pulling fs layer 09:53:06 f23df028b6ca: Pulling fs layer 09:53:06 d65c8cfc05b1: Pulling fs layer 09:53:06 2437ff75d9bd: Pulling fs layer 09:53:06 f23df028b6ca: Waiting 09:53:06 d65c8cfc05b1: Waiting 09:53:06 2437ff75d9bd: Waiting 09:53:06 765212b225bb: Waiting 09:53:06 04944245beec: Verifying Checksum 09:53:06 04944245beec: Download complete 09:53:06 765212b225bb: Verifying Checksum 09:53:06 765212b225bb: Download complete 09:53:06 f23df028b6ca: Download complete 09:53:06 d65c8cfc05b1: Verifying Checksum 09:53:06 d65c8cfc05b1: Download complete 09:53:06 699f458cf7ca: Verifying Checksum 09:53:06 699f458cf7ca: Download complete 09:53:06 8998bd30e6a1: Verifying Checksum 09:53:06 8998bd30e6a1: Download complete 09:53:09 2437ff75d9bd: Verifying Checksum 09:53:09 2437ff75d9bd: Download complete 09:53:11 8998bd30e6a1: Pull complete 09:53:11 04944245beec: Pull complete 09:53:13 699f458cf7ca: Pull complete 09:53:13 765212b225bb: Pull complete 09:53:14 f23df028b6ca: Pull complete 09:53:14 d65c8cfc05b1: Pull complete 09:53:29 2437ff75d9bd: Pull complete 09:53:29 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:53:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:53:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:29 prd-ubuntu20.04-docker-arm64-4c-16g-15071 does not seem to be running inside a container 09:53: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/81 -v /w/workspace/device-sdk-go/81:/w/workspace/device-sdk-go/81:rw,z -v /w/workspace/device-sdk-go/81@tmp:/w/workspace/device-sdk-go/81@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 09:53:32 $ docker top bf7f66efd0a1944a4f17732a7aec05affd909b8ba5379bc31134b35979ce2969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:33 ---> job-cost.sh 09:53:33 lf-activate-venv: SKIPPING 09:53:33 INFO: No Stack... 09:53:33 INFO: Retrieving Pricing Info for: v3-standard-4 09:53:34 INFO: Archiving Costs [Pipeline] sh 09:53:35 + cat /w/workspace/device-sdk-go/81/archives/cost.csv 09:53:35 + cut -d, -f6 [Pipeline] lock 09:53:35 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] 09:53:35 Resource [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] did not exist. Created. 09:53:35 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:53:36 /w/workspace/device-sdk-go/81@tmp/durable-f54b9911/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:53:36 + echo total: 0.10999999940395355 [Pipeline] stash 09:53:36 Warning: overwriting stash ‘stack-cost’ 09:53:36 Stashed 1 file(s) [Pipeline] } 09:53:36 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-81-stack-cost] [Pipeline] // lock [Pipeline] } 09:53:36 $ docker stop --time=1 bf7f66efd0a1944a4f17732a7aec05affd909b8ba5379bc31134b35979ce2969 09:53:38 $ docker rm -f bf7f66efd0a1944a4f17732a7aec05affd909b8ba5379bc31134b35979ce2969 [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 09:53:38 provisioning config files... 09:53:38 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5688514076299873636tmp [Pipeline] { [Pipeline] sh 09:53:39 + set +x 09:53:39 + curl -s https://codecov.io/bash 09:53:39 + bash -s -- 09:53:39 09:53:39 _____ _ 09:53:39 / ____| | | 09:53:39 | | ___ __| | ___ ___ _____ __ 09:53:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:53:39 | |___| (_) | (_| | __/ (_| (_) \ V / 09:53:39 \_____\___/ \__,_|\___|\___\___/ \_/ 09:53:39 Bash-1.0.6 09:53:39 09:53:39 09:53:39 ==> git version 2.25.1 found 09:53: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 09:53:39 Release-Date: 2020-01-08 09:53: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 09:53:39 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:53:39 ==> Jenkins CI detected. 09:53:39 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 09:53:39 project root: . 09:53:39 --> token set from env 09:53:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:53:39 ==> Running gcov in . (disable via -X gcov) 09:53:39 ==> Python coveragepy not found 09:53:39 ==> Searching for coverage reports in: 09:53:39 + . 09:53:39 -> Found 1 reports 09:53:39 ==> Detecting git/mercurial file structure 09:53:39 ==> Reading reports 09:53:39 + ./coverage.out bytes=131010 09:53:39 ==> Appending adjustments 09:53:39 https://docs.codecov.io/docs/fixing-reports 09:53:39 + Found adjustments 09:53:39 ==> Gzipping contents 09:53:39 20K /tmp/codecov.zZ93HT.gz 09:53:39 ==> Uploading reports 09:53:39 url: https://codecov.io 09:53:39 query: branch=main&commit=8a3969459e3b49fd9513ee312ce7b8a9c05fc841&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:53:39 -> Pinging Codecov 09:53: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=8a3969459e3b49fd9513ee312ce7b8a9c05fc841&build=81&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F81%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:53:40 -> Uploading to 09:53:40 https://storage.googleapis.com/codecov/v4/raw/2022-06-19/7E55EF52A471D76F132DFD9A03CDDE97/8a3969459e3b49fd9513ee312ce7b8a9c05fc841/2e664073-d865-4fd8-8eed-5eb6b5e27ae1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220619%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220619T095339Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5cad5838d69a80585e618b797f2b9b654f823cdfa3ba0c719f3ec9283cf9997 09:53:40 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:40 Dload Upload Total Spent Left Speed 09:53:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16835 0 0 100 16835 0 78668 --:--:-- --:--:-- --:--:-- 78668 09:53:40 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] } 09:53:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:53:40 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:53:40 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:53:40 09:53:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:53:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:53:40 df9b9388f04a: Pulling fs layer 09:53:40 52dc419b0ee2: Pulling fs layer 09:53:40 25bc292e5bac: Pulling fs layer 09:53:40 114826534d7a: Pulling fs layer 09:53:40 4657fd5d0bcf: Pulling fs layer 09:53:40 6ad1cebc031e: Pulling fs layer 09:53:40 8a3aa393b2d8: Pulling fs layer 09:53:40 4657fd5d0bcf: Waiting 09:53:40 114826534d7a: Waiting 09:53:40 8a3aa393b2d8: Waiting 09:53:40 6ad1cebc031e: Waiting 09:53:40 25bc292e5bac: Verifying Checksum 09:53:40 25bc292e5bac: Download complete 09:53:40 52dc419b0ee2: Verifying Checksum 09:53:40 52dc419b0ee2: Download complete 09:53:40 4657fd5d0bcf: Verifying Checksum 09:53:40 4657fd5d0bcf: Download complete 09:53:40 df9b9388f04a: Download complete 09:53:41 6ad1cebc031e: Verifying Checksum 09:53:41 6ad1cebc031e: Download complete 09:53:41 df9b9388f04a: Pull complete 09:53:41 52dc419b0ee2: Pull complete 09:53:41 25bc292e5bac: Pull complete 09:53:41 114826534d7a: Verifying Checksum 09:53:41 114826534d7a: Download complete 09:53:41 8a3aa393b2d8: Verifying Checksum 09:53:41 8a3aa393b2d8: Download complete 09:53:44 114826534d7a: Pull complete 09:53:45 4657fd5d0bcf: Pull complete 09:53:45 6ad1cebc031e: Pull complete 09:53:48 8a3aa393b2d8: Pull complete 09:53:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:53:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:53:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:48 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:53: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 09:53:50 $ docker top 2a6f3060e11b7638b480d633d45491dfe306648e9afee0be0e284193f65e17ef -eo pid,comm [Pipeline] { [Pipeline] echo 09:53:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 09:53:50 + set -o pipefail 09:53:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 09:53:55 09:53:55 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 09:53:55 09:53:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/e439246d-fe4c-4a23-9589-63b767906d31 09:53:55 09:53:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:53:55 09:53:55 [Pipeline] } 09:53:55 $ docker stop --time=1 2a6f3060e11b7638b480d633d45491dfe306648e9afee0be0e284193f65e17ef 09:53:57 $ docker rm -f 2a6f3060e11b7638b480d633d45491dfe306648e9afee0be0e284193f65e17ef [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 09:53:57 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:53:57 provisioning config files... 09:53:57 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6766806151144354056tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:53:57 --> edgex-publish-swagger.sh 09:53:57 === Publish openapi/v2 API === 09:53:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 09:53:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 09:53:57 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:57 Dload Upload Total Spent Left Speed 09:53:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 77164 --:--:-- --:--:-- --:--:-- 77164 09:53:58 09:53:58 [Pipeline] } 09:53: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 09:53:58 + git log --format=format:%s -1 8a3969459e3b49fd9513ee312ce7b8a9c05fc841 [Pipeline] sh 09:53:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:53:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:53:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:53:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:53:59 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:53: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 09:53:59 $ docker top 7c56eac47e00eca16fcc7123bdf2dc16870f33a963fbfab4e3920ba7a0386536 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:53:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:53:59 [ssh-agent] Looking for ssh-agent implementation... 09:54:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:00 $ docker exec 7c56eac47e00eca16fcc7123bdf2dc16870f33a963fbfab4e3920ba7a0386536 ssh-agent 09:54:00 SSH_AUTH_SOCK=/tmp/ssh-Tqmi9eepYbCW/agent.34 09:54:00 SSH_AGENT_PID=40 09:54:00 Running ssh-add (command line suppressed) 09:54:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7612064570671642412.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7612064570671642412.key) 09:54:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:00 + git semver tag 09:54:00 2022-06-19 09:54:00,822 [run_tag] DEBUG tag force:False 09:54:00 2022-06-19 09:54:00,822 [check_head_tag] DEBUG check head tag 09:54:00 2022-06-19 09:54:00,823 [execute] INFO git cat-file --batch-check 09:54:00 2022-06-19 09:54:00,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:54:00 2022-06-19 09:54:00,827 [execute] INFO git cat-file --batch 09:54:00 2022-06-19 09:54:00,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 09:54:00 2022-06-19 09:54:00,838 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:00 2022-06-19 09:54:00,838 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 09:54:00 2022-06-19 09:54:00,838 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 09:54:00 2022-06-19 09:54:00,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:00 2.2.1-dev.6 [Pipeline] } 09:54:00 $ docker exec --env ******** --env ******** 7c56eac47e00eca16fcc7123bdf2dc16870f33a963fbfab4e3920ba7a0386536 ssh-agent -k 09:54:01 unset SSH_AUTH_SOCK; 09:54:01 unset SSH_AGENT_PID; 09:54:01 echo Agent pid 40 killed; 09:54:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:01 + git semver [Pipeline] } 09:54:01 $ docker stop --time=1 7c56eac47e00eca16fcc7123bdf2dc16870f33a963fbfab4e3920ba7a0386536 09:54:02 $ docker rm -f 7c56eac47e00eca16fcc7123bdf2dc16870f33a963fbfab4e3920ba7a0386536 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:03 09:54:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:03 0.23.1-centos7: Pulling from edgex-lftools 09:54:03 ab5ef0e58194: Pulling fs layer 09:54:03 9712f1f96733: Pulling fs layer 09:54:03 63f879dbbcfc: Pulling fs layer 09:54:03 0d9ebad4ef96: Pulling fs layer 09:54:03 e9a5061849ea: Pulling fs layer 09:54:03 d747dcd14b5f: Pulling fs layer 09:54:03 2de7ff778b66: Pulling fs layer 09:54:03 e9a5061849ea: Waiting 09:54:03 0d9ebad4ef96: Waiting 09:54:03 d747dcd14b5f: Waiting 09:54:03 2de7ff778b66: Waiting 09:54:03 9712f1f96733: Verifying Checksum 09:54:03 9712f1f96733: Download complete 09:54:03 63f879dbbcfc: Verifying Checksum 09:54:03 63f879dbbcfc: Download complete 09:54:04 0d9ebad4ef96: Verifying Checksum 09:54:04 0d9ebad4ef96: Download complete 09:54:04 d747dcd14b5f: Download complete 09:54:04 e9a5061849ea: Verifying Checksum 09:54:04 e9a5061849ea: Download complete 09:54:04 ab5ef0e58194: Download complete 09:54:04 2de7ff778b66: Verifying Checksum 09:54:04 2de7ff778b66: Download complete 09:54:07 ab5ef0e58194: Pull complete 09:54:07 9712f1f96733: Pull complete 09:54:07 63f879dbbcfc: Pull complete 09:54:11 0d9ebad4ef96: Pull complete 09:54:11 e9a5061849ea: Pull complete 09:54:11 d747dcd14b5f: Pull complete 09:54:13 2de7ff778b66: Pull complete 09:54:13 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:54:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:54:13 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:13 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:54:13 $ 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 09:54:15 $ docker top 227183b812a2b9a54f9941343e10f47ca73d6f401c685aba555b420ddec9e629 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:54:15 provisioning config files... 09:54:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4826240107225068165tmp 09:54:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6727750347502605254tmp 09:54:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4753077087519414818tmp [Pipeline] { [Pipeline] echo 09:54:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:54:15 ---> sigul-configuration.sh 09:54:15 gpg: directory `/root/.gnupg' created 09:54:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:54:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:54:15 gpg: keyring `/root/.gnupg/secring.gpg' created 09:54:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:54:15 gpg: CAST5 encrypted data 09:54:15 gpg: encrypted with 1 passphrase 09:54:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:54:15 + mkdir /home/jenkins 09:54:15 + mkdir /home/jenkins/sigul [Pipeline] sh 09:54:16 + 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 09:54:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:54:16 ---> sigul-install.sh 09:54:16 Sigul already installed; skipping installation. [Pipeline] sh 09:54:16 + git tag --list 09:54:16 0.7.1 09:54:16 delhi-tag 09:54:16 v1.0.0 09:54:16 v1.1.0 09:54:16 v1.1.1 09:54:16 v1.1.2 09:54:16 v1.2.0 09:54:16 v1.2.1 09:54:16 v1.2.2 09:54:16 v1.2.3 09:54:16 v1.3.0 09:54:16 v1.4.0 09:54:16 v2.0.0 09:54:16 v2.1.0 09:54:16 v2.1.1 09:54:16 v2.1.1-dev.2 09:54:16 v2.1.1-dev.3 09:54:16 v2.2.0 09:54:16 v2.2.1-dev.1 09:54:16 v2.2.1-dev.2 09:54:16 v2.2.1-dev.3 09:54:16 v2.2.1-dev.4 09:54:16 v2.2.1-dev.5 09:54:16 v2.2.1-dev.6 [Pipeline] sh 09:54:17 + lftools sign git-tag v2.2.1-dev.6 09:54:17 Signing Git tag with Sigul... 09:54:17 Signing v2.2.1-dev.6 [Pipeline] echo 09:54:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:54:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:54:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:54:18 $ docker stop --time=1 227183b812a2b9a54f9941343e10f47ca73d6f401c685aba555b420ddec9e629 09:54:19 $ docker rm -f 227183b812a2b9a54f9941343e10f47ca73d6f401c685aba555b420ddec9e629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:54:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:20 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:54: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 09:54:20 $ docker top 8769538e7f53e089879533ff76c0d2c185eef82d1f33edf2fe8547e1197244dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:20 [ssh-agent] Looking for ssh-agent implementation... 09:54:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:21 $ docker exec 8769538e7f53e089879533ff76c0d2c185eef82d1f33edf2fe8547e1197244dc ssh-agent 09:54:21 SSH_AUTH_SOCK=/tmp/ssh-BhyDcxjQPC5D/agent.32 09:54:21 SSH_AGENT_PID=38 09:54:21 Running ssh-add (command line suppressed) 09:54:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_583174499038557275.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_583174499038557275.key) 09:54:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:21 + git semver bump pre 09:54:21 2022-06-19 09:54:21,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:21 2022-06-19 09:54:21,789 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 09:54:21 2022-06-19 09:54:21,789 [bump_version] DEBUG bumped version:2.2.1-dev.7 09:54:21 2022-06-19 09:54:21,790 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 09:54:21 2022-06-19 09:54:21,790 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:21 2022-06-19 09:54:21,790 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:21 2022-06-19 09:54:21,791 [execute] INFO git cat-file --batch-check 09:54:21 2022-06-19 09:54:21,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:21 2022-06-19 09:54:21,797 [execute] INFO git cat-file --batch 09:54:21 2022-06-19 09:54:21,797 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:21 2022-06-19 09:54:21,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:21 2.2.1-dev.7 [Pipeline] } 09:54:21 $ docker exec --env ******** --env ******** 8769538e7f53e089879533ff76c0d2c185eef82d1f33edf2fe8547e1197244dc ssh-agent -k 09:54:21 unset SSH_AUTH_SOCK; 09:54:21 unset SSH_AGENT_PID; 09:54:21 echo Agent pid 38 killed; 09:54:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:22 + git semver [Pipeline] } 09:54:22 $ docker stop --time=1 8769538e7f53e089879533ff76c0d2c185eef82d1f33edf2fe8547e1197244dc 09:54:23 $ docker rm -f 8769538e7f53e089879533ff76c0d2c185eef82d1f33edf2fe8547e1197244dc [Pipeline] // withDockerContainer [Pipeline] sh 09:54:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:54:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:54:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:24 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:54: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 09:54:25 $ docker top f91e65205f4bd97b35a9d4d0727b85e033939e6d9f24a525591073c6351899e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:54:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:54:25 [ssh-agent] Looking for ssh-agent implementation... 09:54:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:54:25 $ docker exec f91e65205f4bd97b35a9d4d0727b85e033939e6d9f24a525591073c6351899e7 ssh-agent 09:54:25 SSH_AUTH_SOCK=/tmp/ssh-Ru77iJaDziKF/agent.33 09:54:25 SSH_AGENT_PID=39 09:54:25 Running ssh-add (command line suppressed) 09:54:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8068249314576073157.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8068249314576073157.key) 09:54:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:54:25 + git semver push 09:54:26 2022-06-19 09:54:26,045 [run_push] DEBUG push 09:54:26 2022-06-19 09:54:26,045 [execute] INFO git cat-file --batch-check 09:54:26 2022-06-19 09:54:26,045 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:54:26 2022-06-19 09:54:26,049 [execute] INFO git rev-list 875f101e532ef158037efc606cf64d0e0adfd695 -- 09:54:26 2022-06-19 09:54:26,049 [execute] DEBUG Popen(['git', 'rev-list', '875f101e532ef158037efc606cf64d0e0adfd695', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:54:26 2022-06-19 09:54:26,059 [execute] INFO git fetch -v origin 09:54:26 2022-06-19 09:54:26,059 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:54:26 2022-06-19 09:54:26,530 [run_push] DEBUG no remote changes detected 09:54:26 2022-06-19 09:54:26,530 [execute] INFO git push origin semver 09:54:26 2022-06-19 09:54:26,531 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:54:27 2022-06-19 09:54:27,313 [run_push] DEBUG push all version tags 09:54:27 2022-06-19 09:54:27,313 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:54:27 2022-06-19 09:54:27,314 [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) 09:54:28 2022-06-19 09:54:27,964 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 09:54:28 2.2.1-dev.7 [Pipeline] } 09:54:28 $ docker exec --env ******** --env ******** f91e65205f4bd97b35a9d4d0727b85e033939e6d9f24a525591073c6351899e7 ssh-agent -k 09:54:28 unset SSH_AUTH_SOCK; 09:54:28 unset SSH_AGENT_PID; 09:54:28 echo Agent pid 39 killed; 09:54:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:54:28 + git semver [Pipeline] } 09:54:28 $ docker stop --time=1 f91e65205f4bd97b35a9d4d0727b85e033939e6d9f24a525591073c6351899e7 09:54:30 $ docker rm -f f91e65205f4bd97b35a9d4d0727b85e033939e6d9f24a525591073c6351899e7 [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 09:54:30 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 09:54:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:54:30 total 16 09:54:30 drwxr-xr-x 3 root root 4096 Jun 19 09:05 . 09:54:30 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 09:54 .. 09:54:30 drwxr-xr-x 2 root root 4096 Jun 19 09:05 cost 09:54:30 -rw-r--r-- 1 root root 83 Jun 19 09:05 cost.csv 09:54:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:54:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 09:54:30 total 16 09:54:30 drwxr-xr-x 3 jenkins jenkins 4096 Jun 19 09:05 . 09:54:30 drwxrwxr-x 12 jenkins jenkins 4096 Jun 19 09:54 .. 09:54:30 drwxr-xr-x 2 jenkins jenkins 4096 Jun 19 09:05 cost 09:54:30 -rw-r--r-- 1 jenkins jenkins 83 Jun 19 09:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:54:31 ---> package-listing.sh 09:54:31 ++ facter osfamily 09:54:31 ++ tr '[:upper:]' '[:lower:]' 09:54:32 + OS_FAMILY=debian 09:54:32 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 09:54:32 + START_PACKAGES=/tmp/packages_start.txt 09:54:32 + END_PACKAGES=/tmp/packages_end.txt 09:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:54:32 + PACKAGES=/tmp/packages_start.txt 09:54:32 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:54:32 + PACKAGES=/tmp/packages_end.txt 09:54:32 + case "${OS_FAMILY}" in 09:54:32 + dpkg -l 09:54:32 + grep '^ii' 09:54:32 + '[' -f /tmp/packages_start.txt ']' 09:54:32 + '[' -f /tmp/packages_end.txt ']' 09:54:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:54:32 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 09:54:32 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 09:54:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 09:54:32 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 09:54:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:54:33 prd-ubuntu20.04-docker-8c-8g-13937 does not seem to be running inside a container 09:54:33 $ 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 09:54:33 $ docker top 7934cd9baf6e34529f7d24a2174fa621b1c4ff7ea6aeada21ff485f779725c08 -eo pid,comm [Pipeline] { [Pipeline] sh 09:54:33 + touch /tmp/pre-build-complete [Pipeline] sh 09:54:33 + mkdir -p /var/log/sysstat [Pipeline] sh 09:54:34 + ls /var/log/sa-host 09:54:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:34 provisioning config files... 09:54:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1070126480751914336tmp [Pipeline] { [Pipeline] echo 09:54:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:54:34 ---> create-netrc.sh [Pipeline] } 09:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:54:34 ---> python-tools-install.sh [Pipeline] echo 09:54:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:54:35 ---> sudo-logs.sh 09:54:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:54:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:54:35 ---> job-cost.sh 09:54:35 lf-activate-venv: SKIPPING 09:54:35 DEBUG: total: 0.2199999988079071 09:54:35 INFO: Retrieving Stack Cost... 09:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 09:54:36 INFO: Archiving Costs [Pipeline] echo 09:54:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:54:36 ---> logs-deploy.sh 09:54:36 lf-activate-venv: SKIPPING 09:54:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/81 09:54:36 INFO: archiving workspace using pattern(s): 09:54:37 Archives upload complete. 09:54:37 INFO: archiving logs to Nexus