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 ff2bdc244935d5b40da6f20198b29dfc476efd7a rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from ff2bdc244935d5b40da6f20198b29dfc476efd7a 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-ssh12494609308701735535.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh8955318360286682545.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh1237995016744004841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh6520173859623142705.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-ssh11461068101623098135.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-5096 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-ssh37360153774817343.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-ssh1667637842522377134.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 ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 6b85ca2a31477407b26314a0ee2da33930cc289c Checking out Revision 6b85ca2a31477407b26314a0ee2da33930cc289c (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-ssh4083851678444685464.key > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b85ca2a31477407b26314a0ee2da33930cc289c # timeout=10 Commit message: "Merge commit 'ff2bdc244935d5b40da6f20198b29dfc476efd7a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-11T22:41:23.343Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-11T22:41:23.388Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-11T22:41:23.403Z] ========================================================= [2022-02-11T22:41:23.403Z] EdgeX Global Pipelines Version Info [2022-02-11T22:41:23.403Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 # timeout=10 [2022-02-11T22:41:24.981Z] ------------------- [2022-02-11T22:41:24.981Z] stable info: [2022-02-11T22:41:24.981Z] ------------------- [2022-02-11T22:41:24.981Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T22:41:24.981Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T22:41:24.981Z] Message: update stable to v1.0.220 [2022-02-11T22:41:25.551Z] ------------------- [2022-02-11T22:41:25.551Z] experimental info: [2022-02-11T22:41:25.551Z] ------------------- [2022-02-11T22:41:25.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-11T22:41:25.551Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-11T22:41:25.551Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-11T22:41:25.702Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-11T22:41:25.717Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-11T22:41:25.728Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-11T22:41:25.740Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-11T22:41:25.756Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-11T22:41:25.770Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-11T22:41:25.780Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-11T22:41:25.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-11T22:41:25.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-11T22:41:25.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-11T22:41:25.825Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-11T22:41:25.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-11T22:41:25.849Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-11T22:41:25.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-11T22:41:25.877Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-11T22:41:25.893Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T22:41:25.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T22:41:25.929Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-11T22:41:25.947Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-11T22:41:25.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-11T22:41:25.973Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-11T22:41:25.981Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-11T22:41:25.990Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-11T22:41:25.999Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-11T22:41:26.016Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-11T22:41:26.026Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-11T22:41:26.038Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-02-11T22:41:26.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-02-11T22:41:26.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-02-11T22:41:26.074Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b85ca2a31477407b26314a0ee2da33930cc289c [Pipeline] echo [2022-02-11T22:41:26.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b85ca2 [Pipeline] echo [2022-02-11T22:41:26.105Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T22:41:26.152Z] provisioning config files... [2022-02-11T22:41:26.166Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config3194715180734149475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:41:26.483Z] ---> docker-login.sh [2022-02-11T22:41:26.483Z] nexus3.edgexfoundry.org:10001 [2022-02-11T22:41:26.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:26.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:26.746Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:26.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:26.746Z] [2022-02-11T22:41:26.746Z] Login Succeeded [2022-02-11T22:41:26.746Z] nexus3.edgexfoundry.org:10002 [2022-02-11T22:41:26.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:26.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:26.746Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:26.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:26.746Z] [2022-02-11T22:41:26.746Z] Login Succeeded [2022-02-11T22:41:26.746Z] nexus3.edgexfoundry.org:10003 [2022-02-11T22:41:26.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:27.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:27.007Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:27.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:27.007Z] [2022-02-11T22:41:27.007Z] Login Succeeded [2022-02-11T22:41:27.007Z] nexus3.edgexfoundry.org:10004 [2022-02-11T22:41:27.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:27.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:27.007Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:27.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:27.007Z] [2022-02-11T22:41:27.007Z] Login Succeeded [2022-02-11T22:41:27.007Z] docker.io [2022-02-11T22:41:27.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:27.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:27.578Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:27.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:27.578Z] [2022-02-11T22:41:27.578Z] Login Succeeded [2022-02-11T22:41:27.578Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T22:41:27.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-11T22:41:27.966Z] + git rev-list -1 --merges 6b85ca2a31477407b26314a0ee2da33930cc289c~1..6b85ca2a31477407b26314a0ee2da33930cc289c [Pipeline] echo [2022-02-11T22:41:27.992Z] -----------> git rev-list -1 --merges 6b85ca2a31477407b26314a0ee2da33930cc289c~1..6b85ca2a31477407b26314a0ee2da33930cc289c 6b85ca2a31477407b26314a0ee2da33930cc289c [2022-02-11T22:41:27.992Z] 6b85ca2a31477407b26314a0ee2da33930cc289c [false] [Pipeline] sh [2022-02-11T22:41:28.286Z] + git log --format=format:%s -1 6b85ca2a31477407b26314a0ee2da33930cc289c [Pipeline] echo [2022-02-11T22:41:28.306Z] ========================================================= [2022-02-11T22:41:28.306Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-11T22:41:28.306Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T22:41:28.647Z] + git log --format=format:%s -1 6b85ca2a31477407b26314a0ee2da33930cc289c [Pipeline] echo [2022-02-11T22:41:28.660Z] [semverPrep] GIT_COMMIT: 6b85ca2a31477407b26314a0ee2da33930cc289c, Commit Message: Merge commit 'ff2bdc244935d5b40da6f20198b29dfc476efd7a' into HEAD [Pipeline] echo [2022-02-11T22:41:28.671Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-11T22:41:29.095Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-11T22:41:29.095Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-11T22:41:29.095Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-11T22:41:29.095Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-11T22:41:29.095Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-11T22:41:29.095Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-11T22:41:29.095Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:41:29.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T22:41:29.541Z] [2022-02-11T22:41:29.541Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:41:29.861Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T22:41:29.861Z] latest: Pulling from edgex-devops/git-semver [2022-02-11T22:41:29.861Z] a0d0a0d46f8b: Pulling fs layer [2022-02-11T22:41:29.861Z] 3e5f54012d9b: Pulling fs layer [2022-02-11T22:41:29.861Z] 4c7163046ea9: Pulling fs layer [2022-02-11T22:41:29.861Z] 0c2d73faf560: Pulling fs layer [2022-02-11T22:41:29.861Z] 0c2d73faf560: Waiting [2022-02-11T22:41:29.861Z] 3e5f54012d9b: Verifying Checksum [2022-02-11T22:41:29.861Z] 3e5f54012d9b: Download complete [2022-02-11T22:41:29.861Z] a0d0a0d46f8b: Verifying Checksum [2022-02-11T22:41:29.861Z] a0d0a0d46f8b: Download complete [2022-02-11T22:41:29.861Z] 0c2d73faf560: Verifying Checksum [2022-02-11T22:41:29.861Z] 0c2d73faf560: Download complete [2022-02-11T22:41:29.861Z] 4c7163046ea9: Verifying Checksum [2022-02-11T22:41:29.861Z] 4c7163046ea9: Download complete [2022-02-11T22:41:30.133Z] a0d0a0d46f8b: Pull complete [2022-02-11T22:41:30.133Z] 3e5f54012d9b: Pull complete [2022-02-11T22:41:30.400Z] 4c7163046ea9: Pull complete [2022-02-11T22:41:30.664Z] 0c2d73faf560: Pull complete [2022-02-11T22:41:30.664Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-11T22:41:30.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-11T22:41:30.664Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-11T22:41:30.735Z] prd-centos7-docker-4c-2g-5096 does not seem to be running inside a container [2022-02-11T22:41:30.641Z] $ 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-02-11T22:41:31.347Z] $ docker top cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-11T22:41:31.536Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T22:41:31.537Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T22:41:31.635Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T22:41:31.561Z] $ docker exec cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af ssh-agent [2022-02-11T22:41:31.739Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHfANLN/agent.13 [2022-02-11T22:41:31.739Z] SSH_AGENT_PID=19 [2022-02-11T22:41:31.745Z] Running ssh-add (command line suppressed) [2022-02-11T22:41:31.780Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_9101689451285126267.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_9101689451285126267.key) [2022-02-11T22:41:31.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T22:41:32.149Z] + git tag --points-at HEAD [Pipeline] } [2022-02-11T22:41:32.135Z] $ docker exec --env ******** --env ******** cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af ssh-agent -k [2022-02-11T22:41:32.236Z] unset SSH_AUTH_SOCK; [2022-02-11T22:41:32.237Z] unset SSH_AGENT_PID; [2022-02-11T22:41:32.237Z] echo Agent pid 19 killed; [2022-02-11T22:41:32.270Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-11T22:41:32.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-11T22:41:32.296Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-11T22:41:32.399Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-11T22:41:32.388Z] $ docker exec cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af ssh-agent [2022-02-11T22:41:32.496Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCjhdhb/agent.51 [2022-02-11T22:41:32.496Z] SSH_AGENT_PID=57 [2022-02-11T22:41:32.501Z] Running ssh-add (command line suppressed) [2022-02-11T22:41:32.591Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_3982181845772775554.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_3982181845772775554.key) [2022-02-11T22:41:32.606Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-11T22:41:32.908Z] + git semver init [2022-02-11T22:41:32.908Z] # -> Open(): unable to determine branch for HEAD [2022-02-11T22:41:32.908Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-02-11T22:41:32.908Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-02-11T22:41:32.908Z] # $SEMVER_REMOTE_NAME = origin [2022-02-11T22:41:32.908Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-11T22:41:32.908Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-11T22:41:32.908Z] # $SEMVER_BRANCH = PR-1073 [2022-02-11T22:41:32.908Z] # $SEMVER_TEMP = /tmp/semver-599585931 [2022-02-11T22:41:32.908Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-11T22:41:33.847Z] # '/tmp/semver-599585931' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-02-11T22:41:33.847Z] # -> Force: false [2022-02-11T22:41:33.847Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-02-11T22:41:33.858Z] $ docker exec --env ******** --env ******** cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af ssh-agent -k [2022-02-11T22:41:33.940Z] unset SSH_AUTH_SOCK; [2022-02-11T22:41:33.940Z] unset SSH_AGENT_PID; [2022-02-11T22:41:33.940Z] echo Agent pid 57 killed; [2022-02-11T22:41:33.952Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-11T22:41:34.265Z] + git semver [Pipeline] } [2022-02-11T22:41:34.275Z] $ docker stop --time=1 cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af [2022-02-11T22:41:35.539Z] $ docker rm -f cbcea47c55f0b603945f9afd92ecd2b8c047afa93a3ff50e7992bab0383d52af [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-11T22:41:35.893Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-11T22:41:36.121Z] Stashed 1 file(s) [Pipeline] echo [2022-02-11T22:41:36.125Z] [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-02-11T22:41:36.286Z] provisioning config files... [2022-02-11T22:41:36.296Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config4047291661699549568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:41:36.622Z] ---> docker-login.sh [2022-02-11T22:41:36.622Z] nexus3.edgexfoundry.org:10001 [2022-02-11T22:41:36.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:36.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:36.622Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:36.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:36.622Z] [2022-02-11T22:41:36.622Z] Login Succeeded [2022-02-11T22:41:36.622Z] nexus3.edgexfoundry.org:10002 [2022-02-11T22:41:36.622Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:36.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:36.622Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:36.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:36.622Z] [2022-02-11T22:41:36.622Z] Login Succeeded [2022-02-11T22:41:36.622Z] nexus3.edgexfoundry.org:10003 [2022-02-11T22:41:36.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:36.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:36.884Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:36.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:36.884Z] [2022-02-11T22:41:36.884Z] Login Succeeded [2022-02-11T22:41:36.884Z] nexus3.edgexfoundry.org:10004 [2022-02-11T22:41:36.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:36.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:36.884Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:36.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:36.884Z] [2022-02-11T22:41:36.884Z] Login Succeeded [2022-02-11T22:41:36.884Z] docker.io [2022-02-11T22:41:37.145Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:41:37.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:41:37.404Z] Configure a credential helper to remove this warning. See [2022-02-11T22:41:37.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:41:37.404Z] [2022-02-11T22:41:37.404Z] Login Succeeded [2022-02-11T22:41:37.404Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T22:41:37.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-11T22:41:37.471Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T22:41:37.480Z] ========================================================= [2022-02-11T22:41:37.480Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-11T22:41:37.480Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:41:37.788Z] + 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-02-11T22:41:37.788Z] Sending build context to Docker daemon 33.92MB [2022-02-11T22:41:37.788Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T22:41:37.788Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T22:41:38.057Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-11T22:41:38.057Z] 59bf1c3509f3: Pulling fs layer [2022-02-11T22:41:38.057Z] 666ba61612fd: Pulling fs layer [2022-02-11T22:41:38.057Z] 8ed8ca486205: Pulling fs layer [2022-02-11T22:41:38.057Z] 4fe6c5a15a65: Pulling fs layer [2022-02-11T22:41:38.057Z] 22a0e8bec74d: Pulling fs layer [2022-02-11T22:41:38.057Z] 640e595b4fbd: Pulling fs layer [2022-02-11T22:41:38.057Z] 763cafe07f6e: Pulling fs layer [2022-02-11T22:41:38.057Z] 0c0b528cf693: Pulling fs layer [2022-02-11T22:41:38.057Z] 10935f4eaf8b: Pulling fs layer [2022-02-11T22:41:38.057Z] 4fe6c5a15a65: Waiting [2022-02-11T22:41:38.057Z] 22a0e8bec74d: Waiting [2022-02-11T22:41:38.057Z] 640e595b4fbd: Waiting [2022-02-11T22:41:38.057Z] 763cafe07f6e: Waiting [2022-02-11T22:41:38.057Z] 0c0b528cf693: Waiting [2022-02-11T22:41:38.057Z] 10935f4eaf8b: Waiting [2022-02-11T22:41:38.057Z] 8ed8ca486205: Verifying Checksum [2022-02-11T22:41:38.057Z] 8ed8ca486205: Download complete [2022-02-11T22:41:38.057Z] 666ba61612fd: Verifying Checksum [2022-02-11T22:41:38.057Z] 666ba61612fd: Download complete [2022-02-11T22:41:38.057Z] 22a0e8bec74d: Verifying Checksum [2022-02-11T22:41:38.057Z] 22a0e8bec74d: Download complete [2022-02-11T22:41:38.057Z] 640e595b4fbd: Verifying Checksum [2022-02-11T22:41:38.057Z] 640e595b4fbd: Download complete [2022-02-11T22:41:38.057Z] 59bf1c3509f3: Verifying Checksum [2022-02-11T22:41:38.057Z] 59bf1c3509f3: Download complete [2022-02-11T22:41:38.057Z] 763cafe07f6e: Verifying Checksum [2022-02-11T22:41:38.057Z] 763cafe07f6e: Download complete [2022-02-11T22:41:38.325Z] 0c0b528cf693: Verifying Checksum [2022-02-11T22:41:38.325Z] 0c0b528cf693: Download complete [2022-02-11T22:41:38.325Z] 59bf1c3509f3: Pull complete [2022-02-11T22:41:38.595Z] 4fe6c5a15a65: Verifying Checksum [2022-02-11T22:41:38.595Z] 4fe6c5a15a65: Download complete [2022-02-11T22:41:38.595Z] 10935f4eaf8b: Verifying Checksum [2022-02-11T22:41:38.595Z] 10935f4eaf8b: Download complete [2022-02-11T22:41:38.595Z] 666ba61612fd: Pull complete [2022-02-11T22:41:38.858Z] 8ed8ca486205: Pull complete [2022-02-11T22:41:43.093Z] 4fe6c5a15a65: Pull complete [2022-02-11T22:41:43.093Z] 22a0e8bec74d: Pull complete [2022-02-11T22:41:43.093Z] 640e595b4fbd: Pull complete [2022-02-11T22:41:43.093Z] 763cafe07f6e: Pull complete [2022-02-11T22:41:43.093Z] 0c0b528cf693: Pull complete [2022-02-11T22:41:45.660Z] 10935f4eaf8b: Pull complete [2022-02-11T22:41:45.660Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-11T22:41:45.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-11T22:41:45.660Z] ---> 99d49a6021b9 [2022-02-11T22:41:45.660Z] Step 3/11 : ARG MAKE=make build [2022-02-11T22:41:47.046Z] ---> Running in ce4a55c6a5f9 [2022-02-11T22:41:47.046Z] Removing intermediate container ce4a55c6a5f9 [2022-02-11T22:41:47.046Z] ---> e1d7cef3effb [2022-02-11T22:41:47.046Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T22:41:47.046Z] ---> Running in 568b519c9df7 [2022-02-11T22:41:47.305Z] Removing intermediate container 568b519c9df7 [2022-02-11T22:41:47.305Z] ---> 3a3b94d9ab9b [2022-02-11T22:41:47.305Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T22:41:47.305Z] ---> Running in e7ef9298a4c2 [2022-02-11T22:41:47.305Z] Removing intermediate container e7ef9298a4c2 [2022-02-11T22:41:47.305Z] ---> ed85f54f0dad [2022-02-11T22:41:47.305Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T22:41:47.305Z] ---> Running in 3e795fda8a3c [2022-02-11T22:41:47.874Z] Removing intermediate container 3e795fda8a3c [2022-02-11T22:41:47.874Z] ---> ff3375229df9 [2022-02-11T22:41:47.874Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T22:41:47.874Z] ---> Running in 498e285d9a50 [2022-02-11T22:41:48.137Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-11T22:41:49.082Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-11T22:41:49.345Z] OK: 221 MiB in 52 packages [2022-02-11T22:41:49.921Z] Removing intermediate container 498e285d9a50 [2022-02-11T22:41:49.921Z] ---> 2b36d6587707 [2022-02-11T22:41:49.921Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T22:41:49.921Z] ---> ff396a2aed7a [2022-02-11T22:41:49.921Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T22:41:49.921Z] ---> Running in 47cec9efd325 [2022-02-11T22:41:51.240Z] Still waiting to schedule task [2022-02-11T22:41:51.240Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-11T22:42:46.217Z] Removing intermediate container 47cec9efd325 [2022-02-11T22:42:46.217Z] ---> f63ee9ea0b65 [2022-02-11T22:42:46.217Z] Step 10/11 : COPY . . [2022-02-11T22:42:46.217Z] ---> a893f934045b [2022-02-11T22:42:46.217Z] Step 11/11 : RUN ${MAKE} [2022-02-11T22:42:46.217Z] ---> Running in 29c2459854ad [2022-02-11T22:42:46.217Z] noop [2022-02-11T22:42:46.217Z] Removing intermediate container 29c2459854ad [2022-02-11T22:42:46.217Z] ---> 77d2e7d9a4a9 [2022-02-11T22:42:46.217Z] Successfully built 77d2e7d9a4a9 [2022-02-11T22:42:46.217Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:42:46.524Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T22:42:46.524Z] . [Pipeline] withDockerContainer [2022-02-11T22:42:46.593Z] prd-centos7-docker-4c-2g-5096 does not seem to be running inside a container [2022-02-11T22:42:46.641Z] $ 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-02-11T22:42:47.027Z] $ docker top ba3af0bb5de19c92bf04fd2f2e0c21e815e319fe96fc100a1f0deb493eced33f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T22:42:47.397Z] + go version [2022-02-11T22:42:47.397Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-11T22:42:47.404Z] $ docker stop --time=1 ba3af0bb5de19c92bf04fd2f2e0c21e815e319fe96fc100a1f0deb493eced33f [2022-02-11T22:42:48.606Z] $ docker rm -f ba3af0bb5de19c92bf04fd2f2e0c21e815e319fe96fc100a1f0deb493eced33f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:42:49.046Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-11T22:42:49.046Z] . [Pipeline] withDockerContainer [2022-02-11T22:42:49.121Z] prd-centos7-docker-4c-2g-5096 does not seem to be running inside a container [2022-02-11T22:42:49.154Z] $ 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-02-11T22:42:49.529Z] $ docker top bcb6c2fc940b30e3966f1b2c6c2545cf4600b73ef10d820501a2a271b9c91593 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T22:42:49.917Z] + make test [2022-02-11T22:42:49.917Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T22:42:50.179Z] 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-02-11T22:42:50.179Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-11T22:42:50.179Z] 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-02-11T22:42:50.179Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-11T22:42:50.179Z] 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-02-11T22:42:50.179Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-02-11T22:42:50.179Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-11T22:42:50.189Z] $ docker stop --time=1 bcb6c2fc940b30e3966f1b2c6c2545cf4600b73ef10d820501a2a271b9c91593 [2022-02-11T22:42:51.402Z] $ docker rm -f bcb6c2fc940b30e3966f1b2c6c2545cf4600b73ef10d820501a2a271b9c91593 [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-02-11T22:42:51.911Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T22:42:51.911Z] [2022-02-11T22:42:51.911Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:42:52.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T22:42:52.222Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-11T22:42:52.222Z] b4d181a07f80: Pulling fs layer [2022-02-11T22:42:52.222Z] a1111a8f2ec3: Pulling fs layer [2022-02-11T22:42:52.222Z] ed53099fbce6: Pulling fs layer [2022-02-11T22:42:52.222Z] dc539afda2c1: Pulling fs layer [2022-02-11T22:42:52.222Z] 77bc0d833cb6: Pulling fs layer [2022-02-11T22:42:52.222Z] 9065ff56babe: Pulling fs layer [2022-02-11T22:42:52.222Z] d287ab97295c: Pulling fs layer [2022-02-11T22:42:52.222Z] dc539afda2c1: Waiting [2022-02-11T22:42:52.222Z] 77bc0d833cb6: Waiting [2022-02-11T22:42:52.222Z] 9065ff56babe: Waiting [2022-02-11T22:42:52.222Z] d287ab97295c: Waiting [2022-02-11T22:42:52.222Z] a1111a8f2ec3: Verifying Checksum [2022-02-11T22:42:52.222Z] a1111a8f2ec3: Download complete [2022-02-11T22:42:52.222Z] dc539afda2c1: Verifying Checksum [2022-02-11T22:42:52.222Z] dc539afda2c1: Download complete [2022-02-11T22:42:52.222Z] ed53099fbce6: Verifying Checksum [2022-02-11T22:42:52.222Z] ed53099fbce6: Download complete [2022-02-11T22:42:52.486Z] 9065ff56babe: Verifying Checksum [2022-02-11T22:42:52.486Z] 9065ff56babe: Download complete [2022-02-11T22:42:52.486Z] 77bc0d833cb6: Verifying Checksum [2022-02-11T22:42:52.486Z] 77bc0d833cb6: Download complete [2022-02-11T22:42:52.486Z] b4d181a07f80: Verifying Checksum [2022-02-11T22:42:52.486Z] b4d181a07f80: Download complete [2022-02-11T22:42:53.063Z] d287ab97295c: Verifying Checksum [2022-02-11T22:42:53.064Z] d287ab97295c: Download complete [2022-02-11T22:42:54.020Z] b4d181a07f80: Pull complete [2022-02-11T22:42:54.280Z] a1111a8f2ec3: Pull complete [2022-02-11T22:42:54.869Z] ed53099fbce6: Pull complete [2022-02-11T22:42:54.869Z] dc539afda2c1: Pull complete [2022-02-11T22:42:55.130Z] 77bc0d833cb6: Pull complete [2022-02-11T22:42:55.130Z] 9065ff56babe: Pull complete [2022-02-11T22:43:00.470Z] d287ab97295c: Pull complete [2022-02-11T22:43:00.470Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-11T22:43:00.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T22:43:00.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-11T22:43:00.549Z] prd-centos7-docker-4c-2g-5096 does not seem to be running inside a container [2022-02-11T22:43:00.576Z] $ 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-02-11T22:43:04.171Z] $ docker top cc8dfd0a11b3a27d0bf0463649c504f1b6017c6f305a0c3bfb5496b5444ebd5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:43:04.645Z] ---> job-cost.sh [2022-02-11T22:43:04.645Z] lf-activate-venv: SKIPPING [2022-02-11T22:43:04.645Z] INFO: No Stack... [2022-02-11T22:43:04.909Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T22:43:05.484Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T22:43:05.785Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [2022-02-11T22:43:05.785Z] + cut -d, -f6 [Pipeline] lock [2022-02-11T22:43:05.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [2022-02-11T22:43:05.807Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] did not exist. Created. [2022-02-11T22:43:05.807Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T22:43:06.119Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-11T22:43:06.155Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T22:43:06.165Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T22:43:06.185Z] $ docker stop --time=1 cc8dfd0a11b3a27d0bf0463649c504f1b6017c6f305a0c3bfb5496b5444ebd5b [2022-02-11T22:43:07.334Z] $ docker rm -f cc8dfd0a11b3a27d0bf0463649c504f1b6017c6f305a0c3bfb5496b5444ebd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-11T22:43:07.467Z] Failed in branch amd64 [2022-02-11T22:43:15.712Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5097 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-02-11T22:43:15.729Z] Running in /w/workspace/device-sdk-go/12 [Pipeline] { [Pipeline] checkout [2022-02-11T22:43:15.918Z] The recommended git tool is: git [2022-02-11T22:43:20.510Z] using credential edgex-jenkins-ssh [2022-02-11T22:43:20.528Z] Cloning the remote Git repository [2022-02-11T22:43:20.564Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T22:43:20.640Z] > git init /w/workspace/device-sdk-go/12 # timeout=10 [2022-02-11T22:43:20.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T22:43:20.737Z] > git --version # timeout=10 [2022-02-11T22:43:20.763Z] > git --version # 'git version 2.17.1' [2022-02-11T22:43:20.765Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T22:43:20.834Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T22:43:22.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-11T22:43:22.346Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-11T22:43:22.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-11T22:43:22.492Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-11T22:43:22.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T22:43:22.520Z] > 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-02-11T22:43:25.519Z] Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-02-11T22:43:25.877Z] Merge succeeded, producing f43761e549a5573a2abaf24ba3968b4b66cedc59 [2022-02-11T22:43:25.878Z] Checking out Revision f43761e549a5573a2abaf24ba3968b4b66cedc59 (PR-1073) [2022-02-11T22:43:25.523Z] > git config core.sparsecheckout # timeout=10 [2022-02-11T22:43:25.541Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-02-11T22:43:25.648Z] > git remote # timeout=10 [2022-02-11T22:43:25.669Z] > git config --get remote.origin.url # timeout=10 [2022-02-11T22:43:25.698Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-11T22:43:25.709Z] > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-02-11T22:43:25.840Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-11T22:43:25.866Z] > git config core.sparsecheckout # timeout=10 [2022-02-11T22:43:25.887Z] > git checkout -f f43761e549a5573a2abaf24ba3968b4b66cedc59 # timeout=10 [2022-02-11T22:43:30.059Z] Commit message: "Merge commit 'ff2bdc244935d5b40da6f20198b29dfc476efd7a' into HEAD" [2022-02-11T22:43:30.082Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-11T22:43:30.050Z] > git rev-list --no-walk 1a6e0d3e7e2cad0ffbff5f3494a532a871e05c75 # timeout=10 [2022-02-11T22:43:30.981Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-11T22:43:30.981Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-11T22:43:30.981Z] Dload Upload Total Spent Left Speed [2022-02-11T22:43:30.981Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh [2022-02-11T22:43:31.519Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-11T22:43:31.861Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-11T22:43:31.861Z] + sudo tee /etc/docker/daemon.new [2022-02-11T22:43:31.861Z] { [2022-02-11T22:43:31.861Z] "registry-mirrors": [ [2022-02-11T22:43:31.861Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-11T22:43:31.861Z] ], [2022-02-11T22:43:31.861Z] "bip": "10.250.0.254/24", [2022-02-11T22:43:31.861Z] "hosts": [ [2022-02-11T22:43:31.861Z] "tcp://0.0.0.0:5555", [2022-02-11T22:43:31.861Z] "unix:///var/run/docker.sock" [2022-02-11T22:43:31.861Z] ], [2022-02-11T22:43:31.861Z] "mtu": 1458, [2022-02-11T22:43:31.861Z] "selinux-enabled": true, [2022-02-11T22:43:31.861Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-11T22:43:31.861Z] } [Pipeline] sh [2022-02-11T22:43:32.252Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-11T22:43:32.590Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T22:43:50.897Z] provisioning config files... [2022-02-11T22:43:50.921Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/12@tmp/config5494777811093591426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:43:51.271Z] ---> docker-login.sh [2022-02-11T22:43:51.271Z] nexus3.edgexfoundry.org:10001 [2022-02-11T22:43:51.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:43:52.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:43:52.139Z] Configure a credential helper to remove this warning. See [2022-02-11T22:43:52.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:43:52.139Z] [2022-02-11T22:43:52.139Z] Login Succeeded [2022-02-11T22:43:52.139Z] nexus3.edgexfoundry.org:10002 [2022-02-11T22:43:52.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:43:52.411Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:43:52.411Z] Configure a credential helper to remove this warning. See [2022-02-11T22:43:52.411Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:43:52.411Z] [2022-02-11T22:43:52.411Z] Login Succeeded [2022-02-11T22:43:52.411Z] nexus3.edgexfoundry.org:10003 [2022-02-11T22:43:53.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:43:53.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:43:53.006Z] Configure a credential helper to remove this warning. See [2022-02-11T22:43:53.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:43:53.006Z] [2022-02-11T22:43:53.006Z] Login Succeeded [2022-02-11T22:43:53.006Z] nexus3.edgexfoundry.org:10004 [2022-02-11T22:43:53.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:43:53.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:43:53.286Z] Configure a credential helper to remove this warning. See [2022-02-11T22:43:53.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:43:53.286Z] [2022-02-11T22:43:53.286Z] Login Succeeded [2022-02-11T22:43:53.286Z] docker.io [2022-02-11T22:43:53.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-11T22:43:54.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-11T22:43:54.157Z] Configure a credential helper to remove this warning. See [2022-02-11T22:43:54.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-11T22:43:54.157Z] [2022-02-11T22:43:54.157Z] Login Succeeded [2022-02-11T22:43:54.157Z] ---> docker-login.sh ends [Pipeline] } [2022-02-11T22:43:54.173Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-11T22:43:54.681Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-11T22:43:54.695Z] ========================================================= [2022-02-11T22:43:54.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-11T22:43:54.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:43:55.043Z] + 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-02-11T22:43:55.640Z] Sending build context to Docker daemon 29.55MB [2022-02-11T22:43:55.640Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-11T22:43:55.640Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-11T22:43:55.926Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-11T22:43:55.926Z] 9b3977197b4f: Pulling fs layer [2022-02-11T22:43:55.926Z] 1a89e8eeedd5: Pulling fs layer [2022-02-11T22:43:55.926Z] 94645a83ff95: Pulling fs layer [2022-02-11T22:43:55.926Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-11T22:43:55.926Z] 0c92f367c5e7: Pulling fs layer [2022-02-11T22:43:55.926Z] f7c0051592d6: Pulling fs layer [2022-02-11T22:43:55.926Z] a227ed2f7395: Pulling fs layer [2022-02-11T22:43:55.926Z] 7b1c46037f91: Pulling fs layer [2022-02-11T22:43:55.926Z] 3f3a8bcf1eab: Waiting [2022-02-11T22:43:55.926Z] f7c0051592d6: Waiting [2022-02-11T22:43:55.926Z] 0c92f367c5e7: Waiting [2022-02-11T22:43:55.926Z] a227ed2f7395: Waiting [2022-02-11T22:43:55.926Z] 7b1c46037f91: Waiting [2022-02-11T22:43:55.926Z] 94645a83ff95: Verifying Checksum [2022-02-11T22:43:55.926Z] 94645a83ff95: Download complete [2022-02-11T22:43:55.926Z] 1a89e8eeedd5: Verifying Checksum [2022-02-11T22:43:55.926Z] 1a89e8eeedd5: Download complete [2022-02-11T22:43:55.926Z] 0c92f367c5e7: Verifying Checksum [2022-02-11T22:43:55.926Z] 0c92f367c5e7: Download complete [2022-02-11T22:43:55.926Z] f7c0051592d6: Verifying Checksum [2022-02-11T22:43:55.926Z] f7c0051592d6: Download complete [2022-02-11T22:43:55.926Z] a227ed2f7395: Verifying Checksum [2022-02-11T22:43:55.926Z] a227ed2f7395: Download complete [2022-02-11T22:43:55.926Z] 9b3977197b4f: Verifying Checksum [2022-02-11T22:43:55.926Z] 9b3977197b4f: Download complete [2022-02-11T22:43:56.917Z] 9b3977197b4f: Pull complete [2022-02-11T22:43:57.515Z] 1a89e8eeedd5: Pull complete [2022-02-11T22:43:58.122Z] 94645a83ff95: Pull complete [2022-02-11T22:43:58.122Z] 7b1c46037f91: Verifying Checksum [2022-02-11T22:43:58.122Z] 7b1c46037f91: Download complete [2022-02-11T22:43:58.718Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-11T22:43:58.718Z] 3f3a8bcf1eab: Download complete [2022-02-11T22:44:11.101Z] 3f3a8bcf1eab: Pull complete [2022-02-11T22:44:11.101Z] 0c92f367c5e7: Pull complete [2022-02-11T22:44:11.101Z] f7c0051592d6: Pull complete [2022-02-11T22:44:11.101Z] a227ed2f7395: Pull complete [2022-02-11T22:44:16.496Z] 7b1c46037f91: Pull complete [2022-02-11T22:44:16.496Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-11T22:44:16.496Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-11T22:44:16.496Z] ---> f79e39bc4007 [2022-02-11T22:44:16.496Z] Step 3/11 : ARG MAKE=make build [2022-02-11T22:44:18.464Z] ---> Running in 1b70288c3c3b [2022-02-11T22:44:18.464Z] Removing intermediate container 1b70288c3c3b [2022-02-11T22:44:18.464Z] ---> f9522643d8bb [2022-02-11T22:44:18.464Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-11T22:44:18.464Z] ---> Running in 32ad687e9f87 [2022-02-11T22:44:19.060Z] Removing intermediate container 32ad687e9f87 [2022-02-11T22:44:19.060Z] ---> b0350c00e423 [2022-02-11T22:44:19.060Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-11T22:44:19.060Z] ---> Running in 28a19eb20867 [2022-02-11T22:44:19.335Z] Removing intermediate container 28a19eb20867 [2022-02-11T22:44:19.335Z] ---> ba4cbec21413 [2022-02-11T22:44:19.335Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-11T22:44:19.335Z] ---> Running in 662588af9e2f [2022-02-11T22:44:21.319Z] Removing intermediate container 662588af9e2f [2022-02-11T22:44:21.319Z] ---> 423f2e4d2cdf [2022-02-11T22:44:21.319Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-11T22:44:21.319Z] ---> Running in d91841d59280 [2022-02-11T22:44:22.297Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-11T22:44:23.270Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-11T22:44:23.865Z] OK: 220 MiB in 52 packages [2022-02-11T22:44:24.841Z] Removing intermediate container d91841d59280 [2022-02-11T22:44:24.841Z] ---> 45a091bb040f [2022-02-11T22:44:24.841Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-11T22:44:25.433Z] ---> f64698ff6ec5 [2022-02-11T22:44:25.433Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-11T22:44:25.433Z] ---> Running in 858303577f88 [2022-02-11T22:45:47.182Z] Removing intermediate container 858303577f88 [2022-02-11T22:45:47.182Z] ---> 84a233e68785 [2022-02-11T22:45:47.182Z] Step 10/11 : COPY . . [2022-02-11T22:45:47.182Z] ---> 536146aa3f06 [2022-02-11T22:45:47.182Z] Step 11/11 : RUN ${MAKE} [2022-02-11T22:45:47.182Z] ---> Running in 5198871ae533 [2022-02-11T22:45:47.182Z] noop [2022-02-11T22:45:47.182Z] Removing intermediate container 5198871ae533 [2022-02-11T22:45:47.182Z] ---> 364642713003 [2022-02-11T22:45:47.182Z] Successfully built 364642713003 [2022-02-11T22:45:47.182Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:45:47.522Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T22:45:47.522Z] . [Pipeline] withDockerContainer [2022-02-11T22:45:47.747Z] prd-ubuntu18.04-docker-arm64-4c-16g-5097 does not seem to be running inside a container [2022-02-11T22:45:47.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-02-11T22:45:49.061Z] $ docker top 8e7eec81337690fc5d309e4a40e4bb916a7d108cda59ab19f0a846929f5a8f08 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T22:45:49.998Z] + go version [2022-02-11T22:45:49.998Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-11T22:45:49.980Z] $ docker stop --time=1 8e7eec81337690fc5d309e4a40e4bb916a7d108cda59ab19f0a846929f5a8f08 [2022-02-11T22:45:51.590Z] $ docker rm -f 8e7eec81337690fc5d309e4a40e4bb916a7d108cda59ab19f0a846929f5a8f08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:45:52.209Z] + docker inspect -f . ci-base-image-arm64 [2022-02-11T22:45:52.209Z] . [Pipeline] withDockerContainer [2022-02-11T22:45:52.409Z] prd-ubuntu18.04-docker-arm64-4c-16g-5097 does not seem to be running inside a container [2022-02-11T22:45:52.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-02-11T22:45:53.722Z] $ docker top 2a2c8f33f93144d0c3bce87add6433a043a5b38356743e8d05680f03431dbaa8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-11T22:45:54.664Z] + make test [2022-02-11T22:45:54.664Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-11T22:45:55.643Z] 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-02-11T22:45:55.643Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-11T22:45:55.643Z] 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-02-11T22:45:55.643Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-02-11T22:45:55.643Z] 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-02-11T22:45:55.643Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-02-11T22:45:55.643Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-02-11T22:45:55.626Z] $ docker stop --time=1 2a2c8f33f93144d0c3bce87add6433a043a5b38356743e8d05680f03431dbaa8 [2022-02-11T22:45:57.279Z] $ docker rm -f 2a2c8f33f93144d0c3bce87add6433a043a5b38356743e8d05680f03431dbaa8 [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-02-11T22:45:57.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T22:45:57.957Z] [2022-02-11T22:45:57.957Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:45:58.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T22:45:58.304Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-11T22:45:58.304Z] 448f6bf000e3: Pulling fs layer [2022-02-11T22:45:58.304Z] f757da607395: Pulling fs layer [2022-02-11T22:45:58.304Z] 05883995daec: Pulling fs layer [2022-02-11T22:45:58.304Z] 8603b9c90790: Pulling fs layer [2022-02-11T22:45:58.304Z] 1560dd03e051: Pulling fs layer [2022-02-11T22:45:58.304Z] 27f5ce0e4adf: Pulling fs layer [2022-02-11T22:45:58.304Z] c2d8d7efcc4b: Pulling fs layer [2022-02-11T22:45:58.304Z] 8603b9c90790: Waiting [2022-02-11T22:45:58.304Z] 1560dd03e051: Waiting [2022-02-11T22:45:58.304Z] 27f5ce0e4adf: Waiting [2022-02-11T22:45:58.304Z] c2d8d7efcc4b: Waiting [2022-02-11T22:45:58.577Z] f757da607395: Verifying Checksum [2022-02-11T22:45:58.577Z] f757da607395: Download complete [2022-02-11T22:45:58.577Z] 8603b9c90790: Verifying Checksum [2022-02-11T22:45:58.577Z] 8603b9c90790: Download complete [2022-02-11T22:45:58.577Z] 1560dd03e051: Verifying Checksum [2022-02-11T22:45:58.577Z] 1560dd03e051: Download complete [2022-02-11T22:45:58.577Z] 27f5ce0e4adf: Verifying Checksum [2022-02-11T22:45:58.577Z] 27f5ce0e4adf: Download complete [2022-02-11T22:45:58.577Z] 05883995daec: Verifying Checksum [2022-02-11T22:45:58.577Z] 05883995daec: Download complete [2022-02-11T22:45:59.175Z] 448f6bf000e3: Verifying Checksum [2022-02-11T22:45:59.175Z] 448f6bf000e3: Download complete [2022-02-11T22:46:01.799Z] c2d8d7efcc4b: Verifying Checksum [2022-02-11T22:46:01.799Z] c2d8d7efcc4b: Download complete [2022-02-11T22:46:02.778Z] 448f6bf000e3: Pull complete [2022-02-11T22:46:03.376Z] f757da607395: Pull complete [2022-02-11T22:46:04.810Z] 05883995daec: Pull complete [2022-02-11T22:46:05.080Z] 8603b9c90790: Pull complete [2022-02-11T22:46:06.057Z] 1560dd03e051: Pull complete [2022-02-11T22:46:06.057Z] 27f5ce0e4adf: Pull complete [2022-02-11T22:46:21.138Z] c2d8d7efcc4b: Pull complete [2022-02-11T22:46:21.138Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-11T22:46:21.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-11T22:46:21.138Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-11T22:46:21.376Z] prd-ubuntu18.04-docker-arm64-4c-16g-5097 does not seem to be running inside a container [2022-02-11T22:46:21.405Z] $ 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/12 -v /w/workspace/device-sdk-go/12:/w/workspace/device-sdk-go/12:rw,z -v /w/workspace/device-sdk-go/12@tmp:/w/workspace/device-sdk-go/12@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-02-11T22:46:23.896Z] $ docker top 8b1def3a0c9ba95161257e4f0d7d20fec44f5fab0694e54e52cd30d0eb775890 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:24.822Z] ---> job-cost.sh [2022-02-11T22:46:24.822Z] lf-activate-venv: SKIPPING [2022-02-11T22:46:24.822Z] INFO: No Stack... [2022-02-11T22:46:25.093Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-11T22:46:25.366Z] INFO: Archiving Costs [Pipeline] sh [2022-02-11T22:46:26.033Z] + cut -d, -f6 [2022-02-11T22:46:26.033Z] + cat /w/workspace/device-sdk-go/12/archives/cost.csv [Pipeline] lock [2022-02-11T22:46:26.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [2022-02-11T22:46:26.103Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] did not exist. Created. [2022-02-11T22:46:26.103Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-11T22:46:26.779Z] /w/workspace/device-sdk-go/12@tmp/durable-b55b931c/script.sh: 1: /w/workspace/device-sdk-go/12@tmp/durable-b55b931c/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-11T22:46:27.452Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-11T22:46:27.472Z] Warning: overwriting stash ‘stack-cost’ [2022-02-11T22:46:27.895Z] Stashed 1 file(s) [Pipeline] } [2022-02-11T22:46:27.903Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-11T22:46:27.875Z] $ docker stop --time=1 8b1def3a0c9ba95161257e4f0d7d20fec44f5fab0694e54e52cd30d0eb775890 [2022-02-11T22:46:29.367Z] $ docker rm -f 8b1def3a0c9ba95161257e4f0d7d20fec44f5fab0694e54e52cd30d0eb775890 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-11T22:46:29.844Z] 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-02-11T22:46:30.610Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-02-11T22:46:30.610Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-11T22:46:30.610Z] total 8 [2022-02-11T22:46:30.610Z] drwxr-xr-x. 3 root root 34 Feb 11 22:43 . [2022-02-11T22:46:30.610Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 22:43 .. [2022-02-11T22:46:30.610Z] drwxr-xr-x. 2 root root 6 Feb 11 22:43 cost [2022-02-11T22:46:30.610Z] -rw-r--r--. 1 root root 86 Feb 11 22:43 cost.csv [2022-02-11T22:46:30.610Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-11T22:46:30.610Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-02-11T22:46:30.610Z] total 8 [2022-02-11T22:46:30.610Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 11 22:43 . [2022-02-11T22:46:30.610Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 11 22:43 .. [2022-02-11T22:46:30.610Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 11 22:43 cost [2022-02-11T22:46:30.610Z] -rw-r--r--. 1 jenkins jenkins 86 Feb 11 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:30.900Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:31.460Z] ---> package-listing.sh [2022-02-11T22:46:31.460Z] ++ facter osfamily [2022-02-11T22:46:31.460Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-11T22:46:31.720Z] + OS_FAMILY=redhat [2022-02-11T22:46:31.721Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-02-11T22:46:31.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-11T22:46:31.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-11T22:46:31.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-11T22:46:31.721Z] + PACKAGES=/tmp/packages_start.txt [2022-02-11T22:46:31.721Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-02-11T22:46:31.721Z] + PACKAGES=/tmp/packages_end.txt [2022-02-11T22:46:31.721Z] + case "${OS_FAMILY}" in [2022-02-11T22:46:31.721Z] + sort [2022-02-11T22:46:31.721Z] + rpm -qa [2022-02-11T22:46:32.303Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-11T22:46:32.303Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-11T22:46:32.303Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-11T22:46:32.303Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-02-11T22:46:32.303Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-02-11T22:46:32.303Z] + 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-02-11T22:46:32.317Z] 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-02-11T22:46:32.601Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-11T22:46:33.166Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-11T22:46:33.166Z] . [Pipeline] withDockerContainer [2022-02-11T22:46:33.229Z] prd-centos7-docker-4c-2g-5096 does not seem to be running inside a container [2022-02-11T22:46:33.262Z] $ 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-02-11T22:46:33.477Z] $ docker top 0b91d08d68644db57c1134ec301768c5365ee2bd9b8cf45540dab47b6fe8eb7f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-11T22:46:33.846Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-11T22:46:34.139Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-11T22:46:34.431Z] + ls /var/log/sa-host [2022-02-11T22:46:34.431Z] + sadf -c /var/log/sa-host/sa11 [2022-02-11T22:46:34.431Z] file_magic: OK [2022-02-11T22:46:34.431Z] HZ: Using current value: 100 [2022-02-11T22:46:34.431Z] file_header: OK [2022-02-11T22:46:34.431Z] 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-02-11T22:46:34.431Z] Statistics: [2022-02-11T22:46:34.431Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T22:46:34.431Z] File successfully converted to sysstat format version 12.0.3 [2022-02-11T22:46:34.431Z] + sadf -c /var/log/sa-host/sa17 [2022-02-11T22:46:34.431Z] file_magic: OK [2022-02-11T22:46:34.431Z] HZ: Using current value: 100 [2022-02-11T22:46:34.431Z] file_header: OK [2022-02-11T22:46:34.431Z] 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-02-11T22:46:34.431Z] Statistics: [2022-02-11T22:46:34.431Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-11T22:46:34.431Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-11T22:46:34.641Z] provisioning config files... [2022-02-11T22:46:34.650Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config5373361291635123449tmp [Pipeline] { [Pipeline] echo [2022-02-11T22:46:34.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:34.959Z] ---> create-netrc.sh [Pipeline] } [2022-02-11T22:46:34.967Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:35.463Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-11T22:46:35.519Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:35.899Z] ---> sudo-logs.sh [2022-02-11T22:46:35.900Z] Archiving 'sudo' log.. [2022-02-11T22:46:35.900Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5096.novalocal: Name or service not known [2022-02-11T22:46:35.900Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5096.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-11T22:46:35.925Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:36.220Z] ---> job-cost.sh [2022-02-11T22:46:36.220Z] lf-activate-venv: SKIPPING [2022-02-11T22:46:36.220Z] DEBUG: total: 0.05999999865889549 [2022-02-11T22:46:36.220Z] INFO: Retrieving Stack Cost... [2022-02-11T22:46:36.791Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-11T22:46:37.053Z] INFO: Archiving Costs [Pipeline] echo [2022-02-11T22:46:37.070Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-11T22:46:37.359Z] ---> logs-deploy.sh [2022-02-11T22:46:37.359Z] lf-activate-venv: SKIPPING [2022-02-11T22:46:37.359Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/12 [2022-02-11T22:46:37.359Z] INFO: archiving workspace using pattern(s): [2022-02-11T22:46:37.931Z] Archives upload complete. [2022-02-11T22:46:38.192Z] INFO: archiving logs to Nexus