Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 37feea84d12508780716eef2708031ba6031fa53 Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9623008460166115042.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3391859784694388930.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10555437394682294490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13621974097402650420.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12783421096624946628.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2539 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Avoid second fetch Checking out Revision 37feea84d12508780716eef2708031ba6031fa53 (main) Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 Commit message: "Merge pull request #1177 from weichou1229/issue-1176" > git rev-list --no-walk f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T06:15:16.218Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T06:15:16.264Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T06:15:16.277Z] ========================================================= [2022-06-17T06:15:16.277Z] EdgeX Global Pipelines Version Info [2022-06-17T06:15:16.277Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:15:17.065Z] ------------------- [2022-06-17T06:15:17.065Z] stable info: [2022-06-17T06:15:17.065Z] ------------------- [2022-06-17T06:15:17.065Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T06:15:17.065Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T06:15:17.065Z] Message: update stable to v1.0.234 [2022-06-17T06:15:17.638Z] ------------------- [2022-06-17T06:15:17.638Z] experimental info: [2022-06-17T06:15:17.638Z] ------------------- [2022-06-17T06:15:17.638Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T06:15:17.638Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T06:15:17.638Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T06:15:17.885Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-06-17T06:15:17.894Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-06-17T06:15:17.902Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T06:15:17.910Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T06:15:17.918Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T06:15:17.930Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T06:15:17.941Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T06:15:17.953Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-06-17T06:15:17.965Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T06:15:17.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T06:15:17.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T06:15:18.014Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-06-17T06:15:18.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T06:15:18.039Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T06:15:18.050Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T06:15:18.064Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T06:15:18.081Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T06:15:18.091Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T06:15:18.103Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T06:15:18.115Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T06:15:18.126Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-06-17T06:15:18.139Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-06-17T06:15:18.156Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T06:15:18.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T06:15:18.183Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T06:15:18.194Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T06:15:18.206Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T06:15:18.220Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-17T06:15:18.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-17T06:15:18.243Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-17T06:15:18.257Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo [2022-06-17T06:15:18.267Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37feea8 [Pipeline] echo [2022-06-17T06:15:18.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:15:18.333Z] provisioning config files... [2022-06-17T06:15:18.346Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3014698266227999791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:15:18.651Z] ---> docker-login.sh [2022-06-17T06:15:18.651Z] nexus3.edgexfoundry.org:10001 [2022-06-17T06:15:18.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:18.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:18.912Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:18.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:18.912Z] [2022-06-17T06:15:18.912Z] Login Succeeded [2022-06-17T06:15:18.912Z] nexus3.edgexfoundry.org:10002 [2022-06-17T06:15:19.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:19.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:19.173Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:19.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:19.173Z] [2022-06-17T06:15:19.173Z] Login Succeeded [2022-06-17T06:15:19.173Z] nexus3.edgexfoundry.org:10003 [2022-06-17T06:15:19.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:19.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:19.434Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:19.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:19.434Z] [2022-06-17T06:15:19.434Z] Login Succeeded [2022-06-17T06:15:19.434Z] nexus3.edgexfoundry.org:10004 [2022-06-17T06:15:19.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:19.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:19.434Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:19.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:19.434Z] [2022-06-17T06:15:19.434Z] Login Succeeded [2022-06-17T06:15:19.434Z] docker.io [2022-06-17T06:15:19.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:20.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:20.009Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:20.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:20.009Z] [2022-06-17T06:15:20.009Z] Login Succeeded [2022-06-17T06:15:20.009Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T06:15:20.017Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T06:15:20.405Z] + git rev-list -1 --merges 37feea84d12508780716eef2708031ba6031fa53~1..37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo [2022-06-17T06:15:20.432Z] -----------> git rev-list -1 --merges 37feea84d12508780716eef2708031ba6031fa53~1..37feea84d12508780716eef2708031ba6031fa53 37feea84d12508780716eef2708031ba6031fa53 [2022-06-17T06:15:20.432Z] 37feea84d12508780716eef2708031ba6031fa53 [false] [Pipeline] sh [2022-06-17T06:15:20.746Z] + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo [2022-06-17T06:15:20.765Z] ========================================================= [2022-06-17T06:15:20.765Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T06:15:20.765Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T06:15:21.102Z] + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] echo [2022-06-17T06:15:21.123Z] [semverPrep] GIT_COMMIT: 37feea84d12508780716eef2708031ba6031fa53, Commit Message: Merge pull request #1177 from weichou1229/issue-1176 [Pipeline] echo [2022-06-17T06:15:21.134Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T06:15:21.498Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T06:15:21.498Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T06:15:21.498Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T06:15:21.498Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T06:15:21.498Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T06:15:21.498Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T06:15:21.498Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:15:21.914Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:15:21.914Z] [2022-06-17T06:15:21.914Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:15:22.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:15:22.222Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T06:15:22.222Z] 42c077c10790: Pulling fs layer [2022-06-17T06:15:22.222Z] f63e77b7563a: Pulling fs layer [2022-06-17T06:15:22.222Z] bd5fdadae976: Pulling fs layer [2022-06-17T06:15:22.222Z] 205491f53016: Pulling fs layer [2022-06-17T06:15:22.222Z] df18705c85c3: Pulling fs layer [2022-06-17T06:15:22.222Z] bdb3f477010e: Pulling fs layer [2022-06-17T06:15:22.222Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T06:15:22.222Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T06:15:22.222Z] bdb8f0575790: Pulling fs layer [2022-06-17T06:15:22.222Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T06:15:22.222Z] 2343380bae48: Pulling fs layer [2022-06-17T06:15:22.222Z] bdb8f0575790: Waiting [2022-06-17T06:15:22.222Z] 2c6e9b1d212d: Waiting [2022-06-17T06:15:22.222Z] 205491f53016: Waiting [2022-06-17T06:15:22.222Z] c8a8fc8e1c8f: Waiting [2022-06-17T06:15:22.222Z] df18705c85c3: Waiting [2022-06-17T06:15:22.222Z] f63e77b7563a: Download complete [2022-06-17T06:15:22.222Z] 205491f53016: Download complete [2022-06-17T06:15:22.222Z] df18705c85c3: Verifying Checksum [2022-06-17T06:15:22.222Z] df18705c85c3: Download complete [2022-06-17T06:15:22.483Z] bdb3f477010e: Verifying Checksum [2022-06-17T06:15:22.483Z] bdb3f477010e: Download complete [2022-06-17T06:15:22.483Z] bd5fdadae976: Verifying Checksum [2022-06-17T06:15:22.483Z] bd5fdadae976: Download complete [2022-06-17T06:15:22.483Z] 2c6e9b1d212d: Download complete [2022-06-17T06:15:22.483Z] bdb8f0575790: Verifying Checksum [2022-06-17T06:15:22.483Z] bdb8f0575790: Download complete [2022-06-17T06:15:22.483Z] 386e3cb2ff24: Download complete [2022-06-17T06:15:22.483Z] 2343380bae48: Download complete [2022-06-17T06:15:22.483Z] 42c077c10790: Verifying Checksum [2022-06-17T06:15:22.483Z] 42c077c10790: Download complete [2022-06-17T06:15:22.742Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T06:15:22.742Z] c8a8fc8e1c8f: Download complete [2022-06-17T06:15:23.683Z] 42c077c10790: Pull complete [2022-06-17T06:15:23.683Z] f63e77b7563a: Pull complete [2022-06-17T06:15:24.251Z] bd5fdadae976: Pull complete [2022-06-17T06:15:24.251Z] 205491f53016: Pull complete [2022-06-17T06:15:24.511Z] df18705c85c3: Pull complete [2022-06-17T06:15:24.773Z] bdb3f477010e: Pull complete [2022-06-17T06:15:26.688Z] c8a8fc8e1c8f: Pull complete [2022-06-17T06:15:26.688Z] 2c6e9b1d212d: Pull complete [2022-06-17T06:15:26.688Z] bdb8f0575790: Pull complete [2022-06-17T06:15:26.688Z] 386e3cb2ff24: Pull complete [2022-06-17T06:15:26.948Z] 2343380bae48: Pull complete [2022-06-17T06:15:26.948Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T06:15:26.948Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:15:26.948Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:15:27.059Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:15:27.101Z] $ 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 [2022-06-17T06:15:28.466Z] $ docker top ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 -eo pid,comm [2022-06-17T06:15:28.528Z] 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). [2022-06-17T06:15:28.528Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T06:15:28.679Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T06:15:28.679Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T06:15:28.809Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T06:15:28.818Z] $ docker exec ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent [2022-06-17T06:15:28.944Z] SSH_AUTH_SOCK=/tmp/ssh-OtElZFCwXD5e/agent.32 [2022-06-17T06:15:28.944Z] SSH_AGENT_PID=40 [2022-06-17T06:15:28.949Z] Running ssh-add (command line suppressed) [2022-06-17T06:15:29.077Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1176252393654892226.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1176252393654892226.key) [2022-06-17T06:15:29.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T06:15:29.382Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T06:15:29.412Z] $ docker exec --env ******** --env ******** ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent -k [2022-06-17T06:15:29.531Z] unset SSH_AUTH_SOCK; [2022-06-17T06:15:29.531Z] unset SSH_AGENT_PID; [2022-06-17T06:15:29.531Z] echo Agent pid 40 killed; [2022-06-17T06:15:29.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T06:15:29.563Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T06:15:29.563Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T06:15:29.680Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T06:15:29.689Z] $ docker exec ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent [2022-06-17T06:15:29.807Z] SSH_AUTH_SOCK=/tmp/ssh-v6GowhfUVk81/agent.74 [2022-06-17T06:15:29.807Z] SSH_AGENT_PID=81 [2022-06-17T06:15:29.813Z] Running ssh-add (command line suppressed) [2022-06-17T06:15:29.950Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_179055577793938128.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_179055577793938128.key) [2022-06-17T06:15:29.958Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T06:15:30.250Z] + git semver init [2022-06-17T06:15:30.511Z] 2022-06-17 06:15:30,457 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T06:15:30.511Z] 2022-06-17 06:15:30,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-06-17T06:15:30.511Z] 2022-06-17 06:15:30,458 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-06-17T06:15:30.511Z] 2022-06-17 06:15:30,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-17T06:15:31.455Z] 2022-06-17 06:15:31,243 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude [2022-06-17T06:15:31.455Z] 2022-06-17 06:15:31,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False [2022-06-17T06:15:31.455Z] 2022-06-17 06:15:31,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:15:31.455Z] 2022-06-17 06:15:31,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:15:31.455Z] 2.2.1-dev.5 [Pipeline] } [2022-06-17T06:15:31.471Z] $ docker exec --env ******** --env ******** ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 ssh-agent -k [2022-06-17T06:15:31.574Z] unset SSH_AUTH_SOCK; [2022-06-17T06:15:31.575Z] unset SSH_AGENT_PID; [2022-06-17T06:15:31.575Z] echo Agent pid 81 killed; [2022-06-17T06:15:31.581Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T06:15:31.889Z] + git semver [Pipeline] } [2022-06-17T06:15:32.170Z] $ docker stop --time=1 ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 [2022-06-17T06:15:33.470Z] $ docker rm -f ef1479eaf445309f1d97478f2820c17884e6e2aac1052f6d331e803437bb58d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T06:15:33.814Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T06:15:34.069Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T06:15:34.071Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:15:34.238Z] provisioning config files... [2022-06-17T06:15:34.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7190149538043318904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:15:34.547Z] ---> docker-login.sh [2022-06-17T06:15:34.547Z] nexus3.edgexfoundry.org:10001 [2022-06-17T06:15:34.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:34.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:34.547Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:34.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:34.547Z] [2022-06-17T06:15:34.547Z] Login Succeeded [2022-06-17T06:15:34.547Z] nexus3.edgexfoundry.org:10002 [2022-06-17T06:15:34.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:34.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:34.807Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:34.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:34.807Z] [2022-06-17T06:15:34.807Z] Login Succeeded [2022-06-17T06:15:34.807Z] nexus3.edgexfoundry.org:10003 [2022-06-17T06:15:34.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:34.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:34.807Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:34.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:34.807Z] [2022-06-17T06:15:34.807Z] Login Succeeded [2022-06-17T06:15:34.807Z] nexus3.edgexfoundry.org:10004 [2022-06-17T06:15:34.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:35.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:35.067Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:35.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:35.067Z] [2022-06-17T06:15:35.067Z] Login Succeeded [2022-06-17T06:15:35.067Z] docker.io [2022-06-17T06:15:35.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:15:35.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:15:35.329Z] Configure a credential helper to remove this warning. See [2022-06-17T06:15:35.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:15:35.329Z] [2022-06-17T06:15:35.329Z] Login Succeeded [2022-06-17T06:15:35.329Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T06:15:35.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T06:15:35.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T06:15:35.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T06:15:35.424Z] ========================================================= [2022-06-17T06:15:35.424Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T06:15:35.424Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:15:35.753Z] + 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 . [2022-06-17T06:15:35.753Z] Sending build context to Docker daemon 9.711MB [2022-06-17T06:15:35.753Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T06:15:35.753Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-17T06:15:35.753Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T06:15:35.753Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T06:15:35.753Z] 666ba61612fd: Pulling fs layer [2022-06-17T06:15:35.753Z] 8ed8ca486205: Pulling fs layer [2022-06-17T06:15:35.753Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T06:15:35.753Z] c516ae0d96e1: Pulling fs layer [2022-06-17T06:15:35.753Z] 684cea983483: Pulling fs layer [2022-06-17T06:15:35.753Z] dd3240ac7de5: Pulling fs layer [2022-06-17T06:15:35.753Z] b1e948a4e11c: Pulling fs layer [2022-06-17T06:15:35.753Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T06:15:35.753Z] 646ad004c059: Pulling fs layer [2022-06-17T06:15:35.753Z] dd3240ac7de5: Waiting [2022-06-17T06:15:35.753Z] b1e948a4e11c: Waiting [2022-06-17T06:15:35.753Z] a8fd76ee1af6: Waiting [2022-06-17T06:15:35.753Z] 646ad004c059: Waiting [2022-06-17T06:15:35.753Z] cc1cd167ecdc: Waiting [2022-06-17T06:15:35.753Z] 684cea983483: Waiting [2022-06-17T06:15:35.753Z] c516ae0d96e1: Waiting [2022-06-17T06:15:35.753Z] 8ed8ca486205: Verifying Checksum [2022-06-17T06:15:35.753Z] 8ed8ca486205: Download complete [2022-06-17T06:15:35.753Z] 666ba61612fd: Verifying Checksum [2022-06-17T06:15:35.753Z] 666ba61612fd: Download complete [2022-06-17T06:15:36.023Z] c516ae0d96e1: Verifying Checksum [2022-06-17T06:15:36.023Z] c516ae0d96e1: Download complete [2022-06-17T06:15:36.023Z] 684cea983483: Verifying Checksum [2022-06-17T06:15:36.023Z] 684cea983483: Download complete [2022-06-17T06:15:36.023Z] 59bf1c3509f3: Download complete [2022-06-17T06:15:36.023Z] dd3240ac7de5: Verifying Checksum [2022-06-17T06:15:36.023Z] dd3240ac7de5: Download complete [2022-06-17T06:15:36.023Z] b1e948a4e11c: Verifying Checksum [2022-06-17T06:15:36.023Z] b1e948a4e11c: Download complete [2022-06-17T06:15:36.023Z] 59bf1c3509f3: Pull complete [2022-06-17T06:15:36.297Z] 666ba61612fd: Pull complete [2022-06-17T06:15:36.297Z] 8ed8ca486205: Pull complete [2022-06-17T06:15:36.567Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T06:15:36.567Z] cc1cd167ecdc: Download complete [2022-06-17T06:15:36.828Z] 646ad004c059: Verifying Checksum [2022-06-17T06:15:36.828Z] 646ad004c059: Download complete [2022-06-17T06:15:36.828Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T06:15:36.828Z] a8fd76ee1af6: Download complete [2022-06-17T06:15:41.027Z] cc1cd167ecdc: Pull complete [2022-06-17T06:15:41.027Z] c516ae0d96e1: Pull complete [2022-06-17T06:15:41.027Z] 684cea983483: Pull complete [2022-06-17T06:15:41.027Z] dd3240ac7de5: Pull complete [2022-06-17T06:15:41.027Z] b1e948a4e11c: Pull complete [2022-06-17T06:15:42.936Z] a8fd76ee1af6: Pull complete [2022-06-17T06:15:43.504Z] 646ad004c059: Pull complete [2022-06-17T06:15:43.504Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T06:15:43.504Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T06:15:43.504Z] ---> 8f69c11f6b0c [2022-06-17T06:15:43.504Z] Step 3/11 : ARG MAKE=make build [2022-06-17T06:15:45.419Z] ---> Running in 62e0b76ea5dd [2022-06-17T06:15:45.419Z] Removing intermediate container 62e0b76ea5dd [2022-06-17T06:15:45.419Z] ---> 5c3e76da6347 [2022-06-17T06:15:45.419Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-17T06:15:45.419Z] ---> Running in fd97fd9169cd [2022-06-17T06:15:45.679Z] Removing intermediate container fd97fd9169cd [2022-06-17T06:15:45.679Z] ---> 8166f0a4f6fe [2022-06-17T06:15:45.679Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:15:45.679Z] ---> Running in e17d58336e3b [2022-06-17T06:15:45.679Z] Removing intermediate container e17d58336e3b [2022-06-17T06:15:45.679Z] ---> 4e66da2d7229 [2022-06-17T06:15:45.679Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:15:45.679Z] ---> Running in 782580bf3b3d [2022-06-17T06:15:46.250Z] Removing intermediate container 782580bf3b3d [2022-06-17T06:15:46.250Z] ---> 0abfc172f069 [2022-06-17T06:15:46.250Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T06:15:46.250Z] ---> Running in 1309de85a605 [2022-06-17T06:15:46.510Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T06:15:47.452Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T06:15:48.024Z] OK: 221 MiB in 52 packages [2022-06-17T06:15:48.283Z] Removing intermediate container 1309de85a605 [2022-06-17T06:15:48.283Z] ---> e3147221e58a [2022-06-17T06:15:48.283Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-17T06:15:48.283Z] ---> 03baf27384e6 [2022-06-17T06:15:48.283Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T06:15:48.283Z] ---> Running in 5257d2ecb52d [2022-06-17T06:15:49.192Z] Still waiting to schedule task [2022-06-17T06:15:49.193Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-17T06:16:06.399Z] Removing intermediate container 5257d2ecb52d [2022-06-17T06:16:06.399Z] ---> ac41d3a3496a [2022-06-17T06:16:06.399Z] Step 10/11 : COPY . . [2022-06-17T06:16:06.399Z] ---> fc7f8d9739d3 [2022-06-17T06:16:06.399Z] Step 11/11 : RUN ${MAKE} [2022-06-17T06:16:06.399Z] ---> Running in e15002b8bfdb [2022-06-17T06:16:06.399Z] noop [2022-06-17T06:16:06.399Z] Removing intermediate container e15002b8bfdb [2022-06-17T06:16:06.399Z] ---> fca957725350 [2022-06-17T06:16:06.399Z] Successfully built fca957725350 [2022-06-17T06:16:06.399Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:16:06.710Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T06:16:06.710Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:16:06.798Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:16:06.837Z] $ 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 [2022-06-17T06:16:07.219Z] $ docker top 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T06:16:07.564Z] + go version [2022-06-17T06:16:07.564Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T06:16:07.580Z] $ docker stop --time=1 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e [2022-06-17T06:16:08.855Z] $ docker rm -f 97711776d55d78492cfa26ffe9cf043c4a7596d8717b212c0f998293d3ec1a6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:16:09.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T06:16:09.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:16:09.322Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:16:09.386Z] $ 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 [2022-06-17T06:16:09.776Z] $ docker top 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T06:16:10.130Z] + make test [2022-06-17T06:16:10.130Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-17T06:16:15.411Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.080s coverage: 23.3% of statements [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.100s coverage: 78.9% of statements [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.083s coverage: 10.8% of statements [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 60.0% of statements [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-17T06:16:27.620Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 34.8% of statements [2022-06-17T06:16:27.620Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-17T06:16:27.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 85.4% of statements [2022-06-17T06:16:27.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-17T06:16:27.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-17T06:16:27.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 65.1% of statements [2022-06-17T06:16:27.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.829s coverage: 89.2% of statements [2022-06-17T06:16:27.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-17T06:16:27.881Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-06-17T06:16:27.881Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-17T06:16:45.977Z] GO111MODULE=on go vet ./... [2022-06-17T06:16:47.356Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T06:16:47.356Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T06:16:47.356Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T06:16:47.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T06:16:47.963Z] $ docker stop --time=1 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d [2022-06-17T06:16:50.260Z] $ docker rm -f 9c617d5732ba0f078a89339a939c17c35f5398bf4cb510dd61c445eb9289271d [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T06:16:50.736Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T06:16:50.794Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T06:16:51.299Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T06:16:51.586Z] + ls -al . [2022-06-17T06:16:51.586Z] total 300 [2022-06-17T06:16:51.586Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 06:16 . [2022-06-17T06:16:51.586Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:15 .. [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 06:15 .dockerignore [2022-06-17T06:16:51.586Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 06:15 .git [2022-06-17T06:16:51.586Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:15 .github [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 06:15 .gitignore [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 06:15 .golangci.yml [2022-06-17T06:16:51.586Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 06:15 .semver [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 06:15 CHANGELOG.md [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 06:15 GOVERNANCE.md [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 06:15 Jenkinsfile [2022-06-17T06:16:51.586Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 06:15 LICENSE [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 06:15 Makefile [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 06:15 OWNERS.md [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 06:15 README.md [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 06:15 VERSION [2022-06-17T06:16:51.587Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:15 bin [2022-06-17T06:16:51.587Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 06:16 coverage.out [2022-06-17T06:16:51.587Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:15 example [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 06:15 go.mod [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 06:15 go.sum [2022-06-17T06:16:51.587Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 06:15 internal [2022-06-17T06:16:51.587Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 06:15 openapi [2022-06-17T06:16:51.587Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:15 pkg [2022-06-17T06:16:51.587Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:15 snap [2022-06-17T06:16:51.587Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 06:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:16:51.894Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=37feea84d12508780716eef2708031ba6031fa53 --label arch=amd64 --label version=2.2.1-dev.5 . [2022-06-17T06:16:51.894Z] Sending build context to Docker daemon 9.842MB [2022-06-17T06:16:51.894Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T06:16:51.894Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T06:16:51.894Z] ---> fca957725350 [2022-06-17T06:16:51.894Z] Step 3/25 : ARG MAKE=make build [2022-06-17T06:16:51.894Z] ---> Running in 639ab2f86a88 [2022-06-17T06:16:52.154Z] Removing intermediate container 639ab2f86a88 [2022-06-17T06:16:52.154Z] ---> 5950a39d7218 [2022-06-17T06:16:52.154Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-17T06:16:52.154Z] ---> Running in 1b00384ee2e7 [2022-06-17T06:16:52.154Z] Removing intermediate container 1b00384ee2e7 [2022-06-17T06:16:52.154Z] ---> 51388be5636f [2022-06-17T06:16:52.154Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:16:52.154Z] ---> Running in 0d28586a7eaf [2022-06-17T06:16:52.413Z] Removing intermediate container 0d28586a7eaf [2022-06-17T06:16:52.413Z] ---> c5af7ff00bd2 [2022-06-17T06:16:52.413Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:16:52.413Z] ---> Running in 6bbe85de8470 [2022-06-17T06:16:52.885Z] Removing intermediate container 6bbe85de8470 [2022-06-17T06:16:52.885Z] ---> d7aaf1577dec [2022-06-17T06:16:52.885Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T06:16:52.885Z] ---> Running in e6569e1ac835 [2022-06-17T06:16:53.145Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T06:16:54.087Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T06:16:54.345Z] OK: 221 MiB in 52 packages [2022-06-17T06:16:54.614Z] Removing intermediate container e6569e1ac835 [2022-06-17T06:16:54.614Z] ---> bf5311ea1152 [2022-06-17T06:16:54.614Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-17T06:16:54.614Z] ---> a22ebc93e6c7 [2022-06-17T06:16:54.614Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T06:16:54.874Z] ---> Running in 689ddc8144aa [2022-06-17T06:16:55.443Z] Removing intermediate container 689ddc8144aa [2022-06-17T06:16:55.443Z] ---> c6bcbd5a09b6 [2022-06-17T06:16:55.443Z] Step 10/25 : COPY . . [2022-06-17T06:16:55.703Z] ---> 8672b77c69f6 [2022-06-17T06:16:55.703Z] Step 11/25 : RUN ${MAKE} [2022-06-17T06:16:55.703Z] ---> Running in 0a084767374b [2022-06-17T06:16:55.963Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-17T06:17:14.060Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-17T06:17:14.633Z] Removing intermediate container 0a084767374b [2022-06-17T06:17:14.633Z] ---> f48c63f338c9 [2022-06-17T06:17:14.633Z] Step 12/25 : FROM alpine:3.14 [2022-06-17T06:17:15.202Z] 3.14: Pulling from library/alpine [2022-06-17T06:17:15.463Z] 8663204ce13b: Pulling fs layer [2022-06-17T06:17:15.463Z] 8663204ce13b: Verifying Checksum [2022-06-17T06:17:15.463Z] 8663204ce13b: Download complete [2022-06-17T06:17:15.722Z] 8663204ce13b: Pull complete [2022-06-17T06:17:15.722Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T06:17:15.722Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T06:17:15.722Z] ---> e04c818066af [2022-06-17T06:17:15.722Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:17:15.722Z] ---> Running in 8630d1a6936e [2022-06-17T06:17:15.981Z] Removing intermediate container 8630d1a6936e [2022-06-17T06:17:15.981Z] ---> a84e90a87962 [2022-06-17T06:17:15.981Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:17:15.981Z] ---> Running in 73bd4861811c [2022-06-17T06:17:16.552Z] Removing intermediate container 73bd4861811c [2022-06-17T06:17:16.552Z] ---> 7b0239ee6ed7 [2022-06-17T06:17:16.552Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-17T06:17:16.552Z] ---> Running in 452762a8c061 [2022-06-17T06:17:16.812Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T06:17:17.756Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T06:17:17.756Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T06:17:18.015Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T06:17:18.015Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T06:17:18.276Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T06:17:18.276Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T06:17:18.276Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T06:17:18.276Z] OK: 8 MiB in 19 packages [2022-06-17T06:17:18.844Z] Removing intermediate container 452762a8c061 [2022-06-17T06:17:18.844Z] ---> e51eee7dad02 [2022-06-17T06:17:18.844Z] Step 16/25 : WORKDIR / [2022-06-17T06:17:18.844Z] ---> Running in ab26052a6a43 [2022-06-17T06:17:18.844Z] Removing intermediate container ab26052a6a43 [2022-06-17T06:17:18.844Z] ---> b8d9c2c90722 [2022-06-17T06:17:18.844Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-17T06:17:19.104Z] ---> 49a60c16487c [2022-06-17T06:17:19.104Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-17T06:17:19.673Z] ---> ef4bb9d4e15d [2022-06-17T06:17:19.673Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-17T06:17:19.673Z] ---> dded53e93ba3 [2022-06-17T06:17:19.673Z] Step 20/25 : EXPOSE 59999 [2022-06-17T06:17:19.673Z] ---> Running in 104eccee209c [2022-06-17T06:17:19.932Z] Removing intermediate container 104eccee209c [2022-06-17T06:17:19.932Z] ---> a363774012f5 [2022-06-17T06:17:19.932Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-17T06:17:19.932Z] ---> Running in 100adabff047 [2022-06-17T06:17:19.932Z] Removing intermediate container 100adabff047 [2022-06-17T06:17:19.932Z] ---> 7f155a124420 [2022-06-17T06:17:19.932Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T06:17:19.932Z] ---> Running in 78a90a4ffca1 [2022-06-17T06:17:20.191Z] Removing intermediate container 78a90a4ffca1 [2022-06-17T06:17:20.191Z] ---> 4d4805591aa5 [2022-06-17T06:17:20.191Z] Step 23/25 : LABEL arch=amd64 [2022-06-17T06:17:20.191Z] ---> Running in fbf016b47f22 [2022-06-17T06:17:20.191Z] Removing intermediate container fbf016b47f22 [2022-06-17T06:17:20.191Z] ---> d27b25934b93 [2022-06-17T06:17:20.191Z] Step 24/25 : LABEL git_sha=37feea84d12508780716eef2708031ba6031fa53 [2022-06-17T06:17:20.191Z] ---> Running in 5c730ddb72ce [2022-06-17T06:17:20.191Z] Removing intermediate container 5c730ddb72ce [2022-06-17T06:17:20.191Z] ---> 7fb96012a5f6 [2022-06-17T06:17:20.191Z] Step 25/25 : LABEL version=2.2.1-dev.5 [2022-06-17T06:17:20.452Z] ---> Running in 2634f349ab39 [2022-06-17T06:17:20.452Z] Removing intermediate container 2634f349ab39 [2022-06-17T06:17:20.452Z] ---> dd32952757fa [2022-06-17T06:17:20.452Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T06:17:20.452Z] Successfully built dd32952757fa [2022-06-17T06:17:20.452Z] 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 [2022-06-17T06:17:20.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T06:17:20.882Z] [2022-06-17T06:17:20.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:17:21.181Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T06:17:21.181Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T06:17:21.181Z] 5eb5b503b376: Pulling fs layer [2022-06-17T06:17:21.181Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T06:17:21.181Z] ec43610c2a17: Pulling fs layer [2022-06-17T06:17:21.181Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T06:17:21.181Z] 33b1e0a273af: Pulling fs layer [2022-06-17T06:17:21.181Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T06:17:21.181Z] 2f39f015ded8: Pulling fs layer [2022-06-17T06:17:21.181Z] 33b1e0a273af: Waiting [2022-06-17T06:17:21.181Z] 3a2ae6a8a46f: Waiting [2022-06-17T06:17:21.181Z] 2f39f015ded8: Waiting [2022-06-17T06:17:21.181Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T06:17:21.181Z] 5c69ac0246d0: Download complete [2022-06-17T06:17:21.181Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-17T06:17:21.181Z] 3a2ae6a8a46f: Download complete [2022-06-17T06:17:21.181Z] 33b1e0a273af: Verifying Checksum [2022-06-17T06:17:21.181Z] 33b1e0a273af: Download complete [2022-06-17T06:17:21.181Z] ec43610c2a17: Verifying Checksum [2022-06-17T06:17:21.181Z] ec43610c2a17: Download complete [2022-06-17T06:17:21.443Z] 5d3b04190fa2: Download complete [2022-06-17T06:17:21.443Z] 5eb5b503b376: Download complete [2022-06-17T06:17:22.824Z] 5eb5b503b376: Pull complete [2022-06-17T06:17:22.824Z] 5c69ac0246d0: Pull complete [2022-06-17T06:17:23.084Z] ec43610c2a17: Pull complete [2022-06-17T06:17:23.343Z] 3a2ae6a8a46f: Pull complete [2022-06-17T06:17:23.601Z] 33b1e0a273af: Pull complete [2022-06-17T06:17:23.601Z] 5d3b04190fa2: Pull complete [2022-06-17T06:17:27.786Z] 2f39f015ded8: Pull complete [2022-06-17T06:17:27.786Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T06:17:27.786Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T06:17:27.786Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:17:27.886Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:17:27.926Z] $ 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 [2022-06-17T06:17:28.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2540 in /w/workspace/edgexfoundry_device-sdk-go_main [2022-06-17T06:17:29.729Z] $ docker top d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2022-06-17T06:17:29.878Z] Running in /w/workspace/device-sdk-go/80 [Pipeline] { [Pipeline] checkout [2022-06-17T06:17:29.919Z] The recommended git tool is: git [2022-06-17T06:17:30.132Z] ---> job-cost.sh [2022-06-17T06:17:30.132Z] lf-activate-venv: SKIPPING [2022-06-17T06:17:30.132Z] INFO: No Stack... [2022-06-17T06:17:30.705Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T06:17:30.985Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T06:17:31.336Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-06-17T06:17:31.336Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T06:17:31.350Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [2022-06-17T06:17:31.358Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] did not exist. Created. [2022-06-17T06:17:31.358Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T06:17:31.661Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T06:17:31.690Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T06:17:31.695Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T06:17:31.719Z] $ docker stop --time=1 d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 [2022-06-17T06:17:32.888Z] $ docker rm -f d5a8760da0ba23e7658cca5485341840c77513bae964cb343874c56035136ad1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T06:17:36.350Z] using credential edgex-jenkins-ssh [2022-06-17T06:17:36.371Z] Cloning the remote Git repository [2022-06-17T06:17:36.432Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-06-17T06:17:36.501Z] > git init /w/workspace/device-sdk-go/80 # timeout=10 [2022-06-17T06:17:36.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-06-17T06:17:36.585Z] > git --version # timeout=10 [2022-06-17T06:17:36.607Z] > git --version # 'git version 2.25.1' [2022-06-17T06:17:36.609Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T06:17:36.666Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T06:17:38.017Z] Avoid second fetch [2022-06-17T06:17:38.017Z] Checking out Revision 37feea84d12508780716eef2708031ba6031fa53 (main) [2022-06-17T06:17:37.939Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-06-17T06:17:37.961Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T06:17:38.049Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T06:17:38.081Z] > git checkout -f 37feea84d12508780716eef2708031ba6031fa53 # timeout=10 [2022-06-17T06:17:42.336Z] Commit message: "Merge pull request #1177 from weichou1229/issue-1176" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T06:17:43.143Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T06:17:43.143Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T06:17:43.143Z] Dload Upload Total Spent Left Speed [2022-06-17T06:17:43.143Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 63 12253 63 7747 0 0 43522 0 --:--:-- --:--:-- --:--:-- 43279 100 12253 100 12253 0 0 68072 0 --:--:-- --:--:-- --:--:-- 67696 [Pipeline] sh [2022-06-17T06:17:43.842Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T06:17:44.186Z] + sudo tee /etc/docker/daemon.new [2022-06-17T06:17:44.186Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T06:17:44.186Z] { [2022-06-17T06:17:44.186Z] "registry-mirrors": [ [2022-06-17T06:17:44.186Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T06:17:44.186Z] ], [2022-06-17T06:17:44.186Z] "bip": "10.250.0.254/24", [2022-06-17T06:17:44.186Z] "hosts": [ [2022-06-17T06:17:44.186Z] "tcp://0.0.0.0:5555", [2022-06-17T06:17:44.186Z] "unix:///var/run/docker.sock" [2022-06-17T06:17:44.186Z] ], [2022-06-17T06:17:44.186Z] "mtu": 1458, [2022-06-17T06:17:44.186Z] "selinux-enabled": true, [2022-06-17T06:17:44.186Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T06:17:44.186Z] } [Pipeline] sh [2022-06-17T06:17:44.607Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T06:17:44.960Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:18:03.300Z] provisioning config files... [2022-06-17T06:18:03.323Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/80@tmp/config1505172518131481589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:18:03.679Z] ---> docker-login.sh [2022-06-17T06:18:03.679Z] nexus3.edgexfoundry.org:10001 [2022-06-17T06:18:04.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:18:04.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:18:04.567Z] Configure a credential helper to remove this warning. See [2022-06-17T06:18:04.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:18:04.567Z] [2022-06-17T06:18:04.567Z] Login Succeeded [2022-06-17T06:18:04.567Z] nexus3.edgexfoundry.org:10002 [2022-06-17T06:18:04.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:18:04.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:18:04.840Z] Configure a credential helper to remove this warning. See [2022-06-17T06:18:04.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:18:04.840Z] [2022-06-17T06:18:04.840Z] Login Succeeded [2022-06-17T06:18:05.114Z] nexus3.edgexfoundry.org:10003 [2022-06-17T06:18:05.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:18:05.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:18:05.390Z] Configure a credential helper to remove this warning. See [2022-06-17T06:18:05.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:18:05.390Z] [2022-06-17T06:18:05.390Z] Login Succeeded [2022-06-17T06:18:05.390Z] nexus3.edgexfoundry.org:10004 [2022-06-17T06:18:05.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:18:05.945Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:18:05.945Z] Configure a credential helper to remove this warning. See [2022-06-17T06:18:05.945Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:18:05.945Z] [2022-06-17T06:18:05.945Z] Login Succeeded [2022-06-17T06:18:05.945Z] docker.io [2022-06-17T06:18:06.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T06:18:06.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T06:18:06.491Z] Configure a credential helper to remove this warning. See [2022-06-17T06:18:06.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T06:18:06.491Z] [2022-06-17T06:18:06.491Z] Login Succeeded [2022-06-17T06:18:06.765Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T06:18:06.783Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T06:18:07.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T06:18:07.422Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T06:18:07.431Z] ========================================================= [2022-06-17T06:18:07.431Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T06:18:07.431Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:18:07.808Z] + 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 . [2022-06-17T06:18:08.080Z] Sending build context to Docker daemon 5.197MB [2022-06-17T06:18:08.080Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T06:18:08.080Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-17T06:18:08.357Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T06:18:08.357Z] 9b3977197b4f: Pulling fs layer [2022-06-17T06:18:08.357Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T06:18:08.357Z] 94645a83ff95: Pulling fs layer [2022-06-17T06:18:08.357Z] e6fb740bc735: Pulling fs layer [2022-06-17T06:18:08.357Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T06:18:08.357Z] 355e64cbe906: Pulling fs layer [2022-06-17T06:18:08.357Z] 63ab81a10011: Pulling fs layer [2022-06-17T06:18:08.357Z] 555d1d1c4555: Pulling fs layer [2022-06-17T06:18:08.357Z] 7d9057610161: Pulling fs layer [2022-06-17T06:18:08.357Z] 3a77bd46dcc9: Waiting [2022-06-17T06:18:08.357Z] 63ab81a10011: Waiting [2022-06-17T06:18:08.357Z] e6fb740bc735: Waiting [2022-06-17T06:18:08.357Z] 555d1d1c4555: Waiting [2022-06-17T06:18:08.357Z] 7d9057610161: Waiting [2022-06-17T06:18:08.357Z] 355e64cbe906: Waiting [2022-06-17T06:18:08.357Z] 94645a83ff95: Verifying Checksum [2022-06-17T06:18:08.357Z] 94645a83ff95: Download complete [2022-06-17T06:18:08.357Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T06:18:08.357Z] 1a89e8eeedd5: Download complete [2022-06-17T06:18:08.357Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T06:18:08.357Z] 3a77bd46dcc9: Download complete [2022-06-17T06:18:08.357Z] 355e64cbe906: Verifying Checksum [2022-06-17T06:18:08.357Z] 9b3977197b4f: Verifying Checksum [2022-06-17T06:18:08.357Z] 9b3977197b4f: Download complete [2022-06-17T06:18:08.357Z] 355e64cbe906: Download complete [2022-06-17T06:18:08.357Z] 63ab81a10011: Verifying Checksum [2022-06-17T06:18:08.357Z] 63ab81a10011: Download complete [2022-06-17T06:18:09.361Z] 9b3977197b4f: Pull complete [2022-06-17T06:18:09.361Z] 7d9057610161: Verifying Checksum [2022-06-17T06:18:09.361Z] 7d9057610161: Download complete [2022-06-17T06:18:09.970Z] 1a89e8eeedd5: Pull complete [2022-06-17T06:18:10.247Z] 94645a83ff95: Pull complete [2022-06-17T06:18:10.523Z] 555d1d1c4555: Verifying Checksum [2022-06-17T06:18:10.523Z] 555d1d1c4555: Download complete [2022-06-17T06:18:11.122Z] e6fb740bc735: Verifying Checksum [2022-06-17T06:18:11.122Z] e6fb740bc735: Download complete [2022-06-17T06:18:23.528Z] e6fb740bc735: Pull complete [2022-06-17T06:18:23.528Z] 3a77bd46dcc9: Pull complete [2022-06-17T06:18:23.528Z] 355e64cbe906: Pull complete [2022-06-17T06:18:23.804Z] 63ab81a10011: Pull complete [2022-06-17T06:18:30.533Z] 555d1d1c4555: Pull complete [2022-06-17T06:18:32.525Z] 7d9057610161: Pull complete [2022-06-17T06:18:32.525Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T06:18:32.525Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T06:18:32.525Z] ---> 819e984ddca1 [2022-06-17T06:18:32.525Z] Step 3/11 : ARG MAKE=make build [2022-06-17T06:18:33.121Z] ---> Running in d8bde9d2f223 [2022-06-17T06:18:33.397Z] Removing intermediate container d8bde9d2f223 [2022-06-17T06:18:33.397Z] ---> c48c9a4a3cee [2022-06-17T06:18:33.397Z] Step 4/11 : WORKDIR /device-sdk-go [2022-06-17T06:18:33.397Z] ---> Running in c28a0f91b5ca [2022-06-17T06:18:33.671Z] Removing intermediate container c28a0f91b5ca [2022-06-17T06:18:33.671Z] ---> 6723bf9aaeb8 [2022-06-17T06:18:33.671Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:18:33.945Z] ---> Running in 9320b39cef0e [2022-06-17T06:18:35.385Z] Removing intermediate container 9320b39cef0e [2022-06-17T06:18:35.385Z] ---> 7ffb9f8952ab [2022-06-17T06:18:35.385Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:18:35.385Z] ---> Running in dc9012b96195 [2022-06-17T06:18:37.373Z] Removing intermediate container dc9012b96195 [2022-06-17T06:18:37.373Z] ---> 814e554d4078 [2022-06-17T06:18:37.373Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T06:18:37.373Z] ---> Running in 1f1f157f61a6 [2022-06-17T06:18:38.359Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T06:18:39.333Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T06:18:40.320Z] OK: 220 MiB in 52 packages [2022-06-17T06:18:40.925Z] Removing intermediate container 1f1f157f61a6 [2022-06-17T06:18:40.925Z] ---> 7b2814240761 [2022-06-17T06:18:40.925Z] Step 8/11 : COPY go.mod vendor* ./ [2022-06-17T06:18:41.527Z] ---> 19d288746622 [2022-06-17T06:18:41.527Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T06:18:41.527Z] ---> Running in d0c4975ae026 [2022-06-17T06:19:28.548Z] Removing intermediate container d0c4975ae026 [2022-06-17T06:19:28.548Z] ---> 794ca4ab674e [2022-06-17T06:19:28.548Z] Step 10/11 : COPY . . [2022-06-17T06:19:28.548Z] ---> 793dbff44faf [2022-06-17T06:19:28.548Z] Step 11/11 : RUN ${MAKE} [2022-06-17T06:19:28.548Z] ---> Running in 899f9a8abae4 [2022-06-17T06:19:28.548Z] noop [2022-06-17T06:19:29.147Z] Removing intermediate container 899f9a8abae4 [2022-06-17T06:19:29.147Z] ---> d21e4f7fa871 [2022-06-17T06:19:29.147Z] Successfully built d21e4f7fa871 [2022-06-17T06:19:29.147Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:19:29.525Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T06:19:29.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:19:29.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container [2022-06-17T06:19:29.923Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T06:19:31.333Z] $ docker top 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T06:19:32.256Z] + go version [2022-06-17T06:19:32.256Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T06:19:32.294Z] $ docker stop --time=1 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 [2022-06-17T06:19:33.931Z] $ docker rm -f 95d456e3e66ee6740908905a8d6ed3f781bece3a816568571bb269dc1fa2b029 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:19:34.573Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T06:19:34.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:19:34.824Z] prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container [2022-06-17T06:19:34.920Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T06:19:36.242Z] $ docker top 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T06:19:37.161Z] + make test [2022-06-17T06:19:37.161Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-06-17T06:20:09.507Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-06-17T06:21:46.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-06-17T06:21:46.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-06-17T06:21:46.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-06-17T06:21:54.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.512s coverage: 23.3% of statements [2022-06-17T06:21:54.692Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-06-17T06:21:54.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.290s coverage: 27.6% of statements [2022-06-17T06:21:54.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.389s coverage: 78.9% of statements [2022-06-17T06:21:54.692Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.269s coverage: 10.8% of statements [2022-06-17T06:21:59.035Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.544s coverage: 60.0% of statements [2022-06-17T06:21:59.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-06-17T06:21:59.035Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-06-17T06:22:02.451Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.425s coverage: 34.8% of statements [2022-06-17T06:22:02.451Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-06-17T06:22:04.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.310s coverage: 85.4% of statements [2022-06-17T06:22:04.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-06-17T06:22:04.611Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-06-17T06:22:04.611Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.499s coverage: 65.1% of statements [2022-06-17T06:22:07.352Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.581s coverage: 89.2% of statements [2022-06-17T06:22:07.352Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-06-17T06:22:09.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.240s coverage: 4.7% of statements [2022-06-17T06:22:09.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-06-17T06:22:10.245Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T06:22:10.245Z] GO111MODULE=on go vet ./... [2022-06-17T06:23:47.070Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T06:23:47.070Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T06:23:47.070Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T06:23:47.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T06:23:47.125Z] $ docker stop --time=1 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b [2022-06-17T06:23:49.010Z] $ docker rm -f 64d0034f801ce771922170911a36b6a4500a8cf91a08e5ce224629624d237b5b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T06:23:50.531Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T06:23:50.551Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T06:23:51.206Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T06:23:51.668Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T06:23:52.005Z] + ls -al . [2022-06-17T06:23:52.005Z] total 296 [2022-06-17T06:23:52.005Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 06:23 . [2022-06-17T06:23:52.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:17 .. [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 06:17 .dockerignore [2022-06-17T06:23:52.005Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 06:17 .git [2022-06-17T06:23:52.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:17 .github [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 06:17 .gitignore [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 06:17 .golangci.yml [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 06:17 CHANGELOG.md [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 06:17 GOVERNANCE.md [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 06:17 Jenkinsfile [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 06:17 LICENSE [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 06:17 Makefile [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 06:17 OWNERS.md [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 06:17 README.md [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 17 06:15 VERSION [2022-06-17T06:23:52.005Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 06:17 bin [2022-06-17T06:23:52.005Z] -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 06:22 coverage.out [2022-06-17T06:23:52.005Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:17 example [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 06:17 go.mod [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 06:17 go.sum [2022-06-17T06:23:52.005Z] drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 06:17 internal [2022-06-17T06:23:52.005Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 06:17 openapi [2022-06-17T06:23:52.005Z] drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 06:17 pkg [2022-06-17T06:23:52.005Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 06:17 snap [2022-06-17T06:23:52.005Z] -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 06:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:23:52.365Z] + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=37feea84d12508780716eef2708031ba6031fa53 --label arch=arm64 --label version=2.2.1-dev.5 . [2022-06-17T06:23:52.966Z] Sending build context to Docker daemon 5.328MB [2022-06-17T06:23:52.966Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T06:23:52.966Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T06:23:52.966Z] ---> d21e4f7fa871 [2022-06-17T06:23:52.966Z] Step 3/25 : ARG MAKE=make build [2022-06-17T06:23:52.966Z] ---> Running in c2b46b9885da [2022-06-17T06:23:53.564Z] Removing intermediate container c2b46b9885da [2022-06-17T06:23:53.564Z] ---> 3820c4f4e3e7 [2022-06-17T06:23:53.564Z] Step 4/25 : WORKDIR /device-sdk-go [2022-06-17T06:23:53.564Z] ---> Running in 440a827dbbf9 [2022-06-17T06:23:53.838Z] Removing intermediate container 440a827dbbf9 [2022-06-17T06:23:53.838Z] ---> 8df5749f10f5 [2022-06-17T06:23:53.838Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:23:53.838Z] ---> Running in 85a87c386853 [2022-06-17T06:23:54.112Z] Removing intermediate container 85a87c386853 [2022-06-17T06:23:54.112Z] ---> dc06bc384c35 [2022-06-17T06:23:54.112Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:23:54.386Z] ---> Running in 99761ed276cb [2022-06-17T06:23:56.383Z] Removing intermediate container 99761ed276cb [2022-06-17T06:23:56.383Z] ---> 18a218d69ef8 [2022-06-17T06:23:56.383Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-06-17T06:23:56.383Z] ---> Running in 5f147a0a8f85 [2022-06-17T06:23:57.366Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T06:23:58.342Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T06:23:59.774Z] OK: 220 MiB in 52 packages [2022-06-17T06:24:00.756Z] Removing intermediate container 5f147a0a8f85 [2022-06-17T06:24:00.756Z] ---> fc0c39edc8fd [2022-06-17T06:24:00.756Z] Step 8/25 : COPY go.mod vendor* ./ [2022-06-17T06:24:01.038Z] ---> c18c8c1f9c43 [2022-06-17T06:24:01.038Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T06:24:01.528Z] ---> Running in fdade8eb159b [2022-06-17T06:24:03.507Z] Removing intermediate container fdade8eb159b [2022-06-17T06:24:03.507Z] ---> 9296e5b6c93c [2022-06-17T06:24:03.507Z] Step 10/25 : COPY . . [2022-06-17T06:24:04.485Z] ---> 674fe8c65be8 [2022-06-17T06:24:04.485Z] Step 11/25 : RUN ${MAKE} [2022-06-17T06:24:04.485Z] ---> Running in 67f01eb1005e [2022-06-17T06:24:05.465Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.5" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-06-17T06:26:27.422Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-06-17T06:26:27.422Z] Removing intermediate container 67f01eb1005e [2022-06-17T06:26:27.422Z] ---> c56357ca3694 [2022-06-17T06:26:27.422Z] Step 12/25 : FROM alpine:3.14 [2022-06-17T06:26:27.422Z] 3.14: Pulling from library/alpine [2022-06-17T06:26:27.422Z] 455c02918c45: Pulling fs layer [2022-06-17T06:26:27.422Z] 455c02918c45: Verifying Checksum [2022-06-17T06:26:27.422Z] 455c02918c45: Download complete [2022-06-17T06:26:27.422Z] 455c02918c45: Pull complete [2022-06-17T06:26:27.422Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T06:26:27.422Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T06:26:27.422Z] ---> ac73e934f311 [2022-06-17T06:26:27.422Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-06-17T06:26:27.422Z] ---> Running in eaa0b299a440 [2022-06-17T06:26:27.422Z] Removing intermediate container eaa0b299a440 [2022-06-17T06:26:27.422Z] ---> 767531802dbb [2022-06-17T06:26:27.422Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T06:26:27.422Z] ---> Running in f5b6287e2787 [2022-06-17T06:26:27.422Z] Removing intermediate container f5b6287e2787 [2022-06-17T06:26:27.422Z] ---> f819aadcfa32 [2022-06-17T06:26:27.422Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-06-17T06:26:27.422Z] ---> Running in f509cffbec71 [2022-06-17T06:26:27.422Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T06:26:27.422Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T06:26:27.422Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T06:26:27.422Z] (2/5) Installing libsodium (1.0.18-r0) [2022-06-17T06:26:27.422Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T06:26:27.422Z] (4/5) Installing libzmq (4.3.4-r0) [2022-06-17T06:26:28.438Z] (5/5) Installing zeromq (4.3.4-r0) [2022-06-17T06:26:28.438Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T06:26:28.438Z] OK: 8 MiB in 19 packages [2022-06-17T06:26:30.022Z] Removing intermediate container f509cffbec71 [2022-06-17T06:26:30.022Z] ---> 9f47453884f2 [2022-06-17T06:26:30.022Z] Step 16/25 : WORKDIR / [2022-06-17T06:26:30.022Z] ---> Running in 05f2a9f4dca2 [2022-06-17T06:26:30.022Z] Removing intermediate container 05f2a9f4dca2 [2022-06-17T06:26:30.022Z] ---> 983107b21b6a [2022-06-17T06:26:30.022Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-06-17T06:26:30.324Z] ---> 9a3b10257a4a [2022-06-17T06:26:30.324Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-06-17T06:26:31.833Z] ---> 7ed6ac94af49 [2022-06-17T06:26:31.833Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-06-17T06:26:32.472Z] ---> 9bf340a807fc [2022-06-17T06:26:32.472Z] Step 20/25 : EXPOSE 59999 [2022-06-17T06:26:32.473Z] ---> Running in 4532698f961f [2022-06-17T06:26:32.809Z] Removing intermediate container 4532698f961f [2022-06-17T06:26:32.809Z] ---> 10320ec92167 [2022-06-17T06:26:32.809Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-06-17T06:26:32.809Z] ---> Running in 9acdfb7f85c4 [2022-06-17T06:26:33.144Z] Removing intermediate container 9acdfb7f85c4 [2022-06-17T06:26:33.144Z] ---> 7141b747c08f [2022-06-17T06:26:33.144Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-17T06:26:33.458Z] ---> Running in 732ac7310b5a [2022-06-17T06:26:33.799Z] Removing intermediate container 732ac7310b5a [2022-06-17T06:26:33.799Z] ---> 83f5fcd83e45 [2022-06-17T06:26:33.799Z] Step 23/25 : LABEL arch=arm64 [2022-06-17T06:26:33.799Z] ---> Running in 6b25ad4da38f [2022-06-17T06:26:34.123Z] Removing intermediate container 6b25ad4da38f [2022-06-17T06:26:34.123Z] ---> 53b7799c9952 [2022-06-17T06:26:34.123Z] Step 24/25 : LABEL git_sha=37feea84d12508780716eef2708031ba6031fa53 [2022-06-17T06:26:34.123Z] ---> Running in 4ec203243031 [2022-06-17T06:26:34.432Z] Removing intermediate container 4ec203243031 [2022-06-17T06:26:34.432Z] ---> defd798159af [2022-06-17T06:26:34.432Z] Step 25/25 : LABEL version=2.2.1-dev.5 [2022-06-17T06:26:34.432Z] ---> Running in a74ad3134074 [2022-06-17T06:26:34.706Z] Removing intermediate container a74ad3134074 [2022-06-17T06:26:34.706Z] ---> 6f8f6a9d64bd [2022-06-17T06:26:34.706Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T06:26:34.706Z] Successfully built 6f8f6a9d64bd [2022-06-17T06:26:34.706Z] 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 [2022-06-17T06:26:35.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T06:26:35.495Z] [2022-06-17T06:26:35.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:26:36.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T06:26:36.413Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T06:26:36.413Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T06:26:36.413Z] 04944245beec: Pulling fs layer [2022-06-17T06:26:36.413Z] 699f458cf7ca: Pulling fs layer [2022-06-17T06:26:36.413Z] 765212b225bb: Pulling fs layer [2022-06-17T06:26:36.413Z] f23df028b6ca: Pulling fs layer [2022-06-17T06:26:36.413Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T06:26:36.413Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T06:26:36.413Z] 765212b225bb: Waiting [2022-06-17T06:26:36.413Z] f23df028b6ca: Waiting [2022-06-17T06:26:36.413Z] d65c8cfc05b1: Waiting [2022-06-17T06:26:36.413Z] 2437ff75d9bd: Waiting [2022-06-17T06:26:36.413Z] 04944245beec: Verifying Checksum [2022-06-17T06:26:36.413Z] 04944245beec: Download complete [2022-06-17T06:26:36.413Z] 765212b225bb: Verifying Checksum [2022-06-17T06:26:36.413Z] 765212b225bb: Download complete [2022-06-17T06:26:36.413Z] f23df028b6ca: Verifying Checksum [2022-06-17T06:26:36.413Z] f23df028b6ca: Download complete [2022-06-17T06:26:36.413Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T06:26:36.413Z] d65c8cfc05b1: Download complete [2022-06-17T06:26:36.692Z] 699f458cf7ca: Verifying Checksum [2022-06-17T06:26:36.692Z] 699f458cf7ca: Download complete [2022-06-17T06:26:36.996Z] 8998bd30e6a1: Download complete [2022-06-17T06:26:39.632Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T06:26:39.632Z] 2437ff75d9bd: Download complete [2022-06-17T06:26:41.648Z] 8998bd30e6a1: Pull complete [2022-06-17T06:26:41.949Z] 04944245beec: Pull complete [2022-06-17T06:26:44.018Z] 699f458cf7ca: Pull complete [2022-06-17T06:26:44.018Z] 765212b225bb: Pull complete [2022-06-17T06:26:44.923Z] f23df028b6ca: Pull complete [2022-06-17T06:26:45.207Z] d65c8cfc05b1: Pull complete [2022-06-17T06:27:00.411Z] 2437ff75d9bd: Pull complete [2022-06-17T06:27:00.411Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T06:27:00.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T06:27:00.411Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:27:00.673Z] prd-ubuntu20.04-docker-arm64-4c-16g-2540 does not seem to be running inside a container [2022-06-17T06:27:00.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/80 -v /w/workspace/device-sdk-go/80:/w/workspace/device-sdk-go/80:rw,z -v /w/workspace/device-sdk-go/80@tmp:/w/workspace/device-sdk-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T06:27:03.521Z] $ docker top e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:27:04.447Z] ---> job-cost.sh [2022-06-17T06:27:04.447Z] lf-activate-venv: SKIPPING [2022-06-17T06:27:04.447Z] INFO: No Stack... [2022-06-17T06:27:05.043Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T06:27:06.024Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T06:27:06.693Z] + cat /w/workspace/device-sdk-go/80/archives/cost.csv [2022-06-17T06:27:06.693Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T06:27:06.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [2022-06-17T06:27:06.770Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] did not exist. Created. [2022-06-17T06:27:06.771Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T06:27:07.639Z] /w/workspace/device-sdk-go/80@tmp/durable-c14e67e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T06:27:08.689Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T06:27:08.803Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T06:27:09.415Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T06:27:09.421Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T06:27:09.493Z] $ docker stop --time=1 e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 [2022-06-17T06:27:11.116Z] $ docker rm -f e857d5dbfd78c7a85d3766eb57c0abd44f73cc35a23d4862f072d285bc3d8218 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-06-17T06:27:11.705Z] provisioning config files... [2022-06-17T06:27:11.747Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3922314985400297482tmp [Pipeline] { [Pipeline] sh [2022-06-17T06:27:12.546Z] + set +x [2022-06-17T06:27:12.546Z] + curl -s https://codecov.io/bash [2022-06-17T06:27:12.546Z] + bash -s -- [2022-06-17T06:27:12.546Z] [2022-06-17T06:27:12.546Z] _____ _ [2022-06-17T06:27:12.546Z] / ____| | | [2022-06-17T06:27:12.546Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T06:27:12.546Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T06:27:12.546Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T06:27:12.546Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T06:27:12.546Z] Bash-1.0.6 [2022-06-17T06:27:12.546Z] [2022-06-17T06:27:12.546Z] [2022-06-17T06:27:12.546Z] ==> git version 2.25.1 found [2022-06-17T06:27:12.546Z] ==> 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 [2022-06-17T06:27:12.546Z] Release-Date: 2020-01-08 [2022-06-17T06:27:12.546Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T06:27:12.546Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T06:27:12.546Z] ==> Jenkins CI detected. [2022-06-17T06:27:12.546Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-06-17T06:27:12.546Z] project root: . [2022-06-17T06:27:12.546Z] --> token set from env [2022-06-17T06:27:12.546Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T06:27:12.546Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T06:27:12.546Z] ==> Python coveragepy not found [2022-06-17T06:27:12.546Z] ==> Searching for coverage reports in: [2022-06-17T06:27:12.546Z] + . [2022-06-17T06:27:12.546Z] -> Found 1 reports [2022-06-17T06:27:12.546Z] ==> Detecting git/mercurial file structure [2022-06-17T06:27:12.546Z] ==> Reading reports [2022-06-17T06:27:12.546Z] + ./coverage.out bytes=131010 [2022-06-17T06:27:12.546Z] ==> Appending adjustments [2022-06-17T06:27:12.546Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T06:27:12.823Z] + Found adjustments [2022-06-17T06:27:12.823Z] ==> Gzipping contents [2022-06-17T06:27:12.823Z] 20K /tmp/codecov.Acs1tE.gz [2022-06-17T06:27:12.823Z] ==> Uploading reports [2022-06-17T06:27:12.823Z] url: https://codecov.io [2022-06-17T06:27:12.823Z] query: branch=main&commit=37feea84d12508780716eef2708031ba6031fa53&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T06:27:12.823Z] -> Pinging Codecov [2022-06-17T06:27:12.823Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=37feea84d12508780716eef2708031ba6031fa53&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-17T06:27:13.085Z] -> Uploading to [2022-06-17T06:27:13.085Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/7E55EF52A471D76F132DFD9A03CDDE97/37feea84d12508780716eef2708031ba6031fa53/b5178dac-3640-4693-9b76-94bc3cffb4b0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T062712Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83403748d73c8ca621fa651be20d5b17023a6b0f77298e2ea01e03ed7afac3b6 [2022-06-17T06:27:13.085Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T06:27:13.085Z] Dload Upload Total Spent Left Speed [2022-06-17T06:27:13.374Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16844 0 0 100 16844 0 61926 --:--:-- --:--:-- --:--:-- 61699 [2022-06-17T06:27:13.374Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/37feea84d12508780716eef2708031ba6031fa53 [Pipeline] } [2022-06-17T06:27:13.431Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-17T06:27:13.633Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-17T06:27:13.643Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:27:14.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T06:27:14.120Z] [2022-06-17T06:27:14.120Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:27:14.489Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T06:27:14.489Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-17T06:27:14.489Z] df9b9388f04a: Pulling fs layer [2022-06-17T06:27:14.489Z] 52dc419b0ee2: Pulling fs layer [2022-06-17T06:27:14.489Z] 25bc292e5bac: Pulling fs layer [2022-06-17T06:27:14.489Z] 114826534d7a: Pulling fs layer [2022-06-17T06:27:14.489Z] 4657fd5d0bcf: Pulling fs layer [2022-06-17T06:27:14.489Z] 6ad1cebc031e: Pulling fs layer [2022-06-17T06:27:14.489Z] 8a3aa393b2d8: Pulling fs layer [2022-06-17T06:27:14.489Z] 114826534d7a: Waiting [2022-06-17T06:27:14.489Z] 4657fd5d0bcf: Waiting [2022-06-17T06:27:14.489Z] 8a3aa393b2d8: Waiting [2022-06-17T06:27:14.489Z] 6ad1cebc031e: Waiting [2022-06-17T06:27:14.489Z] 25bc292e5bac: Verifying Checksum [2022-06-17T06:27:14.489Z] 25bc292e5bac: Download complete [2022-06-17T06:27:15.101Z] 52dc419b0ee2: Verifying Checksum [2022-06-17T06:27:15.101Z] 52dc419b0ee2: Download complete [2022-06-17T06:27:15.101Z] 4657fd5d0bcf: Verifying Checksum [2022-06-17T06:27:15.101Z] 4657fd5d0bcf: Download complete [2022-06-17T06:27:16.049Z] df9b9388f04a: Verifying Checksum [2022-06-17T06:27:16.049Z] df9b9388f04a: Download complete [2022-06-17T06:27:16.049Z] 6ad1cebc031e: Verifying Checksum [2022-06-17T06:27:16.049Z] 6ad1cebc031e: Download complete [2022-06-17T06:27:16.316Z] df9b9388f04a: Pull complete [2022-06-17T06:27:16.316Z] 52dc419b0ee2: Pull complete [2022-06-17T06:27:16.316Z] 25bc292e5bac: Pull complete [2022-06-17T06:27:16.806Z] 114826534d7a: Verifying Checksum [2022-06-17T06:27:16.806Z] 114826534d7a: Download complete [2022-06-17T06:27:17.119Z] 8a3aa393b2d8: Verifying Checksum [2022-06-17T06:27:17.119Z] 8a3aa393b2d8: Download complete [2022-06-17T06:27:20.148Z] 114826534d7a: Pull complete [2022-06-17T06:27:20.148Z] 4657fd5d0bcf: Pull complete [2022-06-17T06:27:20.714Z] 6ad1cebc031e: Pull complete [2022-06-17T06:27:23.285Z] 8a3aa393b2d8: Pull complete [2022-06-17T06:27:23.286Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-17T06:27:23.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-17T06:27:23.286Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:27:23.383Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:27:23.427Z] $ 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 [2022-06-17T06:27:25.655Z] $ docker top 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-17T06:27:25.737Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh [2022-06-17T06:27:26.102Z] + set -o pipefail [2022-06-17T06:27:26.102Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' [2022-06-17T06:27:42.363Z] [2022-06-17T06:27:42.363Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-06-17T06:27:42.363Z] [2022-06-17T06:27:42.363Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a730bbc9-f508-45af-81cf-591bdfaa42b1 [2022-06-17T06:27:42.363Z] [2022-06-17T06:27:42.363Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-17T06:27:42.363Z] [2022-06-17T06:27:42.363Z] [Pipeline] } [2022-06-17T06:27:42.392Z] $ docker stop --time=1 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 [2022-06-17T06:27:44.616Z] $ docker rm -f 34a5be3cb20b4ce770dc599e3b5fab47ade9d247628e28e73de6d8fe7a6151d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo [2022-06-17T06:27:45.030Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:27:45.044Z] provisioning config files... [2022-06-17T06:27:45.053Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4771754007882279399tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:27:45.356Z] --> edgex-publish-swagger.sh [2022-06-17T06:27:45.356Z] === Publish openapi/v2 API === [2022-06-17T06:27:45.356Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-06-17T06:27:45.356Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-06-17T06:27:45.356Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T06:27:45.356Z] Dload Upload Total Spent Left Speed [2022-06-17T06:27:45.929Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 81222 --:--:-- --:--:-- --:--:-- 81222 [2022-06-17T06:27:45.929Z] [2022-06-17T06:27:45.929Z] [Pipeline] } [2022-06-17T06:27:45.937Z] 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 [2022-06-17T06:27:46.392Z] + git log --format=format:%s -1 37feea84d12508780716eef2708031ba6031fa53 [Pipeline] sh [2022-06-17T06:27:46.687Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T06:27:46.687Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:27:46.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:27:46.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:27:47.071Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:27:47.113Z] $ 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 [2022-06-17T06:27:47.546Z] $ docker top 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T06:27:47.646Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T06:27:47.646Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T06:27:47.765Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T06:27:47.772Z] $ docker exec 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 ssh-agent [2022-06-17T06:27:47.882Z] SSH_AUTH_SOCK=/tmp/ssh-LZKKqqPB4YXE/agent.32 [2022-06-17T06:27:47.882Z] SSH_AGENT_PID=38 [2022-06-17T06:27:47.888Z] Running ssh-add (command line suppressed) [2022-06-17T06:27:48.008Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3698582590058588520.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3698582590058588520.key) [2022-06-17T06:27:48.020Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T06:27:48.313Z] + git semver tag [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,494 [run_tag] DEBUG tag force:False [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,494 [check_head_tag] DEBUG check head tag [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,495 [execute] INFO git cat-file --batch-check [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,495 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,499 [execute] INFO git cat-file --batch [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,509 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,509 [execute] INFO git tag -a v2.2.1-dev.5 -m v2.2.1-dev.5 [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,509 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.5', '-m', 'v2.2.1-dev.5'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-17T06:27:48.574Z] 2022-06-17 06:27:48,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:27:48.574Z] 2.2.1-dev.5 [Pipeline] } [2022-06-17T06:27:48.588Z] $ docker exec --env ******** --env ******** 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 ssh-agent -k [2022-06-17T06:27:48.688Z] unset SSH_AUTH_SOCK; [2022-06-17T06:27:48.689Z] unset SSH_AGENT_PID; [2022-06-17T06:27:48.689Z] echo Agent pid 38 killed; [2022-06-17T06:27:48.697Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T06:27:49.007Z] + git semver [Pipeline] } [2022-06-17T06:27:49.287Z] $ docker stop --time=1 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 [2022-06-17T06:27:50.592Z] $ docker rm -f 8c1eab6c8adfb130a9c1ebee0481c0f505e343c3809b01edaf56987c57080154 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:27:50.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T06:27:50.984Z] [2022-06-17T06:27:50.984Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:27:51.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T06:27:51.287Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-17T06:27:51.287Z] ab5ef0e58194: Pulling fs layer [2022-06-17T06:27:51.287Z] 9712f1f96733: Pulling fs layer [2022-06-17T06:27:51.287Z] 63f879dbbcfc: Pulling fs layer [2022-06-17T06:27:51.287Z] 0d9ebad4ef96: Pulling fs layer [2022-06-17T06:27:51.287Z] e9a5061849ea: Pulling fs layer [2022-06-17T06:27:51.287Z] d747dcd14b5f: Pulling fs layer [2022-06-17T06:27:51.287Z] 2de7ff778b66: Pulling fs layer [2022-06-17T06:27:51.287Z] e9a5061849ea: Waiting [2022-06-17T06:27:51.287Z] d747dcd14b5f: Waiting [2022-06-17T06:27:51.287Z] 2de7ff778b66: Waiting [2022-06-17T06:27:51.287Z] 0d9ebad4ef96: Waiting [2022-06-17T06:27:51.287Z] 9712f1f96733: Verifying Checksum [2022-06-17T06:27:51.287Z] 9712f1f96733: Download complete [2022-06-17T06:27:51.856Z] 63f879dbbcfc: Verifying Checksum [2022-06-17T06:27:51.856Z] 63f879dbbcfc: Download complete [2022-06-17T06:27:51.856Z] e9a5061849ea: Verifying Checksum [2022-06-17T06:27:51.856Z] e9a5061849ea: Download complete [2022-06-17T06:27:51.856Z] d747dcd14b5f: Verifying Checksum [2022-06-17T06:27:51.856Z] d747dcd14b5f: Download complete [2022-06-17T06:27:51.856Z] ab5ef0e58194: Verifying Checksum [2022-06-17T06:27:51.856Z] ab5ef0e58194: Download complete [2022-06-17T06:27:51.856Z] 0d9ebad4ef96: Verifying Checksum [2022-06-17T06:27:51.856Z] 0d9ebad4ef96: Download complete [2022-06-17T06:27:52.115Z] 2de7ff778b66: Verifying Checksum [2022-06-17T06:27:52.115Z] 2de7ff778b66: Download complete [2022-06-17T06:27:54.648Z] ab5ef0e58194: Pull complete [2022-06-17T06:27:54.648Z] 9712f1f96733: Pull complete [2022-06-17T06:27:55.214Z] 63f879dbbcfc: Pull complete [2022-06-17T06:27:59.414Z] 0d9ebad4ef96: Pull complete [2022-06-17T06:27:59.414Z] e9a5061849ea: Pull complete [2022-06-17T06:27:59.414Z] d747dcd14b5f: Pull complete [2022-06-17T06:28:00.057Z] 2de7ff778b66: Pull complete [2022-06-17T06:28:00.057Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-17T06:28:00.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-17T06:28:00.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:28:00.146Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:28:00.189Z] $ 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 [2022-06-17T06:28:02.455Z] $ docker top c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:28:02.533Z] provisioning config files... [2022-06-17T06:28:02.539Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3845349810313162499tmp [2022-06-17T06:28:02.550Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config777508990740521574tmp [2022-06-17T06:28:02.560Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8328103496627526601tmp [Pipeline] { [Pipeline] echo [2022-06-17T06:28:02.573Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:02.861Z] ---> sigul-configuration.sh [2022-06-17T06:28:02.861Z] gpg: directory `/root/.gnupg' created [2022-06-17T06:28:02.861Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-17T06:28:02.861Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-17T06:28:02.861Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-17T06:28:02.861Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-17T06:28:02.861Z] gpg: CAST5 encrypted data [2022-06-17T06:28:02.861Z] gpg: encrypted with 1 passphrase [2022-06-17T06:28:02.861Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-17T06:28:03.148Z] + mkdir /home/jenkins [2022-06-17T06:28:03.148Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-17T06:28:03.434Z] + 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 [2022-06-17T06:28:03.443Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:03.729Z] ---> sigul-install.sh [2022-06-17T06:28:03.730Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-17T06:28:04.026Z] + git tag --list [2022-06-17T06:28:04.026Z] 0.7.1 [2022-06-17T06:28:04.026Z] delhi-tag [2022-06-17T06:28:04.026Z] v1.0.0 [2022-06-17T06:28:04.026Z] v1.1.0 [2022-06-17T06:28:04.026Z] v1.1.1 [2022-06-17T06:28:04.026Z] v1.1.2 [2022-06-17T06:28:04.026Z] v1.2.0 [2022-06-17T06:28:04.026Z] v1.2.1 [2022-06-17T06:28:04.026Z] v1.2.2 [2022-06-17T06:28:04.026Z] v1.2.3 [2022-06-17T06:28:04.026Z] v1.3.0 [2022-06-17T06:28:04.026Z] v1.4.0 [2022-06-17T06:28:04.026Z] v2.0.0 [2022-06-17T06:28:04.026Z] v2.1.0 [2022-06-17T06:28:04.026Z] v2.1.1 [2022-06-17T06:28:04.026Z] v2.1.1-dev.2 [2022-06-17T06:28:04.026Z] v2.1.1-dev.3 [2022-06-17T06:28:04.026Z] v2.2.0 [2022-06-17T06:28:04.026Z] v2.2.1-dev.1 [2022-06-17T06:28:04.026Z] v2.2.1-dev.2 [2022-06-17T06:28:04.026Z] v2.2.1-dev.3 [2022-06-17T06:28:04.026Z] v2.2.1-dev.4 [2022-06-17T06:28:04.026Z] v2.2.1-dev.5 [Pipeline] sh [2022-06-17T06:28:04.311Z] + lftools sign git-tag v2.2.1-dev.5 [2022-06-17T06:28:04.881Z] Signing Git tag with Sigul... [2022-06-17T06:28:04.881Z] Signing v2.2.1-dev.5 [Pipeline] echo [2022-06-17T06:28:05.147Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:05.431Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-17T06:28:05.439Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-17T06:28:05.461Z] $ docker stop --time=1 c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d [2022-06-17T06:28:06.768Z] $ docker rm -f c5d5b958fe31e0c73e5c7ccee296eefa0788755ed43279e15f2d9da6309f474d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-17T06:28:07.192Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T06:28:07.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:28:07.497Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:28:07.497Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:28:07.584Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:28:07.622Z] $ 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 [2022-06-17T06:28:08.031Z] $ docker top c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T06:28:08.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T06:28:08.130Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T06:28:08.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T06:28:08.261Z] $ docker exec c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae ssh-agent [2022-06-17T06:28:08.383Z] SSH_AUTH_SOCK=/tmp/ssh-JhNGRYlagFKI/agent.33 [2022-06-17T06:28:08.383Z] SSH_AGENT_PID=39 [2022-06-17T06:28:08.388Z] Running ssh-add (command line suppressed) [2022-06-17T06:28:08.509Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057366494878947383.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7057366494878947383.key) [2022-06-17T06:28:08.521Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T06:28:08.812Z] + git semver bump pre [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [bump_version] DEBUG bumping version:2.2.1-dev.5 on axis:pre with prefix:dev [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [bump_version] DEBUG bumped version:2.2.1-dev.6 [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [write_version] DEBUG write version:2.2.1-dev.6 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,993 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,995 [execute] INFO git cat-file --batch-check [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:08,995 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:09,001 [execute] INFO git cat-file --batch [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:09,002 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T06:28:09.073Z] 2022-06-17 06:28:09,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:28:09.073Z] 2.2.1-dev.6 [Pipeline] } [2022-06-17T06:28:09.089Z] $ docker exec --env ******** --env ******** c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae ssh-agent -k [2022-06-17T06:28:09.195Z] unset SSH_AUTH_SOCK; [2022-06-17T06:28:09.196Z] unset SSH_AGENT_PID; [2022-06-17T06:28:09.196Z] echo Agent pid 39 killed; [2022-06-17T06:28:09.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T06:28:09.516Z] + git semver [Pipeline] } [2022-06-17T06:28:09.797Z] $ docker stop --time=1 c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae [2022-06-17T06:28:11.068Z] $ docker rm -f c0f591d207419e67c26ae9419a564c78ca4f0bd773d0f6223c6a5718c0ed39ae [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T06:28:11.419Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T06:28:11.420Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:28:11.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T06:28:11.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:28:11.804Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:28:12.073Z] $ 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 [2022-06-17T06:28:12.416Z] $ docker top aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T06:28:12.515Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T06:28:12.515Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T06:28:12.643Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T06:28:12.650Z] $ docker exec aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc ssh-agent [2022-06-17T06:28:12.771Z] SSH_AUTH_SOCK=/tmp/ssh-IqxOTTAZ1yBP/agent.32 [2022-06-17T06:28:12.771Z] SSH_AGENT_PID=38 [2022-06-17T06:28:12.777Z] Running ssh-add (command line suppressed) [2022-06-17T06:28:12.885Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_914505766915494958.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_914505766915494958.key) [2022-06-17T06:28:12.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T06:28:13.186Z] + git semver push [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,385 [run_push] DEBUG push [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,386 [execute] INFO git cat-file --batch-check [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,387 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,391 [execute] INFO git rev-list d90e7d4cc92e04deafe4ca13d4b3d6653cac8775 -- [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,391 [execute] DEBUG Popen(['git', 'rev-list', 'd90e7d4cc92e04deafe4ca13d4b3d6653cac8775', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,400 [execute] INFO git fetch -v origin [2022-06-17T06:28:13.450Z] 2022-06-17 06:28:13,401 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-17T06:28:14.022Z] 2022-06-17 06:28:13,981 [run_push] DEBUG no remote changes detected [2022-06-17T06:28:14.022Z] 2022-06-17 06:28:13,981 [execute] INFO git push origin semver [2022-06-17T06:28:14.022Z] 2022-06-17 06:28:13,982 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-17T06:28:14.963Z] 2022-06-17 06:28:14,799 [run_push] DEBUG push all version tags [2022-06-17T06:28:14.963Z] 2022-06-17 06:28:14,799 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-17T06:28:14.963Z] 2022-06-17 06:28:14,800 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-17T06:28:15.534Z] 2022-06-17 06:28:15,436 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main [2022-06-17T06:28:15.534Z] 2.2.1-dev.6 [Pipeline] } [2022-06-17T06:28:15.548Z] $ docker exec --env ******** --env ******** aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc ssh-agent -k [2022-06-17T06:28:15.645Z] unset SSH_AUTH_SOCK; [2022-06-17T06:28:15.645Z] unset SSH_AGENT_PID; [2022-06-17T06:28:15.645Z] echo Agent pid 38 killed; [2022-06-17T06:28:15.653Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T06:28:15.960Z] + git semver [Pipeline] } [2022-06-17T06:28:16.237Z] $ docker stop --time=1 aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc [2022-06-17T06:28:17.538Z] $ docker rm -f aa3d4c8992dec1b36e2fd0d062505089a42164565d5bed36798c93bbe016d7fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-06-17T06:28:18.079Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-06-17T06:28:18.079Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-17T06:28:18.079Z] total 16 [2022-06-17T06:28:18.079Z] drwxr-xr-x 3 root root 4096 Jun 17 06:17 . [2022-06-17T06:28:18.079Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 06:28 .. [2022-06-17T06:28:18.079Z] drwxr-xr-x 2 root root 4096 Jun 17 06:17 cost [2022-06-17T06:28:18.079Z] -rw-r--r-- 1 root root 83 Jun 17 06:17 cost.csv [2022-06-17T06:28:18.079Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-17T06:28:18.079Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-06-17T06:28:18.079Z] total 16 [2022-06-17T06:28:18.079Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 06:17 . [2022-06-17T06:28:18.079Z] drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 06:28 .. [2022-06-17T06:28:18.079Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 06:17 cost [2022-06-17T06:28:18.079Z] -rw-r--r-- 1 jenkins jenkins 83 Jun 17 06:17 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:18.371Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:19.239Z] ---> package-listing.sh [2022-06-17T06:28:19.239Z] ++ facter osfamily [2022-06-17T06:28:19.239Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T06:28:19.499Z] + OS_FAMILY=debian [2022-06-17T06:28:19.499Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-06-17T06:28:19.499Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T06:28:19.499Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T06:28:19.499Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T06:28:19.499Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T06:28:19.499Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-06-17T06:28:19.499Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T06:28:19.499Z] + case "${OS_FAMILY}" in [2022-06-17T06:28:19.499Z] + dpkg -l [2022-06-17T06:28:19.499Z] + grep '^ii' [2022-06-17T06:28:19.499Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T06:28:19.499Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T06:28:19.499Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T06:28:19.499Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-06-17T06:28:19.499Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-06-17T06:28:19.499Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2022-06-17T06:28:19.508Z] 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 [2022-06-17T06:28:19.786Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T06:28:20.415Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T06:28:20.415Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T06:28:20.487Z] prd-ubuntu20.04-docker-8c-8g-2539 does not seem to be running inside a container [2022-06-17T06:28:20.521Z] $ 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 [2022-06-17T06:28:20.752Z] $ docker top c299d8bf2ef406c4b111bff2e60b31d2bb8747f7c0901805366cadde07233db5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T06:28:21.098Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T06:28:21.387Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T06:28:21.677Z] + ls /var/log/sa-host [2022-06-17T06:28:21.677Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T06:28:21.799Z] provisioning config files... [2022-06-17T06:28:21.808Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7096869603156929797tmp [Pipeline] { [Pipeline] echo [2022-06-17T06:28:21.822Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:22.110Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T06:28:22.119Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:22.460Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T06:28:22.469Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:22.754Z] ---> sudo-logs.sh [2022-06-17T06:28:22.754Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T06:28:22.783Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:23.071Z] ---> job-cost.sh [2022-06-17T06:28:23.071Z] lf-activate-venv: SKIPPING [2022-06-17T06:28:23.071Z] DEBUG: total: 0.2199999988079071 [2022-06-17T06:28:23.071Z] INFO: Retrieving Stack Cost... [2022-06-17T06:28:23.641Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T06:28:24.212Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T06:28:24.224Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T06:28:24.517Z] ---> logs-deploy.sh [2022-06-17T06:28:24.517Z] lf-activate-venv: SKIPPING [2022-06-17T06:28:24.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/80 [2022-06-17T06:28:24.517Z] INFO: archiving workspace using pattern(s): [2022-06-17T06:28:25.461Z] Archives upload complete. [2022-06-17T06:28:25.461Z] INFO: archiving logs to Nexus