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 dd2488f44e7de249a3f057dee004478318674dba rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from dd2488f44e7de249a3f057dee004478318674dba 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-ssh3726006081148490434.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-ssh6330173120915778556.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-ssh15844716812081146531.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-ssh12974805022282303721.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-ssh3514332956191253237.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-4227 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-ssh5938505523387651125.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-ssh104940225776216491.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 dd2488f44e7de249a3f057dee004478318674dba into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing c94c12fb1a2ef65a7c7423789d091cf870435aae Checking out Revision c94c12fb1a2ef65a7c7423789d091cf870435aae (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-ssh2021978370131619015.key > git merge dd2488f44e7de249a3f057dee004478318674dba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c94c12fb1a2ef65a7c7423789d091cf870435aae # timeout=10 Commit message: "Merge commit 'dd2488f44e7de249a3f057dee004478318674dba' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-29T22:41:12.993Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-29T22:41:13.053Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-29T22:41:13.075Z] ========================================================= [2022-01-29T22:41:13.075Z] EdgeX Global Pipelines Version Info [2022-01-29T22:41:13.075Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 97a810a301a1691c65c7fa6442644f4fb86250c8 # timeout=10 [2022-01-29T22:41:14.223Z] ------------------- [2022-01-29T22:41:14.223Z] stable info: [2022-01-29T22:41:14.223Z] ------------------- [2022-01-29T22:41:14.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-29T22:41:14.223Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-29T22:41:14.223Z] Message: update stable to v1.0.219 [2022-01-29T22:41:14.798Z] ------------------- [2022-01-29T22:41:14.798Z] experimental info: [2022-01-29T22:41:14.798Z] ------------------- [2022-01-29T22:41:14.798Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-29T22:41:14.798Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-29T22:41:14.798Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-29T22:41:14.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-29T22:41:14.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-29T22:41:14.950Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-29T22:41:14.963Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-29T22:41:14.977Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-29T22:41:14.991Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-29T22:41:15.054Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-29T22:41:15.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-29T22:41:15.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-29T22:41:15.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-29T22:41:15.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-29T22:41:15.116Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-29T22:41:15.128Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-29T22:41:15.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-29T22:41:15.153Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-29T22:41:15.167Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-29T22:41:15.179Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-29T22:41:15.198Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-29T22:41:15.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-29T22:41:15.221Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-29T22:41:15.234Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-29T22:41:15.248Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-29T22:41:15.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-29T22:41:15.275Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-29T22:41:15.292Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-29T22:41:15.306Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-29T22:41:15.316Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-29T22:41:15.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-29T22:41:15.342Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-29T22:41:15.354Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c94c12fb1a2ef65a7c7423789d091cf870435aae [Pipeline] echo [2022-01-29T22:41:15.367Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c94c12f [Pipeline] echo [2022-01-29T22:41:15.380Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T22:41:15.422Z] provisioning config files... [2022-01-29T22:41:15.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config4984036685760219839tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:41:15.746Z] ---> docker-login.sh [2022-01-29T22:41:15.746Z] nexus3.edgexfoundry.org:10001 [2022-01-29T22:41:15.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:16.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:16.020Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:16.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:16.020Z] [2022-01-29T22:41:16.020Z] Login Succeeded [2022-01-29T22:41:16.020Z] nexus3.edgexfoundry.org:10002 [2022-01-29T22:41:16.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:16.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:16.020Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:16.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:16.020Z] [2022-01-29T22:41:16.020Z] Login Succeeded [2022-01-29T22:41:16.020Z] nexus3.edgexfoundry.org:10003 [2022-01-29T22:41:16.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:16.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:16.284Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:16.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:16.284Z] [2022-01-29T22:41:16.284Z] Login Succeeded [2022-01-29T22:41:16.284Z] nexus3.edgexfoundry.org:10004 [2022-01-29T22:41:16.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:16.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:16.284Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:16.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:16.284Z] [2022-01-29T22:41:16.284Z] Login Succeeded [2022-01-29T22:41:16.284Z] docker.io [2022-01-29T22:41:16.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:16.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:16.820Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:16.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:16.820Z] [2022-01-29T22:41:16.820Z] Login Succeeded [2022-01-29T22:41:16.820Z] ---> docker-login.sh ends [Pipeline] } [2022-01-29T22:41:16.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-29T22:41:17.221Z] + git rev-list -1 --merges c94c12fb1a2ef65a7c7423789d091cf870435aae~1..c94c12fb1a2ef65a7c7423789d091cf870435aae [Pipeline] echo [2022-01-29T22:41:17.251Z] -----------> git rev-list -1 --merges c94c12fb1a2ef65a7c7423789d091cf870435aae~1..c94c12fb1a2ef65a7c7423789d091cf870435aae c94c12fb1a2ef65a7c7423789d091cf870435aae [2022-01-29T22:41:17.251Z] c94c12fb1a2ef65a7c7423789d091cf870435aae [false] [Pipeline] sh [2022-01-29T22:41:17.564Z] + git log --format=format:%s -1 c94c12fb1a2ef65a7c7423789d091cf870435aae [Pipeline] echo [2022-01-29T22:41:17.584Z] ========================================================= [2022-01-29T22:41:17.584Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-29T22:41:17.584Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-29T22:41:17.949Z] + git log --format=format:%s -1 c94c12fb1a2ef65a7c7423789d091cf870435aae [Pipeline] echo [2022-01-29T22:41:17.962Z] [semverPrep] GIT_COMMIT: c94c12fb1a2ef65a7c7423789d091cf870435aae, Commit Message: Merge commit 'dd2488f44e7de249a3f057dee004478318674dba' into HEAD [Pipeline] echo [2022-01-29T22:41:17.972Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-29T22:41:18.407Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-29T22:41:18.407Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-29T22:41:18.407Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-29T22:41:18.407Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-29T22:41:18.407Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-29T22:41:18.407Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-29T22:41:18.407Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:41:18.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T22:41:18.833Z] [2022-01-29T22:41:18.833Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:41:19.151Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T22:41:19.151Z] latest: Pulling from edgex-devops/git-semver [2022-01-29T22:41:19.151Z] a0d0a0d46f8b: Pulling fs layer [2022-01-29T22:41:19.151Z] 3e5f54012d9b: Pulling fs layer [2022-01-29T22:41:19.151Z] 4c7163046ea9: Pulling fs layer [2022-01-29T22:41:19.151Z] 0c2d73faf560: Pulling fs layer [2022-01-29T22:41:19.151Z] 0c2d73faf560: Waiting [2022-01-29T22:41:19.151Z] 3e5f54012d9b: Verifying Checksum [2022-01-29T22:41:19.151Z] 3e5f54012d9b: Download complete [2022-01-29T22:41:19.151Z] a0d0a0d46f8b: Verifying Checksum [2022-01-29T22:41:19.151Z] a0d0a0d46f8b: Download complete [2022-01-29T22:41:19.151Z] 0c2d73faf560: Verifying Checksum [2022-01-29T22:41:19.151Z] 0c2d73faf560: Download complete [2022-01-29T22:41:19.420Z] 4c7163046ea9: Verifying Checksum [2022-01-29T22:41:19.420Z] 4c7163046ea9: Download complete [2022-01-29T22:41:19.420Z] a0d0a0d46f8b: Pull complete [2022-01-29T22:41:19.420Z] 3e5f54012d9b: Pull complete [2022-01-29T22:41:19.685Z] 4c7163046ea9: Pull complete [2022-01-29T22:41:19.949Z] 0c2d73faf560: Pull complete [2022-01-29T22:41:19.949Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-29T22:41:19.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-29T22:41:19.949Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-29T22:41:20.024Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2022-01-29T22:41:20.076Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-29T22:41:20.670Z] $ docker top e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-29T22:41:20.795Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-29T22:41:20.795Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-29T22:41:20.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-29T22:41:20.926Z] $ docker exec e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 ssh-agent [2022-01-29T22:41:21.044Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmfLFGK/agent.12 [2022-01-29T22:41:21.044Z] SSH_AGENT_PID=19 [2022-01-29T22:41:21.054Z] Running ssh-add (command line suppressed) [2022-01-29T22:41:21.153Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_4925234786266492585.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_4925234786266492585.key) [2022-01-29T22:41:21.167Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-29T22:41:21.469Z] + git tag --points-at HEAD [Pipeline] } [2022-01-29T22:41:21.495Z] $ docker exec --env ******** --env ******** e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 ssh-agent -k [2022-01-29T22:41:21.592Z] unset SSH_AUTH_SOCK; [2022-01-29T22:41:21.593Z] unset SSH_AGENT_PID; [2022-01-29T22:41:21.593Z] echo Agent pid 19 killed; [2022-01-29T22:41:21.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-29T22:41:21.633Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-29T22:41:21.633Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-29T22:41:21.746Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-29T22:41:21.747Z] $ docker exec e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 ssh-agent [2022-01-29T22:41:21.860Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGmnmDE/agent.51 [2022-01-29T22:41:21.860Z] SSH_AGENT_PID=57 [2022-01-29T22:41:21.866Z] Running ssh-add (command line suppressed) [2022-01-29T22:41:21.967Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_7727378840305241336.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_7727378840305241336.key) [2022-01-29T22:41:21.982Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-29T22:41:22.293Z] + git semver init [2022-01-29T22:41:22.293Z] # -> Open(): unable to determine branch for HEAD [2022-01-29T22:41:22.293Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-29T22:41:22.293Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-29T22:41:22.293Z] # $SEMVER_REMOTE_NAME = origin [2022-01-29T22:41:22.293Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-29T22:41:22.293Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-29T22:41:22.293Z] # $SEMVER_BRANCH = PR-1073 [2022-01-29T22:41:22.293Z] # $SEMVER_TEMP = /tmp/semver-954977852 [2022-01-29T22:41:22.293Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-29T22:41:23.239Z] # '/tmp/semver-954977852' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-29T22:41:23.240Z] # -> Force: false [2022-01-29T22:41:23.240Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-29T22:41:23.250Z] $ docker exec --env ******** --env ******** e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 ssh-agent -k [2022-01-29T22:41:23.346Z] unset SSH_AUTH_SOCK; [2022-01-29T22:41:23.348Z] unset SSH_AGENT_PID; [2022-01-29T22:41:23.348Z] echo Agent pid 57 killed; [2022-01-29T22:41:23.359Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-29T22:41:23.681Z] + git semver [Pipeline] } [2022-01-29T22:41:23.693Z] $ docker stop --time=1 e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 [2022-01-29T22:41:24.939Z] $ docker rm -f e6adb6b797c415e8d96920ec36a5c2f53846b2b5088a5cb75137c298073bf2a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-29T22:41:25.300Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-29T22:41:25.544Z] Stashed 1 file(s) [Pipeline] echo [2022-01-29T22:41:25.548Z] [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-29T22:41:25.687Z] provisioning config files... [2022-01-29T22:41:25.697Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config576706243683270234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:41:26.008Z] ---> docker-login.sh [2022-01-29T22:41:26.008Z] nexus3.edgexfoundry.org:10001 [2022-01-29T22:41:26.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:26.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:26.008Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:26.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:26.008Z] [2022-01-29T22:41:26.008Z] Login Succeeded [2022-01-29T22:41:26.008Z] nexus3.edgexfoundry.org:10002 [2022-01-29T22:41:26.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:26.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:26.008Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:26.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:26.008Z] [2022-01-29T22:41:26.008Z] Login Succeeded [2022-01-29T22:41:26.008Z] nexus3.edgexfoundry.org:10003 [2022-01-29T22:41:26.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:26.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:26.270Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:26.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:26.270Z] [2022-01-29T22:41:26.270Z] Login Succeeded [2022-01-29T22:41:26.270Z] nexus3.edgexfoundry.org:10004 [2022-01-29T22:41:26.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:26.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:26.270Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:26.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:26.270Z] [2022-01-29T22:41:26.270Z] Login Succeeded [2022-01-29T22:41:26.270Z] docker.io [2022-01-29T22:41:26.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:41:26.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:41:26.792Z] Configure a credential helper to remove this warning. See [2022-01-29T22:41:26.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:41:26.792Z] [2022-01-29T22:41:26.792Z] Login Succeeded [2022-01-29T22:41:26.792Z] ---> docker-login.sh ends [Pipeline] } [2022-01-29T22:41:26.800Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-29T22:41:26.873Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-29T22:41:26.887Z] ========================================================= [2022-01-29T22:41:26.887Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-29T22:41:26.887Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:41:27.199Z] + 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-29T22:41:27.199Z] Sending build context to Docker daemon 33.86MB [2022-01-29T22:41:27.199Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-29T22:41:27.199Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-29T22:41:27.469Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-29T22:41:27.469Z] 59bf1c3509f3: Pulling fs layer [2022-01-29T22:41:27.469Z] 666ba61612fd: Pulling fs layer [2022-01-29T22:41:27.469Z] 8ed8ca486205: Pulling fs layer [2022-01-29T22:41:27.469Z] 4fe6c5a15a65: Pulling fs layer [2022-01-29T22:41:27.469Z] 22a0e8bec74d: Pulling fs layer [2022-01-29T22:41:27.469Z] f965cba54748: Pulling fs layer [2022-01-29T22:41:27.469Z] 861ffc35075e: Pulling fs layer [2022-01-29T22:41:27.469Z] 4b385c91608e: Pulling fs layer [2022-01-29T22:41:27.469Z] 560528eb2ebb: Pulling fs layer [2022-01-29T22:41:27.469Z] 4fe6c5a15a65: Waiting [2022-01-29T22:41:27.469Z] 22a0e8bec74d: Waiting [2022-01-29T22:41:27.469Z] f965cba54748: Waiting [2022-01-29T22:41:27.469Z] 861ffc35075e: Waiting [2022-01-29T22:41:27.469Z] 4b385c91608e: Waiting [2022-01-29T22:41:27.469Z] 560528eb2ebb: Waiting [2022-01-29T22:41:27.469Z] 8ed8ca486205: Verifying Checksum [2022-01-29T22:41:27.469Z] 8ed8ca486205: Download complete [2022-01-29T22:41:27.469Z] 666ba61612fd: Verifying Checksum [2022-01-29T22:41:27.469Z] 666ba61612fd: Download complete [2022-01-29T22:41:27.469Z] 22a0e8bec74d: Verifying Checksum [2022-01-29T22:41:27.469Z] 22a0e8bec74d: Download complete [2022-01-29T22:41:27.469Z] f965cba54748: Verifying Checksum [2022-01-29T22:41:27.469Z] f965cba54748: Download complete [2022-01-29T22:41:27.469Z] 59bf1c3509f3: Verifying Checksum [2022-01-29T22:41:27.469Z] 59bf1c3509f3: Download complete [2022-01-29T22:41:27.469Z] 861ffc35075e: Verifying Checksum [2022-01-29T22:41:27.469Z] 861ffc35075e: Download complete [2022-01-29T22:41:27.740Z] 4b385c91608e: Verifying Checksum [2022-01-29T22:41:27.740Z] 4b385c91608e: Download complete [2022-01-29T22:41:27.740Z] 59bf1c3509f3: Pull complete [2022-01-29T22:41:28.002Z] 4fe6c5a15a65: Verifying Checksum [2022-01-29T22:41:28.002Z] 4fe6c5a15a65: Download complete [2022-01-29T22:41:28.261Z] 666ba61612fd: Pull complete [2022-01-29T22:41:28.261Z] 560528eb2ebb: Verifying Checksum [2022-01-29T22:41:28.261Z] 560528eb2ebb: Download complete [2022-01-29T22:41:28.261Z] 8ed8ca486205: Pull complete [2022-01-29T22:41:32.494Z] 4fe6c5a15a65: Pull complete [2022-01-29T22:41:32.494Z] 22a0e8bec74d: Pull complete [2022-01-29T22:41:32.494Z] f965cba54748: Pull complete [2022-01-29T22:41:32.494Z] 861ffc35075e: Pull complete [2022-01-29T22:41:32.760Z] 4b385c91608e: Pull complete [2022-01-29T22:41:35.319Z] 560528eb2ebb: Pull complete [2022-01-29T22:41:35.583Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-29T22:41:35.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-29T22:41:35.583Z] ---> dd4a08f94e63 [2022-01-29T22:41:35.583Z] Step 3/11 : ARG MAKE=make build [2022-01-29T22:41:37.501Z] ---> Running in d5fb42e5b1cb [2022-01-29T22:41:37.501Z] Removing intermediate container d5fb42e5b1cb [2022-01-29T22:41:37.501Z] ---> b40a44ed3cc1 [2022-01-29T22:41:37.501Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-29T22:41:37.501Z] ---> Running in 4f86dbd3c206 [2022-01-29T22:41:37.501Z] Removing intermediate container 4f86dbd3c206 [2022-01-29T22:41:37.501Z] ---> 588f99700f28 [2022-01-29T22:41:37.501Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-29T22:41:37.501Z] ---> Running in 82deb52373c0 [2022-01-29T22:41:37.501Z] Removing intermediate container 82deb52373c0 [2022-01-29T22:41:37.501Z] ---> 34451e1cef1a [2022-01-29T22:41:37.501Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-29T22:41:37.501Z] ---> Running in 2c3b53698236 [2022-01-29T22:41:38.071Z] Removing intermediate container 2c3b53698236 [2022-01-29T22:41:38.071Z] ---> 45ada860cd2e [2022-01-29T22:41:38.071Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-29T22:41:38.071Z] ---> Running in 5fb50ec073b1 [2022-01-29T22:41:38.331Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-29T22:41:39.315Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-29T22:41:39.581Z] OK: 221 MiB in 52 packages [2022-01-29T22:41:39.847Z] Removing intermediate container 5fb50ec073b1 [2022-01-29T22:41:39.847Z] ---> a4f8600bda2f [2022-01-29T22:41:39.847Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-29T22:41:39.847Z] ---> b222f0a7fd43 [2022-01-29T22:41:39.847Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-29T22:41:39.847Z] ---> Running in 797b32b5c18c [2022-01-29T22:41:40.657Z] Still waiting to schedule task [2022-01-29T22:41:40.657Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-29T22:42:12.005Z] Removing intermediate container 797b32b5c18c [2022-01-29T22:42:12.005Z] ---> 32aa73020e75 [2022-01-29T22:42:12.005Z] Step 10/11 : COPY . . [2022-01-29T22:42:12.005Z] ---> 35d1eb4be4b1 [2022-01-29T22:42:12.005Z] Step 11/11 : RUN ${MAKE} [2022-01-29T22:42:12.005Z] ---> Running in b60f5b42dc8e [2022-01-29T22:42:12.005Z] noop [2022-01-29T22:42:12.005Z] Removing intermediate container b60f5b42dc8e [2022-01-29T22:42:12.005Z] ---> 77ccb54b9ed1 [2022-01-29T22:42:12.005Z] Successfully built 77ccb54b9ed1 [2022-01-29T22:42:12.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:42:12.317Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-29T22:42:12.317Z] . [Pipeline] withDockerContainer [2022-01-29T22:42:12.392Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2022-01-29T22:42:12.428Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-29T22:42:12.824Z] $ docker top 8d80f917d7e2160cce6ed58225b52db3ac37d2e1a1bfb1705800388425a9ce35 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T22:42:13.195Z] + go version [2022-01-29T22:42:13.195Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-29T22:42:13.207Z] $ docker stop --time=1 8d80f917d7e2160cce6ed58225b52db3ac37d2e1a1bfb1705800388425a9ce35 [2022-01-29T22:42:14.416Z] $ docker rm -f 8d80f917d7e2160cce6ed58225b52db3ac37d2e1a1bfb1705800388425a9ce35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:42:14.838Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-29T22:42:14.838Z] . [Pipeline] withDockerContainer [2022-01-29T22:42:14.912Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2022-01-29T22:42:14.949Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-29T22:42:15.290Z] $ docker top 90d969c5f272ff98c05d8c43950a8e93746ff53c05713d2cb6c845ab7f19a027 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-29T22:42:15.675Z] + make test [2022-01-29T22:42:15.675Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-29T22:42:15.943Z] 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-29T22:42:15.943Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-29T22:42:15.943Z] 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-29T22:42:15.943Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-29T22:42:15.943Z] 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-29T22:42:15.943Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-29T22:42:15.943Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-29T22:42:15.957Z] $ docker stop --time=1 90d969c5f272ff98c05d8c43950a8e93746ff53c05713d2cb6c845ab7f19a027 [2022-01-29T22:42:17.147Z] $ docker rm -f 90d969c5f272ff98c05d8c43950a8e93746ff53c05713d2cb6c845ab7f19a027 [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-29T22:42:17.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T22:42:17.626Z] [2022-01-29T22:42:17.626Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:42:17.935Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T22:42:17.935Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-29T22:42:17.935Z] b4d181a07f80: Pulling fs layer [2022-01-29T22:42:17.935Z] a1111a8f2ec3: Pulling fs layer [2022-01-29T22:42:17.935Z] ed53099fbce6: Pulling fs layer [2022-01-29T22:42:17.935Z] dc539afda2c1: Pulling fs layer [2022-01-29T22:42:17.935Z] 77bc0d833cb6: Pulling fs layer [2022-01-29T22:42:17.935Z] 9065ff56babe: Pulling fs layer [2022-01-29T22:42:17.935Z] d287ab97295c: Pulling fs layer [2022-01-29T22:42:17.935Z] dc539afda2c1: Waiting [2022-01-29T22:42:17.935Z] 77bc0d833cb6: Waiting [2022-01-29T22:42:17.935Z] 9065ff56babe: Waiting [2022-01-29T22:42:17.935Z] d287ab97295c: Waiting [2022-01-29T22:42:17.935Z] a1111a8f2ec3: Verifying Checksum [2022-01-29T22:42:17.935Z] a1111a8f2ec3: Download complete [2022-01-29T22:42:17.935Z] dc539afda2c1: Verifying Checksum [2022-01-29T22:42:17.935Z] dc539afda2c1: Download complete [2022-01-29T22:42:17.935Z] ed53099fbce6: Verifying Checksum [2022-01-29T22:42:17.935Z] ed53099fbce6: Download complete [2022-01-29T22:42:17.935Z] 9065ff56babe: Verifying Checksum [2022-01-29T22:42:17.935Z] 9065ff56babe: Download complete [2022-01-29T22:42:18.198Z] 77bc0d833cb6: Verifying Checksum [2022-01-29T22:42:18.198Z] 77bc0d833cb6: Download complete [2022-01-29T22:42:18.198Z] b4d181a07f80: Verifying Checksum [2022-01-29T22:42:18.198Z] b4d181a07f80: Download complete [2022-01-29T22:42:18.774Z] d287ab97295c: Verifying Checksum [2022-01-29T22:42:18.774Z] d287ab97295c: Download complete [2022-01-29T22:42:19.720Z] b4d181a07f80: Pull complete [2022-01-29T22:42:19.986Z] a1111a8f2ec3: Pull complete [2022-01-29T22:42:20.566Z] ed53099fbce6: Pull complete [2022-01-29T22:42:20.566Z] dc539afda2c1: Pull complete [2022-01-29T22:42:21.158Z] 77bc0d833cb6: Pull complete [2022-01-29T22:42:21.158Z] 9065ff56babe: Pull complete [2022-01-29T22:42:27.793Z] d287ab97295c: Pull complete [2022-01-29T22:42:27.793Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-29T22:42:27.793Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T22:42:27.793Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-29T22:42:27.865Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2022-01-29T22:42:27.898Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-29T22:42:30.298Z] $ docker top b93d0f3863b230983d887f853f6ac0a15e1864708e05448d8b5fb29931f20867 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:42:30.746Z] ---> job-cost.sh [2022-01-29T22:42:30.746Z] lf-activate-venv: SKIPPING [2022-01-29T22:42:30.746Z] INFO: No Stack... [2022-01-29T22:42:31.006Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-29T22:42:31.583Z] INFO: Archiving Costs [Pipeline] sh [2022-01-29T22:42:31.881Z] + cut -d, -f6 [2022-01-29T22:42:31.881Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [Pipeline] lock [2022-01-29T22:42:31.899Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [2022-01-29T22:42:31.908Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] did not exist. Created. [2022-01-29T22:42:31.908Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-29T22:42:32.225Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-29T22:42:32.265Z] Stashed 1 file(s) [Pipeline] } [2022-01-29T22:42:32.272Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-29T22:42:32.289Z] $ docker stop --time=1 b93d0f3863b230983d887f853f6ac0a15e1864708e05448d8b5fb29931f20867 [2022-01-29T22:42:33.440Z] $ docker rm -f b93d0f3863b230983d887f853f6ac0a15e1864708e05448d8b5fb29931f20867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-29T22:42:33.547Z] Failed in branch amd64 [2022-01-29T22:43:05.860Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4228 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-29T22:43:05.873Z] Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout [2022-01-29T22:43:06.055Z] The recommended git tool is: git [2022-01-29T22:43:10.579Z] using credential edgex-jenkins-ssh [2022-01-29T22:43:10.597Z] Cloning the remote Git repository [2022-01-29T22:43:10.654Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-29T22:43:10.725Z] > git init /w/workspace/device-sdk-go/10 # timeout=10 [2022-01-29T22:43:10.811Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-29T22:43:10.812Z] > git --version # timeout=10 [2022-01-29T22:43:10.828Z] > git --version # 'git version 2.17.1' [2022-01-29T22:43:10.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T22:43:10.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-29T22:43:12.439Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-29T22:43:12.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-29T22:43:12.537Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-29T22:43:12.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-29T22:43:12.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T22:43:12.620Z] > 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-29T22:43:15.502Z] Merging remotes/origin/main commit dd2488f44e7de249a3f057dee004478318674dba into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-29T22:43:15.813Z] Merge succeeded, producing a83ef47174334c41610966b9d152aa3c9d0a893f [2022-01-29T22:43:15.813Z] Checking out Revision a83ef47174334c41610966b9d152aa3c9d0a893f (PR-1073) [2022-01-29T22:43:15.521Z] > git config core.sparsecheckout # timeout=10 [2022-01-29T22:43:15.538Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-29T22:43:15.636Z] > git remote # timeout=10 [2022-01-29T22:43:15.659Z] > git config --get remote.origin.url # timeout=10 [2022-01-29T22:43:15.677Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-29T22:43:15.688Z] > git merge dd2488f44e7de249a3f057dee004478318674dba # timeout=10 [2022-01-29T22:43:15.798Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-29T22:43:15.820Z] > git config core.sparsecheckout # timeout=10 [2022-01-29T22:43:15.833Z] > git checkout -f a83ef47174334c41610966b9d152aa3c9d0a893f # timeout=10 [2022-01-29T22:43:19.924Z] Commit message: "Merge commit 'dd2488f44e7de249a3f057dee004478318674dba' into HEAD" [2022-01-29T22:43:19.952Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-29T22:43:19.933Z] > git rev-list --no-walk 97a810a301a1691c65c7fa6442644f4fb86250c8 # timeout=10 [2022-01-29T22:43:20.818Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-29T22:43:20.818Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-29T22:43:20.818Z] Dload Upload Total Spent Left Speed [2022-01-29T22:43:20.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 97073 0 --:--:-- --:--:-- --:--:-- 97073 [Pipeline] sh [2022-01-29T22:43:21.336Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-29T22:43:21.678Z] + + sudo tee /etc/docker/daemon.newsudo [2022-01-29T22:43:21.678Z] jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-29T22:43:21.678Z] { [2022-01-29T22:43:21.678Z] "registry-mirrors": [ [2022-01-29T22:43:21.678Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-29T22:43:21.678Z] ], [2022-01-29T22:43:21.678Z] "bip": "10.250.0.254/24", [2022-01-29T22:43:21.678Z] "hosts": [ [2022-01-29T22:43:21.678Z] "tcp://0.0.0.0:5555", [2022-01-29T22:43:21.678Z] "unix:///var/run/docker.sock" [2022-01-29T22:43:21.678Z] ], [2022-01-29T22:43:21.678Z] "mtu": 1458, [2022-01-29T22:43:21.678Z] "selinux-enabled": true, [2022-01-29T22:43:21.678Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-29T22:43:21.678Z] } [Pipeline] sh [2022-01-29T22:43:22.074Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-29T22:43:22.418Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T22:43:40.745Z] provisioning config files... [2022-01-29T22:43:40.769Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config1880405199570454879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:43:41.119Z] ---> docker-login.sh [2022-01-29T22:43:41.119Z] nexus3.edgexfoundry.org:10001 [2022-01-29T22:43:41.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:43:41.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:43:41.983Z] Configure a credential helper to remove this warning. See [2022-01-29T22:43:41.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:43:41.983Z] [2022-01-29T22:43:41.983Z] Login Succeeded [2022-01-29T22:43:41.983Z] nexus3.edgexfoundry.org:10002 [2022-01-29T22:43:42.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:43:42.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:43:42.255Z] Configure a credential helper to remove this warning. See [2022-01-29T22:43:42.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:43:42.255Z] [2022-01-29T22:43:42.255Z] Login Succeeded [2022-01-29T22:43:42.255Z] nexus3.edgexfoundry.org:10003 [2022-01-29T22:43:42.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:43:42.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:43:42.800Z] Configure a credential helper to remove this warning. See [2022-01-29T22:43:42.800Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:43:42.800Z] [2022-01-29T22:43:42.800Z] Login Succeeded [2022-01-29T22:43:42.800Z] nexus3.edgexfoundry.org:10004 [2022-01-29T22:43:43.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:43:43.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:43:43.076Z] Configure a credential helper to remove this warning. See [2022-01-29T22:43:43.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:43:43.076Z] [2022-01-29T22:43:43.076Z] Login Succeeded [2022-01-29T22:43:43.076Z] docker.io [2022-01-29T22:43:43.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-29T22:43:43.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-29T22:43:43.621Z] Configure a credential helper to remove this warning. See [2022-01-29T22:43:43.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-29T22:43:43.621Z] [2022-01-29T22:43:43.621Z] Login Succeeded [2022-01-29T22:43:43.621Z] ---> docker-login.sh ends [Pipeline] } [2022-01-29T22:43:43.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-29T22:43:44.085Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-29T22:43:44.094Z] ========================================================= [2022-01-29T22:43:44.094Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-29T22:43:44.094Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:43:44.452Z] + 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-29T22:43:45.045Z] Sending build context to Docker daemon 29.52MB [2022-01-29T22:43:45.045Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-29T22:43:45.045Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-29T22:43:45.322Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-29T22:43:45.322Z] 9b3977197b4f: Pulling fs layer [2022-01-29T22:43:45.322Z] 1a89e8eeedd5: Pulling fs layer [2022-01-29T22:43:45.322Z] 94645a83ff95: Pulling fs layer [2022-01-29T22:43:45.322Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-29T22:43:45.322Z] 0c92f367c5e7: Pulling fs layer [2022-01-29T22:43:45.322Z] 4b8299f9d1f4: Pulling fs layer [2022-01-29T22:43:45.322Z] 9a6b49a46696: Pulling fs layer [2022-01-29T22:43:45.322Z] cf05db05a679: Pulling fs layer [2022-01-29T22:43:45.322Z] 0c92f367c5e7: Waiting [2022-01-29T22:43:45.322Z] 4b8299f9d1f4: Waiting [2022-01-29T22:43:45.322Z] 9a6b49a46696: Waiting [2022-01-29T22:43:45.322Z] cf05db05a679: Waiting [2022-01-29T22:43:45.322Z] 3f3a8bcf1eab: Waiting [2022-01-29T22:43:45.322Z] 94645a83ff95: Verifying Checksum [2022-01-29T22:43:45.322Z] 94645a83ff95: Download complete [2022-01-29T22:43:45.322Z] 1a89e8eeedd5: Download complete [2022-01-29T22:43:45.322Z] 0c92f367c5e7: Verifying Checksum [2022-01-29T22:43:45.322Z] 0c92f367c5e7: Download complete [2022-01-29T22:43:45.322Z] 4b8299f9d1f4: Verifying Checksum [2022-01-29T22:43:45.322Z] 4b8299f9d1f4: Download complete [2022-01-29T22:43:45.322Z] 9b3977197b4f: Verifying Checksum [2022-01-29T22:43:45.322Z] 9b3977197b4f: Download complete [2022-01-29T22:43:45.322Z] 9a6b49a46696: Verifying Checksum [2022-01-29T22:43:45.322Z] 9a6b49a46696: Download complete [2022-01-29T22:43:45.928Z] 9b3977197b4f: Pull complete [2022-01-29T22:43:46.526Z] 1a89e8eeedd5: Pull complete [2022-01-29T22:43:46.804Z] 94645a83ff95: Pull complete [2022-01-29T22:43:47.077Z] cf05db05a679: Verifying Checksum [2022-01-29T22:43:47.077Z] cf05db05a679: Download complete [2022-01-29T22:43:47.672Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-29T22:43:47.672Z] 3f3a8bcf1eab: Download complete [2022-01-29T22:44:00.079Z] 3f3a8bcf1eab: Pull complete [2022-01-29T22:44:00.079Z] 0c92f367c5e7: Pull complete [2022-01-29T22:44:00.079Z] 4b8299f9d1f4: Pull complete [2022-01-29T22:44:00.079Z] 9a6b49a46696: Pull complete [2022-01-29T22:44:05.474Z] cf05db05a679: Pull complete [2022-01-29T22:44:05.746Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-29T22:44:05.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-29T22:44:05.746Z] ---> 0ccda1f7e2ee [2022-01-29T22:44:05.746Z] Step 3/11 : ARG MAKE=make build [2022-01-29T22:44:07.728Z] ---> Running in 2d106e8dd63a [2022-01-29T22:44:07.728Z] Removing intermediate container 2d106e8dd63a [2022-01-29T22:44:07.728Z] ---> 458fbb58b1ca [2022-01-29T22:44:07.728Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-29T22:44:07.728Z] ---> Running in b7ec9326bac5 [2022-01-29T22:44:08.323Z] Removing intermediate container b7ec9326bac5 [2022-01-29T22:44:08.323Z] ---> 5334a61ae2af [2022-01-29T22:44:08.323Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-29T22:44:08.323Z] ---> Running in 75d62f66e90b [2022-01-29T22:44:08.595Z] Removing intermediate container 75d62f66e90b [2022-01-29T22:44:08.595Z] ---> 1761e00c3cf8 [2022-01-29T22:44:08.595Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-29T22:44:08.870Z] ---> Running in aa83ba2c3a13 [2022-01-29T22:44:10.846Z] Removing intermediate container aa83ba2c3a13 [2022-01-29T22:44:10.846Z] ---> fed9f3049a01 [2022-01-29T22:44:10.846Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-29T22:44:10.846Z] ---> Running in 8ed39bb70571 [2022-01-29T22:44:11.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-29T22:44:12.410Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-29T22:44:13.382Z] OK: 220 MiB in 52 packages [2022-01-29T22:44:13.990Z] Removing intermediate container 8ed39bb70571 [2022-01-29T22:44:13.990Z] ---> 8dbb957db174 [2022-01-29T22:44:13.990Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-29T22:44:14.586Z] ---> 569a2f5004ec [2022-01-29T22:44:14.586Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-29T22:44:14.586Z] ---> Running in 783e35617714 [2022-01-29T22:45:36.367Z] Removing intermediate container 783e35617714 [2022-01-29T22:45:36.367Z] ---> 9e3684752fd6 [2022-01-29T22:45:36.367Z] Step 10/11 : COPY . . [2022-01-29T22:45:36.367Z] ---> 5b98aab540b6 [2022-01-29T22:45:36.367Z] Step 11/11 : RUN ${MAKE} [2022-01-29T22:45:36.367Z] ---> Running in e5e6c2e06700 [2022-01-29T22:45:36.367Z] noop [2022-01-29T22:45:36.367Z] Removing intermediate container e5e6c2e06700 [2022-01-29T22:45:36.367Z] ---> 72623d501297 [2022-01-29T22:45:36.367Z] Successfully built 72623d501297 [2022-01-29T22:45:36.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:45:36.707Z] + docker inspect -f . ci-base-image-arm64 [2022-01-29T22:45:36.707Z] . [Pipeline] withDockerContainer [2022-01-29T22:45:36.924Z] prd-ubuntu18.04-docker-arm64-4c-16g-4228 does not seem to be running inside a container [2022-01-29T22:45:37.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-29T22:45:38.255Z] $ docker top e834cb4264f41114f325a0d1eadef15da50e695dff461be73fd1089d547ded2e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T22:45:39.112Z] + go version [2022-01-29T22:45:39.112Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-29T22:45:39.132Z] $ docker stop --time=1 e834cb4264f41114f325a0d1eadef15da50e695dff461be73fd1089d547ded2e [2022-01-29T22:45:40.726Z] $ docker rm -f e834cb4264f41114f325a0d1eadef15da50e695dff461be73fd1089d547ded2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:45:41.287Z] + docker inspect -f . ci-base-image-arm64 [2022-01-29T22:45:41.287Z] . [Pipeline] withDockerContainer [2022-01-29T22:45:41.474Z] prd-ubuntu18.04-docker-arm64-4c-16g-4228 does not seem to be running inside a container [2022-01-29T22:45:41.548Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-29T22:45:42.796Z] $ docker top e6258083f2ea6aa93479fa2364194684ab12c32ad31ccd1c39e7c0fe097b9c2c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-29T22:45:43.698Z] + make test [2022-01-29T22:45:43.698Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-29T22:45:44.676Z] 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-29T22:45:44.676Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-29T22:45:44.676Z] 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-29T22:45:44.676Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-29T22:45:44.676Z] 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-29T22:45:44.676Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-29T22:45:44.676Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-29T22:45:44.698Z] $ docker stop --time=1 e6258083f2ea6aa93479fa2364194684ab12c32ad31ccd1c39e7c0fe097b9c2c [2022-01-29T22:45:46.339Z] $ docker rm -f e6258083f2ea6aa93479fa2364194684ab12c32ad31ccd1c39e7c0fe097b9c2c [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-29T22:45:46.991Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T22:45:46.991Z] [2022-01-29T22:45:46.991Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:45:47.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T22:45:47.615Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-29T22:45:47.615Z] 448f6bf000e3: Pulling fs layer [2022-01-29T22:45:47.615Z] f757da607395: Pulling fs layer [2022-01-29T22:45:47.615Z] 05883995daec: Pulling fs layer [2022-01-29T22:45:47.615Z] 8603b9c90790: Pulling fs layer [2022-01-29T22:45:47.615Z] 1560dd03e051: Pulling fs layer [2022-01-29T22:45:47.615Z] 27f5ce0e4adf: Pulling fs layer [2022-01-29T22:45:47.615Z] c2d8d7efcc4b: Pulling fs layer [2022-01-29T22:45:47.615Z] 1560dd03e051: Waiting [2022-01-29T22:45:47.615Z] 27f5ce0e4adf: Waiting [2022-01-29T22:45:47.615Z] 8603b9c90790: Waiting [2022-01-29T22:45:47.615Z] c2d8d7efcc4b: Waiting [2022-01-29T22:45:47.615Z] f757da607395: Download complete [2022-01-29T22:45:47.615Z] 8603b9c90790: Verifying Checksum [2022-01-29T22:45:47.615Z] 8603b9c90790: Download complete [2022-01-29T22:45:47.615Z] 1560dd03e051: Verifying Checksum [2022-01-29T22:45:47.615Z] 1560dd03e051: Download complete [2022-01-29T22:45:47.889Z] 27f5ce0e4adf: Verifying Checksum [2022-01-29T22:45:47.889Z] 27f5ce0e4adf: Download complete [2022-01-29T22:45:47.889Z] 05883995daec: Verifying Checksum [2022-01-29T22:45:47.889Z] 05883995daec: Download complete [2022-01-29T22:45:48.175Z] 448f6bf000e3: Verifying Checksum [2022-01-29T22:45:48.175Z] 448f6bf000e3: Download complete [2022-01-29T22:45:50.796Z] c2d8d7efcc4b: Verifying Checksum [2022-01-29T22:45:50.796Z] c2d8d7efcc4b: Download complete [2022-01-29T22:45:51.781Z] 448f6bf000e3: Pull complete [2022-01-29T22:45:52.380Z] f757da607395: Pull complete [2022-01-29T22:45:53.833Z] 05883995daec: Pull complete [2022-01-29T22:45:54.109Z] 8603b9c90790: Pull complete [2022-01-29T22:45:55.086Z] 1560dd03e051: Pull complete [2022-01-29T22:45:55.086Z] 27f5ce0e4adf: Pull complete [2022-01-29T22:46:10.184Z] c2d8d7efcc4b: Pull complete [2022-01-29T22:46:10.184Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-29T22:46:10.184Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-29T22:46:10.184Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-29T22:46:10.388Z] prd-ubuntu18.04-docker-arm64-4c-16g-4228 does not seem to be running inside a container [2022-01-29T22:46:10.464Z] $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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-29T22:46:12.999Z] $ docker top 6caebff2277e9aa48163dd34b9d064b98a4ed260eb5b90fe1cfd04fc23e0d50e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:13.873Z] ---> job-cost.sh [2022-01-29T22:46:13.873Z] lf-activate-venv: SKIPPING [2022-01-29T22:46:13.873Z] INFO: No Stack... [2022-01-29T22:46:14.144Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-29T22:46:14.413Z] INFO: Archiving Costs [Pipeline] sh [2022-01-29T22:46:15.063Z] + cut -d, -f6 [2022-01-29T22:46:15.063Z] + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock [2022-01-29T22:46:15.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [2022-01-29T22:46:15.148Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] did not exist. Created. [2022-01-29T22:46:15.149Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-29T22:46:15.495Z] /w/workspace/device-sdk-go/10@tmp/durable-06a53fb8/script.sh: 1: /w/workspace/device-sdk-go/10@tmp/durable-06a53fb8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-29T22:46:16.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-29T22:46:16.203Z] Warning: overwriting stash ‘stack-cost’ [2022-01-29T22:46:16.903Z] Stashed 1 file(s) [Pipeline] } [2022-01-29T22:46:16.911Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-29T22:46:16.931Z] $ docker stop --time=1 6caebff2277e9aa48163dd34b9d064b98a4ed260eb5b90fe1cfd04fc23e0d50e [2022-01-29T22:46:18.445Z] $ docker rm -f 6caebff2277e9aa48163dd34b9d064b98a4ed260eb5b90fe1cfd04fc23e0d50e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-29T22:46:18.793Z] 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-29T22:46:19.567Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-01-29T22:46:19.567Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-29T22:46:19.567Z] total 8 [2022-01-29T22:46:19.567Z] drwxr-xr-x. 3 root root 34 Jan 29 22:42 . [2022-01-29T22:46:19.567Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 29 22:42 .. [2022-01-29T22:46:19.567Z] drwxr-xr-x. 2 root root 6 Jan 29 22:42 cost [2022-01-29T22:46:19.567Z] -rw-r--r--. 1 root root 86 Jan 29 22:42 cost.csv [2022-01-29T22:46:19.567Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-29T22:46:19.567Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-29T22:46:19.567Z] total 8 [2022-01-29T22:46:19.567Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 29 22:42 . [2022-01-29T22:46:19.568Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 29 22:42 .. [2022-01-29T22:46:19.568Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 29 22:42 cost [2022-01-29T22:46:19.568Z] -rw-r--r--. 1 jenkins jenkins 86 Jan 29 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:19.868Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:20.435Z] ---> package-listing.sh [2022-01-29T22:46:20.435Z] ++ facter osfamily [2022-01-29T22:46:20.435Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-29T22:46:20.698Z] + OS_FAMILY=redhat [2022-01-29T22:46:20.698Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-29T22:46:20.698Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-29T22:46:20.698Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-29T22:46:20.698Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-29T22:46:20.698Z] + PACKAGES=/tmp/packages_start.txt [2022-01-29T22:46:20.698Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-29T22:46:20.698Z] + PACKAGES=/tmp/packages_end.txt [2022-01-29T22:46:20.698Z] + case "${OS_FAMILY}" in [2022-01-29T22:46:20.698Z] + sort [2022-01-29T22:46:20.698Z] + rpm -qa [2022-01-29T22:46:21.270Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-29T22:46:21.270Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-29T22:46:21.270Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-29T22:46:21.271Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-29T22:46:21.271Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-29T22:46:21.271Z] + 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-29T22:46:21.283Z] 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-29T22:46:21.569Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-29T22:46:22.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-29T22:46:22.136Z] . [Pipeline] withDockerContainer [2022-01-29T22:46:22.203Z] prd-centos7-docker-4c-2g-4227 does not seem to be running inside a container [2022-01-29T22:46:22.247Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-29T22:46:22.490Z] $ docker top 904e194902e941184793f44c814bba58de864fa36b97148ce1aa3bd84854398f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-29T22:46:22.870Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-29T22:46:23.162Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-29T22:46:23.456Z] + ls /var/log/sa-host [2022-01-29T22:46:23.456Z] + sadf -c /var/log/sa-host/sa17 [2022-01-29T22:46:23.456Z] file_magic: OK [2022-01-29T22:46:23.457Z] HZ: Using current value: 100 [2022-01-29T22:46:23.457Z] file_header: OK [2022-01-29T22:46:23.457Z] 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-29T22:46:23.457Z] Statistics: [2022-01-29T22:46:23.457Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-29T22:46:23.457Z] File successfully converted to sysstat format version 12.0.3 [2022-01-29T22:46:23.457Z] + sadf -c /var/log/sa-host/sa29 [2022-01-29T22:46:23.457Z] file_magic: OK [2022-01-29T22:46:23.457Z] HZ: Using current value: 100 [2022-01-29T22:46:23.457Z] file_header: OK [2022-01-29T22:46:23.457Z] 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-29T22:46:23.457Z] Statistics: [2022-01-29T22:46:23.457Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-29T22:46:23.457Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-29T22:46:23.664Z] provisioning config files... [2022-01-29T22:46:23.677Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2602429458588044127tmp [Pipeline] { [Pipeline] echo [2022-01-29T22:46:23.697Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:23.990Z] ---> create-netrc.sh [Pipeline] } [2022-01-29T22:46:23.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:24.349Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-29T22:46:24.358Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:24.645Z] ---> sudo-logs.sh [2022-01-29T22:46:24.645Z] Archiving 'sudo' log.. [2022-01-29T22:46:24.645Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4227.novalocal: Name or service not known [2022-01-29T22:46:24.645Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4227.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-29T22:46:24.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:25.275Z] ---> job-cost.sh [2022-01-29T22:46:25.275Z] lf-activate-venv: SKIPPING [2022-01-29T22:46:25.275Z] DEBUG: total: 0.05999999865889549 [2022-01-29T22:46:25.275Z] INFO: Retrieving Stack Cost... [2022-01-29T22:46:25.576Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-29T22:46:25.590Z] INFO: Archiving Costs [Pipeline] echo [2022-01-29T22:46:25.597Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-29T22:46:25.888Z] ---> logs-deploy.sh [2022-01-29T22:46:25.888Z] lf-activate-venv: SKIPPING [2022-01-29T22:46:25.888Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/10 [2022-01-29T22:46:25.888Z] INFO: archiving workspace using pattern(s): [2022-01-29T22:46:26.831Z] Archives upload complete. [2022-01-29T22:46:26.831Z] INFO: archiving logs to Nexus