Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of edgego for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 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-ssh16973599064587066852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh585460066905848851.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-1073/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-1073/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh340067352922683523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh11335710591389066760.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-1073/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-1073/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh23036405656587072.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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3979 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1073 # 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-1073@tmp/jenkins-gitclient-ssh4336407060422015881.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 > 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-1073@tmp/jenkins-gitclient-ssh3463287103193087416.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 5db65fe8152b07a6944732a79b8162e68f35060f Checking out Revision 5db65fe8152b07a6944732a79b8162e68f35060f (PR-1073) > git config core.sparsecheckout # timeout=10 > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # 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-1073@tmp/jenkins-gitclient-ssh3226336273523595870.key > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5db65fe8152b07a6944732a79b8162e68f35060f # timeout=10 Commit message: "Merge commit '07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-26T22:41:12.027Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-26T22:41:12.085Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-26T22:41:12.104Z] ========================================================= [2022-01-26T22:41:12.104Z] EdgeX Global Pipelines Version Info [2022-01-26T22:41:12.104Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c7496971dc70963c075f7af11a56924633ebc9dc # timeout=10 [2022-01-26T22:41:13.229Z] ------------------- [2022-01-26T22:41:13.229Z] stable info: [2022-01-26T22:41:13.229Z] ------------------- [2022-01-26T22:41:13.229Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-26T22:41:13.229Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-26T22:41:13.229Z] Message: update stable to v1.0.219 [2022-01-26T22:41:13.809Z] ------------------- [2022-01-26T22:41:13.809Z] experimental info: [2022-01-26T22:41:13.809Z] ------------------- [2022-01-26T22:41:13.809Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-26T22:41:13.809Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-26T22:41:13.809Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-26T22:41:13.965Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-26T22:41:13.982Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-26T22:41:13.999Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-26T22:41:14.017Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-26T22:41:14.028Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-26T22:41:14.041Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-26T22:41:14.054Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-26T22:41:14.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-26T22:41:14.078Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-26T22:41:14.090Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-26T22:41:14.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-26T22:41:14.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-26T22:41:14.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-26T22:41:14.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-26T22:41:14.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-26T22:41:14.177Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T22:41:14.194Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T22:41:14.208Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T22:41:14.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-26T22:41:14.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-26T22:41:14.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-26T22:41:14.286Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-26T22:41:14.304Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-26T22:41:14.320Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-26T22:41:14.333Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-26T22:41:14.344Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-26T22:41:14.358Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-26T22:41:14.376Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-26T22:41:14.388Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-26T22:41:14.400Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5db65fe8152b07a6944732a79b8162e68f35060f [Pipeline] echo [2022-01-26T22:41:14.425Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5db65fe [Pipeline] echo [2022-01-26T22:41:14.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T22:41:14.479Z] provisioning config files... [2022-01-26T22:41:14.494Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config1865338986487702778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:41:14.796Z] ---> docker-login.sh [2022-01-26T22:41:14.796Z] nexus3.edgexfoundry.org:10001 [2022-01-26T22:41:14.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:15.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:15.058Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:15.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:15.058Z] [2022-01-26T22:41:15.058Z] Login Succeeded [2022-01-26T22:41:15.058Z] nexus3.edgexfoundry.org:10002 [2022-01-26T22:41:15.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:15.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:15.058Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:15.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:15.058Z] [2022-01-26T22:41:15.058Z] Login Succeeded [2022-01-26T22:41:15.058Z] nexus3.edgexfoundry.org:10003 [2022-01-26T22:41:15.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:15.058Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:15.058Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:15.058Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:15.058Z] [2022-01-26T22:41:15.323Z] Login Succeeded [2022-01-26T22:41:15.323Z] nexus3.edgexfoundry.org:10004 [2022-01-26T22:41:15.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:15.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:15.323Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:15.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:15.323Z] [2022-01-26T22:41:15.323Z] Login Succeeded [2022-01-26T22:41:15.323Z] docker.io [2022-01-26T22:41:15.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:15.584Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:15.584Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:15.584Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:15.584Z] [2022-01-26T22:41:15.584Z] Login Succeeded [2022-01-26T22:41:15.593Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T22:41:15.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-26T22:41:15.981Z] + git rev-list -1 --merges 5db65fe8152b07a6944732a79b8162e68f35060f~1..5db65fe8152b07a6944732a79b8162e68f35060f [Pipeline] echo [2022-01-26T22:41:16.012Z] -----------> git rev-list -1 --merges 5db65fe8152b07a6944732a79b8162e68f35060f~1..5db65fe8152b07a6944732a79b8162e68f35060f 5db65fe8152b07a6944732a79b8162e68f35060f [2022-01-26T22:41:16.012Z] 5db65fe8152b07a6944732a79b8162e68f35060f [false] [Pipeline] sh [2022-01-26T22:41:16.322Z] + git log --format=format:%s -1 5db65fe8152b07a6944732a79b8162e68f35060f [Pipeline] echo [2022-01-26T22:41:16.339Z] ========================================================= [2022-01-26T22:41:16.339Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-26T22:41:16.339Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-26T22:41:16.685Z] + git log --format=format:%s -1 5db65fe8152b07a6944732a79b8162e68f35060f [Pipeline] echo [2022-01-26T22:41:16.697Z] [semverPrep] GIT_COMMIT: 5db65fe8152b07a6944732a79b8162e68f35060f, Commit Message: Merge commit '07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2' into HEAD [Pipeline] echo [2022-01-26T22:41:16.707Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-26T22:41:17.172Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-26T22:41:17.172Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-26T22:41:17.172Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-26T22:41:17.172Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-26T22:41:17.172Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-26T22:41:17.172Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-26T22:41:17.172Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:41:17.616Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T22:41:17.616Z] [2022-01-26T22:41:17.616Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:41:17.926Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T22:41:17.926Z] latest: Pulling from edgex-devops/git-semver [2022-01-26T22:41:17.926Z] a0d0a0d46f8b: Pulling fs layer [2022-01-26T22:41:17.926Z] 3e5f54012d9b: Pulling fs layer [2022-01-26T22:41:17.926Z] 4c7163046ea9: Pulling fs layer [2022-01-26T22:41:17.926Z] 0c2d73faf560: Pulling fs layer [2022-01-26T22:41:17.926Z] 0c2d73faf560: Waiting [2022-01-26T22:41:17.926Z] 3e5f54012d9b: Verifying Checksum [2022-01-26T22:41:17.926Z] 3e5f54012d9b: Download complete [2022-01-26T22:41:17.926Z] a0d0a0d46f8b: Verifying Checksum [2022-01-26T22:41:17.926Z] a0d0a0d46f8b: Download complete [2022-01-26T22:41:17.926Z] 4c7163046ea9: Verifying Checksum [2022-01-26T22:41:17.926Z] 4c7163046ea9: Download complete [2022-01-26T22:41:17.926Z] 0c2d73faf560: Verifying Checksum [2022-01-26T22:41:17.926Z] 0c2d73faf560: Download complete [2022-01-26T22:41:18.205Z] a0d0a0d46f8b: Pull complete [2022-01-26T22:41:18.205Z] 3e5f54012d9b: Pull complete [2022-01-26T22:41:18.472Z] 4c7163046ea9: Pull complete [2022-01-26T22:41:18.733Z] 0c2d73faf560: Pull complete [2022-01-26T22:41:18.733Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-26T22:41:18.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T22:41:18.733Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-26T22:41:18.804Z] prd-centos7-docker-4c-2g-3979 does not seem to be running inside a container [2022-01-26T22:41:18.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 [2022-01-26T22:41:19.346Z] $ docker top 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-26T22:41:19.454Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-26T22:41:19.454Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-26T22:41:19.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-26T22:41:19.561Z] $ docker exec 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 ssh-agent [2022-01-26T22:41:19.663Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNmpbAE/agent.14 [2022-01-26T22:41:19.663Z] SSH_AGENT_PID=21 [2022-01-26T22:41:19.673Z] Running ssh-add (command line suppressed) [2022-01-26T22:41:19.764Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_1316334677620683872.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_1316334677620683872.key) [2022-01-26T22:41:19.780Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-26T22:41:20.080Z] + git tag --points-at HEAD [Pipeline] } [2022-01-26T22:41:20.099Z] $ docker exec --env ******** --env ******** 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 ssh-agent -k [2022-01-26T22:41:20.193Z] unset SSH_AUTH_SOCK; [2022-01-26T22:41:20.193Z] unset SSH_AGENT_PID; [2022-01-26T22:41:20.193Z] echo Agent pid 21 killed; [2022-01-26T22:41:20.203Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-26T22:41:20.232Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-26T22:41:20.232Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-26T22:41:20.346Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-26T22:41:20.348Z] $ docker exec 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 ssh-agent [2022-01-26T22:41:20.444Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEoCFeb/agent.55 [2022-01-26T22:41:20.444Z] SSH_AGENT_PID=62 [2022-01-26T22:41:20.450Z] Running ssh-add (command line suppressed) [2022-01-26T22:41:20.547Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_5989395882362084568.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_5989395882362084568.key) [2022-01-26T22:41:20.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-26T22:41:20.858Z] + git semver init [2022-01-26T22:41:20.858Z] # -> Open(): unable to determine branch for HEAD [2022-01-26T22:41:20.858Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-26T22:41:20.858Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-26T22:41:20.858Z] # $SEMVER_REMOTE_NAME = origin [2022-01-26T22:41:20.858Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-26T22:41:20.858Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-26T22:41:20.858Z] # $SEMVER_BRANCH = PR-1073 [2022-01-26T22:41:20.858Z] # $SEMVER_TEMP = /tmp/semver-661741419 [2022-01-26T22:41:20.858Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-26T22:41:21.803Z] # '/tmp/semver-661741419' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-26T22:41:21.803Z] # -> Force: false [2022-01-26T22:41:21.803Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-26T22:41:21.812Z] $ docker exec --env ******** --env ******** 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 ssh-agent -k [2022-01-26T22:41:21.896Z] unset SSH_AUTH_SOCK; [2022-01-26T22:41:21.896Z] unset SSH_AGENT_PID; [2022-01-26T22:41:21.896Z] echo Agent pid 62 killed; [2022-01-26T22:41:21.907Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-26T22:41:22.212Z] + git semver [Pipeline] } [2022-01-26T22:41:22.224Z] $ docker stop --time=1 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 [2022-01-26T22:41:23.444Z] $ docker rm -f 3ae6189d410361e3cb01f4975847767bf99d800c289686eb497fcb6722b18ac8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-26T22:41:23.789Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-26T22:41:24.036Z] Stashed 1 file(s) [Pipeline] echo [2022-01-26T22:41:24.040Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T22:41:24.191Z] provisioning config files... [2022-01-26T22:41:24.201Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config7288429993418881795tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:41:24.500Z] ---> docker-login.sh [2022-01-26T22:41:24.500Z] nexus3.edgexfoundry.org:10001 [2022-01-26T22:41:24.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:24.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:24.500Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:24.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:24.500Z] [2022-01-26T22:41:24.500Z] Login Succeeded [2022-01-26T22:41:24.500Z] nexus3.edgexfoundry.org:10002 [2022-01-26T22:41:24.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:24.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:24.500Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:24.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:24.500Z] [2022-01-26T22:41:24.500Z] Login Succeeded [2022-01-26T22:41:24.500Z] nexus3.edgexfoundry.org:10003 [2022-01-26T22:41:24.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:24.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:24.761Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:24.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:24.761Z] [2022-01-26T22:41:24.761Z] Login Succeeded [2022-01-26T22:41:24.761Z] nexus3.edgexfoundry.org:10004 [2022-01-26T22:41:24.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:24.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:24.761Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:24.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:24.761Z] [2022-01-26T22:41:24.761Z] Login Succeeded [2022-01-26T22:41:24.761Z] docker.io [2022-01-26T22:41:25.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:41:25.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:41:25.282Z] Configure a credential helper to remove this warning. See [2022-01-26T22:41:25.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:41:25.282Z] [2022-01-26T22:41:25.282Z] Login Succeeded [2022-01-26T22:41:25.282Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T22:41:25.288Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-26T22:41:25.353Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-26T22:41:25.366Z] ========================================================= [2022-01-26T22:41:25.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-26T22:41:25.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:41:25.675Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-26T22:41:25.675Z] Sending build context to Docker daemon 33.84MB [2022-01-26T22:41:25.675Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T22:41:25.675Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-26T22:41:25.938Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-26T22:41:25.938Z] 59bf1c3509f3: Pulling fs layer [2022-01-26T22:41:25.938Z] 666ba61612fd: Pulling fs layer [2022-01-26T22:41:25.938Z] 8ed8ca486205: Pulling fs layer [2022-01-26T22:41:25.938Z] 4fe6c5a15a65: Pulling fs layer [2022-01-26T22:41:25.938Z] 22a0e8bec74d: Pulling fs layer [2022-01-26T22:41:25.938Z] f965cba54748: Pulling fs layer [2022-01-26T22:41:25.938Z] 861ffc35075e: Pulling fs layer [2022-01-26T22:41:25.938Z] 4b385c91608e: Pulling fs layer [2022-01-26T22:41:25.938Z] 560528eb2ebb: Pulling fs layer [2022-01-26T22:41:25.938Z] 4fe6c5a15a65: Waiting [2022-01-26T22:41:25.938Z] 22a0e8bec74d: Waiting [2022-01-26T22:41:25.938Z] f965cba54748: Waiting [2022-01-26T22:41:25.938Z] 861ffc35075e: Waiting [2022-01-26T22:41:25.938Z] 4b385c91608e: Waiting [2022-01-26T22:41:25.938Z] 560528eb2ebb: Waiting [2022-01-26T22:41:25.939Z] 8ed8ca486205: Verifying Checksum [2022-01-26T22:41:25.939Z] 8ed8ca486205: Download complete [2022-01-26T22:41:25.939Z] 666ba61612fd: Verifying Checksum [2022-01-26T22:41:25.939Z] 666ba61612fd: Download complete [2022-01-26T22:41:25.939Z] 22a0e8bec74d: Verifying Checksum [2022-01-26T22:41:25.939Z] 22a0e8bec74d: Download complete [2022-01-26T22:41:25.939Z] 59bf1c3509f3: Verifying Checksum [2022-01-26T22:41:25.939Z] 59bf1c3509f3: Download complete [2022-01-26T22:41:25.939Z] f965cba54748: Verifying Checksum [2022-01-26T22:41:25.939Z] f965cba54748: Download complete [2022-01-26T22:41:25.939Z] 861ffc35075e: Verifying Checksum [2022-01-26T22:41:25.939Z] 861ffc35075e: Download complete [2022-01-26T22:41:25.939Z] 4b385c91608e: Verifying Checksum [2022-01-26T22:41:25.939Z] 4b385c91608e: Download complete [2022-01-26T22:41:26.518Z] 59bf1c3509f3: Pull complete [2022-01-26T22:41:26.518Z] 560528eb2ebb: Verifying Checksum [2022-01-26T22:41:26.518Z] 560528eb2ebb: Download complete [2022-01-26T22:41:26.518Z] 4fe6c5a15a65: Verifying Checksum [2022-01-26T22:41:26.518Z] 4fe6c5a15a65: Download complete [2022-01-26T22:41:26.518Z] 666ba61612fd: Pull complete [2022-01-26T22:41:26.780Z] 8ed8ca486205: Pull complete [2022-01-26T22:41:31.030Z] 4fe6c5a15a65: Pull complete [2022-01-26T22:41:31.030Z] 22a0e8bec74d: Pull complete [2022-01-26T22:41:31.030Z] f965cba54748: Pull complete [2022-01-26T22:41:31.030Z] 861ffc35075e: Pull complete [2022-01-26T22:41:31.030Z] 4b385c91608e: Pull complete [2022-01-26T22:41:32.957Z] 560528eb2ebb: Pull complete [2022-01-26T22:41:33.221Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-26T22:41:33.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-26T22:41:33.221Z] ---> dd4a08f94e63 [2022-01-26T22:41:33.221Z] Step 3/11 : ARG MAKE=make build [2022-01-26T22:41:34.616Z] ---> Running in 4b0f98bcfaf1 [2022-01-26T22:41:34.875Z] Removing intermediate container 4b0f98bcfaf1 [2022-01-26T22:41:34.875Z] ---> f5b03032bed1 [2022-01-26T22:41:34.875Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-26T22:41:34.875Z] ---> Running in a917ee22bd3e [2022-01-26T22:41:34.875Z] Removing intermediate container a917ee22bd3e [2022-01-26T22:41:34.875Z] ---> a550dd8968c5 [2022-01-26T22:41:34.875Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T22:41:34.875Z] ---> Running in ea7dc621c059 [2022-01-26T22:41:35.140Z] Removing intermediate container ea7dc621c059 [2022-01-26T22:41:35.140Z] ---> 862d1d03b23f [2022-01-26T22:41:35.140Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T22:41:35.140Z] ---> Running in 9aa77e7d785f [2022-01-26T22:41:35.401Z] Removing intermediate container 9aa77e7d785f [2022-01-26T22:41:35.401Z] ---> 596a54ee1ef1 [2022-01-26T22:41:35.401Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T22:41:35.401Z] ---> Running in 68d6501d98f5 [2022-01-26T22:41:35.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-26T22:41:36.607Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-26T22:41:37.180Z] OK: 221 MiB in 52 packages [2022-01-26T22:41:37.180Z] Removing intermediate container 68d6501d98f5 [2022-01-26T22:41:37.180Z] ---> 0e2929c12ecd [2022-01-26T22:41:37.180Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-26T22:41:37.450Z] ---> 4b690af6abfb [2022-01-26T22:41:37.450Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T22:41:37.450Z] ---> Running in f85ea843cd34 [2022-01-26T22:41:39.144Z] Still waiting to schedule task [2022-01-26T22:41:39.145Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-26T22:42:09.632Z] Removing intermediate container f85ea843cd34 [2022-01-26T22:42:09.632Z] ---> cd6ea730d794 [2022-01-26T22:42:09.632Z] Step 10/11 : COPY . . [2022-01-26T22:42:10.205Z] ---> cafd68ed3a37 [2022-01-26T22:42:10.205Z] Step 11/11 : RUN ${MAKE} [2022-01-26T22:42:10.205Z] ---> Running in ae9357c09ae7 [2022-01-26T22:42:10.467Z] noop [2022-01-26T22:42:10.734Z] Removing intermediate container ae9357c09ae7 [2022-01-26T22:42:10.734Z] ---> 05296d50baf5 [2022-01-26T22:42:10.734Z] Successfully built 05296d50baf5 [2022-01-26T22:42:10.734Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:42:11.039Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-26T22:42:11.039Z] . [Pipeline] withDockerContainer [2022-01-26T22:42:11.112Z] prd-centos7-docker-4c-2g-3979 does not seem to be running inside a container [2022-01-26T22:42:11.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-26T22:42:11.473Z] $ docker top 63658df8f4dd8003ee8bbcdb38f4567ecdf23992184dfc6e7928e5869a0d8415 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T22:42:11.833Z] + go version [2022-01-26T22:42:11.834Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-26T22:42:11.842Z] $ docker stop --time=1 63658df8f4dd8003ee8bbcdb38f4567ecdf23992184dfc6e7928e5869a0d8415 [2022-01-26T22:42:13.030Z] $ docker rm -f 63658df8f4dd8003ee8bbcdb38f4567ecdf23992184dfc6e7928e5869a0d8415 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:42:13.449Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-26T22:42:13.449Z] . [Pipeline] withDockerContainer [2022-01-26T22:42:13.509Z] prd-centos7-docker-4c-2g-3979 does not seem to be running inside a container [2022-01-26T22:42:13.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 ******** -e ******** ci-base-image-x86_64 cat [2022-01-26T22:42:13.877Z] $ docker top 7e63ec881d49318b8a04b540868a1b038d84213f8646c32349242188152a3fc0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-26T22:42:14.263Z] + make test [2022-01-26T22:42:14.263Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-26T22:42:14.528Z] internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-01-26T22:42:14.528Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-26T22:42:14.528Z] internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-01-26T22:42:14.528Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-26T22:42:14.528Z] internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: [2022-01-26T22:42:14.528Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-26T22:42:14.528Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-26T22:42:14.535Z] $ docker stop --time=1 7e63ec881d49318b8a04b540868a1b038d84213f8646c32349242188152a3fc0 [2022-01-26T22:42:15.725Z] $ docker rm -f 7e63ec881d49318b8a04b540868a1b038d84213f8646c32349242188152a3fc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [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 [2022-01-26T22:42:16.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T22:42:16.190Z] [2022-01-26T22:42:16.190Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:42:16.499Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T22:42:16.499Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-26T22:42:16.499Z] b4d181a07f80: Pulling fs layer [2022-01-26T22:42:16.499Z] a1111a8f2ec3: Pulling fs layer [2022-01-26T22:42:16.499Z] ed53099fbce6: Pulling fs layer [2022-01-26T22:42:16.499Z] dc539afda2c1: Pulling fs layer [2022-01-26T22:42:16.499Z] 77bc0d833cb6: Pulling fs layer [2022-01-26T22:42:16.499Z] 9065ff56babe: Pulling fs layer [2022-01-26T22:42:16.499Z] d287ab97295c: Pulling fs layer [2022-01-26T22:42:16.499Z] dc539afda2c1: Waiting [2022-01-26T22:42:16.499Z] 77bc0d833cb6: Waiting [2022-01-26T22:42:16.499Z] 9065ff56babe: Waiting [2022-01-26T22:42:16.499Z] d287ab97295c: Waiting [2022-01-26T22:42:16.499Z] a1111a8f2ec3: Verifying Checksum [2022-01-26T22:42:16.499Z] a1111a8f2ec3: Download complete [2022-01-26T22:42:16.499Z] dc539afda2c1: Verifying Checksum [2022-01-26T22:42:16.499Z] dc539afda2c1: Download complete [2022-01-26T22:42:16.499Z] ed53099fbce6: Verifying Checksum [2022-01-26T22:42:16.499Z] ed53099fbce6: Download complete [2022-01-26T22:42:16.499Z] 9065ff56babe: Verifying Checksum [2022-01-26T22:42:16.499Z] 9065ff56babe: Download complete [2022-01-26T22:42:16.763Z] 77bc0d833cb6: Verifying Checksum [2022-01-26T22:42:16.763Z] 77bc0d833cb6: Download complete [2022-01-26T22:42:16.763Z] b4d181a07f80: Verifying Checksum [2022-01-26T22:42:16.763Z] b4d181a07f80: Download complete [2022-01-26T22:42:17.347Z] d287ab97295c: Verifying Checksum [2022-01-26T22:42:17.347Z] d287ab97295c: Download complete [2022-01-26T22:42:18.321Z] b4d181a07f80: Pull complete [2022-01-26T22:42:18.321Z] a1111a8f2ec3: Pull complete [2022-01-26T22:42:18.895Z] ed53099fbce6: Pull complete [2022-01-26T22:42:18.895Z] dc539afda2c1: Pull complete [2022-01-26T22:42:19.159Z] 77bc0d833cb6: Pull complete [2022-01-26T22:42:19.426Z] 9065ff56babe: Pull complete [2022-01-26T22:42:24.773Z] d287ab97295c: Pull complete [2022-01-26T22:42:24.774Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-26T22:42:24.774Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T22:42:24.774Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-26T22:42:24.848Z] prd-centos7-docker-4c-2g-3979 does not seem to be running inside a container [2022-01-26T22:42:24.877Z] $ 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/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-26T22:42:27.632Z] $ docker top a97e08cf53163ad1179252d1961e8ddf67ab8174097fb001f08588b7c1bba2b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:42:28.071Z] ---> job-cost.sh [2022-01-26T22:42:28.071Z] lf-activate-venv: SKIPPING [2022-01-26T22:42:28.071Z] INFO: No Stack... [2022-01-26T22:42:28.339Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-26T22:42:28.912Z] INFO: Archiving Costs [Pipeline] sh [2022-01-26T22:42:29.216Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [2022-01-26T22:42:29.216Z] + cut -d, -f6 [Pipeline] lock [2022-01-26T22:42:29.234Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [2022-01-26T22:42:29.243Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] did not exist. Created. [2022-01-26T22:42:29.244Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-26T22:42:29.558Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-26T22:42:29.596Z] Stashed 1 file(s) [Pipeline] } [2022-01-26T22:42:29.603Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-26T22:42:29.622Z] $ docker stop --time=1 a97e08cf53163ad1179252d1961e8ddf67ab8174097fb001f08588b7c1bba2b6 [2022-01-26T22:42:30.779Z] $ docker rm -f a97e08cf53163ad1179252d1961e8ddf67ab8174097fb001f08588b7c1bba2b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-26T22:42:30.907Z] Failed in branch amd64 [2022-01-26T22:43:05.819Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3980 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-26T22:43:05.833Z] Running in /w/workspace/device-sdk-go/8 [Pipeline] { [Pipeline] checkout [2022-01-26T22:43:06.076Z] The recommended git tool is: git [2022-01-26T22:43:10.378Z] using credential edgex-jenkins-ssh [2022-01-26T22:43:10.397Z] Cloning the remote Git repository [2022-01-26T22:43:10.449Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T22:43:10.519Z] > git init /w/workspace/device-sdk-go/8 # timeout=10 [2022-01-26T22:43:10.602Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T22:43:10.603Z] > git --version # timeout=10 [2022-01-26T22:43:10.618Z] > git --version # 'git version 2.17.1' [2022-01-26T22:43:10.620Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T22:43:10.712Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-26T22:43:12.194Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-26T22:43:12.216Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-26T22:43:12.240Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-26T22:43:12.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T22:43:12.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T22:43:12.287Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1073/head:refs/remotes/origin/PR-1073 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-26T22:43:15.049Z] Merging remotes/origin/main commit 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-26T22:43:15.385Z] Merge succeeded, producing cf2c0a2cce4608c8e5ec9c882f7f9bbf6c33c01e [2022-01-26T22:43:15.385Z] Checking out Revision cf2c0a2cce4608c8e5ec9c882f7f9bbf6c33c01e (PR-1073) [2022-01-26T22:43:15.067Z] > git config core.sparsecheckout # timeout=10 [2022-01-26T22:43:15.088Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-26T22:43:15.185Z] > git remote # timeout=10 [2022-01-26T22:43:15.201Z] > git config --get remote.origin.url # timeout=10 [2022-01-26T22:43:15.217Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T22:43:15.256Z] > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 [2022-01-26T22:43:15.367Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-26T22:43:15.391Z] > git config core.sparsecheckout # timeout=10 [2022-01-26T22:43:15.413Z] > git checkout -f cf2c0a2cce4608c8e5ec9c882f7f9bbf6c33c01e # timeout=10 [2022-01-26T22:43:19.534Z] Commit message: "Merge commit '07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2' into HEAD" [2022-01-26T22:43:19.554Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-26T22:43:20.446Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-26T22:43:20.446Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-26T22:43:20.446Z] Dload Upload Total Spent Left Speed [2022-01-26T22:43:20.446Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 66162 0 --:--:-- --:--:-- --:--:-- 66162 [Pipeline] sh [2022-01-26T22:43:19.542Z] > git rev-list --no-walk c7496971dc70963c075f7af11a56924633ebc9dc # timeout=10 [2022-01-26T22:43:20.968Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-26T22:43:21.349Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-26T22:43:21.350Z] + sudo tee /etc/docker/daemon.new [2022-01-26T22:43:21.350Z] { [2022-01-26T22:43:21.350Z] "registry-mirrors": [ [2022-01-26T22:43:21.350Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-26T22:43:21.350Z] ], [2022-01-26T22:43:21.350Z] "bip": "10.250.0.254/24", [2022-01-26T22:43:21.350Z] "hosts": [ [2022-01-26T22:43:21.350Z] "tcp://0.0.0.0:5555", [2022-01-26T22:43:21.350Z] "unix:///var/run/docker.sock" [2022-01-26T22:43:21.350Z] ], [2022-01-26T22:43:21.350Z] "mtu": 1458, [2022-01-26T22:43:21.350Z] "selinux-enabled": true, [2022-01-26T22:43:21.350Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-26T22:43:21.350Z] } [Pipeline] sh [2022-01-26T22:43:21.698Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-26T22:43:22.034Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T22:43:40.321Z] provisioning config files... [2022-01-26T22:43:40.344Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/8@tmp/config1180006293346236234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:43:40.699Z] ---> docker-login.sh [2022-01-26T22:43:40.699Z] nexus3.edgexfoundry.org:10001 [2022-01-26T22:43:41.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:43:41.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:43:41.560Z] Configure a credential helper to remove this warning. See [2022-01-26T22:43:41.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:43:41.560Z] [2022-01-26T22:43:41.560Z] Login Succeeded [2022-01-26T22:43:41.560Z] nexus3.edgexfoundry.org:10002 [2022-01-26T22:43:41.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:43:41.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:43:41.831Z] Configure a credential helper to remove this warning. See [2022-01-26T22:43:41.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:43:41.831Z] [2022-01-26T22:43:41.831Z] Login Succeeded [2022-01-26T22:43:41.831Z] nexus3.edgexfoundry.org:10003 [2022-01-26T22:43:42.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:43:42.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:43:42.101Z] Configure a credential helper to remove this warning. See [2022-01-26T22:43:42.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:43:42.101Z] [2022-01-26T22:43:42.101Z] Login Succeeded [2022-01-26T22:43:42.101Z] nexus3.edgexfoundry.org:10004 [2022-01-26T22:43:42.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:43:42.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:43:42.699Z] Configure a credential helper to remove this warning. See [2022-01-26T22:43:42.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:43:42.699Z] [2022-01-26T22:43:42.699Z] Login Succeeded [2022-01-26T22:43:42.699Z] docker.io [2022-01-26T22:43:42.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T22:43:43.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T22:43:43.239Z] Configure a credential helper to remove this warning. See [2022-01-26T22:43:43.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T22:43:43.239Z] [2022-01-26T22:43:43.239Z] Login Succeeded [2022-01-26T22:43:43.239Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T22:43:43.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-26T22:43:43.739Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-26T22:43:43.750Z] ========================================================= [2022-01-26T22:43:43.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-26T22:43:43.750Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:43:44.087Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-26T22:43:44.688Z] Sending build context to Docker daemon 29.5MB [2022-01-26T22:43:44.688Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T22:43:44.688Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-26T22:43:44.965Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-26T22:43:44.965Z] 9b3977197b4f: Pulling fs layer [2022-01-26T22:43:44.965Z] 1a89e8eeedd5: Pulling fs layer [2022-01-26T22:43:44.965Z] 94645a83ff95: Pulling fs layer [2022-01-26T22:43:44.965Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-26T22:43:44.965Z] 0c92f367c5e7: Pulling fs layer [2022-01-26T22:43:44.965Z] 4b8299f9d1f4: Pulling fs layer [2022-01-26T22:43:44.965Z] 9a6b49a46696: Pulling fs layer [2022-01-26T22:43:44.965Z] cf05db05a679: Pulling fs layer [2022-01-26T22:43:44.965Z] 4b8299f9d1f4: Waiting [2022-01-26T22:43:44.965Z] 9a6b49a46696: Waiting [2022-01-26T22:43:44.965Z] 3f3a8bcf1eab: Waiting [2022-01-26T22:43:44.965Z] cf05db05a679: Waiting [2022-01-26T22:43:44.965Z] 0c92f367c5e7: Waiting [2022-01-26T22:43:44.965Z] 94645a83ff95: Verifying Checksum [2022-01-26T22:43:44.965Z] 94645a83ff95: Download complete [2022-01-26T22:43:44.965Z] 1a89e8eeedd5: Verifying Checksum [2022-01-26T22:43:44.965Z] 1a89e8eeedd5: Download complete [2022-01-26T22:43:44.965Z] 0c92f367c5e7: Verifying Checksum [2022-01-26T22:43:44.965Z] 0c92f367c5e7: Download complete [2022-01-26T22:43:44.965Z] 4b8299f9d1f4: Verifying Checksum [2022-01-26T22:43:44.965Z] 4b8299f9d1f4: Download complete [2022-01-26T22:43:44.965Z] 9b3977197b4f: Verifying Checksum [2022-01-26T22:43:44.965Z] 9b3977197b4f: Download complete [2022-01-26T22:43:44.965Z] 9a6b49a46696: Verifying Checksum [2022-01-26T22:43:44.965Z] 9a6b49a46696: Download complete [2022-01-26T22:43:45.567Z] 9b3977197b4f: Pull complete [2022-01-26T22:43:46.168Z] 1a89e8eeedd5: Pull complete [2022-01-26T22:43:46.442Z] 94645a83ff95: Pull complete [2022-01-26T22:43:46.717Z] cf05db05a679: Verifying Checksum [2022-01-26T22:43:46.717Z] cf05db05a679: Download complete [2022-01-26T22:43:47.312Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-26T22:43:47.312Z] 3f3a8bcf1eab: Download complete [2022-01-26T22:43:59.712Z] 3f3a8bcf1eab: Pull complete [2022-01-26T22:43:59.712Z] 0c92f367c5e7: Pull complete [2022-01-26T22:43:59.712Z] 4b8299f9d1f4: Pull complete [2022-01-26T22:43:59.712Z] 9a6b49a46696: Pull complete [2022-01-26T22:44:05.113Z] cf05db05a679: Pull complete [2022-01-26T22:44:05.113Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-26T22:44:05.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-26T22:44:05.113Z] ---> 0ccda1f7e2ee [2022-01-26T22:44:05.113Z] Step 3/11 : ARG MAKE=make build [2022-01-26T22:44:07.083Z] ---> Running in f3db981b1642 [2022-01-26T22:44:07.083Z] Removing intermediate container f3db981b1642 [2022-01-26T22:44:07.083Z] ---> 64dddf92bf34 [2022-01-26T22:44:07.083Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-26T22:44:07.083Z] ---> Running in a92d3e454de9 [2022-01-26T22:44:07.677Z] Removing intermediate container a92d3e454de9 [2022-01-26T22:44:07.677Z] ---> 6266a38d78f6 [2022-01-26T22:44:07.677Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T22:44:07.677Z] ---> Running in 22d2ec74da9d [2022-01-26T22:44:07.949Z] Removing intermediate container 22d2ec74da9d [2022-01-26T22:44:07.949Z] ---> dbe3aeb55273 [2022-01-26T22:44:07.949Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T22:44:08.220Z] ---> Running in 2693eaae894c [2022-01-26T22:44:10.192Z] Removing intermediate container 2693eaae894c [2022-01-26T22:44:10.192Z] ---> 3fbc7de06c93 [2022-01-26T22:44:10.192Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T22:44:10.192Z] ---> Running in 537e64221c39 [2022-01-26T22:44:11.186Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-26T22:44:11.776Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-26T22:44:12.753Z] OK: 220 MiB in 52 packages [2022-01-26T22:44:13.348Z] Removing intermediate container 537e64221c39 [2022-01-26T22:44:13.348Z] ---> 49b91624ed37 [2022-01-26T22:44:13.348Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-26T22:44:13.944Z] ---> c3ea8662f570 [2022-01-26T22:44:13.944Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T22:44:14.221Z] ---> Running in ad9b9ec9cd1f [2022-01-26T22:45:36.015Z] Removing intermediate container ad9b9ec9cd1f [2022-01-26T22:45:36.015Z] ---> 41273cbba8dd [2022-01-26T22:45:36.015Z] Step 10/11 : COPY . . [2022-01-26T22:45:36.015Z] ---> 42bed5af1a08 [2022-01-26T22:45:36.015Z] Step 11/11 : RUN ${MAKE} [2022-01-26T22:45:36.015Z] ---> Running in 4486d42cbd7b [2022-01-26T22:45:36.015Z] noop [2022-01-26T22:45:36.015Z] Removing intermediate container 4486d42cbd7b [2022-01-26T22:45:36.015Z] ---> c16d0795ab0e [2022-01-26T22:45:36.015Z] Successfully built c16d0795ab0e [2022-01-26T22:45:36.015Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:45:36.357Z] + docker inspect -f . ci-base-image-arm64 [2022-01-26T22:45:36.357Z] . [Pipeline] withDockerContainer [2022-01-26T22:45:36.563Z] prd-ubuntu18.04-docker-arm64-4c-16g-3980 does not seem to be running inside a container [2022-01-26T22:45:36.649Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** ci-base-image-arm64 cat [2022-01-26T22:45:37.944Z] $ docker top 3244f0660b0dc218a40b139cebe88f04216639957c4391b9e774db1f6f2c90bc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T22:45:38.817Z] + go version [2022-01-26T22:45:38.818Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-26T22:45:38.842Z] $ docker stop --time=1 3244f0660b0dc218a40b139cebe88f04216639957c4391b9e774db1f6f2c90bc [2022-01-26T22:45:40.486Z] $ docker rm -f 3244f0660b0dc218a40b139cebe88f04216639957c4391b9e774db1f6f2c90bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:45:41.079Z] + docker inspect -f . ci-base-image-arm64 [2022-01-26T22:45:41.079Z] . [Pipeline] withDockerContainer [2022-01-26T22:45:41.283Z] prd-ubuntu18.04-docker-arm64-4c-16g-3980 does not seem to be running inside a container [2022-01-26T22:45:41.366Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** ci-base-image-arm64 cat [2022-01-26T22:45:42.673Z] $ docker top 051c7f6f0eb43e4d23e0666ca3a922907b5dcc2fb7f37c69cd0ae99e51b40ba5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-26T22:45:43.580Z] + make test [2022-01-26T22:45:43.580Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-26T22:45:44.557Z] internal/autoevent/executor.go:12:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-01-26T22:45:44.557Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-26T22:45:44.557Z] internal/autoevent/executor.go:13:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promauto (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent); to add: [2022-01-26T22:45:44.557Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-26T22:45:44.557Z] internal/prometheus/prom.go:8:2: missing go.sum entry for module providing package github.com/prometheus/client_golang/prometheus/promhttp (imported by github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus); to add: [2022-01-26T22:45:44.557Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-26T22:45:44.557Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-26T22:45:44.583Z] $ docker stop --time=1 051c7f6f0eb43e4d23e0666ca3a922907b5dcc2fb7f37c69cd0ae99e51b40ba5 [2022-01-26T22:45:46.243Z] $ docker rm -f 051c7f6f0eb43e4d23e0666ca3a922907b5dcc2fb7f37c69cd0ae99e51b40ba5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:45:46.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T22:45:46.885Z] [2022-01-26T22:45:46.885Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:45:47.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T22:45:47.503Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-26T22:45:47.503Z] 448f6bf000e3: Pulling fs layer [2022-01-26T22:45:47.503Z] f757da607395: Pulling fs layer [2022-01-26T22:45:47.503Z] 05883995daec: Pulling fs layer [2022-01-26T22:45:47.503Z] 8603b9c90790: Pulling fs layer [2022-01-26T22:45:47.503Z] 1560dd03e051: Pulling fs layer [2022-01-26T22:45:47.503Z] 27f5ce0e4adf: Pulling fs layer [2022-01-26T22:45:47.503Z] c2d8d7efcc4b: Pulling fs layer [2022-01-26T22:45:47.503Z] 8603b9c90790: Waiting [2022-01-26T22:45:47.503Z] 1560dd03e051: Waiting [2022-01-26T22:45:47.503Z] 27f5ce0e4adf: Waiting [2022-01-26T22:45:47.503Z] c2d8d7efcc4b: Waiting [2022-01-26T22:45:47.503Z] f757da607395: Verifying Checksum [2022-01-26T22:45:47.503Z] f757da607395: Download complete [2022-01-26T22:45:47.503Z] 8603b9c90790: Verifying Checksum [2022-01-26T22:45:47.503Z] 8603b9c90790: Download complete [2022-01-26T22:45:47.503Z] 1560dd03e051: Verifying Checksum [2022-01-26T22:45:47.503Z] 1560dd03e051: Download complete [2022-01-26T22:45:47.503Z] 27f5ce0e4adf: Verifying Checksum [2022-01-26T22:45:47.503Z] 27f5ce0e4adf: Download complete [2022-01-26T22:45:47.790Z] 05883995daec: Verifying Checksum [2022-01-26T22:45:47.790Z] 05883995daec: Download complete [2022-01-26T22:45:48.065Z] 448f6bf000e3: Verifying Checksum [2022-01-26T22:45:48.065Z] 448f6bf000e3: Download complete [2022-01-26T22:45:50.681Z] c2d8d7efcc4b: Verifying Checksum [2022-01-26T22:45:50.681Z] c2d8d7efcc4b: Download complete [2022-01-26T22:45:51.659Z] 448f6bf000e3: Pull complete [2022-01-26T22:45:52.253Z] f757da607395: Pull complete [2022-01-26T22:45:53.692Z] 05883995daec: Pull complete [2022-01-26T22:45:53.692Z] 8603b9c90790: Pull complete [2022-01-26T22:45:54.672Z] 1560dd03e051: Pull complete [2022-01-26T22:45:54.946Z] 27f5ce0e4adf: Pull complete [2022-01-26T22:46:10.034Z] c2d8d7efcc4b: Pull complete [2022-01-26T22:46:10.034Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-26T22:46:10.034Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T22:46:10.034Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-26T22:46:10.260Z] prd-ubuntu18.04-docker-arm64-4c-16g-3980 does not seem to be running inside a container [2022-01-26T22:46:10.341Z] $ 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/8 -v /w/workspace/device-sdk-go/8:/w/workspace/device-sdk-go/8:rw,z -v /w/workspace/device-sdk-go/8@tmp:/w/workspace/device-sdk-go/8@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-26T22:46:12.841Z] $ docker top 60c45e5b4d85e9ea2495a9bc7fc11b6b7c88b2cdeec305c5d531b19aabb17e97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:13.710Z] ---> job-cost.sh [2022-01-26T22:46:13.710Z] lf-activate-venv: SKIPPING [2022-01-26T22:46:13.710Z] INFO: No Stack... [2022-01-26T22:46:13.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-26T22:46:14.247Z] INFO: Archiving Costs [Pipeline] sh [2022-01-26T22:46:14.901Z] + cat /w/workspace/device-sdk-go/8/archives/cost.csv [2022-01-26T22:46:14.901Z] + cut -d, -f6 [Pipeline] lock [2022-01-26T22:46:14.958Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [2022-01-26T22:46:14.967Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] did not exist. Created. [2022-01-26T22:46:14.967Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-26T22:46:15.311Z] /w/workspace/device-sdk-go/8@tmp/durable-5acfaa79/script.sh: 1: /w/workspace/device-sdk-go/8@tmp/durable-5acfaa79/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-26T22:46:15.652Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-26T22:46:15.683Z] Warning: overwriting stash ‘stack-cost’ [2022-01-26T22:46:16.088Z] Stashed 1 file(s) [Pipeline] } [2022-01-26T22:46:16.095Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-8-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-26T22:46:16.120Z] $ docker stop --time=1 60c45e5b4d85e9ea2495a9bc7fc11b6b7c88b2cdeec305c5d531b19aabb17e97 [2022-01-26T22:46:17.542Z] $ docker rm -f 60c45e5b4d85e9ea2495a9bc7fc11b6b7c88b2cdeec305c5d531b19aabb17e97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-26T22:46:17.820Z] Failed in branch arm64 [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 [2022-01-26T22:46:18.547Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-01-26T22:46:18.547Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-26T22:46:18.547Z] total 8 [2022-01-26T22:46:18.547Z] drwxr-xr-x. 3 root root 34 Jan 26 22:42 . [2022-01-26T22:46:18.547Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 26 22:42 .. [2022-01-26T22:46:18.547Z] drwxr-xr-x. 2 root root 6 Jan 26 22:42 cost [2022-01-26T22:46:18.547Z] -rw-r--r--. 1 root root 85 Jan 26 22:42 cost.csv [2022-01-26T22:46:18.547Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-26T22:46:18.547Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-26T22:46:18.547Z] total 8 [2022-01-26T22:46:18.547Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 26 22:42 . [2022-01-26T22:46:18.547Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 26 22:42 .. [2022-01-26T22:46:18.547Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 26 22:42 cost [2022-01-26T22:46:18.547Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 26 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:18.847Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:19.403Z] ---> package-listing.sh [2022-01-26T22:46:19.403Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-26T22:46:19.403Z] ++ facter osfamily [2022-01-26T22:46:19.665Z] + OS_FAMILY=redhat [2022-01-26T22:46:19.665Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-26T22:46:19.665Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-26T22:46:19.665Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-26T22:46:19.665Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-26T22:46:19.665Z] + PACKAGES=/tmp/packages_start.txt [2022-01-26T22:46:19.665Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-26T22:46:19.665Z] + PACKAGES=/tmp/packages_end.txt [2022-01-26T22:46:19.665Z] + case "${OS_FAMILY}" in [2022-01-26T22:46:19.665Z] + rpm -qa [2022-01-26T22:46:19.665Z] + sort [2022-01-26T22:46:20.234Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-26T22:46:20.234Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-26T22:46:20.234Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-26T22:46:20.234Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-26T22:46:20.234Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-26T22:46:20.234Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [Pipeline] echo [2022-01-26T22:46:20.248Z] 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-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-26T22:46:20.528Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-26T22:46:21.088Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T22:46:21.088Z] . [Pipeline] withDockerContainer [2022-01-26T22:46:21.151Z] prd-centos7-docker-4c-2g-3979 does not seem to be running inside a container [2022-01-26T22:46:21.184Z] $ 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-1073/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-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@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 [2022-01-26T22:46:21.396Z] $ docker top 001bdd3dcf20b1f911f838a2480dcf63360d9d2290923ce453f12370c5e1e2a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T22:46:21.752Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-26T22:46:22.043Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-26T22:46:22.335Z] + ls /var/log/sa-host [2022-01-26T22:46:22.335Z] + sadf -c /var/log/sa-host/sa17 [2022-01-26T22:46:22.335Z] file_magic: OK [2022-01-26T22:46:22.336Z] HZ: Using current value: 100 [2022-01-26T22:46:22.336Z] file_header: OK [2022-01-26T22:46:22.336Z] 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 [2022-01-26T22:46:22.336Z] Statistics: [2022-01-26T22:46:22.336Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-26T22:46:22.336Z] File successfully converted to sysstat format version 12.0.3 [2022-01-26T22:46:22.336Z] + sadf -c /var/log/sa-host/sa26 [2022-01-26T22:46:22.336Z] file_magic: OK [2022-01-26T22:46:22.336Z] HZ: Using current value: 100 [2022-01-26T22:46:22.336Z] file_header: OK [2022-01-26T22:46:22.336Z] 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 [2022-01-26T22:46:22.336Z] Statistics: [2022-01-26T22:46:22.336Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-26T22:46:22.336Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T22:46:22.549Z] provisioning config files... [2022-01-26T22:46:22.556Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config8543944153939587166tmp [Pipeline] { [Pipeline] echo [2022-01-26T22:46:22.573Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:22.857Z] ---> create-netrc.sh [Pipeline] } [2022-01-26T22:46:22.864Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:23.202Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-26T22:46:23.212Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:23.508Z] ---> sudo-logs.sh [2022-01-26T22:46:23.508Z] Archiving 'sudo' log.. [2022-01-26T22:46:23.508Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3979.novalocal: Name or service not known [2022-01-26T22:46:23.508Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3979.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-26T22:46:23.533Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:23.820Z] ---> job-cost.sh [2022-01-26T22:46:23.820Z] lf-activate-venv: SKIPPING [2022-01-26T22:46:23.820Z] DEBUG: total: 0.05999999865889549 [2022-01-26T22:46:23.820Z] INFO: Retrieving Stack Cost... [2022-01-26T22:46:24.080Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-26T22:46:24.650Z] INFO: Archiving Costs [Pipeline] echo [2022-01-26T22:46:24.665Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T22:46:24.952Z] ---> logs-deploy.sh [2022-01-26T22:46:24.952Z] lf-activate-venv: SKIPPING [2022-01-26T22:46:24.952Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/8 [2022-01-26T22:46:24.952Z] INFO: archiving workspace using pattern(s): [2022-01-26T22:46:25.521Z] Archives upload complete. [2022-01-26T22:46:25.784Z] INFO: archiving logs to Nexus