Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26056eb6751852d3be2b177fe263ccb57def27d1 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-ssh5675352885385141321.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh5248067587526857814.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh8145932215736793314.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6142747752329813145.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-ssh9026142372956214234.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-30179 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-ssh5755899479933950638.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 26056eb6751852d3be2b177fe263ccb57def27d1 (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 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 Commit message: "Merge pull request #1061 from lenny-intel/swagger-version" > git rev-list --no-walk b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-10T15:12:17.999Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-10T15:12:18.060Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-10T15:12:18.088Z] ========================================================= [2021-11-10T15:12:18.089Z] EdgeX Global Pipelines Version Info [2021-11-10T15:12:18.089Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:12:19.237Z] ------------------- [2021-11-10T15:12:19.237Z] stable info: [2021-11-10T15:12:19.237Z] ------------------- [2021-11-10T15:12:19.237Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-10T15:12:19.237Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T15:12:19.237Z] Message: update stable to v1.0.211 [2021-11-10T15:12:19.814Z] ------------------- [2021-11-10T15:12:19.814Z] experimental info: [2021-11-10T15:12:19.814Z] ------------------- [2021-11-10T15:12:19.814Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-10T15:12:19.814Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T15:12:19.814Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-10T15:12:19.895Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-10T15:12:19.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-10T15:12:19.926Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-10T15:12:19.946Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-10T15:12:19.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-10T15:12:19.983Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-10T15:12:20.006Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-10T15:12:20.031Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-10T15:12:20.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-10T15:12:20.093Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-10T15:12:20.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-10T15:12:20.135Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-10T15:12:20.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-10T15:12:20.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-10T15:12:20.190Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-10T15:12:20.200Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T15:12:20.210Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T15:12:20.220Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T15:12:20.231Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-10T15:12:20.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-10T15:12:20.251Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-10T15:12:20.261Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-10T15:12:20.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-10T15:12:20.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-10T15:12:20.290Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-10T15:12:20.300Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-10T15:12:21.961Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-10T15:12:21.972Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-10T15:12:21.982Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-10T15:12:21.991Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] echo [2021-11-10T15:12:21.999Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26056eb [Pipeline] echo [2021-11-10T15:12:22.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:12:22.046Z] provisioning config files... [2021-11-10T15:12:22.057Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7698104887661237899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:12:22.369Z] ---> docker-login.sh [2021-11-10T15:12:22.369Z] nexus3.edgexfoundry.org:10001 [2021-11-10T15:12:22.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:12:22.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:12:22.634Z] Configure a credential helper to remove this warning. See [2021-11-10T15:12:22.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:12:22.634Z] [2021-11-10T15:12:22.634Z] Login Succeeded [2021-11-10T15:12:22.634Z] nexus3.edgexfoundry.org:10002 [2021-11-10T15:12:22.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:12:22.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:12:22.898Z] Configure a credential helper to remove this warning. See [2021-11-10T15:12:22.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:12:22.898Z] [2021-11-10T15:12:22.898Z] Login Succeeded [2021-11-10T15:12:22.898Z] nexus3.edgexfoundry.org:10003 [2021-11-10T15:12:22.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:12:22.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:12:22.898Z] Configure a credential helper to remove this warning. See [2021-11-10T15:12:22.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:12:22.898Z] [2021-11-10T15:12:22.898Z] Login Succeeded [2021-11-10T15:12:22.898Z] nexus3.edgexfoundry.org:10004 [2021-11-10T15:12:22.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:12:23.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:12:23.159Z] Configure a credential helper to remove this warning. See [2021-11-10T15:12:23.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:12:23.159Z] [2021-11-10T15:12:23.159Z] Login Succeeded [2021-11-10T15:12:23.159Z] docker.io [2021-11-10T15:12:23.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:12:23.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:12:23.730Z] Configure a credential helper to remove this warning. See [2021-11-10T15:12:23.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:12:23.730Z] [2021-11-10T15:12:23.730Z] Login Succeeded [2021-11-10T15:12:23.730Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T15:12:23.738Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-10T15:12:24.161Z] + git rev-list -1 --merges 26056eb6751852d3be2b177fe263ccb57def27d1~1..26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] echo [2021-11-10T15:12:24.194Z] -----------> git rev-list -1 --merges 26056eb6751852d3be2b177fe263ccb57def27d1~1..26056eb6751852d3be2b177fe263ccb57def27d1 26056eb6751852d3be2b177fe263ccb57def27d1 [2021-11-10T15:12:24.194Z] 26056eb6751852d3be2b177fe263ccb57def27d1 [false] [Pipeline] sh [2021-11-10T15:12:24.485Z] + git log --format=format:%s -1 26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] echo [2021-11-10T15:12:24.501Z] ========================================================= [2021-11-10T15:12:24.501Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-10T15:12:24.501Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T15:12:24.828Z] + git log --format=format:%s -1 26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] echo [2021-11-10T15:12:24.838Z] [semverPrep] GIT_COMMIT: 26056eb6751852d3be2b177fe263ccb57def27d1, Commit Message: Merge pull request #1061 from lenny-intel/swagger-version [Pipeline] echo [2021-11-10T15:12:24.848Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:12:27.063Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:12:27.063Z] [2021-11-10T15:12:27.063Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:12:27.379Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:12:27.380Z] latest: Pulling from edgex-devops/git-semver [2021-11-10T15:12:27.380Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T15:12:27.380Z] 3e5f54012d9b: Pulling fs layer [2021-11-10T15:12:27.380Z] 4c7163046ea9: Pulling fs layer [2021-11-10T15:12:27.380Z] 0c2d73faf560: Pulling fs layer [2021-11-10T15:12:27.380Z] 0c2d73faf560: Waiting [2021-11-10T15:12:27.380Z] 3e5f54012d9b: Verifying Checksum [2021-11-10T15:12:27.380Z] 3e5f54012d9b: Download complete [2021-11-10T15:12:27.380Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T15:12:27.380Z] a0d0a0d46f8b: Download complete [2021-11-10T15:12:27.380Z] 4c7163046ea9: Verifying Checksum [2021-11-10T15:12:27.380Z] 4c7163046ea9: Download complete [2021-11-10T15:12:27.380Z] 0c2d73faf560: Verifying Checksum [2021-11-10T15:12:27.380Z] 0c2d73faf560: Download complete [2021-11-10T15:12:27.642Z] a0d0a0d46f8b: Pull complete [2021-11-10T15:12:27.642Z] 3e5f54012d9b: Pull complete [2021-11-10T15:12:27.902Z] 4c7163046ea9: Pull complete [2021-11-10T15:12:28.161Z] 0c2d73faf560: Pull complete [2021-11-10T15:12:28.161Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-10T15:12:28.161Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:12:28.161Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-10T15:12:28.230Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:12:28.265Z] $ 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-10T15:12:28.866Z] $ docker top 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T15:12:28.962Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T15:12:28.962Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T15:12:29.075Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T15:12:29.076Z] $ docker exec 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae ssh-agent [2021-11-10T15:12:29.176Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeGGifI/agent.13 [2021-11-10T15:12:29.176Z] SSH_AGENT_PID=19 [2021-11-10T15:12:29.183Z] Running ssh-add (command line suppressed) [2021-11-10T15:12:29.279Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7378132975604466413.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7378132975604466413.key) [2021-11-10T15:12:29.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T15:12:30.397Z] + git tag --points-at HEAD [Pipeline] } [2021-11-10T15:12:30.409Z] $ docker exec --env ******** --env ******** 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae ssh-agent -k [2021-11-10T15:12:30.501Z] unset SSH_AUTH_SOCK; [2021-11-10T15:12:30.501Z] unset SSH_AGENT_PID; [2021-11-10T15:12:30.501Z] echo Agent pid 19 killed; [2021-11-10T15:12:30.516Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-10T15:12:30.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T15:12:30.539Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T15:12:30.651Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T15:12:30.651Z] $ docker exec 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae ssh-agent [2021-11-10T15:12:30.751Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjIPmDO/agent.51 [2021-11-10T15:12:30.751Z] SSH_AGENT_PID=58 [2021-11-10T15:12:30.757Z] Running ssh-add (command line suppressed) [2021-11-10T15:12:30.851Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_607210511404726746.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_607210511404726746.key) [2021-11-10T15:12:30.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T15:12:31.162Z] + git semver init [2021-11-10T15:12:31.162Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T15:12:31.163Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-10T15:12:31.163Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:12:31.163Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T15:12:31.163Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T15:12:31.163Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T15:12:31.163Z] # $SEMVER_BRANCH = main [2021-11-10T15:12:31.163Z] # $SEMVER_TEMP = /tmp/semver-344020393 [2021-11-10T15:12:31.163Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-10T15:12:32.106Z] # '/tmp/semver-344020393' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-10T15:12:32.106Z] # -> Force: false [2021-11-10T15:12:32.106Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-10T15:12:32.121Z] $ docker exec --env ******** --env ******** 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae ssh-agent -k [2021-11-10T15:12:32.219Z] unset SSH_AUTH_SOCK; [2021-11-10T15:12:32.219Z] unset SSH_AGENT_PID; [2021-11-10T15:12:32.219Z] echo Agent pid 58 killed; [2021-11-10T15:12:32.229Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T15:12:32.534Z] + git semver [Pipeline] } [2021-11-10T15:12:32.546Z] $ docker stop --time=1 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae [2021-11-10T15:12:33.763Z] $ docker rm -f 9649f6884b87530b29c8a3de981c709af191407078deba82eca7e674e69f16ae [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T15:12:34.107Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-10T15:12:34.349Z] Stashed 1 file(s) [Pipeline] echo [2021-11-10T15:12:34.352Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.31 [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-10T15:12:49.496Z] Still waiting to schedule task [2021-11-10T15:12:49.496Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-30179’ [2021-11-10T15:12:49.497Z] Still waiting to schedule task [2021-11-10T15:12:49.498Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-10T15:14:27.698Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30181 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-10T15:14:27.709Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2021-11-10T15:14:28.044Z] Selected Git installation does not exist. Using Default [2021-11-10T15:14:28.044Z] The recommended git tool is: NONE [2021-11-10T15:14:35.177Z] using credential edgex-jenkins-ssh [2021-11-10T15:14:35.194Z] Cloning the remote Git repository [2021-11-10T15:14:35.244Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T15:14:35.335Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2021-11-10T15:14:35.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T15:14:35.448Z] > git --version # timeout=10 [2021-11-10T15:14:35.463Z] > git --version # 'git version 2.17.1' [2021-11-10T15:14:35.465Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T15:14:35.526Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T15:14:37.535Z] Avoid second fetch [2021-11-10T15:14:37.535Z] Checking out Revision 26056eb6751852d3be2b177fe263ccb57def27d1 (main) [2021-11-10T15:14:37.566Z] Running on prd-centos7-docker-4c-2g-30183 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-10T15:14:37.578Z] Running in /w/workspace/device-sdk-go/30 [Pipeline] { [Pipeline] checkout [2021-11-10T15:14:37.656Z] Selected Git installation does not exist. Using Default [2021-11-10T15:14:37.656Z] The recommended git tool is: NONE [2021-11-10T15:14:37.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T15:14:37.513Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T15:14:37.552Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T15:14:37.564Z] > git checkout -f 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T15:14:40.656Z] using credential edgex-jenkins-ssh [2021-11-10T15:14:40.667Z] Cloning the remote Git repository [2021-11-10T15:14:40.410Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T15:14:40.464Z] > git init /w/workspace/device-sdk-go/30 # timeout=10 [2021-11-10T15:14:40.496Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T15:14:40.496Z] > git --version # timeout=10 [2021-11-10T15:14:40.508Z] > git --version # 'git version 2.24.4' [2021-11-10T15:14:40.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T15:14:40.530Z] [INFO] Currently running in a labeled security context [2021-11-10T15:14:40.530Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T15:14:40.530Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/30@tmp/jenkins-gitclient-ssh4018017445336374366.key [2021-11-10T15:14:40.549Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T15:14:41.710Z] Commit message: "Merge pull request #1061 from lenny-intel/swagger-version" [2021-11-10T15:14:41.777Z] Avoid second fetch [2021-11-10T15:14:41.777Z] Checking out Revision 26056eb6751852d3be2b177fe263ccb57def27d1 (main) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T15:14:41.459Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T15:14:41.470Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T15:14:41.493Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T15:14:41.499Z] > git checkout -f 26056eb6751852d3be2b177fe263ccb57def27d1 # timeout=10 [2021-11-10T15:14:42.538Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-10T15:14:42.538Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T15:14:42.538Z] Dload Upload Total Spent Left Speed [2021-11-10T15:14:43.790Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 11824 100 11824 0 0 7835 0 0:00:01 0:00:01 --:--:-- 7835 [Pipeline] sh [2021-11-10T15:14:44.208Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-10T15:14:44.549Z] + sudo tee /etc/docker/daemon.new [2021-11-10T15:14:44.549Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-10T15:14:44.549Z] { [2021-11-10T15:14:44.549Z] "registry-mirrors": [ [2021-11-10T15:14:44.549Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-10T15:14:44.549Z] ], [2021-11-10T15:14:44.549Z] "bip": "10.250.0.254/24", [2021-11-10T15:14:44.549Z] "hosts": [ [2021-11-10T15:14:44.549Z] "tcp://0.0.0.0:5555", [2021-11-10T15:14:44.549Z] "unix:///var/run/docker.sock" [2021-11-10T15:14:44.549Z] ], [2021-11-10T15:14:44.549Z] "mtu": 1458, [2021-11-10T15:14:44.549Z] "selinux-enabled": true, [2021-11-10T15:14:44.549Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-10T15:14:44.549Z] } [Pipeline] sh [2021-11-10T15:14:44.891Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-10T15:14:45.257Z] + sudo service docker restart [2021-11-10T15:14:45.342Z] Commit message: "Merge pull request #1061 from lenny-intel/swagger-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:14:45.716Z] provisioning config files... [2021-11-10T15:14:45.735Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config526513699383417948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:14:46.119Z] ---> docker-login.sh [2021-11-10T15:14:46.119Z] nexus3.edgexfoundry.org:10001 [2021-11-10T15:14:46.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:14:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:14:46.382Z] Configure a credential helper to remove this warning. See [2021-11-10T15:14:46.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:14:46.382Z] [2021-11-10T15:14:46.382Z] Login Succeeded [2021-11-10T15:14:46.382Z] nexus3.edgexfoundry.org:10002 [2021-11-10T15:14:46.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:14:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:14:46.382Z] Configure a credential helper to remove this warning. See [2021-11-10T15:14:46.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:14:46.382Z] [2021-11-10T15:14:46.382Z] Login Succeeded [2021-11-10T15:14:46.382Z] nexus3.edgexfoundry.org:10003 [2021-11-10T15:14:46.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:14:46.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:14:46.382Z] Configure a credential helper to remove this warning. See [2021-11-10T15:14:46.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:14:46.382Z] [2021-11-10T15:14:46.382Z] Login Succeeded [2021-11-10T15:14:46.382Z] nexus3.edgexfoundry.org:10004 [2021-11-10T15:14:46.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:14:46.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:14:46.644Z] Configure a credential helper to remove this warning. See [2021-11-10T15:14:46.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:14:46.644Z] [2021-11-10T15:14:46.644Z] Login Succeeded [2021-11-10T15:14:46.644Z] docker.io [2021-11-10T15:14:46.644Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:14:47.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:14:47.218Z] Configure a credential helper to remove this warning. See [2021-11-10T15:14:47.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:14:47.218Z] [2021-11-10T15:14:47.218Z] Login Succeeded [2021-11-10T15:14:47.218Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T15:14:47.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T15:14:47.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T15:14:47.394Z] ========================================================= [2021-11-10T15:14:47.394Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-10T15:14:47.394Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:14:47.706Z] + 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-10T15:14:47.706Z] Sending build context to Docker daemon 2.747MB [2021-11-10T15:14:47.706Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T15:14:47.706Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T15:14:47.706Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-10T15:14:47.706Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T15:14:47.706Z] 31adcdaf11c8: Pulling fs layer [2021-11-10T15:14:47.706Z] b8b176561691: Pulling fs layer [2021-11-10T15:14:47.706Z] 4527c011a84f: Pulling fs layer [2021-11-10T15:14:47.706Z] 5d74067f8e1e: Pulling fs layer [2021-11-10T15:14:47.706Z] e0aca202a116: Pulling fs layer [2021-11-10T15:14:47.706Z] 3a43be97a3b4: Pulling fs layer [2021-11-10T15:14:47.706Z] 34cad66bf833: Pulling fs layer [2021-11-10T15:14:47.706Z] b4e3c513aaa6: Pulling fs layer [2021-11-10T15:14:47.706Z] 4527c011a84f: Waiting [2021-11-10T15:14:47.706Z] 5d74067f8e1e: Waiting [2021-11-10T15:14:47.706Z] e0aca202a116: Waiting [2021-11-10T15:14:47.706Z] 3a43be97a3b4: Waiting [2021-11-10T15:14:47.706Z] 34cad66bf833: Waiting [2021-11-10T15:14:47.706Z] b4e3c513aaa6: Waiting [2021-11-10T15:14:47.706Z] b8b176561691: Verifying Checksum [2021-11-10T15:14:47.706Z] b8b176561691: Download complete [2021-11-10T15:14:47.706Z] 31adcdaf11c8: Verifying Checksum [2021-11-10T15:14:47.706Z] 31adcdaf11c8: Download complete [2021-11-10T15:14:47.706Z] 5d74067f8e1e: Verifying Checksum [2021-11-10T15:14:47.706Z] 5d74067f8e1e: Download complete [2021-11-10T15:14:47.706Z] e0aca202a116: Verifying Checksum [2021-11-10T15:14:47.706Z] e0aca202a116: Download complete [2021-11-10T15:14:47.985Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T15:14:47.985Z] a0d0a0d46f8b: Download complete [2021-11-10T15:14:47.985Z] 3a43be97a3b4: Verifying Checksum [2021-11-10T15:14:47.985Z] 3a43be97a3b4: Download complete [2021-11-10T15:14:47.985Z] 34cad66bf833: Verifying Checksum [2021-11-10T15:14:47.985Z] 34cad66bf833: Download complete [2021-11-10T15:14:48.584Z] 4527c011a84f: Verifying Checksum [2021-11-10T15:14:48.584Z] 4527c011a84f: Download complete [2021-11-10T15:14:48.584Z] b4e3c513aaa6: Verifying Checksum [2021-11-10T15:14:48.584Z] b4e3c513aaa6: Download complete [2021-11-10T15:14:48.584Z] a0d0a0d46f8b: Pull complete [2021-11-10T15:14:48.584Z] 31adcdaf11c8: Pull complete [2021-11-10T15:14:48.584Z] b8b176561691: Pull complete [2021-11-10T15:14:52.850Z] 4527c011a84f: Pull complete [2021-11-10T15:14:52.850Z] 5d74067f8e1e: Pull complete [2021-11-10T15:14:52.850Z] e0aca202a116: Pull complete [2021-11-10T15:14:52.850Z] 3a43be97a3b4: Pull complete [2021-11-10T15:14:52.850Z] 34cad66bf833: Pull complete [2021-11-10T15:14:55.234Z] b4e3c513aaa6: Pull complete [2021-11-10T15:14:55.234Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-10T15:14:55.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-10T15:14:55.234Z] ---> 9f6097aaca64 [2021-11-10T15:14:55.234Z] Step 3/10 : ARG MAKE=make build [2021-11-10T15:14:57.789Z] ---> Running in ae7ba0981819 [2021-11-10T15:14:57.789Z] Removing intermediate container ae7ba0981819 [2021-11-10T15:14:57.789Z] ---> 07f25186332e [2021-11-10T15:14:57.789Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T15:14:57.789Z] ---> Running in 772303fe3aba [2021-11-10T15:14:57.789Z] Removing intermediate container 772303fe3aba [2021-11-10T15:14:57.789Z] ---> fd0a365812cf [2021-11-10T15:14:57.789Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:14:57.789Z] ---> Running in 22b0f2d44ad1 [2021-11-10T15:14:57.789Z] Removing intermediate container 22b0f2d44ad1 [2021-11-10T15:14:57.789Z] ---> 19258c69538b [2021-11-10T15:14:57.789Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:14:57.789Z] ---> Running in 86305fe7c0c2 [2021-11-10T15:14:58.366Z] Removing intermediate container 86305fe7c0c2 [2021-11-10T15:14:58.366Z] ---> fdd290b926ce [2021-11-10T15:14:58.366Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T15:14:58.366Z] ---> Running in a8f79404c2c8 [2021-11-10T15:14:58.366Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T15:14:59.311Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T15:14:59.571Z] OK: 220 MiB in 52 packages [2021-11-10T15:14:59.838Z] Removing intermediate container a8f79404c2c8 [2021-11-10T15:14:59.838Z] ---> 94edb5c7c0c6 [2021-11-10T15:14:59.838Z] Step 8/10 : COPY . . [2021-11-10T15:15:00.099Z] ---> d6c79a11e227 [2021-11-10T15:15:00.099Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T15:15:00.099Z] ---> Running in 681ecdfc29e1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:15:04.168Z] provisioning config files... [2021-11-10T15:15:04.191Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/30@tmp/config8673391368876790412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:15:04.547Z] ---> docker-login.sh [2021-11-10T15:15:04.547Z] nexus3.edgexfoundry.org:10001 [2021-11-10T15:15:05.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:15:05.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:15:05.421Z] Configure a credential helper to remove this warning. See [2021-11-10T15:15:05.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:15:05.421Z] [2021-11-10T15:15:05.421Z] Login Succeeded [2021-11-10T15:15:05.421Z] nexus3.edgexfoundry.org:10002 [2021-11-10T15:15:05.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:15:05.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:15:05.986Z] Configure a credential helper to remove this warning. See [2021-11-10T15:15:05.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:15:05.986Z] [2021-11-10T15:15:05.986Z] Login Succeeded [2021-11-10T15:15:05.986Z] nexus3.edgexfoundry.org:10003 [2021-11-10T15:15:06.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:15:06.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:15:06.541Z] Configure a credential helper to remove this warning. See [2021-11-10T15:15:06.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:15:06.541Z] [2021-11-10T15:15:06.541Z] Login Succeeded [2021-11-10T15:15:06.541Z] nexus3.edgexfoundry.org:10004 [2021-11-10T15:15:06.814Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:15:07.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:15:07.088Z] Configure a credential helper to remove this warning. See [2021-11-10T15:15:07.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:15:07.088Z] [2021-11-10T15:15:07.088Z] Login Succeeded [2021-11-10T15:15:07.088Z] docker.io [2021-11-10T15:15:07.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T15:15:09.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T15:15:09.144Z] Configure a credential helper to remove this warning. See [2021-11-10T15:15:09.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T15:15:09.144Z] [2021-11-10T15:15:09.144Z] Login Succeeded [2021-11-10T15:15:09.144Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T15:15:09.161Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T15:15:09.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T15:15:09.437Z] ========================================================= [2021-11-10T15:15:09.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-10T15:15:09.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:15:09.778Z] + 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-10T15:15:10.050Z] Sending build context to Docker daemon 2.746MB [2021-11-10T15:15:10.327Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T15:15:10.327Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T15:15:10.327Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-10T15:15:10.327Z] 552d1f2373af: Pulling fs layer [2021-11-10T15:15:10.327Z] ea3f2d53f512: Pulling fs layer [2021-11-10T15:15:10.327Z] 9e70ebbbe112: Pulling fs layer [2021-11-10T15:15:10.327Z] 7a9cfe048b4a: Pulling fs layer [2021-11-10T15:15:10.327Z] 72dc09318566: Pulling fs layer [2021-11-10T15:15:10.327Z] f4f7b4309257: Pulling fs layer [2021-11-10T15:15:10.327Z] 0ac9a79272e3: Pulling fs layer [2021-11-10T15:15:10.327Z] b78e95d17946: Pulling fs layer [2021-11-10T15:15:10.327Z] 7a9cfe048b4a: Waiting [2021-11-10T15:15:10.327Z] 72dc09318566: Waiting [2021-11-10T15:15:10.327Z] f4f7b4309257: Waiting [2021-11-10T15:15:10.327Z] 0ac9a79272e3: Waiting [2021-11-10T15:15:10.327Z] b78e95d17946: Waiting [2021-11-10T15:15:10.327Z] 9e70ebbbe112: Download complete [2021-11-10T15:15:10.327Z] ea3f2d53f512: Verifying Checksum [2021-11-10T15:15:10.327Z] ea3f2d53f512: Download complete [2021-11-10T15:15:10.327Z] 72dc09318566: Verifying Checksum [2021-11-10T15:15:10.327Z] 72dc09318566: Download complete [2021-11-10T15:15:10.328Z] f4f7b4309257: Verifying Checksum [2021-11-10T15:15:10.328Z] f4f7b4309257: Download complete [2021-11-10T15:15:10.602Z] 552d1f2373af: Verifying Checksum [2021-11-10T15:15:10.602Z] 552d1f2373af: Download complete [2021-11-10T15:15:10.602Z] 0ac9a79272e3: Verifying Checksum [2021-11-10T15:15:10.602Z] 0ac9a79272e3: Download complete [2021-11-10T15:15:11.203Z] 552d1f2373af: Pull complete [2021-11-10T15:15:11.804Z] ea3f2d53f512: Pull complete [2021-11-10T15:15:12.411Z] 9e70ebbbe112: Pull complete [2021-11-10T15:15:12.411Z] b78e95d17946: Verifying Checksum [2021-11-10T15:15:12.411Z] b78e95d17946: Download complete [2021-11-10T15:15:13.006Z] 7a9cfe048b4a: Verifying Checksum [2021-11-10T15:15:13.006Z] 7a9cfe048b4a: Download complete [2021-11-10T15:15:24.088Z] 7a9cfe048b4a: Pull complete [2021-11-10T15:15:24.088Z] 72dc09318566: Pull complete [2021-11-10T15:15:24.088Z] f4f7b4309257: Pull complete [2021-11-10T15:15:24.088Z] 0ac9a79272e3: Pull complete [2021-11-10T15:15:29.768Z] b78e95d17946: Pull complete [2021-11-10T15:15:30.040Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-10T15:15:30.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-10T15:15:30.040Z] ---> 8b459fc5aaf0 [2021-11-10T15:15:30.040Z] Step 3/10 : ARG MAKE=make build [2021-11-10T15:15:32.019Z] ---> Running in 12504a39b710 [2021-11-10T15:15:32.019Z] Removing intermediate container 12504a39b710 [2021-11-10T15:15:32.019Z] ---> 97387e06153c [2021-11-10T15:15:32.019Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T15:15:32.295Z] ---> Running in d2eaaee02fb6 [2021-11-10T15:15:32.577Z] Removing intermediate container d2eaaee02fb6 [2021-11-10T15:15:32.578Z] ---> 50b19cc9869f [2021-11-10T15:15:32.578Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:15:32.578Z] ---> Running in ff7b6d25f49b [2021-11-10T15:15:33.179Z] Removing intermediate container ff7b6d25f49b [2021-11-10T15:15:33.179Z] ---> 9f411febbbec [2021-11-10T15:15:33.179Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:15:33.179Z] ---> Running in 99ccbefb9cfc [2021-11-10T15:15:35.807Z] Removing intermediate container 99ccbefb9cfc [2021-11-10T15:15:35.807Z] ---> 6ac365508254 [2021-11-10T15:15:35.807Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T15:15:35.807Z] ---> Running in 198c98f915e1 [2021-11-10T15:15:36.788Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T15:15:37.388Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T15:15:37.989Z] OK: 219 MiB in 52 packages [2021-11-10T15:15:39.503Z] Removing intermediate container 198c98f915e1 [2021-11-10T15:15:39.503Z] ---> 6927caccba5f [2021-11-10T15:15:39.503Z] Step 8/10 : COPY . . [2021-11-10T15:15:39.776Z] Removing intermediate container 681ecdfc29e1 [2021-11-10T15:15:39.776Z] ---> 247ebf865582 [2021-11-10T15:15:39.776Z] Step 10/10 : RUN ${MAKE} [2021-11-10T15:15:39.776Z] ---> Running in d37d86cc160a [2021-11-10T15:15:39.776Z] noop [2021-11-10T15:15:39.776Z] Removing intermediate container d37d86cc160a [2021-11-10T15:15:39.776Z] ---> 00df14515d4c [2021-11-10T15:15:39.776Z] Successfully built 00df14515d4c [2021-11-10T15:15:39.776Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:15:40.089Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T15:15:40.089Z] . [Pipeline] withDockerContainer [2021-11-10T15:15:40.169Z] prd-centos7-docker-4c-2g-30183 does not seem to be running inside a container [2021-11-10T15:15:40.223Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-10T15:15:40.499Z] ---> 359257999d94 [2021-11-10T15:15:40.499Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T15:15:40.499Z] ---> Running in a4e16e5010e5 [2021-11-10T15:15:40.588Z] $ docker top a5fafe6792f4f62fbc168100b15bd5cbe5ab0f8adbe89d9e201aa817055de77a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T15:15:40.975Z] + go version [2021-11-10T15:15:40.975Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-10T15:15:40.988Z] $ docker stop --time=1 a5fafe6792f4f62fbc168100b15bd5cbe5ab0f8adbe89d9e201aa817055de77a [2021-11-10T15:15:43.408Z] $ docker rm -f a5fafe6792f4f62fbc168100b15bd5cbe5ab0f8adbe89d9e201aa817055de77a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:15:43.897Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T15:15:43.897Z] . [Pipeline] withDockerContainer [2021-11-10T15:15:43.967Z] prd-centos7-docker-4c-2g-30183 does not seem to be running inside a container [2021-11-10T15:15:44.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-10T15:15:44.327Z] $ docker top e020a223ce8c4f46f711b25b5dd97271b1d52b21e50f5b884e6ebda36fca739f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T15:15:44.696Z] + make test [2021-11-10T15:15:44.696Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T15:15:50.094Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T15:16:13.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T15:16:13.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T15:16:13.029Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T15:16:14.448Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.3% of statements [2021-11-10T15:16:14.448Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T15:16:14.448Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements [2021-11-10T15:16:14.448Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.047s coverage: 78.9% of statements [2021-11-10T15:16:15.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.050s coverage: 9.0% of statements [2021-11-10T15:16:15.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T15:16:15.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T15:16:15.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T15:16:15.312Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.073s coverage: 28.7% of statements [2021-11-10T15:16:15.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T15:16:16.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-11-10T15:16:16.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T15:16:16.705Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T15:16:16.705Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.084s coverage: 57.8% of statements [2021-11-10T15:16:18.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.861s coverage: 89.2% of statements [2021-11-10T15:16:18.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T15:16:18.110Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.8% of statements [2021-11-10T15:16:18.110Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T15:16:18.110Z] GO111MODULE=on go vet ./... [2021-11-10T15:16:36.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T15:16:36.320Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T15:16:36.320Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T15:16:36.330Z] $ docker stop --time=1 e020a223ce8c4f46f711b25b5dd97271b1d52b21e50f5b884e6ebda36fca739f [2021-11-10T15:16:37.894Z] $ docker rm -f e020a223ce8c4f46f711b25b5dd97271b1d52b21e50f5b884e6ebda36fca739f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T15:16:38.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T15:16:38.520Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-10T15:16:42.630Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T15:16:42.920Z] + ls -al . [2021-11-10T15:16:42.920Z] total 264 [2021-11-10T15:16:42.920Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 10 15:16 . [2021-11-10T15:16:42.920Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 10 15:14 .. [2021-11-10T15:16:42.920Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 10 15:14 bin [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 10 15:14 CHANGELOG.md [2021-11-10T15:16:42.920Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 10 15:16 coverage.out [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 10 15:14 .dockerignore [2021-11-10T15:16:42.920Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 10 15:14 example [2021-11-10T15:16:42.920Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 10 15:14 .git [2021-11-10T15:16:42.920Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 10 15:14 .github [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 10 15:14 .gitignore [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 10 15:14 go.mod [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 10 15:14 go.sum [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 10 15:14 GOVERNANCE.md [2021-11-10T15:16:42.920Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 10 15:14 internal [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 10 15:14 Jenkinsfile [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 10 15:14 LICENSE [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 10 15:14 Makefile [2021-11-10T15:16:42.920Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 10 15:14 openapi [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 10 15:14 OWNERS.md [2021-11-10T15:16:42.920Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 10 15:14 pkg [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 10 15:14 README.md [2021-11-10T15:16:42.920Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 15:14 snap [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 10 15:12 VERSION [2021-11-10T15:16:42.920Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 10 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:16:43.219Z] + 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=26056eb6751852d3be2b177fe263ccb57def27d1 --label arch=amd64 --label version=2.0.1-dev.31 . [2021-11-10T15:16:43.219Z] Sending build context to Docker daemon 2.876MB [2021-11-10T15:16:43.219Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T15:16:43.219Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T15:16:43.219Z] ---> 00df14515d4c [2021-11-10T15:16:43.219Z] Step 3/24 : ARG MAKE=make build [2021-11-10T15:16:43.219Z] ---> Running in aa9fc00ddafa [2021-11-10T15:16:43.479Z] Removing intermediate container aa9fc00ddafa [2021-11-10T15:16:43.479Z] ---> 2423370f3e83 [2021-11-10T15:16:43.479Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T15:16:43.479Z] ---> Running in a216a7dac87f [2021-11-10T15:16:43.479Z] Removing intermediate container a216a7dac87f [2021-11-10T15:16:43.479Z] ---> a30270e6986d [2021-11-10T15:16:43.479Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:16:43.479Z] ---> Running in ff3a0e8fb256 [2021-11-10T15:16:43.739Z] Removing intermediate container ff3a0e8fb256 [2021-11-10T15:16:43.739Z] ---> 449f30154851 [2021-11-10T15:16:43.739Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:16:43.739Z] ---> Running in b0b3d13ed4ef [2021-11-10T15:16:44.315Z] Removing intermediate container b0b3d13ed4ef [2021-11-10T15:16:44.315Z] ---> f6a26e5eaeea [2021-11-10T15:16:44.315Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T15:16:44.315Z] ---> Running in e1f1fc24654b [2021-11-10T15:16:44.573Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T15:16:45.515Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T15:16:45.777Z] OK: 220 MiB in 52 packages [2021-11-10T15:16:46.038Z] Removing intermediate container e1f1fc24654b [2021-11-10T15:16:46.038Z] ---> 4a999ce7104f [2021-11-10T15:16:46.038Z] Step 8/24 : COPY . . [2021-11-10T15:16:46.297Z] ---> d1d772fb6ea0 [2021-11-10T15:16:46.297Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T15:16:46.298Z] ---> Running in 957a6b172403 [2021-11-10T15:16:46.870Z] Removing intermediate container 957a6b172403 [2021-11-10T15:16:46.870Z] ---> 140c94b0b102 [2021-11-10T15:16:46.870Z] Step 10/24 : RUN ${MAKE} [2021-11-10T15:16:46.870Z] ---> Running in 457e425d4c72 [2021-11-10T15:16:47.130Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.31" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-10T15:16:57.477Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T15:16:58.427Z] Removing intermediate container 457e425d4c72 [2021-11-10T15:16:58.427Z] ---> e628e08991e9 [2021-11-10T15:16:58.427Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T15:17:02.631Z] 3.14: Pulling from library/alpine [2021-11-10T15:17:02.631Z] a0d0a0d46f8b: Already exists [2021-11-10T15:17:02.631Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T15:17:02.631Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T15:17:02.631Z] ---> 14119a10abf4 [2021-11-10T15:17:02.631Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:17:02.631Z] ---> Running in 0c18c7312e33 [2021-11-10T15:17:02.631Z] Removing intermediate container 0c18c7312e33 [2021-11-10T15:17:02.631Z] ---> e80304414b51 [2021-11-10T15:17:02.631Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:17:02.631Z] ---> Running in 84e75fbc66ed [2021-11-10T15:17:02.895Z] Removing intermediate container 84e75fbc66ed [2021-11-10T15:17:02.896Z] ---> 601bea090e38 [2021-11-10T15:17:02.896Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T15:17:02.896Z] ---> Running in 0cbdd53da1fe [2021-11-10T15:17:03.155Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T15:17:03.216Z] Removing intermediate container a4e16e5010e5 [2021-11-10T15:17:03.216Z] ---> 22f180c38b5c [2021-11-10T15:17:03.216Z] Step 10/10 : RUN ${MAKE} [2021-11-10T15:17:03.216Z] ---> Running in 8f97f10227a6 [2021-11-10T15:17:03.216Z] noop [2021-11-10T15:17:03.216Z] Removing intermediate container 8f97f10227a6 [2021-11-10T15:17:03.216Z] ---> 1233e30bf2c8 [2021-11-10T15:17:03.216Z] Successfully built 1233e30bf2c8 [2021-11-10T15:17:03.216Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:17:03.558Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T15:17:03.558Z] . [Pipeline] withDockerContainer [2021-11-10T15:17:03.803Z] prd-ubuntu18.04-docker-arm64-4c-16g-30181 does not seem to be running inside a container [2021-11-10T15:17:03.886Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T15:17:04.099Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T15:17:04.360Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T15:17:04.360Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T15:17:04.360Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T15:17:04.621Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T15:17:04.621Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T15:17:04.621Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T15:17:04.882Z] OK: 8 MiB in 19 packages [2021-11-10T15:17:05.144Z] Removing intermediate container 0cbdd53da1fe [2021-11-10T15:17:05.144Z] ---> 723a42418e2d [2021-11-10T15:17:05.144Z] Step 15/24 : WORKDIR / [2021-11-10T15:17:05.144Z] ---> Running in 1b4c3ef91e14 [2021-11-10T15:17:05.144Z] Removing intermediate container 1b4c3ef91e14 [2021-11-10T15:17:05.144Z] ---> 119c5fa74880 [2021-11-10T15:17:05.144Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T15:17:05.406Z] ---> 26688fba5f14 [2021-11-10T15:17:05.406Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T15:17:05.421Z] $ docker top d5388ed45ff4eaf2e16aa817679fc4c03a4ce932bae134c04247bed61fee4593 -eo pid,comm [2021-11-10T15:17:05.669Z] ---> 907fea81f0f8 [2021-11-10T15:17:05.669Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T15:17:05.669Z] ---> d14ae8bd3ded [2021-11-10T15:17:05.669Z] Step 19/24 : EXPOSE 59999 [2021-11-10T15:17:05.670Z] ---> Running in 89a684b4d8de [Pipeline] { [Pipeline] sh [2021-11-10T15:17:05.932Z] Removing intermediate container 89a684b4d8de [2021-11-10T15:17:05.932Z] ---> 0ec16bd2f5e0 [2021-11-10T15:17:05.932Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T15:17:05.932Z] ---> Running in 72663f3d080a [2021-11-10T15:17:05.932Z] Removing intermediate container 72663f3d080a [2021-11-10T15:17:05.932Z] ---> 454e1616de9c [2021-11-10T15:17:05.932Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T15:17:05.932Z] ---> Running in a7a5c87cbd1a [2021-11-10T15:17:06.192Z] Removing intermediate container a7a5c87cbd1a [2021-11-10T15:17:06.192Z] ---> b8f359232a32 [2021-11-10T15:17:06.192Z] Step 22/24 : LABEL arch=amd64 [2021-11-10T15:17:06.192Z] ---> Running in 24d9d892e4a6 [2021-11-10T15:17:06.192Z] Removing intermediate container 24d9d892e4a6 [2021-11-10T15:17:06.192Z] ---> fc0c0c68274a [2021-11-10T15:17:06.192Z] Step 23/24 : LABEL git_sha=26056eb6751852d3be2b177fe263ccb57def27d1 [2021-11-10T15:17:06.192Z] ---> Running in 4b070b40c07c [2021-11-10T15:17:06.399Z] + go version [2021-11-10T15:17:06.399Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-10T15:17:06.422Z] $ docker stop --time=1 d5388ed45ff4eaf2e16aa817679fc4c03a4ce932bae134c04247bed61fee4593 [2021-11-10T15:17:06.451Z] Removing intermediate container 4b070b40c07c [2021-11-10T15:17:06.451Z] ---> 8c03a1bc141d [2021-11-10T15:17:06.451Z] Step 24/24 : LABEL version=2.0.1-dev.31 [2021-11-10T15:17:06.451Z] ---> Running in 92a99f6d8799 [2021-11-10T15:17:06.451Z] Removing intermediate container 92a99f6d8799 [2021-11-10T15:17:06.451Z] ---> 9435962b5500 [2021-11-10T15:17:06.451Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T15:17:06.451Z] Successfully built 9435962b5500 [2021-11-10T15:17:06.451Z] Successfully tagged device-sdk-simple:latest [2021-11-10T15:17:09.020Z] $ docker rm -f d5388ed45ff4eaf2e16aa817679fc4c03a4ce932bae134c04247bed61fee4593 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] script [Pipeline] { [Pipeline] stage [Pipeline] { (Snap) [Pipeline] isUnix [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:17:10.203Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T15:17:10.203Z] . [Pipeline] withDockerContainer [2021-11-10T15:17:10.322Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:17:10.322Z] [2021-11-10T15:17:10.322Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:17:10.425Z] prd-ubuntu18.04-docker-arm64-4c-16g-30181 does not seem to be running inside a container [2021-11-10T15:17:10.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T15:17:12.038Z] $ docker top 5b8c3802be601afe744900c4a50ab00776b014f432aee00b631694e7f187dfaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-11-10T15:17:12.695Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:17:12.695Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T15:17:12.695Z] b4d181a07f80: Pulling fs layer [2021-11-10T15:17:12.695Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T15:17:12.695Z] ed53099fbce6: Pulling fs layer [2021-11-10T15:17:12.695Z] dc539afda2c1: Pulling fs layer [2021-11-10T15:17:12.695Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T15:17:12.695Z] 9065ff56babe: Pulling fs layer [2021-11-10T15:17:12.695Z] d287ab97295c: Pulling fs layer [2021-11-10T15:17:12.695Z] dc539afda2c1: Waiting [2021-11-10T15:17:12.695Z] 77bc0d833cb6: Waiting [2021-11-10T15:17:12.695Z] 9065ff56babe: Waiting [2021-11-10T15:17:12.695Z] d287ab97295c: Waiting [2021-11-10T15:17:12.695Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T15:17:12.695Z] a1111a8f2ec3: Download complete [2021-11-10T15:17:12.695Z] dc539afda2c1: Verifying Checksum [2021-11-10T15:17:12.695Z] dc539afda2c1: Download complete [2021-11-10T15:17:12.695Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T15:17:12.695Z] 77bc0d833cb6: Download complete [2021-11-10T15:17:12.695Z] ed53099fbce6: Verifying Checksum [2021-11-10T15:17:12.695Z] ed53099fbce6: Download complete [2021-11-10T15:17:12.964Z] 9065ff56babe: Verifying Checksum [2021-11-10T15:17:12.964Z] 9065ff56babe: Download complete [2021-11-10T15:17:12.964Z] b4d181a07f80: Verifying Checksum [2021-11-10T15:17:12.964Z] b4d181a07f80: Download complete [2021-11-10T15:17:12.995Z] + make test [2021-11-10T15:17:12.995Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T15:17:13.544Z] d287ab97295c: Verifying Checksum [2021-11-10T15:17:13.544Z] d287ab97295c: Download complete [2021-11-10T15:17:14.500Z] b4d181a07f80: Pull complete [2021-11-10T15:17:14.500Z] a1111a8f2ec3: Pull complete [2021-11-10T15:17:15.072Z] ed53099fbce6: Pull complete [2021-11-10T15:17:15.072Z] dc539afda2c1: Pull complete [2021-11-10T15:17:15.341Z] 77bc0d833cb6: Pull complete [2021-11-10T15:17:15.341Z] 9065ff56babe: Pull complete [2021-11-10T15:17:21.219Z] d287ab97295c: Pull complete [2021-11-10T15:17:21.219Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T15:17:21.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:17:21.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T15:17:21.285Z] prd-centos7-docker-4c-2g-30183 does not seem to be running inside a container [2021-11-10T15:17:21.322Z] $ 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/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@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-10T15:17:23.964Z] $ docker top 1a25ed3a286630a33a2d7b4b119ab7bbb0944cff743b24ab931e77ce8a281bc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:17:24.355Z] ---> job-cost.sh [2021-11-10T15:17:24.355Z] lf-activate-venv: SKIPPING [2021-11-10T15:17:24.355Z] INFO: No Stack... [2021-11-10T15:17:24.614Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T15:17:24.876Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T15:17:25.167Z] + cat /w/workspace/device-sdk-go/30/archives/cost.csv [2021-11-10T15:17:25.167Z] + cut -d, -f6 [Pipeline] lock [2021-11-10T15:17:25.195Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [2021-11-10T15:17:25.203Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] did not exist. Created. [2021-11-10T15:17:25.203Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T15:17:25.502Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-10T15:17:25.542Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T15:17:25.550Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T15:17:25.564Z] $ docker stop --time=1 1a25ed3a286630a33a2d7b4b119ab7bbb0944cff743b24ab931e77ce8a281bc2 [2021-11-10T15:17:26.710Z] $ docker rm -f 1a25ed3a286630a33a2d7b4b119ab7bbb0944cff743b24ab931e77ce8a281bc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-10T15:17:39.884Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T15:18:48.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T15:18:48.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T15:18:48.723Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T15:18:58.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.563s coverage: 23.3% of statements [2021-11-10T15:18:58.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T15:18:58.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.318s coverage: 27.6% of statements [2021-11-10T15:18:58.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-11-10T15:18:58.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.226s coverage: 9.0% of statements [2021-11-10T15:18:58.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T15:18:58.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T15:18:58.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T15:18:58.911Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.324s coverage: 28.7% of statements [2021-11-10T15:18:58.911Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T15:19:00.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.261s coverage: 83.3% of statements [2021-11-10T15:19:00.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T15:19:00.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T15:19:00.903Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 57.8% of statements [2021-11-10T15:19:05.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.317s coverage: 89.2% of statements [2021-11-10T15:19:05.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T15:19:05.211Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.226s coverage: 4.8% of statements [2021-11-10T15:19:05.211Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T15:19:05.485Z] GO111MODULE=on go vet ./... [2021-11-10T15:20:13.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T15:20:13.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T15:20:13.578Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T15:20:13.596Z] $ docker stop --time=1 5b8c3802be601afe744900c4a50ab00776b014f432aee00b631694e7f187dfaa [2021-11-10T15:20:15.428Z] $ docker rm -f 5b8c3802be601afe744900c4a50ab00776b014f432aee00b631694e7f187dfaa [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T15:20:16.589Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T15:20:16.617Z] Warning: overwriting stash ‘coverage-report’ [2021-11-10T15:20:17.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T15:20:17.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T15:20:18.028Z] + ls -al . [2021-11-10T15:20:18.028Z] total 300 [2021-11-10T15:20:18.028Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 15:20 . [2021-11-10T15:20:18.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:14 .. [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 15:14 .dockerignore [2021-11-10T15:20:18.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 15:14 .git [2021-11-10T15:20:18.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:14 .github [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 10 15:14 .gitignore [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 10 15:14 CHANGELOG.md [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 15:14 GOVERNANCE.md [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 15:14 Jenkinsfile [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 10 15:14 LICENSE [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 10 15:14 Makefile [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 15:14 OWNERS.md [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 10 15:14 README.md [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 10 15:12 VERSION [2021-11-10T15:20:18.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 15:14 bin [2021-11-10T15:20:18.028Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 10 15:19 coverage.out [2021-11-10T15:20:18.028Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 15:14 example [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 10 15:14 go.mod [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 10 15:14 go.sum [2021-11-10T15:20:18.028Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 10 15:14 internal [2021-11-10T15:20:18.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 15:14 openapi [2021-11-10T15:20:18.028Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 15:14 pkg [2021-11-10T15:20:18.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 15:14 snap [2021-11-10T15:20:18.028Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 10 15:14 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:20:19.349Z] + 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=26056eb6751852d3be2b177fe263ccb57def27d1 --label arch=arm64 --label version=2.0.1-dev.31 . [2021-11-10T15:20:19.943Z] Sending build context to Docker daemon 2.875MB [2021-11-10T15:20:19.943Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T15:20:19.943Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T15:20:19.943Z] ---> 1233e30bf2c8 [2021-11-10T15:20:19.943Z] Step 3/24 : ARG MAKE=make build [2021-11-10T15:20:19.943Z] ---> Running in 542233ce56d4 [2021-11-10T15:20:20.538Z] Removing intermediate container 542233ce56d4 [2021-11-10T15:20:20.538Z] ---> 30ee3cbe8c60 [2021-11-10T15:20:20.538Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T15:20:20.538Z] ---> Running in 7882a868e648 [2021-11-10T15:20:20.810Z] Removing intermediate container 7882a868e648 [2021-11-10T15:20:20.810Z] ---> 34e074ce549d [2021-11-10T15:20:20.810Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:20:21.082Z] ---> Running in 7d7f36a1878a [2021-11-10T15:20:21.356Z] Removing intermediate container 7d7f36a1878a [2021-11-10T15:20:21.356Z] ---> e2f61a3a4a51 [2021-11-10T15:20:21.356Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:20:21.356Z] ---> Running in 89d939e5e3bc [2021-11-10T15:20:23.332Z] Removing intermediate container 89d939e5e3bc [2021-11-10T15:20:23.332Z] ---> 78e43cb037e0 [2021-11-10T15:20:23.332Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T15:20:23.609Z] ---> Running in 8f40ca325392 [2021-11-10T15:20:25.046Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T15:20:25.643Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T15:20:26.629Z] OK: 219 MiB in 52 packages [2021-11-10T15:20:27.610Z] Removing intermediate container 8f40ca325392 [2021-11-10T15:20:27.610Z] ---> 05fb32e91a72 [2021-11-10T15:20:27.611Z] Step 8/24 : COPY . . [2021-11-10T15:20:29.046Z] ---> d2d628572aa2 [2021-11-10T15:20:29.046Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T15:20:29.046Z] ---> Running in 17f55d104b97 [2021-11-10T15:20:31.670Z] Removing intermediate container 17f55d104b97 [2021-11-10T15:20:31.670Z] ---> 8aec6b1f8a90 [2021-11-10T15:20:31.670Z] Step 10/24 : RUN ${MAKE} [2021-11-10T15:20:31.670Z] ---> Running in 2e56c1e57832 [2021-11-10T15:20:32.652Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.31" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-10T15:21:13.800Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T15:21:13.800Z] Removing intermediate container 2e56c1e57832 [2021-11-10T15:21:13.800Z] ---> b03ed1a90363 [2021-11-10T15:21:13.800Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T15:21:17.175Z] 3.14: Pulling from library/alpine [2021-11-10T15:21:17.175Z] 552d1f2373af: Already exists [2021-11-10T15:21:17.175Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T15:21:17.175Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T15:21:17.175Z] ---> bb3de5531c18 [2021-11-10T15:21:17.175Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T15:21:17.175Z] ---> Running in 994fa61e65b3 [2021-11-10T15:21:17.448Z] Removing intermediate container 994fa61e65b3 [2021-11-10T15:21:17.448Z] ---> 616f02cccf57 [2021-11-10T15:21:17.448Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T15:21:17.721Z] ---> Running in 00fc39f59368 [2021-11-10T15:21:19.693Z] Removing intermediate container 00fc39f59368 [2021-11-10T15:21:19.693Z] ---> 94c0807d4c83 [2021-11-10T15:21:19.693Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T15:21:19.693Z] ---> Running in 7d41a2cb61ce [2021-11-10T15:21:20.664Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T15:21:21.636Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T15:21:22.229Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T15:21:22.504Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T15:21:22.504Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T15:21:22.504Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T15:21:22.777Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T15:21:22.777Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T15:21:22.777Z] OK: 8 MiB in 19 packages [2021-11-10T15:21:23.757Z] Removing intermediate container 7d41a2cb61ce [2021-11-10T15:21:23.757Z] ---> 4624a2cef130 [2021-11-10T15:21:23.757Z] Step 15/24 : WORKDIR / [2021-11-10T15:21:24.029Z] ---> Running in b19a79f63f39 [2021-11-10T15:21:24.301Z] Removing intermediate container b19a79f63f39 [2021-11-10T15:21:24.301Z] ---> 296540ee476d [2021-11-10T15:21:24.301Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T15:21:25.275Z] ---> 23ee470884cb [2021-11-10T15:21:25.275Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T15:21:26.512Z] ---> acca3297dc22 [2021-11-10T15:21:26.512Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T15:21:27.106Z] ---> eaf1c9cd9d04 [2021-11-10T15:21:27.106Z] Step 19/24 : EXPOSE 59999 [2021-11-10T15:21:27.106Z] ---> Running in bba5b606815c [2021-11-10T15:21:27.379Z] Removing intermediate container bba5b606815c [2021-11-10T15:21:27.379Z] ---> 7f253c1eab06 [2021-11-10T15:21:27.379Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T15:21:27.379Z] ---> Running in 3c5e9bc2f49c [2021-11-10T15:21:27.974Z] Removing intermediate container 3c5e9bc2f49c [2021-11-10T15:21:27.974Z] ---> 0fb7731f1d7c [2021-11-10T15:21:27.974Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T15:21:27.974Z] ---> Running in 1cdf653687bf [2021-11-10T15:21:28.245Z] Removing intermediate container 1cdf653687bf [2021-11-10T15:21:28.245Z] ---> 6c43bf08fd7a [2021-11-10T15:21:28.245Z] Step 22/24 : LABEL arch=arm64 [2021-11-10T15:21:28.517Z] ---> Running in b87099a20418 [2021-11-10T15:21:28.788Z] Removing intermediate container b87099a20418 [2021-11-10T15:21:28.788Z] ---> be4307969bf5 [2021-11-10T15:21:28.788Z] Step 23/24 : LABEL git_sha=26056eb6751852d3be2b177fe263ccb57def27d1 [2021-11-10T15:21:29.060Z] ---> Running in b924391ecb6c [2021-11-10T15:21:29.330Z] Removing intermediate container b924391ecb6c [2021-11-10T15:21:29.330Z] ---> 00c150c354e0 [2021-11-10T15:21:29.330Z] Step 24/24 : LABEL version=2.0.1-dev.31 [2021-11-10T15:21:29.330Z] ---> Running in 812389019af4 [2021-11-10T15:21:29.922Z] Removing intermediate container 812389019af4 [2021-11-10T15:21:29.922Z] ---> a1ff5340eda2 [2021-11-10T15:21:29.922Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T15:21:29.922Z] Successfully built a1ff5340eda2 [2021-11-10T15:21:29.922Z] 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-10T15:21:30.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T15:21:30.554Z] [2021-11-10T15:21:30.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:21:31.854Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T15:21:32.130Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-10T15:21:32.130Z] 448f6bf000e3: Pulling fs layer [2021-11-10T15:21:32.130Z] f757da607395: Pulling fs layer [2021-11-10T15:21:32.130Z] 05883995daec: Pulling fs layer [2021-11-10T15:21:32.130Z] 8603b9c90790: Pulling fs layer [2021-11-10T15:21:32.130Z] 1560dd03e051: Pulling fs layer [2021-11-10T15:21:32.130Z] 27f5ce0e4adf: Pulling fs layer [2021-11-10T15:21:32.130Z] c2d8d7efcc4b: Pulling fs layer [2021-11-10T15:21:32.130Z] 1560dd03e051: Waiting [2021-11-10T15:21:32.130Z] 27f5ce0e4adf: Waiting [2021-11-10T15:21:32.130Z] c2d8d7efcc4b: Waiting [2021-11-10T15:21:32.130Z] 8603b9c90790: Waiting [2021-11-10T15:21:32.130Z] f757da607395: Verifying Checksum [2021-11-10T15:21:32.130Z] f757da607395: Download complete [2021-11-10T15:21:32.130Z] 8603b9c90790: Verifying Checksum [2021-11-10T15:21:32.130Z] 8603b9c90790: Download complete [2021-11-10T15:21:32.404Z] 1560dd03e051: Verifying Checksum [2021-11-10T15:21:32.404Z] 1560dd03e051: Download complete [2021-11-10T15:21:32.404Z] 27f5ce0e4adf: Verifying Checksum [2021-11-10T15:21:32.404Z] 27f5ce0e4adf: Download complete [2021-11-10T15:21:32.404Z] 05883995daec: Verifying Checksum [2021-11-10T15:21:32.404Z] 05883995daec: Download complete [2021-11-10T15:21:32.678Z] 448f6bf000e3: Verifying Checksum [2021-11-10T15:21:32.678Z] 448f6bf000e3: Download complete [2021-11-10T15:21:35.295Z] c2d8d7efcc4b: Verifying Checksum [2021-11-10T15:21:35.295Z] c2d8d7efcc4b: Download complete [2021-11-10T15:21:36.283Z] 448f6bf000e3: Pull complete [2021-11-10T15:21:37.264Z] f757da607395: Pull complete [2021-11-10T15:21:38.700Z] 05883995daec: Pull complete [2021-11-10T15:21:38.973Z] 8603b9c90790: Pull complete [2021-11-10T15:21:39.952Z] 1560dd03e051: Pull complete [2021-11-10T15:21:40.226Z] 27f5ce0e4adf: Pull complete [2021-11-10T15:21:55.319Z] c2d8d7efcc4b: Pull complete [2021-11-10T15:21:55.319Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-10T15:21:55.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T15:21:55.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-10T15:21:55.579Z] prd-ubuntu18.04-docker-arm64-4c-16g-30181 does not seem to be running inside a container [2021-11-10T15:21:55.714Z] $ 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/30 -v /w/workspace/device-sdk-go/30:/w/workspace/device-sdk-go/30:rw,z -v /w/workspace/device-sdk-go/30@tmp:/w/workspace/device-sdk-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-10T15:21:58.708Z] $ docker top 245137491f8e6272b52ad791a2bf0670de56955938ddb9866c559feae69668f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:21:59.667Z] ---> job-cost.sh [2021-11-10T15:21:59.667Z] lf-activate-venv: SKIPPING [2021-11-10T15:21:59.667Z] INFO: No Stack... [2021-11-10T15:21:59.939Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-10T15:22:00.535Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T15:22:01.198Z] + + cut -d,cat -f6 /w/workspace/device-sdk-go/30/archives/cost.csv [2021-11-10T15:22:01.198Z] [Pipeline] lock [2021-11-10T15:22:01.263Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [2021-11-10T15:22:01.269Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] did not exist. Created. [2021-11-10T15:22:01.269Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T15:22:01.936Z] /w/workspace/device-sdk-go/30@tmp/durable-fe16a1b9/script.sh: 1: /w/workspace/device-sdk-go/30@tmp/durable-fe16a1b9/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-10T15:22:02.604Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-10T15:22:02.624Z] Warning: overwriting stash ‘stack-cost’ [2021-11-10T15:22:02.683Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T15:22:02.692Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T15:22:02.707Z] $ docker stop --time=1 245137491f8e6272b52ad791a2bf0670de56955938ddb9866c559feae69668f0 [2021-11-10T15:22:04.319Z] $ docker rm -f 245137491f8e6272b52ad791a2bf0670de56955938ddb9866c559feae69668f0 [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-10T15:22:05.005Z] provisioning config files... [2021-11-10T15:22:05.015Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7766512428353193081tmp [Pipeline] { [Pipeline] sh [2021-11-10T15:22:05.349Z] + set +x [2021-11-10T15:22:05.349Z] + bash -s -- [2021-11-10T15:22:05.349Z] + curl -s https://codecov.io/bash [2021-11-10T15:22:05.349Z] [2021-11-10T15:22:05.349Z] _____ _ [2021-11-10T15:22:05.349Z] / ____| | | [2021-11-10T15:22:05.349Z] | | ___ __| | ___ ___ _____ __ [2021-11-10T15:22:05.349Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-10T15:22:05.349Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-10T15:22:05.349Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-10T15:22:05.349Z] Bash-1.0.6 [2021-11-10T15:22:05.349Z] [2021-11-10T15:22:05.349Z] [2021-11-10T15:22:05.349Z] ==> git version 2.24.4 found [2021-11-10T15:22:05.349Z] ==> 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-10T15:22:05.349Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-10T15:22:05.349Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-10T15:22:05.349Z] ==> Jenkins CI detected. [2021-11-10T15:22:05.349Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:22:05.349Z] project root: . [2021-11-10T15:22:05.349Z] --> token set from env [2021-11-10T15:22:05.349Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-10T15:22:05.349Z] ==> Running gcov in . (disable via -X gcov) [2021-11-10T15:22:05.349Z] ==> Python coveragepy not found [2021-11-10T15:22:05.349Z] ==> Searching for coverage reports in: [2021-11-10T15:22:05.349Z] + . [2021-11-10T15:22:05.611Z] -> Found 1 reports [2021-11-10T15:22:05.611Z] ==> Detecting git/mercurial file structure [2021-11-10T15:22:05.611Z] ==> Reading reports [2021-11-10T15:22:05.611Z] + ./coverage.out bytes=128369 [2021-11-10T15:22:05.611Z] ==> Appending adjustments [2021-11-10T15:22:05.611Z] https://docs.codecov.io/docs/fixing-reports [2021-11-10T15:22:05.874Z] + Found adjustments [2021-11-10T15:22:05.874Z] ==> Gzipping contents [2021-11-10T15:22:05.874Z] 16K /tmp/codecov.FscNDI.gz [2021-11-10T15:22:05.874Z] ==> Uploading reports [2021-11-10T15:22:05.874Z] url: https://codecov.io [2021-11-10T15:22:05.874Z] query: branch=main&commit=26056eb6751852d3be2b177fe263ccb57def27d1&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-10T15:22:05.874Z] -> Pinging Codecov [2021-11-10T15:22:05.874Z] 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=26056eb6751852d3be2b177fe263ccb57def27d1&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-10T15:22:06.136Z] -> Uploading to [2021-11-10T15:22:06.136Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-10/7E55EF52A471D76F132DFD9A03CDDE97/26056eb6751852d3be2b177fe263ccb57def27d1/e175e6dd-854e-4b08-95ff-be0db8bf2227.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211110T152205Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fb363380537a551bdbab1ee65dda99141f29f242580c4494f182521a4646349 [2021-11-10T15:22:06.136Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T15:22:06.136Z] Dload Upload Total Spent Left Speed [2021-11-10T15:22:06.709Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16312 0 0 100 16312 0 33972 --:--:-- --:--:-- --:--:-- 33912 100 16312 0 0 100 16312 0 33962 --:--:-- --:--:-- --:--:-- 33912 [2021-11-10T15:22:06.709Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] } [2021-11-10T15:22:06.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-10T15:22:08.071Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-10T15:22:08.079Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:08.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-10T15:22:08.374Z] [2021-11-10T15:22:08.374Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:08.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-10T15:22:08.724Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-10T15:22:08.724Z] 188c0c94c7c5: Pulling fs layer [2021-11-10T15:22:08.724Z] 0ef7d3d256c8: Pulling fs layer [2021-11-10T15:22:08.724Z] de9db76c5a1d: Pulling fs layer [2021-11-10T15:22:08.724Z] 0eba1c9be4d2: Pulling fs layer [2021-11-10T15:22:08.724Z] 0d57e429df01: Pulling fs layer [2021-11-10T15:22:08.724Z] 4e4be7b47b0d: Pulling fs layer [2021-11-10T15:22:08.724Z] e1f770b5df2f: Pulling fs layer [2021-11-10T15:22:08.724Z] 85a0685a4137: Pulling fs layer [2021-11-10T15:22:08.724Z] 0eba1c9be4d2: Waiting [2021-11-10T15:22:08.724Z] 0d57e429df01: Waiting [2021-11-10T15:22:08.724Z] 4e4be7b47b0d: Waiting [2021-11-10T15:22:08.724Z] e1f770b5df2f: Waiting [2021-11-10T15:22:08.724Z] 85a0685a4137: Waiting [2021-11-10T15:22:08.724Z] de9db76c5a1d: Verifying Checksum [2021-11-10T15:22:08.724Z] de9db76c5a1d: Download complete [2021-11-10T15:22:08.724Z] 0ef7d3d256c8: Verifying Checksum [2021-11-10T15:22:08.724Z] 0ef7d3d256c8: Download complete [2021-11-10T15:22:08.724Z] 0d57e429df01: Verifying Checksum [2021-11-10T15:22:08.724Z] 0d57e429df01: Download complete [2021-11-10T15:22:08.724Z] 4e4be7b47b0d: Verifying Checksum [2021-11-10T15:22:08.724Z] 4e4be7b47b0d: Download complete [2021-11-10T15:22:08.724Z] 188c0c94c7c5: Verifying Checksum [2021-11-10T15:22:08.724Z] 188c0c94c7c5: Download complete [2021-11-10T15:22:09.010Z] 188c0c94c7c5: Pull complete [2021-11-10T15:22:09.280Z] e1f770b5df2f: Verifying Checksum [2021-11-10T15:22:09.280Z] e1f770b5df2f: Download complete [2021-11-10T15:22:09.280Z] 0ef7d3d256c8: Pull complete [2021-11-10T15:22:09.551Z] de9db76c5a1d: Pull complete [2021-11-10T15:22:09.837Z] 0eba1c9be4d2: Verifying Checksum [2021-11-10T15:22:09.837Z] 0eba1c9be4d2: Download complete [2021-11-10T15:22:09.837Z] 85a0685a4137: Verifying Checksum [2021-11-10T15:22:09.837Z] 85a0685a4137: Download complete [2021-11-10T15:22:14.110Z] 0eba1c9be4d2: Pull complete [2021-11-10T15:22:14.110Z] 0d57e429df01: Pull complete [2021-11-10T15:22:14.110Z] 4e4be7b47b0d: Pull complete [2021-11-10T15:22:14.697Z] e1f770b5df2f: Pull complete [2021-11-10T15:22:18.970Z] 85a0685a4137: Pull complete [2021-11-10T15:22:18.970Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-10T15:22:18.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-10T15:22:18.970Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-10T15:22:19.042Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:22:19.085Z] $ 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-10T15:22:21.980Z] $ docker top 94eaf284f494f7c6be5be73ca13ccae38da693d22c6ef5461fa972c5d0dcc25e -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-10T15:22:22.050Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-10T15:22:22.343Z] + set -o pipefail [2021-11-10T15:22:22.343Z] + snyk monitor '--org=edgex-jenkins' [2021-11-10T15:22:28.239Z] [2021-11-10T15:22:28.239Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-10T15:22:28.239Z] [2021-11-10T15:22:28.239Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/915a98b6-b187-46c5-8014-f22c3a2c2225 [2021-11-10T15:22:28.239Z] [2021-11-10T15:22:28.239Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-10T15:22:28.239Z] [2021-11-10T15:22:28.239Z] [2021-11-10T15:22:28.239Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-10T15:22:28.240Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-10T15:22:28.249Z] $ docker stop --time=1 94eaf284f494f7c6be5be73ca13ccae38da693d22c6ef5461fa972c5d0dcc25e [2021-11-10T15:22:30.336Z] $ docker rm -f 94eaf284f494f7c6be5be73ca13ccae38da693d22c6ef5461fa972c5d0dcc25e [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-10T15:22:31.149Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:22:31.156Z] provisioning config files... [2021-11-10T15:22:31.165Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3804943252095871378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:22:31.486Z] --> edgex-publish-swagger.sh [2021-11-10T15:22:31.486Z] === Publish openapi/v2 API === [2021-11-10T15:22:31.486Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-10T15:22:31.486Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-10T15:22:31.486Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T15:22:31.486Z] Dload Upload Total Spent Left Speed [2021-11-10T15:22:32.425Z] 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 52423 --:--:-- --:--:-- --:--:-- 52445 [2021-11-10T15:22:32.425Z] [2021-11-10T15:22:32.425Z] [Pipeline] } [2021-11-10T15:22:32.432Z] 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-10T15:22:32.865Z] + git log --format=format:%s -1 26056eb6751852d3be2b177fe263ccb57def27d1 [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:33.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:22:33.161Z] . [Pipeline] withDockerContainer [2021-11-10T15:22:33.217Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:22:33.251Z] $ 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-10T15:22:33.612Z] $ docker top fd3f6af33279658674db1223a5b254c3c36e21169b775793481e79f4db330da0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T15:22:33.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T15:22:33.701Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T15:22:33.800Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T15:22:33.801Z] $ docker exec fd3f6af33279658674db1223a5b254c3c36e21169b775793481e79f4db330da0 ssh-agent [2021-11-10T15:22:33.902Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAeGGJe/agent.13 [2021-11-10T15:22:33.902Z] SSH_AGENT_PID=19 [2021-11-10T15:22:33.908Z] Running ssh-add (command line suppressed) [2021-11-10T15:22:34.004Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3332059373038153791.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3332059373038153791.key) [2021-11-10T15:22:34.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T15:22:34.321Z] + git semver tag [2021-11-10T15:22:34.321Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T15:22:34.321Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-10T15:22:34.321Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:22:34.321Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T15:22:34.321Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T15:22:34.321Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T15:22:34.321Z] # $SEMVER_BRANCH = main [2021-11-10T15:22:34.321Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-10T15:22:34.321Z] # 26056eb6751852d3be2b177fe263ccb57def27d1 HEAD [2021-11-10T15:22:34.321Z] # -> Force: false [2021-11-10T15:22:34.321Z] # c36062b612378daea5e46e40d5a5935fe8f8ac6e refs/tags/v2.0.1-dev.31 [Pipeline] } [2021-11-10T15:22:34.331Z] $ docker exec --env ******** --env ******** fd3f6af33279658674db1223a5b254c3c36e21169b775793481e79f4db330da0 ssh-agent -k [2021-11-10T15:22:34.424Z] unset SSH_AUTH_SOCK; [2021-11-10T15:22:34.424Z] unset SSH_AGENT_PID; [2021-11-10T15:22:34.424Z] echo Agent pid 19 killed; [2021-11-10T15:22:34.442Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T15:22:34.748Z] + git semver [Pipeline] } [2021-11-10T15:22:34.763Z] $ docker stop --time=1 fd3f6af33279658674db1223a5b254c3c36e21169b775793481e79f4db330da0 [2021-11-10T15:22:35.944Z] $ docker rm -f fd3f6af33279658674db1223a5b254c3c36e21169b775793481e79f4db330da0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:36.317Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-10T15:22:36.317Z] [2021-11-10T15:22:36.317Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:36.628Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-10T15:22:36.628Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-10T15:22:36.628Z] ab5ef0e58194: Pulling fs layer [2021-11-10T15:22:36.628Z] 9712f1f96733: Pulling fs layer [2021-11-10T15:22:36.628Z] 63f879dbbcfc: Pulling fs layer [2021-11-10T15:22:36.628Z] 0d9ebad4ef96: Pulling fs layer [2021-11-10T15:22:36.628Z] e9a5061849ea: Pulling fs layer [2021-11-10T15:22:36.628Z] d747dcd14b5f: Pulling fs layer [2021-11-10T15:22:36.628Z] 2de7ff778b66: Pulling fs layer [2021-11-10T15:22:36.628Z] e9a5061849ea: Waiting [2021-11-10T15:22:36.628Z] d747dcd14b5f: Waiting [2021-11-10T15:22:36.628Z] 2de7ff778b66: Waiting [2021-11-10T15:22:36.628Z] 0d9ebad4ef96: Waiting [2021-11-10T15:22:36.628Z] 9712f1f96733: Verifying Checksum [2021-11-10T15:22:36.628Z] 9712f1f96733: Download complete [2021-11-10T15:22:36.903Z] 63f879dbbcfc: Verifying Checksum [2021-11-10T15:22:36.903Z] 63f879dbbcfc: Download complete [2021-11-10T15:22:37.167Z] ab5ef0e58194: Verifying Checksum [2021-11-10T15:22:37.167Z] ab5ef0e58194: Download complete [2021-11-10T15:22:37.167Z] d747dcd14b5f: Verifying Checksum [2021-11-10T15:22:37.167Z] d747dcd14b5f: Download complete [2021-11-10T15:22:37.433Z] 0d9ebad4ef96: Verifying Checksum [2021-11-10T15:22:37.433Z] 0d9ebad4ef96: Download complete [2021-11-10T15:22:37.433Z] e9a5061849ea: Verifying Checksum [2021-11-10T15:22:37.433Z] e9a5061849ea: Download complete [2021-11-10T15:22:37.433Z] 2de7ff778b66: Verifying Checksum [2021-11-10T15:22:37.433Z] 2de7ff778b66: Download complete [2021-11-10T15:22:40.918Z] ab5ef0e58194: Pull complete [2021-11-10T15:22:40.918Z] 9712f1f96733: Pull complete [2021-11-10T15:22:41.497Z] 63f879dbbcfc: Pull complete [2021-11-10T15:22:45.775Z] 0d9ebad4ef96: Pull complete [2021-11-10T15:22:45.775Z] e9a5061849ea: Pull complete [2021-11-10T15:22:46.035Z] d747dcd14b5f: Pull complete [2021-11-10T15:22:47.439Z] 2de7ff778b66: Pull complete [2021-11-10T15:22:47.439Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-10T15:22:47.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-10T15:22:47.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-10T15:22:47.505Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:22:47.540Z] $ 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-10T15:22:51.273Z] $ docker top 9d3c4e37dc7c58f23a89adbccb834843f7fe2d9a8a6bb8269fed2aa0b911a215 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:22:51.343Z] provisioning config files... [2021-11-10T15:22:51.351Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3185168838859842275tmp [2021-11-10T15:22:51.361Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1483092107401441888tmp [2021-11-10T15:22:51.378Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5586970788899609876tmp [Pipeline] { [Pipeline] echo [2021-11-10T15:22:51.406Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:22:51.702Z] ---> sigul-configuration.sh [2021-11-10T15:22:51.702Z] gpg: directory `/root/.gnupg' created [2021-11-10T15:22:51.702Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-10T15:22:51.703Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-10T15:22:51.703Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-10T15:22:51.703Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-10T15:22:51.703Z] gpg: CAST5 encrypted data [2021-11-10T15:22:51.703Z] gpg: encrypted with 1 passphrase [2021-11-10T15:22:51.703Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-10T15:22:51.995Z] + mkdir /home/jenkins [2021-11-10T15:22:51.995Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-10T15:22:52.298Z] + 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-10T15:22:52.306Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:22:52.593Z] ---> sigul-install.sh [2021-11-10T15:22:52.593Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-10T15:22:52.897Z] + git tag --list [2021-11-10T15:22:52.897Z] 0.7.1 [2021-11-10T15:22:52.897Z] delhi-tag [2021-11-10T15:22:52.897Z] v1.0.0 [2021-11-10T15:22:52.897Z] v1.1.0 [2021-11-10T15:22:52.897Z] v1.1.1 [2021-11-10T15:22:52.897Z] v1.1.2 [2021-11-10T15:22:52.897Z] v1.2.0 [2021-11-10T15:22:52.897Z] v1.2.1 [2021-11-10T15:22:52.897Z] v1.2.2 [2021-11-10T15:22:52.897Z] v1.2.3 [2021-11-10T15:22:52.897Z] v1.3.0 [2021-11-10T15:22:52.897Z] v1.4.0 [2021-11-10T15:22:52.897Z] v2.0.0 [2021-11-10T15:22:52.897Z] v2.0.1-dev.1 [2021-11-10T15:22:52.897Z] v2.0.1-dev.10 [2021-11-10T15:22:52.897Z] v2.0.1-dev.11 [2021-11-10T15:22:52.897Z] v2.0.1-dev.12 [2021-11-10T15:22:52.897Z] v2.0.1-dev.13 [2021-11-10T15:22:52.897Z] v2.0.1-dev.14 [2021-11-10T15:22:52.897Z] v2.0.1-dev.15 [2021-11-10T15:22:52.897Z] v2.0.1-dev.16 [2021-11-10T15:22:52.897Z] v2.0.1-dev.17 [2021-11-10T15:22:52.897Z] v2.0.1-dev.18 [2021-11-10T15:22:52.897Z] v2.0.1-dev.19 [2021-11-10T15:22:52.897Z] v2.0.1-dev.2 [2021-11-10T15:22:52.897Z] v2.0.1-dev.20 [2021-11-10T15:22:52.897Z] v2.0.1-dev.21 [2021-11-10T15:22:52.897Z] v2.0.1-dev.22 [2021-11-10T15:22:52.897Z] v2.0.1-dev.23 [2021-11-10T15:22:52.897Z] v2.0.1-dev.24 [2021-11-10T15:22:52.897Z] v2.0.1-dev.25 [2021-11-10T15:22:52.897Z] v2.0.1-dev.26 [2021-11-10T15:22:52.897Z] v2.0.1-dev.27 [2021-11-10T15:22:52.897Z] v2.0.1-dev.28 [2021-11-10T15:22:52.897Z] v2.0.1-dev.29 [2021-11-10T15:22:52.897Z] v2.0.1-dev.3 [2021-11-10T15:22:52.897Z] v2.0.1-dev.30 [2021-11-10T15:22:52.897Z] v2.0.1-dev.31 [2021-11-10T15:22:52.897Z] v2.0.1-dev.4 [2021-11-10T15:22:52.897Z] v2.0.1-dev.5 [2021-11-10T15:22:52.897Z] v2.0.1-dev.6 [2021-11-10T15:22:52.897Z] v2.0.1-dev.7 [2021-11-10T15:22:52.897Z] v2.0.1-dev.8 [2021-11-10T15:22:52.897Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-10T15:22:53.203Z] + lftools sign git-tag v2.0.1-dev.31 [2021-11-10T15:22:53.777Z] Signing Git tag with Sigul... [2021-11-10T15:22:53.777Z] Signing v2.0.1-dev.31 [Pipeline] echo [2021-11-10T15:22:55.163Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:22:55.447Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-10T15:22:55.454Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-10T15:22:55.468Z] $ docker stop --time=1 9d3c4e37dc7c58f23a89adbccb834843f7fe2d9a8a6bb8269fed2aa0b911a215 [2021-11-10T15:22:56.690Z] $ docker rm -f 9d3c4e37dc7c58f23a89adbccb834843f7fe2d9a8a6bb8269fed2aa0b911a215 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:22:57.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:22:57.231Z] . [Pipeline] withDockerContainer [2021-11-10T15:22:57.298Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:22:57.330Z] $ 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-10T15:22:57.733Z] $ docker top 6309988d78d2fefdf413655d21c4a643c5aa81fac1fe77092c2bbea0167aa5ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T15:22:57.822Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T15:22:57.822Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T15:22:57.933Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T15:22:57.935Z] $ docker exec 6309988d78d2fefdf413655d21c4a643c5aa81fac1fe77092c2bbea0167aa5ff ssh-agent [2021-11-10T15:22:58.037Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGLmAIL/agent.13 [2021-11-10T15:22:58.037Z] SSH_AGENT_PID=20 [2021-11-10T15:22:58.042Z] Running ssh-add (command line suppressed) [2021-11-10T15:22:58.141Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1696992950604760608.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1696992950604760608.key) [2021-11-10T15:22:58.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T15:22:58.447Z] + git semver bump pre [2021-11-10T15:22:58.447Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T15:22:58.447Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-10T15:22:58.447Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:22:58.447Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T15:22:58.447Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T15:22:58.447Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T15:22:58.447Z] # $SEMVER_BRANCH = main [2021-11-10T15:22:58.447Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-10T15:22:58.447Z] 2.0.1-dev.32 [Pipeline] } [2021-11-10T15:22:58.455Z] $ docker exec --env ******** --env ******** 6309988d78d2fefdf413655d21c4a643c5aa81fac1fe77092c2bbea0167aa5ff ssh-agent -k [2021-11-10T15:22:58.554Z] unset SSH_AUTH_SOCK; [2021-11-10T15:22:58.554Z] unset SSH_AGENT_PID; [2021-11-10T15:22:58.554Z] echo Agent pid 20 killed; [2021-11-10T15:22:58.566Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T15:22:58.874Z] + git semver [Pipeline] } [2021-11-10T15:22:58.886Z] $ docker stop --time=1 6309988d78d2fefdf413655d21c4a643c5aa81fac1fe77092c2bbea0167aa5ff [2021-11-10T15:23:00.095Z] $ docker rm -f 6309988d78d2fefdf413655d21c4a643c5aa81fac1fe77092c2bbea0167aa5ff [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:23:02.135Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T15:23:02.135Z] . [Pipeline] withDockerContainer [2021-11-10T15:23:02.341Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:23:02.427Z] $ 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-10T15:23:02.749Z] $ docker top b69a8f2bea26ffedca923055cc7186cea061f64dc8d2e3123211528f3a5bf792 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T15:23:02.842Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T15:23:02.842Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T15:23:02.948Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T15:23:02.949Z] $ docker exec b69a8f2bea26ffedca923055cc7186cea061f64dc8d2e3123211528f3a5bf792 ssh-agent [2021-11-10T15:23:03.048Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXngppJo/agent.14 [2021-11-10T15:23:03.048Z] SSH_AGENT_PID=21 [2021-11-10T15:23:03.052Z] Running ssh-add (command line suppressed) [2021-11-10T15:23:03.147Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5166755201141300268.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5166755201141300268.key) [2021-11-10T15:23:03.160Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T15:23:03.451Z] + git semver push [2021-11-10T15:23:03.451Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T15:23:03.451Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-10T15:23:03.451Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:23:03.451Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T15:23:03.451Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T15:23:03.451Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T15:23:03.451Z] # $SEMVER_BRANCH = main [2021-11-10T15:23:03.451Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-10T15:23:06.012Z] $ docker exec --env ******** --env ******** b69a8f2bea26ffedca923055cc7186cea061f64dc8d2e3123211528f3a5bf792 ssh-agent -k [2021-11-10T15:23:06.124Z] unset SSH_AUTH_SOCK; [2021-11-10T15:23:06.124Z] unset SSH_AGENT_PID; [2021-11-10T15:23:06.124Z] echo Agent pid 21 killed; [2021-11-10T15:23:06.135Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T15:23:06.443Z] + git semver [Pipeline] } [2021-11-10T15:23:06.456Z] $ docker stop --time=1 b69a8f2bea26ffedca923055cc7186cea061f64dc8d2e3123211528f3a5bf792 [2021-11-10T15:23:07.682Z] $ docker rm -f b69a8f2bea26ffedca923055cc7186cea061f64dc8d2e3123211528f3a5bf792 [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-10T15:23:08.563Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:09.558Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:09.851Z] ---> package-listing.sh [2021-11-10T15:23:09.851Z] ++ facter osfamily [2021-11-10T15:23:09.851Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-10T15:23:10.112Z] + OS_FAMILY=redhat [2021-11-10T15:23:10.112Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-10T15:23:10.112Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-10T15:23:10.112Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-10T15:23:10.112Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-10T15:23:10.112Z] + PACKAGES=/tmp/packages_start.txt [2021-11-10T15:23:10.112Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-10T15:23:10.112Z] + PACKAGES=/tmp/packages_end.txt [2021-11-10T15:23:10.112Z] + case "${OS_FAMILY}" in [2021-11-10T15:23:10.112Z] + sort [2021-11-10T15:23:10.112Z] + rpm -qa [2021-11-10T15:23:10.682Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-10T15:23:10.682Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-10T15:23:10.682Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-10T15:23:10.943Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-10T15:23:10.943Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-10T15:23:10.943Z] + 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-10T15:23:10.955Z] 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-10T15:23:11.238Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:23:11.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:23:11.791Z] [2021-11-10T15:23:11.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T15:23:12.095Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:23:12.095Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T15:23:12.095Z] b4d181a07f80: Pulling fs layer [2021-11-10T15:23:12.095Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T15:23:12.095Z] ed53099fbce6: Pulling fs layer [2021-11-10T15:23:12.095Z] dc539afda2c1: Pulling fs layer [2021-11-10T15:23:12.095Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T15:23:12.095Z] 9065ff56babe: Pulling fs layer [2021-11-10T15:23:12.095Z] d287ab97295c: Pulling fs layer [2021-11-10T15:23:12.095Z] dc539afda2c1: Waiting [2021-11-10T15:23:12.095Z] 77bc0d833cb6: Waiting [2021-11-10T15:23:12.095Z] 9065ff56babe: Waiting [2021-11-10T15:23:12.095Z] d287ab97295c: Waiting [2021-11-10T15:23:12.095Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T15:23:12.095Z] a1111a8f2ec3: Download complete [2021-11-10T15:23:12.095Z] dc539afda2c1: Verifying Checksum [2021-11-10T15:23:12.095Z] dc539afda2c1: Download complete [2021-11-10T15:23:12.359Z] ed53099fbce6: Verifying Checksum [2021-11-10T15:23:12.359Z] ed53099fbce6: Download complete [2021-11-10T15:23:12.359Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T15:23:12.359Z] 77bc0d833cb6: Download complete [2021-11-10T15:23:12.359Z] 9065ff56babe: Verifying Checksum [2021-11-10T15:23:12.359Z] 9065ff56babe: Download complete [2021-11-10T15:23:12.359Z] b4d181a07f80: Verifying Checksum [2021-11-10T15:23:12.359Z] b4d181a07f80: Download complete [2021-11-10T15:23:12.935Z] d287ab97295c: Verifying Checksum [2021-11-10T15:23:12.935Z] d287ab97295c: Download complete [2021-11-10T15:23:13.894Z] b4d181a07f80: Pull complete [2021-11-10T15:23:14.162Z] a1111a8f2ec3: Pull complete [2021-11-10T15:23:14.735Z] ed53099fbce6: Pull complete [2021-11-10T15:23:14.735Z] dc539afda2c1: Pull complete [2021-11-10T15:23:14.998Z] 77bc0d833cb6: Pull complete [2021-11-10T15:23:14.998Z] 9065ff56babe: Pull complete [2021-11-10T15:23:20.332Z] d287ab97295c: Pull complete [2021-11-10T15:23:20.332Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T15:23:20.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T15:23:20.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T15:23:20.397Z] prd-centos7-docker-4c-2g-30179 does not seem to be running inside a container [2021-11-10T15:23:20.425Z] $ 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-10T15:23:23.707Z] $ docker top 4877f05c82c540cadfd24e15edcde7d3509dab57e2e715d6c409d131612e69b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T15:23:24.061Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-10T15:23:24.349Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-10T15:23:24.633Z] + ls /var/log/sa-host [2021-11-10T15:23:24.633Z] + sadf -c /var/log/sa-host/sa10 [2021-11-10T15:23:24.633Z] file_magic: OK [2021-11-10T15:23:24.633Z] HZ: Using current value: 100 [2021-11-10T15:23:24.633Z] file_header: OK [2021-11-10T15:23:24.633Z] 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-10T15:23:24.633Z] Statistics: [2021-11-10T15:23:24.633Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T15:23:24.633Z] File successfully converted to sysstat format version 12.0.3 [2021-11-10T15:23:24.633Z] + sadf -c /var/log/sa-host/sa30 [2021-11-10T15:23:24.633Z] file_magic: OK [2021-11-10T15:23:24.633Z] HZ: Using current value: 100 [2021-11-10T15:23:24.633Z] file_header: OK [2021-11-10T15:23:24.633Z] 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-10T15:23:24.633Z] Statistics: [2021-11-10T15:23:24.633Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T15:23:24.633Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T15:23:24.712Z] provisioning config files... [2021-11-10T15:23:24.721Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3494707631868079299tmp [Pipeline] { [Pipeline] echo [2021-11-10T15:23:24.736Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:25.023Z] ---> create-netrc.sh [Pipeline] } [2021-11-10T15:23:25.030Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:25.352Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-10T15:23:25.361Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:25.654Z] ---> sudo-logs.sh [2021-11-10T15:23:25.654Z] Archiving 'sudo' log.. [2021-11-10T15:23:25.654Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30179.novalocal: Name or service not known [2021-11-10T15:23:25.654Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-30179.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-10T15:23:25.678Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:25.970Z] ---> job-cost.sh [2021-11-10T15:23:25.970Z] lf-activate-venv: SKIPPING [2021-11-10T15:23:25.970Z] DEBUG: total: 0.10999999940395355 [2021-11-10T15:23:25.970Z] INFO: Retrieving Stack Cost... [2021-11-10T15:23:29.270Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T15:23:29.270Z] INFO: Archiving Costs [Pipeline] echo [2021-11-10T15:23:29.280Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T15:23:29.570Z] ---> logs-deploy.sh [2021-11-10T15:23:29.570Z] lf-activate-venv: SKIPPING [2021-11-10T15:23:29.570Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/30 [2021-11-10T15:23:29.570Z] INFO: archiving workspace using pattern(s): [2021-11-10T15:23:30.139Z] Archives upload complete. [2021-11-10T15:23:30.398Z] INFO: archiving logs to Nexus