Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh1084479682981372427.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh6532521306173394152.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh4005726172002171229.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh6157957137857968921.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh5292395054318962242.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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: [[centos7-docker-4c-2g, ubuntu18.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.16 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-621 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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.24.4' 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 /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh5401035876152672788.key > 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 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d (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 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 Commit message: "Merge pull request #1068 from cloudxxx8/issue-1059-main" > git rev-list --no-walk 4b2e95d20a613354a099f2d3b470b286784662ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-15T15:29:05.165Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-15T15:29:05.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-15T15:29:05.224Z] ========================================================= [2021-11-15T15:29:05.224Z] EdgeX Global Pipelines Version Info [2021-11-15T15:29:05.224Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:29:06.802Z] ------------------- [2021-11-15T15:29:06.802Z] stable info: [2021-11-15T15:29:06.802Z] ------------------- [2021-11-15T15:29:06.802Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-15T15:29:06.802Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T15:29:06.802Z] Message: update stable to v1.0.215 [2021-11-15T15:29:07.379Z] ------------------- [2021-11-15T15:29:07.379Z] experimental info: [2021-11-15T15:29:07.379Z] ------------------- [2021-11-15T15:29:07.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-15T15:29:07.379Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T15:29:07.379Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-15T15:29:07.469Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-15T15:29:07.504Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-15T15:29:07.512Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-15T15:29:07.521Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-15T15:29:07.532Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-15T15:29:07.542Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-15T15:29:07.556Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-15T15:29:07.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-15T15:29:07.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-15T15:29:07.587Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-15T15:29:07.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-15T15:29:07.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-15T15:29:07.622Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-15T15:29:07.635Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-15T15:29:07.646Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T15:29:07.657Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T15:29:07.668Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T15:29:07.680Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T15:29:07.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-15T15:29:07.704Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-15T15:29:07.717Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-15T15:29:07.728Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-15T15:29:07.740Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-15T15:29:07.751Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-15T15:29:07.765Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-15T15:29:07.776Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-15T15:29:07.787Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-15T15:29:07.798Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-15T15:29:07.808Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-15T15:29:07.820Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] echo [2021-11-15T15:29:07.831Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34c01bf [Pipeline] echo [2021-11-15T15:29:07.844Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:29:07.888Z] provisioning config files... [2021-11-15T15:29:07.905Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8870642331467054009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:29:08.225Z] ---> docker-login.sh [2021-11-15T15:29:08.225Z] nexus3.edgexfoundry.org:10001 [2021-11-15T15:29:08.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:29:08.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:29:08.486Z] Configure a credential helper to remove this warning. See [2021-11-15T15:29:08.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:29:08.486Z] [2021-11-15T15:29:08.486Z] Login Succeeded [2021-11-15T15:29:08.486Z] nexus3.edgexfoundry.org:10002 [2021-11-15T15:29:08.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:29:08.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:29:08.486Z] Configure a credential helper to remove this warning. See [2021-11-15T15:29:08.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:29:08.487Z] [2021-11-15T15:29:08.487Z] Login Succeeded [2021-11-15T15:29:08.487Z] nexus3.edgexfoundry.org:10003 [2021-11-15T15:29:08.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:29:08.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:29:08.754Z] Configure a credential helper to remove this warning. See [2021-11-15T15:29:08.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:29:08.754Z] [2021-11-15T15:29:08.754Z] Login Succeeded [2021-11-15T15:29:08.754Z] nexus3.edgexfoundry.org:10004 [2021-11-15T15:29:08.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:29:08.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:29:08.754Z] Configure a credential helper to remove this warning. See [2021-11-15T15:29:08.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:29:08.754Z] [2021-11-15T15:29:08.754Z] Login Succeeded [2021-11-15T15:29:08.754Z] docker.io [2021-11-15T15:29:08.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:29:09.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:29:09.327Z] Configure a credential helper to remove this warning. See [2021-11-15T15:29:09.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:29:09.327Z] [2021-11-15T15:29:09.327Z] Login Succeeded [2021-11-15T15:29:09.327Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T15:29:09.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-15T15:29:09.783Z] + git rev-list -1 --merges 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d~1..34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] echo [2021-11-15T15:29:09.817Z] -----------> git rev-list -1 --merges 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d~1..34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [2021-11-15T15:29:09.817Z] 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [false] [Pipeline] sh [2021-11-15T15:29:10.114Z] + git log --format=format:%s -1 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] echo [2021-11-15T15:29:10.128Z] ========================================================= [2021-11-15T15:29:10.128Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-15T15:29:10.128Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T15:29:10.472Z] + git log --format=format:%s -1 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] echo [2021-11-15T15:29:10.487Z] [semverPrep] GIT_COMMIT: 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d, Commit Message: Merge pull request #1068 from cloudxxx8/issue-1059-main [Pipeline] echo [2021-11-15T15:29:10.497Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:29:11.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:29:11.095Z] [2021-11-15T15:29:11.095Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:29:11.444Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:29:11.444Z] latest: Pulling from edgex-devops/git-semver [2021-11-15T15:29:11.444Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T15:29:11.444Z] 3e5f54012d9b: Pulling fs layer [2021-11-15T15:29:11.444Z] 4c7163046ea9: Pulling fs layer [2021-11-15T15:29:11.444Z] 0c2d73faf560: Pulling fs layer [2021-11-15T15:29:11.444Z] 0c2d73faf560: Waiting [2021-11-15T15:29:11.444Z] 3e5f54012d9b: Verifying Checksum [2021-11-15T15:29:11.444Z] 3e5f54012d9b: Download complete [2021-11-15T15:29:11.444Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T15:29:11.444Z] a0d0a0d46f8b: Download complete [2021-11-15T15:29:11.719Z] 4c7163046ea9: Verifying Checksum [2021-11-15T15:29:11.719Z] 4c7163046ea9: Download complete [2021-11-15T15:29:11.719Z] 0c2d73faf560: Verifying Checksum [2021-11-15T15:29:11.719Z] 0c2d73faf560: Download complete [2021-11-15T15:29:11.719Z] a0d0a0d46f8b: Pull complete [2021-11-15T15:29:11.719Z] 3e5f54012d9b: Pull complete [2021-11-15T15:29:11.987Z] 4c7163046ea9: Pull complete [2021-11-15T15:29:12.251Z] 0c2d73faf560: Pull complete [2021-11-15T15:29:12.251Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-15T15:29:12.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:29:12.251Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-15T15:29:12.324Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:29:12.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-15T15:29:13.003Z] $ docker top e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T15:29:13.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T15:29:13.104Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T15:29:13.216Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T15:29:13.216Z] $ docker exec e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 ssh-agent [2021-11-15T15:29:13.318Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmpHjbm/agent.13 [2021-11-15T15:29:13.318Z] SSH_AGENT_PID=19 [2021-11-15T15:29:13.327Z] Running ssh-add (command line suppressed) [2021-11-15T15:29:13.421Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4942170237867239159.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4942170237867239159.key) [2021-11-15T15:29:13.441Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T15:29:13.735Z] + git tag --points-at HEAD [Pipeline] } [2021-11-15T15:29:13.746Z] $ docker exec --env ******** --env ******** e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 ssh-agent -k [2021-11-15T15:29:13.838Z] unset SSH_AUTH_SOCK; [2021-11-15T15:29:13.839Z] unset SSH_AGENT_PID; [2021-11-15T15:29:13.839Z] echo Agent pid 19 killed; [2021-11-15T15:29:13.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-15T15:29:13.875Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T15:29:13.875Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T15:29:13.994Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T15:29:13.993Z] $ docker exec e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 ssh-agent [2021-11-15T15:29:14.095Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjPIHjn/agent.53 [2021-11-15T15:29:14.095Z] SSH_AGENT_PID=59 [2021-11-15T15:29:14.103Z] Running ssh-add (command line suppressed) [2021-11-15T15:29:14.188Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3192166924305262934.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3192166924305262934.key) [2021-11-15T15:29:14.205Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T15:29:14.503Z] + git semver init [2021-11-15T15:29:14.503Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T15:29:14.503Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-15T15:29:14.503Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:29:14.503Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T15:29:14.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T15:29:14.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T15:29:14.503Z] # $SEMVER_BRANCH = main [2021-11-15T15:29:14.503Z] # $SEMVER_TEMP = /tmp/semver-108479861 [2021-11-15T15:29:14.503Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-15T15:29:15.446Z] # '/tmp/semver-108479861' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-15T15:29:15.447Z] # -> Force: false [2021-11-15T15:29:15.447Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-15T15:29:15.453Z] $ docker exec --env ******** --env ******** e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 ssh-agent -k [2021-11-15T15:29:15.567Z] unset SSH_AUTH_SOCK; [2021-11-15T15:29:15.567Z] unset SSH_AGENT_PID; [2021-11-15T15:29:15.567Z] echo Agent pid 59 killed; [2021-11-15T15:29:15.583Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T15:29:15.897Z] + git semver [Pipeline] } [2021-11-15T15:29:15.909Z] $ docker stop --time=1 e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 [2021-11-15T15:29:17.195Z] $ docker rm -f e791c9471d44d9a2eac429a39f5ef6357383a22981da6484811cc7610bb9e7f0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T15:29:17.554Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-15T15:29:17.802Z] Stashed 1 file(s) [Pipeline] echo [2021-11-15T15:29:17.806Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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] node [Pipeline] node [2021-11-15T15:29:32.930Z] Still waiting to schedule task [2021-11-15T15:29:32.931Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-621’ [2021-11-15T15:29:32.932Z] Still waiting to schedule task [2021-11-15T15:29:32.932Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-15T15:31:03.598Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-622 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-15T15:31:03.611Z] Running in /w/workspace/device-sdk-go/33 [Pipeline] { [Pipeline] checkout [2021-11-15T15:31:03.797Z] Selected Git installation does not exist. Using Default [2021-11-15T15:31:03.797Z] The recommended git tool is: NONE [2021-11-15T15:31:08.818Z] using credential edgex-jenkins-ssh [2021-11-15T15:31:08.835Z] Cloning the remote Git repository [2021-11-15T15:31:08.883Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-15T15:31:08.990Z] > git init /w/workspace/device-sdk-go/33 # timeout=10 [2021-11-15T15:31:09.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-15T15:31:09.161Z] > git --version # timeout=10 [2021-11-15T15:31:09.204Z] > git --version # 'git version 2.17.1' [2021-11-15T15:31:09.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T15:31:09.285Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T15:31:11.036Z] Running on prd-centos7-docker-4c-2g-624 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-15T15:31:11.048Z] Running in /w/workspace/device-sdk-go/33 [Pipeline] { [Pipeline] checkout [2021-11-15T15:31:11.122Z] Selected Git installation does not exist. Using Default [2021-11-15T15:31:11.122Z] The recommended git tool is: NONE [2021-11-15T15:31:11.430Z] Avoid second fetch [2021-11-15T15:31:11.430Z] Checking out Revision 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d (main) [2021-11-15T15:31:11.378Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-15T15:31:11.407Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T15:31:11.444Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T15:31:11.457Z] > git checkout -f 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [2021-11-15T15:31:13.061Z] using credential edgex-jenkins-ssh [2021-11-15T15:31:13.080Z] Cloning the remote Git repository [2021-11-15T15:31:12.760Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-15T15:31:12.825Z] > git init /w/workspace/device-sdk-go/33 # timeout=10 [2021-11-15T15:31:12.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-15T15:31:12.861Z] > git --version # timeout=10 [2021-11-15T15:31:12.875Z] > git --version # 'git version 2.24.4' [2021-11-15T15:31:12.875Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T15:31:12.901Z] [INFO] Currently running in a labeled security context [2021-11-15T15:31:12.901Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T15:31:12.902Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/33@tmp/jenkins-gitclient-ssh6495282195321431535.key [2021-11-15T15:31:12.923Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T15:31:15.640Z] Commit message: "Merge pull request #1068 from cloudxxx8/issue-1059-main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T15:31:16.513Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-15T15:31:16.513Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T15:31:16.513Z] Dload Upload Total Spent Left Speed [2021-11-15T15:31:16.513Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 56846 0 --:--:-- --:--:-- --:--:-- 56846 [Pipeline] sh [2021-11-15T15:31:16.696Z] Avoid second fetch [2021-11-15T15:31:16.696Z] Checking out Revision 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d (main) [2021-11-15T15:31:16.337Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-15T15:31:16.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T15:31:16.364Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T15:31:16.375Z] > git checkout -f 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d # timeout=10 [2021-11-15T15:31:16.948Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-15T15:31:17.297Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2021-11-15T15:31:17.297Z] sudo tee /etc/docker/daemon.new [2021-11-15T15:31:17.297Z] { [2021-11-15T15:31:17.297Z] "registry-mirrors": [ [2021-11-15T15:31:17.297Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-15T15:31:17.297Z] ], [2021-11-15T15:31:17.297Z] "bip": "10.250.0.254/24", [2021-11-15T15:31:17.297Z] "hosts": [ [2021-11-15T15:31:17.297Z] "tcp://0.0.0.0:5555", [2021-11-15T15:31:17.297Z] "unix:///var/run/docker.sock" [2021-11-15T15:31:17.297Z] ], [2021-11-15T15:31:17.297Z] "mtu": 1458, [2021-11-15T15:31:17.297Z] "selinux-enabled": true, [2021-11-15T15:31:17.297Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-15T15:31:17.297Z] } [Pipeline] sh [2021-11-15T15:31:17.654Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-15T15:31:17.994Z] + sudo service docker restart [2021-11-15T15:31:20.368Z] Commit message: "Merge pull request #1068 from cloudxxx8/issue-1059-main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:31:20.808Z] provisioning config files... [2021-11-15T15:31:20.825Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/33@tmp/config963080574308145301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:31:21.242Z] ---> docker-login.sh [2021-11-15T15:31:21.242Z] nexus3.edgexfoundry.org:10001 [2021-11-15T15:31:21.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:21.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:21.242Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:21.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:21.242Z] [2021-11-15T15:31:21.242Z] Login Succeeded [2021-11-15T15:31:21.242Z] nexus3.edgexfoundry.org:10002 [2021-11-15T15:31:21.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:21.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:21.508Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:21.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:21.508Z] [2021-11-15T15:31:21.508Z] Login Succeeded [2021-11-15T15:31:21.508Z] nexus3.edgexfoundry.org:10003 [2021-11-15T15:31:21.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:21.774Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:21.774Z] [2021-11-15T15:31:21.774Z] Login Succeeded [2021-11-15T15:31:21.774Z] nexus3.edgexfoundry.org:10004 [2021-11-15T15:31:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:21.774Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:21.774Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:21.774Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:21.774Z] [2021-11-15T15:31:21.774Z] Login Succeeded [2021-11-15T15:31:21.774Z] docker.io [2021-11-15T15:31:21.774Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:22.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:22.351Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:22.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:22.351Z] [2021-11-15T15:31:22.351Z] Login Succeeded [2021-11-15T15:31:22.351Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T15:31:22.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T15:31:22.527Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T15:31:22.535Z] ========================================================= [2021-11-15T15:31:22.535Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-15T15:31:22.535Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:31:22.841Z] + 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.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-15T15:31:22.842Z] Sending build context to Docker daemon 4.947MB [2021-11-15T15:31:22.842Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T15:31:22.842Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-15T15:31:22.842Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-15T15:31:22.842Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T15:31:22.842Z] 31adcdaf11c8: Pulling fs layer [2021-11-15T15:31:22.842Z] b8b176561691: Pulling fs layer [2021-11-15T15:31:22.842Z] 4527c011a84f: Pulling fs layer [2021-11-15T15:31:22.842Z] 5d74067f8e1e: Pulling fs layer [2021-11-15T15:31:22.842Z] e0aca202a116: Pulling fs layer [2021-11-15T15:31:22.842Z] 3a43be97a3b4: Pulling fs layer [2021-11-15T15:31:22.842Z] 34cad66bf833: Pulling fs layer [2021-11-15T15:31:22.842Z] b4e3c513aaa6: Pulling fs layer [2021-11-15T15:31:22.842Z] 5d74067f8e1e: Waiting [2021-11-15T15:31:22.842Z] e0aca202a116: Waiting [2021-11-15T15:31:22.842Z] 4527c011a84f: Waiting [2021-11-15T15:31:22.842Z] 3a43be97a3b4: Waiting [2021-11-15T15:31:22.842Z] 34cad66bf833: Waiting [2021-11-15T15:31:22.842Z] b4e3c513aaa6: Waiting [2021-11-15T15:31:22.842Z] b8b176561691: Verifying Checksum [2021-11-15T15:31:22.842Z] b8b176561691: Download complete [2021-11-15T15:31:22.842Z] 31adcdaf11c8: Verifying Checksum [2021-11-15T15:31:22.842Z] 31adcdaf11c8: Download complete [2021-11-15T15:31:23.110Z] 5d74067f8e1e: Verifying Checksum [2021-11-15T15:31:23.110Z] 5d74067f8e1e: Download complete [2021-11-15T15:31:23.110Z] e0aca202a116: Verifying Checksum [2021-11-15T15:31:23.110Z] e0aca202a116: Download complete [2021-11-15T15:31:23.110Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T15:31:23.110Z] a0d0a0d46f8b: Download complete [2021-11-15T15:31:23.110Z] 3a43be97a3b4: Verifying Checksum [2021-11-15T15:31:23.110Z] 3a43be97a3b4: Download complete [2021-11-15T15:31:23.110Z] 34cad66bf833: Verifying Checksum [2021-11-15T15:31:23.110Z] 34cad66bf833: Download complete [2021-11-15T15:31:23.696Z] 4527c011a84f: Verifying Checksum [2021-11-15T15:31:23.696Z] 4527c011a84f: Download complete [2021-11-15T15:31:23.696Z] b4e3c513aaa6: Verifying Checksum [2021-11-15T15:31:23.696Z] b4e3c513aaa6: Download complete [2021-11-15T15:31:23.696Z] a0d0a0d46f8b: Pull complete [2021-11-15T15:31:23.696Z] 31adcdaf11c8: Pull complete [2021-11-15T15:31:23.959Z] b8b176561691: Pull complete [2021-11-15T15:31:28.214Z] 4527c011a84f: Pull complete [2021-11-15T15:31:28.214Z] 5d74067f8e1e: Pull complete [2021-11-15T15:31:28.214Z] e0aca202a116: Pull complete [2021-11-15T15:31:28.214Z] 3a43be97a3b4: Pull complete [2021-11-15T15:31:28.214Z] 34cad66bf833: Pull complete [2021-11-15T15:31:31.539Z] b4e3c513aaa6: Pull complete [2021-11-15T15:31:31.539Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-15T15:31:31.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-15T15:31:31.539Z] ---> 9f6097aaca64 [2021-11-15T15:31:31.539Z] Step 3/10 : ARG MAKE=make build [2021-11-15T15:31:33.465Z] ---> Running in 61c3db7f7cbf [2021-11-15T15:31:33.465Z] Removing intermediate container 61c3db7f7cbf [2021-11-15T15:31:33.465Z] ---> 09137caeb3b3 [2021-11-15T15:31:33.465Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-15T15:31:33.465Z] ---> Running in 4bc5ace26885 [2021-11-15T15:31:33.465Z] Removing intermediate container 4bc5ace26885 [2021-11-15T15:31:33.465Z] ---> 058aaa1ebc39 [2021-11-15T15:31:33.465Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:31:33.465Z] ---> Running in 2ee927c084fc [2021-11-15T15:31:33.734Z] Removing intermediate container 2ee927c084fc [2021-11-15T15:31:33.734Z] ---> 4eb142a5bab3 [2021-11-15T15:31:33.734Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:31:33.734Z] ---> Running in 916859c0ad6b [2021-11-15T15:31:34.313Z] Removing intermediate container 916859c0ad6b [2021-11-15T15:31:34.313Z] ---> 59711ddbc86d [2021-11-15T15:31:34.313Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-15T15:31:34.313Z] ---> Running in 606cc0360a24 [2021-11-15T15:31:34.578Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T15:31:35.523Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T15:31:35.788Z] OK: 220 MiB in 52 packages [2021-11-15T15:31:36.052Z] Removing intermediate container 606cc0360a24 [2021-11-15T15:31:36.052Z] ---> d3f24327cf94 [2021-11-15T15:31:36.052Z] Step 8/10 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:31:36.297Z] provisioning config files... [2021-11-15T15:31:36.313Z] ---> 7f54065b787c [2021-11-15T15:31:36.313Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T15:31:36.313Z] ---> Running in be884beb3128 [2021-11-15T15:31:36.319Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/33@tmp/config6901726377684879050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:31:36.674Z] ---> docker-login.sh [2021-11-15T15:31:36.674Z] nexus3.edgexfoundry.org:10001 [2021-11-15T15:31:37.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:37.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:37.587Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:37.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:37.587Z] [2021-11-15T15:31:37.587Z] Login Succeeded [2021-11-15T15:31:37.863Z] nexus3.edgexfoundry.org:10002 [2021-11-15T15:31:38.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:38.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:38.134Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:38.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:38.134Z] [2021-11-15T15:31:38.134Z] Login Succeeded [2021-11-15T15:31:38.134Z] nexus3.edgexfoundry.org:10003 [2021-11-15T15:31:38.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:38.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:38.680Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:38.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:38.680Z] [2021-11-15T15:31:38.680Z] Login Succeeded [2021-11-15T15:31:38.680Z] nexus3.edgexfoundry.org:10004 [2021-11-15T15:31:38.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:39.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:39.222Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:39.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:39.222Z] [2021-11-15T15:31:39.222Z] Login Succeeded [2021-11-15T15:31:39.222Z] docker.io [2021-11-15T15:31:39.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T15:31:40.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T15:31:40.079Z] Configure a credential helper to remove this warning. See [2021-11-15T15:31:40.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T15:31:40.079Z] [2021-11-15T15:31:40.079Z] Login Succeeded [2021-11-15T15:31:40.079Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T15:31:40.096Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T15:31:40.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T15:31:40.354Z] ========================================================= [2021-11-15T15:31:40.354Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-15T15:31:40.354Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:31:40.695Z] + 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.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-15T15:31:40.967Z] Sending build context to Docker daemon 4.946MB [2021-11-15T15:31:41.240Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T15:31:41.240Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-15T15:31:41.240Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-15T15:31:41.240Z] 552d1f2373af: Pulling fs layer [2021-11-15T15:31:41.240Z] ea3f2d53f512: Pulling fs layer [2021-11-15T15:31:41.240Z] 9e70ebbbe112: Pulling fs layer [2021-11-15T15:31:41.240Z] 7a9cfe048b4a: Pulling fs layer [2021-11-15T15:31:41.240Z] 72dc09318566: Pulling fs layer [2021-11-15T15:31:41.240Z] f4f7b4309257: Pulling fs layer [2021-11-15T15:31:41.240Z] 0ac9a79272e3: Pulling fs layer [2021-11-15T15:31:41.240Z] b78e95d17946: Pulling fs layer [2021-11-15T15:31:41.240Z] 7a9cfe048b4a: Waiting [2021-11-15T15:31:41.240Z] 72dc09318566: Waiting [2021-11-15T15:31:41.240Z] f4f7b4309257: Waiting [2021-11-15T15:31:41.240Z] 0ac9a79272e3: Waiting [2021-11-15T15:31:41.240Z] b78e95d17946: Waiting [2021-11-15T15:31:41.240Z] 9e70ebbbe112: Verifying Checksum [2021-11-15T15:31:41.240Z] 9e70ebbbe112: Download complete [2021-11-15T15:31:41.240Z] ea3f2d53f512: Verifying Checksum [2021-11-15T15:31:41.240Z] ea3f2d53f512: Download complete [2021-11-15T15:31:41.240Z] 72dc09318566: Verifying Checksum [2021-11-15T15:31:41.240Z] 72dc09318566: Download complete [2021-11-15T15:31:41.514Z] f4f7b4309257: Verifying Checksum [2021-11-15T15:31:41.514Z] f4f7b4309257: Download complete [2021-11-15T15:31:41.514Z] 552d1f2373af: Download complete [2021-11-15T15:31:41.514Z] 0ac9a79272e3: Verifying Checksum [2021-11-15T15:31:41.514Z] 0ac9a79272e3: Download complete [2021-11-15T15:31:42.117Z] 552d1f2373af: Pull complete [2021-11-15T15:31:42.720Z] ea3f2d53f512: Pull complete [2021-11-15T15:31:43.325Z] 9e70ebbbe112: Pull complete [2021-11-15T15:31:43.325Z] b78e95d17946: Verifying Checksum [2021-11-15T15:31:43.325Z] b78e95d17946: Download complete [2021-11-15T15:31:43.598Z] 7a9cfe048b4a: Verifying Checksum [2021-11-15T15:31:43.598Z] 7a9cfe048b4a: Download complete [2021-11-15T15:31:53.753Z] 7a9cfe048b4a: Pull complete [2021-11-15T15:31:54.026Z] 72dc09318566: Pull complete [2021-11-15T15:31:54.620Z] f4f7b4309257: Pull complete [2021-11-15T15:31:54.895Z] 0ac9a79272e3: Pull complete [2021-11-15T15:32:01.620Z] b78e95d17946: Pull complete [2021-11-15T15:32:01.620Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-15T15:32:01.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-15T15:32:01.620Z] ---> 8b459fc5aaf0 [2021-11-15T15:32:01.620Z] Step 3/10 : ARG MAKE=make build [2021-11-15T15:32:02.598Z] ---> Running in 21c667143716 [2021-11-15T15:32:02.873Z] Removing intermediate container 21c667143716 [2021-11-15T15:32:02.873Z] ---> c5b41f66ec4e [2021-11-15T15:32:02.873Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-15T15:32:02.873Z] ---> Running in 2e65ebd8f6a0 [2021-11-15T15:32:03.467Z] Removing intermediate container 2e65ebd8f6a0 [2021-11-15T15:32:03.467Z] ---> adfbf79cc2d0 [2021-11-15T15:32:03.467Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:32:03.467Z] ---> Running in bca0bce9fdbd [2021-11-15T15:32:04.061Z] Removing intermediate container bca0bce9fdbd [2021-11-15T15:32:04.061Z] ---> af25eb2fdc7f [2021-11-15T15:32:04.061Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:32:04.061Z] ---> Running in 91fd498872a2 [2021-11-15T15:32:06.044Z] Removing intermediate container 91fd498872a2 [2021-11-15T15:32:06.044Z] ---> a3b2f0a22974 [2021-11-15T15:32:06.044Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-15T15:32:06.044Z] ---> Running in e4a00cba951f [2021-11-15T15:32:07.483Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T15:32:08.073Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T15:32:09.053Z] OK: 219 MiB in 52 packages [2021-11-15T15:32:10.037Z] Removing intermediate container e4a00cba951f [2021-11-15T15:32:10.037Z] ---> 05d915a9ba8e [2021-11-15T15:32:10.037Z] Step 8/10 : COPY . . [2021-11-15T15:32:11.021Z] ---> 1ed901542228 [2021-11-15T15:32:11.021Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T15:32:11.021Z] ---> Running in 2bdd8105f663 [2021-11-15T15:32:15.098Z] Removing intermediate container be884beb3128 [2021-11-15T15:32:15.098Z] ---> 6d886fcab437 [2021-11-15T15:32:15.098Z] Step 10/10 : RUN ${MAKE} [2021-11-15T15:32:15.098Z] ---> Running in c5e23955e043 [2021-11-15T15:32:15.098Z] noop [2021-11-15T15:32:15.098Z] Removing intermediate container c5e23955e043 [2021-11-15T15:32:15.098Z] ---> f85fef4de4d5 [2021-11-15T15:32:15.098Z] Successfully built f85fef4de4d5 [2021-11-15T15:32:15.098Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:32:15.401Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T15:32:15.401Z] . [Pipeline] withDockerContainer [2021-11-15T15:32:15.471Z] prd-centos7-docker-4c-2g-624 does not seem to be running inside a container [2021-11-15T15:32:15.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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 [2021-11-15T15:32:15.819Z] $ docker top 35bb64080a253ceb9842d0040e5c77d55fa1351c475b4944615d45b82cf8c848 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T15:32:16.178Z] + go version [2021-11-15T15:32:16.178Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-15T15:32:16.189Z] $ docker stop --time=1 35bb64080a253ceb9842d0040e5c77d55fa1351c475b4944615d45b82cf8c848 [2021-11-15T15:32:17.377Z] $ docker rm -f 35bb64080a253ceb9842d0040e5c77d55fa1351c475b4944615d45b82cf8c848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:32:17.911Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T15:32:17.911Z] . [Pipeline] withDockerContainer [2021-11-15T15:32:17.977Z] prd-centos7-docker-4c-2g-624 does not seem to be running inside a container [2021-11-15T15:32:18.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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 [2021-11-15T15:32:18.403Z] $ docker top 433335853e559e5f30592e0cbd2077bbdfc6a111832433cceb33b9e370af97c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T15:32:18.769Z] + make test [2021-11-15T15:32:18.769Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-15T15:32:24.088Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-15T15:32:46.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-15T15:32:46.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-15T15:32:46.149Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-15T15:32:48.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.062s coverage: 23.3% of statements [2021-11-15T15:32:48.079Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-15T15:32:48.079Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements [2021-11-15T15:32:48.668Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.052s coverage: 78.9% of statements [2021-11-15T15:32:48.932Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.051s coverage: 9.0% of statements [2021-11-15T15:32:48.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-15T15:32:48.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-15T15:32:48.932Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-15T15:32:49.900Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.078s coverage: 28.7% of statements [2021-11-15T15:32:49.900Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-15T15:32:50.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 83.3% of statements [2021-11-15T15:32:50.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-15T15:32:50.848Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-15T15:32:50.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.070s coverage: 57.8% of statements [2021-11-15T15:32:52.243Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.845s coverage: 89.2% of statements [2021-11-15T15:32:52.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-15T15:32:52.243Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.8% of statements [2021-11-15T15:32:52.243Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-15T15:32:52.243Z] GO111MODULE=on go vet ./... [2021-11-15T15:33:10.425Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T15:33:10.685Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T15:33:10.685Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-15T15:33:11.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-15T15:33:11.293Z] $ docker stop --time=1 433335853e559e5f30592e0cbd2077bbdfc6a111832433cceb33b9e370af97c7 [2021-11-15T15:33:12.740Z] $ docker rm -f 433335853e559e5f30592e0cbd2077bbdfc6a111832433cceb33b9e370af97c7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T15:33:13.197Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-15T15:33:13.400Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-15T15:33:14.705Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-15T15:33:15.002Z] + ls -al . [2021-11-15T15:33:15.002Z] total 264 [2021-11-15T15:33:15.002Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 15 15:33 . [2021-11-15T15:33:15.002Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 15 15:31 .. [2021-11-15T15:33:15.002Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 15 15:31 bin [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 15 15:31 CHANGELOG.md [2021-11-15T15:33:15.002Z] -rw-r--r--. 1 jenkins jenkins 128370 Nov 15 15:32 coverage.out [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 15 15:31 .dockerignore [2021-11-15T15:33:15.002Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 15 15:31 example [2021-11-15T15:33:15.002Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 15 15:31 .git [2021-11-15T15:33:15.002Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 15 15:31 .github [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 15 15:31 .gitignore [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 576 Nov 15 15:31 go.mod [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 15 15:31 go.sum [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 15 15:31 GOVERNANCE.md [2021-11-15T15:33:15.002Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 15 15:31 internal [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 15 15:31 Jenkinsfile [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 15 15:31 LICENSE [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 15 15:31 Makefile [2021-11-15T15:33:15.002Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 15 15:31 openapi [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 15 15:31 OWNERS.md [2021-11-15T15:33:15.002Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 15 15:31 pkg [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 4881 Nov 15 15:31 README.md [2021-11-15T15:33:15.002Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 15 15:31 snap [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 11 Nov 15 15:29 VERSION [2021-11-15T15:33:15.002Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 15 15:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:33:15.310Z] + 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=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d --label arch=amd64 --label version=2.2.0-dev.1 . [2021-11-15T15:33:15.310Z] Sending build context to Docker daemon 5.076MB [2021-11-15T15:33:15.310Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T15:33:15.310Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-15T15:33:15.310Z] ---> f85fef4de4d5 [2021-11-15T15:33:15.310Z] Step 3/24 : ARG MAKE=make build [2021-11-15T15:33:15.310Z] ---> Running in 6d136e17c390 [2021-11-15T15:33:15.310Z] Removing intermediate container 6d136e17c390 [2021-11-15T15:33:15.310Z] ---> 58f3d4accca5 [2021-11-15T15:33:15.310Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-15T15:33:15.574Z] ---> Running in af108a1a4b4a [2021-11-15T15:33:15.574Z] Removing intermediate container af108a1a4b4a [2021-11-15T15:33:15.574Z] ---> 042b0813ac1f [2021-11-15T15:33:15.574Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:33:15.574Z] ---> Running in 2ef2242f1d45 [2021-11-15T15:33:15.574Z] Removing intermediate container 2ef2242f1d45 [2021-11-15T15:33:15.574Z] ---> 602972e3541e [2021-11-15T15:33:15.574Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:33:15.574Z] ---> Running in 2d70daca3a11 [2021-11-15T15:33:16.145Z] Removing intermediate container 2d70daca3a11 [2021-11-15T15:33:16.145Z] ---> b89244b99a1e [2021-11-15T15:33:16.145Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-15T15:33:16.145Z] ---> Running in 19fac2671a4e [2021-11-15T15:33:16.405Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T15:33:17.355Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T15:33:17.618Z] OK: 220 MiB in 52 packages [2021-11-15T15:33:17.881Z] Removing intermediate container 19fac2671a4e [2021-11-15T15:33:17.881Z] ---> 59496d865532 [2021-11-15T15:33:17.881Z] Step 8/24 : COPY . . [2021-11-15T15:33:18.143Z] ---> 77111531e4ae [2021-11-15T15:33:18.143Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T15:33:18.143Z] ---> Running in 5636d4aabc40 [2021-11-15T15:33:18.726Z] Removing intermediate container 5636d4aabc40 [2021-11-15T15:33:18.726Z] ---> 8e9a65296a8d [2021-11-15T15:33:18.726Z] Step 10/24 : RUN ${MAKE} [2021-11-15T15:33:18.726Z] ---> Running in 7df91413c8f6 [2021-11-15T15:33:18.997Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-15T15:33:29.124Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-15T15:33:30.507Z] Removing intermediate container 7df91413c8f6 [2021-11-15T15:33:30.507Z] ---> 43ce62a7ba8f [2021-11-15T15:33:30.507Z] Step 11/24 : FROM alpine:3.14 [2021-11-15T15:33:32.832Z] Removing intermediate container 2bdd8105f663 [2021-11-15T15:33:32.832Z] ---> f3231d5d1ed1 [2021-11-15T15:33:32.832Z] Step 10/10 : RUN ${MAKE} [2021-11-15T15:33:32.832Z] ---> Running in af00e214c6ad [2021-11-15T15:33:32.832Z] noop [2021-11-15T15:33:32.832Z] Removing intermediate container af00e214c6ad [2021-11-15T15:33:32.832Z] ---> 9ca4c8ddc868 [2021-11-15T15:33:32.832Z] Successfully built 9ca4c8ddc868 [2021-11-15T15:33:32.832Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:33:33.179Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T15:33:33.180Z] . [Pipeline] withDockerContainer [2021-11-15T15:33:33.445Z] prd-ubuntu18.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2021-11-15T15:33:33.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T15:33:34.713Z] 3.14: Pulling from library/alpine [2021-11-15T15:33:34.713Z] 97518928ae5f: Pulling fs layer [2021-11-15T15:33:34.992Z] $ docker top d9de580251d892d9c35464c110b28ed615aa39ec4da650a2059e16679f667c70 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T15:33:35.661Z] 97518928ae5f: Verifying Checksum [2021-11-15T15:33:35.661Z] 97518928ae5f: Download complete [2021-11-15T15:33:35.661Z] 97518928ae5f: Pull complete [2021-11-15T15:33:35.661Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-15T15:33:35.661Z] Status: Downloaded newer image for alpine:3.14 [2021-11-15T15:33:35.661Z] ---> 0a97eee8041e [2021-11-15T15:33:35.661Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:33:35.661Z] ---> Running in 7bfc932cd0f8 [2021-11-15T15:33:35.661Z] Removing intermediate container 7bfc932cd0f8 [2021-11-15T15:33:35.661Z] ---> dc37bf88c4d5 [2021-11-15T15:33:35.661Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:33:35.661Z] ---> Running in f70c449ca008 [2021-11-15T15:33:35.930Z] + go version [2021-11-15T15:33:35.930Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-15T15:33:35.944Z] $ docker stop --time=1 d9de580251d892d9c35464c110b28ed615aa39ec4da650a2059e16679f667c70 [2021-11-15T15:33:36.241Z] Removing intermediate container f70c449ca008 [2021-11-15T15:33:36.241Z] ---> 10d9baf0a8ea [2021-11-15T15:33:36.241Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-15T15:33:36.241Z] ---> Running in 16e44f81cf35 [2021-11-15T15:33:36.502Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T15:33:37.448Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T15:33:37.657Z] $ docker rm -f d9de580251d892d9c35464c110b28ed615aa39ec4da650a2059e16679f667c70 [2021-11-15T15:33:37.707Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-15T15:33:37.708Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-15T15:33:37.708Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2021-11-15T15:33:37.971Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-15T15:33:37.971Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-15T15:33:37.971Z] Executing busybox-1.33.1-r6.trigger [2021-11-15T15:33:37.971Z] OK: 8 MiB in 19 packages [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:33:38.238Z] Removing intermediate container 16e44f81cf35 [2021-11-15T15:33:38.238Z] ---> 86072bdac9b4 [2021-11-15T15:33:38.238Z] Step 15/24 : WORKDIR / [2021-11-15T15:33:38.238Z] ---> Running in 5658f98c63ff [2021-11-15T15:33:38.355Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T15:33:38.355Z] . [Pipeline] withDockerContainer [2021-11-15T15:33:38.503Z] Removing intermediate container 5658f98c63ff [2021-11-15T15:33:38.503Z] ---> 6f81e1c64621 [2021-11-15T15:33:38.503Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-15T15:33:38.503Z] ---> 4dca0aaf494b [2021-11-15T15:33:38.503Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-15T15:33:38.584Z] prd-ubuntu18.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2021-11-15T15:33:38.656Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T15:33:38.764Z] ---> 7a9c4b5b5c1e [2021-11-15T15:33:38.764Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-15T15:33:39.035Z] ---> d237c9a4c496 [2021-11-15T15:33:39.035Z] Step 19/24 : EXPOSE 59999 [2021-11-15T15:33:39.035Z] ---> Running in 2a8692feef35 [2021-11-15T15:33:39.035Z] Removing intermediate container 2a8692feef35 [2021-11-15T15:33:39.035Z] ---> 05a8ea8a8dcf [2021-11-15T15:33:39.035Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-15T15:33:39.035Z] ---> Running in d972c8f31c20 [2021-11-15T15:33:39.300Z] Removing intermediate container d972c8f31c20 [2021-11-15T15:33:39.300Z] ---> cdfb65987ab0 [2021-11-15T15:33:39.300Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-15T15:33:39.300Z] ---> Running in 7ec07b44019d [2021-11-15T15:33:39.300Z] Removing intermediate container 7ec07b44019d [2021-11-15T15:33:39.300Z] ---> 2f7346b1c85a [2021-11-15T15:33:39.300Z] Step 22/24 : LABEL arch=amd64 [2021-11-15T15:33:39.300Z] ---> Running in 9a5a7c16f63a [2021-11-15T15:33:39.567Z] Removing intermediate container 9a5a7c16f63a [2021-11-15T15:33:39.567Z] ---> d9e9e55ea1a7 [2021-11-15T15:33:39.567Z] Step 23/24 : LABEL git_sha=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [2021-11-15T15:33:39.567Z] ---> Running in ea5b6ed4616c [2021-11-15T15:33:39.567Z] Removing intermediate container ea5b6ed4616c [2021-11-15T15:33:39.567Z] ---> 0f9729e1e78a [2021-11-15T15:33:39.567Z] Step 24/24 : LABEL version=2.2.0-dev.1 [2021-11-15T15:33:39.567Z] ---> Running in dd640a4213d8 [2021-11-15T15:33:39.567Z] Removing intermediate container dd640a4213d8 [2021-11-15T15:33:39.567Z] ---> c45c7b2cc800 [2021-11-15T15:33:39.567Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-15T15:33:39.567Z] Successfully built c45c7b2cc800 [2021-11-15T15:33:39.567Z] Successfully tagged device-sdk-simple:latest [2021-11-15T15:33:40.101Z] $ docker top c48d38e409c8d32c059e4908099bf38576088b02dbe73039885926c5e30f4454 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] fileExists [Pipeline] // stage [Pipeline] sh [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 [2021-11-15T15:33:41.128Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:33:41.128Z] [2021-11-15T15:33:41.128Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:33:41.167Z] + make test [2021-11-15T15:33:41.167Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-15T15:33:41.438Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:33:41.438Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T15:33:41.438Z] b4d181a07f80: Pulling fs layer [2021-11-15T15:33:41.438Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T15:33:41.438Z] ed53099fbce6: Pulling fs layer [2021-11-15T15:33:41.438Z] dc539afda2c1: Pulling fs layer [2021-11-15T15:33:41.438Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T15:33:41.438Z] 9065ff56babe: Pulling fs layer [2021-11-15T15:33:41.438Z] d287ab97295c: Pulling fs layer [2021-11-15T15:33:41.438Z] dc539afda2c1: Waiting [2021-11-15T15:33:41.438Z] 77bc0d833cb6: Waiting [2021-11-15T15:33:41.438Z] 9065ff56babe: Waiting [2021-11-15T15:33:41.438Z] d287ab97295c: Waiting [2021-11-15T15:33:41.438Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T15:33:41.438Z] a1111a8f2ec3: Download complete [2021-11-15T15:33:41.438Z] dc539afda2c1: Verifying Checksum [2021-11-15T15:33:41.438Z] dc539afda2c1: Download complete [2021-11-15T15:33:41.438Z] ed53099fbce6: Verifying Checksum [2021-11-15T15:33:41.438Z] ed53099fbce6: Download complete [2021-11-15T15:33:41.438Z] 9065ff56babe: Verifying Checksum [2021-11-15T15:33:41.438Z] 9065ff56babe: Download complete [2021-11-15T15:33:41.705Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T15:33:41.705Z] 77bc0d833cb6: Download complete [2021-11-15T15:33:41.705Z] b4d181a07f80: Verifying Checksum [2021-11-15T15:33:41.705Z] b4d181a07f80: Download complete [2021-11-15T15:33:42.282Z] d287ab97295c: Verifying Checksum [2021-11-15T15:33:42.282Z] d287ab97295c: Download complete [2021-11-15T15:33:42.868Z] b4d181a07f80: Pull complete [2021-11-15T15:33:43.132Z] a1111a8f2ec3: Pull complete [2021-11-15T15:33:43.709Z] ed53099fbce6: Pull complete [2021-11-15T15:33:43.709Z] dc539afda2c1: Pull complete [2021-11-15T15:33:43.975Z] 77bc0d833cb6: Pull complete [2021-11-15T15:33:44.234Z] 9065ff56babe: Pull complete [2021-11-15T15:33:49.583Z] d287ab97295c: Pull complete [2021-11-15T15:33:49.583Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T15:33:49.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:33:49.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T15:33:49.662Z] prd-centos7-docker-4c-2g-624 does not seem to be running inside a container [2021-11-15T15:33:49.702Z] $ 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/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@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 [2021-11-15T15:33:52.162Z] $ docker top 98794744ec62c2a4cc117d671454c26795f46d3bf454c085b0f36bdf3f376191 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:33:52.623Z] ---> job-cost.sh [2021-11-15T15:33:52.623Z] lf-activate-venv: SKIPPING [2021-11-15T15:33:52.623Z] INFO: No Stack... [2021-11-15T15:33:52.885Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T15:33:53.146Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T15:33:53.443Z] + cat /w/workspace/device-sdk-go/33/archives/cost.csv [2021-11-15T15:33:53.443Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T15:33:53.473Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [2021-11-15T15:33:53.481Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] did not exist. Created. [2021-11-15T15:33:53.481Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T15:33:53.786Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-15T15:33:53.824Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T15:33:53.830Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T15:33:53.841Z] $ docker stop --time=1 98794744ec62c2a4cc117d671454c26795f46d3bf454c085b0f36bdf3f376191 [2021-11-15T15:33:54.973Z] $ docker rm -f 98794744ec62c2a4cc117d671454c26795f46d3bf454c085b0f36bdf3f376191 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T15:34:07.992Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-15T15:35:04.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-15T15:35:04.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-15T15:35:04.553Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-15T15:35:19.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.484s coverage: 23.3% of statements [2021-11-15T15:35:19.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-15T15:35:19.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.189s coverage: 27.6% of statements [2021-11-15T15:35:19.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.256s coverage: 78.9% of statements [2021-11-15T15:35:19.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.218s coverage: 9.0% of statements [2021-11-15T15:35:19.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-15T15:35:19.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-15T15:35:19.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-15T15:35:19.662Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.353s coverage: 28.7% of statements [2021-11-15T15:35:19.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-15T15:35:21.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.208s coverage: 83.3% of statements [2021-11-15T15:35:21.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-15T15:35:21.642Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-15T15:35:21.642Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.403s coverage: 57.8% of statements [2021-11-15T15:35:23.082Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.102s coverage: 89.2% of statements [2021-11-15T15:35:23.082Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-15T15:35:23.677Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.179s coverage: 4.8% of statements [2021-11-15T15:35:23.677Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-15T15:35:23.953Z] GO111MODULE=on go vet ./... [2021-11-15T15:36:20.541Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T15:36:20.541Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T15:36:20.541Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-15T15:36:21.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-15T15:36:21.543Z] $ docker stop --time=1 c48d38e409c8d32c059e4908099bf38576088b02dbe73039885926c5e30f4454 [2021-11-15T15:36:23.483Z] $ docker rm -f c48d38e409c8d32c059e4908099bf38576088b02dbe73039885926c5e30f4454 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T15:36:24.605Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-15T15:36:24.631Z] Warning: overwriting stash ‘coverage-report’ [2021-11-15T15:36:25.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T15:36:25.626Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-15T15:36:25.975Z] + ls -al . [2021-11-15T15:36:25.975Z] total 300 [2021-11-15T15:36:25.975Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 15 15:36 . [2021-11-15T15:36:25.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 15:31 .. [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 15 15:31 .dockerignore [2021-11-15T15:36:25.975Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 15:31 .git [2021-11-15T15:36:25.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:31 .github [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 15 15:31 .gitignore [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 15 15:31 CHANGELOG.md [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 15:31 GOVERNANCE.md [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 15 15:31 Jenkinsfile [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 15 15:31 LICENSE [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 15 15:31 Makefile [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 15 15:31 OWNERS.md [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 4881 Nov 15 15:31 README.md [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 15 15:29 VERSION [2021-11-15T15:36:25.975Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 15:31 bin [2021-11-15T15:36:25.975Z] -rw-r--r-- 1 jenkins jenkins 128370 Nov 15 15:35 coverage.out [2021-11-15T15:36:25.975Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 15 15:31 example [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 576 Nov 15 15:31 go.mod [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 15 15:31 go.sum [2021-11-15T15:36:25.975Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 15 15:31 internal [2021-11-15T15:36:25.975Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 15:31 openapi [2021-11-15T15:36:25.975Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 15 15:31 pkg [2021-11-15T15:36:25.975Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 15:31 snap [2021-11-15T15:36:25.975Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 15 15:31 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:36:26.415Z] + 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=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d --label arch=arm64 --label version=2.2.0-dev.1 . [2021-11-15T15:36:27.035Z] Sending build context to Docker daemon 5.075MB [2021-11-15T15:36:27.035Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T15:36:27.035Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-15T15:36:27.035Z] ---> 9ca4c8ddc868 [2021-11-15T15:36:27.035Z] Step 3/24 : ARG MAKE=make build [2021-11-15T15:36:27.310Z] ---> Running in c9dc17ad7580 [2021-11-15T15:36:27.600Z] Removing intermediate container c9dc17ad7580 [2021-11-15T15:36:27.600Z] ---> e495cc647212 [2021-11-15T15:36:27.600Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-15T15:36:27.890Z] ---> Running in 7538ce9cce48 [2021-11-15T15:36:28.167Z] Removing intermediate container 7538ce9cce48 [2021-11-15T15:36:28.167Z] ---> 27b100449c8a [2021-11-15T15:36:28.167Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:36:28.443Z] ---> Running in f9a27f83921b [2021-11-15T15:36:28.719Z] Removing intermediate container f9a27f83921b [2021-11-15T15:36:28.719Z] ---> 76f88a15e284 [2021-11-15T15:36:28.719Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:36:29.002Z] ---> Running in d821dc10a097 [2021-11-15T15:36:30.984Z] Removing intermediate container d821dc10a097 [2021-11-15T15:36:30.984Z] ---> 674fe3e7a835 [2021-11-15T15:36:30.984Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-15T15:36:30.984Z] ---> Running in 7dc22f6f54dc [2021-11-15T15:36:31.961Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T15:36:32.932Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T15:36:33.525Z] OK: 219 MiB in 52 packages [2021-11-15T15:36:34.512Z] Removing intermediate container 7dc22f6f54dc [2021-11-15T15:36:34.512Z] ---> 5d5e86ac48f3 [2021-11-15T15:36:34.512Z] Step 8/24 : COPY . . [2021-11-15T15:36:35.947Z] ---> 58817986f1d6 [2021-11-15T15:36:35.947Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T15:36:35.947Z] ---> Running in 0f8ac0888938 [2021-11-15T15:36:37.930Z] Removing intermediate container 0f8ac0888938 [2021-11-15T15:36:37.930Z] ---> c89f03447b8e [2021-11-15T15:36:37.930Z] Step 10/24 : RUN ${MAKE} [2021-11-15T15:36:38.206Z] ---> Running in 96324cebc745 [2021-11-15T15:36:39.184Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.1" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-15T15:37:11.530Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-15T15:37:14.143Z] Removing intermediate container 96324cebc745 [2021-11-15T15:37:14.143Z] ---> a284a6826b9f [2021-11-15T15:37:14.143Z] Step 11/24 : FROM alpine:3.14 [2021-11-15T15:37:18.435Z] 3.14: Pulling from library/alpine [2021-11-15T15:37:18.435Z] be307f383ecc: Pulling fs layer [2021-11-15T15:37:18.708Z] be307f383ecc: Download complete [2021-11-15T15:37:19.302Z] be307f383ecc: Pull complete [2021-11-15T15:37:19.302Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-15T15:37:19.302Z] Status: Downloaded newer image for alpine:3.14 [2021-11-15T15:37:19.302Z] ---> 5b8b7b635229 [2021-11-15T15:37:19.302Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-15T15:37:19.574Z] ---> Running in 420d46418b26 [2021-11-15T15:37:19.858Z] Removing intermediate container 420d46418b26 [2021-11-15T15:37:19.858Z] ---> 786d389e61f7 [2021-11-15T15:37:19.858Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T15:37:19.858Z] ---> Running in c9501f33dcbb [2021-11-15T15:37:21.829Z] Removing intermediate container c9501f33dcbb [2021-11-15T15:37:21.829Z] ---> f0de1cd615ee [2021-11-15T15:37:21.829Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-15T15:37:21.829Z] ---> Running in ba0266fe75cb [2021-11-15T15:37:22.807Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T15:37:23.783Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T15:37:24.757Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-15T15:37:24.757Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-15T15:37:24.757Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-15T15:37:24.757Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-15T15:37:25.030Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-15T15:37:25.030Z] Executing busybox-1.33.1-r6.trigger [2021-11-15T15:37:25.030Z] OK: 8 MiB in 19 packages [2021-11-15T15:37:26.021Z] Removing intermediate container ba0266fe75cb [2021-11-15T15:37:26.021Z] ---> b8b39bcf73cb [2021-11-15T15:37:26.021Z] Step 15/24 : WORKDIR / [2021-11-15T15:37:26.021Z] ---> Running in f1b047865de0 [2021-11-15T15:37:26.616Z] Removing intermediate container f1b047865de0 [2021-11-15T15:37:26.616Z] ---> 7c9c5832668b [2021-11-15T15:37:26.616Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-15T15:37:27.209Z] ---> 2f0353764756 [2021-11-15T15:37:27.209Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-15T15:37:28.651Z] ---> a1f7728d5cb1 [2021-11-15T15:37:28.651Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-15T15:37:29.246Z] ---> 5b8208a8cfde [2021-11-15T15:37:29.246Z] Step 19/24 : EXPOSE 59999 [2021-11-15T15:37:29.246Z] ---> Running in 00bd2384f661 [2021-11-15T15:37:29.516Z] Removing intermediate container 00bd2384f661 [2021-11-15T15:37:29.516Z] ---> fabb85dfe6a5 [2021-11-15T15:37:29.516Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-15T15:37:29.787Z] ---> Running in 0e79001a8413 [2021-11-15T15:37:30.056Z] Removing intermediate container 0e79001a8413 [2021-11-15T15:37:30.056Z] ---> d9e6510407e5 [2021-11-15T15:37:30.056Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-15T15:37:30.330Z] ---> Running in 13ed4581400b [2021-11-15T15:37:30.602Z] Removing intermediate container 13ed4581400b [2021-11-15T15:37:30.602Z] ---> 822008b8059a [2021-11-15T15:37:30.602Z] Step 22/24 : LABEL arch=arm64 [2021-11-15T15:37:30.602Z] ---> Running in 5af4e0617945 [2021-11-15T15:37:31.198Z] Removing intermediate container 5af4e0617945 [2021-11-15T15:37:31.198Z] ---> bb1f666d9d0c [2021-11-15T15:37:31.198Z] Step 23/24 : LABEL git_sha=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [2021-11-15T15:37:31.198Z] ---> Running in 967b80f79fa9 [2021-11-15T15:37:31.470Z] Removing intermediate container 967b80f79fa9 [2021-11-15T15:37:31.470Z] ---> 308b7b9d7b7d [2021-11-15T15:37:31.470Z] Step 24/24 : LABEL version=2.2.0-dev.1 [2021-11-15T15:37:31.746Z] ---> Running in c24d186ae838 [2021-11-15T15:37:32.018Z] Removing intermediate container c24d186ae838 [2021-11-15T15:37:32.018Z] ---> 0d310afb0307 [2021-11-15T15:37:32.018Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-15T15:37:32.018Z] Successfully built 0d310afb0307 [2021-11-15T15:37:32.018Z] 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 [2021-11-15T15:37:32.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T15:37:32.974Z] [2021-11-15T15:37:32.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:37:33.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T15:37:33.587Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-15T15:37:33.587Z] 448f6bf000e3: Pulling fs layer [2021-11-15T15:37:33.587Z] f757da607395: Pulling fs layer [2021-11-15T15:37:33.587Z] 05883995daec: Pulling fs layer [2021-11-15T15:37:33.587Z] 8603b9c90790: Pulling fs layer [2021-11-15T15:37:33.587Z] 1560dd03e051: Pulling fs layer [2021-11-15T15:37:33.587Z] 27f5ce0e4adf: Pulling fs layer [2021-11-15T15:37:33.587Z] c2d8d7efcc4b: Pulling fs layer [2021-11-15T15:37:33.587Z] 8603b9c90790: Waiting [2021-11-15T15:37:33.587Z] 27f5ce0e4adf: Waiting [2021-11-15T15:37:33.587Z] 1560dd03e051: Waiting [2021-11-15T15:37:33.587Z] c2d8d7efcc4b: Waiting [2021-11-15T15:37:33.587Z] f757da607395: Verifying Checksum [2021-11-15T15:37:33.587Z] f757da607395: Download complete [2021-11-15T15:37:33.587Z] 8603b9c90790: Verifying Checksum [2021-11-15T15:37:33.587Z] 8603b9c90790: Download complete [2021-11-15T15:37:33.862Z] 1560dd03e051: Verifying Checksum [2021-11-15T15:37:33.862Z] 1560dd03e051: Download complete [2021-11-15T15:37:33.862Z] 27f5ce0e4adf: Verifying Checksum [2021-11-15T15:37:33.862Z] 27f5ce0e4adf: Download complete [2021-11-15T15:37:33.862Z] 05883995daec: Verifying Checksum [2021-11-15T15:37:33.862Z] 05883995daec: Download complete [2021-11-15T15:37:34.136Z] 448f6bf000e3: Verifying Checksum [2021-11-15T15:37:34.136Z] 448f6bf000e3: Download complete [2021-11-15T15:37:36.765Z] c2d8d7efcc4b: Verifying Checksum [2021-11-15T15:37:36.765Z] c2d8d7efcc4b: Download complete [2021-11-15T15:37:37.744Z] 448f6bf000e3: Pull complete [2021-11-15T15:37:38.339Z] f757da607395: Pull complete [2021-11-15T15:37:39.774Z] 05883995daec: Pull complete [2021-11-15T15:37:40.048Z] 8603b9c90790: Pull complete [2021-11-15T15:37:41.026Z] 1560dd03e051: Pull complete [2021-11-15T15:37:41.299Z] 27f5ce0e4adf: Pull complete [2021-11-15T15:37:56.413Z] c2d8d7efcc4b: Pull complete [2021-11-15T15:37:56.413Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-15T15:37:56.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T15:37:56.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-15T15:37:56.666Z] prd-ubuntu18.04-docker-arm64-4c-16g-622 does not seem to be running inside a container [2021-11-15T15:37:56.726Z] $ 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/33 -v /w/workspace/device-sdk-go/33:/w/workspace/device-sdk-go/33:rw,z -v /w/workspace/device-sdk-go/33@tmp:/w/workspace/device-sdk-go/33@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-15T15:37:59.517Z] $ docker top 9563276b51ee3d39530d28c631653e8095565d5b86515f2c3edc89889ee946ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:38:00.514Z] ---> job-cost.sh [2021-11-15T15:38:00.514Z] lf-activate-venv: SKIPPING [2021-11-15T15:38:00.514Z] INFO: No Stack... [2021-11-15T15:38:01.112Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-15T15:38:01.387Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T15:38:02.071Z] + cut -d, -f6 [2021-11-15T15:38:02.071Z] + cat /w/workspace/device-sdk-go/33/archives/cost.csv [Pipeline] lock [2021-11-15T15:38:02.141Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [2021-11-15T15:38:02.149Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] did not exist. Created. [2021-11-15T15:38:02.149Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T15:38:02.824Z] /w/workspace/device-sdk-go/33@tmp/durable-aa893c9f/script.sh: 1: /w/workspace/device-sdk-go/33@tmp/durable-aa893c9f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-15T15:38:03.484Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-15T15:38:03.505Z] Warning: overwriting stash ‘stack-cost’ [2021-11-15T15:38:03.563Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T15:38:03.569Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-33-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T15:38:03.577Z] $ docker stop --time=1 9563276b51ee3d39530d28c631653e8095565d5b86515f2c3edc89889ee946ef [2021-11-15T15:38:05.140Z] $ docker rm -f 9563276b51ee3d39530d28c631653e8095565d5b86515f2c3edc89889ee946ef [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 [2021-11-15T15:38:05.848Z] provisioning config files... [2021-11-15T15:38:05.858Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config221980453502540427tmp [Pipeline] { [Pipeline] sh [2021-11-15T15:38:06.190Z] + set +x [2021-11-15T15:38:06.190Z] + curl -s https://codecov.io/bash [2021-11-15T15:38:06.190Z] + bash -s -- [2021-11-15T15:38:06.459Z] [2021-11-15T15:38:06.459Z] _____ _ [2021-11-15T15:38:06.459Z] / ____| | | [2021-11-15T15:38:06.459Z] | | ___ __| | ___ ___ _____ __ [2021-11-15T15:38:06.459Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-15T15:38:06.459Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-15T15:38:06.459Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-15T15:38:06.459Z] Bash-1.0.6 [2021-11-15T15:38:06.459Z] [2021-11-15T15:38:06.459Z] [2021-11-15T15:38:06.459Z] ==> git version 2.24.4 found [2021-11-15T15:38:06.459Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-15T15:38:06.459Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-15T15:38:06.459Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-15T15:38:06.459Z] ==> Jenkins CI detected. [2021-11-15T15:38:06.459Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:38:06.459Z] project root: . [2021-11-15T15:38:06.459Z] --> token set from env [2021-11-15T15:38:06.459Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-15T15:38:06.459Z] ==> Running gcov in . (disable via -X gcov) [2021-11-15T15:38:06.459Z] ==> Python coveragepy not found [2021-11-15T15:38:06.459Z] ==> Searching for coverage reports in: [2021-11-15T15:38:06.459Z] + . [2021-11-15T15:38:06.459Z] -> Found 1 reports [2021-11-15T15:38:06.459Z] ==> Detecting git/mercurial file structure [2021-11-15T15:38:06.459Z] ==> Reading reports [2021-11-15T15:38:06.459Z] + ./coverage.out bytes=128370 [2021-11-15T15:38:06.459Z] ==> Appending adjustments [2021-11-15T15:38:06.459Z] https://docs.codecov.io/docs/fixing-reports [2021-11-15T15:38:06.724Z] + Found adjustments [2021-11-15T15:38:06.724Z] ==> Gzipping contents [2021-11-15T15:38:06.724Z] 16K /tmp/codecov.Q9ibF4.gz [2021-11-15T15:38:06.724Z] ==> Uploading reports [2021-11-15T15:38:06.724Z] url: https://codecov.io [2021-11-15T15:38:06.724Z] query: branch=main&commit=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-15T15:38:06.724Z] -> Pinging Codecov [2021-11-15T15:38:06.724Z] 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=34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d&build=33&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F33%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-15T15:38:07.303Z] -> Uploading to [2021-11-15T15:38:07.303Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-15/7E55EF52A471D76F132DFD9A03CDDE97/34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d/393354ee-e278-44f9-ade9-81238b6b7652.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211115T153807Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1017f18b5ef385b84215c05d3644e1f0e51844d04f4a7f173b537b0a9f868c0c [2021-11-15T15:38:07.303Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T15:38:07.303Z] Dload Upload Total Spent Left Speed [2021-11-15T15:38:07.564Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16328 0 0 100 16328 0 39780 --:--:-- --:--:-- --:--:-- 39727 100 16328 0 0 100 16328 0 39769 --:--:-- --:--:-- --:--:-- 39727 [2021-11-15T15:38:07.564Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] } [2021-11-15T15:38:07.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-15T15:38:07.961Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-15T15:38:07.976Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:08.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-15T15:38:08.262Z] [2021-11-15T15:38:08.262Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:08.569Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-15T15:38:08.569Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-15T15:38:08.569Z] 188c0c94c7c5: Pulling fs layer [2021-11-15T15:38:08.569Z] 0ef7d3d256c8: Pulling fs layer [2021-11-15T15:38:08.569Z] de9db76c5a1d: Pulling fs layer [2021-11-15T15:38:08.569Z] 0eba1c9be4d2: Pulling fs layer [2021-11-15T15:38:08.569Z] 0d57e429df01: Pulling fs layer [2021-11-15T15:38:08.569Z] 4e4be7b47b0d: Pulling fs layer [2021-11-15T15:38:08.569Z] e1f770b5df2f: Pulling fs layer [2021-11-15T15:38:08.569Z] 85a0685a4137: Pulling fs layer [2021-11-15T15:38:08.569Z] 0eba1c9be4d2: Waiting [2021-11-15T15:38:08.569Z] 0d57e429df01: Waiting [2021-11-15T15:38:08.569Z] 4e4be7b47b0d: Waiting [2021-11-15T15:38:08.569Z] e1f770b5df2f: Waiting [2021-11-15T15:38:08.569Z] 85a0685a4137: Waiting [2021-11-15T15:38:08.569Z] de9db76c5a1d: Verifying Checksum [2021-11-15T15:38:08.569Z] de9db76c5a1d: Download complete [2021-11-15T15:38:08.569Z] 0ef7d3d256c8: Verifying Checksum [2021-11-15T15:38:08.569Z] 0ef7d3d256c8: Download complete [2021-11-15T15:38:08.569Z] 0d57e429df01: Verifying Checksum [2021-11-15T15:38:08.569Z] 0d57e429df01: Download complete [2021-11-15T15:38:08.569Z] 4e4be7b47b0d: Verifying Checksum [2021-11-15T15:38:08.569Z] 4e4be7b47b0d: Download complete [2021-11-15T15:38:08.569Z] 188c0c94c7c5: Verifying Checksum [2021-11-15T15:38:08.569Z] 188c0c94c7c5: Download complete [2021-11-15T15:38:08.857Z] e1f770b5df2f: Verifying Checksum [2021-11-15T15:38:08.857Z] e1f770b5df2f: Download complete [2021-11-15T15:38:09.141Z] 0eba1c9be4d2: Verifying Checksum [2021-11-15T15:38:09.141Z] 0eba1c9be4d2: Download complete [2021-11-15T15:38:09.141Z] 188c0c94c7c5: Pull complete [2021-11-15T15:38:09.414Z] 85a0685a4137: Verifying Checksum [2021-11-15T15:38:09.414Z] 85a0685a4137: Download complete [2021-11-15T15:38:09.414Z] 0ef7d3d256c8: Pull complete [2021-11-15T15:38:09.414Z] de9db76c5a1d: Pull complete [2021-11-15T15:38:13.661Z] 0eba1c9be4d2: Pull complete [2021-11-15T15:38:13.661Z] 0d57e429df01: Pull complete [2021-11-15T15:38:13.661Z] 4e4be7b47b0d: Pull complete [2021-11-15T15:38:13.925Z] e1f770b5df2f: Pull complete [2021-11-15T15:38:18.172Z] 85a0685a4137: Pull complete [2021-11-15T15:38:18.172Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-15T15:38:18.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-15T15:38:18.172Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-15T15:38:18.239Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:38:18.278Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-15T15:38:20.582Z] $ docker top ce85ae1d27f2032f1379b74f268bfb2338b0f7be393a580de89a67f02d6c4efb -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-15T15:38:20.667Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-15T15:38:20.960Z] + set -o pipefail [2021-11-15T15:38:20.960Z] + snyk monitor '--org=edgex-jenkins' [2021-11-15T15:38:27.564Z] [2021-11-15T15:38:27.564Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-15T15:38:27.564Z] [2021-11-15T15:38:27.564Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/85a48c65-f5c7-4526-9317-67afb6278f26 [2021-11-15T15:38:27.564Z] [2021-11-15T15:38:27.564Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-15T15:38:27.564Z] [2021-11-15T15:38:27.564Z] [Pipeline] } [2021-11-15T15:38:27.573Z] $ docker stop --time=1 ce85ae1d27f2032f1379b74f268bfb2338b0f7be393a580de89a67f02d6c4efb [2021-11-15T15:38:29.605Z] $ docker rm -f ce85ae1d27f2032f1379b74f268bfb2338b0f7be393a580de89a67f02d6c4efb [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 [2021-11-15T15:38:30.229Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:38:30.244Z] provisioning config files... [2021-11-15T15:38:30.253Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2999569178933942331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:38:30.562Z] --> edgex-publish-swagger.sh [2021-11-15T15:38:30.562Z] === Publish openapi/v2 API === [2021-11-15T15:38:30.562Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-15T15:38:30.562Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-15T15:38:30.562Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T15:38:30.562Z] Dload Upload Total Spent Left Speed [2021-11-15T15:38:31.132Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 63564 --:--:-- --:--:-- --:--:-- 63541 [2021-11-15T15:38:31.132Z] [2021-11-15T15:38:31.132Z] [Pipeline] } [2021-11-15T15:38:31.139Z] 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 [2021-11-15T15:38:31.582Z] + git log --format=format:%s -1 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:31.890Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:38:31.890Z] . [Pipeline] withDockerContainer [2021-11-15T15:38:31.958Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:38:31.992Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-15T15:38:32.356Z] $ docker top 5e5b6eae5f171fb2670c101342cac2065a19450d14700f60fc6f4773010755cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T15:38:32.449Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T15:38:32.449Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T15:38:32.567Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T15:38:32.567Z] $ docker exec 5e5b6eae5f171fb2670c101342cac2065a19450d14700f60fc6f4773010755cd ssh-agent [2021-11-15T15:38:32.668Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEHbahB/agent.13 [2021-11-15T15:38:32.668Z] SSH_AGENT_PID=19 [2021-11-15T15:38:32.673Z] Running ssh-add (command line suppressed) [2021-11-15T15:38:32.771Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3104848627784509716.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3104848627784509716.key) [2021-11-15T15:38:32.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T15:38:33.089Z] + git semver tag [2021-11-15T15:38:33.089Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T15:38:33.089Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-15T15:38:33.089Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:38:33.089Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T15:38:33.089Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T15:38:33.089Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T15:38:33.089Z] # $SEMVER_BRANCH = main [2021-11-15T15:38:33.089Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-15T15:38:33.089Z] # 34c01bf99ea77a19a08b5a7f7c308ccff0af8b6d HEAD [2021-11-15T15:38:33.089Z] # -> Force: false [2021-11-15T15:38:33.089Z] # 1d25603696f4d57f9c6edb3fcd7c6ba2ca49b3fd refs/tags/v2.2.0-dev.1 [Pipeline] } [2021-11-15T15:38:33.096Z] $ docker exec --env ******** --env ******** 5e5b6eae5f171fb2670c101342cac2065a19450d14700f60fc6f4773010755cd ssh-agent -k [2021-11-15T15:38:33.186Z] unset SSH_AUTH_SOCK; [2021-11-15T15:38:33.187Z] unset SSH_AGENT_PID; [2021-11-15T15:38:33.187Z] echo Agent pid 19 killed; [2021-11-15T15:38:33.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T15:38:33.506Z] + git semver [Pipeline] } [2021-11-15T15:38:33.518Z] $ docker stop --time=1 5e5b6eae5f171fb2670c101342cac2065a19450d14700f60fc6f4773010755cd [2021-11-15T15:38:34.704Z] $ docker rm -f 5e5b6eae5f171fb2670c101342cac2065a19450d14700f60fc6f4773010755cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:35.107Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-15T15:38:35.107Z] [2021-11-15T15:38:35.107Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:35.418Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-15T15:38:35.418Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-15T15:38:35.418Z] ab5ef0e58194: Pulling fs layer [2021-11-15T15:38:35.418Z] 9712f1f96733: Pulling fs layer [2021-11-15T15:38:35.418Z] 63f879dbbcfc: Pulling fs layer [2021-11-15T15:38:35.418Z] 0d9ebad4ef96: Pulling fs layer [2021-11-15T15:38:35.418Z] e9a5061849ea: Pulling fs layer [2021-11-15T15:38:35.418Z] d747dcd14b5f: Pulling fs layer [2021-11-15T15:38:35.418Z] 2de7ff778b66: Pulling fs layer [2021-11-15T15:38:35.418Z] 0d9ebad4ef96: Waiting [2021-11-15T15:38:35.418Z] e9a5061849ea: Waiting [2021-11-15T15:38:35.418Z] d747dcd14b5f: Waiting [2021-11-15T15:38:35.418Z] 2de7ff778b66: Waiting [2021-11-15T15:38:35.418Z] 9712f1f96733: Verifying Checksum [2021-11-15T15:38:35.418Z] 9712f1f96733: Download complete [2021-11-15T15:38:35.681Z] 63f879dbbcfc: Verifying Checksum [2021-11-15T15:38:35.681Z] 63f879dbbcfc: Download complete [2021-11-15T15:38:35.949Z] ab5ef0e58194: Verifying Checksum [2021-11-15T15:38:35.949Z] ab5ef0e58194: Download complete [2021-11-15T15:38:35.949Z] 0d9ebad4ef96: Verifying Checksum [2021-11-15T15:38:35.949Z] 0d9ebad4ef96: Download complete [2021-11-15T15:38:35.949Z] d747dcd14b5f: Verifying Checksum [2021-11-15T15:38:35.949Z] d747dcd14b5f: Download complete [2021-11-15T15:38:35.949Z] e9a5061849ea: Verifying Checksum [2021-11-15T15:38:35.949Z] e9a5061849ea: Download complete [2021-11-15T15:38:36.215Z] 2de7ff778b66: Verifying Checksum [2021-11-15T15:38:36.215Z] 2de7ff778b66: Download complete [2021-11-15T15:38:39.540Z] ab5ef0e58194: Pull complete [2021-11-15T15:38:39.540Z] 9712f1f96733: Pull complete [2021-11-15T15:38:39.812Z] 63f879dbbcfc: Pull complete [2021-11-15T15:38:44.076Z] 0d9ebad4ef96: Pull complete [2021-11-15T15:38:44.651Z] e9a5061849ea: Pull complete [2021-11-15T15:38:44.651Z] d747dcd14b5f: Pull complete [2021-11-15T15:38:46.051Z] 2de7ff778b66: Pull complete [2021-11-15T15:38:46.051Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-15T15:38:46.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-15T15:38:46.051Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-15T15:38:46.127Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:38:46.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-15T15:38:49.494Z] $ docker top 7893672d215b89629c63068cc2b8f1b3d431c27ef00b814b1bff78ed68ecab0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:38:49.573Z] provisioning config files... [2021-11-15T15:38:49.580Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1058608551617817004tmp [2021-11-15T15:38:49.590Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6285204249684429836tmp [2021-11-15T15:38:49.598Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7884450991165365935tmp [Pipeline] { [Pipeline] echo [2021-11-15T15:38:49.612Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:38:49.903Z] ---> sigul-configuration.sh [2021-11-15T15:38:49.903Z] gpg: directory `/root/.gnupg' created [2021-11-15T15:38:49.903Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-15T15:38:49.903Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-15T15:38:49.903Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-15T15:38:49.903Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-15T15:38:49.903Z] gpg: CAST5 encrypted data [2021-11-15T15:38:49.903Z] gpg: encrypted with 1 passphrase [2021-11-15T15:38:49.903Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-15T15:38:50.196Z] + mkdir /home/jenkins [2021-11-15T15:38:50.197Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-15T15:38:50.494Z] + 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 [2021-11-15T15:38:50.505Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:38:50.798Z] ---> sigul-install.sh [2021-11-15T15:38:50.798Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-15T15:38:51.091Z] + git tag --list [2021-11-15T15:38:51.091Z] 0.7.1 [2021-11-15T15:38:51.091Z] delhi-tag [2021-11-15T15:38:51.091Z] v1.0.0 [2021-11-15T15:38:51.091Z] v1.1.0 [2021-11-15T15:38:51.091Z] v1.1.1 [2021-11-15T15:38:51.091Z] v1.1.2 [2021-11-15T15:38:51.091Z] v1.2.0 [2021-11-15T15:38:51.091Z] v1.2.1 [2021-11-15T15:38:51.091Z] v1.2.2 [2021-11-15T15:38:51.091Z] v1.2.3 [2021-11-15T15:38:51.091Z] v1.3.0 [2021-11-15T15:38:51.091Z] v1.4.0 [2021-11-15T15:38:51.091Z] v2.0.0 [2021-11-15T15:38:51.091Z] v2.0.1-dev.1 [2021-11-15T15:38:51.091Z] v2.0.1-dev.10 [2021-11-15T15:38:51.091Z] v2.0.1-dev.11 [2021-11-15T15:38:51.091Z] v2.0.1-dev.12 [2021-11-15T15:38:51.091Z] v2.0.1-dev.13 [2021-11-15T15:38:51.091Z] v2.0.1-dev.14 [2021-11-15T15:38:51.091Z] v2.0.1-dev.15 [2021-11-15T15:38:51.091Z] v2.0.1-dev.16 [2021-11-15T15:38:51.091Z] v2.0.1-dev.17 [2021-11-15T15:38:51.091Z] v2.0.1-dev.18 [2021-11-15T15:38:51.091Z] v2.0.1-dev.19 [2021-11-15T15:38:51.091Z] v2.0.1-dev.2 [2021-11-15T15:38:51.091Z] v2.0.1-dev.20 [2021-11-15T15:38:51.091Z] v2.0.1-dev.21 [2021-11-15T15:38:51.091Z] v2.0.1-dev.22 [2021-11-15T15:38:51.091Z] v2.0.1-dev.23 [2021-11-15T15:38:51.091Z] v2.0.1-dev.24 [2021-11-15T15:38:51.091Z] v2.0.1-dev.25 [2021-11-15T15:38:51.091Z] v2.0.1-dev.26 [2021-11-15T15:38:51.091Z] v2.0.1-dev.27 [2021-11-15T15:38:51.091Z] v2.0.1-dev.28 [2021-11-15T15:38:51.091Z] v2.0.1-dev.29 [2021-11-15T15:38:51.091Z] v2.0.1-dev.3 [2021-11-15T15:38:51.091Z] v2.0.1-dev.30 [2021-11-15T15:38:51.091Z] v2.0.1-dev.31 [2021-11-15T15:38:51.091Z] v2.0.1-dev.32 [2021-11-15T15:38:51.091Z] v2.0.1-dev.33 [2021-11-15T15:38:51.091Z] v2.0.1-dev.4 [2021-11-15T15:38:51.091Z] v2.0.1-dev.5 [2021-11-15T15:38:51.091Z] v2.0.1-dev.6 [2021-11-15T15:38:51.091Z] v2.0.1-dev.7 [2021-11-15T15:38:51.091Z] v2.0.1-dev.8 [2021-11-15T15:38:51.091Z] v2.0.1-dev.9 [2021-11-15T15:38:51.091Z] v2.1.0 [2021-11-15T15:38:51.091Z] v2.2.0-dev.1 [Pipeline] sh [2021-11-15T15:38:51.392Z] + lftools sign git-tag v2.2.0-dev.1 [2021-11-15T15:38:51.964Z] Signing Git tag with Sigul... [2021-11-15T15:38:51.964Z] Signing v2.2.0-dev.1 [Pipeline] echo [2021-11-15T15:38:52.919Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:38:53.211Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-15T15:38:53.219Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-15T15:38:53.234Z] $ docker stop --time=1 7893672d215b89629c63068cc2b8f1b3d431c27ef00b814b1bff78ed68ecab0c [2021-11-15T15:38:54.442Z] $ docker rm -f 7893672d215b89629c63068cc2b8f1b3d431c27ef00b814b1bff78ed68ecab0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:55.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:38:55.082Z] . [Pipeline] withDockerContainer [2021-11-15T15:38:55.150Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:38:55.187Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-15T15:38:55.512Z] $ docker top a0ec0e55e8c491e1722ca36d55c34c4b242f408b3ce4b6e240c93978e69cd6e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T15:38:55.603Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T15:38:55.603Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T15:38:55.702Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T15:38:55.702Z] $ docker exec a0ec0e55e8c491e1722ca36d55c34c4b242f408b3ce4b6e240c93978e69cd6e5 ssh-agent [2021-11-15T15:38:55.799Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPfmpiN/agent.14 [2021-11-15T15:38:55.799Z] SSH_AGENT_PID=20 [2021-11-15T15:38:55.804Z] Running ssh-add (command line suppressed) [2021-11-15T15:38:55.896Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_965052868058168895.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_965052868058168895.key) [2021-11-15T15:38:55.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T15:38:56.197Z] + git semver bump pre [2021-11-15T15:38:56.197Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T15:38:56.197Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-15T15:38:56.197Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:38:56.197Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T15:38:56.197Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T15:38:56.197Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T15:38:56.197Z] # $SEMVER_BRANCH = main [2021-11-15T15:38:56.197Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-15T15:38:56.197Z] 2.2.0-dev.2 [Pipeline] } [2021-11-15T15:38:56.205Z] $ docker exec --env ******** --env ******** a0ec0e55e8c491e1722ca36d55c34c4b242f408b3ce4b6e240c93978e69cd6e5 ssh-agent -k [2021-11-15T15:38:56.285Z] unset SSH_AUTH_SOCK; [2021-11-15T15:38:56.285Z] unset SSH_AGENT_PID; [2021-11-15T15:38:56.285Z] echo Agent pid 20 killed; [2021-11-15T15:38:56.295Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T15:38:56.610Z] + git semver [Pipeline] } [2021-11-15T15:38:56.632Z] $ docker stop --time=1 a0ec0e55e8c491e1722ca36d55c34c4b242f408b3ce4b6e240c93978e69cd6e5 [2021-11-15T15:38:57.807Z] $ docker rm -f a0ec0e55e8c491e1722ca36d55c34c4b242f408b3ce4b6e240c93978e69cd6e5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:38:58.164Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T15:38:58.164Z] . [Pipeline] withDockerContainer [2021-11-15T15:38:58.375Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:38:58.513Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-15T15:38:58.890Z] $ docker top 9978fa18f572cf30f626317e4368d5c17897b2b1cf960681e86bec660cc9d334 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T15:38:58.986Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T15:38:58.987Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T15:38:59.092Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T15:38:59.092Z] $ docker exec 9978fa18f572cf30f626317e4368d5c17897b2b1cf960681e86bec660cc9d334 ssh-agent [2021-11-15T15:38:59.205Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPELDPc/agent.13 [2021-11-15T15:38:59.205Z] SSH_AGENT_PID=20 [2021-11-15T15:38:59.210Z] Running ssh-add (command line suppressed) [2021-11-15T15:38:59.297Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5303681136910059547.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5303681136910059547.key) [2021-11-15T15:38:59.311Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T15:38:59.600Z] + git semver push [2021-11-15T15:38:59.600Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T15:38:59.600Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-15T15:38:59.600Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:38:59.600Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T15:38:59.600Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T15:38:59.600Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T15:38:59.600Z] # $SEMVER_BRANCH = main [2021-11-15T15:38:59.600Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-15T15:39:02.152Z] $ docker exec --env ******** --env ******** 9978fa18f572cf30f626317e4368d5c17897b2b1cf960681e86bec660cc9d334 ssh-agent -k [2021-11-15T15:39:02.266Z] unset SSH_AUTH_SOCK; [2021-11-15T15:39:02.266Z] unset SSH_AGENT_PID; [2021-11-15T15:39:02.266Z] echo Agent pid 20 killed; [2021-11-15T15:39:02.277Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T15:39:02.583Z] + git semver [Pipeline] } [2021-11-15T15:39:02.594Z] $ docker stop --time=1 9978fa18f572cf30f626317e4368d5c17897b2b1cf960681e86bec660cc9d334 [2021-11-15T15:39:03.784Z] $ docker rm -f 9978fa18f572cf30f626317e4368d5c17897b2b1cf960681e86bec660cc9d334 [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 [2021-11-15T15:39:04.760Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:05.058Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:05.629Z] ---> package-listing.sh [2021-11-15T15:39:05.629Z] ++ facter osfamily [2021-11-15T15:39:05.629Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-15T15:39:05.890Z] + OS_FAMILY=redhat [2021-11-15T15:39:05.890Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-15T15:39:05.890Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-15T15:39:05.890Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-15T15:39:05.890Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-15T15:39:05.890Z] + PACKAGES=/tmp/packages_start.txt [2021-11-15T15:39:05.890Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-15T15:39:05.890Z] + PACKAGES=/tmp/packages_end.txt [2021-11-15T15:39:05.890Z] + case "${OS_FAMILY}" in [2021-11-15T15:39:05.890Z] + rpm -qa [2021-11-15T15:39:05.890Z] + sort [2021-11-15T15:39:06.833Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-15T15:39:06.833Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-15T15:39:06.833Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-15T15:39:06.833Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-15T15:39:06.833Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-15T15:39:06.833Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo [2021-11-15T15:39:06.844Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 [2021-11-15T15:39:07.134Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:39:07.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:39:07.695Z] [2021-11-15T15:39:07.695Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T15:39:08.004Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:39:08.004Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T15:39:08.004Z] b4d181a07f80: Pulling fs layer [2021-11-15T15:39:08.004Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T15:39:08.004Z] ed53099fbce6: Pulling fs layer [2021-11-15T15:39:08.004Z] dc539afda2c1: Pulling fs layer [2021-11-15T15:39:08.004Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T15:39:08.004Z] 9065ff56babe: Pulling fs layer [2021-11-15T15:39:08.004Z] d287ab97295c: Pulling fs layer [2021-11-15T15:39:08.004Z] dc539afda2c1: Waiting [2021-11-15T15:39:08.004Z] 77bc0d833cb6: Waiting [2021-11-15T15:39:08.004Z] 9065ff56babe: Waiting [2021-11-15T15:39:08.004Z] d287ab97295c: Waiting [2021-11-15T15:39:08.004Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T15:39:08.004Z] a1111a8f2ec3: Download complete [2021-11-15T15:39:08.004Z] dc539afda2c1: Verifying Checksum [2021-11-15T15:39:08.004Z] dc539afda2c1: Download complete [2021-11-15T15:39:08.004Z] ed53099fbce6: Verifying Checksum [2021-11-15T15:39:08.004Z] ed53099fbce6: Download complete [2021-11-15T15:39:08.268Z] 9065ff56babe: Verifying Checksum [2021-11-15T15:39:08.268Z] 9065ff56babe: Download complete [2021-11-15T15:39:08.268Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T15:39:08.268Z] 77bc0d833cb6: Download complete [2021-11-15T15:39:08.268Z] b4d181a07f80: Verifying Checksum [2021-11-15T15:39:08.268Z] b4d181a07f80: Download complete [2021-11-15T15:39:08.844Z] d287ab97295c: Verifying Checksum [2021-11-15T15:39:08.844Z] d287ab97295c: Download complete [2021-11-15T15:39:09.800Z] b4d181a07f80: Pull complete [2021-11-15T15:39:10.062Z] a1111a8f2ec3: Pull complete [2021-11-15T15:39:10.637Z] ed53099fbce6: Pull complete [2021-11-15T15:39:10.637Z] dc539afda2c1: Pull complete [2021-11-15T15:39:10.900Z] 77bc0d833cb6: Pull complete [2021-11-15T15:39:10.900Z] 9065ff56babe: Pull complete [2021-11-15T15:39:16.221Z] d287ab97295c: Pull complete [2021-11-15T15:39:16.221Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T15:39:16.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T15:39:16.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T15:39:16.287Z] prd-centos7-docker-4c-2g-621 does not seem to be running inside a container [2021-11-15T15:39:16.320Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-15T15:39:18.822Z] $ docker top 128538d93f56a5e1abb18b7244a2f8a97079c02e37fda1be96801b572a9160a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T15:39:19.199Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-15T15:39:19.491Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-15T15:39:19.778Z] + ls /var/log/sa-host [2021-11-15T15:39:19.778Z] + sadf -c /var/log/sa-host/sa15 [2021-11-15T15:39:19.778Z] file_magic: OK [2021-11-15T15:39:19.778Z] HZ: Using current value: 100 [2021-11-15T15:39:19.778Z] file_header: OK [2021-11-15T15:39:19.778Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T15:39:19.778Z] Statistics: [2021-11-15T15:39:19.778Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T15:39:19.778Z] File successfully converted to sysstat format version 12.0.3 [2021-11-15T15:39:19.778Z] + sadf -c /var/log/sa-host/sa30 [2021-11-15T15:39:19.778Z] file_magic: OK [2021-11-15T15:39:19.778Z] HZ: Using current value: 100 [2021-11-15T15:39:19.778Z] file_header: OK [2021-11-15T15:39:19.778Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-15T15:39:19.778Z] Statistics: [2021-11-15T15:39:19.778Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T15:39:19.778Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T15:39:20.032Z] provisioning config files... [2021-11-15T15:39:20.042Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4207893587521810688tmp [Pipeline] { [Pipeline] echo [2021-11-15T15:39:20.054Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:20.345Z] ---> create-netrc.sh [Pipeline] } [2021-11-15T15:39:20.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:20.681Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-15T15:39:20.690Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:20.977Z] ---> sudo-logs.sh [2021-11-15T15:39:20.977Z] Archiving 'sudo' log.. [2021-11-15T15:39:21.243Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-621.novalocal: Name or service not known [2021-11-15T15:39:21.243Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-621.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-15T15:39:21.265Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:21.554Z] ---> job-cost.sh [2021-11-15T15:39:21.554Z] lf-activate-venv: SKIPPING [2021-11-15T15:39:21.554Z] DEBUG: total: 0.10999999940395355 [2021-11-15T15:39:21.554Z] INFO: Retrieving Stack Cost... [2021-11-15T15:39:23.463Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T15:39:23.463Z] INFO: Archiving Costs [Pipeline] echo [2021-11-15T15:39:23.475Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T15:39:23.769Z] ---> logs-deploy.sh [2021-11-15T15:39:23.769Z] lf-activate-venv: SKIPPING [2021-11-15T15:39:23.769Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/33 [2021-11-15T15:39:23.769Z] INFO: archiving workspace using pattern(s): [2021-11-15T15:39:24.709Z] Archives upload complete. [2021-11-15T15:39:24.709Z] INFO: archiving logs to Nexus