Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a0ea57342c624bee91335f4cb6d1021054e409bb+b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (9a4feb3a904cac6a88e17e59555c21ce7bfeb240) 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-ssh5399082389671323733.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-ssh9081778194981597645.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/PR-1056/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/PR-1056/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3190096592105001010.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-ssh439550558102347049.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/PR-1056/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/PR-1056/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2277268480073692454.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 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-28151’ Running on prd-centos7-docker-4c-2g-28433 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [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/gexfoundry_device-sdk-go_PR-1056 # 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/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh2595501540786140740.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb Merge succeeded, producing 441ae761b63eafe8d4de4fc4e34cc7b357038c33 Checking out Revision 441ae761b63eafe8d4de4fc4e34cc7b357038c33 (PR-1056) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 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/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh2653197345624526533.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/jenkins-gitclient-ssh1958681338373516912.key > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 441ae761b63eafe8d4de4fc4e34cc7b357038c33 # timeout=10 Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" > git rev-list --no-walk a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T20:01:33.092Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T20:01:33.141Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T20:01:33.157Z] ========================================================= [2021-11-09T20:01:33.157Z] EdgeX Global Pipelines Version Info [2021-11-09T20:01:33.157Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:01:34.630Z] ------------------- [2021-11-09T20:01:34.630Z] stable info: [2021-11-09T20:01:34.630Z] ------------------- [2021-11-09T20:01:34.630Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T20:01:34.630Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:34.630Z] Message: update stable to v1.0.211 [2021-11-09T20:01:34.895Z] ------------------- [2021-11-09T20:01:34.895Z] experimental info: [2021-11-09T20:01:34.895Z] ------------------- [2021-11-09T20:01:34.895Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:34.895Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T20:01:34.895Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T20:01:34.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-09T20:01:35.009Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-09T20:01:35.025Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T20:01:35.037Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T20:01:35.049Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T20:01:35.062Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T20:01:35.074Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T20:01:35.088Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-09T20:01:35.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T20:01:35.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T20:01:35.130Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T20:01:35.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-09T20:01:35.155Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T20:01:35.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T20:01:35.180Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T20:01:35.193Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:35.206Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:35.219Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T20:01:35.232Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T20:01:35.246Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-09T20:01:35.259Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-09T20:01:35.273Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-09T20:01:35.287Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T20:01:35.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T20:01:35.314Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T20:01:36.403Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T20:01:36.412Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1056 [Pipeline] echo [2021-11-09T20:01:36.422Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1056 [Pipeline] echo [2021-11-09T20:01:36.431Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1056 [Pipeline] echo [2021-11-09T20:01:36.447Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 441ae761b63eafe8d4de4fc4e34cc7b357038c33 [Pipeline] echo [2021-11-09T20:01:36.463Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 441ae76 [Pipeline] echo [2021-11-09T20:01:36.475Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:01:36.513Z] provisioning config files... [2021-11-09T20:01:36.539Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config3331146896475681834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:01:36.857Z] ---> docker-login.sh [2021-11-09T20:01:36.857Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:01:36.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:37.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:37.128Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:37.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:37.128Z] [2021-11-09T20:01:37.128Z] Login Succeeded [2021-11-09T20:01:37.128Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:01:37.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:37.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:37.128Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:37.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:37.128Z] [2021-11-09T20:01:37.128Z] Login Succeeded [2021-11-09T20:01:37.128Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:01:37.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:42.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:42.459Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:42.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:42.459Z] [2021-11-09T20:01:42.459Z] Login Succeeded [2021-11-09T20:01:42.459Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:01:42.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:42.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:42.459Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:42.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:42.459Z] [2021-11-09T20:01:42.459Z] Login Succeeded [2021-11-09T20:01:42.459Z] docker.io [2021-11-09T20:01:42.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:01:43.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:01:43.705Z] Configure a credential helper to remove this warning. See [2021-11-09T20:01:43.705Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:01:43.705Z] [2021-11-09T20:01:43.705Z] Login Succeeded [2021-11-09T20:01:43.705Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:01:43.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T20:01:44.413Z] + git rev-list -1 --merges 441ae761b63eafe8d4de4fc4e34cc7b357038c33~1..441ae761b63eafe8d4de4fc4e34cc7b357038c33 [Pipeline] echo [2021-11-09T20:01:44.458Z] -----------> git rev-list -1 --merges 441ae761b63eafe8d4de4fc4e34cc7b357038c33~1..441ae761b63eafe8d4de4fc4e34cc7b357038c33 441ae761b63eafe8d4de4fc4e34cc7b357038c33 [2021-11-09T20:01:44.458Z] 441ae761b63eafe8d4de4fc4e34cc7b357038c33 [false] [Pipeline] sh [2021-11-09T20:01:44.769Z] + git log --format=format:%s -1 441ae761b63eafe8d4de4fc4e34cc7b357038c33 [Pipeline] echo [2021-11-09T20:01:44.788Z] ========================================================= [2021-11-09T20:01:44.788Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T20:01:44.788Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:01:45.345Z] + git log --format=format:%s -1 441ae761b63eafe8d4de4fc4e34cc7b357038c33 [Pipeline] echo [2021-11-09T20:01:45.363Z] [semverPrep] GIT_COMMIT: 441ae761b63eafe8d4de4fc4e34cc7b357038c33, Commit Message: Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD [Pipeline] echo [2021-11-09T20:01:45.372Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:45.806Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:45.806Z] [2021-11-09T20:01:45.806Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:01:46.130Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:46.130Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T20:01:46.130Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:01:46.130Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T20:01:46.130Z] 4c7163046ea9: Pulling fs layer [2021-11-09T20:01:46.130Z] 0c2d73faf560: Pulling fs layer [2021-11-09T20:01:46.130Z] 0c2d73faf560: Waiting [2021-11-09T20:01:46.130Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T20:01:46.130Z] 3e5f54012d9b: Download complete [2021-11-09T20:01:46.130Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T20:01:46.130Z] a0d0a0d46f8b: Download complete [2021-11-09T20:01:46.394Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:01:46.394Z] 3e5f54012d9b: Pull complete [2021-11-09T20:01:46.394Z] 0c2d73faf560: Verifying Checksum [2021-11-09T20:01:46.394Z] 0c2d73faf560: Download complete [2021-11-09T20:01:46.655Z] 4c7163046ea9: Verifying Checksum [2021-11-09T20:01:46.655Z] 4c7163046ea9: Download complete [2021-11-09T20:01:46.924Z] 4c7163046ea9: Pull complete [2021-11-09T20:01:47.189Z] 0c2d73faf560: Pull complete [2021-11-09T20:01:47.189Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T20:01:47.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T20:01:47.189Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T20:01:47.282Z] prd-centos7-docker-4c-2g-28433 does not seem to be running inside a container [2021-11-09T20:01:47.337Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T20:01:47.921Z] $ docker top 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T20:01:48.041Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:48.041Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:48.162Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:48.166Z] $ docker exec 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 ssh-agent [2021-11-09T20:01:48.295Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNlmkCd/agent.13 [2021-11-09T20:01:48.295Z] SSH_AGENT_PID=20 [2021-11-09T20:01:48.306Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:48.408Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_6080627955759392393.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_6080627955759392393.key) [2021-11-09T20:01:48.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:49.971Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T20:01:49.989Z] $ docker exec --env ******** --env ******** 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 ssh-agent -k [2021-11-09T20:01:50.090Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:50.091Z] unset SSH_AGENT_PID; [2021-11-09T20:01:50.091Z] echo Agent pid 20 killed; [2021-11-09T20:01:50.106Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T20:01:50.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T20:01:50.131Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T20:01:50.254Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T20:01:50.257Z] $ docker exec 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 ssh-agent [2021-11-09T20:01:50.361Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDCefJi/agent.52 [2021-11-09T20:01:50.361Z] SSH_AGENT_PID=59 [2021-11-09T20:01:50.366Z] Running ssh-add (command line suppressed) [2021-11-09T20:01:50.469Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_1342788411084621016.key (/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/private_key_1342788411084621016.key) [2021-11-09T20:01:50.489Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T20:01:50.805Z] + git semver init [2021-11-09T20:01:50.805Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T20:01:50.805Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.git [2021-11-09T20:01:50.805Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-09T20:01:50.805Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T20:01:50.805Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T20:01:50.805Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T20:01:50.805Z] # $SEMVER_BRANCH = PR-1056 [2021-11-09T20:01:50.805Z] # $SEMVER_TEMP = /tmp/semver-271597314 [2021-11-09T20:01:50.805Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-09T20:01:51.757Z] # '/tmp/semver-271597314' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver' [2021-11-09T20:01:51.757Z] # -> Force: false [2021-11-09T20:01:51.757Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1056/.semver [Pipeline] } [2021-11-09T20:01:51.767Z] $ docker exec --env ******** --env ******** 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 ssh-agent -k [2021-11-09T20:01:51.858Z] unset SSH_AUTH_SOCK; [2021-11-09T20:01:51.858Z] unset SSH_AGENT_PID; [2021-11-09T20:01:51.858Z] echo Agent pid 59 killed; [2021-11-09T20:01:51.871Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T20:01:52.209Z] + git semver [Pipeline] } [2021-11-09T20:01:52.237Z] $ docker stop --time=1 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 [2021-11-09T20:01:53.553Z] $ docker rm -f 708e5e1eee5f1e0219e12a5a0b903857815950b1cecfac34f224169143509f23 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:01:54.130Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T20:01:54.446Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T20:01:54.448Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-09T20:02:09.608Z] Still waiting to schedule task [2021-11-09T20:02:09.608Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T20:02:09.616Z] Still waiting to schedule task [2021-11-09T20:02:09.616Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-28432’ [2021-11-09T20:05:11.363Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28446 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-09T20:05:11.374Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T20:05:12.836Z] Selected Git installation does not exist. Using Default [2021-11-09T20:05:12.836Z] The recommended git tool is: NONE [2021-11-09T20:05:19.004Z] Running on prd-centos7-docker-4c-2g-28450 in /w/workspace/gexfoundry_device-sdk-go_PR-1056 [Pipeline] { [Pipeline] ws [2021-11-09T20:05:19.016Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-11-09T20:05:19.124Z] Selected Git installation does not exist. Using Default [2021-11-09T20:05:19.124Z] The recommended git tool is: NONE [2021-11-09T20:05:19.706Z] using credential edgex-jenkins-ssh [2021-11-09T20:05:19.727Z] Cloning the remote Git repository [2021-11-09T20:05:19.786Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:19.891Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T20:05:19.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:19.993Z] > git --version # timeout=10 [2021-11-09T20:05:20.012Z] > git --version # 'git version 2.17.1' [2021-11-09T20:05:20.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:20.112Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:22.336Z] using credential edgex-jenkins-ssh [2021-11-09T20:05:22.346Z] Cloning the remote Git repository [2021-11-09T20:05:21.305Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:21.372Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-11-09T20:05:21.405Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:21.406Z] > git --version # timeout=10 [2021-11-09T20:05:21.417Z] > git --version # 'git version 2.24.4' [2021-11-09T20:05:21.417Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:21.449Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:21.450Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:21.450Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh2322397593247523878.key [2021-11-09T20:05:22.638Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-09T20:05:21.460Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:22.280Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:22.290Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:21.860Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:21.887Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T20:05:21.914Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:21.966Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:21.967Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:21.984Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T20:05:22.659Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:22.677Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-09T20:05:22.799Z] > git remote # timeout=10 [2021-11-09T20:05:22.819Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:05:22.835Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:22.848Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T20:05:23.801Z] Merge succeeded, producing 524b3d097162a82732b54a20e6f7901118d696c3 [2021-11-09T20:05:23.801Z] Checking out Revision 524b3d097162a82732b54a20e6f7901118d696c3 (PR-1056) [2021-11-09T20:05:24.292Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit a0ea57342c624bee91335f4cb6d1021054e409bb [2021-11-09T20:05:24.391Z] Merge succeeded, producing e24ffe3e7bf106c1c0376d1977058e103db801cf [2021-11-09T20:05:24.391Z] Checking out Revision e24ffe3e7bf106c1c0376d1977058e103db801cf (PR-1056) [2021-11-09T20:05:23.775Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:05:23.807Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:23.820Z] > git checkout -f 524b3d097162a82732b54a20e6f7901118d696c3 # timeout=10 [2021-11-09T20:05:23.765Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-09T20:05:23.784Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-09T20:05:23.784Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:23.785Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:23.785Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:23.785Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh7883837096074223073.key [2021-11-09T20:05:23.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1056/head:refs/remotes/origin/PR-1056 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-09T20:05:24.301Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:24.310Z] > git checkout -f a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-09T20:05:24.348Z] > git remote # timeout=10 [2021-11-09T20:05:24.353Z] > git config --get remote.origin.url # timeout=10 [2021-11-09T20:05:24.356Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T20:05:24.357Z] [INFO] Currently running in a labeled security context [2021-11-09T20:05:24.357Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T20:05:24.357Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh4668007935944836539.key [2021-11-09T20:05:24.363Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-09T20:05:24.382Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-09T20:05:24.394Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T20:05:24.402Z] > git checkout -f e24ffe3e7bf106c1c0376d1977058e103db801cf # timeout=10 [2021-11-09T20:05:28.240Z] Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" [2021-11-09T20:05:28.245Z] > git rev-list --no-walk a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [2021-11-09T20:05:28.437Z] Commit message: "Merge commit 'b65f5695dadca3fd7b85e6de0c13b69f00bad0e6' into HEAD" [2021-11-09T20:05:28.450Z] > git rev-list --no-walk a0ea57342c624bee91335f4cb6d1021054e409bb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:05:28.638Z] provisioning config files... [2021-11-09T20:05:28.652Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config4752394220457088810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:05:29.036Z] ---> docker-login.sh [2021-11-09T20:05:29.036Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:05:29.036Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:29.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:29.299Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:29.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:29.299Z] [2021-11-09T20:05:29.299Z] Login Succeeded [2021-11-09T20:05:29.299Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:05:29.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:29.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:29.299Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:29.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:29.299Z] [2021-11-09T20:05:29.299Z] Login Succeeded [2021-11-09T20:05:29.299Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:05:29.299Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:29.493Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T20:05:29.493Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T20:05:29.494Z] Dload Upload Total Spent Left Speed [2021-11-09T20:05:29.494Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 169k 0 --:--:-- --:--:-- --:--:-- 172k [2021-11-09T20:05:29.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:29.566Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:29.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:29.566Z] [2021-11-09T20:05:29.566Z] Login Succeeded [2021-11-09T20:05:29.566Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:05:29.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:29.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:29.566Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:29.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:29.566Z] [2021-11-09T20:05:29.566Z] Login Succeeded [2021-11-09T20:05:29.566Z] docker.io [2021-11-09T20:05:29.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2021-11-09T20:05:30.046Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2021-11-09T20:05:30.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:30.138Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:30.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:30.138Z] [2021-11-09T20:05:30.138Z] Login Succeeded [2021-11-09T20:05:30.138Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:05:30.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T20:05:30.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:05:30.340Z] ========================================================= [2021-11-09T20:05:30.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T20:05:30.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:05:30.650Z] + 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-09T20:05:30.650Z] Sending build context to Docker daemon 2.753MB [2021-11-09T20:05:30.650Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:05:30.650Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] sh [2021-11-09T20:05:30.914Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T20:05:30.915Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T20:05:30.915Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T20:05:30.915Z] b8b176561691: Pulling fs layer [2021-11-09T20:05:30.915Z] 4527c011a84f: Pulling fs layer [2021-11-09T20:05:30.915Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T20:05:30.915Z] e0aca202a116: Pulling fs layer [2021-11-09T20:05:30.915Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T20:05:30.915Z] 34cad66bf833: Pulling fs layer [2021-11-09T20:05:30.915Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T20:05:30.915Z] e0aca202a116: Waiting [2021-11-09T20:05:30.915Z] 3a43be97a3b4: Waiting [2021-11-09T20:05:30.915Z] 34cad66bf833: Waiting [2021-11-09T20:05:30.915Z] b4e3c513aaa6: Waiting [2021-11-09T20:05:30.915Z] 4527c011a84f: Waiting [2021-11-09T20:05:30.915Z] 5d74067f8e1e: Waiting [2021-11-09T20:05:30.915Z] b8b176561691: Verifying Checksum [2021-11-09T20:05:30.915Z] b8b176561691: Download complete [2021-11-09T20:05:30.915Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T20:05:30.915Z] 31adcdaf11c8: Download complete [2021-11-09T20:05:30.915Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T20:05:30.915Z] 5d74067f8e1e: Download complete [2021-11-09T20:05:30.915Z] e0aca202a116: Verifying Checksum [2021-11-09T20:05:30.915Z] e0aca202a116: Download complete [2021-11-09T20:05:30.915Z] a0d0a0d46f8b: Download complete [2021-11-09T20:05:30.915Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T20:05:30.915Z] 3a43be97a3b4: Download complete [2021-11-09T20:05:30.915Z] 34cad66bf833: Verifying Checksum [2021-11-09T20:05:30.915Z] 34cad66bf833: Download complete [2021-11-09T20:05:31.018Z] + sudo tee /etc/docker/daemon.new [2021-11-09T20:05:31.019Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-09T20:05:31.019Z] { [2021-11-09T20:05:31.019Z] "registry-mirrors": [ [2021-11-09T20:05:31.019Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T20:05:31.019Z] ], [2021-11-09T20:05:31.019Z] "bip": "10.250.0.254/24", [2021-11-09T20:05:31.019Z] "hosts": [ [2021-11-09T20:05:31.019Z] "tcp://0.0.0.0:5555", [2021-11-09T20:05:31.019Z] "unix:///var/run/docker.sock" [2021-11-09T20:05:31.019Z] ], [2021-11-09T20:05:31.019Z] "mtu": 1458, [2021-11-09T20:05:31.019Z] "selinux-enabled": true, [2021-11-09T20:05:31.019Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T20:05:31.019Z] } [Pipeline] sh [2021-11-09T20:05:31.399Z] a0d0a0d46f8b: Pull complete [2021-11-09T20:05:31.399Z] 31adcdaf11c8: Pull complete [2021-11-09T20:05:31.674Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2021-11-09T20:05:31.686Z] b8b176561691: Pull complete [2021-11-09T20:05:31.686Z] 4527c011a84f: Verifying Checksum [2021-11-09T20:05:31.686Z] 4527c011a84f: Download complete [Pipeline] sh [2021-11-09T20:05:31.952Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T20:05:31.952Z] b4e3c513aaa6: Download complete [2021-11-09T20:05:32.073Z] + sudo service docker restart [2021-11-09T20:05:36.189Z] 4527c011a84f: Pull complete [2021-11-09T20:05:36.190Z] 5d74067f8e1e: Pull complete [2021-11-09T20:05:36.190Z] e0aca202a116: Pull complete [2021-11-09T20:05:36.190Z] 3a43be97a3b4: Pull complete [2021-11-09T20:05:36.190Z] 34cad66bf833: Pull complete [2021-11-09T20:05:38.758Z] b4e3c513aaa6: Pull complete [2021-11-09T20:05:38.758Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T20:05:38.758Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T20:05:38.758Z] ---> 9f6097aaca64 [2021-11-09T20:05:38.758Z] Step 3/10 : ARG MAKE=make build [2021-11-09T20:05:42.393Z] ---> Running in e34e96510bd6 [2021-11-09T20:05:42.393Z] Removing intermediate container e34e96510bd6 [2021-11-09T20:05:42.393Z] ---> eddf2be2192e [2021-11-09T20:05:42.393Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T20:05:42.393Z] ---> Running in f110ecd28bff [2021-11-09T20:05:42.393Z] Removing intermediate container f110ecd28bff [2021-11-09T20:05:42.393Z] ---> 5a0578846e6b [2021-11-09T20:05:42.393Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:05:42.393Z] ---> Running in e8c359d7d900 [2021-11-09T20:05:42.393Z] Removing intermediate container e8c359d7d900 [2021-11-09T20:05:42.393Z] ---> c44245031f70 [2021-11-09T20:05:42.393Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:05:42.393Z] ---> Running in f7bf1f2c6a1b [2021-11-09T20:05:43.088Z] Removing intermediate container f7bf1f2c6a1b [2021-11-09T20:05:43.088Z] ---> b8005def2e95 [2021-11-09T20:05:43.088Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:05:43.559Z] ---> Running in 506ef32fffb4 [2021-11-09T20:05:43.559Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T20:05:49.779Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:05:50.721Z] provisioning config files... [2021-11-09T20:05:50.780Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1665636034987028249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:05:51.209Z] ---> docker-login.sh [2021-11-09T20:05:51.209Z] nexus3.edgexfoundry.org:10001 [2021-11-09T20:05:51.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:52.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:52.513Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:52.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:52.513Z] [2021-11-09T20:05:52.513Z] Login Succeeded [2021-11-09T20:05:52.837Z] nexus3.edgexfoundry.org:10002 [2021-11-09T20:05:53.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:53.442Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:53.442Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:53.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:53.442Z] [2021-11-09T20:05:53.442Z] Login Succeeded [2021-11-09T20:05:53.442Z] nexus3.edgexfoundry.org:10003 [2021-11-09T20:05:53.767Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:54.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:54.063Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:54.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:54.063Z] [2021-11-09T20:05:54.063Z] Login Succeeded [2021-11-09T20:05:54.063Z] nexus3.edgexfoundry.org:10004 [2021-11-09T20:05:54.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:54.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:54.686Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:54.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:54.686Z] [2021-11-09T20:05:54.686Z] Login Succeeded [2021-11-09T20:05:54.686Z] docker.io [2021-11-09T20:05:54.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T20:05:55.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T20:05:55.580Z] Configure a credential helper to remove this warning. See [2021-11-09T20:05:55.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T20:05:55.580Z] [2021-11-09T20:05:55.580Z] Login Succeeded [2021-11-09T20:05:55.580Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T20:05:55.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T20:05:56.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T20:05:56.988Z] ========================================================= [2021-11-09T20:05:56.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T20:05:56.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:05:57.854Z] + 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-09T20:05:58.493Z] Sending build context to Docker daemon 2.752MB [2021-11-09T20:05:58.493Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:05:58.493Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-09T20:05:58.769Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T20:05:58.769Z] 552d1f2373af: Pulling fs layer [2021-11-09T20:05:58.769Z] ea3f2d53f512: Pulling fs layer [2021-11-09T20:05:58.769Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T20:05:58.769Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T20:05:58.769Z] 72dc09318566: Pulling fs layer [2021-11-09T20:05:58.769Z] f4f7b4309257: Pulling fs layer [2021-11-09T20:05:58.769Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T20:05:58.769Z] b78e95d17946: Pulling fs layer [2021-11-09T20:05:58.769Z] 7a9cfe048b4a: Waiting [2021-11-09T20:05:58.769Z] 72dc09318566: Waiting [2021-11-09T20:05:58.769Z] f4f7b4309257: Waiting [2021-11-09T20:05:58.769Z] 0ac9a79272e3: Waiting [2021-11-09T20:05:58.769Z] b78e95d17946: Waiting [2021-11-09T20:05:59.103Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T20:05:59.103Z] 9e70ebbbe112: Download complete [2021-11-09T20:05:59.103Z] ea3f2d53f512: Verifying Checksum [2021-11-09T20:05:59.103Z] ea3f2d53f512: Download complete [2021-11-09T20:05:59.103Z] 552d1f2373af: Verifying Checksum [2021-11-09T20:05:59.103Z] 552d1f2373af: Download complete [2021-11-09T20:05:59.426Z] f4f7b4309257: Verifying Checksum [2021-11-09T20:05:59.426Z] f4f7b4309257: Download complete [2021-11-09T20:05:59.426Z] 0ac9a79272e3: Verifying Checksum [2021-11-09T20:05:59.426Z] 0ac9a79272e3: Download complete [2021-11-09T20:05:59.709Z] 552d1f2373af: Pull complete [2021-11-09T20:05:59.992Z] 72dc09318566: Verifying Checksum [2021-11-09T20:05:59.992Z] 72dc09318566: Download complete [2021-11-09T20:06:00.465Z] OK: 220 MiB in 52 packages [2021-11-09T20:06:00.465Z] Removing intermediate container 506ef32fffb4 [2021-11-09T20:06:00.465Z] ---> 01cf58a65a04 [2021-11-09T20:06:00.465Z] Step 8/10 : COPY . . [2021-11-09T20:06:00.628Z] ea3f2d53f512: Pull complete [2021-11-09T20:06:00.729Z] ---> 53e7b0deb59a [2021-11-09T20:06:00.729Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:06:00.729Z] ---> Running in aa6e2e02a51c [2021-11-09T20:06:00.912Z] 9e70ebbbe112: Pull complete [2021-11-09T20:06:02.155Z] b78e95d17946: Verifying Checksum [2021-11-09T20:06:02.155Z] b78e95d17946: Download complete [2021-11-09T20:06:02.155Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T20:06:02.155Z] 7a9cfe048b4a: Download complete [2021-11-09T20:06:12.771Z] 7a9cfe048b4a: Pull complete [2021-11-09T20:06:12.771Z] 72dc09318566: Pull complete [2021-11-09T20:06:12.771Z] f4f7b4309257: Pull complete [2021-11-09T20:06:12.771Z] 0ac9a79272e3: Pull complete [2021-11-09T20:06:18.057Z] b78e95d17946: Pull complete [2021-11-09T20:06:18.057Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T20:06:18.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T20:06:18.057Z] ---> 8b459fc5aaf0 [2021-11-09T20:06:18.057Z] Step 3/10 : ARG MAKE=make build [2021-11-09T20:06:18.341Z] ---> Running in c7b1064ac10f [2021-11-09T20:06:18.950Z] Removing intermediate container c7b1064ac10f [2021-11-09T20:06:18.950Z] ---> 1841ec0615df [2021-11-09T20:06:18.950Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-09T20:06:18.950Z] ---> Running in d799a7d2f849 [2021-11-09T20:06:19.598Z] Removing intermediate container d799a7d2f849 [2021-11-09T20:06:19.598Z] ---> 55682af31428 [2021-11-09T20:06:19.598Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:06:19.598Z] ---> Running in 0da75a2b369d [2021-11-09T20:06:20.221Z] Removing intermediate container 0da75a2b369d [2021-11-09T20:06:20.221Z] ---> 9cc756a48ab6 [2021-11-09T20:06:20.221Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:06:20.221Z] ---> Running in b29a4d17b413 [2021-11-09T20:06:22.940Z] Removing intermediate container b29a4d17b413 [2021-11-09T20:06:22.940Z] ---> 04ebee29e654 [2021-11-09T20:06:22.940Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:06:22.940Z] ---> Running in d89b1496c8b7 [2021-11-09T20:06:23.972Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:06:24.975Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:06:26.449Z] OK: 219 MiB in 52 packages [2021-11-09T20:06:27.442Z] Removing intermediate container d89b1496c8b7 [2021-11-09T20:06:27.442Z] ---> 78cacd742cd2 [2021-11-09T20:06:27.442Z] Step 8/10 : COPY . . [2021-11-09T20:06:28.456Z] ---> 7ce406fee536 [2021-11-09T20:06:28.456Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:06:28.744Z] ---> Running in 65e586f0e2e2 [2021-11-09T20:06:34.259Z] Removing intermediate container aa6e2e02a51c [2021-11-09T20:06:34.259Z] ---> a367ff7a9c34 [2021-11-09T20:06:34.259Z] Step 10/10 : RUN ${MAKE} [2021-11-09T20:06:34.259Z] ---> Running in 16cac3a899d4 [2021-11-09T20:06:34.524Z] noop [2021-11-09T20:06:34.789Z] Removing intermediate container 16cac3a899d4 [2021-11-09T20:06:34.789Z] ---> 83040372b295 [2021-11-09T20:06:34.789Z] Successfully built 83040372b295 [2021-11-09T20:06:34.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:06:36.411Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:06:36.411Z] . [Pipeline] withDockerContainer [2021-11-09T20:06:36.484Z] prd-centos7-docker-4c-2g-28450 does not seem to be running inside a container [2021-11-09T20:06:36.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T20:06:36.914Z] $ docker top 13c108ac02de9c01a2aa652d9ec02d5e092780cf35e8c4e9180d802536d801df -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:06:37.274Z] + go version [2021-11-09T20:06:37.274Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T20:06:37.286Z] $ docker stop --time=1 13c108ac02de9c01a2aa652d9ec02d5e092780cf35e8c4e9180d802536d801df [2021-11-09T20:06:38.472Z] $ docker rm -f 13c108ac02de9c01a2aa652d9ec02d5e092780cf35e8c4e9180d802536d801df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:06:39.234Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T20:06:39.235Z] . [Pipeline] withDockerContainer [2021-11-09T20:06:39.303Z] prd-centos7-docker-4c-2g-28450 does not seem to be running inside a container [2021-11-09T20:06:39.347Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T20:06:39.715Z] $ docker top e4fd9f78728735b02358ae0b32904e9014625dee5e35efd551d297f119e5cb04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:06:40.090Z] + make test [2021-11-09T20:06:40.091Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T20:06:45.722Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T20:07:13.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T20:07:13.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T20:07:13.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T20:07:13.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements [2021-11-09T20:07:13.207Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T20:07:13.207Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.042s coverage: 27.6% of statements [2021-11-09T20:07:13.830Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.046s coverage: 78.9% of statements [2021-11-09T20:07:14.099Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.054s coverage: 9.0% of statements [2021-11-09T20:07:14.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T20:07:14.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T20:07:14.099Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T20:07:14.703Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.077s coverage: 28.7% of statements [2021-11-09T20:07:14.703Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T20:07:16.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.054s coverage: 83.3% of statements [2021-11-09T20:07:16.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T20:07:16.118Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:07:16.118Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.072s coverage: 57.8% of statements [2021-11-09T20:07:17.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.815s coverage: 89.2% of statements [2021-11-09T20:07:17.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T20:07:17.517Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.8% of statements [2021-11-09T20:07:17.517Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T20:07:17.517Z] GO111MODULE=on go vet ./... [2021-11-09T20:07:50.255Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:07:50.255Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:07:50.255Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T20:07:50.267Z] $ docker stop --time=1 e4fd9f78728735b02358ae0b32904e9014625dee5e35efd551d297f119e5cb04 [2021-11-09T20:07:51.554Z] Removing intermediate container 65e586f0e2e2 [2021-11-09T20:07:51.554Z] ---> 8b526f7e01bc [2021-11-09T20:07:51.554Z] Step 10/10 : RUN ${MAKE} [2021-11-09T20:07:51.554Z] ---> Running in dd41d736216b [2021-11-09T20:07:51.554Z] noop [2021-11-09T20:07:51.554Z] Removing intermediate container dd41d736216b [2021-11-09T20:07:51.554Z] ---> 1d248e40fe09 [2021-11-09T20:07:51.554Z] Successfully built 1d248e40fe09 [2021-11-09T20:07:51.554Z] Successfully tagged ci-base-image-arm64:latest [2021-11-09T20:07:52.615Z] $ docker rm -f e4fd9f78728735b02358ae0b32904e9014625dee5e35efd551d297f119e5cb04 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:07:53.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:07:53.164Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:07:53.164Z] . [Pipeline] withDockerContainer [2021-11-09T20:07:53.452Z] prd-ubuntu18.04-docker-arm64-4c-16g-28446 does not seem to be running inside a container [2021-11-09T20:07:53.545Z] Stashed 1 file(s) [2021-11-09T20:07:53.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T20:07:55.198Z] $ docker top 8f6b8c68e2a59cb90bd34c609c585b0c9210a222722f47b8f056c7466742d602 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-09T20:07:57.061Z] + go version [2021-11-09T20:07:57.061Z] go version go1.16.8 linux/arm64 [Pipeline] sh [Pipeline] } [2021-11-09T20:07:57.114Z] $ docker stop --time=1 8f6b8c68e2a59cb90bd34c609c585b0c9210a222722f47b8f056c7466742d602 [2021-11-09T20:07:57.361Z] + sudo chown -R jenkins:jenkins . [2021-11-09T20:07:58.967Z] $ docker rm -f 8f6b8c68e2a59cb90bd34c609c585b0c9210a222722f47b8f056c7466742d602 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:00.111Z] + ls -al . [2021-11-09T20:08:00.111Z] total 264 [2021-11-09T20:08:00.111Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 9 20:07 . [2021-11-09T20:08:00.111Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 9 20:05 .. [2021-11-09T20:08:00.111Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 9 20:05 bin [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 9 20:05 CHANGELOG.md [2021-11-09T20:08:00.111Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 9 20:07 coverage.out [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 20:05 .dockerignore [2021-11-09T20:08:00.111Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 9 20:05 example [2021-11-09T20:08:00.111Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 9 20:05 .git [2021-11-09T20:08:00.111Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 9 20:05 .github [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 9 20:05 .gitignore [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 9 20:05 go.mod [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 49140 Nov 9 20:05 go.sum [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 20:05 GOVERNANCE.md [2021-11-09T20:08:00.111Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 9 20:05 internal [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 9 20:05 Jenkinsfile [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 9 20:05 LICENSE [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 9 20:05 Makefile [2021-11-09T20:08:00.111Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 9 20:05 openapi [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 9 20:05 OWNERS.md [2021-11-09T20:08:00.111Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 9 20:05 pkg [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 9 20:05 README.md [2021-11-09T20:08:00.111Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 9 20:05 snap [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 9 20:01 VERSION [2021-11-09T20:08:00.111Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 9 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:00.738Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T20:08:00.738Z] . [Pipeline] withDockerContainer [2021-11-09T20:08:00.832Z] + 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=e24ffe3e7bf106c1c0376d1977058e103db801cf --label arch=amd64 --label version=0.0.0 . [2021-11-09T20:08:00.832Z] Sending build context to Docker daemon 2.882MB [2021-11-09T20:08:00.832Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:08:00.832Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T20:08:00.832Z] ---> 83040372b295 [2021-11-09T20:08:00.832Z] Step 3/24 : ARG MAKE=make build [2021-11-09T20:08:00.832Z] ---> Running in 6e0691b03208 [2021-11-09T20:08:00.832Z] Removing intermediate container 6e0691b03208 [2021-11-09T20:08:00.832Z] ---> 6642d1505424 [2021-11-09T20:08:00.832Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T20:08:00.832Z] ---> Running in d9d984875d5a [2021-11-09T20:08:00.832Z] Removing intermediate container d9d984875d5a [2021-11-09T20:08:00.832Z] ---> 7fda9b524166 [2021-11-09T20:08:00.832Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:08:00.832Z] ---> Running in 69c2cee257df [2021-11-09T20:08:00.832Z] Removing intermediate container 69c2cee257df [2021-11-09T20:08:00.832Z] ---> 02735488d4ec [2021-11-09T20:08:00.832Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:08:01.129Z] ---> Running in b413db61c03f [2021-11-09T20:08:01.296Z] prd-ubuntu18.04-docker-arm64-4c-16g-28446 does not seem to be running inside a container [2021-11-09T20:08:01.435Z] Removing intermediate container b413db61c03f [2021-11-09T20:08:01.435Z] ---> 965d69e5d518 [2021-11-09T20:08:01.435Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:08:01.435Z] ---> Running in 30bca26baf8f [2021-11-09T20:08:01.721Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T20:08:02.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-09T20:08:04.430Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T20:08:04.427Z] $ docker top 52c9a89b3ab0eaa9abfba5ebb20b3a4807a847dd1c62e7b74ebd7b4d4752117f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T20:08:05.757Z] + make test [2021-11-09T20:08:05.757Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-09T20:08:20.454Z] OK: 220 MiB in 52 packages [2021-11-09T20:08:20.454Z] Removing intermediate container 30bca26baf8f [2021-11-09T20:08:20.454Z] ---> 91b9c11e423b [2021-11-09T20:08:20.454Z] Step 8/24 : COPY . . [2021-11-09T20:08:20.454Z] ---> 6fdbdfffd913 [2021-11-09T20:08:20.454Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:08:20.454Z] ---> Running in aa04aa0204d6 [2021-11-09T20:08:20.454Z] Removing intermediate container aa04aa0204d6 [2021-11-09T20:08:20.454Z] ---> aaab62356daf [2021-11-09T20:08:20.454Z] Step 10/24 : RUN ${MAKE} [2021-11-09T20:08:20.454Z] ---> Running in 06946e1e52c4 [2021-11-09T20:08:20.454Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T20:08:39.401Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-09T20:08:41.058Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T20:08:41.551Z] Removing intermediate container 06946e1e52c4 [2021-11-09T20:08:41.551Z] ---> a5adb8c93622 [2021-11-09T20:08:41.551Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T20:08:42.801Z] 3.14: Pulling from library/alpine [2021-11-09T20:08:42.801Z] a0d0a0d46f8b: Already exists [2021-11-09T20:08:42.801Z] error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/14/14119a10abf4669e8cdbdff324a9f9605d99697215a0d21c360fe8dfa8471bab/data?verify=1636491522-tY%2B1AUGJqUVB%2BtnioSj5Rg7UAAs%3D": dial tcp: lookup production.cloudflare.docker.com on 10.30.120.3:53: server misbehaving [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:43.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:43.594Z] [2021-11-09T20:08:43.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:08:43.918Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:49.644Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:08:49.644Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:08:49.644Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:08:49.644Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:08:49.644Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:08:49.644Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:08:49.644Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:08:49.644Z] d287ab97295c: Pulling fs layer [2021-11-09T20:08:49.644Z] dc539afda2c1: Waiting [2021-11-09T20:08:49.644Z] 77bc0d833cb6: Waiting [2021-11-09T20:08:49.644Z] 9065ff56babe: Waiting [2021-11-09T20:08:49.644Z] d287ab97295c: Waiting [2021-11-09T20:08:49.644Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:08:49.644Z] a1111a8f2ec3: Download complete [2021-11-09T20:08:49.644Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:08:49.644Z] dc539afda2c1: Download complete [2021-11-09T20:08:49.644Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:08:49.644Z] ed53099fbce6: Download complete [2021-11-09T20:08:49.644Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:08:49.644Z] 77bc0d833cb6: Download complete [2021-11-09T20:08:49.644Z] 9065ff56babe: Verifying Checksum [2021-11-09T20:08:49.644Z] 9065ff56babe: Download complete [2021-11-09T20:08:49.916Z] d287ab97295c: Verifying Checksum [2021-11-09T20:08:49.916Z] d287ab97295c: Download complete [2021-11-09T20:08:49.916Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:08:49.916Z] b4d181a07f80: Download complete [2021-11-09T20:08:51.359Z] b4d181a07f80: Pull complete [2021-11-09T20:08:51.359Z] a1111a8f2ec3: Pull complete [2021-11-09T20:08:51.861Z] ed53099fbce6: Pull complete [2021-11-09T20:08:51.861Z] dc539afda2c1: Pull complete [2021-11-09T20:08:52.155Z] 77bc0d833cb6: Pull complete [2021-11-09T20:08:52.155Z] 9065ff56babe: Pull complete [2021-11-09T20:08:57.507Z] d287ab97295c: Pull complete [2021-11-09T20:08:57.507Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:08:57.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:08:57.508Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:08:57.578Z] prd-centos7-docker-4c-2g-28450 does not seem to be running inside a container [2021-11-09T20:08:57.620Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T20:09:00.860Z] $ docker top 3149d5212a633e833bd80a9c3dea7c9d78997df4bb37505888e676951d6e68df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:09:01.495Z] ---> job-cost.sh [2021-11-09T20:09:01.495Z] lf-activate-venv: SKIPPING [2021-11-09T20:09:01.495Z] INFO: No Stack... [2021-11-09T20:09:03.835Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:09:03.835Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:09:04.130Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T20:09:04.130Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:09:04.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [2021-11-09T20:09:04.170Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] did not exist. Created. [2021-11-09T20:09:04.170Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:09:04.478Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T20:09:04.515Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:09:04.522Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:09:04.537Z] $ docker stop --time=1 3149d5212a633e833bd80a9c3dea7c9d78997df4bb37505888e676951d6e68df [2021-11-09T20:09:05.679Z] $ docker rm -f 3149d5212a633e833bd80a9c3dea7c9d78997df4bb37505888e676951d6e68df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T20:09:05.875Z] Failed in branch amd64 [2021-11-09T20:10:02.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-09T20:10:02.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-09T20:10:02.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-09T20:10:09.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.488s coverage: 23.3% of statements [2021-11-09T20:10:09.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-09T20:10:09.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.259s coverage: 27.6% of statements [2021-11-09T20:10:09.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.327s coverage: 78.9% of statements [2021-11-09T20:10:09.512Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.236s coverage: 9.0% of statements [2021-11-09T20:10:09.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-09T20:10:09.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-09T20:10:09.512Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-09T20:10:10.393Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.386s coverage: 28.7% of statements [2021-11-09T20:10:10.393Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-09T20:10:13.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.292s coverage: 83.3% of statements [2021-11-09T20:10:13.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-09T20:10:13.123Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-09T20:10:13.123Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.536s coverage: 57.8% of statements [2021-11-09T20:10:15.153Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.486s coverage: 89.2% of statements [2021-11-09T20:10:15.153Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-09T20:10:16.452Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.213s coverage: 4.8% of statements [2021-11-09T20:10:16.452Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-09T20:10:16.452Z] GO111MODULE=on go vet ./... [2021-11-09T20:11:26.309Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T20:11:26.309Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T20:11:26.309Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T20:11:26.335Z] $ docker stop --time=1 52c9a89b3ab0eaa9abfba5ebb20b3a4807a847dd1c62e7b74ebd7b4d4752117f [2021-11-09T20:11:28.282Z] $ docker rm -f 52c9a89b3ab0eaa9abfba5ebb20b3a4807a847dd1c62e7b74ebd7b4d4752117f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T20:11:29.596Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T20:11:29.619Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T20:11:30.346Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T20:11:30.822Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T20:11:31.171Z] + ls -al . [2021-11-09T20:11:31.171Z] total 300 [2021-11-09T20:11:31.171Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 20:11 . [2021-11-09T20:11:31.171Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 20:05 .. [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 20:05 .dockerignore [2021-11-09T20:11:31.171Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 20:05 .git [2021-11-09T20:11:31.171Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 20:05 .github [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 9 20:05 .gitignore [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 9 20:05 CHANGELOG.md [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 20:05 GOVERNANCE.md [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 9 20:05 Jenkinsfile [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 9 20:05 LICENSE [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 9 20:05 Makefile [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 9 20:05 OWNERS.md [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 9 20:05 README.md [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 20:01 VERSION [2021-11-09T20:11:31.171Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 20:05 bin [2021-11-09T20:11:31.171Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 9 20:10 coverage.out [2021-11-09T20:11:31.171Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 20:05 example [2021-11-09T20:11:31.171Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 9 20:05 go.mod [2021-11-09T20:11:31.172Z] -rw-rw-r-- 1 jenkins jenkins 49140 Nov 9 20:05 go.sum [2021-11-09T20:11:31.172Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 9 20:05 internal [2021-11-09T20:11:31.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 20:05 openapi [2021-11-09T20:11:31.172Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 9 20:05 pkg [2021-11-09T20:11:31.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 20:05 snap [2021-11-09T20:11:31.172Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 9 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:11:31.531Z] + 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=e24ffe3e7bf106c1c0376d1977058e103db801cf --label arch=arm64 --label version=0.0.0 . [2021-11-09T20:11:32.959Z] Sending build context to Docker daemon 2.881MB [2021-11-09T20:11:32.959Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T20:11:32.959Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-09T20:11:32.959Z] ---> 1d248e40fe09 [2021-11-09T20:11:32.959Z] Step 3/24 : ARG MAKE=make build [2021-11-09T20:11:32.959Z] ---> Running in e482656bedfa [2021-11-09T20:11:32.959Z] Removing intermediate container e482656bedfa [2021-11-09T20:11:32.959Z] ---> 00bc1b322479 [2021-11-09T20:11:32.959Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-09T20:11:32.959Z] ---> Running in 89187bc32d58 [2021-11-09T20:11:33.235Z] Removing intermediate container 89187bc32d58 [2021-11-09T20:11:33.235Z] ---> 3bfff4c442b6 [2021-11-09T20:11:33.235Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:11:33.508Z] ---> Running in f197b725284f [2021-11-09T20:11:33.796Z] Removing intermediate container f197b725284f [2021-11-09T20:11:33.796Z] ---> 11b6595b0f49 [2021-11-09T20:11:33.796Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:11:34.074Z] ---> Running in 4adfbf9a126c [2021-11-09T20:11:36.055Z] Removing intermediate container 4adfbf9a126c [2021-11-09T20:11:36.055Z] ---> 43cdd85dcb31 [2021-11-09T20:11:36.055Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-09T20:11:36.329Z] ---> Running in 4aba570f4d46 [2021-11-09T20:11:37.781Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:11:38.385Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:11:39.366Z] OK: 219 MiB in 52 packages [2021-11-09T20:11:40.352Z] Removing intermediate container 4aba570f4d46 [2021-11-09T20:11:40.352Z] ---> 34791b492805 [2021-11-09T20:11:40.352Z] Step 8/24 : COPY . . [2021-11-09T20:11:41.791Z] ---> 93ef57425c6d [2021-11-09T20:11:41.791Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T20:11:41.791Z] ---> Running in e36f78436fed [2021-11-09T20:11:44.425Z] Removing intermediate container e36f78436fed [2021-11-09T20:11:44.425Z] ---> 0527c08153a8 [2021-11-09T20:11:44.425Z] Step 10/24 : RUN ${MAKE} [2021-11-09T20:11:44.425Z] ---> Running in 552c02022c7e [2021-11-09T20:11:45.937Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-09T20:12:25.006Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-09T20:12:28.616Z] Removing intermediate container 552c02022c7e [2021-11-09T20:12:28.616Z] ---> 08f7ce460511 [2021-11-09T20:12:28.616Z] Step 11/24 : FROM alpine:3.14 [2021-11-09T20:12:29.464Z] 3.14: Pulling from library/alpine [2021-11-09T20:12:29.760Z] 552d1f2373af: Already exists [2021-11-09T20:12:30.048Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T20:12:30.048Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T20:12:30.048Z] ---> bb3de5531c18 [2021-11-09T20:12:30.048Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-09T20:12:30.048Z] ---> Running in 3bffc5a7212e [2021-11-09T20:12:30.657Z] Removing intermediate container 3bffc5a7212e [2021-11-09T20:12:30.657Z] ---> 90aaff0d370f [2021-11-09T20:12:30.657Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T20:12:30.657Z] ---> Running in 8811205670c7 [2021-11-09T20:12:32.955Z] Removing intermediate container 8811205670c7 [2021-11-09T20:12:32.955Z] ---> 2935c2ab084d [2021-11-09T20:12:32.955Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-09T20:12:32.955Z] ---> Running in 5641d78a93d1 [2021-11-09T20:12:34.916Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T20:12:36.967Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T20:12:44.159Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T20:12:44.159Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-09T20:12:44.159Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T20:12:45.223Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-09T20:12:45.500Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-09T20:12:46.554Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T20:12:46.554Z] OK: 8 MiB in 19 packages [2021-11-09T20:12:46.834Z] Removing intermediate container 5641d78a93d1 [2021-11-09T20:12:46.834Z] ---> 19805de33c87 [2021-11-09T20:12:46.834Z] Step 15/24 : WORKDIR / [2021-11-09T20:12:46.834Z] ---> Running in dcfd8bdeb8dd [2021-11-09T20:12:47.432Z] Removing intermediate container dcfd8bdeb8dd [2021-11-09T20:12:47.432Z] ---> 3db7fdbf2694 [2021-11-09T20:12:47.432Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-09T20:12:48.036Z] ---> 24508331bb48 [2021-11-09T20:12:48.036Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-09T20:12:49.485Z] ---> 40f0812e71cd [2021-11-09T20:12:49.485Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-09T20:12:50.083Z] ---> 279b613f4178 [2021-11-09T20:12:50.083Z] Step 19/24 : EXPOSE 59999 [2021-11-09T20:12:50.083Z] ---> Running in eb98cc6eaada [2021-11-09T20:12:50.685Z] Removing intermediate container eb98cc6eaada [2021-11-09T20:12:50.685Z] ---> 941a41ee5494 [2021-11-09T20:12:50.685Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-09T20:12:50.685Z] ---> Running in 12bef52827ec [2021-11-09T20:12:50.960Z] Removing intermediate container 12bef52827ec [2021-11-09T20:12:50.960Z] ---> 53be49023c8d [2021-11-09T20:12:50.960Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T20:12:51.236Z] ---> Running in 7544350228fe [2021-11-09T20:12:51.530Z] Removing intermediate container 7544350228fe [2021-11-09T20:12:51.530Z] ---> 1d1192abf3fe [2021-11-09T20:12:51.530Z] Step 22/24 : LABEL arch=arm64 [2021-11-09T20:12:51.530Z] ---> Running in ba938b4573c9 [2021-11-09T20:12:52.134Z] Removing intermediate container ba938b4573c9 [2021-11-09T20:12:52.134Z] ---> 373cace3bb65 [2021-11-09T20:12:52.134Z] Step 23/24 : LABEL git_sha=e24ffe3e7bf106c1c0376d1977058e103db801cf [2021-11-09T20:12:52.134Z] ---> Running in 2d29c605e7fc [2021-11-09T20:12:52.748Z] Removing intermediate container 2d29c605e7fc [2021-11-09T20:12:52.748Z] ---> 65dc04be1aad [2021-11-09T20:12:52.748Z] Step 24/24 : LABEL version=0.0.0 [2021-11-09T20:12:52.748Z] ---> Running in 6ce7b3fa51f0 [2021-11-09T20:12:53.042Z] Removing intermediate container 6ce7b3fa51f0 [2021-11-09T20:12:53.042Z] ---> b05965f0e5e6 [2021-11-09T20:12:53.042Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T20:12:53.339Z] Successfully built b05965f0e5e6 [2021-11-09T20:12:53.339Z] 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-09T20:12:53.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:12:54.210Z] [2021-11-09T20:12:54.210Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:12:54.560Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:12:54.837Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T20:12:54.837Z] 448f6bf000e3: Pulling fs layer [2021-11-09T20:12:54.837Z] f757da607395: Pulling fs layer [2021-11-09T20:12:54.837Z] 05883995daec: Pulling fs layer [2021-11-09T20:12:54.837Z] 8603b9c90790: Pulling fs layer [2021-11-09T20:12:54.837Z] 1560dd03e051: Pulling fs layer [2021-11-09T20:12:54.837Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T20:12:54.837Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T20:12:54.837Z] 8603b9c90790: Waiting [2021-11-09T20:12:54.837Z] 1560dd03e051: Waiting [2021-11-09T20:12:54.837Z] 27f5ce0e4adf: Waiting [2021-11-09T20:12:54.837Z] c2d8d7efcc4b: Waiting [2021-11-09T20:12:54.837Z] f757da607395: Verifying Checksum [2021-11-09T20:12:54.837Z] f757da607395: Download complete [2021-11-09T20:12:54.837Z] 8603b9c90790: Verifying Checksum [2021-11-09T20:12:54.837Z] 8603b9c90790: Download complete [2021-11-09T20:12:55.113Z] 1560dd03e051: Verifying Checksum [2021-11-09T20:12:55.113Z] 1560dd03e051: Download complete [2021-11-09T20:12:55.113Z] 27f5ce0e4adf: Download complete [2021-11-09T20:12:55.113Z] 05883995daec: Verifying Checksum [2021-11-09T20:12:55.113Z] 05883995daec: Download complete [2021-11-09T20:12:55.389Z] 448f6bf000e3: Verifying Checksum [2021-11-09T20:12:55.389Z] 448f6bf000e3: Download complete [2021-11-09T20:12:58.786Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T20:12:58.786Z] c2d8d7efcc4b: Download complete [2021-11-09T20:12:59.399Z] 448f6bf000e3: Pull complete [2021-11-09T20:13:00.800Z] f757da607395: Pull complete [2021-11-09T20:13:01.398Z] 05883995daec: Pull complete [2021-11-09T20:13:02.006Z] 8603b9c90790: Pull complete [2021-11-09T20:13:02.989Z] 1560dd03e051: Pull complete [2021-11-09T20:13:03.261Z] 27f5ce0e4adf: Pull complete [2021-11-09T20:13:18.587Z] c2d8d7efcc4b: Pull complete [2021-11-09T20:13:18.587Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T20:13:18.587Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T20:13:18.587Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T20:13:18.887Z] prd-ubuntu18.04-docker-arm64-4c-16g-28446 does not seem to be running inside a container [2021-11-09T20:13:18.971Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-09T20:13:22.638Z] $ docker top 3a54253bdde0164e5648d2a57793c46070fe20690f971b819d5b101012217201 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:23.672Z] ---> job-cost.sh [2021-11-09T20:13:23.672Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:23.672Z] INFO: No Stack... [2021-11-09T20:13:24.267Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T20:13:24.541Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T20:13:25.464Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-11-09T20:13:25.465Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T20:13:25.533Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [2021-11-09T20:13:25.539Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] did not exist. Created. [2021-11-09T20:13:25.539Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T20:13:26.234Z] /w/workspace/device-sdk-go/2@tmp/durable-3f795147/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-3f795147/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T20:13:26.914Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T20:13:26.942Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T20:13:27.007Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T20:13:27.014Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1056-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T20:13:27.024Z] $ docker stop --time=1 3a54253bdde0164e5648d2a57793c46070fe20690f971b819d5b101012217201 [2021-11-09T20:13:28.609Z] $ docker rm -f 3a54253bdde0164e5648d2a57793c46070fe20690f971b819d5b101012217201 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-09T20:13:31.322Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:31.639Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:32.418Z] ---> package-listing.sh [2021-11-09T20:13:32.418Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T20:13:32.418Z] ++ facter osfamily [2021-11-09T20:13:32.896Z] + OS_FAMILY=redhat [2021-11-09T20:13:32.896Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1056 [2021-11-09T20:13:32.896Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T20:13:32.896Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T20:13:32.896Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T20:13:32.896Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T20:13:32.896Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-09T20:13:32.896Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T20:13:32.896Z] + case "${OS_FAMILY}" in [2021-11-09T20:13:32.896Z] + rpm -qa [2021-11-09T20:13:32.896Z] + sort [2021-11-09T20:13:33.474Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T20:13:33.474Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T20:13:33.474Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T20:13:33.474Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1056 ']' [2021-11-09T20:13:33.474Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [2021-11-09T20:13:33.474Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1056/archives/ [Pipeline] echo [2021-11-09T20:13:33.485Z] 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/gexfoundry_device-sdk-go_PR-1056/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-09T20:13:33.774Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:13:34.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:34.523Z] [2021-11-09T20:13:34.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T20:13:35.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:35.040Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T20:13:35.040Z] b4d181a07f80: Pulling fs layer [2021-11-09T20:13:35.040Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T20:13:35.040Z] ed53099fbce6: Pulling fs layer [2021-11-09T20:13:35.040Z] dc539afda2c1: Pulling fs layer [2021-11-09T20:13:35.040Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T20:13:35.040Z] 9065ff56babe: Pulling fs layer [2021-11-09T20:13:35.040Z] d287ab97295c: Pulling fs layer [2021-11-09T20:13:35.040Z] dc539afda2c1: Waiting [2021-11-09T20:13:35.040Z] 77bc0d833cb6: Waiting [2021-11-09T20:13:35.040Z] 9065ff56babe: Waiting [2021-11-09T20:13:35.040Z] d287ab97295c: Waiting [2021-11-09T20:13:35.993Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T20:13:35.993Z] a1111a8f2ec3: Download complete [2021-11-09T20:13:35.993Z] dc539afda2c1: Verifying Checksum [2021-11-09T20:13:35.993Z] dc539afda2c1: Download complete [2021-11-09T20:13:35.993Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T20:13:35.993Z] 77bc0d833cb6: Download complete [2021-11-09T20:13:35.993Z] 9065ff56babe: Verifying Checksum [2021-11-09T20:13:35.993Z] 9065ff56babe: Download complete [2021-11-09T20:13:36.260Z] b4d181a07f80: Verifying Checksum [2021-11-09T20:13:36.260Z] b4d181a07f80: Download complete [2021-11-09T20:13:36.260Z] ed53099fbce6: Verifying Checksum [2021-11-09T20:13:36.260Z] ed53099fbce6: Download complete [2021-11-09T20:13:37.684Z] b4d181a07f80: Pull complete [2021-11-09T20:13:37.684Z] d287ab97295c: Verifying Checksum [2021-11-09T20:13:37.684Z] d287ab97295c: Download complete [2021-11-09T20:13:37.684Z] a1111a8f2ec3: Pull complete [2021-11-09T20:13:38.267Z] ed53099fbce6: Pull complete [2021-11-09T20:13:38.267Z] dc539afda2c1: Pull complete [2021-11-09T20:13:38.536Z] 77bc0d833cb6: Pull complete [2021-11-09T20:13:38.803Z] 9065ff56babe: Pull complete [2021-11-09T20:13:44.137Z] d287ab97295c: Pull complete [2021-11-09T20:13:44.137Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T20:13:44.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T20:13:44.137Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T20:13:44.213Z] prd-centos7-docker-4c-2g-28433 does not seem to be running inside a container [2021-11-09T20:13:44.255Z] $ 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/gexfoundry_device-sdk-go_PR-1056/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1056 -v /w/workspace/gexfoundry_device-sdk-go_PR-1056:/w/workspace/gexfoundry_device-sdk-go_PR-1056:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1056@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T20:13:46.528Z] $ docker top 48a384fb24199d149f0d585ff52115cd8ddd2a804aa33f7d394e1905e31a67cf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T20:13:46.902Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T20:13:47.412Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T20:13:47.721Z] + ls /var/log/sa-host [2021-11-09T20:13:47.721Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T20:13:47.721Z] file_magic: OK [2021-11-09T20:13:47.721Z] HZ: Using current value: 100 [2021-11-09T20:13:47.721Z] file_header: OK [2021-11-09T20:13:47.721Z] 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-09T20:13:47.721Z] Statistics: [2021-11-09T20:13:47.721Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:13:47.721Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T20:13:47.721Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T20:13:47.721Z] file_magic: OK [2021-11-09T20:13:47.721Z] HZ: Using current value: 100 [2021-11-09T20:13:47.721Z] file_header: OK [2021-11-09T20:13:47.721Z] 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-09T20:13:47.721Z] Statistics: [2021-11-09T20:13:47.721Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T20:13:47.721Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T20:13:47.804Z] provisioning config files... [2021-11-09T20:13:47.815Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1056@tmp/config3080309399644906996tmp [Pipeline] { [Pipeline] echo [2021-11-09T20:13:47.830Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:49.074Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T20:13:49.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:49.638Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T20:13:49.648Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:49.962Z] ---> sudo-logs.sh [2021-11-09T20:13:49.962Z] Archiving 'sudo' log.. [2021-11-09T20:13:49.962Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28433.novalocal: Name or service not known [2021-11-09T20:13:49.962Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28433.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T20:13:50.212Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:50.526Z] ---> job-cost.sh [2021-11-09T20:13:50.526Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:50.526Z] DEBUG: total: 0.10999999940395355 [2021-11-09T20:13:50.526Z] INFO: Retrieving Stack Cost... [2021-11-09T20:13:54.256Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T20:13:54.526Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T20:13:54.541Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T20:13:54.869Z] ---> logs-deploy.sh [2021-11-09T20:13:54.870Z] lf-activate-venv: SKIPPING [2021-11-09T20:13:54.870Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1056/2 [2021-11-09T20:13:54.870Z] INFO: archiving workspace using pattern(s): [2021-11-09T20:13:55.443Z] Archives upload complete. [2021-11-09T20:13:55.719Z] INFO: archiving logs to Nexus