Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dd514f718fd528170d25c4d96999316fe43c7c62 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-ssh7626153981706821492.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-ssh4724224221306420123.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-ssh11270193659980569922.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-ssh1094701468661983892.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-ssh9112835963978031605.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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21048 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 dd514f718fd528170d25c4d96999316fe43c7c62 (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 dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 Commit message: "Merge pull request #1135 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.12" > git rev-list --no-walk db005db0661b6aa55dca2c75477a49f23130ceb1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-15T07:49:38.924Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-15T07:49:38.984Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-15T07:49:39.008Z] ========================================================= [2022-04-15T07:49:39.008Z] EdgeX Global Pipelines Version Info [2022-04-15T07:49:39.008Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-15T07:49:39.777Z] ------------------- [2022-04-15T07:49:39.777Z] stable info: [2022-04-15T07:49:39.777Z] ------------------- [2022-04-15T07:49:39.777Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T07:49:39.777Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-15T07:49:39.777Z] Message: update stable to v1.0.221 [2022-04-15T07:49:40.350Z] ------------------- [2022-04-15T07:49:40.350Z] experimental info: [2022-04-15T07:49:40.350Z] ------------------- [2022-04-15T07:49:40.350Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-15T07:49:40.350Z] Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d [2022-04-15T07:49:40.350Z] Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-15T07:49:40.487Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-04-15T07:49:40.503Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-04-15T07:49:40.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-15T07:49:40.527Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-15T07:49:40.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-15T07:49:40.549Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-15T07:49:40.565Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-15T07:49:40.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-04-15T07:49:40.592Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-15T07:49:40.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-15T07:49:40.613Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-15T07:49:40.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-04-15T07:49:40.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-15T07:49:40.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-15T07:49:40.659Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-15T07:49:40.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-04-15T07:49:40.696Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-15T07:49:40.708Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-15T07:49:40.723Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-15T07:49:40.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-15T07:49:40.748Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-04-15T07:49:40.762Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-04-15T07:49:40.773Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-15T07:49:40.788Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-15T07:49:40.799Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-15T07:49:40.811Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-15T07:49:40.823Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-15T07:49:40.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-15T07:49:40.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-15T07:49:40.857Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] echo [2022-04-15T07:49:40.871Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dd514f7 [Pipeline] echo [2022-04-15T07:49:40.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T07:49:40.929Z] provisioning config files... [2022-04-15T07:49:40.946Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5144837116907218251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T07:49:41.272Z] ---> docker-login.sh [2022-04-15T07:49:41.272Z] nexus3.edgexfoundry.org:10001 [2022-04-15T07:49:41.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:41.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:41.862Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:41.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:41.862Z] [2022-04-15T07:49:41.862Z] Login Succeeded [2022-04-15T07:49:41.862Z] nexus3.edgexfoundry.org:10002 [2022-04-15T07:49:42.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:42.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:42.126Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:42.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:42.126Z] [2022-04-15T07:49:42.126Z] Login Succeeded [2022-04-15T07:49:42.126Z] nexus3.edgexfoundry.org:10003 [2022-04-15T07:49:42.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:42.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:42.127Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:42.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:42.127Z] [2022-04-15T07:49:42.127Z] Login Succeeded [2022-04-15T07:49:42.387Z] nexus3.edgexfoundry.org:10004 [2022-04-15T07:49:42.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:42.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:42.387Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:42.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:42.387Z] [2022-04-15T07:49:42.387Z] Login Succeeded [2022-04-15T07:49:42.388Z] docker.io [2022-04-15T07:49:42.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:42.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:42.960Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:42.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:42.960Z] [2022-04-15T07:49:42.960Z] Login Succeeded [2022-04-15T07:49:42.960Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T07:49:42.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-15T07:49:43.335Z] + git rev-list -1 --merges dd514f718fd528170d25c4d96999316fe43c7c62~1..dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] echo [2022-04-15T07:49:43.479Z] -----------> git rev-list -1 --merges dd514f718fd528170d25c4d96999316fe43c7c62~1..dd514f718fd528170d25c4d96999316fe43c7c62 dd514f718fd528170d25c4d96999316fe43c7c62 [2022-04-15T07:49:43.479Z] dd514f718fd528170d25c4d96999316fe43c7c62 [false] [Pipeline] sh [2022-04-15T07:49:43.783Z] + git log --format=format:%s -1 dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] echo [2022-04-15T07:49:43.800Z] ========================================================= [2022-04-15T07:49:43.800Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-15T07:49:43.800Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T07:49:44.147Z] + git log --format=format:%s -1 dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] echo [2022-04-15T07:49:44.161Z] [semverPrep] GIT_COMMIT: dd514f718fd528170d25c4d96999316fe43c7c62, Commit Message: Merge pull request #1135 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.12 [Pipeline] echo [2022-04-15T07:49:44.169Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-15T07:49:44.546Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T07:49:44.546Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-15T07:49:44.546Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-15T07:49:44.546Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-15T07:49:44.546Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-15T07:49:44.546Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-15T07:49:44.546Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:49:44.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T07:49:44.896Z] [2022-04-15T07:49:44.896Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:49:45.202Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T07:49:45.202Z] latest: Pulling from edgex-devops/git-semver [2022-04-15T07:49:45.202Z] a0d0a0d46f8b: Pulling fs layer [2022-04-15T07:49:45.202Z] 3e5f54012d9b: Pulling fs layer [2022-04-15T07:49:45.202Z] 4c7163046ea9: Pulling fs layer [2022-04-15T07:49:45.202Z] 0c2d73faf560: Pulling fs layer [2022-04-15T07:49:45.202Z] 3e5f54012d9b: Verifying Checksum [2022-04-15T07:49:45.202Z] 3e5f54012d9b: Download complete [2022-04-15T07:49:45.202Z] a0d0a0d46f8b: Verifying Checksum [2022-04-15T07:49:45.202Z] a0d0a0d46f8b: Download complete [2022-04-15T07:49:45.202Z] 0c2d73faf560: Verifying Checksum [2022-04-15T07:49:45.202Z] 0c2d73faf560: Download complete [2022-04-15T07:49:45.463Z] 4c7163046ea9: Verifying Checksum [2022-04-15T07:49:45.463Z] 4c7163046ea9: Download complete [2022-04-15T07:49:45.463Z] a0d0a0d46f8b: Pull complete [2022-04-15T07:49:45.724Z] 3e5f54012d9b: Pull complete [2022-04-15T07:49:45.986Z] 4c7163046ea9: Pull complete [2022-04-15T07:49:46.246Z] 0c2d73faf560: Pull complete [2022-04-15T07:49:46.246Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-15T07:49:46.246Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T07:49:46.246Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-15T07:49:46.329Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T07:49:46.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-15T07:49:47.883Z] $ docker top 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T07:49:47.995Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T07:49:47.995Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T07:49:48.144Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T07:49:48.152Z] $ docker exec 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 ssh-agent [2022-04-15T07:49:48.263Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbkHFkP/agent.14 [2022-04-15T07:49:48.263Z] SSH_AGENT_PID=20 [2022-04-15T07:49:48.272Z] Running ssh-add (command line suppressed) [2022-04-15T07:49:48.399Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4412595456193792014.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4412595456193792014.key) [2022-04-15T07:49:48.414Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T07:49:48.709Z] + git tag --points-at HEAD [Pipeline] } [2022-04-15T07:49:48.733Z] $ docker exec --env ******** --env ******** 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 ssh-agent -k [2022-04-15T07:49:48.843Z] unset SSH_AUTH_SOCK; [2022-04-15T07:49:48.843Z] unset SSH_AGENT_PID; [2022-04-15T07:49:48.843Z] echo Agent pid 20 killed; [2022-04-15T07:49:48.852Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-15T07:49:48.878Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T07:49:48.878Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T07:49:49.004Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T07:49:49.012Z] $ docker exec 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 ssh-agent [2022-04-15T07:49:49.136Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfegJeA/agent.53 [2022-04-15T07:49:49.136Z] SSH_AGENT_PID=60 [2022-04-15T07:49:49.142Z] Running ssh-add (command line suppressed) [2022-04-15T07:49:49.274Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_46883368502485298.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_46883368502485298.key) [2022-04-15T07:49:49.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T07:49:49.577Z] + git semver init [2022-04-15T07:49:49.577Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T07:49:49.577Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-15T07:49:49.577Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T07:49:49.577Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T07:49:49.577Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T07:49:49.577Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T07:49:49.577Z] # $SEMVER_BRANCH = main [2022-04-15T07:49:49.577Z] # $SEMVER_TEMP = /tmp/semver-042026729 [2022-04-15T07:49:49.577Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-04-15T07:49:50.964Z] # '/tmp/semver-042026729' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2022-04-15T07:49:50.964Z] # -> Force: false [2022-04-15T07:49:50.964Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-15T07:49:50.980Z] $ docker exec --env ******** --env ******** 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 ssh-agent -k [2022-04-15T07:49:51.108Z] unset SSH_AUTH_SOCK; [2022-04-15T07:49:51.109Z] unset SSH_AGENT_PID; [2022-04-15T07:49:51.109Z] echo Agent pid 60 killed; [2022-04-15T07:49:51.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T07:49:51.422Z] + git semver [Pipeline] } [2022-04-15T07:49:51.444Z] $ docker stop --time=1 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 [2022-04-15T07:49:52.842Z] $ docker rm -f 44daed51c9c82db6f071c48e9e6628a164a6e7820e1b3034b2aa4ee36eeb35d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T07:49:53.198Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-15T07:49:53.476Z] Stashed 1 file(s) [Pipeline] echo [2022-04-15T07:49:53.480Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.28 [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-04-15T07:49:53.654Z] provisioning config files... [2022-04-15T07:49:53.665Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8858577306634500118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T07:49:53.967Z] ---> docker-login.sh [2022-04-15T07:49:53.967Z] nexus3.edgexfoundry.org:10001 [2022-04-15T07:49:53.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:53.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:53.967Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:53.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:53.967Z] [2022-04-15T07:49:53.967Z] Login Succeeded [2022-04-15T07:49:53.967Z] nexus3.edgexfoundry.org:10002 [2022-04-15T07:49:53.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:54.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:54.227Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:54.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:54.227Z] [2022-04-15T07:49:54.227Z] Login Succeeded [2022-04-15T07:49:54.227Z] nexus3.edgexfoundry.org:10003 [2022-04-15T07:49:54.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:54.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:54.227Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:54.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:54.227Z] [2022-04-15T07:49:54.227Z] Login Succeeded [2022-04-15T07:49:54.227Z] nexus3.edgexfoundry.org:10004 [2022-04-15T07:49:54.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:54.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:54.488Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:54.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:54.488Z] [2022-04-15T07:49:54.488Z] Login Succeeded [2022-04-15T07:49:54.488Z] docker.io [2022-04-15T07:49:54.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:49:55.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:49:55.064Z] Configure a credential helper to remove this warning. See [2022-04-15T07:49:55.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:49:55.064Z] [2022-04-15T07:49:55.064Z] Login Succeeded [2022-04-15T07:49:55.064Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T07:49:55.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-15T07:49:55.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T07:49:55.153Z] ========================================================= [2022-04-15T07:49:55.153Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-15T07:49:55.153Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:49:55.502Z] + 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-04-15T07:49:55.502Z] Sending build context to Docker daemon 9.612MB [2022-04-15T07:49:55.502Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T07:49:55.502Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-15T07:49:55.502Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-15T07:49:55.502Z] 59bf1c3509f3: Pulling fs layer [2022-04-15T07:49:55.502Z] 666ba61612fd: Pulling fs layer [2022-04-15T07:49:55.502Z] 8ed8ca486205: Pulling fs layer [2022-04-15T07:49:55.502Z] 4fe6c5a15a65: Pulling fs layer [2022-04-15T07:49:55.502Z] 22a0e8bec74d: Pulling fs layer [2022-04-15T07:49:55.502Z] 640e595b4fbd: Pulling fs layer [2022-04-15T07:49:55.502Z] 763cafe07f6e: Pulling fs layer [2022-04-15T07:49:55.502Z] 0c0b528cf693: Pulling fs layer [2022-04-15T07:49:55.502Z] 10935f4eaf8b: Pulling fs layer [2022-04-15T07:49:55.502Z] 4fe6c5a15a65: Waiting [2022-04-15T07:49:55.502Z] 22a0e8bec74d: Waiting [2022-04-15T07:49:55.502Z] 763cafe07f6e: Waiting [2022-04-15T07:49:55.502Z] 640e595b4fbd: Waiting [2022-04-15T07:49:55.502Z] 0c0b528cf693: Waiting [2022-04-15T07:49:55.502Z] 10935f4eaf8b: Waiting [2022-04-15T07:49:55.502Z] 8ed8ca486205: Download complete [2022-04-15T07:49:55.502Z] 666ba61612fd: Download complete [2022-04-15T07:49:55.763Z] 22a0e8bec74d: Download complete [2022-04-15T07:49:55.763Z] 640e595b4fbd: Download complete [2022-04-15T07:49:55.763Z] 59bf1c3509f3: Verifying Checksum [2022-04-15T07:49:55.763Z] 59bf1c3509f3: Download complete [2022-04-15T07:49:55.763Z] 763cafe07f6e: Verifying Checksum [2022-04-15T07:49:55.763Z] 763cafe07f6e: Download complete [2022-04-15T07:49:55.763Z] 0c0b528cf693: Download complete [2022-04-15T07:49:55.763Z] 59bf1c3509f3: Pull complete [2022-04-15T07:49:56.024Z] 666ba61612fd: Pull complete [2022-04-15T07:49:56.024Z] 8ed8ca486205: Pull complete [2022-04-15T07:49:56.284Z] 10935f4eaf8b: Verifying Checksum [2022-04-15T07:49:56.284Z] 10935f4eaf8b: Download complete [2022-04-15T07:49:56.543Z] 4fe6c5a15a65: Verifying Checksum [2022-04-15T07:49:56.543Z] 4fe6c5a15a65: Download complete [2022-04-15T07:50:00.736Z] 4fe6c5a15a65: Pull complete [2022-04-15T07:50:00.736Z] 22a0e8bec74d: Pull complete [2022-04-15T07:50:00.736Z] 640e595b4fbd: Pull complete [2022-04-15T07:50:00.998Z] 763cafe07f6e: Pull complete [2022-04-15T07:50:00.998Z] 0c0b528cf693: Pull complete [2022-04-15T07:50:03.537Z] 10935f4eaf8b: Pull complete [2022-04-15T07:50:03.537Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-15T07:50:03.537Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-15T07:50:03.537Z] ---> 99d49a6021b9 [2022-04-15T07:50:03.537Z] Step 3/11 : ARG MAKE=make build [2022-04-15T07:50:06.866Z] ---> Running in 1a2dd93f6a2f [2022-04-15T07:50:06.866Z] Removing intermediate container 1a2dd93f6a2f [2022-04-15T07:50:06.866Z] ---> e221f8c0b5b2 [2022-04-15T07:50:06.866Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-15T07:50:06.866Z] ---> Running in 577a6c97ee00 [2022-04-15T07:50:07.128Z] Removing intermediate container 577a6c97ee00 [2022-04-15T07:50:07.128Z] ---> 8321f3e7dbc0 [2022-04-15T07:50:07.128Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T07:50:07.389Z] ---> Running in 2c5fac75f7b0 [2022-04-15T07:50:07.651Z] Removing intermediate container 2c5fac75f7b0 [2022-04-15T07:50:07.651Z] ---> d548ebd9fd30 [2022-04-15T07:50:07.651Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T07:50:07.651Z] ---> Running in 3f8e28c71053 [2022-04-15T07:50:08.600Z] Still waiting to schedule task [2022-04-15T07:50:08.600Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-04-15T07:50:09.033Z] Removing intermediate container 3f8e28c71053 [2022-04-15T07:50:09.033Z] ---> b8cd1eab48dc [2022-04-15T07:50:09.033Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-15T07:50:09.033Z] ---> Running in 7a8bb5b239d6 [2022-04-15T07:50:09.294Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-15T07:50:10.235Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-15T07:50:10.494Z] OK: 221 MiB in 52 packages [2022-04-15T07:50:10.755Z] Removing intermediate container 7a8bb5b239d6 [2022-04-15T07:50:10.755Z] ---> cbe95bfeece6 [2022-04-15T07:50:10.755Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-15T07:50:11.015Z] ---> d482feeeb222 [2022-04-15T07:50:11.015Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T07:50:11.015Z] ---> Running in 837928f4bef4 [2022-04-15T07:50:29.144Z] Removing intermediate container 837928f4bef4 [2022-04-15T07:50:29.144Z] ---> 4c2a2e55b33f [2022-04-15T07:50:29.144Z] Step 10/11 : COPY . . [2022-04-15T07:50:29.144Z] ---> 38fe4bf1fc09 [2022-04-15T07:50:29.144Z] Step 11/11 : RUN ${MAKE} [2022-04-15T07:50:29.144Z] ---> Running in b4dc93f0d2ff [2022-04-15T07:50:29.144Z] noop [2022-04-15T07:50:29.144Z] Removing intermediate container b4dc93f0d2ff [2022-04-15T07:50:29.144Z] ---> 218045867ead [2022-04-15T07:50:29.144Z] Successfully built 218045867ead [2022-04-15T07:50:29.144Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:50:29.446Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T07:50:29.446Z] . [Pipeline] withDockerContainer [2022-04-15T07:50:29.520Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T07:50:29.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-15T07:50:29.939Z] $ docker top 1b5a59bf85d9d77e88f42d5332e0adea9106de7bbc36ffe93f7a9c510d734421 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T07:50:30.294Z] + go version [2022-04-15T07:50:30.294Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-15T07:50:30.315Z] $ docker stop --time=1 1b5a59bf85d9d77e88f42d5332e0adea9106de7bbc36ffe93f7a9c510d734421 [2022-04-15T07:50:31.591Z] $ docker rm -f 1b5a59bf85d9d77e88f42d5332e0adea9106de7bbc36ffe93f7a9c510d734421 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:50:32.140Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-15T07:50:32.141Z] . [Pipeline] withDockerContainer [2022-04-15T07:50:32.214Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T07:50:32.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-15T07:50:32.646Z] $ docker top d20c3600f0981b1e51acf99e64943f94cbb1b3f741117c7e861f93b2665cba3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-15T07:50:33.017Z] + make test [2022-04-15T07:50:33.017Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-15T07:50:38.299Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-15T07:50:50.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-15T07:50:50.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-15T07:50:50.519Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-15T07:50:51.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements [2022-04-15T07:50:51.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-15T07:50:51.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 27.6% of statements [2022-04-15T07:50:51.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements [2022-04-15T07:50:51.090Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 10.8% of statements [2022-04-15T07:50:51.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-15T07:50:51.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-15T07:50:51.090Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-15T07:50:51.349Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 34.7% of statements [2022-04-15T07:50:51.349Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-15T07:50:51.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.055s coverage: 86.1% of statements [2022-04-15T07:50:51.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-15T07:50:51.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-15T07:50:51.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements [2022-04-15T07:50:51.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.757s coverage: 89.2% of statements [2022-04-15T07:50:51.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-15T07:50:51.609Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements [2022-04-15T07:50:51.609Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-15T07:51:06.502Z] GO111MODULE=on go vet ./... [2022-04-15T07:51:09.794Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T07:51:09.795Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T07:51:10.055Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-15T07:51:10.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-15T07:51:10.666Z] $ docker stop --time=1 d20c3600f0981b1e51acf99e64943f94cbb1b3f741117c7e861f93b2665cba3b [2022-04-15T07:51:12.991Z] $ docker rm -f d20c3600f0981b1e51acf99e64943f94cbb1b3f741117c7e861f93b2665cba3b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T07:51:13.462Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-15T07:51:13.538Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-15T07:51:14.406Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-15T07:51:14.696Z] + ls -al . [2022-04-15T07:51:14.696Z] total 316 [2022-04-15T07:51:14.696Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 15 07:51 . [2022-04-15T07:51:14.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:49 .. [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 07:49 .dockerignore [2022-04-15T07:51:14.696Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 07:49 .git [2022-04-15T07:51:14.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:49 .github [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 15 07:49 .gitignore [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 15 07:49 .golangci.yml [2022-04-15T07:51:14.696Z] drwx------ 3 jenkins jenkins 4096 Apr 15 07:49 .semver [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 15 07:49 CHANGELOG.md [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 07:49 GOVERNANCE.md [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 07:49 Jenkinsfile [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 07:49 LICENSE [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 15 07:49 Makefile [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 15 07:49 OWNERS.md [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 15 07:49 README.md [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 15 07:49 VERSION [2022-04-15T07:51:14.696Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:49 bin [2022-04-15T07:51:14.696Z] -rw-r--r-- 1 jenkins jenkins 129788 Apr 15 07:50 coverage.out [2022-04-15T07:51:14.696Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:49 example [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 15 07:49 go.mod [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 15 07:49 go.sum [2022-04-15T07:51:14.696Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 15 07:49 internal [2022-04-15T07:51:14.696Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 07:49 openapi [2022-04-15T07:51:14.696Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:49 pkg [2022-04-15T07:51:14.696Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:49 snap [2022-04-15T07:51:14.696Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 07:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:51:15.048Z] + 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=dd514f718fd528170d25c4d96999316fe43c7c62 --label arch=amd64 --label version=2.2.0-dev.28 . [2022-04-15T07:51:15.048Z] Sending build context to Docker daemon 9.742MB [2022-04-15T07:51:15.048Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T07:51:15.048Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-15T07:51:15.048Z] ---> 218045867ead [2022-04-15T07:51:15.048Z] Step 3/25 : ARG MAKE=make build [2022-04-15T07:51:15.312Z] ---> Running in e430ceabdf25 [2022-04-15T07:51:15.573Z] Removing intermediate container e430ceabdf25 [2022-04-15T07:51:15.573Z] ---> cb568009bfe0 [2022-04-15T07:51:15.573Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-15T07:51:15.868Z] ---> Running in 3c1421d86580 [2022-04-15T07:51:15.868Z] Removing intermediate container 3c1421d86580 [2022-04-15T07:51:15.868Z] ---> 5f197308835a [2022-04-15T07:51:15.868Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T07:51:16.129Z] ---> Running in afb90dc736bf [2022-04-15T07:51:16.391Z] Removing intermediate container afb90dc736bf [2022-04-15T07:51:16.391Z] ---> 7e63d717a713 [2022-04-15T07:51:16.391Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T07:51:16.391Z] ---> Running in 2ca3bd318c1b [2022-04-15T07:51:17.332Z] Removing intermediate container 2ca3bd318c1b [2022-04-15T07:51:17.332Z] ---> 02b5c56d0086 [2022-04-15T07:51:17.332Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-15T07:51:17.332Z] ---> Running in da1a6de1ee87 [2022-04-15T07:51:17.591Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-15T07:51:18.532Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-15T07:51:18.792Z] OK: 221 MiB in 52 packages [2022-04-15T07:51:19.052Z] Removing intermediate container da1a6de1ee87 [2022-04-15T07:51:19.052Z] ---> aee40061eddc [2022-04-15T07:51:19.052Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-15T07:51:19.311Z] ---> bdc658cbf603 [2022-04-15T07:51:19.311Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T07:51:19.311Z] ---> Running in e4874bdfa79c [2022-04-15T07:51:20.251Z] Removing intermediate container e4874bdfa79c [2022-04-15T07:51:20.251Z] ---> 5677570d0ba7 [2022-04-15T07:51:20.251Z] Step 10/25 : COPY . . [2022-04-15T07:51:20.511Z] ---> aef2e142b7b7 [2022-04-15T07:51:20.511Z] Step 11/25 : RUN ${MAKE} [2022-04-15T07:51:20.511Z] ---> Running in a2ee67bc07f8 [2022-04-15T07:51:21.080Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-15T07:51:39.181Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-15T07:51:40.560Z] Removing intermediate container a2ee67bc07f8 [2022-04-15T07:51:40.560Z] ---> adb05b11d73b [2022-04-15T07:51:40.560Z] Step 12/25 : FROM alpine:3.14 [2022-04-15T07:51:40.821Z] 3.14: Pulling from library/alpine [2022-04-15T07:51:41.080Z] 8663204ce13b: Pulling fs layer [2022-04-15T07:51:41.342Z] 8663204ce13b: Verifying Checksum [2022-04-15T07:51:41.342Z] 8663204ce13b: Download complete [2022-04-15T07:51:41.342Z] 8663204ce13b: Pull complete [2022-04-15T07:51:41.342Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-15T07:51:41.342Z] Status: Downloaded newer image for alpine:3.14 [2022-04-15T07:51:41.342Z] ---> e04c818066af [2022-04-15T07:51:41.342Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T07:51:41.603Z] ---> Running in b37b9acf85a9 [2022-04-15T07:51:41.603Z] Removing intermediate container b37b9acf85a9 [2022-04-15T07:51:41.603Z] ---> 408d61874eb7 [2022-04-15T07:51:41.603Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T07:51:41.603Z] ---> Running in 62f2d3753d8d [2022-04-15T07:51:42.180Z] Removing intermediate container 62f2d3753d8d [2022-04-15T07:51:42.180Z] ---> 6de82b0b4058 [2022-04-15T07:51:42.180Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-15T07:51:42.441Z] ---> Running in 5185615e3fdb [2022-04-15T07:51:42.702Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-15T07:51:43.642Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-15T07:51:43.642Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-15T07:51:43.903Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-15T07:51:43.903Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-15T07:51:43.903Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-15T07:51:44.163Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-15T07:51:44.164Z] Executing busybox-1.33.1-r7.trigger [2022-04-15T07:51:44.164Z] OK: 8 MiB in 19 packages [2022-04-15T07:51:44.732Z] Removing intermediate container 5185615e3fdb [2022-04-15T07:51:44.733Z] ---> b28bbd8656e7 [2022-04-15T07:51:44.733Z] Step 16/25 : WORKDIR / [2022-04-15T07:51:44.733Z] ---> Running in 4e86bbd8ee86 [2022-04-15T07:51:45.054Z] Removing intermediate container 4e86bbd8ee86 [2022-04-15T07:51:45.054Z] ---> aa62233e56a7 [2022-04-15T07:51:45.054Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-15T07:51:45.315Z] ---> e70cecaa8381 [2022-04-15T07:51:45.315Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-15T07:51:45.886Z] ---> 1aad12f2057d [2022-04-15T07:51:45.886Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-15T07:51:46.484Z] ---> 805ab021a0eb [2022-04-15T07:51:46.484Z] Step 20/25 : EXPOSE 59999 [2022-04-15T07:51:46.484Z] ---> Running in e273828a06e7 [2022-04-15T07:51:46.743Z] Removing intermediate container e273828a06e7 [2022-04-15T07:51:46.743Z] ---> 99e9052781e7 [2022-04-15T07:51:46.743Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-15T07:51:46.743Z] ---> Running in 4a09a935558d [2022-04-15T07:51:47.004Z] Removing intermediate container 4a09a935558d [2022-04-15T07:51:47.004Z] ---> 9032284db582 [2022-04-15T07:51:47.004Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-15T07:51:47.264Z] ---> Running in 7a8885421cef [2022-04-15T07:51:47.265Z] Removing intermediate container 7a8885421cef [2022-04-15T07:51:47.265Z] ---> 98c08e131202 [2022-04-15T07:51:47.265Z] Step 23/25 : LABEL arch=amd64 [2022-04-15T07:51:47.547Z] ---> Running in 1a0d574be40f [2022-04-15T07:51:47.547Z] Removing intermediate container 1a0d574be40f [2022-04-15T07:51:47.547Z] ---> b80b2c71c161 [2022-04-15T07:51:47.547Z] Step 24/25 : LABEL git_sha=dd514f718fd528170d25c4d96999316fe43c7c62 [2022-04-15T07:51:47.808Z] ---> Running in 86b6bc50cbb2 [2022-04-15T07:51:48.068Z] Removing intermediate container 86b6bc50cbb2 [2022-04-15T07:51:48.068Z] ---> 9d77564e9602 [2022-04-15T07:51:48.068Z] Step 25/25 : LABEL version=2.2.0-dev.28 [2022-04-15T07:51:48.328Z] ---> Running in 63c4b689cd04 [2022-04-15T07:51:48.328Z] Removing intermediate container 63c4b689cd04 [2022-04-15T07:51:48.328Z] ---> c0b032b37f08 [2022-04-15T07:51:48.328Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-15T07:51:48.328Z] Successfully built c0b032b37f08 [2022-04-15T07:51:48.328Z] 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-04-15T07:51:48.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T07:51:48.739Z] [2022-04-15T07:51:48.739Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:51:49.043Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T07:51:49.043Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-15T07:51:49.043Z] 5eb5b503b376: Pulling fs layer [2022-04-15T07:51:49.043Z] 5c69ac0246d0: Pulling fs layer [2022-04-15T07:51:49.043Z] ec43610c2a17: Pulling fs layer [2022-04-15T07:51:49.043Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-15T07:51:49.043Z] 33b1e0a273af: Pulling fs layer [2022-04-15T07:51:49.043Z] 5d3b04190fa2: Pulling fs layer [2022-04-15T07:51:49.043Z] 2f39f015ded8: Pulling fs layer [2022-04-15T07:51:49.043Z] 33b1e0a273af: Waiting [2022-04-15T07:51:49.043Z] 5d3b04190fa2: Waiting [2022-04-15T07:51:49.043Z] 2f39f015ded8: Waiting [2022-04-15T07:51:49.043Z] 3a2ae6a8a46f: Waiting [2022-04-15T07:51:49.043Z] 5c69ac0246d0: Verifying Checksum [2022-04-15T07:51:49.043Z] 5c69ac0246d0: Download complete [2022-04-15T07:51:49.043Z] 3a2ae6a8a46f: Download complete [2022-04-15T07:51:49.043Z] 33b1e0a273af: Verifying Checksum [2022-04-15T07:51:49.043Z] 33b1e0a273af: Download complete [2022-04-15T07:51:49.043Z] 5d3b04190fa2: Verifying Checksum [2022-04-15T07:51:49.043Z] 5d3b04190fa2: Download complete [2022-04-15T07:51:49.303Z] ec43610c2a17: Verifying Checksum [2022-04-15T07:51:49.303Z] ec43610c2a17: Download complete [2022-04-15T07:51:49.303Z] 5eb5b503b376: Verifying Checksum [2022-04-15T07:51:49.303Z] 5eb5b503b376: Download complete [2022-04-15T07:51:49.871Z] 2f39f015ded8: Download complete [2022-04-15T07:51:50.441Z] 5eb5b503b376: Pull complete [2022-04-15T07:51:50.441Z] 5c69ac0246d0: Pull complete [2022-04-15T07:51:51.014Z] ec43610c2a17: Pull complete [2022-04-15T07:51:51.014Z] 3a2ae6a8a46f: Pull complete [2022-04-15T07:51:51.273Z] 33b1e0a273af: Pull complete [2022-04-15T07:51:51.273Z] 5d3b04190fa2: Pull complete [2022-04-15T07:51:55.460Z] 2f39f015ded8: Pull complete [2022-04-15T07:51:55.460Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-15T07:51:55.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T07:51:55.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-15T07:51:55.523Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T07:51:55.563Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-15T07:51:58.106Z] $ docker top 2b5036402238cfdf6f933d3d7ae2462a17e209234a77d7059ee6e87f8bfcd1cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T07:51:58.559Z] ---> job-cost.sh [2022-04-15T07:51:58.559Z] lf-activate-venv: SKIPPING [2022-04-15T07:51:58.559Z] INFO: No Stack... [2022-04-15T07:51:58.817Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-15T07:51:59.388Z] INFO: Archiving Costs [Pipeline] sh [2022-04-15T07:51:59.686Z] + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [2022-04-15T07:51:59.687Z] + cut -d, -f6 [Pipeline] lock [2022-04-15T07:51:59.703Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [2022-04-15T07:51:59.709Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] did not exist. Created. [2022-04-15T07:51:59.709Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-15T07:52:00.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-15T07:52:00.050Z] Stashed 1 file(s) [Pipeline] } [2022-04-15T07:52:00.056Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-15T07:52:00.080Z] $ docker stop --time=1 2b5036402238cfdf6f933d3d7ae2462a17e209234a77d7059ee6e87f8bfcd1cc [2022-04-15T07:52:01.239Z] $ docker rm -f 2b5036402238cfdf6f933d3d7ae2462a17e209234a77d7059ee6e87f8bfcd1cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-15T07:52:52.232Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21051 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2022-04-15T07:52:52.246Z] Running in /w/workspace/device-sdk-go/61 [Pipeline] { [Pipeline] checkout [2022-04-15T07:52:52.555Z] The recommended git tool is: git [2022-04-15T07:53:01.001Z] using credential edgex-jenkins-ssh [2022-04-15T07:53:01.024Z] Cloning the remote Git repository [2022-04-15T07:53:01.133Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-04-15T07:53:01.246Z] > git init /w/workspace/device-sdk-go/61 # timeout=10 [2022-04-15T07:53:01.387Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-04-15T07:53:01.393Z] > git --version # timeout=10 [2022-04-15T07:53:01.496Z] > git --version # 'git version 2.25.1' [2022-04-15T07:53:01.499Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-15T07:53:01.735Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T07:53:03.430Z] Avoid second fetch [2022-04-15T07:53:03.430Z] Checking out Revision dd514f718fd528170d25c4d96999316fe43c7c62 (main) [2022-04-15T07:53:03.387Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-04-15T07:53:03.409Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-15T07:53:03.463Z] > git config core.sparsecheckout # timeout=10 [2022-04-15T07:53:03.487Z] > git checkout -f dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 [2022-04-15T07:53:08.011Z] Commit message: "Merge pull request #1135 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.12" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T07:53:09.014Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-15T07:53:09.014Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T07:53:09.014Z] Dload Upload Total Spent Left Speed [2022-04-15T07:53:09.014Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh [2022-04-15T07:53:09.552Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-15T07:53:09.904Z] + sudo tee /etc/docker/daemon.new [2022-04-15T07:53:09.904Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-15T07:53:09.904Z] { [2022-04-15T07:53:09.904Z] "registry-mirrors": [ [2022-04-15T07:53:09.904Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-15T07:53:09.904Z] ], [2022-04-15T07:53:09.904Z] "bip": "10.250.0.254/24", [2022-04-15T07:53:09.904Z] "hosts": [ [2022-04-15T07:53:09.904Z] "tcp://0.0.0.0:5555", [2022-04-15T07:53:09.904Z] "unix:///var/run/docker.sock" [2022-04-15T07:53:09.904Z] ], [2022-04-15T07:53:09.904Z] "mtu": 1458, [2022-04-15T07:53:09.904Z] "selinux-enabled": true, [2022-04-15T07:53:09.904Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-15T07:53:09.904Z] } [Pipeline] sh [2022-04-15T07:53:10.268Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-15T07:53:10.627Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T07:53:29.047Z] provisioning config files... [2022-04-15T07:53:29.076Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/61@tmp/config2381120220047317793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T07:53:29.464Z] ---> docker-login.sh [2022-04-15T07:53:29.464Z] nexus3.edgexfoundry.org:10001 [2022-04-15T07:53:30.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:53:30.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:53:30.345Z] Configure a credential helper to remove this warning. See [2022-04-15T07:53:30.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:53:30.345Z] [2022-04-15T07:53:30.345Z] Login Succeeded [2022-04-15T07:53:30.345Z] nexus3.edgexfoundry.org:10002 [2022-04-15T07:53:30.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:53:30.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:53:30.947Z] Configure a credential helper to remove this warning. See [2022-04-15T07:53:30.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:53:30.947Z] [2022-04-15T07:53:30.947Z] Login Succeeded [2022-04-15T07:53:30.947Z] nexus3.edgexfoundry.org:10003 [2022-04-15T07:53:31.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:53:31.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:53:31.611Z] Configure a credential helper to remove this warning. See [2022-04-15T07:53:31.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:53:31.611Z] [2022-04-15T07:53:31.611Z] Login Succeeded [2022-04-15T07:53:31.611Z] nexus3.edgexfoundry.org:10004 [2022-04-15T07:53:31.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:53:32.204Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:53:32.204Z] Configure a credential helper to remove this warning. See [2022-04-15T07:53:32.204Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:53:32.204Z] [2022-04-15T07:53:32.204Z] Login Succeeded [2022-04-15T07:53:32.204Z] docker.io [2022-04-15T07:53:32.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-15T07:53:33.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-15T07:53:33.076Z] Configure a credential helper to remove this warning. See [2022-04-15T07:53:33.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-15T07:53:33.076Z] [2022-04-15T07:53:33.076Z] Login Succeeded [2022-04-15T07:53:33.076Z] ---> docker-login.sh ends [Pipeline] } [2022-04-15T07:53:33.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-15T07:53:33.575Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-15T07:53:33.590Z] ========================================================= [2022-04-15T07:53:33.590Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-15T07:53:33.590Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:53:33.960Z] + 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-04-15T07:53:34.567Z] Sending build context to Docker daemon 5.199MB [2022-04-15T07:53:34.567Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T07:53:34.567Z] Step 2/11 : FROM ${BASE} AS builder [2022-04-15T07:53:34.847Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-15T07:53:34.847Z] 9b3977197b4f: Pulling fs layer [2022-04-15T07:53:34.847Z] 1a89e8eeedd5: Pulling fs layer [2022-04-15T07:53:34.847Z] 94645a83ff95: Pulling fs layer [2022-04-15T07:53:34.847Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-15T07:53:34.847Z] 0c92f367c5e7: Pulling fs layer [2022-04-15T07:53:34.847Z] f7c0051592d6: Pulling fs layer [2022-04-15T07:53:34.847Z] a227ed2f7395: Pulling fs layer [2022-04-15T07:53:34.847Z] 7b1c46037f91: Pulling fs layer [2022-04-15T07:53:34.847Z] 0c92f367c5e7: Waiting [2022-04-15T07:53:34.847Z] f7c0051592d6: Waiting [2022-04-15T07:53:34.847Z] a227ed2f7395: Waiting [2022-04-15T07:53:34.847Z] 7b1c46037f91: Waiting [2022-04-15T07:53:34.847Z] 3f3a8bcf1eab: Waiting [2022-04-15T07:53:34.847Z] 94645a83ff95: Verifying Checksum [2022-04-15T07:53:34.847Z] 94645a83ff95: Download complete [2022-04-15T07:53:34.847Z] 1a89e8eeedd5: Download complete [2022-04-15T07:53:34.847Z] 0c92f367c5e7: Verifying Checksum [2022-04-15T07:53:34.847Z] 0c92f367c5e7: Download complete [2022-04-15T07:53:34.847Z] f7c0051592d6: Verifying Checksum [2022-04-15T07:53:34.847Z] f7c0051592d6: Download complete [2022-04-15T07:53:34.847Z] 9b3977197b4f: Download complete [2022-04-15T07:53:34.847Z] a227ed2f7395: Verifying Checksum [2022-04-15T07:53:34.847Z] a227ed2f7395: Download complete [2022-04-15T07:53:35.456Z] 9b3977197b4f: Pull complete [2022-04-15T07:53:36.066Z] 1a89e8eeedd5: Pull complete [2022-04-15T07:53:36.344Z] 94645a83ff95: Pull complete [2022-04-15T07:53:36.945Z] 7b1c46037f91: Verifying Checksum [2022-04-15T07:53:36.945Z] 7b1c46037f91: Download complete [2022-04-15T07:53:37.547Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-15T07:53:37.547Z] 3f3a8bcf1eab: Download complete [2022-04-15T07:53:49.946Z] 3f3a8bcf1eab: Pull complete [2022-04-15T07:53:49.946Z] 0c92f367c5e7: Pull complete [2022-04-15T07:53:49.946Z] f7c0051592d6: Pull complete [2022-04-15T07:53:49.946Z] a227ed2f7395: Pull complete [2022-04-15T07:53:55.348Z] 7b1c46037f91: Pull complete [2022-04-15T07:53:55.348Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-15T07:53:55.348Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-15T07:53:55.348Z] ---> f79e39bc4007 [2022-04-15T07:53:55.348Z] Step 3/11 : ARG MAKE=make build [2022-04-15T07:53:57.343Z] ---> Running in 4f37af662f3e [2022-04-15T07:53:57.343Z] Removing intermediate container 4f37af662f3e [2022-04-15T07:53:57.343Z] ---> b30845f72bdb [2022-04-15T07:53:57.343Z] Step 4/11 : WORKDIR /device-sdk-go [2022-04-15T07:53:57.343Z] ---> Running in 4848bdf1d054 [2022-04-15T07:53:57.619Z] Removing intermediate container 4848bdf1d054 [2022-04-15T07:53:57.619Z] ---> ce93aaea25e4 [2022-04-15T07:53:57.619Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T07:53:57.619Z] ---> Running in 707db10668bb [2022-04-15T07:53:57.910Z] Removing intermediate container 707db10668bb [2022-04-15T07:53:57.910Z] ---> d1e569380a8b [2022-04-15T07:53:57.910Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T07:53:58.187Z] ---> Running in 4c76070cb747 [2022-04-15T07:54:00.163Z] Removing intermediate container 4c76070cb747 [2022-04-15T07:54:00.163Z] ---> 7fe78a0cf579 [2022-04-15T07:54:00.163Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-15T07:54:00.163Z] ---> Running in e917e25daf91 [2022-04-15T07:54:01.144Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-15T07:54:02.136Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-15T07:54:02.743Z] OK: 220 MiB in 52 packages [2022-04-15T07:54:05.411Z] Removing intermediate container e917e25daf91 [2022-04-15T07:54:05.411Z] ---> 70c8487572c9 [2022-04-15T07:54:05.411Z] Step 8/11 : COPY go.mod vendor* ./ [2022-04-15T07:54:05.411Z] ---> faa6c785a511 [2022-04-15T07:54:05.411Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T07:54:05.692Z] ---> Running in e50575afbb51 [2022-04-15T07:54:52.720Z] Removing intermediate container e50575afbb51 [2022-04-15T07:54:52.720Z] ---> 4ed8aba43d67 [2022-04-15T07:54:52.720Z] Step 10/11 : COPY . . [2022-04-15T07:54:53.006Z] ---> 62d70cd1d97a [2022-04-15T07:54:53.006Z] Step 11/11 : RUN ${MAKE} [2022-04-15T07:54:53.006Z] ---> Running in 4c1b2d185dcc [2022-04-15T07:54:54.460Z] noop [2022-04-15T07:54:55.062Z] Removing intermediate container 4c1b2d185dcc [2022-04-15T07:54:55.062Z] ---> 03b43f39091f [2022-04-15T07:54:55.062Z] Successfully built 03b43f39091f [2022-04-15T07:54:55.062Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:54:55.426Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T07:54:55.427Z] . [Pipeline] withDockerContainer [2022-04-15T07:54:55.686Z] prd-ubuntu20.04-docker-arm64-4c-16g-21051 does not seem to be running inside a container [2022-04-15T07:54:55.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/61 -v /w/workspace/device-sdk-go/61:/w/workspace/device-sdk-go/61:rw,z -v /w/workspace/device-sdk-go/61@tmp:/w/workspace/device-sdk-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-15T07:54:57.221Z] $ docker top e38a162fdcde1c69abb0f51d2950d0878bc88349f31d25d0595ff00960bc102b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T07:54:58.168Z] + go version [2022-04-15T07:54:58.168Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-15T07:54:58.203Z] $ docker stop --time=1 e38a162fdcde1c69abb0f51d2950d0878bc88349f31d25d0595ff00960bc102b [2022-04-15T07:54:59.867Z] $ docker rm -f e38a162fdcde1c69abb0f51d2950d0878bc88349f31d25d0595ff00960bc102b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:55:00.517Z] + docker inspect -f . ci-base-image-arm64 [2022-04-15T07:55:00.517Z] . [Pipeline] withDockerContainer [2022-04-15T07:55:00.764Z] prd-ubuntu20.04-docker-arm64-4c-16g-21051 does not seem to be running inside a container [2022-04-15T07:55:00.863Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/61 -v /w/workspace/device-sdk-go/61:/w/workspace/device-sdk-go/61:rw,z -v /w/workspace/device-sdk-go/61@tmp:/w/workspace/device-sdk-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-15T07:55:02.271Z] $ docker top 1a10ed0b1001af07abce684593cd380b60d81f9d07b965982548edfd75493dae -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-15T07:55:03.227Z] + make test [2022-04-15T07:55:03.227Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-04-15T07:55:35.622Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-04-15T07:57:27.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-04-15T07:57:27.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-04-15T07:57:27.558Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-04-15T07:57:30.210Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.490s coverage: 23.3% of statements [2022-04-15T07:57:30.210Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-04-15T07:57:31.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.291s coverage: 27.6% of statements [2022-04-15T07:57:31.231Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.503s coverage: 78.9% of statements [2022-04-15T07:57:33.890Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.260s coverage: 10.8% of statements [2022-04-15T07:57:33.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-04-15T07:57:33.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-04-15T07:57:33.890Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-04-15T07:57:40.660Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.493s coverage: 34.7% of statements [2022-04-15T07:57:40.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-04-15T07:57:40.660Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.301s coverage: 86.1% of statements [2022-04-15T07:57:40.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-04-15T07:57:40.660Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-04-15T07:57:42.120Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.521s coverage: 65.1% of statements [2022-04-15T07:57:43.578Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.339s coverage: 89.2% of statements [2022-04-15T07:57:43.578Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-04-15T07:57:47.899Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.263s coverage: 4.7% of statements [2022-04-15T07:57:47.899Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-04-15T07:57:48.498Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-15T07:57:48.498Z] GO111MODULE=on go vet ./... [2022-04-15T07:59:25.397Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-15T07:59:25.397Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-15T07:59:25.397Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-15T07:59:25.421Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-15T07:59:25.441Z] $ docker stop --time=1 1a10ed0b1001af07abce684593cd380b60d81f9d07b965982548edfd75493dae [2022-04-15T07:59:27.312Z] $ docker rm -f 1a10ed0b1001af07abce684593cd380b60d81f9d07b965982548edfd75493dae [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T07:59:28.748Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-15T07:59:28.773Z] Warning: overwriting stash ‘coverage-report’ [2022-04-15T07:59:29.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-15T07:59:29.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-15T07:59:30.222Z] + ls -al . [2022-04-15T07:59:30.222Z] total 312 [2022-04-15T07:59:30.222Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 07:59 . [2022-04-15T07:59:30.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:53 .. [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 07:53 .dockerignore [2022-04-15T07:59:30.222Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 07:53 .git [2022-04-15T07:59:30.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:53 .github [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 15 07:53 .gitignore [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 15 07:53 .golangci.yml [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 26321 Apr 15 07:53 CHANGELOG.md [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 07:53 GOVERNANCE.md [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 07:53 Jenkinsfile [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 07:53 LICENSE [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 2015 Apr 15 07:53 Makefile [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 15 07:53 OWNERS.md [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 4881 Apr 15 07:53 README.md [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 12 Apr 15 07:49 VERSION [2022-04-15T07:59:30.222Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:53 bin [2022-04-15T07:59:30.222Z] -rw-r--r-- 1 jenkins jenkins 129788 Apr 15 07:57 coverage.out [2022-04-15T07:59:30.222Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:53 example [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 3106 Apr 15 07:53 go.mod [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 53786 Apr 15 07:53 go.sum [2022-04-15T07:59:30.222Z] drwxrwxr-x 15 jenkins jenkins 4096 Apr 15 07:53 internal [2022-04-15T07:59:30.222Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 07:53 openapi [2022-04-15T07:59:30.222Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:53 pkg [2022-04-15T07:59:30.222Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:53 snap [2022-04-15T07:59:30.222Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 07:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-15T07:59:30.579Z] + 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=dd514f718fd528170d25c4d96999316fe43c7c62 --label arch=arm64 --label version=2.2.0-dev.28 . [2022-04-15T07:59:31.183Z] Sending build context to Docker daemon 5.329MB [2022-04-15T07:59:31.183Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-15T07:59:31.183Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-15T07:59:31.183Z] ---> 03b43f39091f [2022-04-15T07:59:31.183Z] Step 3/25 : ARG MAKE=make build [2022-04-15T07:59:31.183Z] ---> Running in 5d97a481d50e [2022-04-15T07:59:31.785Z] Removing intermediate container 5d97a481d50e [2022-04-15T07:59:31.785Z] ---> e61b8a4d45ae [2022-04-15T07:59:31.785Z] Step 4/25 : WORKDIR /device-sdk-go [2022-04-15T07:59:31.785Z] ---> Running in 04a8a5cd5aae [2022-04-15T07:59:32.061Z] Removing intermediate container 04a8a5cd5aae [2022-04-15T07:59:32.061Z] ---> c9c26412bd92 [2022-04-15T07:59:32.061Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T07:59:32.061Z] ---> Running in 7fc01ccfba9b [2022-04-15T07:59:32.678Z] Removing intermediate container 7fc01ccfba9b [2022-04-15T07:59:32.678Z] ---> 0d3a099fa1e0 [2022-04-15T07:59:32.679Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T07:59:32.679Z] ---> Running in 504aa07ba195 [2022-04-15T07:59:34.678Z] Removing intermediate container 504aa07ba195 [2022-04-15T07:59:34.678Z] ---> 3787521ec428 [2022-04-15T07:59:34.678Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-04-15T07:59:34.678Z] ---> Running in bc36b733626f [2022-04-15T07:59:35.670Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-15T07:59:36.655Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-15T07:59:37.643Z] OK: 220 MiB in 52 packages [2022-04-15T07:59:38.634Z] Removing intermediate container bc36b733626f [2022-04-15T07:59:38.634Z] ---> 1efbe145d1bc [2022-04-15T07:59:38.634Z] Step 8/25 : COPY go.mod vendor* ./ [2022-04-15T07:59:38.913Z] ---> b40a5bb38623 [2022-04-15T07:59:38.913Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-15T07:59:39.187Z] ---> Running in 3160ac512e2e [2022-04-15T07:59:41.175Z] Removing intermediate container 3160ac512e2e [2022-04-15T07:59:41.175Z] ---> 13799b376d2d [2022-04-15T07:59:41.175Z] Step 10/25 : COPY . . [2022-04-15T07:59:42.616Z] ---> 6624e37ec973 [2022-04-15T07:59:42.616Z] Step 11/25 : RUN ${MAKE} [2022-04-15T07:59:42.616Z] ---> Running in c0845922f818 [2022-04-15T07:59:43.600Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.28" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-04-15T08:02:05.543Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-04-15T08:02:05.543Z] Removing intermediate container c0845922f818 [2022-04-15T08:02:05.543Z] ---> 861b60c44dfb [2022-04-15T08:02:05.543Z] Step 12/25 : FROM alpine:3.14 [2022-04-15T08:02:05.543Z] 3.14: Pulling from library/alpine [2022-04-15T08:02:05.543Z] 455c02918c45: Pulling fs layer [2022-04-15T08:02:05.543Z] 455c02918c45: Verifying Checksum [2022-04-15T08:02:05.543Z] 455c02918c45: Download complete [2022-04-15T08:02:05.543Z] 455c02918c45: Pull complete [2022-04-15T08:02:05.543Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-15T08:02:05.543Z] Status: Downloaded newer image for alpine:3.14 [2022-04-15T08:02:05.543Z] ---> ac73e934f311 [2022-04-15T08:02:05.543Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-04-15T08:02:05.543Z] ---> Running in ea60ae56df14 [2022-04-15T08:02:05.543Z] Removing intermediate container ea60ae56df14 [2022-04-15T08:02:05.543Z] ---> a588ad28fe8b [2022-04-15T08:02:05.543Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-15T08:02:05.543Z] ---> Running in 47a1a5c51fb9 [2022-04-15T08:02:05.543Z] Removing intermediate container 47a1a5c51fb9 [2022-04-15T08:02:05.543Z] ---> b599a8fc6299 [2022-04-15T08:02:05.543Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-04-15T08:02:05.543Z] ---> Running in 1af1d4f511d3 [2022-04-15T08:02:05.543Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-15T08:02:05.818Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-15T08:02:06.801Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-04-15T08:02:06.801Z] (2/5) Installing libsodium (1.0.18-r0) [2022-04-15T08:02:07.075Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-15T08:02:07.075Z] (4/5) Installing libzmq (4.3.4-r0) [2022-04-15T08:02:07.075Z] (5/5) Installing zeromq (4.3.4-r0) [2022-04-15T08:02:07.350Z] Executing busybox-1.33.1-r7.trigger [2022-04-15T08:02:07.350Z] OK: 8 MiB in 19 packages [2022-04-15T08:02:08.346Z] Removing intermediate container 1af1d4f511d3 [2022-04-15T08:02:08.346Z] ---> f6e408d0cd30 [2022-04-15T08:02:08.346Z] Step 16/25 : WORKDIR / [2022-04-15T08:02:08.346Z] ---> Running in 9512d6dade1f [2022-04-15T08:02:08.948Z] Removing intermediate container 9512d6dade1f [2022-04-15T08:02:08.948Z] ---> 83044c52749f [2022-04-15T08:02:08.948Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-04-15T08:02:09.554Z] ---> 9d702d0df8fd [2022-04-15T08:02:09.554Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-04-15T08:02:10.999Z] ---> 2fd4cde8f461 [2022-04-15T08:02:10.999Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-04-15T08:02:11.600Z] ---> 74b7c57caaa9 [2022-04-15T08:02:11.600Z] Step 20/25 : EXPOSE 59999 [2022-04-15T08:02:11.876Z] ---> Running in 2d12b7aeea7b [2022-04-15T08:02:12.151Z] Removing intermediate container 2d12b7aeea7b [2022-04-15T08:02:12.151Z] ---> 976bd9786989 [2022-04-15T08:02:12.151Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-04-15T08:02:12.151Z] ---> Running in cbc97c323d6e [2022-04-15T08:02:12.430Z] Removing intermediate container cbc97c323d6e [2022-04-15T08:02:12.430Z] ---> 829472fb5823 [2022-04-15T08:02:12.430Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-15T08:02:12.708Z] ---> Running in f11673bcf61b [2022-04-15T08:02:12.994Z] Removing intermediate container f11673bcf61b [2022-04-15T08:02:12.994Z] ---> a8e2ca0b3736 [2022-04-15T08:02:12.994Z] Step 23/25 : LABEL arch=arm64 [2022-04-15T08:02:12.994Z] ---> Running in c5f4ba6000a4 [2022-04-15T08:02:13.267Z] Removing intermediate container c5f4ba6000a4 [2022-04-15T08:02:13.267Z] ---> 70654ffe09a5 [2022-04-15T08:02:13.267Z] Step 24/25 : LABEL git_sha=dd514f718fd528170d25c4d96999316fe43c7c62 [2022-04-15T08:02:13.543Z] ---> Running in e68d08a637dc [2022-04-15T08:02:13.821Z] Removing intermediate container e68d08a637dc [2022-04-15T08:02:13.821Z] ---> eaa62d507c82 [2022-04-15T08:02:13.821Z] Step 25/25 : LABEL version=2.2.0-dev.28 [2022-04-15T08:02:13.821Z] ---> Running in ceaf3274dcf1 [2022-04-15T08:02:14.098Z] Removing intermediate container ceaf3274dcf1 [2022-04-15T08:02:14.098Z] ---> dfedef116309 [2022-04-15T08:02:14.098Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-15T08:02:14.098Z] Successfully built dfedef116309 [2022-04-15T08:02:14.098Z] 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-04-15T08:02:14.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T08:02:14.805Z] [2022-04-15T08:02:14.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:02:15.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T08:02:15.451Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-15T08:02:15.451Z] 8998bd30e6a1: Pulling fs layer [2022-04-15T08:02:15.451Z] 04944245beec: Pulling fs layer [2022-04-15T08:02:15.451Z] 699f458cf7ca: Pulling fs layer [2022-04-15T08:02:15.451Z] 765212b225bb: Pulling fs layer [2022-04-15T08:02:15.451Z] f23df028b6ca: Pulling fs layer [2022-04-15T08:02:15.451Z] d65c8cfc05b1: Pulling fs layer [2022-04-15T08:02:15.451Z] 2437ff75d9bd: Pulling fs layer [2022-04-15T08:02:15.451Z] f23df028b6ca: Waiting [2022-04-15T08:02:15.451Z] d65c8cfc05b1: Waiting [2022-04-15T08:02:15.451Z] 2437ff75d9bd: Waiting [2022-04-15T08:02:15.451Z] 765212b225bb: Waiting [2022-04-15T08:02:15.451Z] 04944245beec: Verifying Checksum [2022-04-15T08:02:15.451Z] 04944245beec: Download complete [2022-04-15T08:02:15.451Z] 765212b225bb: Verifying Checksum [2022-04-15T08:02:15.451Z] 765212b225bb: Download complete [2022-04-15T08:02:15.451Z] f23df028b6ca: Verifying Checksum [2022-04-15T08:02:15.451Z] f23df028b6ca: Download complete [2022-04-15T08:02:15.451Z] d65c8cfc05b1: Verifying Checksum [2022-04-15T08:02:15.451Z] d65c8cfc05b1: Download complete [2022-04-15T08:02:15.730Z] 699f458cf7ca: Verifying Checksum [2022-04-15T08:02:15.730Z] 699f458cf7ca: Download complete [2022-04-15T08:02:16.012Z] 8998bd30e6a1: Verifying Checksum [2022-04-15T08:02:16.012Z] 8998bd30e6a1: Download complete [2022-04-15T08:02:18.648Z] 2437ff75d9bd: Verifying Checksum [2022-04-15T08:02:18.648Z] 2437ff75d9bd: Download complete [2022-04-15T08:02:20.641Z] 8998bd30e6a1: Pull complete [2022-04-15T08:02:21.242Z] 04944245beec: Pull complete [2022-04-15T08:02:22.683Z] 699f458cf7ca: Pull complete [2022-04-15T08:02:22.683Z] 765212b225bb: Pull complete [2022-04-15T08:02:23.665Z] f23df028b6ca: Pull complete [2022-04-15T08:02:23.955Z] d65c8cfc05b1: Pull complete [2022-04-15T08:02:39.078Z] 2437ff75d9bd: Pull complete [2022-04-15T08:02:39.078Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-15T08:02:39.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-15T08:02:39.078Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-15T08:02:39.320Z] prd-ubuntu20.04-docker-arm64-4c-16g-21051 does not seem to be running inside a container [2022-04-15T08:02:39.420Z] $ 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/61 -v /w/workspace/device-sdk-go/61:/w/workspace/device-sdk-go/61:rw,z -v /w/workspace/device-sdk-go/61@tmp:/w/workspace/device-sdk-go/61@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-15T08:02:42.254Z] $ docker top a41c79f3171bbb7a6809d934d751f4960165569b495028467730fcca05333904 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:02:43.206Z] ---> job-cost.sh [2022-04-15T08:02:43.207Z] lf-activate-venv: SKIPPING [2022-04-15T08:02:43.207Z] INFO: No Stack... [2022-04-15T08:02:43.815Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-15T08:02:44.797Z] INFO: Archiving Costs [Pipeline] sh [2022-04-15T08:02:45.485Z] + cut -d, -f6 [2022-04-15T08:02:45.485Z] + cat /w/workspace/device-sdk-go/61/archives/cost.csv [Pipeline] lock [2022-04-15T08:02:45.563Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [2022-04-15T08:02:45.569Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] did not exist. Created. [2022-04-15T08:02:45.569Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-15T08:02:46.262Z] /w/workspace/device-sdk-go/61@tmp/durable-193c5a95/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-15T08:02:46.959Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-15T08:02:46.990Z] Warning: overwriting stash ‘stack-cost’ [2022-04-15T08:02:47.066Z] Stashed 1 file(s) [Pipeline] } [2022-04-15T08:02:47.074Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-61-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-15T08:02:47.106Z] $ docker stop --time=1 a41c79f3171bbb7a6809d934d751f4960165569b495028467730fcca05333904 [2022-04-15T08:02:48.644Z] $ docker rm -f a41c79f3171bbb7a6809d934d751f4960165569b495028467730fcca05333904 [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-04-15T08:02:49.211Z] provisioning config files... [2022-04-15T08:02:49.226Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2790354856221413590tmp [Pipeline] { [Pipeline] sh [2022-04-15T08:02:49.523Z] + set +x [2022-04-15T08:02:49.523Z] + curl -s https://codecov.io/bash [2022-04-15T08:02:49.523Z] + bash -s -- [2022-04-15T08:02:49.523Z] [2022-04-15T08:02:49.523Z] _____ _ [2022-04-15T08:02:49.523Z] / ____| | | [2022-04-15T08:02:49.523Z] | | ___ __| | ___ ___ _____ __ [2022-04-15T08:02:49.523Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-15T08:02:49.523Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-15T08:02:49.523Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-15T08:02:49.523Z] Bash-1.0.6 [2022-04-15T08:02:49.523Z] [2022-04-15T08:02:49.523Z] [2022-04-15T08:02:49.523Z] ==> git version 2.25.1 found [2022-04-15T08:02:49.523Z] ==> 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-04-15T08:02:49.523Z] Release-Date: 2020-01-08 [2022-04-15T08:02:49.523Z] 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-04-15T08:02:49.523Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-15T08:02:49.523Z] ==> Jenkins CI detected. [2022-04-15T08:02:49.523Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T08:02:49.523Z] project root: . [2022-04-15T08:02:49.523Z] --> token set from env [2022-04-15T08:02:49.523Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-15T08:02:49.523Z] ==> Running gcov in . (disable via -X gcov) [2022-04-15T08:02:49.523Z] ==> Python coveragepy not found [2022-04-15T08:02:49.523Z] ==> Searching for coverage reports in: [2022-04-15T08:02:49.523Z] + . [2022-04-15T08:02:49.523Z] -> Found 1 reports [2022-04-15T08:02:49.523Z] ==> Detecting git/mercurial file structure [2022-04-15T08:02:49.523Z] ==> Reading reports [2022-04-15T08:02:49.523Z] + ./coverage.out bytes=129788 [2022-04-15T08:02:49.523Z] ==> Appending adjustments [2022-04-15T08:02:49.523Z] https://docs.codecov.io/docs/fixing-reports [2022-04-15T08:02:49.782Z] + Found adjustments [2022-04-15T08:02:49.782Z] ==> Gzipping contents [2022-04-15T08:02:50.043Z] 20K /tmp/codecov.7VAM6r.gz [2022-04-15T08:02:50.043Z] ==> Uploading reports [2022-04-15T08:02:50.043Z] url: https://codecov.io [2022-04-15T08:02:50.044Z] query: branch=main&commit=dd514f718fd528170d25c4d96999316fe43c7c62&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-15T08:02:50.044Z] -> Pinging Codecov [2022-04-15T08:02:50.044Z] 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=dd514f718fd528170d25c4d96999316fe43c7c62&build=61&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F61%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-15T08:02:50.304Z] -> Uploading to [2022-04-15T08:02:50.304Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-15/7E55EF52A471D76F132DFD9A03CDDE97/dd514f718fd528170d25c4d96999316fe43c7c62/611484ff-8d4c-41ce-9d21-09f0b9cb7bc9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220415T080250Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9a61dacedd0709159d0ef6f518fcbd84f905a5d3af1c9cbad9f53a3606148d0 [2022-04-15T08:02:50.304Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T08:02:50.304Z] Dload Upload Total Spent Left Speed [2022-04-15T08:02:50.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16669 0 0 100 16669 0 79000 --:--:-- --:--:-- --:--:-- 79376 [2022-04-15T08:02:50.304Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] } [2022-04-15T08:02:50.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-15T08:02:50.572Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-15T08:02:50.585Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:02:50.881Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-15T08:02:50.881Z] [2022-04-15T08:02:50.881Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:02:51.184Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-15T08:02:51.184Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-15T08:02:51.184Z] 188c0c94c7c5: Pulling fs layer [2022-04-15T08:02:51.184Z] 0ef7d3d256c8: Pulling fs layer [2022-04-15T08:02:51.184Z] de9db76c5a1d: Pulling fs layer [2022-04-15T08:02:51.184Z] 0eba1c9be4d2: Pulling fs layer [2022-04-15T08:02:51.184Z] 0d57e429df01: Pulling fs layer [2022-04-15T08:02:51.184Z] 4e4be7b47b0d: Pulling fs layer [2022-04-15T08:02:51.184Z] e1f770b5df2f: Pulling fs layer [2022-04-15T08:02:51.184Z] 85a0685a4137: Pulling fs layer [2022-04-15T08:02:51.184Z] 0eba1c9be4d2: Waiting [2022-04-15T08:02:51.184Z] 4e4be7b47b0d: Waiting [2022-04-15T08:02:51.184Z] 0d57e429df01: Waiting [2022-04-15T08:02:51.184Z] e1f770b5df2f: Waiting [2022-04-15T08:02:51.184Z] 85a0685a4137: Waiting [2022-04-15T08:02:51.184Z] de9db76c5a1d: Verifying Checksum [2022-04-15T08:02:51.184Z] de9db76c5a1d: Download complete [2022-04-15T08:02:51.184Z] 0ef7d3d256c8: Verifying Checksum [2022-04-15T08:02:51.184Z] 0ef7d3d256c8: Download complete [2022-04-15T08:02:51.184Z] 0d57e429df01: Verifying Checksum [2022-04-15T08:02:51.184Z] 0d57e429df01: Download complete [2022-04-15T08:02:51.184Z] 4e4be7b47b0d: Verifying Checksum [2022-04-15T08:02:51.184Z] 4e4be7b47b0d: Download complete [2022-04-15T08:02:51.184Z] 188c0c94c7c5: Verifying Checksum [2022-04-15T08:02:51.184Z] 188c0c94c7c5: Download complete [2022-04-15T08:02:51.444Z] 188c0c94c7c5: Pull complete [2022-04-15T08:02:51.444Z] e1f770b5df2f: Verifying Checksum [2022-04-15T08:02:51.444Z] e1f770b5df2f: Download complete [2022-04-15T08:02:51.444Z] 0ef7d3d256c8: Pull complete [2022-04-15T08:02:51.708Z] de9db76c5a1d: Pull complete [2022-04-15T08:02:51.969Z] 0eba1c9be4d2: Verifying Checksum [2022-04-15T08:02:51.969Z] 0eba1c9be4d2: Download complete [2022-04-15T08:02:52.228Z] 85a0685a4137: Verifying Checksum [2022-04-15T08:02:52.228Z] 85a0685a4137: Download complete [2022-04-15T08:02:55.521Z] 0eba1c9be4d2: Pull complete [2022-04-15T08:02:55.521Z] 0d57e429df01: Pull complete [2022-04-15T08:02:55.521Z] 4e4be7b47b0d: Pull complete [2022-04-15T08:02:55.780Z] e1f770b5df2f: Pull complete [2022-04-15T08:02:59.067Z] 85a0685a4137: Pull complete [2022-04-15T08:02:59.067Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-15T08:02:59.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-15T08:02:59.067Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-15T08:02:59.144Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:02:59.186Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-15T08:03:01.124Z] $ docker top b8744a7db3d3ad4e3b9476d51bdf3d6e06c8271de7bcd7edea5e9c408864aefa -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-15T08:03:01.196Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-15T08:03:01.475Z] + set -o pipefail [2022-04-15T08:03:01.475Z] + snyk monitor '--org=edgex-jenkins' [2022-04-15T08:03:06.763Z] [2022-04-15T08:03:06.763Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2022-04-15T08:03:06.763Z] [2022-04-15T08:03:06.763Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/afc5718c-3c11-484c-86f8-c957c459421c [2022-04-15T08:03:06.763Z] [2022-04-15T08:03:06.763Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-15T08:03:06.763Z] [2022-04-15T08:03:06.763Z] [Pipeline] } [2022-04-15T08:03:07.044Z] $ docker stop --time=1 b8744a7db3d3ad4e3b9476d51bdf3d6e06c8271de7bcd7edea5e9c408864aefa [2022-04-15T08:03:09.195Z] $ docker rm -f b8744a7db3d3ad4e3b9476d51bdf3d6e06c8271de7bcd7edea5e9c408864aefa [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-04-15T08:03:09.674Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T08:03:09.689Z] provisioning config files... [2022-04-15T08:03:09.697Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5586259145817531920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:10.000Z] --> edgex-publish-swagger.sh [2022-04-15T08:03:10.000Z] === Publish openapi/v2 API === [2022-04-15T08:03:10.000Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2022-04-15T08:03:10.000Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2022-04-15T08:03:10.000Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-15T08:03:10.000Z] Dload Upload Total Spent Left Speed [2022-04-15T08:03:10.573Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 79053 --:--:-- --:--:-- --:--:-- 79053 [2022-04-15T08:03:10.573Z] [2022-04-15T08:03:10.573Z] [Pipeline] } [2022-04-15T08:03:10.582Z] 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-04-15T08:03:10.984Z] + git log --format=format:%s -1 dd514f718fd528170d25c4d96999316fe43c7c62 [Pipeline] sh [2022-04-15T08:03:11.282Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T08:03:11.282Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:11.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T08:03:11.577Z] . [Pipeline] withDockerContainer [2022-04-15T08:03:11.651Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:03:11.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-15T08:03:12.173Z] $ docker top 758e4aeda281995ee911a3cf41fb745d8bea2a8cad9bcf818dc68f6c702de027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T08:03:12.266Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T08:03:12.266Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T08:03:12.395Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T08:03:12.406Z] $ docker exec 758e4aeda281995ee911a3cf41fb745d8bea2a8cad9bcf818dc68f6c702de027 ssh-agent [2022-04-15T08:03:12.526Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXofInaJ/agent.15 [2022-04-15T08:03:12.526Z] SSH_AGENT_PID=21 [2022-04-15T08:03:12.531Z] Running ssh-add (command line suppressed) [2022-04-15T08:03:12.667Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6351785190178566866.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6351785190178566866.key) [2022-04-15T08:03:12.676Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T08:03:12.974Z] + git semver tag [2022-04-15T08:03:12.975Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T08:03:12.975Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-15T08:03:12.975Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T08:03:12.975Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T08:03:12.975Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T08:03:12.975Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T08:03:12.975Z] # $SEMVER_BRANCH = main [2022-04-15T08:03:12.975Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-15T08:03:12.975Z] # dd514f718fd528170d25c4d96999316fe43c7c62 HEAD [2022-04-15T08:03:12.975Z] # -> Force: false [2022-04-15T08:03:12.975Z] # 12695c01adf3f3731b3889b8e534d0af5efab3e7 refs/tags/v2.2.0-dev.28 [Pipeline] } [2022-04-15T08:03:12.993Z] $ docker exec --env ******** --env ******** 758e4aeda281995ee911a3cf41fb745d8bea2a8cad9bcf818dc68f6c702de027 ssh-agent -k [2022-04-15T08:03:13.125Z] unset SSH_AUTH_SOCK; [2022-04-15T08:03:13.125Z] unset SSH_AGENT_PID; [2022-04-15T08:03:13.125Z] echo Agent pid 21 killed; [2022-04-15T08:03:13.130Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T08:03:13.442Z] + git semver [Pipeline] } [2022-04-15T08:03:13.464Z] $ docker stop --time=1 758e4aeda281995ee911a3cf41fb745d8bea2a8cad9bcf818dc68f6c702de027 [2022-04-15T08:03:14.771Z] $ docker rm -f 758e4aeda281995ee911a3cf41fb745d8bea2a8cad9bcf818dc68f6c702de027 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:15.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-15T08:03:15.227Z] [2022-04-15T08:03:15.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:15.524Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-15T08:03:15.524Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-15T08:03:15.524Z] ab5ef0e58194: Pulling fs layer [2022-04-15T08:03:15.524Z] 9712f1f96733: Pulling fs layer [2022-04-15T08:03:15.524Z] 63f879dbbcfc: Pulling fs layer [2022-04-15T08:03:15.524Z] 0d9ebad4ef96: Pulling fs layer [2022-04-15T08:03:15.524Z] e9a5061849ea: Pulling fs layer [2022-04-15T08:03:15.524Z] d747dcd14b5f: Pulling fs layer [2022-04-15T08:03:15.524Z] 2de7ff778b66: Pulling fs layer [2022-04-15T08:03:15.524Z] 0d9ebad4ef96: Waiting [2022-04-15T08:03:15.524Z] e9a5061849ea: Waiting [2022-04-15T08:03:15.524Z] d747dcd14b5f: Waiting [2022-04-15T08:03:15.524Z] 2de7ff778b66: Waiting [2022-04-15T08:03:15.524Z] 9712f1f96733: Verifying Checksum [2022-04-15T08:03:15.524Z] 9712f1f96733: Download complete [2022-04-15T08:03:15.785Z] 63f879dbbcfc: Verifying Checksum [2022-04-15T08:03:15.785Z] 63f879dbbcfc: Download complete [2022-04-15T08:03:16.047Z] e9a5061849ea: Verifying Checksum [2022-04-15T08:03:16.047Z] e9a5061849ea: Download complete [2022-04-15T08:03:16.047Z] d747dcd14b5f: Verifying Checksum [2022-04-15T08:03:16.047Z] d747dcd14b5f: Download complete [2022-04-15T08:03:16.047Z] 0d9ebad4ef96: Verifying Checksum [2022-04-15T08:03:16.047Z] 0d9ebad4ef96: Download complete [2022-04-15T08:03:16.047Z] ab5ef0e58194: Verifying Checksum [2022-04-15T08:03:16.047Z] ab5ef0e58194: Download complete [2022-04-15T08:03:16.307Z] 2de7ff778b66: Download complete [2022-04-15T08:03:19.596Z] ab5ef0e58194: Pull complete [2022-04-15T08:03:19.596Z] 9712f1f96733: Pull complete [2022-04-15T08:03:20.163Z] 63f879dbbcfc: Pull complete [2022-04-15T08:03:24.352Z] 0d9ebad4ef96: Pull complete [2022-04-15T08:03:24.352Z] e9a5061849ea: Pull complete [2022-04-15T08:03:24.352Z] d747dcd14b5f: Pull complete [2022-04-15T08:03:25.734Z] 2de7ff778b66: Pull complete [2022-04-15T08:03:25.734Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-15T08:03:25.734Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-15T08:03:25.734Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-15T08:03:25.804Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:03:25.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-15T08:03:28.130Z] $ docker top 949a970c632e1cda0dbcf4bd970ba159d3ba2412eba67088cb20a7e4e6e00c92 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-15T08:03:28.208Z] provisioning config files... [2022-04-15T08:03:28.217Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5141844765201516374tmp [2022-04-15T08:03:28.228Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3516346625821577492tmp [2022-04-15T08:03:28.238Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6517194788206805989tmp [Pipeline] { [Pipeline] echo [2022-04-15T08:03:28.252Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:28.537Z] ---> sigul-configuration.sh [2022-04-15T08:03:28.537Z] gpg: directory `/root/.gnupg' created [2022-04-15T08:03:28.537Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-15T08:03:28.537Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-15T08:03:28.537Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-15T08:03:28.537Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-15T08:03:28.537Z] gpg: CAST5 encrypted data [2022-04-15T08:03:28.537Z] gpg: encrypted with 1 passphrase [2022-04-15T08:03:28.537Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-15T08:03:28.824Z] + mkdir /home/jenkins [2022-04-15T08:03:28.824Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-15T08:03:29.111Z] + 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-04-15T08:03:29.124Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:29.411Z] ---> sigul-install.sh [2022-04-15T08:03:29.411Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-15T08:03:29.701Z] + git tag --list [2022-04-15T08:03:29.701Z] 0.7.1 [2022-04-15T08:03:29.701Z] delhi-tag [2022-04-15T08:03:29.701Z] v1.0.0 [2022-04-15T08:03:29.701Z] v1.1.0 [2022-04-15T08:03:29.701Z] v1.1.1 [2022-04-15T08:03:29.701Z] v1.1.2 [2022-04-15T08:03:29.701Z] v1.2.0 [2022-04-15T08:03:29.701Z] v1.2.1 [2022-04-15T08:03:29.701Z] v1.2.2 [2022-04-15T08:03:29.701Z] v1.2.3 [2022-04-15T08:03:29.701Z] v1.3.0 [2022-04-15T08:03:29.701Z] v1.4.0 [2022-04-15T08:03:29.701Z] v2.0.0 [2022-04-15T08:03:29.701Z] v2.0.1-dev.1 [2022-04-15T08:03:29.701Z] v2.0.1-dev.10 [2022-04-15T08:03:29.701Z] v2.0.1-dev.11 [2022-04-15T08:03:29.701Z] v2.0.1-dev.12 [2022-04-15T08:03:29.701Z] v2.0.1-dev.13 [2022-04-15T08:03:29.701Z] v2.0.1-dev.14 [2022-04-15T08:03:29.701Z] v2.0.1-dev.15 [2022-04-15T08:03:29.701Z] v2.0.1-dev.16 [2022-04-15T08:03:29.701Z] v2.0.1-dev.17 [2022-04-15T08:03:29.701Z] v2.0.1-dev.18 [2022-04-15T08:03:29.701Z] v2.0.1-dev.19 [2022-04-15T08:03:29.701Z] v2.0.1-dev.2 [2022-04-15T08:03:29.701Z] v2.0.1-dev.20 [2022-04-15T08:03:29.701Z] v2.0.1-dev.21 [2022-04-15T08:03:29.701Z] v2.0.1-dev.22 [2022-04-15T08:03:29.701Z] v2.0.1-dev.23 [2022-04-15T08:03:29.701Z] v2.0.1-dev.24 [2022-04-15T08:03:29.701Z] v2.0.1-dev.25 [2022-04-15T08:03:29.701Z] v2.0.1-dev.26 [2022-04-15T08:03:29.701Z] v2.0.1-dev.27 [2022-04-15T08:03:29.701Z] v2.0.1-dev.28 [2022-04-15T08:03:29.701Z] v2.0.1-dev.29 [2022-04-15T08:03:29.701Z] v2.0.1-dev.3 [2022-04-15T08:03:29.701Z] v2.0.1-dev.30 [2022-04-15T08:03:29.701Z] v2.0.1-dev.31 [2022-04-15T08:03:29.701Z] v2.0.1-dev.32 [2022-04-15T08:03:29.701Z] v2.0.1-dev.33 [2022-04-15T08:03:29.701Z] v2.0.1-dev.4 [2022-04-15T08:03:29.701Z] v2.0.1-dev.5 [2022-04-15T08:03:29.701Z] v2.0.1-dev.6 [2022-04-15T08:03:29.701Z] v2.0.1-dev.7 [2022-04-15T08:03:29.701Z] v2.0.1-dev.8 [2022-04-15T08:03:29.701Z] v2.0.1-dev.9 [2022-04-15T08:03:29.701Z] v2.1.0 [2022-04-15T08:03:29.701Z] v2.1.1-dev.1 [2022-04-15T08:03:29.701Z] v2.2.0-dev.1 [2022-04-15T08:03:29.701Z] v2.2.0-dev.10 [2022-04-15T08:03:29.701Z] v2.2.0-dev.11 [2022-04-15T08:03:29.701Z] v2.2.0-dev.12 [2022-04-15T08:03:29.701Z] v2.2.0-dev.13 [2022-04-15T08:03:29.701Z] v2.2.0-dev.14 [2022-04-15T08:03:29.701Z] v2.2.0-dev.15 [2022-04-15T08:03:29.701Z] v2.2.0-dev.16 [2022-04-15T08:03:29.701Z] v2.2.0-dev.17 [2022-04-15T08:03:29.701Z] v2.2.0-dev.18 [2022-04-15T08:03:29.701Z] v2.2.0-dev.19 [2022-04-15T08:03:29.701Z] v2.2.0-dev.2 [2022-04-15T08:03:29.702Z] v2.2.0-dev.20 [2022-04-15T08:03:29.702Z] v2.2.0-dev.21 [2022-04-15T08:03:29.702Z] v2.2.0-dev.22 [2022-04-15T08:03:29.702Z] v2.2.0-dev.23 [2022-04-15T08:03:29.702Z] v2.2.0-dev.24 [2022-04-15T08:03:29.702Z] v2.2.0-dev.25 [2022-04-15T08:03:29.702Z] v2.2.0-dev.26 [2022-04-15T08:03:29.702Z] v2.2.0-dev.27 [2022-04-15T08:03:29.702Z] v2.2.0-dev.28 [2022-04-15T08:03:29.702Z] v2.2.0-dev.3 [2022-04-15T08:03:29.702Z] v2.2.0-dev.4 [2022-04-15T08:03:29.702Z] v2.2.0-dev.5 [2022-04-15T08:03:29.702Z] v2.2.0-dev.6 [2022-04-15T08:03:29.702Z] v2.2.0-dev.7 [2022-04-15T08:03:29.702Z] v2.2.0-dev.8 [2022-04-15T08:03:29.702Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-15T08:03:29.989Z] + lftools sign git-tag v2.2.0-dev.28 [2022-04-15T08:03:30.557Z] Signing Git tag with Sigul... [2022-04-15T08:03:30.557Z] Signing v2.2.0-dev.28 [Pipeline] echo [2022-04-15T08:03:30.827Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:31.114Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-15T08:03:31.121Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-15T08:03:31.150Z] $ docker stop --time=1 949a970c632e1cda0dbcf4bd970ba159d3ba2412eba67088cb20a7e4e6e00c92 [2022-04-15T08:03:32.454Z] $ docker rm -f 949a970c632e1cda0dbcf4bd970ba159d3ba2412eba67088cb20a7e4e6e00c92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-15T08:03:32.882Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T08:03:32.882Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:33.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T08:03:33.178Z] . [Pipeline] withDockerContainer [2022-04-15T08:03:33.252Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:03:33.292Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-15T08:03:33.662Z] $ docker top e2712a4896bc9ab2655878d31abee3f6b6e96259645574a401810ab960d04e1f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T08:03:33.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T08:03:33.757Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T08:03:33.880Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T08:03:33.891Z] $ docker exec e2712a4896bc9ab2655878d31abee3f6b6e96259645574a401810ab960d04e1f ssh-agent [2022-04-15T08:03:34.010Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXObJHpM/agent.13 [2022-04-15T08:03:34.010Z] SSH_AGENT_PID=20 [2022-04-15T08:03:34.016Z] Running ssh-add (command line suppressed) [2022-04-15T08:03:34.133Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2636702761170931490.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2636702761170931490.key) [2022-04-15T08:03:34.142Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T08:03:34.434Z] + git semver bump pre [2022-04-15T08:03:34.434Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T08:03:34.434Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-15T08:03:34.434Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T08:03:34.434Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T08:03:34.434Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T08:03:34.434Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T08:03:34.434Z] # $SEMVER_BRANCH = main [2022-04-15T08:03:34.434Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2022-04-15T08:03:34.434Z] 2.2.0-dev.29 [Pipeline] } [2022-04-15T08:03:34.453Z] $ docker exec --env ******** --env ******** e2712a4896bc9ab2655878d31abee3f6b6e96259645574a401810ab960d04e1f ssh-agent -k [2022-04-15T08:03:34.565Z] unset SSH_AUTH_SOCK; [2022-04-15T08:03:34.566Z] unset SSH_AGENT_PID; [2022-04-15T08:03:34.566Z] echo Agent pid 20 killed; [2022-04-15T08:03:34.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T08:03:34.879Z] + git semver [Pipeline] } [2022-04-15T08:03:34.901Z] $ docker stop --time=1 e2712a4896bc9ab2655878d31abee3f6b6e96259645574a401810ab960d04e1f [2022-04-15T08:03:36.199Z] $ docker rm -f e2712a4896bc9ab2655878d31abee3f6b6e96259645574a401810ab960d04e1f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-15T08:03:36.551Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-15T08:03:36.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:36.849Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-15T08:03:36.849Z] . [Pipeline] withDockerContainer [2022-04-15T08:03:36.927Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:03:36.967Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-15T08:03:37.360Z] $ docker top cab10b87ecea523ed430fd5e144f110d5e37e0b0f37182396d44b9cd59854922 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-15T08:03:37.448Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-15T08:03:37.448Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-15T08:03:37.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-15T08:03:37.591Z] $ docker exec cab10b87ecea523ed430fd5e144f110d5e37e0b0f37182396d44b9cd59854922 ssh-agent [2022-04-15T08:03:37.700Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIBKlOp/agent.13 [2022-04-15T08:03:37.700Z] SSH_AGENT_PID=19 [2022-04-15T08:03:37.706Z] Running ssh-add (command line suppressed) [2022-04-15T08:03:37.829Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1912080874755872597.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1912080874755872597.key) [2022-04-15T08:03:37.836Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-15T08:03:38.125Z] + git semver push [2022-04-15T08:03:38.125Z] # -> Open(): unable to determine branch for HEAD [2022-04-15T08:03:38.125Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2022-04-15T08:03:38.125Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T08:03:38.125Z] # $SEMVER_REMOTE_NAME = origin [2022-04-15T08:03:38.125Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-15T08:03:38.125Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-15T08:03:38.125Z] # $SEMVER_BRANCH = main [2022-04-15T08:03:38.125Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2022-04-15T08:03:40.052Z] $ docker exec --env ******** --env ******** cab10b87ecea523ed430fd5e144f110d5e37e0b0f37182396d44b9cd59854922 ssh-agent -k [2022-04-15T08:03:40.170Z] unset SSH_AUTH_SOCK; [2022-04-15T08:03:40.171Z] unset SSH_AGENT_PID; [2022-04-15T08:03:40.171Z] echo Agent pid 19 killed; [2022-04-15T08:03:40.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-15T08:03:40.491Z] + git semver [Pipeline] } [2022-04-15T08:03:40.514Z] $ docker stop --time=1 cab10b87ecea523ed430fd5e144f110d5e37e0b0f37182396d44b9cd59854922 [2022-04-15T08:03:41.807Z] $ docker rm -f cab10b87ecea523ed430fd5e144f110d5e37e0b0f37182396d44b9cd59854922 [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-04-15T08:03:42.520Z] + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] [2022-04-15T08:03:42.520Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-15T08:03:42.520Z] total 16 [2022-04-15T08:03:42.520Z] drwxr-xr-x 3 root root 4096 Apr 15 07:51 . [2022-04-15T08:03:42.520Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 15 08:03 .. [2022-04-15T08:03:42.520Z] drwxr-xr-x 2 root root 4096 Apr 15 07:51 cost [2022-04-15T08:03:42.520Z] -rw-r--r-- 1 root root 83 Apr 15 07:51 cost.csv [2022-04-15T08:03:42.520Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-15T08:03:42.520Z] + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives [2022-04-15T08:03:42.520Z] total 16 [2022-04-15T08:03:42.520Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 07:51 . [2022-04-15T08:03:42.520Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 15 08:03 .. [2022-04-15T08:03:42.520Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 07:51 cost [2022-04-15T08:03:42.520Z] -rw-r--r-- 1 jenkins jenkins 83 Apr 15 07:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:42.844Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:43.715Z] ---> package-listing.sh [2022-04-15T08:03:43.715Z] ++ facter osfamily [2022-04-15T08:03:43.715Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-15T08:03:43.975Z] + OS_FAMILY=debian [2022-04-15T08:03:43.976Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2022-04-15T08:03:43.976Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-15T08:03:43.976Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-15T08:03:43.976Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-15T08:03:43.976Z] + PACKAGES=/tmp/packages_start.txt [2022-04-15T08:03:43.976Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-15T08:03:43.976Z] + PACKAGES=/tmp/packages_end.txt [2022-04-15T08:03:43.976Z] + case "${OS_FAMILY}" in [2022-04-15T08:03:43.976Z] + dpkg -l [2022-04-15T08:03:43.976Z] + grep '^ii' [2022-04-15T08:03:43.976Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-15T08:03:43.976Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-15T08:03:43.976Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-15T08:03:43.976Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2022-04-15T08:03:43.976Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2022-04-15T08:03:43.976Z] + 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-04-15T08:03:43.988Z] 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-04-15T08:03:44.267Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-15T08:03:44.821Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-15T08:03:44.821Z] . [Pipeline] withDockerContainer [2022-04-15T08:03:44.887Z] prd-ubuntu20.04-docker-8c-8g-21048 does not seem to be running inside a container [2022-04-15T08:03:44.929Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-15T08:03:45.206Z] $ docker top b0345ebc4e5ae1f4f1c268a3f7336e290d334cbe32a3e2ca1876326abd40ad2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-15T08:03:45.557Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-15T08:03:45.846Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-15T08:03:46.133Z] + ls /var/log/sa-host [2022-04-15T08:03:46.133Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-15T08:03:46.343Z] provisioning config files... [2022-04-15T08:03:46.352Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2508211834794386253tmp [Pipeline] { [Pipeline] echo [2022-04-15T08:03:46.369Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:46.651Z] ---> create-netrc.sh [Pipeline] } [2022-04-15T08:03:46.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:47.004Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-15T08:03:47.014Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:47.302Z] ---> sudo-logs.sh [2022-04-15T08:03:47.302Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-15T08:03:47.336Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:47.622Z] ---> job-cost.sh [2022-04-15T08:03:47.623Z] lf-activate-venv: SKIPPING [2022-04-15T08:03:47.623Z] DEBUG: total: 0.2199999988079071 [2022-04-15T08:03:47.623Z] INFO: Retrieving Stack Cost... [2022-04-15T08:03:48.193Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-15T08:03:48.453Z] INFO: Archiving Costs [Pipeline] echo [2022-04-15T08:03:48.466Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-15T08:03:48.752Z] ---> logs-deploy.sh [2022-04-15T08:03:48.752Z] lf-activate-venv: SKIPPING [2022-04-15T08:03:48.752Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/61 [2022-04-15T08:03:48.752Z] INFO: archiving workspace using pattern(s): [2022-04-15T08:03:49.693Z] Archives upload complete. [2022-04-15T08:03:49.693Z] INFO: archiving logs to Nexus