Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 71f09d1ab0705056f5c82f36890c48cdd3d80cce 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-ssh5889386787424471154.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh9715824267300930185.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6881129804135708475.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh14125848477550403014.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh1610064415917902522.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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 [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-10346 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 71f09d1ab0705056f5c82f36890c48cdd3d80cce (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 Commit message: "Merge pull request #1115 from bnevis-i/delayed-start" > git rev-list --no-walk 0c98a10ee9e4548efad256221762cfb1e846b147 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-31T23:08:25.898Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-31T23:08:25.943Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-31T23:08:25.958Z] ========================================================= [2022-03-31T23:08:25.958Z] EdgeX Global Pipelines Version Info [2022-03-31T23:08:25.958Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:08:26.713Z] ------------------- [2022-03-31T23:08:26.713Z] stable info: [2022-03-31T23:08:26.713Z] ------------------- [2022-03-31T23:08:26.713Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-31T23:08:26.713Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-31T23:08:26.713Z] Message: update stable to v1.0.221 [2022-03-31T23:08:27.285Z] ------------------- [2022-03-31T23:08:27.285Z] experimental info: [2022-03-31T23:08:27.285Z] ------------------- [2022-03-31T23:08:27.285Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-31T23:08:27.285Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-31T23:08:27.285Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-31T23:08:27.404Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-31T23:08:27.416Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-31T23:08:27.429Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-31T23:08:27.442Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-31T23:08:27.460Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-31T23:08:27.470Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-31T23:08:27.485Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-31T23:08:27.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-31T23:08:27.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-31T23:08:27.525Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-31T23:08:27.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-31T23:08:27.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-31T23:08:27.562Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-31T23:08:27.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-31T23:08:27.585Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-31T23:08:27.600Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-31T23:08:27.619Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-31T23:08:27.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-31T23:08:27.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-31T23:08:27.657Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-31T23:08:27.667Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-31T23:08:27.677Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-31T23:08:27.686Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-31T23:08:27.696Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-31T23:08:27.707Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-31T23:08:27.729Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-31T23:08:27.747Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-31T23:08:27.765Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-31T23:08:27.783Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-31T23:08:27.804Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] echo [2022-03-31T23:08:27.823Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 71f09d1 [Pipeline] echo [2022-03-31T23:08:27.840Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T23:08:27.888Z] provisioning config files... [2022-03-31T23:08:27.899Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5249946555732898854tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:08:28.199Z] ---> docker-login.sh [2022-03-31T23:08:28.200Z] nexus3.edgexfoundry.org:10001 [2022-03-31T23:08:28.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:28.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:28.459Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:28.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:28.459Z] [2022-03-31T23:08:28.459Z] Login Succeeded [2022-03-31T23:08:28.459Z] nexus3.edgexfoundry.org:10002 [2022-03-31T23:08:28.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:28.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:28.719Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:28.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:28.719Z] [2022-03-31T23:08:28.719Z] Login Succeeded [2022-03-31T23:08:28.719Z] nexus3.edgexfoundry.org:10003 [2022-03-31T23:08:28.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:28.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:28.719Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:28.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:28.719Z] [2022-03-31T23:08:28.719Z] Login Succeeded [2022-03-31T23:08:28.719Z] nexus3.edgexfoundry.org:10004 [2022-03-31T23:08:28.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:28.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:28.980Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:28.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:28.980Z] [2022-03-31T23:08:28.980Z] Login Succeeded [2022-03-31T23:08:28.980Z] docker.io [2022-03-31T23:08:28.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:29.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:29.243Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:29.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:29.243Z] [2022-03-31T23:08:29.243Z] Login Succeeded [2022-03-31T23:08:29.243Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T23:08:29.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-31T23:08:29.647Z] + git rev-list -1 --merges 71f09d1ab0705056f5c82f36890c48cdd3d80cce~1..71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] echo [2022-03-31T23:08:29.661Z] -----------> git rev-list -1 --merges 71f09d1ab0705056f5c82f36890c48cdd3d80cce~1..71f09d1ab0705056f5c82f36890c48cdd3d80cce 71f09d1ab0705056f5c82f36890c48cdd3d80cce [2022-03-31T23:08:29.661Z] 71f09d1ab0705056f5c82f36890c48cdd3d80cce [false] [Pipeline] sh [2022-03-31T23:08:29.963Z] + git log --format=format:%s -1 71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] echo [2022-03-31T23:08:29.981Z] ========================================================= [2022-03-31T23:08:29.981Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-31T23:08:29.981Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-31T23:08:30.330Z] + git log --format=format:%s -1 71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] echo [2022-03-31T23:08:30.346Z] [semverPrep] GIT_COMMIT: 71f09d1ab0705056f5c82f36890c48cdd3d80cce, Commit Message: Merge pull request #1115 from bnevis-i/delayed-start [Pipeline] echo [2022-03-31T23:08:30.358Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-31T23:08:30.785Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-31T23:08:30.785Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-31T23:08:30.785Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-31T23:08:30.785Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-31T23:08:30.785Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-31T23:08:30.785Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-31T23:08:30.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:08:31.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:08:31.206Z] [2022-03-31T23:08:31.206Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:08:31.510Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:08:31.510Z] latest: Pulling from edgex-devops/git-semver [2022-03-31T23:08:31.510Z] a0d0a0d46f8b: Pulling fs layer [2022-03-31T23:08:31.510Z] 3e5f54012d9b: Pulling fs layer [2022-03-31T23:08:31.510Z] 4c7163046ea9: Pulling fs layer [2022-03-31T23:08:31.510Z] 0c2d73faf560: Pulling fs layer [2022-03-31T23:08:31.510Z] 0c2d73faf560: Waiting [2022-03-31T23:08:31.510Z] 3e5f54012d9b: Download complete [2022-03-31T23:08:31.510Z] a0d0a0d46f8b: Verifying Checksum [2022-03-31T23:08:31.510Z] a0d0a0d46f8b: Download complete [2022-03-31T23:08:31.510Z] 0c2d73faf560: Verifying Checksum [2022-03-31T23:08:31.510Z] 0c2d73faf560: Download complete [2022-03-31T23:08:31.510Z] 4c7163046ea9: Verifying Checksum [2022-03-31T23:08:31.510Z] 4c7163046ea9: Download complete [2022-03-31T23:08:31.770Z] a0d0a0d46f8b: Pull complete [2022-03-31T23:08:31.770Z] 3e5f54012d9b: Pull complete [2022-03-31T23:08:32.031Z] 4c7163046ea9: Pull complete [2022-03-31T23:08:32.292Z] 0c2d73faf560: Pull complete [2022-03-31T23:08:32.292Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-31T23:08:32.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:08:32.292Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-31T23:08:32.363Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:08:32.431Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-31T23:08:33.058Z] $ docker top 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-31T23:08:33.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T23:08:33.152Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T23:08:33.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T23:08:33.286Z] $ docker exec 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 ssh-agent [2022-03-31T23:08:33.394Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeoEMBm/agent.14 [2022-03-31T23:08:33.394Z] SSH_AGENT_PID=20 [2022-03-31T23:08:33.400Z] Running ssh-add (command line suppressed) [2022-03-31T23:08:33.517Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3818153062600670081.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3818153062600670081.key) [2022-03-31T23:08:33.515Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T23:08:33.903Z] + git tag --points-at HEAD [Pipeline] } [2022-03-31T23:08:33.939Z] $ docker exec --env ******** --env ******** 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 ssh-agent -k [2022-03-31T23:08:34.038Z] unset SSH_AUTH_SOCK; [2022-03-31T23:08:34.038Z] unset SSH_AGENT_PID; [2022-03-31T23:08:34.038Z] echo Agent pid 20 killed; [2022-03-31T23:08:34.031Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-31T23:08:34.059Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T23:08:34.059Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T23:08:34.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T23:08:34.198Z] $ docker exec 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 ssh-agent [2022-03-31T23:08:34.287Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjplDFB/agent.53 [2022-03-31T23:08:34.287Z] SSH_AGENT_PID=60 [2022-03-31T23:08:34.292Z] Running ssh-add (command line suppressed) [2022-03-31T23:08:34.430Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3376268835906638423.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3376268835906638423.key) [2022-03-31T23:08:34.427Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T23:08:34.714Z] + git semver init [2022-03-31T23:08:34.715Z] # -> Open(): unable to determine branch for HEAD [2022-03-31T23:08:34.715Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-31T23:08:34.715Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:08:34.715Z] # $SEMVER_REMOTE_NAME = origin [2022-03-31T23:08:34.715Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-31T23:08:34.715Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-31T23:08:34.715Z] # $SEMVER_BRANCH = main [2022-03-31T23:08:34.715Z] # $SEMVER_TEMP = /tmp/semver-805153998 [2022-03-31T23:08:34.715Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-31T23:08:35.654Z] # '/tmp/semver-805153998' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-03-31T23:08:35.654Z] # -> Force: false [2022-03-31T23:08:35.654Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-31T23:08:35.682Z] $ docker exec --env ******** --env ******** 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 ssh-agent -k [2022-03-31T23:08:35.788Z] unset SSH_AUTH_SOCK; [2022-03-31T23:08:35.788Z] unset SSH_AGENT_PID; [2022-03-31T23:08:35.789Z] echo Agent pid 60 killed; [2022-03-31T23:08:35.780Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-31T23:08:36.089Z] + git semver [Pipeline] } [2022-03-31T23:08:36.119Z] $ docker stop --time=1 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 [2022-03-31T23:08:37.487Z] $ docker rm -f 6f7cde97da5a2305f00e515030cc6265a272a65a3b0ee762ff229882b0c10a65 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T23:08:37.825Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-31T23:08:38.064Z] Stashed 1 file(s) [Pipeline] echo [2022-03-31T23:08:38.068Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.22 [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-03-31T23:08:38.210Z] provisioning config files... [2022-03-31T23:08:38.220Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5122446013689457426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:08:38.319Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10348 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-03-31T23:08:38.333Z] Running in /w/workspace/device-sdk-go/55 [Pipeline] { [Pipeline] checkout [2022-03-31T23:08:38.357Z] The recommended git tool is: git [2022-03-31T23:08:38.528Z] ---> docker-login.sh [2022-03-31T23:08:38.528Z] nexus3.edgexfoundry.org:10001 [2022-03-31T23:08:38.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:38.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:38.528Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:38.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:38.528Z] [2022-03-31T23:08:38.528Z] Login Succeeded [2022-03-31T23:08:38.528Z] nexus3.edgexfoundry.org:10002 [2022-03-31T23:08:38.528Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:38.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:38.789Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:38.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:38.789Z] [2022-03-31T23:08:38.789Z] Login Succeeded [2022-03-31T23:08:38.789Z] nexus3.edgexfoundry.org:10003 [2022-03-31T23:08:38.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:38.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:38.789Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:38.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:38.789Z] [2022-03-31T23:08:38.789Z] Login Succeeded [2022-03-31T23:08:38.789Z] nexus3.edgexfoundry.org:10004 [2022-03-31T23:08:39.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:39.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:39.050Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:39.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:39.050Z] [2022-03-31T23:08:39.050Z] Login Succeeded [2022-03-31T23:08:39.050Z] docker.io [2022-03-31T23:08:39.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:08:39.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:08:39.311Z] Configure a credential helper to remove this warning. See [2022-03-31T23:08:39.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:08:39.311Z] [2022-03-31T23:08:39.311Z] Login Succeeded [2022-03-31T23:08:39.311Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T23:08:39.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-31T23:08:39.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-31T23:08:39.407Z] ========================================================= [2022-03-31T23:08:39.407Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-31T23:08:39.407Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:08:39.716Z] + 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-03-31T23:08:39.716Z] Sending build context to Docker daemon 9.551MB [2022-03-31T23:08:39.716Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T23:08:39.716Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-31T23:08:39.977Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-31T23:08:39.977Z] 59bf1c3509f3: Pulling fs layer [2022-03-31T23:08:39.977Z] 666ba61612fd: Pulling fs layer [2022-03-31T23:08:39.977Z] 8ed8ca486205: Pulling fs layer [2022-03-31T23:08:39.977Z] 4fe6c5a15a65: Pulling fs layer [2022-03-31T23:08:39.977Z] 22a0e8bec74d: Pulling fs layer [2022-03-31T23:08:39.977Z] 640e595b4fbd: Pulling fs layer [2022-03-31T23:08:39.977Z] 763cafe07f6e: Pulling fs layer [2022-03-31T23:08:39.977Z] 0c0b528cf693: Pulling fs layer [2022-03-31T23:08:39.977Z] 22a0e8bec74d: Waiting [2022-03-31T23:08:39.977Z] 10935f4eaf8b: Pulling fs layer [2022-03-31T23:08:39.977Z] 640e595b4fbd: Waiting [2022-03-31T23:08:39.977Z] 4fe6c5a15a65: Waiting [2022-03-31T23:08:39.977Z] 0c0b528cf693: Waiting [2022-03-31T23:08:39.977Z] 763cafe07f6e: Waiting [2022-03-31T23:08:39.977Z] 10935f4eaf8b: Waiting [2022-03-31T23:08:39.977Z] 8ed8ca486205: Verifying Checksum [2022-03-31T23:08:39.977Z] 8ed8ca486205: Download complete [2022-03-31T23:08:39.977Z] 666ba61612fd: Download complete [2022-03-31T23:08:39.977Z] 22a0e8bec74d: Download complete [2022-03-31T23:08:39.977Z] 640e595b4fbd: Verifying Checksum [2022-03-31T23:08:39.977Z] 59bf1c3509f3: Verifying Checksum [2022-03-31T23:08:39.977Z] 763cafe07f6e: Verifying Checksum [2022-03-31T23:08:39.977Z] 763cafe07f6e: Download complete [2022-03-31T23:08:39.977Z] 0c0b528cf693: Verifying Checksum [2022-03-31T23:08:39.977Z] 0c0b528cf693: Download complete [2022-03-31T23:08:39.977Z] 59bf1c3509f3: Pull complete [2022-03-31T23:08:40.249Z] 666ba61612fd: Pull complete [2022-03-31T23:08:40.249Z] 8ed8ca486205: Pull complete [2022-03-31T23:08:40.509Z] 10935f4eaf8b: Verifying Checksum [2022-03-31T23:08:40.509Z] 10935f4eaf8b: Download complete [2022-03-31T23:08:40.768Z] 4fe6c5a15a65: Verifying Checksum [2022-03-31T23:08:40.768Z] 4fe6c5a15a65: Download complete [2022-03-31T23:08:42.997Z] using credential edgex-jenkins-ssh [2022-03-31T23:08:43.014Z] Cloning the remote Git repository [2022-03-31T23:08:43.062Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-31T23:08:43.125Z] > git init /w/workspace/device-sdk-go/55 # timeout=10 [2022-03-31T23:08:43.204Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-31T23:08:43.205Z] > git --version # timeout=10 [2022-03-31T23:08:43.224Z] > git --version # 'git version 2.25.1' [2022-03-31T23:08:43.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-31T23:08:43.271Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-31T23:08:44.692Z] Avoid second fetch [2022-03-31T23:08:44.693Z] Checking out Revision 71f09d1ab0705056f5c82f36890c48cdd3d80cce (main) [2022-03-31T23:08:44.962Z] 4fe6c5a15a65: Pull complete [2022-03-31T23:08:44.962Z] 22a0e8bec74d: Pull complete [2022-03-31T23:08:44.962Z] 640e595b4fbd: Pull complete [2022-03-31T23:08:44.962Z] 763cafe07f6e: Pull complete [2022-03-31T23:08:44.962Z] 0c0b528cf693: Pull complete [2022-03-31T23:08:44.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-31T23:08:44.673Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-31T23:08:44.717Z] > git config core.sparsecheckout # timeout=10 [2022-03-31T23:08:44.730Z] > git checkout -f 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 [2022-03-31T23:08:46.870Z] 10935f4eaf8b: Pull complete [2022-03-31T23:08:46.870Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-31T23:08:46.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-31T23:08:46.870Z] ---> 99d49a6021b9 [2022-03-31T23:08:46.870Z] Step 3/11 : ARG MAKE=make build [2022-03-31T23:08:47.814Z] ---> Running in 81f19351c71c [2022-03-31T23:08:48.074Z] Removing intermediate container 81f19351c71c [2022-03-31T23:08:48.074Z] ---> d67308733bc6 [2022-03-31T23:08:48.074Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-31T23:08:48.074Z] ---> Running in 642b5ac0055c [2022-03-31T23:08:48.074Z] Removing intermediate container 642b5ac0055c [2022-03-31T23:08:48.074Z] ---> 26f9b6bbcf1d [2022-03-31T23:08:48.074Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:08:48.074Z] ---> Running in a0b71a4ef655 [2022-03-31T23:08:48.334Z] Removing intermediate container a0b71a4ef655 [2022-03-31T23:08:48.334Z] ---> 0d3e78ec1359 [2022-03-31T23:08:48.334Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:08:48.334Z] ---> Running in 67e85dfb35c3 [2022-03-31T23:08:48.905Z] Removing intermediate container 67e85dfb35c3 [2022-03-31T23:08:48.905Z] ---> eb663f706cb2 [2022-03-31T23:08:48.905Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-31T23:08:48.905Z] ---> Running in c9c94850322d [2022-03-31T23:08:49.166Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-31T23:08:49.254Z] Commit message: "Merge pull request #1115 from bnevis-i/delayed-start" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-31T23:08:50.106Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-31T23:08:50.167Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-31T23:08:50.167Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-31T23:08:50.167Z] Dload Upload Total Spent Left Speed [2022-03-31T23:08:50.167Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46810 0 --:--:-- --:--:-- --:--:-- 46625 [Pipeline] sh [2022-03-31T23:08:50.367Z] OK: 221 MiB in 52 packages [2022-03-31T23:08:50.627Z] Removing intermediate container c9c94850322d [2022-03-31T23:08:50.627Z] ---> dbec29a31fca [2022-03-31T23:08:50.627Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-31T23:08:50.683Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-31T23:08:50.887Z] ---> 16543119b9bc [2022-03-31T23:08:50.887Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T23:08:50.887Z] ---> Running in 94ae8130d099 [2022-03-31T23:08:51.029Z] + + sudo tee /etc/docker/daemon.new [2022-03-31T23:08:51.029Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-31T23:08:51.029Z] { [2022-03-31T23:08:51.029Z] "registry-mirrors": [ [2022-03-31T23:08:51.029Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-31T23:08:51.029Z] ], [2022-03-31T23:08:51.029Z] "bip": "10.250.0.254/24", [2022-03-31T23:08:51.029Z] "hosts": [ [2022-03-31T23:08:51.029Z] "tcp://0.0.0.0:5555", [2022-03-31T23:08:51.029Z] "unix:///var/run/docker.sock" [2022-03-31T23:08:51.029Z] ], [2022-03-31T23:08:51.029Z] "mtu": 1458, [2022-03-31T23:08:51.029Z] "selinux-enabled": true, [2022-03-31T23:08:51.029Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-31T23:08:51.029Z] } [Pipeline] sh [2022-03-31T23:08:51.379Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-31T23:08:51.723Z] + sudo service docker restart [2022-03-31T23:09:05.791Z] Removing intermediate container 94ae8130d099 [2022-03-31T23:09:05.791Z] ---> 9b8c93938e16 [2022-03-31T23:09:05.791Z] Step 10/11 : COPY . . [2022-03-31T23:09:05.791Z] ---> 70b88c1a0660 [2022-03-31T23:09:05.791Z] Step 11/11 : RUN ${MAKE} [2022-03-31T23:09:05.791Z] ---> Running in 4e0e2d80aeb2 [2022-03-31T23:09:06.051Z] noop [2022-03-31T23:09:06.313Z] Removing intermediate container 4e0e2d80aeb2 [2022-03-31T23:09:06.313Z] ---> c89d193f297a [2022-03-31T23:09:06.313Z] Successfully built c89d193f297a [2022-03-31T23:09:06.313Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:09:06.622Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-31T23:09:06.622Z] . [Pipeline] withDockerContainer [2022-03-31T23:09:06.687Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:09:06.738Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-31T23:09:07.079Z] $ docker top ca131f940fd889bb70910cde131daf5feecba47d8a2a241edba96b771375518e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T23:09:07.423Z] + go version [2022-03-31T23:09:07.423Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-31T23:09:07.452Z] $ docker stop --time=1 ca131f940fd889bb70910cde131daf5feecba47d8a2a241edba96b771375518e [2022-03-31T23:09:08.744Z] $ docker rm -f ca131f940fd889bb70910cde131daf5feecba47d8a2a241edba96b771375518e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:09:09.137Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-31T23:09:09.137Z] . [Pipeline] withDockerContainer [2022-03-31T23:09:09.209Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:09:09.257Z] $ 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 ******** ci-base-image-x86_64 cat [2022-03-31T23:09:09.602Z] $ docker top 8c2add0112e214f31de812e00190f3db571261312f286b891aa63e5225f30a26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-31T23:09:09.954Z] + make test [2022-03-31T23:09:09.954Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T23:09:10.079Z] provisioning config files... [2022-03-31T23:09:10.103Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/55@tmp/config7829302658052927042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:09:10.214Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-31T23:09:10.463Z] ---> docker-login.sh [2022-03-31T23:09:10.463Z] nexus3.edgexfoundry.org:10001 [2022-03-31T23:09:11.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:09:11.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:09:11.341Z] Configure a credential helper to remove this warning. See [2022-03-31T23:09:11.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:09:11.341Z] [2022-03-31T23:09:11.341Z] Login Succeeded [2022-03-31T23:09:11.341Z] nexus3.edgexfoundry.org:10002 [2022-03-31T23:09:11.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:09:11.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:09:11.893Z] Configure a credential helper to remove this warning. See [2022-03-31T23:09:11.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:09:11.893Z] [2022-03-31T23:09:11.893Z] Login Succeeded [2022-03-31T23:09:11.893Z] nexus3.edgexfoundry.org:10003 [2022-03-31T23:09:12.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:09:12.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:09:12.169Z] Configure a credential helper to remove this warning. See [2022-03-31T23:09:12.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:09:12.169Z] [2022-03-31T23:09:12.169Z] Login Succeeded [2022-03-31T23:09:12.169Z] nexus3.edgexfoundry.org:10004 [2022-03-31T23:09:12.768Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:09:12.768Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:09:12.768Z] Configure a credential helper to remove this warning. See [2022-03-31T23:09:12.768Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:09:12.768Z] [2022-03-31T23:09:12.768Z] Login Succeeded [2022-03-31T23:09:12.768Z] docker.io [2022-03-31T23:09:13.040Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-31T23:09:13.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-31T23:09:13.313Z] Configure a credential helper to remove this warning. See [2022-03-31T23:09:13.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-31T23:09:13.313Z] [2022-03-31T23:09:13.313Z] Login Succeeded [2022-03-31T23:09:13.313Z] ---> docker-login.sh ends [Pipeline] } [2022-03-31T23:09:13.331Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-31T23:09:13.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-31T23:09:13.602Z] ========================================================= [2022-03-31T23:09:13.602Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-31T23:09:13.602Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:09:13.963Z] + 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-03-31T23:09:14.237Z] Sending build context to Docker daemon 5.157MB [2022-03-31T23:09:14.516Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T23:09:14.516Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-31T23:09:14.516Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-31T23:09:14.516Z] 9b3977197b4f: Pulling fs layer [2022-03-31T23:09:14.516Z] 1a89e8eeedd5: Pulling fs layer [2022-03-31T23:09:14.516Z] 94645a83ff95: Pulling fs layer [2022-03-31T23:09:14.516Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-31T23:09:14.516Z] 0c92f367c5e7: Pulling fs layer [2022-03-31T23:09:14.516Z] f7c0051592d6: Pulling fs layer [2022-03-31T23:09:14.516Z] a227ed2f7395: Pulling fs layer [2022-03-31T23:09:14.516Z] 7b1c46037f91: Pulling fs layer [2022-03-31T23:09:14.516Z] 0c92f367c5e7: Waiting [2022-03-31T23:09:14.516Z] f7c0051592d6: Waiting [2022-03-31T23:09:14.516Z] a227ed2f7395: Waiting [2022-03-31T23:09:14.516Z] 7b1c46037f91: Waiting [2022-03-31T23:09:14.516Z] 3f3a8bcf1eab: Waiting [2022-03-31T23:09:14.516Z] 94645a83ff95: Verifying Checksum [2022-03-31T23:09:14.516Z] 94645a83ff95: Download complete [2022-03-31T23:09:14.516Z] 1a89e8eeedd5: Verifying Checksum [2022-03-31T23:09:14.516Z] 1a89e8eeedd5: Download complete [2022-03-31T23:09:14.516Z] 0c92f367c5e7: Verifying Checksum [2022-03-31T23:09:14.516Z] 0c92f367c5e7: Download complete [2022-03-31T23:09:14.516Z] f7c0051592d6: Download complete [2022-03-31T23:09:14.799Z] 9b3977197b4f: Download complete [2022-03-31T23:09:14.799Z] a227ed2f7395: Verifying Checksum [2022-03-31T23:09:14.799Z] a227ed2f7395: Download complete [2022-03-31T23:09:15.403Z] 9b3977197b4f: Pull complete [2022-03-31T23:09:16.007Z] 1a89e8eeedd5: Pull complete [2022-03-31T23:09:16.286Z] 94645a83ff95: Pull complete [2022-03-31T23:09:16.560Z] 7b1c46037f91: Verifying Checksum [2022-03-31T23:09:16.560Z] 7b1c46037f91: Download complete [2022-03-31T23:09:17.162Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-31T23:09:17.162Z] 3f3a8bcf1eab: Download complete [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.016s coverage: 23.3% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.036s coverage: 27.6% of statements [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.022s coverage: 78.9% of statements [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.015s coverage: 10.8% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.019s coverage: 33.2% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.030s coverage: 86.1% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.023s coverage: 57.4% of statements [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.037s coverage: 89.2% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-31T23:09:20.189Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements [2022-03-31T23:09:20.189Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-31T23:09:26.753Z] GO111MODULE=on go vet ./... [2022-03-31T23:09:29.577Z] 3f3a8bcf1eab: Pull complete [2022-03-31T23:09:29.577Z] 0c92f367c5e7: Pull complete [2022-03-31T23:09:29.577Z] f7c0051592d6: Pull complete [2022-03-31T23:09:29.577Z] a227ed2f7395: Pull complete [2022-03-31T23:09:30.043Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-31T23:09:30.043Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-31T23:09:30.043Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-31T23:09:30.056Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-31T23:09:30.085Z] $ docker stop --time=1 8c2add0112e214f31de812e00190f3db571261312f286b891aa63e5225f30a26 [2022-03-31T23:09:31.962Z] $ docker rm -f 8c2add0112e214f31de812e00190f3db571261312f286b891aa63e5225f30a26 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T23:09:32.415Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-31T23:09:32.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-31T23:09:33.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-31T23:09:33.742Z] + ls -al . [2022-03-31T23:09:33.742Z] total 296 [2022-03-31T23:09:33.742Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 23:09 . [2022-03-31T23:09:33.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:08 .. [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 23:08 .dockerignore [2022-03-31T23:09:33.742Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 23:08 .git [2022-03-31T23:09:33.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:08 .github [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 31 23:08 .gitignore [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 31 23:08 .golangci.yml [2022-03-31T23:09:33.742Z] drwx------ 3 jenkins jenkins 4096 Mar 31 23:08 .semver [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 31 23:08 CHANGELOG.md [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 23:08 GOVERNANCE.md [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 31 23:08 Jenkinsfile [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 23:08 LICENSE [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 1627 Mar 31 23:08 Makefile [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 31 23:08 OWNERS.md [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 31 23:08 README.md [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 31 23:08 VERSION [2022-03-31T23:09:33.742Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 23:08 bin [2022-03-31T23:09:33.742Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 31 23:09 coverage.out [2022-03-31T23:09:33.742Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:08 example [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 3105 Mar 31 23:08 go.mod [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 34435 Mar 31 23:08 go.sum [2022-03-31T23:09:33.742Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 23:08 internal [2022-03-31T23:09:33.742Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:08 openapi [2022-03-31T23:09:33.742Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:08 pkg [2022-03-31T23:09:33.742Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:08 snap [2022-03-31T23:09:33.742Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 23:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:09:34.040Z] + 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=71f09d1ab0705056f5c82f36890c48cdd3d80cce --label arch=amd64 --label version=2.2.0-dev.22 . [2022-03-31T23:09:34.040Z] Sending build context to Docker daemon 9.681MB [2022-03-31T23:09:34.040Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T23:09:34.040Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-31T23:09:34.040Z] ---> c89d193f297a [2022-03-31T23:09:34.040Z] Step 3/25 : ARG MAKE=make build [2022-03-31T23:09:34.300Z] ---> Running in 8ccbdf3ee3f8 [2022-03-31T23:09:34.300Z] Removing intermediate container 8ccbdf3ee3f8 [2022-03-31T23:09:34.300Z] ---> 00194682d5f0 [2022-03-31T23:09:34.300Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-31T23:09:34.300Z] ---> Running in 3d5a19a96958 [2022-03-31T23:09:34.560Z] Removing intermediate container 3d5a19a96958 [2022-03-31T23:09:34.560Z] ---> a50e092f1d1b [2022-03-31T23:09:34.560Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:09:34.820Z] ---> Running in e757adf189c5 [2022-03-31T23:09:34.820Z] Removing intermediate container e757adf189c5 [2022-03-31T23:09:34.820Z] ---> 6bdd69d00aa6 [2022-03-31T23:09:34.820Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:09:35.078Z] ---> Running in 4b9ccc6b2959 [2022-03-31T23:09:35.649Z] Removing intermediate container 4b9ccc6b2959 [2022-03-31T23:09:35.649Z] ---> 6085737f0ae2 [2022-03-31T23:09:35.649Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-31T23:09:35.910Z] ---> Running in 33a8de849229 [2022-03-31T23:09:36.171Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-31T23:09:36.313Z] 7b1c46037f91: Pull complete [2022-03-31T23:09:36.313Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-31T23:09:36.313Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-31T23:09:36.313Z] ---> f79e39bc4007 [2022-03-31T23:09:36.313Z] Step 3/11 : ARG MAKE=make build [2022-03-31T23:09:37.113Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-31T23:09:37.113Z] OK: 221 MiB in 52 packages [2022-03-31T23:09:37.303Z] ---> Running in acc676189edb [2022-03-31T23:09:37.303Z] Removing intermediate container acc676189edb [2022-03-31T23:09:37.303Z] ---> 5b256b344f14 [2022-03-31T23:09:37.303Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-31T23:09:37.578Z] ---> Running in 0c4b80f0c1df [2022-03-31T23:09:37.682Z] Removing intermediate container 33a8de849229 [2022-03-31T23:09:37.682Z] ---> 37b3bf26645b [2022-03-31T23:09:37.682Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-31T23:09:37.682Z] ---> 200278196e92 [2022-03-31T23:09:37.682Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T23:09:37.682Z] ---> Running in 207d4072d032 [2022-03-31T23:09:37.852Z] Removing intermediate container 0c4b80f0c1df [2022-03-31T23:09:37.852Z] ---> 531b3068acae [2022-03-31T23:09:37.852Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:09:37.852Z] ---> Running in 5ef001fd6397 [2022-03-31T23:09:38.129Z] Removing intermediate container 5ef001fd6397 [2022-03-31T23:09:38.129Z] ---> 7884e75ab0f9 [2022-03-31T23:09:38.129Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:09:38.129Z] ---> Running in 86a0c73b8298 [2022-03-31T23:09:38.254Z] Removing intermediate container 207d4072d032 [2022-03-31T23:09:38.254Z] ---> 39f467557d65 [2022-03-31T23:09:38.254Z] Step 10/25 : COPY . . [2022-03-31T23:09:38.826Z] ---> c35dd229b565 [2022-03-31T23:09:38.826Z] Step 11/25 : RUN ${MAKE} [2022-03-31T23:09:38.826Z] ---> Running in 119eee1d7cc4 [2022-03-31T23:09:39.087Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-31T23:09:40.114Z] Removing intermediate container 86a0c73b8298 [2022-03-31T23:09:40.114Z] ---> 3d48b64d9a29 [2022-03-31T23:09:40.114Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-31T23:09:40.114Z] ---> Running in 3f8622badd79 [2022-03-31T23:09:41.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-31T23:09:41.692Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-31T23:09:42.677Z] OK: 220 MiB in 52 packages [2022-03-31T23:09:43.277Z] Removing intermediate container 3f8622badd79 [2022-03-31T23:09:43.277Z] ---> 21eae57c057d [2022-03-31T23:09:43.277Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-31T23:09:43.885Z] ---> 365527fe6ffc [2022-03-31T23:09:43.885Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T23:09:43.885Z] ---> Running in 414aa602432a [2022-03-31T23:09:49.181Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-31T23:09:50.120Z] Removing intermediate container 119eee1d7cc4 [2022-03-31T23:09:50.120Z] ---> de11c6c2e294 [2022-03-31T23:09:50.120Z] Step 12/25 : FROM alpine:3.14 [2022-03-31T23:09:50.690Z] 3.14: Pulling from library/alpine [2022-03-31T23:09:50.950Z] cfab2db72209: Pulling fs layer [2022-03-31T23:09:51.210Z] cfab2db72209: Download complete [2022-03-31T23:09:51.210Z] cfab2db72209: Pull complete [2022-03-31T23:09:51.210Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-03-31T23:09:51.210Z] Status: Downloaded newer image for alpine:3.14 [2022-03-31T23:09:51.210Z] ---> 84b07dd2d1fd [2022-03-31T23:09:51.210Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:09:51.210Z] ---> Running in 70def98e95b6 [2022-03-31T23:09:51.470Z] Removing intermediate container 70def98e95b6 [2022-03-31T23:09:51.470Z] ---> 0db9d88315bc [2022-03-31T23:09:51.470Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:09:51.470Z] ---> Running in d836bd313798 [2022-03-31T23:09:52.039Z] Removing intermediate container d836bd313798 [2022-03-31T23:09:52.039Z] ---> 95b5b16de253 [2022-03-31T23:09:52.039Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-31T23:09:52.039Z] ---> Running in 78745b821af3 [2022-03-31T23:09:52.299Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-31T23:09:53.241Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-31T23:09:53.241Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-31T23:09:53.503Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-31T23:09:53.503Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-31T23:09:53.763Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-31T23:09:53.764Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-31T23:09:53.764Z] Executing busybox-1.33.1-r6.trigger [2022-03-31T23:09:53.764Z] OK: 8 MiB in 19 packages [2022-03-31T23:09:54.334Z] Removing intermediate container 78745b821af3 [2022-03-31T23:09:54.334Z] ---> b31574869981 [2022-03-31T23:09:54.334Z] Step 16/25 : WORKDIR / [2022-03-31T23:09:54.334Z] ---> Running in 99e74013f835 [2022-03-31T23:09:54.334Z] Removing intermediate container 99e74013f835 [2022-03-31T23:09:54.334Z] ---> 33aa188dfd1c [2022-03-31T23:09:54.334Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-31T23:09:54.334Z] ---> 805a8243c845 [2022-03-31T23:09:54.334Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-31T23:09:54.901Z] ---> 6070aed633d7 [2022-03-31T23:09:54.901Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-31T23:09:55.161Z] ---> 1f45da70f3d6 [2022-03-31T23:09:55.161Z] Step 20/25 : EXPOSE 59999 [2022-03-31T23:09:55.161Z] ---> Running in 7a5091d5fc3a [2022-03-31T23:09:55.161Z] Removing intermediate container 7a5091d5fc3a [2022-03-31T23:09:55.161Z] ---> e0a0e074cfe9 [2022-03-31T23:09:55.161Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-31T23:09:55.161Z] ---> Running in 42058a03cbbb [2022-03-31T23:09:55.161Z] Removing intermediate container 42058a03cbbb [2022-03-31T23:09:55.161Z] ---> 783998f2d3d2 [2022-03-31T23:09:55.161Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-31T23:09:55.421Z] ---> Running in dc70cb4cf2f5 [2022-03-31T23:09:55.421Z] Removing intermediate container dc70cb4cf2f5 [2022-03-31T23:09:55.421Z] ---> ae02c007f04a [2022-03-31T23:09:55.421Z] Step 23/25 : LABEL arch=amd64 [2022-03-31T23:09:55.421Z] ---> Running in c4f176d8a114 [2022-03-31T23:09:55.421Z] Removing intermediate container c4f176d8a114 [2022-03-31T23:09:55.421Z] ---> 5d6d732f6037 [2022-03-31T23:09:55.421Z] Step 24/25 : LABEL git_sha=71f09d1ab0705056f5c82f36890c48cdd3d80cce [2022-03-31T23:09:55.421Z] ---> Running in ed73804a8849 [2022-03-31T23:09:55.681Z] Removing intermediate container ed73804a8849 [2022-03-31T23:09:55.681Z] ---> 9d88e37beb46 [2022-03-31T23:09:55.681Z] Step 25/25 : LABEL version=2.2.0-dev.22 [2022-03-31T23:09:55.681Z] ---> Running in 629567c69569 [2022-03-31T23:09:55.681Z] Removing intermediate container 629567c69569 [2022-03-31T23:09:55.681Z] ---> f40662629f8b [2022-03-31T23:09:55.681Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-31T23:09:55.681Z] Successfully built f40662629f8b [2022-03-31T23:09:55.681Z] Successfully tagged device-sdk-simple:latest [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] sh [2022-03-31T23:09:56.089Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T23:09:56.089Z] [2022-03-31T23:09:56.089Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:09:56.392Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T23:09:56.392Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-31T23:09:56.392Z] 5eb5b503b376: Pulling fs layer [2022-03-31T23:09:56.392Z] 5c69ac0246d0: Pulling fs layer [2022-03-31T23:09:56.392Z] ec43610c2a17: Pulling fs layer [2022-03-31T23:09:56.392Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-31T23:09:56.392Z] 33b1e0a273af: Pulling fs layer [2022-03-31T23:09:56.392Z] 5d3b04190fa2: Pulling fs layer [2022-03-31T23:09:56.392Z] 3a2ae6a8a46f: Waiting [2022-03-31T23:09:56.392Z] 33b1e0a273af: Waiting [2022-03-31T23:09:56.392Z] 5d3b04190fa2: Waiting [2022-03-31T23:09:56.392Z] 2f39f015ded8: Pulling fs layer [2022-03-31T23:09:56.392Z] 5c69ac0246d0: Verifying Checksum [2022-03-31T23:09:56.392Z] 5c69ac0246d0: Download complete [2022-03-31T23:09:56.392Z] 3a2ae6a8a46f: Download complete [2022-03-31T23:09:56.392Z] 33b1e0a273af: Verifying Checksum [2022-03-31T23:09:56.392Z] 33b1e0a273af: Download complete [2022-03-31T23:09:56.392Z] ec43610c2a17: Verifying Checksum [2022-03-31T23:09:56.392Z] ec43610c2a17: Download complete [2022-03-31T23:09:56.392Z] 5d3b04190fa2: Download complete [2022-03-31T23:09:56.651Z] 5eb5b503b376: Download complete [2022-03-31T23:09:57.220Z] 2f39f015ded8: Download complete [2022-03-31T23:09:57.787Z] 5eb5b503b376: Pull complete [2022-03-31T23:09:57.787Z] 5c69ac0246d0: Pull complete [2022-03-31T23:09:58.357Z] ec43610c2a17: Pull complete [2022-03-31T23:09:58.357Z] 3a2ae6a8a46f: Pull complete [2022-03-31T23:09:58.617Z] 33b1e0a273af: Pull complete [2022-03-31T23:09:58.617Z] 5d3b04190fa2: Pull complete [2022-03-31T23:10:02.827Z] 2f39f015ded8: Pull complete [2022-03-31T23:10:02.827Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-31T23:10:02.827Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T23:10:02.827Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-31T23:10:02.888Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:10:02.936Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-31T23:10:04.423Z] $ docker top bc9ff153620c5dbc6e56f9aebfef94eedd81356eb65be1eb424bccbeb423cdbc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:10:04.845Z] ---> job-cost.sh [2022-03-31T23:10:04.845Z] lf-activate-venv: SKIPPING [2022-03-31T23:10:04.845Z] INFO: No Stack... [2022-03-31T23:10:05.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-31T23:10:05.678Z] INFO: Archiving Costs [Pipeline] sh [2022-03-31T23:10:05.975Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-03-31T23:10:05.975Z] + cut -d, -f6 [Pipeline] lock [2022-03-31T23:10:05.992Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [2022-03-31T23:10:06.004Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] did not exist. Created. [2022-03-31T23:10:06.004Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-31T23:10:06.313Z] + echo total: 0.4399999976158142 [Pipeline] stash [2022-03-31T23:10:06.348Z] Stashed 1 file(s) [Pipeline] } [2022-03-31T23:10:06.354Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-31T23:10:06.390Z] $ docker stop --time=1 bc9ff153620c5dbc6e56f9aebfef94eedd81356eb65be1eb424bccbeb423cdbc [2022-03-31T23:10:07.571Z] $ docker rm -f bc9ff153620c5dbc6e56f9aebfef94eedd81356eb65be1eb424bccbeb423cdbc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-31T23:10:30.923Z] Removing intermediate container 414aa602432a [2022-03-31T23:10:30.923Z] ---> 080428203541 [2022-03-31T23:10:30.923Z] Step 10/11 : COPY . . [2022-03-31T23:10:30.923Z] ---> 52f5e32709cc [2022-03-31T23:10:30.923Z] Step 11/11 : RUN ${MAKE} [2022-03-31T23:10:30.923Z] ---> Running in 04540d7552e3 [2022-03-31T23:10:30.923Z] noop [2022-03-31T23:10:30.923Z] Removing intermediate container 04540d7552e3 [2022-03-31T23:10:30.923Z] ---> 056a7b88b8c9 [2022-03-31T23:10:30.923Z] Successfully built 056a7b88b8c9 [2022-03-31T23:10:30.923Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:10:31.278Z] + docker inspect -f . ci-base-image-arm64 [2022-03-31T23:10:31.278Z] . [Pipeline] withDockerContainer [2022-03-31T23:10:31.507Z] prd-ubuntu20.04-docker-arm64-4c-16g-10348 does not seem to be running inside a container [2022-03-31T23:10:31.604Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/55 -v /w/workspace/device-sdk-go/55:/w/workspace/device-sdk-go/55:rw,z -v /w/workspace/device-sdk-go/55@tmp:/w/workspace/device-sdk-go/55@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 ******** ci-base-image-arm64 cat [2022-03-31T23:10:32.854Z] $ docker top 51c670dc32b5421309213a4b9d42894c36035b15a3c634fb847e0ef7ef4993d3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T23:10:33.752Z] + go version [2022-03-31T23:10:33.752Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-31T23:10:33.784Z] $ docker stop --time=1 51c670dc32b5421309213a4b9d42894c36035b15a3c634fb847e0ef7ef4993d3 [2022-03-31T23:10:35.414Z] $ docker rm -f 51c670dc32b5421309213a4b9d42894c36035b15a3c634fb847e0ef7ef4993d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:10:36.045Z] + docker inspect -f . ci-base-image-arm64 [2022-03-31T23:10:36.046Z] . [Pipeline] withDockerContainer [2022-03-31T23:10:36.289Z] prd-ubuntu20.04-docker-arm64-4c-16g-10348 does not seem to be running inside a container [2022-03-31T23:10:36.389Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/55 -v /w/workspace/device-sdk-go/55:/w/workspace/device-sdk-go/55:rw,z -v /w/workspace/device-sdk-go/55@tmp:/w/workspace/device-sdk-go/55@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 ******** ci-base-image-arm64 cat [2022-03-31T23:10:37.661Z] $ docker top 3065d636284bf047d9b2560b6113769124b5796c3fdd32a10cc5a4b36893ecbb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-31T23:10:38.578Z] + make test [2022-03-31T23:10:38.578Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-31T23:10:40.585Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-31T23:12:02.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 23.3% of statements [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-31T23:12:02.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.146s coverage: 27.6% of statements [2022-03-31T23:12:02.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements [2022-03-31T23:12:02.470Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.167s coverage: 10.8% of statements [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-31T23:12:02.470Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-31T23:12:05.117Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 33.2% of statements [2022-03-31T23:12:05.117Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-31T23:12:06.595Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 86.1% of statements [2022-03-31T23:12:06.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-31T23:12:06.595Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-31T23:12:08.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 57.4% of statements [2022-03-31T23:12:08.046Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.252s coverage: 89.2% of statements [2022-03-31T23:12:08.046Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-31T23:12:10.676Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.8% of statements [2022-03-31T23:12:10.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-31T23:12:11.276Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-03-31T23:12:11.276Z] GO111MODULE=on go vet ./... [2022-03-31T23:12:38.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-31T23:12:38.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-31T23:12:38.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-31T23:12:40.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-31T23:12:40.160Z] $ docker stop --time=1 3065d636284bf047d9b2560b6113769124b5796c3fdd32a10cc5a4b36893ecbb [2022-03-31T23:12:41.956Z] $ docker rm -f 3065d636284bf047d9b2560b6113769124b5796c3fdd32a10cc5a4b36893ecbb [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T23:12:42.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-31T23:12:42.925Z] Warning: overwriting stash ‘coverage-report’ [2022-03-31T23:12:43.512Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-31T23:12:43.901Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-31T23:12:44.249Z] + ls -al . [2022-03-31T23:12:44.249Z] total 292 [2022-03-31T23:12:44.249Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 23:12 . [2022-03-31T23:12:44.249Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:08 .. [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 23:08 .dockerignore [2022-03-31T23:12:44.249Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 23:08 .git [2022-03-31T23:12:44.249Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:08 .github [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 31 23:08 .gitignore [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 31 23:08 .golangci.yml [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 26321 Mar 31 23:08 CHANGELOG.md [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 23:08 GOVERNANCE.md [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 880 Mar 31 23:08 Jenkinsfile [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 23:08 LICENSE [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 1627 Mar 31 23:08 Makefile [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 31 23:08 OWNERS.md [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 4881 Mar 31 23:08 README.md [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 31 23:08 VERSION [2022-03-31T23:12:44.249Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 23:08 bin [2022-03-31T23:12:44.249Z] -rw-r--r-- 1 jenkins jenkins 129001 Mar 31 23:12 coverage.out [2022-03-31T23:12:44.249Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:08 example [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 3105 Mar 31 23:08 go.mod [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 34435 Mar 31 23:08 go.sum [2022-03-31T23:12:44.249Z] drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 23:08 internal [2022-03-31T23:12:44.249Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:08 openapi [2022-03-31T23:12:44.249Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:08 pkg [2022-03-31T23:12:44.249Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:08 snap [2022-03-31T23:12:44.249Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 23:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:12:44.600Z] + 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=71f09d1ab0705056f5c82f36890c48cdd3d80cce --label arch=arm64 --label version=2.2.0-dev.22 . [2022-03-31T23:12:45.216Z] Sending build context to Docker daemon 5.287MB [2022-03-31T23:12:45.216Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-03-31T23:12:45.216Z] Step 2/25 : FROM ${BASE} AS builder [2022-03-31T23:12:45.216Z] ---> 056a7b88b8c9 [2022-03-31T23:12:45.216Z] Step 3/25 : ARG MAKE=make build [2022-03-31T23:12:45.216Z] ---> Running in 06f0b991634f [2022-03-31T23:12:45.491Z] Removing intermediate container 06f0b991634f [2022-03-31T23:12:45.491Z] ---> 75fa8dc89f8e [2022-03-31T23:12:45.491Z] Step 4/25 : WORKDIR /device-sdk-go [2022-03-31T23:12:45.491Z] ---> Running in 36f7a640e69f [2022-03-31T23:12:45.769Z] Removing intermediate container 36f7a640e69f [2022-03-31T23:12:45.769Z] ---> af55b3d3f74f [2022-03-31T23:12:45.769Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:12:46.044Z] ---> Running in 6d5818cb504f [2022-03-31T23:12:46.320Z] Removing intermediate container 6d5818cb504f [2022-03-31T23:12:46.320Z] ---> 382889e8d5a5 [2022-03-31T23:12:46.320Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:12:46.320Z] ---> Running in f4f4c6532379 [2022-03-31T23:12:47.762Z] Removing intermediate container f4f4c6532379 [2022-03-31T23:12:47.762Z] ---> 5b1ee5f09a8b [2022-03-31T23:12:47.762Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-31T23:12:48.036Z] ---> Running in da7a8cc8f52e [2022-03-31T23:12:49.019Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-31T23:12:49.999Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-31T23:12:50.595Z] OK: 220 MiB in 52 packages [2022-03-31T23:12:51.589Z] Removing intermediate container da7a8cc8f52e [2022-03-31T23:12:51.589Z] ---> 2f9bbe231ab2 [2022-03-31T23:12:51.589Z] Step 8/25 : COPY go.mod vendor* ./ [2022-03-31T23:12:51.866Z] ---> 27cc3d85d8bf [2022-03-31T23:12:51.866Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-31T23:12:52.148Z] ---> Running in 2662dc7afc9c [2022-03-31T23:12:54.134Z] Removing intermediate container 2662dc7afc9c [2022-03-31T23:12:54.134Z] ---> 5f5c087c5851 [2022-03-31T23:12:54.134Z] Step 10/25 : COPY . . [2022-03-31T23:12:55.120Z] ---> 75bbb747aae4 [2022-03-31T23:12:55.120Z] Step 11/25 : RUN ${MAKE} [2022-03-31T23:12:55.120Z] ---> Running in da2a154f32e7 [2022-03-31T23:12:56.104Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.22" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-03-31T23:14:04.327Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-03-31T23:14:05.763Z] Removing intermediate container da2a154f32e7 [2022-03-31T23:14:05.763Z] ---> e0c506cdf06b [2022-03-31T23:14:05.763Z] Step 12/25 : FROM alpine:3.14 [2022-03-31T23:14:06.360Z] 3.14: Pulling from library/alpine [2022-03-31T23:14:06.634Z] 810d54c7e01b: Pulling fs layer [2022-03-31T23:14:06.909Z] 810d54c7e01b: Verifying Checksum [2022-03-31T23:14:06.909Z] 810d54c7e01b: Download complete [2022-03-31T23:14:07.506Z] 810d54c7e01b: Pull complete [2022-03-31T23:14:07.506Z] Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da [2022-03-31T23:14:07.506Z] Status: Downloaded newer image for alpine:3.14 [2022-03-31T23:14:07.506Z] ---> cc3d11fa2d52 [2022-03-31T23:14:07.506Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-31T23:14:07.506Z] ---> Running in 635e3dfe7676 [2022-03-31T23:14:07.780Z] Removing intermediate container 635e3dfe7676 [2022-03-31T23:14:07.780Z] ---> 2c3042408392 [2022-03-31T23:14:07.780Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-31T23:14:07.780Z] ---> Running in b3e3355b7d64 [2022-03-31T23:14:09.768Z] Removing intermediate container b3e3355b7d64 [2022-03-31T23:14:09.768Z] ---> 3dceedd7c705 [2022-03-31T23:14:09.768Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-03-31T23:14:09.768Z] ---> Running in 7278b2acb287 [2022-03-31T23:14:10.363Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-31T23:14:11.338Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-31T23:14:12.322Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-03-31T23:14:12.322Z] (2/5) Installing libsodium (1.0.18-r0) [2022-03-31T23:14:12.322Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-31T23:14:12.596Z] (4/5) Installing libzmq (4.3.4-r0) [2022-03-31T23:14:12.596Z] (5/5) Installing zeromq (4.3.4-r0) [2022-03-31T23:14:12.596Z] Executing busybox-1.33.1-r6.trigger [2022-03-31T23:14:12.596Z] OK: 8 MiB in 19 packages [2022-03-31T23:14:13.579Z] Removing intermediate container 7278b2acb287 [2022-03-31T23:14:13.579Z] ---> 70b5ed61179a [2022-03-31T23:14:13.579Z] Step 16/25 : WORKDIR / [2022-03-31T23:14:13.579Z] ---> Running in dd51ba86f164 [2022-03-31T23:14:14.175Z] Removing intermediate container dd51ba86f164 [2022-03-31T23:14:14.175Z] ---> ba31ad85e206 [2022-03-31T23:14:14.175Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-03-31T23:14:14.452Z] ---> 52118ea994d2 [2022-03-31T23:14:14.452Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-03-31T23:14:15.888Z] ---> e52f2488fe00 [2022-03-31T23:14:15.888Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-03-31T23:14:16.486Z] ---> 2517efce7ea2 [2022-03-31T23:14:16.486Z] Step 20/25 : EXPOSE 59999 [2022-03-31T23:14:16.486Z] ---> Running in d69be469058f [2022-03-31T23:14:16.760Z] Removing intermediate container d69be469058f [2022-03-31T23:14:16.760Z] ---> dfbf2d2125d2 [2022-03-31T23:14:16.760Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-03-31T23:14:16.760Z] ---> Running in c19cf7baac35 [2022-03-31T23:14:17.034Z] Removing intermediate container c19cf7baac35 [2022-03-31T23:14:17.034Z] ---> 14b81cf372a3 [2022-03-31T23:14:17.034Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-31T23:14:17.308Z] ---> Running in 5163e9a80e43 [2022-03-31T23:14:17.583Z] Removing intermediate container 5163e9a80e43 [2022-03-31T23:14:17.583Z] ---> 127b36325c72 [2022-03-31T23:14:17.583Z] Step 23/25 : LABEL arch=arm64 [2022-03-31T23:14:17.583Z] ---> Running in 7dfe7becd574 [2022-03-31T23:14:17.857Z] Removing intermediate container 7dfe7becd574 [2022-03-31T23:14:17.857Z] ---> 673e9a03d0de [2022-03-31T23:14:17.857Z] Step 24/25 : LABEL git_sha=71f09d1ab0705056f5c82f36890c48cdd3d80cce [2022-03-31T23:14:17.857Z] ---> Running in e4fc55f4b9dc [2022-03-31T23:14:18.132Z] Removing intermediate container e4fc55f4b9dc [2022-03-31T23:14:18.132Z] ---> 684ae930e8e0 [2022-03-31T23:14:18.132Z] Step 25/25 : LABEL version=2.2.0-dev.22 [2022-03-31T23:14:18.405Z] ---> Running in 72ad6ce0381e [2022-03-31T23:14:18.677Z] Removing intermediate container 72ad6ce0381e [2022-03-31T23:14:18.677Z] ---> e7887493aa0b [2022-03-31T23:14:18.677Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-31T23:14:18.677Z] Successfully built e7887493aa0b [2022-03-31T23:14:18.677Z] Successfully tagged device-sdk-simple-arm64:latest [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] sh [2022-03-31T23:14:19.106Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T23:14:19.106Z] [2022-03-31T23:14:19.106Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:14:19.450Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T23:14:19.741Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-31T23:14:19.741Z] 8998bd30e6a1: Pulling fs layer [2022-03-31T23:14:19.741Z] 04944245beec: Pulling fs layer [2022-03-31T23:14:19.741Z] 699f458cf7ca: Pulling fs layer [2022-03-31T23:14:19.741Z] 765212b225bb: Pulling fs layer [2022-03-31T23:14:19.741Z] f23df028b6ca: Pulling fs layer [2022-03-31T23:14:19.741Z] d65c8cfc05b1: Pulling fs layer [2022-03-31T23:14:19.741Z] 2437ff75d9bd: Pulling fs layer [2022-03-31T23:14:19.741Z] 765212b225bb: Waiting [2022-03-31T23:14:19.741Z] f23df028b6ca: Waiting [2022-03-31T23:14:19.741Z] 2437ff75d9bd: Waiting [2022-03-31T23:14:19.741Z] d65c8cfc05b1: Waiting [2022-03-31T23:14:19.741Z] 04944245beec: Verifying Checksum [2022-03-31T23:14:19.741Z] 04944245beec: Download complete [2022-03-31T23:14:19.741Z] 765212b225bb: Verifying Checksum [2022-03-31T23:14:19.741Z] 765212b225bb: Download complete [2022-03-31T23:14:19.741Z] f23df028b6ca: Download complete [2022-03-31T23:14:19.741Z] d65c8cfc05b1: Verifying Checksum [2022-03-31T23:14:19.741Z] d65c8cfc05b1: Download complete [2022-03-31T23:14:20.018Z] 699f458cf7ca: Verifying Checksum [2022-03-31T23:14:20.018Z] 699f458cf7ca: Download complete [2022-03-31T23:14:20.293Z] 8998bd30e6a1: Verifying Checksum [2022-03-31T23:14:20.293Z] 8998bd30e6a1: Download complete [2022-03-31T23:14:22.915Z] 2437ff75d9bd: Verifying Checksum [2022-03-31T23:14:22.915Z] 2437ff75d9bd: Download complete [2022-03-31T23:14:24.890Z] 8998bd30e6a1: Pull complete [2022-03-31T23:14:25.162Z] 04944245beec: Pull complete [2022-03-31T23:14:26.599Z] 699f458cf7ca: Pull complete [2022-03-31T23:14:26.874Z] 765212b225bb: Pull complete [2022-03-31T23:14:27.470Z] f23df028b6ca: Pull complete [2022-03-31T23:14:27.743Z] d65c8cfc05b1: Pull complete [2022-03-31T23:14:42.840Z] 2437ff75d9bd: Pull complete [2022-03-31T23:14:42.841Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-31T23:14:42.841Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-31T23:14:42.841Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-31T23:14:43.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-10348 does not seem to be running inside a container [2022-03-31T23:14:43.153Z] $ 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/55 -v /w/workspace/device-sdk-go/55:/w/workspace/device-sdk-go/55:rw,z -v /w/workspace/device-sdk-go/55@tmp:/w/workspace/device-sdk-go/55@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:arm64 cat [2022-03-31T23:14:45.623Z] $ docker top 1ef0a36d3ef5521d7e0eb487c4abffb16bfcfbaf115b034eb7fb903f378d5e14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:14:46.517Z] ---> job-cost.sh [2022-03-31T23:14:46.517Z] lf-activate-venv: SKIPPING [2022-03-31T23:14:46.517Z] INFO: No Stack... [2022-03-31T23:14:47.108Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-31T23:14:47.699Z] INFO: Archiving Costs [Pipeline] sh [2022-03-31T23:14:48.355Z] + cat /w/workspace/device-sdk-go/55/archives/cost.csv [2022-03-31T23:14:48.355Z] + cut -d, -f6 [Pipeline] lock [2022-03-31T23:14:48.389Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [2022-03-31T23:14:48.397Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] did not exist. Created. [2022-03-31T23:14:48.397Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-31T23:14:49.060Z] /w/workspace/device-sdk-go/55@tmp/durable-9629ce62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-31T23:14:49.729Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-31T23:14:49.757Z] Warning: overwriting stash ‘stack-cost’ [2022-03-31T23:14:49.811Z] Stashed 1 file(s) [Pipeline] } [2022-03-31T23:14:49.818Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-55-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-31T23:14:49.847Z] $ docker stop --time=1 1ef0a36d3ef5521d7e0eb487c4abffb16bfcfbaf115b034eb7fb903f378d5e14 [2022-03-31T23:14:51.320Z] $ docker rm -f 1ef0a36d3ef5521d7e0eb487c4abffb16bfcfbaf115b034eb7fb903f378d5e14 [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-03-31T23:14:51.789Z] provisioning config files... [2022-03-31T23:14:51.798Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4367006155532284630tmp [Pipeline] { [Pipeline] sh [2022-03-31T23:14:52.091Z] + set +x [2022-03-31T23:14:52.091Z] + bash -s -- [2022-03-31T23:14:52.091Z] + curl -s https://codecov.io/bash [2022-03-31T23:14:52.091Z] [2022-03-31T23:14:52.091Z] _____ _ [2022-03-31T23:14:52.091Z] / ____| | | [2022-03-31T23:14:52.091Z] | | ___ __| | ___ ___ _____ __ [2022-03-31T23:14:52.091Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-31T23:14:52.091Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-31T23:14:52.091Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-31T23:14:52.091Z] Bash-1.0.6 [2022-03-31T23:14:52.091Z] [2022-03-31T23:14:52.091Z] [2022-03-31T23:14:52.091Z] ==> git version 2.25.1 found [2022-03-31T23:14:52.092Z] ==> 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-03-31T23:14:52.092Z] Release-Date: 2020-01-08 [2022-03-31T23:14:52.092Z] 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-03-31T23:14:52.092Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-31T23:14:52.092Z] ==> Jenkins CI detected. [2022-03-31T23:14:52.092Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:14:52.092Z] project root: . [2022-03-31T23:14:52.092Z] --> token set from env [2022-03-31T23:14:52.092Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-31T23:14:52.092Z] ==> Running gcov in . (disable via -X gcov) [2022-03-31T23:14:52.092Z] ==> Python coveragepy not found [2022-03-31T23:14:52.092Z] ==> Searching for coverage reports in: [2022-03-31T23:14:52.092Z] + . [2022-03-31T23:14:52.092Z] -> Found 1 reports [2022-03-31T23:14:52.092Z] ==> Detecting git/mercurial file structure [2022-03-31T23:14:52.092Z] ==> Reading reports [2022-03-31T23:14:52.351Z] + ./coverage.out bytes=129001 [2022-03-31T23:14:52.351Z] ==> Appending adjustments [2022-03-31T23:14:52.351Z] https://docs.codecov.io/docs/fixing-reports [2022-03-31T23:14:52.611Z] + Found adjustments [2022-03-31T23:14:52.611Z] ==> Gzipping contents [2022-03-31T23:14:52.611Z] 16K /tmp/codecov.dC23vu.gz [2022-03-31T23:14:52.611Z] ==> Uploading reports [2022-03-31T23:14:52.611Z] url: https://codecov.io [2022-03-31T23:14:52.611Z] query: branch=main&commit=71f09d1ab0705056f5c82f36890c48cdd3d80cce&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-31T23:14:52.611Z] -> Pinging Codecov [2022-03-31T23:14:52.611Z] 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=71f09d1ab0705056f5c82f36890c48cdd3d80cce&build=55&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F55%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-31T23:14:52.871Z] -> Uploading to [2022-03-31T23:14:52.871Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-31/7E55EF52A471D76F132DFD9A03CDDE97/71f09d1ab0705056f5c82f36890c48cdd3d80cce/f8dc32e7-d401-41fc-8360-fb668ebb063d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220331T231452Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9f86ea30abcd02ca1db91150a3ce5e6e8c5f3b0cc7af6e0bb1aa2a1d4816f845 [2022-03-31T23:14:52.871Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-31T23:14:52.871Z] Dload Upload Total Spent Left Speed [2022-03-31T23:14:53.131Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16251 0 0 100 16251 0 70656 --:--:-- --:--:-- --:--:-- 70656 [2022-03-31T23:14:53.131Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] } [2022-03-31T23:14:53.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-31T23:14:53.401Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-31T23:14:53.410Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:14:53.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-31T23:14:53.705Z] [2022-03-31T23:14:53.705Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:14:54.010Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-31T23:14:54.010Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-31T23:14:54.010Z] 188c0c94c7c5: Pulling fs layer [2022-03-31T23:14:54.010Z] 0ef7d3d256c8: Pulling fs layer [2022-03-31T23:14:54.010Z] de9db76c5a1d: Pulling fs layer [2022-03-31T23:14:54.010Z] 0eba1c9be4d2: Pulling fs layer [2022-03-31T23:14:54.010Z] 0d57e429df01: Pulling fs layer [2022-03-31T23:14:54.010Z] 4e4be7b47b0d: Pulling fs layer [2022-03-31T23:14:54.010Z] e1f770b5df2f: Pulling fs layer [2022-03-31T23:14:54.010Z] 85a0685a4137: Pulling fs layer [2022-03-31T23:14:54.010Z] 4e4be7b47b0d: Waiting [2022-03-31T23:14:54.010Z] 0eba1c9be4d2: Waiting [2022-03-31T23:14:54.010Z] e1f770b5df2f: Waiting [2022-03-31T23:14:54.010Z] 0d57e429df01: Waiting [2022-03-31T23:14:54.010Z] 85a0685a4137: Waiting [2022-03-31T23:14:54.010Z] de9db76c5a1d: Verifying Checksum [2022-03-31T23:14:54.010Z] de9db76c5a1d: Download complete [2022-03-31T23:14:54.010Z] 0ef7d3d256c8: Download complete [2022-03-31T23:14:54.010Z] 0d57e429df01: Verifying Checksum [2022-03-31T23:14:54.010Z] 0d57e429df01: Download complete [2022-03-31T23:14:54.010Z] 4e4be7b47b0d: Verifying Checksum [2022-03-31T23:14:54.010Z] 4e4be7b47b0d: Download complete [2022-03-31T23:14:54.010Z] 188c0c94c7c5: Download complete [2022-03-31T23:14:54.270Z] 188c0c94c7c5: Pull complete [2022-03-31T23:14:54.270Z] e1f770b5df2f: Verifying Checksum [2022-03-31T23:14:54.270Z] e1f770b5df2f: Download complete [2022-03-31T23:14:54.535Z] 0ef7d3d256c8: Pull complete [2022-03-31T23:14:54.535Z] de9db76c5a1d: Pull complete [2022-03-31T23:14:54.794Z] 0eba1c9be4d2: Verifying Checksum [2022-03-31T23:14:54.794Z] 0eba1c9be4d2: Download complete [2022-03-31T23:14:54.794Z] 85a0685a4137: Verifying Checksum [2022-03-31T23:14:54.794Z] 85a0685a4137: Download complete [2022-03-31T23:14:58.083Z] 0eba1c9be4d2: Pull complete [2022-03-31T23:14:58.083Z] 0d57e429df01: Pull complete [2022-03-31T23:14:58.083Z] 4e4be7b47b0d: Pull complete [2022-03-31T23:14:58.083Z] e1f770b5df2f: Pull complete [2022-03-31T23:15:01.373Z] 85a0685a4137: Pull complete [2022-03-31T23:15:01.373Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-31T23:15:01.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-31T23:15:01.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-31T23:15:01.435Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:01.480Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-31T23:15:03.319Z] $ docker top decb484a120c243e755bf6c4968172c5cc528bd5439613eae211da750dfd2d1b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-31T23:15:03.390Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-31T23:15:03.673Z] + set -o pipefail [2022-03-31T23:15:03.673Z] + snyk monitor '--org=edgex-jenkins' [2022-03-31T23:15:10.258Z] [2022-03-31T23:15:10.258Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-03-31T23:15:10.258Z] [2022-03-31T23:15:10.258Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/ae61e14b-2b84-4af7-9a3e-5c9f00b45bce [2022-03-31T23:15:10.258Z] [2022-03-31T23:15:10.258Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-31T23:15:10.258Z] [2022-03-31T23:15:10.258Z] [Pipeline] } [2022-03-31T23:15:10.283Z] $ docker stop --time=1 decb484a120c243e755bf6c4968172c5cc528bd5439613eae211da750dfd2d1b [2022-03-31T23:15:12.343Z] $ docker rm -f decb484a120c243e755bf6c4968172c5cc528bd5439613eae211da750dfd2d1b [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-03-31T23:15:12.757Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T23:15:12.771Z] provisioning config files... [2022-03-31T23:15:12.781Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6306105377310060065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:13.090Z] --> edgex-publish-swagger.sh [2022-03-31T23:15:13.090Z] === Publish openapi/v2 API === [2022-03-31T23:15:13.090Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-03-31T23:15:13.090Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-03-31T23:15:13.090Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-31T23:15:13.090Z] Dload Upload Total Spent Left Speed [2022-03-31T23:15:14.084Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 52546 0:00:01 0:00:01 --:--:-- 52598 100 53282 0 0 100 53282 0 52546 0:00:01 0:00:01 --:--:-- 52546 [2022-03-31T23:15:14.084Z] [2022-03-31T23:15:14.084Z] [Pipeline] } [2022-03-31T23:15:14.106Z] 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-03-31T23:15:14.500Z] + git log --format=format:%s -1 71f09d1ab0705056f5c82f36890c48cdd3d80cce [Pipeline] sh [2022-03-31T23:15:14.798Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-31T23:15:14.798Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:15.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:15:15.095Z] . [Pipeline] withDockerContainer [2022-03-31T23:15:15.173Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:15.224Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-31T23:15:15.637Z] $ docker top c81636fa6fe8484bbc08bba5447991303618500f447315bddb5b1c1d59e49e4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-31T23:15:15.732Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T23:15:15.732Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T23:15:15.855Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T23:15:15.871Z] $ docker exec c81636fa6fe8484bbc08bba5447991303618500f447315bddb5b1c1d59e49e4d ssh-agent [2022-03-31T23:15:15.990Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjjlmbL/agent.13 [2022-03-31T23:15:15.990Z] SSH_AGENT_PID=20 [2022-03-31T23:15:15.995Z] Running ssh-add (command line suppressed) [2022-03-31T23:15:16.118Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3506790252733036406.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3506790252733036406.key) [2022-03-31T23:15:16.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T23:15:16.410Z] + git semver tag [2022-03-31T23:15:16.410Z] # -> Open(): unable to determine branch for HEAD [2022-03-31T23:15:16.410Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-31T23:15:16.410Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:15:16.410Z] # $SEMVER_REMOTE_NAME = origin [2022-03-31T23:15:16.410Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-31T23:15:16.410Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-31T23:15:16.410Z] # $SEMVER_BRANCH = main [2022-03-31T23:15:16.410Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-31T23:15:16.410Z] # 71f09d1ab0705056f5c82f36890c48cdd3d80cce HEAD [2022-03-31T23:15:16.410Z] # -> Force: false [2022-03-31T23:15:16.410Z] # a3ec0a35e387fc92f5780e655b6a82b979250c13 refs/tags/v2.2.0-dev.22 [Pipeline] } [2022-03-31T23:15:16.434Z] $ docker exec --env ******** --env ******** c81636fa6fe8484bbc08bba5447991303618500f447315bddb5b1c1d59e49e4d ssh-agent -k [2022-03-31T23:15:16.540Z] unset SSH_AUTH_SOCK; [2022-03-31T23:15:16.541Z] unset SSH_AGENT_PID; [2022-03-31T23:15:16.541Z] echo Agent pid 20 killed; [2022-03-31T23:15:16.539Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-31T23:15:16.859Z] + git semver [Pipeline] } [2022-03-31T23:15:16.886Z] $ docker stop --time=1 c81636fa6fe8484bbc08bba5447991303618500f447315bddb5b1c1d59e49e4d [2022-03-31T23:15:18.197Z] $ docker rm -f c81636fa6fe8484bbc08bba5447991303618500f447315bddb5b1c1d59e49e4d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:18.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-31T23:15:18.585Z] [2022-03-31T23:15:18.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:18.894Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-31T23:15:18.894Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-31T23:15:18.894Z] ab5ef0e58194: Pulling fs layer [2022-03-31T23:15:18.894Z] 9712f1f96733: Pulling fs layer [2022-03-31T23:15:18.894Z] 63f879dbbcfc: Pulling fs layer [2022-03-31T23:15:18.894Z] 0d9ebad4ef96: Pulling fs layer [2022-03-31T23:15:18.894Z] e9a5061849ea: Pulling fs layer [2022-03-31T23:15:18.894Z] d747dcd14b5f: Pulling fs layer [2022-03-31T23:15:18.894Z] 2de7ff778b66: Pulling fs layer [2022-03-31T23:15:18.894Z] e9a5061849ea: Waiting [2022-03-31T23:15:18.894Z] d747dcd14b5f: Waiting [2022-03-31T23:15:18.894Z] 0d9ebad4ef96: Waiting [2022-03-31T23:15:18.894Z] 2de7ff778b66: Waiting [2022-03-31T23:15:18.894Z] 9712f1f96733: Verifying Checksum [2022-03-31T23:15:18.894Z] 9712f1f96733: Download complete [2022-03-31T23:15:19.159Z] 63f879dbbcfc: Verifying Checksum [2022-03-31T23:15:19.159Z] 63f879dbbcfc: Download complete [2022-03-31T23:15:19.419Z] e9a5061849ea: Verifying Checksum [2022-03-31T23:15:19.419Z] e9a5061849ea: Download complete [2022-03-31T23:15:19.419Z] d747dcd14b5f: Download complete [2022-03-31T23:15:19.419Z] ab5ef0e58194: Download complete [2022-03-31T23:15:19.419Z] 0d9ebad4ef96: Verifying Checksum [2022-03-31T23:15:19.419Z] 0d9ebad4ef96: Download complete [2022-03-31T23:15:19.419Z] 2de7ff778b66: Verifying Checksum [2022-03-31T23:15:19.419Z] 2de7ff778b66: Download complete [2022-03-31T23:15:21.958Z] ab5ef0e58194: Pull complete [2022-03-31T23:15:21.958Z] 9712f1f96733: Pull complete [2022-03-31T23:15:22.900Z] 63f879dbbcfc: Pull complete [2022-03-31T23:15:27.093Z] 0d9ebad4ef96: Pull complete [2022-03-31T23:15:27.093Z] e9a5061849ea: Pull complete [2022-03-31T23:15:27.093Z] d747dcd14b5f: Pull complete [2022-03-31T23:15:28.038Z] 2de7ff778b66: Pull complete [2022-03-31T23:15:28.038Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-31T23:15:28.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-31T23:15:28.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-31T23:15:28.113Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:28.157Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-31T23:15:30.217Z] $ docker top 45f1b9e94a58e5061c9fa377a6852588de4b94cea397fc001cd3948b86464d04 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-31T23:15:30.295Z] provisioning config files... [2022-03-31T23:15:30.305Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2141056886797405697tmp [2022-03-31T23:15:30.317Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8947139695908786492tmp [2022-03-31T23:15:30.329Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5423475224957228159tmp [Pipeline] { [Pipeline] echo [2022-03-31T23:15:30.346Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:30.631Z] ---> sigul-configuration.sh [2022-03-31T23:15:30.631Z] gpg: directory `/root/.gnupg' created [2022-03-31T23:15:30.631Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-31T23:15:30.631Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-31T23:15:30.631Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-31T23:15:30.631Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-31T23:15:30.631Z] gpg: CAST5 encrypted data [2022-03-31T23:15:30.631Z] gpg: encrypted with 1 passphrase [2022-03-31T23:15:30.631Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-31T23:15:30.921Z] + mkdir /home/jenkins [2022-03-31T23:15:30.922Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-31T23:15:31.214Z] + 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-03-31T23:15:31.224Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:31.512Z] ---> sigul-install.sh [2022-03-31T23:15:31.512Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-31T23:15:31.802Z] + git tag --list [2022-03-31T23:15:31.802Z] 0.7.1 [2022-03-31T23:15:31.802Z] delhi-tag [2022-03-31T23:15:31.802Z] v1.0.0 [2022-03-31T23:15:31.802Z] v1.1.0 [2022-03-31T23:15:31.802Z] v1.1.1 [2022-03-31T23:15:31.802Z] v1.1.2 [2022-03-31T23:15:31.802Z] v1.2.0 [2022-03-31T23:15:31.802Z] v1.2.1 [2022-03-31T23:15:31.802Z] v1.2.2 [2022-03-31T23:15:31.802Z] v1.2.3 [2022-03-31T23:15:31.802Z] v1.3.0 [2022-03-31T23:15:31.802Z] v1.4.0 [2022-03-31T23:15:31.802Z] v2.0.0 [2022-03-31T23:15:31.802Z] v2.0.1-dev.1 [2022-03-31T23:15:31.802Z] v2.0.1-dev.10 [2022-03-31T23:15:31.802Z] v2.0.1-dev.11 [2022-03-31T23:15:31.802Z] v2.0.1-dev.12 [2022-03-31T23:15:31.802Z] v2.0.1-dev.13 [2022-03-31T23:15:31.802Z] v2.0.1-dev.14 [2022-03-31T23:15:31.802Z] v2.0.1-dev.15 [2022-03-31T23:15:31.802Z] v2.0.1-dev.16 [2022-03-31T23:15:31.802Z] v2.0.1-dev.17 [2022-03-31T23:15:31.802Z] v2.0.1-dev.18 [2022-03-31T23:15:31.802Z] v2.0.1-dev.19 [2022-03-31T23:15:31.802Z] v2.0.1-dev.2 [2022-03-31T23:15:31.802Z] v2.0.1-dev.20 [2022-03-31T23:15:31.802Z] v2.0.1-dev.21 [2022-03-31T23:15:31.802Z] v2.0.1-dev.22 [2022-03-31T23:15:31.802Z] v2.0.1-dev.23 [2022-03-31T23:15:31.802Z] v2.0.1-dev.24 [2022-03-31T23:15:31.802Z] v2.0.1-dev.25 [2022-03-31T23:15:31.802Z] v2.0.1-dev.26 [2022-03-31T23:15:31.802Z] v2.0.1-dev.27 [2022-03-31T23:15:31.802Z] v2.0.1-dev.28 [2022-03-31T23:15:31.802Z] v2.0.1-dev.29 [2022-03-31T23:15:31.802Z] v2.0.1-dev.3 [2022-03-31T23:15:31.802Z] v2.0.1-dev.30 [2022-03-31T23:15:31.802Z] v2.0.1-dev.31 [2022-03-31T23:15:31.802Z] v2.0.1-dev.32 [2022-03-31T23:15:31.802Z] v2.0.1-dev.33 [2022-03-31T23:15:31.802Z] v2.0.1-dev.4 [2022-03-31T23:15:31.802Z] v2.0.1-dev.5 [2022-03-31T23:15:31.802Z] v2.0.1-dev.6 [2022-03-31T23:15:31.802Z] v2.0.1-dev.7 [2022-03-31T23:15:31.802Z] v2.0.1-dev.8 [2022-03-31T23:15:31.802Z] v2.0.1-dev.9 [2022-03-31T23:15:31.802Z] v2.1.0 [2022-03-31T23:15:31.802Z] v2.1.1-dev.1 [2022-03-31T23:15:31.802Z] v2.2.0-dev.1 [2022-03-31T23:15:31.802Z] v2.2.0-dev.10 [2022-03-31T23:15:31.802Z] v2.2.0-dev.11 [2022-03-31T23:15:31.802Z] v2.2.0-dev.12 [2022-03-31T23:15:31.802Z] v2.2.0-dev.13 [2022-03-31T23:15:31.802Z] v2.2.0-dev.14 [2022-03-31T23:15:31.802Z] v2.2.0-dev.15 [2022-03-31T23:15:31.802Z] v2.2.0-dev.16 [2022-03-31T23:15:31.802Z] v2.2.0-dev.17 [2022-03-31T23:15:31.802Z] v2.2.0-dev.18 [2022-03-31T23:15:31.802Z] v2.2.0-dev.19 [2022-03-31T23:15:31.802Z] v2.2.0-dev.2 [2022-03-31T23:15:31.802Z] v2.2.0-dev.20 [2022-03-31T23:15:31.802Z] v2.2.0-dev.21 [2022-03-31T23:15:31.802Z] v2.2.0-dev.22 [2022-03-31T23:15:31.802Z] v2.2.0-dev.3 [2022-03-31T23:15:31.802Z] v2.2.0-dev.4 [2022-03-31T23:15:31.802Z] v2.2.0-dev.5 [2022-03-31T23:15:31.802Z] v2.2.0-dev.6 [2022-03-31T23:15:31.802Z] v2.2.0-dev.7 [2022-03-31T23:15:31.802Z] v2.2.0-dev.8 [2022-03-31T23:15:31.802Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-31T23:15:32.089Z] + lftools sign git-tag v2.2.0-dev.22 [2022-03-31T23:15:32.660Z] Signing Git tag with Sigul... [2022-03-31T23:15:32.660Z] Signing v2.2.0-dev.22 [Pipeline] echo [2022-03-31T23:15:33.243Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:33.527Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-31T23:15:33.535Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-31T23:15:33.567Z] $ docker stop --time=1 45f1b9e94a58e5061c9fa377a6852588de4b94cea397fc001cd3948b86464d04 [2022-03-31T23:15:34.854Z] $ docker rm -f 45f1b9e94a58e5061c9fa377a6852588de4b94cea397fc001cd3948b86464d04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-31T23:15:35.270Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-31T23:15:35.270Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:35.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:15:35.571Z] . [Pipeline] withDockerContainer [2022-03-31T23:15:35.637Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:35.684Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-31T23:15:36.041Z] $ docker top f34ba840830a2cfc4a2212f7d87f13d8727b3f2396ea38dd450ece26a705b02e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-31T23:15:36.120Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T23:15:36.120Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T23:15:36.240Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T23:15:36.256Z] $ docker exec f34ba840830a2cfc4a2212f7d87f13d8727b3f2396ea38dd450ece26a705b02e ssh-agent [2022-03-31T23:15:36.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAEEgkf/agent.14 [2022-03-31T23:15:36.358Z] SSH_AGENT_PID=20 [2022-03-31T23:15:36.364Z] Running ssh-add (command line suppressed) [2022-03-31T23:15:36.483Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4743951660724458015.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4743951660724458015.key) [2022-03-31T23:15:36.484Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T23:15:36.790Z] + git semver bump pre [2022-03-31T23:15:36.790Z] # -> Open(): unable to determine branch for HEAD [2022-03-31T23:15:36.790Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-31T23:15:36.790Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:15:36.790Z] # $SEMVER_REMOTE_NAME = origin [2022-03-31T23:15:36.790Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-31T23:15:36.790Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-31T23:15:36.790Z] # $SEMVER_BRANCH = main [2022-03-31T23:15:36.790Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-03-31T23:15:36.790Z] 2.2.0-dev.23 [Pipeline] } [2022-03-31T23:15:36.841Z] $ docker exec --env ******** --env ******** f34ba840830a2cfc4a2212f7d87f13d8727b3f2396ea38dd450ece26a705b02e ssh-agent -k [2022-03-31T23:15:36.959Z] unset SSH_AUTH_SOCK; [2022-03-31T23:15:36.959Z] unset SSH_AGENT_PID; [2022-03-31T23:15:36.959Z] echo Agent pid 20 killed; [2022-03-31T23:15:36.961Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-31T23:15:37.283Z] + git semver [Pipeline] } [2022-03-31T23:15:37.309Z] $ docker stop --time=1 f34ba840830a2cfc4a2212f7d87f13d8727b3f2396ea38dd450ece26a705b02e [2022-03-31T23:15:38.593Z] $ docker rm -f f34ba840830a2cfc4a2212f7d87f13d8727b3f2396ea38dd450ece26a705b02e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-31T23:15:38.924Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-31T23:15:38.924Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:39.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-31T23:15:39.222Z] . [Pipeline] withDockerContainer [2022-03-31T23:15:39.288Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:39.336Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-31T23:15:39.714Z] $ docker top c4eafc50449e1a83b459017fa0b6965105d9429abc7eca0ddaa02614beb84154 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-31T23:15:39.791Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-31T23:15:39.791Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-31T23:15:39.928Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-31T23:15:39.944Z] $ docker exec c4eafc50449e1a83b459017fa0b6965105d9429abc7eca0ddaa02614beb84154 ssh-agent [2022-03-31T23:15:40.039Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIeIAia/agent.13 [2022-03-31T23:15:40.039Z] SSH_AGENT_PID=19 [2022-03-31T23:15:40.045Z] Running ssh-add (command line suppressed) [2022-03-31T23:15:40.166Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_979097197701656576.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_979097197701656576.key) [2022-03-31T23:15:40.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-31T23:15:40.456Z] + git semver push [2022-03-31T23:15:40.456Z] # -> Open(): unable to determine branch for HEAD [2022-03-31T23:15:40.456Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-03-31T23:15:40.456Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:15:40.456Z] # $SEMVER_REMOTE_NAME = origin [2022-03-31T23:15:40.456Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-31T23:15:40.456Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-31T23:15:40.456Z] # $SEMVER_BRANCH = main [2022-03-31T23:15:40.456Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-03-31T23:15:43.021Z] $ docker exec --env ******** --env ******** c4eafc50449e1a83b459017fa0b6965105d9429abc7eca0ddaa02614beb84154 ssh-agent -k [2022-03-31T23:15:43.132Z] unset SSH_AUTH_SOCK; [2022-03-31T23:15:43.132Z] unset SSH_AGENT_PID; [2022-03-31T23:15:43.132Z] echo Agent pid 19 killed; [2022-03-31T23:15:43.129Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-31T23:15:43.432Z] + git semver [Pipeline] } [2022-03-31T23:15:43.460Z] $ docker stop --time=1 c4eafc50449e1a83b459017fa0b6965105d9429abc7eca0ddaa02614beb84154 [2022-03-31T23:15:44.750Z] $ docker rm -f c4eafc50449e1a83b459017fa0b6965105d9429abc7eca0ddaa02614beb84154 [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-03-31T23:15:45.325Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-03-31T23:15:45.325Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-31T23:15:45.325Z] total 16 [2022-03-31T23:15:45.325Z] drwxr-xr-x 3 root root 4096 Mar 31 23:10 . [2022-03-31T23:15:45.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 31 23:15 .. [2022-03-31T23:15:45.325Z] drwxr-xr-x 2 root root 4096 Mar 31 23:10 cost [2022-03-31T23:15:45.325Z] -rw-r--r-- 1 root root 84 Mar 31 23:10 cost.csv [2022-03-31T23:15:45.325Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-31T23:15:45.325Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-03-31T23:15:45.325Z] total 16 [2022-03-31T23:15:45.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 23:10 . [2022-03-31T23:15:45.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 31 23:15 .. [2022-03-31T23:15:45.325Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 23:10 cost [2022-03-31T23:15:45.325Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 31 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:45.619Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:46.480Z] ---> package-listing.sh [2022-03-31T23:15:46.480Z] ++ facter osfamily [2022-03-31T23:15:46.480Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-31T23:15:46.739Z] + OS_FAMILY=debian [2022-03-31T23:15:46.739Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-03-31T23:15:46.739Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-31T23:15:46.739Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-31T23:15:46.739Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-31T23:15:46.739Z] + PACKAGES=/tmp/packages_start.txt [2022-03-31T23:15:46.739Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-31T23:15:46.739Z] + PACKAGES=/tmp/packages_end.txt [2022-03-31T23:15:46.739Z] + case "${OS_FAMILY}" in [2022-03-31T23:15:46.739Z] + dpkg -l [2022-03-31T23:15:46.739Z] + grep '^ii' [2022-03-31T23:15:46.739Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-31T23:15:46.739Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-31T23:15:46.740Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-31T23:15:46.740Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-03-31T23:15:46.740Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-03-31T23:15:46.740Z] + 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-03-31T23:15:46.752Z] 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-03-31T23:15:47.030Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-31T23:15:47.587Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-31T23:15:47.588Z] . [Pipeline] withDockerContainer [2022-03-31T23:15:47.654Z] prd-ubuntu20.04-docker-8c-8g-10346 does not seem to be running inside a container [2022-03-31T23:15:47.697Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-31T23:15:47.968Z] $ docker top eba1f0d186ac3f817e6fdc43bf8d3de5538fa33d12ca0bdce8af21df9c49a61d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-31T23:15:48.308Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-31T23:15:48.595Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-31T23:15:48.883Z] + ls /var/log/sa-host [2022-03-31T23:15:48.884Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-31T23:15:49.098Z] provisioning config files... [2022-03-31T23:15:49.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5337075207513963820tmp [Pipeline] { [Pipeline] echo [2022-03-31T23:15:49.120Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:49.406Z] ---> create-netrc.sh [Pipeline] } [2022-03-31T23:15:49.414Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:49.747Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-31T23:15:49.758Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:50.042Z] ---> sudo-logs.sh [2022-03-31T23:15:50.042Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-31T23:15:50.066Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:50.349Z] ---> job-cost.sh [2022-03-31T23:15:50.349Z] lf-activate-venv: SKIPPING [2022-03-31T23:15:50.349Z] DEBUG: total: 0.4399999976158142 [2022-03-31T23:15:50.349Z] INFO: Retrieving Stack Cost... [2022-03-31T23:15:50.922Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-31T23:15:51.493Z] INFO: Archiving Costs [Pipeline] echo [2022-03-31T23:15:51.506Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-31T23:15:51.790Z] ---> logs-deploy.sh [2022-03-31T23:15:51.790Z] lf-activate-venv: SKIPPING [2022-03-31T23:15:51.790Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/55 [2022-03-31T23:15:51.790Z] INFO: archiving workspace using pattern(s): [2022-03-31T23:15:52.731Z] Archives upload complete. [2022-03-31T23:15:52.731Z] INFO: archiving logs to Nexus