Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 35284aa85d24a35feb544b47ef7c3f5e59bdf77f 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-ssh6827620824797840871.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-ssh6848130809962624853.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-ssh2665949688952772243.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-ssh2571889917011842134.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-ssh3013858448105611226.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-13743 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-ssh4318240929775018905.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 35284aa85d24a35feb544b47ef7c3f5e59bdf77f (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 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 Commit message: "Merge pull request #1051 from lenny-intel/latest-go-mods" > git rev-list --no-walk 6aaea41e142bdf99866ea5b9b70145e1b0b11551 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-01T20:51:53.506Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-01T20:51:53.548Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-01T20:51:53.562Z] ========================================================= [2021-11-01T20:51:53.562Z] EdgeX Global Pipelines Version Info [2021-11-01T20:51:53.562Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-01T20:51:54.706Z] ------------------- [2021-11-01T20:51:54.707Z] stable info: [2021-11-01T20:51:54.707Z] ------------------- [2021-11-01T20:51:54.707Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-01T20:51:54.707Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T20:51:54.707Z] Message: update stable to v1.0.211 [2021-11-01T20:51:55.281Z] ------------------- [2021-11-01T20:51:55.281Z] experimental info: [2021-11-01T20:51:55.281Z] ------------------- [2021-11-01T20:51:55.281Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-01T20:51:55.281Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-01T20:51:55.281Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-01T20:51:55.370Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-01T20:51:55.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-01T20:51:55.389Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-01T20:51:55.398Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-01T20:51:55.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-01T20:51:55.417Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-01T20:51:55.428Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-01T20:51:55.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-01T20:51:55.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-01T20:51:55.461Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-01T20:51:55.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-01T20:51:55.478Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-01T20:51:55.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-01T20:51:55.499Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-01T20:51:55.512Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-01T20:51:55.521Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T20:51:55.531Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T20:51:55.541Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-01T20:51:55.550Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-01T20:51:55.562Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-01T20:51:55.572Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-01T20:51:55.582Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-01T20:51:55.591Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-01T20:51:55.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-01T20:51:55.611Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-01T20:51:55.619Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-01T20:51:55.626Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-01T20:51:55.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-01T20:51:55.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-01T20:51:55.648Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] echo [2021-11-01T20:51:55.655Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 35284aa [Pipeline] echo [2021-11-01T20:51:55.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T20:51:55.711Z] provisioning config files... [2021-11-01T20:51:55.725Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4389851498954873882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T20:51:56.035Z] ---> docker-login.sh [2021-11-01T20:51:56.035Z] nexus3.edgexfoundry.org:10001 [2021-11-01T20:51:56.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:51:56.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:51:56.297Z] Configure a credential helper to remove this warning. See [2021-11-01T20:51:56.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:51:56.297Z] [2021-11-01T20:51:56.297Z] Login Succeeded [2021-11-01T20:51:56.297Z] nexus3.edgexfoundry.org:10002 [2021-11-01T20:51:56.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:51:56.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:51:56.297Z] Configure a credential helper to remove this warning. See [2021-11-01T20:51:56.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:51:56.297Z] [2021-11-01T20:51:56.297Z] Login Succeeded [2021-11-01T20:51:56.297Z] nexus3.edgexfoundry.org:10003 [2021-11-01T20:51:56.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:51:56.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:51:56.558Z] Configure a credential helper to remove this warning. See [2021-11-01T20:51:56.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:51:56.558Z] [2021-11-01T20:51:56.558Z] Login Succeeded [2021-11-01T20:51:56.558Z] nexus3.edgexfoundry.org:10004 [2021-11-01T20:51:56.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:51:56.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:51:56.558Z] Configure a credential helper to remove this warning. See [2021-11-01T20:51:56.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:51:56.558Z] [2021-11-01T20:51:56.558Z] Login Succeeded [2021-11-01T20:51:56.558Z] docker.io [2021-11-01T20:51:56.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:51:57.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:51:57.080Z] Configure a credential helper to remove this warning. See [2021-11-01T20:51:57.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:51:57.080Z] [2021-11-01T20:51:57.080Z] Login Succeeded [2021-11-01T20:51:57.080Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T20:51:57.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-01T20:51:57.512Z] + git rev-list -1 --merges 35284aa85d24a35feb544b47ef7c3f5e59bdf77f~1..35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] echo [2021-11-01T20:51:57.545Z] -----------> git rev-list -1 --merges 35284aa85d24a35feb544b47ef7c3f5e59bdf77f~1..35284aa85d24a35feb544b47ef7c3f5e59bdf77f 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [2021-11-01T20:51:57.545Z] 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [false] [Pipeline] sh [2021-11-01T20:51:57.837Z] + git log --format=format:%s -1 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] echo [2021-11-01T20:51:57.854Z] ========================================================= [2021-11-01T20:51:57.854Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-01T20:51:57.854Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T20:51:58.183Z] + git log --format=format:%s -1 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] echo [2021-11-01T20:51:58.202Z] [semverPrep] GIT_COMMIT: 35284aa85d24a35feb544b47ef7c3f5e59bdf77f, Commit Message: Merge pull request #1051 from lenny-intel/latest-go-mods [Pipeline] echo [2021-11-01T20:51:58.211Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:51:58.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T20:51:58.686Z] [2021-11-01T20:51:58.686Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:51:58.990Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T20:51:58.990Z] latest: Pulling from edgex-devops/git-semver [2021-11-01T20:51:58.990Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T20:51:58.990Z] 3e5f54012d9b: Pulling fs layer [2021-11-01T20:51:58.990Z] 4c7163046ea9: Pulling fs layer [2021-11-01T20:51:58.990Z] 0c2d73faf560: Pulling fs layer [2021-11-01T20:51:58.990Z] 0c2d73faf560: Waiting [2021-11-01T20:51:58.990Z] 3e5f54012d9b: Verifying Checksum [2021-11-01T20:51:58.990Z] 3e5f54012d9b: Download complete [2021-11-01T20:51:58.990Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T20:51:58.990Z] a0d0a0d46f8b: Download complete [2021-11-01T20:51:58.990Z] 0c2d73faf560: Verifying Checksum [2021-11-01T20:51:58.990Z] 0c2d73faf560: Download complete [2021-11-01T20:51:59.267Z] 4c7163046ea9: Verifying Checksum [2021-11-01T20:51:59.267Z] 4c7163046ea9: Download complete [2021-11-01T20:51:59.267Z] a0d0a0d46f8b: Pull complete [2021-11-01T20:51:59.267Z] 3e5f54012d9b: Pull complete [2021-11-01T20:51:59.533Z] 4c7163046ea9: Pull complete [2021-11-01T20:51:59.800Z] 0c2d73faf560: Pull complete [2021-11-01T20:51:59.800Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-01T20:51:59.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T20:51:59.800Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-01T20:51:59.867Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T20:51:59.902Z] $ 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-01T20:52:00.448Z] $ docker top e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T20:52:00.534Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T20:52:00.534Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T20:52:00.629Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T20:52:00.631Z] $ docker exec e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac ssh-agent [2021-11-01T20:52:00.739Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXABahin/agent.14 [2021-11-01T20:52:00.739Z] SSH_AGENT_PID=20 [2021-11-01T20:52:00.746Z] Running ssh-add (command line suppressed) [2021-11-01T20:52:00.828Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_565855169813226050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_565855169813226050.key) [2021-11-01T20:52:00.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T20:52:01.142Z] + git tag --points-at HEAD [Pipeline] } [2021-11-01T20:52:01.155Z] $ docker exec --env ******** --env ******** e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac ssh-agent -k [2021-11-01T20:52:01.238Z] unset SSH_AUTH_SOCK; [2021-11-01T20:52:01.238Z] unset SSH_AGENT_PID; [2021-11-01T20:52:01.238Z] echo Agent pid 20 killed; [2021-11-01T20:52:01.254Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-01T20:52:01.274Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T20:52:01.274Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T20:52:01.377Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T20:52:01.379Z] $ docker exec e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac ssh-agent [2021-11-01T20:52:01.467Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDjlbAM/agent.54 [2021-11-01T20:52:01.467Z] SSH_AGENT_PID=61 [2021-11-01T20:52:01.472Z] Running ssh-add (command line suppressed) [2021-11-01T20:52:01.606Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2375706878199118555.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2375706878199118555.key) [2021-11-01T20:52:01.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T20:52:01.917Z] + git semver init [2021-11-01T20:52:01.917Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T20:52:01.917Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-01T20:52:01.917Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T20:52:01.917Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T20:52:01.917Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T20:52:01.917Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T20:52:01.917Z] # $SEMVER_BRANCH = main [2021-11-01T20:52:01.917Z] # $SEMVER_TEMP = /tmp/semver-483669353 [2021-11-01T20:52:01.917Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-01T20:52:02.868Z] # '/tmp/semver-483669353' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' [2021-11-01T20:52:02.868Z] # -> Force: false [2021-11-01T20:52:02.868Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-01T20:52:02.879Z] $ docker exec --env ******** --env ******** e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac ssh-agent -k [2021-11-01T20:52:02.982Z] unset SSH_AUTH_SOCK; [2021-11-01T20:52:02.982Z] unset SSH_AGENT_PID; [2021-11-01T20:52:02.982Z] echo Agent pid 61 killed; [2021-11-01T20:52:02.992Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T20:52:03.292Z] + git semver [Pipeline] } [2021-11-01T20:52:03.307Z] $ docker stop --time=1 e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac [2021-11-01T20:52:04.538Z] $ docker rm -f e16de965b840cf30a0ed1846ca7bc33e96f1d0825730fa857ad49f5406a2e1ac [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T20:52:04.882Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-01T20:52:05.117Z] Stashed 1 file(s) [Pipeline] echo [2021-11-01T20:52:05.120Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.27 [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-01T20:52:20.245Z] Still waiting to schedule task [2021-11-01T20:52:20.245Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-01T20:52:20.246Z] Still waiting to schedule task [2021-11-01T20:52:20.247Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-01T20:53:56.329Z] Running on prd-centos7-docker-4c-2g-13746 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-01T20:53:56.342Z] Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout [2021-11-01T20:53:56.432Z] Selected Git installation does not exist. Using Default [2021-11-01T20:53:56.432Z] The recommended git tool is: NONE [2021-11-01T20:53:58.725Z] using credential edgex-jenkins-ssh [2021-11-01T20:53:58.735Z] Cloning the remote Git repository [2021-11-01T20:53:59.035Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T20:53:59.092Z] > git init /w/workspace/device-sdk-go/26 # timeout=10 [2021-11-01T20:53:59.134Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T20:53:59.134Z] > git --version # timeout=10 [2021-11-01T20:53:59.149Z] > git --version # 'git version 2.24.4' [2021-11-01T20:53:59.150Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T20:53:59.173Z] [INFO] Currently running in a labeled security context [2021-11-01T20:53:59.173Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-01T20:53:59.174Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/26@tmp/jenkins-gitclient-ssh1879679077791068755.key [2021-11-01T20:53:59.197Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T20:53:59.929Z] Avoid second fetch [2021-11-01T20:53:59.929Z] Checking out Revision 35284aa85d24a35feb544b47ef7c3f5e59bdf77f (main) [2021-11-01T20:54:00.189Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T20:54:00.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T20:54:00.219Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T20:54:00.228Z] > git checkout -f 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 [2021-11-01T20:54:03.593Z] Commit message: "Merge pull request #1051 from lenny-intel/latest-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T20:54:03.988Z] provisioning config files... [2021-11-01T20:54:03.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config4988728964863852616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T20:54:04.377Z] ---> docker-login.sh [2021-11-01T20:54:04.377Z] nexus3.edgexfoundry.org:10001 [2021-11-01T20:54:04.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:04.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:04.643Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:04.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:04.643Z] [2021-11-01T20:54:04.643Z] Login Succeeded [2021-11-01T20:54:04.643Z] nexus3.edgexfoundry.org:10002 [2021-11-01T20:54:04.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:04.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:04.643Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:04.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:04.643Z] [2021-11-01T20:54:04.643Z] Login Succeeded [2021-11-01T20:54:04.643Z] nexus3.edgexfoundry.org:10003 [2021-11-01T20:54:04.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:04.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:04.908Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:04.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:04.908Z] [2021-11-01T20:54:04.908Z] Login Succeeded [2021-11-01T20:54:04.908Z] nexus3.edgexfoundry.org:10004 [2021-11-01T20:54:04.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:04.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:04.908Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:04.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:04.908Z] [2021-11-01T20:54:04.908Z] Login Succeeded [2021-11-01T20:54:04.908Z] docker.io [2021-11-01T20:54:04.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:05.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:05.486Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:05.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:05.486Z] [2021-11-01T20:54:05.486Z] Login Succeeded [2021-11-01T20:54:05.486Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T20:54:05.520Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T20:54:05.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T20:54:05.667Z] ========================================================= [2021-11-01T20:54:05.667Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-01T20:54:05.667Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:54:05.977Z] + 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-01T20:54:05.977Z] Sending build context to Docker daemon 2.709MB [2021-11-01T20:54:05.977Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T20:54:05.977Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-01T20:54:05.977Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-01T20:54:05.977Z] a0d0a0d46f8b: Pulling fs layer [2021-11-01T20:54:05.977Z] 31adcdaf11c8: Pulling fs layer [2021-11-01T20:54:05.977Z] b8b176561691: Pulling fs layer [2021-11-01T20:54:05.977Z] 4527c011a84f: Pulling fs layer [2021-11-01T20:54:05.977Z] 5d74067f8e1e: Pulling fs layer [2021-11-01T20:54:05.977Z] e0aca202a116: Pulling fs layer [2021-11-01T20:54:05.977Z] 3a43be97a3b4: Pulling fs layer [2021-11-01T20:54:05.977Z] 34cad66bf833: Pulling fs layer [2021-11-01T20:54:05.977Z] b4e3c513aaa6: Pulling fs layer [2021-11-01T20:54:05.977Z] e0aca202a116: Waiting [2021-11-01T20:54:05.977Z] 3a43be97a3b4: Waiting [2021-11-01T20:54:05.977Z] 34cad66bf833: Waiting [2021-11-01T20:54:05.977Z] b4e3c513aaa6: Waiting [2021-11-01T20:54:05.977Z] 4527c011a84f: Waiting [2021-11-01T20:54:05.977Z] 5d74067f8e1e: Waiting [2021-11-01T20:54:05.977Z] b8b176561691: Verifying Checksum [2021-11-01T20:54:05.977Z] b8b176561691: Download complete [2021-11-01T20:54:05.977Z] 31adcdaf11c8: Verifying Checksum [2021-11-01T20:54:05.977Z] 31adcdaf11c8: Download complete [2021-11-01T20:54:06.241Z] 5d74067f8e1e: Verifying Checksum [2021-11-01T20:54:06.241Z] 5d74067f8e1e: Download complete [2021-11-01T20:54:06.241Z] e0aca202a116: Verifying Checksum [2021-11-01T20:54:06.241Z] e0aca202a116: Download complete [2021-11-01T20:54:06.241Z] a0d0a0d46f8b: Verifying Checksum [2021-11-01T20:54:06.241Z] a0d0a0d46f8b: Download complete [2021-11-01T20:54:06.241Z] 3a43be97a3b4: Verifying Checksum [2021-11-01T20:54:06.241Z] 3a43be97a3b4: Download complete [2021-11-01T20:54:06.241Z] 34cad66bf833: Verifying Checksum [2021-11-01T20:54:06.241Z] 34cad66bf833: Download complete [2021-11-01T20:54:06.823Z] b4e3c513aaa6: Verifying Checksum [2021-11-01T20:54:06.823Z] b4e3c513aaa6: Download complete [2021-11-01T20:54:06.823Z] 4527c011a84f: Verifying Checksum [2021-11-01T20:54:06.823Z] 4527c011a84f: Download complete [2021-11-01T20:54:06.823Z] a0d0a0d46f8b: Pull complete [2021-11-01T20:54:06.823Z] 31adcdaf11c8: Pull complete [2021-11-01T20:54:06.823Z] b8b176561691: Pull complete [2021-11-01T20:54:07.355Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13744 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws [2021-11-01T20:54:07.368Z] Running in /w/workspace/device-sdk-go/26 [Pipeline] { [Pipeline] checkout [2021-11-01T20:54:07.634Z] Selected Git installation does not exist. Using Default [2021-11-01T20:54:07.634Z] The recommended git tool is: NONE [2021-11-01T20:54:11.041Z] 4527c011a84f: Pull complete [2021-11-01T20:54:11.041Z] 5d74067f8e1e: Pull complete [2021-11-01T20:54:11.041Z] e0aca202a116: Pull complete [2021-11-01T20:54:11.310Z] 3a43be97a3b4: Pull complete [2021-11-01T20:54:11.310Z] 34cad66bf833: Pull complete [2021-11-01T20:54:12.875Z] using credential edgex-jenkins-ssh [2021-11-01T20:54:12.891Z] Cloning the remote Git repository [2021-11-01T20:54:12.944Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T20:54:13.044Z] > git init /w/workspace/device-sdk-go/26 # timeout=10 [2021-11-01T20:54:13.133Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-01T20:54:13.134Z] > git --version # timeout=10 [2021-11-01T20:54:13.152Z] > git --version # 'git version 2.17.1' [2021-11-01T20:54:13.153Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-01T20:54:13.259Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T20:54:13.883Z] b4e3c513aaa6: Pull complete [2021-11-01T20:54:13.883Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-01T20:54:13.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-01T20:54:13.883Z] ---> 9f6097aaca64 [2021-11-01T20:54:13.883Z] Step 3/10 : ARG MAKE=make build [2021-11-01T20:54:14.543Z] Avoid second fetch [2021-11-01T20:54:14.543Z] Checking out Revision 35284aa85d24a35feb544b47ef7c3f5e59bdf77f (main) [2021-11-01T20:54:14.486Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-01T20:54:14.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-01T20:54:14.609Z] > git config core.sparsecheckout # timeout=10 [2021-11-01T20:54:14.624Z] > git checkout -f 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 [2021-11-01T20:54:15.800Z] ---> Running in 533b85972c4f [2021-11-01T20:54:15.800Z] Removing intermediate container 533b85972c4f [2021-11-01T20:54:15.800Z] ---> 229c590dbaf5 [2021-11-01T20:54:15.800Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-01T20:54:15.800Z] ---> Running in f0e258391b8d [2021-11-01T20:54:15.800Z] Removing intermediate container f0e258391b8d [2021-11-01T20:54:15.800Z] ---> b7f4b347b29c [2021-11-01T20:54:15.800Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T20:54:15.800Z] ---> Running in 17d386a10911 [2021-11-01T20:54:16.065Z] Removing intermediate container 17d386a10911 [2021-11-01T20:54:16.065Z] ---> 059e08aa02f5 [2021-11-01T20:54:16.065Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T20:54:16.065Z] ---> Running in f6a2e04e45a7 [2021-11-01T20:54:16.651Z] Removing intermediate container f6a2e04e45a7 [2021-11-01T20:54:16.651Z] ---> 7c4acd5cc5a0 [2021-11-01T20:54:16.651Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T20:54:16.651Z] ---> Running in 92b7f25cd415 [2021-11-01T20:54:16.912Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T20:54:17.854Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T20:54:18.429Z] OK: 220 MiB in 52 packages [2021-11-01T20:54:18.429Z] Removing intermediate container 92b7f25cd415 [2021-11-01T20:54:18.429Z] ---> 2e95a11586ea [2021-11-01T20:54:18.429Z] Step 8/10 : COPY . . [2021-11-01T20:54:18.695Z] ---> 8b3c4774480c [2021-11-01T20:54:18.695Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T20:54:18.695Z] ---> Running in e18d5080c1e9 [2021-11-01T20:54:18.934Z] Commit message: "Merge pull request #1051 from lenny-intel/latest-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T20:54:19.794Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-01T20:54:19.794Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T20:54:19.794Z] Dload Upload Total Spent Left Speed [2021-11-01T20:54:19.794Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 64260 0 --:--:-- --:--:-- --:--:-- 64612 [Pipeline] sh [2021-11-01T20:54:20.201Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-01T20:54:20.547Z] + sudo+ tee /etc/docker/daemon.new [2021-11-01T20:54:20.547Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-01T20:54:20.547Z] { [2021-11-01T20:54:20.547Z] "registry-mirrors": [ [2021-11-01T20:54:20.547Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-01T20:54:20.547Z] ], [2021-11-01T20:54:20.547Z] "bip": "10.250.0.254/24", [2021-11-01T20:54:20.547Z] "hosts": [ [2021-11-01T20:54:20.547Z] "tcp://0.0.0.0:5555", [2021-11-01T20:54:20.547Z] "unix:///var/run/docker.sock" [2021-11-01T20:54:20.547Z] ], [2021-11-01T20:54:20.547Z] "mtu": 1458, [2021-11-01T20:54:20.547Z] "selinux-enabled": true, [2021-11-01T20:54:20.547Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-01T20:54:20.547Z] } [Pipeline] sh [2021-11-01T20:54:20.889Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-01T20:54:21.234Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T20:54:39.578Z] provisioning config files... [2021-11-01T20:54:39.603Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/26@tmp/config2033813753937206253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T20:54:39.963Z] ---> docker-login.sh [2021-11-01T20:54:39.963Z] nexus3.edgexfoundry.org:10001 [2021-11-01T20:54:40.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:41.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:41.218Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:41.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:41.218Z] [2021-11-01T20:54:41.218Z] Login Succeeded [2021-11-01T20:54:41.218Z] nexus3.edgexfoundry.org:10002 [2021-11-01T20:54:41.496Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:41.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:41.771Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:41.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:41.771Z] [2021-11-01T20:54:41.771Z] Login Succeeded [2021-11-01T20:54:41.771Z] nexus3.edgexfoundry.org:10003 [2021-11-01T20:54:42.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:42.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:42.337Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:42.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:42.337Z] [2021-11-01T20:54:42.337Z] Login Succeeded [2021-11-01T20:54:42.337Z] nexus3.edgexfoundry.org:10004 [2021-11-01T20:54:42.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:42.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:42.610Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:42.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:42.610Z] [2021-11-01T20:54:42.610Z] Login Succeeded [2021-11-01T20:54:42.610Z] docker.io [2021-11-01T20:54:43.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-01T20:54:43.557Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-01T20:54:43.557Z] Configure a credential helper to remove this warning. See [2021-11-01T20:54:43.557Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-01T20:54:43.557Z] [2021-11-01T20:54:43.557Z] Login Succeeded [2021-11-01T20:54:43.557Z] ---> docker-login.sh ends [Pipeline] } [2021-11-01T20:54:43.578Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-01T20:54:43.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-01T20:54:43.886Z] ========================================================= [2021-11-01T20:54:43.886Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-01T20:54:43.886Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:54:44.230Z] + 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-01T20:54:44.836Z] Sending build context to Docker daemon 2.719MB [2021-11-01T20:54:44.837Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T20:54:44.837Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-01T20:54:44.837Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-01T20:54:44.837Z] 552d1f2373af: Pulling fs layer [2021-11-01T20:54:44.837Z] ea3f2d53f512: Pulling fs layer [2021-11-01T20:54:44.837Z] 9e70ebbbe112: Pulling fs layer [2021-11-01T20:54:44.837Z] 7a9cfe048b4a: Pulling fs layer [2021-11-01T20:54:44.837Z] 72dc09318566: Pulling fs layer [2021-11-01T20:54:44.837Z] f4f7b4309257: Pulling fs layer [2021-11-01T20:54:44.837Z] 0ac9a79272e3: Pulling fs layer [2021-11-01T20:54:44.837Z] b78e95d17946: Pulling fs layer [2021-11-01T20:54:44.837Z] 7a9cfe048b4a: Waiting [2021-11-01T20:54:44.837Z] 72dc09318566: Waiting [2021-11-01T20:54:44.837Z] f4f7b4309257: Waiting [2021-11-01T20:54:44.837Z] 0ac9a79272e3: Waiting [2021-11-01T20:54:44.837Z] b78e95d17946: Waiting [2021-11-01T20:54:44.837Z] 9e70ebbbe112: Verifying Checksum [2021-11-01T20:54:44.837Z] 9e70ebbbe112: Download complete [2021-11-01T20:54:44.837Z] ea3f2d53f512: Download complete [2021-11-01T20:54:44.837Z] 72dc09318566: Verifying Checksum [2021-11-01T20:54:44.837Z] 72dc09318566: Download complete [2021-11-01T20:54:44.837Z] f4f7b4309257: Verifying Checksum [2021-11-01T20:54:44.837Z] f4f7b4309257: Download complete [2021-11-01T20:54:44.837Z] 552d1f2373af: Verifying Checksum [2021-11-01T20:54:45.115Z] 0ac9a79272e3: Verifying Checksum [2021-11-01T20:54:45.115Z] 0ac9a79272e3: Download complete [2021-11-01T20:54:45.721Z] 552d1f2373af: Pull complete [2021-11-01T20:54:46.322Z] ea3f2d53f512: Pull complete [2021-11-01T20:54:46.923Z] 9e70ebbbe112: Pull complete [2021-11-01T20:54:46.923Z] b78e95d17946: Verifying Checksum [2021-11-01T20:54:46.923Z] b78e95d17946: Download complete [2021-11-01T20:54:47.527Z] 7a9cfe048b4a: Verifying Checksum [2021-11-01T20:54:47.527Z] 7a9cfe048b4a: Download complete [2021-11-01T20:54:50.869Z] Removing intermediate container e18d5080c1e9 [2021-11-01T20:54:50.869Z] ---> a0a01d809b03 [2021-11-01T20:54:50.869Z] Step 10/10 : RUN ${MAKE} [2021-11-01T20:54:50.869Z] ---> Running in 69be291b2106 [2021-11-01T20:54:50.869Z] noop [2021-11-01T20:54:50.869Z] Removing intermediate container 69be291b2106 [2021-11-01T20:54:50.869Z] ---> 2c723e762dff [2021-11-01T20:54:50.869Z] Successfully built 2c723e762dff [2021-11-01T20:54:50.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:54:51.165Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T20:54:51.165Z] . [Pipeline] withDockerContainer [2021-11-01T20:54:51.234Z] prd-centos7-docker-4c-2g-13746 does not seem to be running inside a container [2021-11-01T20:54:51.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T20:54:51.641Z] $ docker top cdf6c3685618c43b2fbeb16cfbc1155ef81c44247fa30cf10d1ab2a623888771 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T20:54:52.006Z] + go version [2021-11-01T20:54:52.006Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-01T20:54:52.017Z] $ docker stop --time=1 cdf6c3685618c43b2fbeb16cfbc1155ef81c44247fa30cf10d1ab2a623888771 [2021-11-01T20:54:53.205Z] $ docker rm -f cdf6c3685618c43b2fbeb16cfbc1155ef81c44247fa30cf10d1ab2a623888771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:54:53.711Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-01T20:54:53.711Z] . [Pipeline] withDockerContainer [2021-11-01T20:54:53.776Z] prd-centos7-docker-4c-2g-13746 does not seem to be running inside a container [2021-11-01T20:54:53.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T20:54:54.170Z] $ docker top 9b64622ae1aafb60c51fa0f38a5c09e0bbd08359164294d636cf14578e885815 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T20:54:54.542Z] + make test [2021-11-01T20:54:54.542Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-01T20:54:57.691Z] 7a9cfe048b4a: Pull complete [2021-11-01T20:54:57.691Z] 72dc09318566: Pull complete [2021-11-01T20:54:58.285Z] f4f7b4309257: Pull complete [2021-11-01T20:54:58.560Z] 0ac9a79272e3: Pull complete [2021-11-01T20:55:01.212Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-01T20:55:03.967Z] b78e95d17946: Pull complete [2021-11-01T20:55:04.239Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-01T20:55:04.239Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-01T20:55:04.239Z] ---> 8b459fc5aaf0 [2021-11-01T20:55:04.239Z] Step 3/10 : ARG MAKE=make build [2021-11-01T20:55:06.883Z] ---> Running in 7057be259f78 [2021-11-01T20:55:06.883Z] Removing intermediate container 7057be259f78 [2021-11-01T20:55:06.883Z] ---> 49107f97b2e3 [2021-11-01T20:55:06.883Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-01T20:55:06.883Z] ---> Running in c916a2824a11 [2021-11-01T20:55:07.485Z] Removing intermediate container c916a2824a11 [2021-11-01T20:55:07.485Z] ---> 9199b7375f8f [2021-11-01T20:55:07.485Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T20:55:07.485Z] ---> Running in f2ca4d5d16ea [2021-11-01T20:55:08.081Z] Removing intermediate container f2ca4d5d16ea [2021-11-01T20:55:08.081Z] ---> 38dbf00b5ec6 [2021-11-01T20:55:08.081Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T20:55:08.081Z] ---> Running in 565905bee23e [2021-11-01T20:55:10.070Z] Removing intermediate container 565905bee23e [2021-11-01T20:55:10.071Z] ---> c034e36dbe46 [2021-11-01T20:55:10.071Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T20:55:10.344Z] ---> Running in 52489fa87a38 [2021-11-01T20:55:11.778Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T20:55:12.371Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T20:55:13.350Z] OK: 219 MiB in 52 packages [2021-11-01T20:55:13.946Z] Removing intermediate container 52489fa87a38 [2021-11-01T20:55:13.946Z] ---> f97ab9920012 [2021-11-01T20:55:13.946Z] Step 8/10 : COPY . . [2021-11-01T20:55:15.388Z] ---> 570c23ff175d [2021-11-01T20:55:15.388Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T20:55:15.388Z] ---> Running in 396e242649dc [2021-11-01T20:55:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-01T20:55:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-01T20:55:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-01T20:55:27.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.8% of statements [2021-11-01T20:55:27.969Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-01T20:55:27.969Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-11-01T20:55:28.551Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements [2021-11-01T20:55:28.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements [2021-11-01T20:55:28.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-01T20:55:28.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-01T20:55:28.831Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-01T20:55:29.811Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.085s coverage: 28.7% of statements [2021-11-01T20:55:29.811Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-01T20:55:30.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 83.3% of statements [2021-11-01T20:55:30.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-01T20:55:30.759Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-01T20:55:30.759Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 57.8% of statements [2021-11-01T20:55:32.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.846s coverage: 88.8% of statements [2021-11-01T20:55:32.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-01T20:55:32.160Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.9% of statements [2021-11-01T20:55:32.160Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-01T20:55:32.160Z] GO111MODULE=on go vet ./... [2021-11-01T20:55:54.257Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T20:55:54.257Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T20:55:54.257Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T20:55:54.266Z] $ docker stop --time=1 9b64622ae1aafb60c51fa0f38a5c09e0bbd08359164294d636cf14578e885815 [2021-11-01T20:55:55.699Z] $ docker rm -f 9b64622ae1aafb60c51fa0f38a5c09e0bbd08359164294d636cf14578e885815 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T20:55:56.155Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T20:55:56.357Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-01T20:55:57.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T20:55:57.919Z] + ls -al . [2021-11-01T20:55:57.919Z] total 260 [2021-11-01T20:55:57.919Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 1 20:55 . [2021-11-01T20:55:57.919Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 20:53 .. [2021-11-01T20:55:57.919Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 1 20:54 bin [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 1 20:54 CHANGELOG.md [2021-11-01T20:55:57.919Z] -rw-r--r--. 1 jenkins jenkins 126785 Nov 1 20:55 coverage.out [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 20:54 .dockerignore [2021-11-01T20:55:57.919Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 1 20:54 example [2021-11-01T20:55:57.919Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 20:54 .git [2021-11-01T20:55:57.919Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 1 20:54 .github [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 1 20:54 .gitignore [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 1 20:54 go.mod [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 1 20:54 go.sum [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 20:54 GOVERNANCE.md [2021-11-01T20:55:57.919Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 1 20:54 internal [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 1 20:54 Jenkinsfile [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 1 20:54 LICENSE [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 1 20:54 Makefile [2021-11-01T20:55:57.919Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 1 20:54 openapi [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 1 20:54 OWNERS.md [2021-11-01T20:55:57.919Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 1 20:54 pkg [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 1 20:54 README.md [2021-11-01T20:55:57.919Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 1 20:54 snap [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 1 20:52 VERSION [2021-11-01T20:55:57.919Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 1 20:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:55:58.220Z] + 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=35284aa85d24a35feb544b47ef7c3f5e59bdf77f --label arch=amd64 --label version=2.0.1-dev.27 . [2021-11-01T20:55:58.220Z] Sending build context to Docker daemon 2.836MB [2021-11-01T20:55:58.220Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T20:55:58.220Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T20:55:58.220Z] ---> 2c723e762dff [2021-11-01T20:55:58.220Z] Step 3/24 : ARG MAKE=make build [2021-11-01T20:55:58.220Z] ---> Running in 48f0921c39e4 [2021-11-01T20:55:58.484Z] Removing intermediate container 48f0921c39e4 [2021-11-01T20:55:58.484Z] ---> 3a667f95b9a5 [2021-11-01T20:55:58.484Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-01T20:55:58.484Z] ---> Running in cff6f84f6e7b [2021-11-01T20:55:58.484Z] Removing intermediate container cff6f84f6e7b [2021-11-01T20:55:58.484Z] ---> 622f1eeee609 [2021-11-01T20:55:58.484Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T20:55:58.484Z] ---> Running in 5f653141cf0e [2021-11-01T20:55:58.484Z] Removing intermediate container 5f653141cf0e [2021-11-01T20:55:58.484Z] ---> aac90e5f98e1 [2021-11-01T20:55:58.484Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T20:55:58.752Z] ---> Running in ff23b4e1dd04 [2021-11-01T20:55:59.028Z] Removing intermediate container ff23b4e1dd04 [2021-11-01T20:55:59.028Z] ---> e97fa980f4c4 [2021-11-01T20:55:59.028Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T20:55:59.028Z] ---> Running in 9cbc67a10f35 [2021-11-01T20:55:59.289Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T20:56:00.233Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T20:56:00.495Z] OK: 220 MiB in 52 packages [2021-11-01T20:56:00.756Z] Removing intermediate container 9cbc67a10f35 [2021-11-01T20:56:00.756Z] ---> d5373dd63801 [2021-11-01T20:56:00.756Z] Step 8/24 : COPY . . [2021-11-01T20:56:01.018Z] ---> 58e608b60ac0 [2021-11-01T20:56:01.018Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T20:56:01.018Z] ---> Running in 4f0d93556064 [2021-11-01T20:56:01.592Z] Removing intermediate container 4f0d93556064 [2021-11-01T20:56:01.592Z] ---> 8ccef6927b0c [2021-11-01T20:56:01.592Z] Step 10/24 : RUN ${MAKE} [2021-11-01T20:56:01.592Z] ---> Running in c08d363be13f [2021-11-01T20:56:01.855Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-01T20:56:11.961Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-01T20:56:13.361Z] Removing intermediate container c08d363be13f [2021-11-01T20:56:13.361Z] ---> 56968fb2d2de [2021-11-01T20:56:13.361Z] Step 11/24 : FROM alpine:3.14 [2021-11-01T20:56:13.623Z] 3.14: Pulling from library/alpine [2021-11-01T20:56:13.885Z] a0d0a0d46f8b: Already exists [2021-11-01T20:56:13.885Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T20:56:13.885Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T20:56:13.885Z] ---> 14119a10abf4 [2021-11-01T20:56:13.885Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T20:56:13.885Z] ---> Running in a60396108601 [2021-11-01T20:56:14.149Z] Removing intermediate container a60396108601 [2021-11-01T20:56:14.149Z] ---> 0749d68bb651 [2021-11-01T20:56:14.149Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T20:56:14.149Z] ---> Running in 12823b07ab6b [2021-11-01T20:56:14.724Z] Removing intermediate container 12823b07ab6b [2021-11-01T20:56:14.724Z] ---> f0c1e313654d [2021-11-01T20:56:14.724Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-01T20:56:14.724Z] ---> Running in 967c9905b112 [2021-11-01T20:56:14.985Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-01T20:56:15.928Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-01T20:56:16.190Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T20:56:16.190Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-01T20:56:16.450Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T20:56:16.450Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-01T20:56:16.718Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-01T20:56:16.718Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T20:56:16.718Z] OK: 8 MiB in 19 packages [2021-11-01T20:56:16.979Z] Removing intermediate container 967c9905b112 [2021-11-01T20:56:16.979Z] ---> 3efb42d43b2e [2021-11-01T20:56:16.979Z] Step 15/24 : WORKDIR / [2021-11-01T20:56:16.979Z] ---> Running in a1439609f957 [2021-11-01T20:56:17.247Z] Removing intermediate container a1439609f957 [2021-11-01T20:56:17.247Z] ---> c128764cc0f1 [2021-11-01T20:56:17.247Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-01T20:56:17.247Z] ---> 602f4010249a [2021-11-01T20:56:17.247Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-01T20:56:17.511Z] ---> 4caa9d541ba2 [2021-11-01T20:56:17.511Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-01T20:56:17.777Z] ---> f904c58577a6 [2021-11-01T20:56:17.777Z] Step 19/24 : EXPOSE 59999 [2021-11-01T20:56:17.777Z] ---> Running in 8509f3bddf7a [2021-11-01T20:56:17.777Z] Removing intermediate container 8509f3bddf7a [2021-11-01T20:56:17.777Z] ---> ad2550334974 [2021-11-01T20:56:17.777Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-01T20:56:17.777Z] ---> Running in d297a3535af0 [2021-11-01T20:56:18.037Z] Removing intermediate container d297a3535af0 [2021-11-01T20:56:18.037Z] ---> 85d9e901be2b [2021-11-01T20:56:18.037Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T20:56:18.037Z] ---> Running in 3fd11c27dca2 [2021-11-01T20:56:18.037Z] Removing intermediate container 3fd11c27dca2 [2021-11-01T20:56:18.037Z] ---> a3154e1d558a [2021-11-01T20:56:18.037Z] Step 22/24 : LABEL arch=amd64 [2021-11-01T20:56:18.037Z] ---> Running in 6f76de284923 [2021-11-01T20:56:18.298Z] Removing intermediate container 6f76de284923 [2021-11-01T20:56:18.298Z] ---> 5c3a62936c52 [2021-11-01T20:56:18.298Z] Step 23/24 : LABEL git_sha=35284aa85d24a35feb544b47ef7c3f5e59bdf77f [2021-11-01T20:56:18.298Z] ---> Running in 8b3717e3147d [2021-11-01T20:56:18.298Z] Removing intermediate container 8b3717e3147d [2021-11-01T20:56:18.298Z] ---> c09564b3e476 [2021-11-01T20:56:18.298Z] Step 24/24 : LABEL version=2.0.1-dev.27 [2021-11-01T20:56:18.298Z] ---> Running in 94030b23796e [2021-11-01T20:56:18.298Z] Removing intermediate container 94030b23796e [2021-11-01T20:56:18.298Z] ---> d1ab0ce46709 [2021-11-01T20:56:18.298Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T20:56:18.298Z] Successfully built d1ab0ce46709 [2021-11-01T20:56:18.298Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:56:18.853Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T20:56:18.853Z] [2021-11-01T20:56:18.853Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:56:19.158Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T20:56:19.158Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T20:56:19.158Z] b4d181a07f80: Pulling fs layer [2021-11-01T20:56:19.158Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T20:56:19.158Z] ed53099fbce6: Pulling fs layer [2021-11-01T20:56:19.158Z] dc539afda2c1: Pulling fs layer [2021-11-01T20:56:19.158Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T20:56:19.158Z] 9065ff56babe: Pulling fs layer [2021-11-01T20:56:19.158Z] d287ab97295c: Pulling fs layer [2021-11-01T20:56:19.158Z] dc539afda2c1: Waiting [2021-11-01T20:56:19.158Z] 77bc0d833cb6: Waiting [2021-11-01T20:56:19.158Z] 9065ff56babe: Waiting [2021-11-01T20:56:19.158Z] d287ab97295c: Waiting [2021-11-01T20:56:19.158Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T20:56:19.158Z] a1111a8f2ec3: Download complete [2021-11-01T20:56:19.158Z] dc539afda2c1: Verifying Checksum [2021-11-01T20:56:19.158Z] dc539afda2c1: Download complete [2021-11-01T20:56:19.422Z] ed53099fbce6: Verifying Checksum [2021-11-01T20:56:19.422Z] ed53099fbce6: Download complete [2021-11-01T20:56:19.422Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T20:56:19.422Z] 77bc0d833cb6: Download complete [2021-11-01T20:56:19.422Z] 9065ff56babe: Verifying Checksum [2021-11-01T20:56:19.422Z] 9065ff56babe: Download complete [2021-11-01T20:56:19.422Z] b4d181a07f80: Verifying Checksum [2021-11-01T20:56:19.422Z] b4d181a07f80: Download complete [2021-11-01T20:56:20.008Z] d287ab97295c: Verifying Checksum [2021-11-01T20:56:20.008Z] d287ab97295c: Download complete [2021-11-01T20:56:20.990Z] b4d181a07f80: Pull complete [2021-11-01T20:56:21.260Z] a1111a8f2ec3: Pull complete [2021-11-01T20:56:21.849Z] ed53099fbce6: Pull complete [2021-11-01T20:56:21.849Z] dc539afda2c1: Pull complete [2021-11-01T20:56:22.437Z] 77bc0d833cb6: Pull complete [2021-11-01T20:56:22.437Z] 9065ff56babe: Pull complete [2021-11-01T20:56:29.040Z] d287ab97295c: Pull complete [2021-11-01T20:56:29.040Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T20:56:29.040Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T20:56:29.040Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T20:56:29.115Z] prd-centos7-docker-4c-2g-13746 does not seem to be running inside a container [2021-11-01T20:56:29.155Z] $ 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/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T20:56:31.364Z] $ docker top 5f7ad721537e0983c462cbf11f3922601243de65617ecdfe014317a4d7a0e971 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T20:56:31.817Z] ---> job-cost.sh [2021-11-01T20:56:31.817Z] lf-activate-venv: SKIPPING [2021-11-01T20:56:31.817Z] INFO: No Stack... [2021-11-01T20:56:32.078Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T20:56:32.340Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T20:56:32.636Z] + cat /w/workspace/device-sdk-go/26/archives/cost.csv [2021-11-01T20:56:32.636Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T20:56:32.667Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [2021-11-01T20:56:32.680Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] did not exist. Created. [2021-11-01T20:56:32.680Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T20:56:33.019Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-01T20:56:33.074Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T20:56:33.080Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T20:56:33.098Z] $ docker stop --time=1 5f7ad721537e0983c462cbf11f3922601243de65617ecdfe014317a4d7a0e971 [2021-11-01T20:56:34.261Z] $ docker rm -f 5f7ad721537e0983c462cbf11f3922601243de65617ecdfe014317a4d7a0e971 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-01T20:56:37.220Z] Removing intermediate container 396e242649dc [2021-11-01T20:56:37.220Z] ---> cbd1bd9d61fa [2021-11-01T20:56:37.220Z] Step 10/10 : RUN ${MAKE} [2021-11-01T20:56:37.220Z] ---> Running in ad223ff2b9c4 [2021-11-01T20:56:37.220Z] noop [2021-11-01T20:56:37.220Z] Removing intermediate container ad223ff2b9c4 [2021-11-01T20:56:37.220Z] ---> 0b15421690de [2021-11-01T20:56:37.220Z] Successfully built 0b15421690de [2021-11-01T20:56:37.220Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:56:37.565Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T20:56:37.565Z] . [Pipeline] withDockerContainer [2021-11-01T20:56:37.831Z] prd-ubuntu18.04-docker-arm64-4c-16g-13744 does not seem to be running inside a container [2021-11-01T20:56:37.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T20:56:39.386Z] $ docker top 9e7cba21364547eb668925a4e1dd27daa5a11f638c3443db1c730b20a28611a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T20:56:40.304Z] + go version [2021-11-01T20:56:40.304Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-01T20:56:40.324Z] $ docker stop --time=1 9e7cba21364547eb668925a4e1dd27daa5a11f638c3443db1c730b20a28611a6 [2021-11-01T20:56:42.027Z] $ docker rm -f 9e7cba21364547eb668925a4e1dd27daa5a11f638c3443db1c730b20a28611a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:56:42.657Z] + docker inspect -f . ci-base-image-arm64 [2021-11-01T20:56:42.657Z] . [Pipeline] withDockerContainer [2021-11-01T20:56:42.913Z] prd-ubuntu18.04-docker-arm64-4c-16g-13744 does not seem to be running inside a container [2021-11-01T20:56:42.987Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T20:56:44.430Z] $ docker top 953c7265fe77ea8959757eb2e099e00e187ada8872a633e0dbc07f4b311ee1e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-01T20:56:45.351Z] + make test [2021-11-01T20:56:45.351Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-01T20:57:12.163Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-01T20:58:08.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-01T20:58:08.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-01T20:58:08.767Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-01T20:58:21.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.389s coverage: 23.8% of statements [2021-11-01T20:58:21.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-01T20:58:21.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.218s coverage: 28.1% of statements [2021-11-01T20:58:21.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.321s coverage: 78.9% of statements [2021-11-01T20:58:21.232Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.333s coverage: 9.0% of statements [2021-11-01T20:58:21.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-01T20:58:21.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-01T20:58:21.232Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-01T20:58:21.832Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.323s coverage: 28.7% of statements [2021-11-01T20:58:21.832Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-01T20:58:24.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.246s coverage: 83.3% of statements [2021-11-01T20:58:24.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-01T20:58:24.465Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-01T20:58:24.465Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.436s coverage: 57.8% of statements [2021-11-01T20:58:26.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.100s coverage: 88.8% of statements [2021-11-01T20:58:26.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-01T20:58:26.441Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.180s coverage: 4.9% of statements [2021-11-01T20:58:26.441Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-01T20:58:26.441Z] GO111MODULE=on go vet ./... [2021-11-01T20:59:23.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-01T20:59:23.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-01T20:59:23.025Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-01T20:59:23.311Z] $ docker stop --time=1 953c7265fe77ea8959757eb2e099e00e187ada8872a633e0dbc07f4b311ee1e8 [2021-11-01T20:59:25.297Z] $ docker rm -f 953c7265fe77ea8959757eb2e099e00e187ada8872a633e0dbc07f4b311ee1e8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-01T20:59:26.308Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-01T20:59:26.332Z] Warning: overwriting stash ‘coverage-report’ [2021-11-01T20:59:26.862Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-01T20:59:27.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-01T20:59:27.667Z] + ls -al . [2021-11-01T20:59:27.667Z] total 296 [2021-11-01T20:59:27.667Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 20:59 . [2021-11-01T20:59:27.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:54 .. [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 20:54 .dockerignore [2021-11-01T20:59:27.667Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 20:54 .git [2021-11-01T20:59:27.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:54 .github [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 1 20:54 .gitignore [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 1 20:54 CHANGELOG.md [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 20:54 GOVERNANCE.md [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 1 20:54 Jenkinsfile [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 20:54 LICENSE [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 1 20:54 Makefile [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 20:54 OWNERS.md [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 1 20:54 README.md [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 20:52 VERSION [2021-11-01T20:59:27.667Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 20:54 bin [2021-11-01T20:59:27.667Z] -rw-r--r-- 1 jenkins jenkins 126785 Nov 1 20:58 coverage.out [2021-11-01T20:59:27.667Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 20:54 example [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 1 20:54 go.mod [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 1 20:54 go.sum [2021-11-01T20:59:27.667Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 1 20:54 internal [2021-11-01T20:59:27.667Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 20:54 openapi [2021-11-01T20:59:27.667Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 20:54 pkg [2021-11-01T20:59:27.667Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 20:54 snap [2021-11-01T20:59:27.667Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 20:54 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-01T20:59:28.004Z] + 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=35284aa85d24a35feb544b47ef7c3f5e59bdf77f --label arch=arm64 --label version=2.0.1-dev.27 . [2021-11-01T20:59:28.275Z] Sending build context to Docker daemon 2.846MB [2021-11-01T20:59:28.275Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-01T20:59:28.275Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-01T20:59:28.275Z] ---> 0b15421690de [2021-11-01T20:59:28.275Z] Step 3/24 : ARG MAKE=make build [2021-11-01T20:59:28.557Z] ---> Running in 54119a4d347a [2021-11-01T20:59:29.147Z] Removing intermediate container 54119a4d347a [2021-11-01T20:59:29.147Z] ---> aecd778ce81f [2021-11-01T20:59:29.147Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-01T20:59:29.147Z] ---> Running in d6bc4b560a35 [2021-11-01T20:59:29.444Z] Removing intermediate container d6bc4b560a35 [2021-11-01T20:59:29.444Z] ---> 43f6b35011f8 [2021-11-01T20:59:29.444Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T20:59:29.744Z] ---> Running in 197d340a80ac [2021-11-01T20:59:30.051Z] Removing intermediate container 197d340a80ac [2021-11-01T20:59:30.051Z] ---> c59f902b8fee [2021-11-01T20:59:30.051Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T20:59:30.344Z] ---> Running in b43ef89e9ecb [2021-11-01T20:59:32.326Z] Removing intermediate container b43ef89e9ecb [2021-11-01T20:59:32.326Z] ---> bb0bca7f1220 [2021-11-01T20:59:32.326Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-01T20:59:32.326Z] ---> Running in 5045e816a099 [2021-11-01T20:59:33.295Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T20:59:34.266Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T20:59:35.241Z] OK: 219 MiB in 52 packages [2021-11-01T20:59:36.235Z] Removing intermediate container 5045e816a099 [2021-11-01T20:59:36.235Z] ---> 1e87c16a569c [2021-11-01T20:59:36.235Z] Step 8/24 : COPY . . [2021-11-01T20:59:37.223Z] ---> 8ee23f3c4c0a [2021-11-01T20:59:37.223Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-01T20:59:37.496Z] ---> Running in 26f31b43daa3 [2021-11-01T20:59:40.113Z] Removing intermediate container 26f31b43daa3 [2021-11-01T20:59:40.113Z] ---> 4a49d4a24e2e [2021-11-01T20:59:40.113Z] Step 10/24 : RUN ${MAKE} [2021-11-01T20:59:40.113Z] ---> Running in f0bad0194f8d [2021-11-01T20:59:41.093Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.27" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-01T21:00:13.439Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-01T21:00:16.052Z] Removing intermediate container f0bad0194f8d [2021-11-01T21:00:16.052Z] ---> 35788fffb589 [2021-11-01T21:00:16.052Z] Step 11/24 : FROM alpine:3.14 [2021-11-01T21:00:16.641Z] 3.14: Pulling from library/alpine [2021-11-01T21:00:16.911Z] 552d1f2373af: Already exists [2021-11-01T21:00:16.911Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-01T21:00:16.911Z] Status: Downloaded newer image for alpine:3.14 [2021-11-01T21:00:16.911Z] ---> bb3de5531c18 [2021-11-01T21:00:16.911Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-01T21:00:17.183Z] ---> Running in b6a0cff505a2 [2021-11-01T21:00:17.454Z] Removing intermediate container b6a0cff505a2 [2021-11-01T21:00:17.454Z] ---> 1dbea3be4476 [2021-11-01T21:00:17.454Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-01T21:00:17.735Z] ---> Running in 2135befc7ccc [2021-11-01T21:00:19.719Z] Removing intermediate container 2135befc7ccc [2021-11-01T21:00:19.719Z] ---> 6b1dd4dba7c4 [2021-11-01T21:00:19.719Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-01T21:00:19.719Z] ---> Running in a71f8e9d83ba [2021-11-01T21:00:21.151Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-01T21:00:21.743Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-01T21:00:22.718Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-01T21:00:22.718Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-01T21:00:22.718Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-01T21:00:22.718Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-01T21:00:22.995Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-01T21:00:22.995Z] Executing busybox-1.33.1-r3.trigger [2021-11-01T21:00:22.995Z] OK: 8 MiB in 19 packages [2021-11-01T21:00:23.981Z] Removing intermediate container a71f8e9d83ba [2021-11-01T21:00:23.981Z] ---> a288d0b2f3b8 [2021-11-01T21:00:23.981Z] Step 15/24 : WORKDIR / [2021-11-01T21:00:24.255Z] ---> Running in 461b46337c2c [2021-11-01T21:00:24.848Z] Removing intermediate container 461b46337c2c [2021-11-01T21:00:24.848Z] ---> c640eb04522a [2021-11-01T21:00:24.848Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-01T21:00:25.443Z] ---> 021f408e3ace [2021-11-01T21:00:25.443Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-01T21:00:26.421Z] ---> be5cd4a7ea8e [2021-11-01T21:00:26.421Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-01T21:00:27.401Z] ---> cfe4933f53d8 [2021-11-01T21:00:27.401Z] Step 19/24 : EXPOSE 59999 [2021-11-01T21:00:27.401Z] ---> Running in 5a2383e399e7 [2021-11-01T21:00:27.996Z] Removing intermediate container 5a2383e399e7 [2021-11-01T21:00:27.996Z] ---> 0d09ec1891c4 [2021-11-01T21:00:27.996Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-01T21:00:27.996Z] ---> Running in 79a82a947106 [2021-11-01T21:00:28.599Z] Removing intermediate container 79a82a947106 [2021-11-01T21:00:28.599Z] ---> 2b308126ef65 [2021-11-01T21:00:28.599Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-01T21:00:28.599Z] ---> Running in bf4495b0b650 [2021-11-01T21:00:29.197Z] Removing intermediate container bf4495b0b650 [2021-11-01T21:00:29.197Z] ---> cc7c66004465 [2021-11-01T21:00:29.197Z] Step 22/24 : LABEL arch=arm64 [2021-11-01T21:00:29.197Z] ---> Running in 68d6d4c25258 [2021-11-01T21:00:29.469Z] Removing intermediate container 68d6d4c25258 [2021-11-01T21:00:29.469Z] ---> e6ec5c33f879 [2021-11-01T21:00:29.469Z] Step 23/24 : LABEL git_sha=35284aa85d24a35feb544b47ef7c3f5e59bdf77f [2021-11-01T21:00:29.748Z] ---> Running in 8e396dad0459 [2021-11-01T21:00:30.022Z] Removing intermediate container 8e396dad0459 [2021-11-01T21:00:30.023Z] ---> 0e7496a29d7b [2021-11-01T21:00:30.023Z] Step 24/24 : LABEL version=2.0.1-dev.27 [2021-11-01T21:00:30.299Z] ---> Running in e0e56be563dc [2021-11-01T21:00:30.572Z] Removing intermediate container e0e56be563dc [2021-11-01T21:00:30.572Z] ---> 3ce7ad4c3d88 [2021-11-01T21:00:30.572Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-01T21:00:30.844Z] Successfully built 3ce7ad4c3d88 [2021-11-01T21:00:30.844Z] 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-01T21:00:31.535Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:00:31.535Z] [2021-11-01T21:00:31.535Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:00:31.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:00:32.152Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-01T21:00:32.152Z] 448f6bf000e3: Pulling fs layer [2021-11-01T21:00:32.152Z] f757da607395: Pulling fs layer [2021-11-01T21:00:32.152Z] 05883995daec: Pulling fs layer [2021-11-01T21:00:32.152Z] 8603b9c90790: Pulling fs layer [2021-11-01T21:00:32.152Z] 1560dd03e051: Pulling fs layer [2021-11-01T21:00:32.152Z] 27f5ce0e4adf: Pulling fs layer [2021-11-01T21:00:32.152Z] c2d8d7efcc4b: Pulling fs layer [2021-11-01T21:00:32.152Z] 1560dd03e051: Waiting [2021-11-01T21:00:32.152Z] 27f5ce0e4adf: Waiting [2021-11-01T21:00:32.152Z] 8603b9c90790: Waiting [2021-11-01T21:00:32.152Z] c2d8d7efcc4b: Waiting [2021-11-01T21:00:32.152Z] f757da607395: Verifying Checksum [2021-11-01T21:00:32.152Z] f757da607395: Download complete [2021-11-01T21:00:32.152Z] 8603b9c90790: Verifying Checksum [2021-11-01T21:00:32.152Z] 8603b9c90790: Download complete [2021-11-01T21:00:32.426Z] 1560dd03e051: Verifying Checksum [2021-11-01T21:00:32.426Z] 1560dd03e051: Download complete [2021-11-01T21:00:32.426Z] 27f5ce0e4adf: Verifying Checksum [2021-11-01T21:00:32.426Z] 27f5ce0e4adf: Download complete [2021-11-01T21:00:32.426Z] 05883995daec: Verifying Checksum [2021-11-01T21:00:32.426Z] 05883995daec: Download complete [2021-11-01T21:00:32.699Z] 448f6bf000e3: Verifying Checksum [2021-11-01T21:00:32.699Z] 448f6bf000e3: Download complete [2021-11-01T21:00:35.322Z] c2d8d7efcc4b: Verifying Checksum [2021-11-01T21:00:35.322Z] c2d8d7efcc4b: Download complete [2021-11-01T21:00:36.297Z] 448f6bf000e3: Pull complete [2021-11-01T21:00:36.892Z] f757da607395: Pull complete [2021-11-01T21:00:38.328Z] 05883995daec: Pull complete [2021-11-01T21:00:38.601Z] 8603b9c90790: Pull complete [2021-11-01T21:00:39.590Z] 1560dd03e051: Pull complete [2021-11-01T21:00:39.862Z] 27f5ce0e4adf: Pull complete [2021-11-01T21:00:54.947Z] c2d8d7efcc4b: Pull complete [2021-11-01T21:00:54.947Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-01T21:00:54.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-01T21:00:54.947Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-01T21:00:55.179Z] prd-ubuntu18.04-docker-arm64-4c-16g-13744 does not seem to be running inside a container [2021-11-01T21:00:55.248Z] $ 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/26 -v /w/workspace/device-sdk-go/26:/w/workspace/device-sdk-go/26:rw,z -v /w/workspace/device-sdk-go/26@tmp:/w/workspace/device-sdk-go/26@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-01T21:00:58.066Z] $ docker top 234a590e5ff34e064e1af187b740f93e667c9629e555872f88aa4548dbf6eb52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:00:59.000Z] ---> job-cost.sh [2021-11-01T21:00:59.000Z] lf-activate-venv: SKIPPING [2021-11-01T21:00:59.000Z] INFO: No Stack... [2021-11-01T21:00:59.271Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-01T21:00:59.542Z] INFO: Archiving Costs [Pipeline] sh [2021-11-01T21:01:00.192Z] + cat /w/workspace/device-sdk-go/26/archives/cost.csv [2021-11-01T21:01:00.192Z] + cut -d, -f6 [Pipeline] lock [2021-11-01T21:01:00.246Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [2021-11-01T21:01:00.252Z] Resource [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] did not exist. Created. [2021-11-01T21:01:00.253Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-01T21:01:00.971Z] /w/workspace/device-sdk-go/26@tmp/durable-80ec9ce1/script.sh: 1: /w/workspace/device-sdk-go/26@tmp/durable-80ec9ce1/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-01T21:01:01.687Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-01T21:01:01.717Z] Warning: overwriting stash ‘stack-cost’ [2021-11-01T21:01:01.790Z] Stashed 1 file(s) [Pipeline] } [2021-11-01T21:01:01.796Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-01T21:01:01.806Z] $ docker stop --time=1 234a590e5ff34e064e1af187b740f93e667c9629e555872f88aa4548dbf6eb52 [2021-11-01T21:01:03.462Z] $ docker rm -f 234a590e5ff34e064e1af187b740f93e667c9629e555872f88aa4548dbf6eb52 [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-01T21:01:04.176Z] provisioning config files... [2021-11-01T21:01:04.186Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6778230867887065082tmp [Pipeline] { [Pipeline] sh [2021-11-01T21:01:04.501Z] + set +x [2021-11-01T21:01:04.501Z] + bash -s -- [2021-11-01T21:01:04.501Z] + curl -s https://codecov.io/bash [2021-11-01T21:01:04.501Z] [2021-11-01T21:01:04.501Z] _____ _ [2021-11-01T21:01:04.501Z] / ____| | | [2021-11-01T21:01:04.501Z] | | ___ __| | ___ ___ _____ __ [2021-11-01T21:01:04.501Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-01T21:01:04.501Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-01T21:01:04.501Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-01T21:01:04.501Z] Bash-1.0.6 [2021-11-01T21:01:04.501Z] [2021-11-01T21:01:04.501Z] [2021-11-01T21:01:04.501Z] ==> git version 2.24.4 found [2021-11-01T21:01:04.501Z] ==> 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-01T21:01:04.501Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-01T21:01:04.501Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-01T21:01:04.501Z] ==> Jenkins CI detected. [2021-11-01T21:01:04.501Z] current dir:  /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T21:01:04.501Z] project root: . [2021-11-01T21:01:04.501Z] --> token set from env [2021-11-01T21:01:04.501Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-01T21:01:04.501Z] ==> Running gcov in . (disable via -X gcov) [2021-11-01T21:01:04.501Z] ==> Python coveragepy not found [2021-11-01T21:01:04.501Z] ==> Searching for coverage reports in: [2021-11-01T21:01:04.501Z] + . [2021-11-01T21:01:04.764Z] -> Found 1 reports [2021-11-01T21:01:04.764Z] ==> Detecting git/mercurial file structure [2021-11-01T21:01:04.764Z] ==> Reading reports [2021-11-01T21:01:04.764Z] + ./coverage.out bytes=126785 [2021-11-01T21:01:04.764Z] ==> Appending adjustments [2021-11-01T21:01:04.764Z] https://docs.codecov.io/docs/fixing-reports [2021-11-01T21:01:05.025Z] + Found adjustments [2021-11-01T21:01:05.025Z] ==> Gzipping contents [2021-11-01T21:01:05.025Z] 16K /tmp/codecov.zQ8kC7.gz [2021-11-01T21:01:05.025Z] ==> Uploading reports [2021-11-01T21:01:05.025Z] url: https://codecov.io [2021-11-01T21:01:05.025Z] query: branch=main&commit=35284aa85d24a35feb544b47ef7c3f5e59bdf77f&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:01:05.025Z] -> Pinging Codecov [2021-11-01T21:01:05.025Z] 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=35284aa85d24a35feb544b47ef7c3f5e59bdf77f&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-01T21:01:05.603Z] -> Uploading to [2021-11-01T21:01:05.603Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-01/7E55EF52A471D76F132DFD9A03CDDE97/35284aa85d24a35feb544b47ef7c3f5e59bdf77f/91babd17-72aa-4ffa-a69e-b5d418f27eaa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T210105Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=40f54b35f4d64edaaaceb3bf30bba47d6594a9a16132ccf07a034aac20faef97 [2021-11-01T21:01:05.603Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:01:05.603Z] Dload Upload Total Spent Left Speed [2021-11-01T21:01:05.863Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16187 0 0 100 16187 0 49518 --:--:-- --:--:-- --:--:-- 49501 100 16187 0 0 100 16187 0 49498 --:--:-- --:--:-- --:--:-- 49501 [2021-11-01T21:01:05.863Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] } [2021-11-01T21:01:05.871Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-01T21:01:06.197Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-01T21:01:06.213Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:06.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:01:06.519Z] [2021-11-01T21:01:06.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:06.827Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:01:06.827Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-01T21:01:06.827Z] 188c0c94c7c5: Pulling fs layer [2021-11-01T21:01:06.827Z] 0ef7d3d256c8: Pulling fs layer [2021-11-01T21:01:06.827Z] de9db76c5a1d: Pulling fs layer [2021-11-01T21:01:06.827Z] 0eba1c9be4d2: Pulling fs layer [2021-11-01T21:01:06.827Z] 0d57e429df01: Pulling fs layer [2021-11-01T21:01:06.827Z] 4e4be7b47b0d: Pulling fs layer [2021-11-01T21:01:06.827Z] e1f770b5df2f: Pulling fs layer [2021-11-01T21:01:06.827Z] 85a0685a4137: Pulling fs layer [2021-11-01T21:01:06.827Z] 0d57e429df01: Waiting [2021-11-01T21:01:06.827Z] 4e4be7b47b0d: Waiting [2021-11-01T21:01:06.827Z] e1f770b5df2f: Waiting [2021-11-01T21:01:06.827Z] 85a0685a4137: Waiting [2021-11-01T21:01:06.827Z] 0eba1c9be4d2: Waiting [2021-11-01T21:01:06.827Z] de9db76c5a1d: Verifying Checksum [2021-11-01T21:01:06.827Z] de9db76c5a1d: Download complete [2021-11-01T21:01:06.827Z] 0ef7d3d256c8: Verifying Checksum [2021-11-01T21:01:06.827Z] 0ef7d3d256c8: Download complete [2021-11-01T21:01:06.827Z] 0d57e429df01: Download complete [2021-11-01T21:01:06.827Z] 4e4be7b47b0d: Verifying Checksum [2021-11-01T21:01:06.827Z] 4e4be7b47b0d: Download complete [2021-11-01T21:01:06.827Z] 188c0c94c7c5: Verifying Checksum [2021-11-01T21:01:06.827Z] 188c0c94c7c5: Download complete [2021-11-01T21:01:07.096Z] e1f770b5df2f: Verifying Checksum [2021-11-01T21:01:07.096Z] e1f770b5df2f: Download complete [2021-11-01T21:01:07.096Z] 188c0c94c7c5: Pull complete [2021-11-01T21:01:07.361Z] 0ef7d3d256c8: Pull complete [2021-11-01T21:01:07.361Z] de9db76c5a1d: Pull complete [2021-11-01T21:01:07.623Z] 0eba1c9be4d2: Verifying Checksum [2021-11-01T21:01:07.623Z] 0eba1c9be4d2: Download complete [2021-11-01T21:01:07.887Z] 85a0685a4137: Verifying Checksum [2021-11-01T21:01:07.888Z] 85a0685a4137: Download complete [2021-11-01T21:01:12.131Z] 0eba1c9be4d2: Pull complete [2021-11-01T21:01:12.131Z] 0d57e429df01: Pull complete [2021-11-01T21:01:12.131Z] 4e4be7b47b0d: Pull complete [2021-11-01T21:01:12.131Z] e1f770b5df2f: Pull complete [2021-11-01T21:01:16.373Z] 85a0685a4137: Pull complete [2021-11-01T21:01:16.373Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-01T21:01:16.373Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-01T21:01:16.373Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-01T21:01:16.435Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:01:16.465Z] $ 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-01T21:01:18.287Z] $ docker top b60e0e78c31002cac7c937e026adfd6f5ac81d1e1f6a86556b963e50db98fcb3 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-01T21:01:18.376Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-01T21:01:18.686Z] + set -o pipefail [2021-11-01T21:01:18.686Z] + snyk monitor '--org=edgex-jenkins' [2021-11-01T21:01:22.898Z] [2021-11-01T21:01:22.898Z] Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... [2021-11-01T21:01:22.898Z] [2021-11-01T21:01:22.898Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/c0264629-3502-49d5-a5a8-086ecb87c037 [2021-11-01T21:01:22.898Z] [2021-11-01T21:01:22.898Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-01T21:01:22.898Z] [2021-11-01T21:01:23.158Z] [Pipeline] } [2021-11-01T21:01:23.170Z] $ docker stop --time=1 b60e0e78c31002cac7c937e026adfd6f5ac81d1e1f6a86556b963e50db98fcb3 [2021-11-01T21:01:24.793Z] $ docker rm -f b60e0e78c31002cac7c937e026adfd6f5ac81d1e1f6a86556b963e50db98fcb3 [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-01T21:01:25.277Z] [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:01:25.283Z] provisioning config files... [2021-11-01T21:01:25.292Z] copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8241550737542809890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:25.590Z] --> edgex-publish-swagger.sh [2021-11-01T21:01:25.590Z] === Publish openapi/v2 API === [2021-11-01T21:01:25.590Z] [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger [2021-11-01T21:01:25.590Z] [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] [2021-11-01T21:01:25.590Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-01T21:01:25.590Z] Dload Upload Total Spent Left Speed [2021-11-01T21:01:26.160Z] 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 69991 --:--:-- --:--:-- --:--:-- 69998 [2021-11-01T21:01:26.160Z] [2021-11-01T21:01:26.160Z] [Pipeline] } [2021-11-01T21:01:26.169Z] 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-01T21:01:26.603Z] + git log --format=format:%s -1 35284aa85d24a35feb544b47ef7c3f5e59bdf77f [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:26.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:01:26.902Z] . [Pipeline] withDockerContainer [2021-11-01T21:01:26.976Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:01:27.010Z] $ 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-01T21:01:27.375Z] $ docker top 4975719ccea01f7fe49cc6ed8fd1a033793ee0911e52334f2e5bfa79fe3d8699 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:01:27.461Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:01:27.461Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:01:27.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:01:27.563Z] $ docker exec 4975719ccea01f7fe49cc6ed8fd1a033793ee0911e52334f2e5bfa79fe3d8699 ssh-agent [2021-11-01T21:01:27.653Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgoCdHA/agent.14 [2021-11-01T21:01:27.653Z] SSH_AGENT_PID=21 [2021-11-01T21:01:27.658Z] Running ssh-add (command line suppressed) [2021-11-01T21:01:27.752Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8557366303640849257.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8557366303640849257.key) [2021-11-01T21:01:27.765Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:01:28.061Z] + git semver tag [2021-11-01T21:01:28.061Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:01:28.061Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-01T21:01:28.061Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T21:01:28.061Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:01:28.061Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:01:28.061Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:01:28.061Z] # $SEMVER_BRANCH = main [2021-11-01T21:01:28.061Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-01T21:01:28.061Z] # 35284aa85d24a35feb544b47ef7c3f5e59bdf77f HEAD [2021-11-01T21:01:28.061Z] # -> Force: false [2021-11-01T21:01:28.061Z] # 6a1eabbde8ed88053579702a9bc46354523eb982 refs/tags/v2.0.1-dev.27 [Pipeline] } [2021-11-01T21:01:28.072Z] $ docker exec --env ******** --env ******** 4975719ccea01f7fe49cc6ed8fd1a033793ee0911e52334f2e5bfa79fe3d8699 ssh-agent -k [2021-11-01T21:01:28.206Z] unset SSH_AUTH_SOCK; [2021-11-01T21:01:28.206Z] unset SSH_AGENT_PID; [2021-11-01T21:01:28.206Z] echo Agent pid 21 killed; [2021-11-01T21:01:28.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:01:28.521Z] + git semver [Pipeline] } [2021-11-01T21:01:28.534Z] $ docker stop --time=1 4975719ccea01f7fe49cc6ed8fd1a033793ee0911e52334f2e5bfa79fe3d8699 [2021-11-01T21:01:29.698Z] $ docker rm -f 4975719ccea01f7fe49cc6ed8fd1a033793ee0911e52334f2e5bfa79fe3d8699 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:30.076Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:01:30.076Z] [2021-11-01T21:01:30.076Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:30.375Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:01:30.375Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-01T21:01:30.376Z] ab5ef0e58194: Pulling fs layer [2021-11-01T21:01:30.376Z] 9712f1f96733: Pulling fs layer [2021-11-01T21:01:30.376Z] 63f879dbbcfc: Pulling fs layer [2021-11-01T21:01:30.376Z] 0d9ebad4ef96: Pulling fs layer [2021-11-01T21:01:30.376Z] e9a5061849ea: Pulling fs layer [2021-11-01T21:01:30.376Z] d747dcd14b5f: Pulling fs layer [2021-11-01T21:01:30.376Z] 2de7ff778b66: Pulling fs layer [2021-11-01T21:01:30.376Z] e9a5061849ea: Waiting [2021-11-01T21:01:30.376Z] d747dcd14b5f: Waiting [2021-11-01T21:01:30.376Z] 2de7ff778b66: Waiting [2021-11-01T21:01:30.376Z] 0d9ebad4ef96: Waiting [2021-11-01T21:01:30.376Z] 9712f1f96733: Verifying Checksum [2021-11-01T21:01:30.376Z] 9712f1f96733: Download complete [2021-11-01T21:01:30.635Z] 63f879dbbcfc: Verifying Checksum [2021-11-01T21:01:30.635Z] 63f879dbbcfc: Download complete [2021-11-01T21:01:30.903Z] ab5ef0e58194: Verifying Checksum [2021-11-01T21:01:30.903Z] ab5ef0e58194: Download complete [2021-11-01T21:01:30.903Z] e9a5061849ea: Verifying Checksum [2021-11-01T21:01:30.903Z] e9a5061849ea: Download complete [2021-11-01T21:01:30.903Z] d747dcd14b5f: Verifying Checksum [2021-11-01T21:01:30.903Z] d747dcd14b5f: Download complete [2021-11-01T21:01:31.165Z] 0d9ebad4ef96: Verifying Checksum [2021-11-01T21:01:31.165Z] 0d9ebad4ef96: Download complete [2021-11-01T21:01:31.165Z] 2de7ff778b66: Verifying Checksum [2021-11-01T21:01:31.165Z] 2de7ff778b66: Download complete [2021-11-01T21:01:33.721Z] ab5ef0e58194: Pull complete [2021-11-01T21:01:33.979Z] 9712f1f96733: Pull complete [2021-11-01T21:01:35.366Z] 63f879dbbcfc: Pull complete [2021-11-01T21:01:39.633Z] 0d9ebad4ef96: Pull complete [2021-11-01T21:01:39.633Z] e9a5061849ea: Pull complete [2021-11-01T21:01:39.633Z] d747dcd14b5f: Pull complete [2021-11-01T21:01:41.058Z] 2de7ff778b66: Pull complete [2021-11-01T21:01:41.058Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-01T21:01:41.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-01T21:01:41.058Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-01T21:01:41.115Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:01:41.153Z] $ 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-01T21:01:44.291Z] $ docker top 6bd7997402ad3cc55a6abaf69257b024ee60bea9a247cf5f212ca4908c7a1584 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:01:44.365Z] provisioning config files... [2021-11-01T21:01:44.373Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5785100404518637805tmp [2021-11-01T21:01:44.384Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1224773438553850336tmp [2021-11-01T21:01:44.395Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4449962266672711922tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:01:44.405Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:44.693Z] ---> sigul-configuration.sh [2021-11-01T21:01:44.693Z] gpg: directory `/root/.gnupg' created [2021-11-01T21:01:44.693Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-01T21:01:44.693Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-01T21:01:44.693Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-01T21:01:44.693Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-01T21:01:44.693Z] gpg: CAST5 encrypted data [2021-11-01T21:01:44.693Z] gpg: encrypted with 1 passphrase [2021-11-01T21:01:44.693Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-01T21:01:44.978Z] + mkdir /home/jenkins [2021-11-01T21:01:44.978Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-01T21:01:45.271Z] + 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-01T21:01:45.279Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:45.568Z] ---> sigul-install.sh [2021-11-01T21:01:45.568Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-01T21:01:45.858Z] + git tag --list [2021-11-01T21:01:45.858Z] 0.7.1 [2021-11-01T21:01:45.858Z] delhi-tag [2021-11-01T21:01:45.858Z] v1.0.0 [2021-11-01T21:01:45.858Z] v1.1.0 [2021-11-01T21:01:45.858Z] v1.1.1 [2021-11-01T21:01:45.858Z] v1.1.2 [2021-11-01T21:01:45.858Z] v1.2.0 [2021-11-01T21:01:45.858Z] v1.2.1 [2021-11-01T21:01:45.858Z] v1.2.2 [2021-11-01T21:01:45.858Z] v1.2.3 [2021-11-01T21:01:45.858Z] v1.3.0 [2021-11-01T21:01:45.858Z] v1.4.0 [2021-11-01T21:01:45.858Z] v2.0.0 [2021-11-01T21:01:45.858Z] v2.0.1-dev.1 [2021-11-01T21:01:45.858Z] v2.0.1-dev.10 [2021-11-01T21:01:45.858Z] v2.0.1-dev.11 [2021-11-01T21:01:45.858Z] v2.0.1-dev.12 [2021-11-01T21:01:45.858Z] v2.0.1-dev.13 [2021-11-01T21:01:45.858Z] v2.0.1-dev.14 [2021-11-01T21:01:45.858Z] v2.0.1-dev.15 [2021-11-01T21:01:45.858Z] v2.0.1-dev.16 [2021-11-01T21:01:45.858Z] v2.0.1-dev.17 [2021-11-01T21:01:45.858Z] v2.0.1-dev.18 [2021-11-01T21:01:45.858Z] v2.0.1-dev.19 [2021-11-01T21:01:45.858Z] v2.0.1-dev.2 [2021-11-01T21:01:45.858Z] v2.0.1-dev.20 [2021-11-01T21:01:45.858Z] v2.0.1-dev.21 [2021-11-01T21:01:45.858Z] v2.0.1-dev.22 [2021-11-01T21:01:45.858Z] v2.0.1-dev.23 [2021-11-01T21:01:45.858Z] v2.0.1-dev.24 [2021-11-01T21:01:45.858Z] v2.0.1-dev.25 [2021-11-01T21:01:45.858Z] v2.0.1-dev.26 [2021-11-01T21:01:45.858Z] v2.0.1-dev.27 [2021-11-01T21:01:45.858Z] v2.0.1-dev.3 [2021-11-01T21:01:45.858Z] v2.0.1-dev.4 [2021-11-01T21:01:45.858Z] v2.0.1-dev.5 [2021-11-01T21:01:45.858Z] v2.0.1-dev.6 [2021-11-01T21:01:45.858Z] v2.0.1-dev.7 [2021-11-01T21:01:45.858Z] v2.0.1-dev.8 [2021-11-01T21:01:45.858Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-01T21:01:46.149Z] + lftools sign git-tag v2.0.1-dev.27 [2021-11-01T21:01:46.726Z] Signing Git tag with Sigul... [2021-11-01T21:01:46.726Z] Signing v2.0.1-dev.27 [Pipeline] echo [2021-11-01T21:01:47.681Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:47.987Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-01T21:01:47.996Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-01T21:01:48.013Z] $ docker stop --time=1 6bd7997402ad3cc55a6abaf69257b024ee60bea9a247cf5f212ca4908c7a1584 [2021-11-01T21:01:49.231Z] $ docker rm -f 6bd7997402ad3cc55a6abaf69257b024ee60bea9a247cf5f212ca4908c7a1584 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:49.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:01:49.806Z] . [Pipeline] withDockerContainer [2021-11-01T21:01:49.870Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:01:49.904Z] $ 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-01T21:01:50.247Z] $ docker top 830f05f4ac5d252f4dc02885cad5157e204c93c389ebb77288bf740150c0156f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:01:50.337Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:01:50.337Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:01:50.442Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:01:50.445Z] $ docker exec 830f05f4ac5d252f4dc02885cad5157e204c93c389ebb77288bf740150c0156f ssh-agent [2021-11-01T21:01:50.547Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpeObLa/agent.14 [2021-11-01T21:01:50.547Z] SSH_AGENT_PID=20 [2021-11-01T21:01:50.552Z] Running ssh-add (command line suppressed) [2021-11-01T21:01:50.650Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335087610916912759.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7335087610916912759.key) [2021-11-01T21:01:50.662Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:01:50.954Z] + git semver bump pre [2021-11-01T21:01:50.954Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:01:50.954Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-01T21:01:50.954Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T21:01:50.954Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:01:50.954Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:01:50.954Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:01:50.954Z] # $SEMVER_BRANCH = main [2021-11-01T21:01:50.954Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [2021-11-01T21:01:50.954Z] 2.0.1-dev.28 [Pipeline] } [2021-11-01T21:01:50.967Z] $ docker exec --env ******** --env ******** 830f05f4ac5d252f4dc02885cad5157e204c93c389ebb77288bf740150c0156f ssh-agent -k [2021-11-01T21:01:51.050Z] unset SSH_AUTH_SOCK; [2021-11-01T21:01:51.050Z] unset SSH_AGENT_PID; [2021-11-01T21:01:51.050Z] echo Agent pid 20 killed; [2021-11-01T21:01:51.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:01:51.368Z] + git semver [Pipeline] } [2021-11-01T21:01:51.383Z] $ docker stop --time=1 830f05f4ac5d252f4dc02885cad5157e204c93c389ebb77288bf740150c0156f [2021-11-01T21:01:52.550Z] $ docker rm -f 830f05f4ac5d252f4dc02885cad5157e204c93c389ebb77288bf740150c0156f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:01:52.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-01T21:01:52.899Z] . [Pipeline] withDockerContainer [2021-11-01T21:01:52.958Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:01:52.989Z] $ 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-01T21:01:53.323Z] $ docker top 83c0e80a778f23a780d468510cb585027cb765c0ae7b0ababc821623334e5e62 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-01T21:01:53.403Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-01T21:01:53.403Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-01T21:01:53.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-01T21:01:53.508Z] $ docker exec 83c0e80a778f23a780d468510cb585027cb765c0ae7b0ababc821623334e5e62 ssh-agent [2021-11-01T21:01:53.605Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLlGjip/agent.13 [2021-11-01T21:01:53.605Z] SSH_AGENT_PID=20 [2021-11-01T21:01:53.609Z] Running ssh-add (command line suppressed) [2021-11-01T21:01:53.711Z] Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7721664516993652509.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7721664516993652509.key) [2021-11-01T21:01:53.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-01T21:01:54.014Z] + git semver push [2021-11-01T21:01:54.014Z] # -> Open(): unable to determine branch for HEAD [2021-11-01T21:01:54.014Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git [2021-11-01T21:01:54.014Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T21:01:54.014Z] # $SEMVER_REMOTE_NAME = origin [2021-11-01T21:01:54.014Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-01T21:01:54.014Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-01T21:01:54.014Z] # $SEMVER_BRANCH = main [2021-11-01T21:01:54.014Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } [2021-11-01T21:01:55.936Z] $ docker exec --env ******** --env ******** 83c0e80a778f23a780d468510cb585027cb765c0ae7b0ababc821623334e5e62 ssh-agent -k [2021-11-01T21:01:56.033Z] unset SSH_AUTH_SOCK; [2021-11-01T21:01:56.034Z] unset SSH_AGENT_PID; [2021-11-01T21:01:56.034Z] echo Agent pid 20 killed; [2021-11-01T21:01:56.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-01T21:01:56.350Z] + git semver [Pipeline] } [2021-11-01T21:01:56.362Z] $ docker stop --time=1 83c0e80a778f23a780d468510cb585027cb765c0ae7b0ababc821623334e5e62 [2021-11-01T21:01:57.534Z] $ docker rm -f 83c0e80a778f23a780d468510cb585027cb765c0ae7b0ababc821623334e5e62 [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-01T21:01:58.364Z] + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:58.660Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:01:59.215Z] ---> package-listing.sh [2021-11-01T21:01:59.215Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-01T21:01:59.215Z] ++ facter osfamily [2021-11-01T21:01:59.477Z] + OS_FAMILY=redhat [2021-11-01T21:01:59.477Z] + workspace=/w/workspace/edgexfoundry_device-sdk-go_main [2021-11-01T21:01:59.477Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-01T21:01:59.477Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-01T21:01:59.477Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-01T21:01:59.477Z] + PACKAGES=/tmp/packages_start.txt [2021-11-01T21:01:59.477Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-01T21:01:59.477Z] + PACKAGES=/tmp/packages_end.txt [2021-11-01T21:01:59.477Z] + case "${OS_FAMILY}" in [2021-11-01T21:01:59.477Z] + sort [2021-11-01T21:01:59.477Z] + rpm -qa [2021-11-01T21:02:00.048Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-01T21:02:00.048Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-01T21:02:00.048Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-01T21:02:00.048Z] + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' [2021-11-01T21:02:00.048Z] + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [2021-11-01T21:02:00.048Z] + 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-01T21:02:00.059Z] 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-01T21:02:00.340Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:02:00.899Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:02:00.899Z] [2021-11-01T21:02:00.899Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-01T21:02:01.207Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:02:01.207Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-01T21:02:01.207Z] b4d181a07f80: Pulling fs layer [2021-11-01T21:02:01.207Z] a1111a8f2ec3: Pulling fs layer [2021-11-01T21:02:01.207Z] ed53099fbce6: Pulling fs layer [2021-11-01T21:02:01.207Z] dc539afda2c1: Pulling fs layer [2021-11-01T21:02:01.207Z] 77bc0d833cb6: Pulling fs layer [2021-11-01T21:02:01.207Z] 9065ff56babe: Pulling fs layer [2021-11-01T21:02:01.207Z] d287ab97295c: Pulling fs layer [2021-11-01T21:02:01.207Z] dc539afda2c1: Waiting [2021-11-01T21:02:01.207Z] 77bc0d833cb6: Waiting [2021-11-01T21:02:01.207Z] 9065ff56babe: Waiting [2021-11-01T21:02:01.207Z] d287ab97295c: Waiting [2021-11-01T21:02:01.207Z] a1111a8f2ec3: Verifying Checksum [2021-11-01T21:02:01.207Z] a1111a8f2ec3: Download complete [2021-11-01T21:02:01.207Z] dc539afda2c1: Verifying Checksum [2021-11-01T21:02:01.207Z] dc539afda2c1: Download complete [2021-11-01T21:02:01.207Z] ed53099fbce6: Verifying Checksum [2021-11-01T21:02:01.207Z] ed53099fbce6: Download complete [2021-11-01T21:02:01.207Z] 77bc0d833cb6: Verifying Checksum [2021-11-01T21:02:01.207Z] 77bc0d833cb6: Download complete [2021-11-01T21:02:01.469Z] 9065ff56babe: Verifying Checksum [2021-11-01T21:02:01.469Z] 9065ff56babe: Download complete [2021-11-01T21:02:01.469Z] b4d181a07f80: Verifying Checksum [2021-11-01T21:02:01.469Z] b4d181a07f80: Download complete [2021-11-01T21:02:02.061Z] d287ab97295c: Verifying Checksum [2021-11-01T21:02:02.061Z] d287ab97295c: Download complete [2021-11-01T21:02:03.005Z] b4d181a07f80: Pull complete [2021-11-01T21:02:03.269Z] a1111a8f2ec3: Pull complete [2021-11-01T21:02:03.852Z] ed53099fbce6: Pull complete [2021-11-01T21:02:03.852Z] dc539afda2c1: Pull complete [2021-11-01T21:02:04.113Z] 77bc0d833cb6: Pull complete [2021-11-01T21:02:04.113Z] 9065ff56babe: Pull complete [2021-11-01T21:02:09.437Z] d287ab97295c: Pull complete [2021-11-01T21:02:09.437Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-01T21:02:09.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-01T21:02:09.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-01T21:02:09.504Z] prd-centos7-docker-4c-2g-13743 does not seem to be running inside a container [2021-11-01T21:02:09.538Z] $ 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-01T21:02:12.895Z] $ docker top 070419138b9515709d0f3a0cdb09903c452e99ebf22f30d4bb6878899b86f57d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-01T21:02:13.247Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-01T21:02:13.560Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-01T21:02:13.849Z] + ls /var/log/sa-host [2021-11-01T21:02:13.849Z] + sadf -c /var/log/sa-host/sa01 [2021-11-01T21:02:13.849Z] file_magic: OK [2021-11-01T21:02:13.849Z] HZ: Using current value: 100 [2021-11-01T21:02:13.849Z] file_header: OK [2021-11-01T21:02:13.849Z] 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-01T21:02:13.849Z] Statistics: [2021-11-01T21:02:13.849Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:02:13.849Z] File successfully converted to sysstat format version 12.0.3 [2021-11-01T21:02:13.849Z] + sadf -c /var/log/sa-host/sa30 [2021-11-01T21:02:13.849Z] file_magic: OK [2021-11-01T21:02:13.849Z] HZ: Using current value: 100 [2021-11-01T21:02:13.849Z] file_header: OK [2021-11-01T21:02:13.849Z] 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-01T21:02:13.849Z] Statistics: [2021-11-01T21:02:13.849Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-01T21:02:13.849Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-01T21:02:13.918Z] provisioning config files... [2021-11-01T21:02:13.927Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config85962674428571949tmp [Pipeline] { [Pipeline] echo [2021-11-01T21:02:13.937Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:02:14.223Z] ---> create-netrc.sh [Pipeline] } [2021-11-01T21:02:14.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:02:14.559Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-01T21:02:14.567Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:02:14.851Z] ---> sudo-logs.sh [2021-11-01T21:02:14.851Z] Archiving 'sudo' log.. [2021-11-01T21:02:14.851Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13743.novalocal: Name or service not known [2021-11-01T21:02:15.111Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13743.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-01T21:02:15.133Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:02:15.415Z] ---> job-cost.sh [2021-11-01T21:02:15.415Z] lf-activate-venv: SKIPPING [2021-11-01T21:02:15.415Z] DEBUG: total: 0.10999999940395355 [2021-11-01T21:02:15.415Z] INFO: Retrieving Stack Cost... [2021-11-01T21:02:15.985Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-01T21:02:16.244Z] INFO: Archiving Costs [Pipeline] echo [2021-11-01T21:02:16.255Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-01T21:02:16.547Z] ---> logs-deploy.sh [2021-11-01T21:02:16.547Z] lf-activate-venv: SKIPPING [2021-11-01T21:02:16.547Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/26 [2021-11-01T21:02:16.547Z] INFO: archiving workspace using pattern(s): [2021-11-01T21:02:17.119Z] Archives upload complete. [2021-11-01T21:02:17.379Z] INFO: archiving logs to Nexus