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 6af4e576f47094812ab8d15923474e64032289f8 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from 6af4e576f47094812ab8d15923474e64032289f8 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-ssh2628675982928615250.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh10138104463967579483.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 7a502be46133bd83b74f613648f1d59e9d9e8641 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-ssh7383899806719039165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 7a502be46133bd83b74f613648f1d59e9d9e8641 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 7a502be46133bd83b74f613648f1d59e9d9e8641 # timeout=10 Commit message: "Merge pull request #374 from bill-mahoney/us2761" > 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-ssh8023000124099444501.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-ssh7804425313469024378.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-1379 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-ssh7996490041518482193.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-ssh4526631026769068462.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 6af4e576f47094812ab8d15923474e64032289f8 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 6d7ca0958d162338d268a750228e9be013412488 Checking out Revision 6d7ca0958d162338d268a750228e9be013412488 (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-ssh2202604386737922174.key > git merge 6af4e576f47094812ab8d15923474e64032289f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6d7ca0958d162338d268a750228e9be013412488 # timeout=10 Commit message: "Merge commit '6af4e576f47094812ab8d15923474e64032289f8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-12T22:42:05.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-12T22:42:05.734Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-12T22:42:05.748Z] ========================================================= [2022-01-12T22:42:05.748Z] EdgeX Global Pipelines Version Info [2022-01-12T22:42:05.748Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b5e086b431574f8242da2290a7a1177622e961f6 # timeout=10 [2022-01-12T22:42:06.877Z] ------------------- [2022-01-12T22:42:06.877Z] stable info: [2022-01-12T22:42:06.877Z] ------------------- [2022-01-12T22:42:06.877Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-12T22:42:06.877Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T22:42:06.877Z] Message: update stable to v1.0.218 [2022-01-12T22:42:07.451Z] ------------------- [2022-01-12T22:42:07.451Z] experimental info: [2022-01-12T22:42:07.451Z] ------------------- [2022-01-12T22:42:07.451Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-12T22:42:07.451Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-12T22:42:07.451Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-12T22:42:07.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-12T22:42:07.615Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-12T22:42:07.632Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-12T22:42:07.645Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-12T22:42:07.656Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-12T22:42:07.669Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-12T22:42:07.683Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-12T22:42:07.699Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-12T22:42:07.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-12T22:42:07.723Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-12T22:42:07.737Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-12T22:42:07.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-12T22:42:07.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-12T22:42:07.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-12T22:42:07.788Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-12T22:42:07.805Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T22:42:07.823Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T22:42:07.840Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-12T22:42:07.851Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-12T22:42:07.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-12T22:42:07.880Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-12T22:42:07.893Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-12T22:42:07.907Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-12T22:42:07.917Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-12T22:42:07.931Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-12T22:42:07.948Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-12T22:42:07.962Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-12T22:42:07.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-12T22:42:07.984Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-12T22:42:07.999Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d7ca0958d162338d268a750228e9be013412488 [Pipeline] echo [2022-01-12T22:42:08.014Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d7ca09 [Pipeline] echo [2022-01-12T22:42:08.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T22:42:08.069Z] provisioning config files... [2022-01-12T22:42:08.084Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config5424517504118487573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:42:08.393Z] ---> docker-login.sh [2022-01-12T22:42:08.393Z] nexus3.edgexfoundry.org:10001 [2022-01-12T22:42:08.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:08.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:08.662Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:08.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:08.662Z] [2022-01-12T22:42:08.662Z] Login Succeeded [2022-01-12T22:42:08.662Z] nexus3.edgexfoundry.org:10002 [2022-01-12T22:42:08.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:08.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:08.662Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:08.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:08.662Z] [2022-01-12T22:42:08.662Z] Login Succeeded [2022-01-12T22:42:08.662Z] nexus3.edgexfoundry.org:10003 [2022-01-12T22:42:08.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:08.662Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:08.662Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:08.662Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:08.662Z] [2022-01-12T22:42:08.662Z] Login Succeeded [2022-01-12T22:42:08.662Z] nexus3.edgexfoundry.org:10004 [2022-01-12T22:42:08.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:08.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:08.924Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:08.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:08.924Z] [2022-01-12T22:42:08.924Z] Login Succeeded [2022-01-12T22:42:08.924Z] docker.io [2022-01-12T22:42:08.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:09.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:09.188Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:09.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:09.188Z] [2022-01-12T22:42:09.188Z] Login Succeeded [2022-01-12T22:42:09.188Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T22:42:09.197Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-12T22:42:09.584Z] + git rev-list -1 --merges 6d7ca0958d162338d268a750228e9be013412488~1..6d7ca0958d162338d268a750228e9be013412488 [Pipeline] echo [2022-01-12T22:42:09.615Z] -----------> git rev-list -1 --merges 6d7ca0958d162338d268a750228e9be013412488~1..6d7ca0958d162338d268a750228e9be013412488 6d7ca0958d162338d268a750228e9be013412488 [2022-01-12T22:42:09.615Z] 6d7ca0958d162338d268a750228e9be013412488 [false] [Pipeline] sh [2022-01-12T22:42:09.911Z] + git log --format=format:%s -1 6d7ca0958d162338d268a750228e9be013412488 [Pipeline] echo [2022-01-12T22:42:09.930Z] ========================================================= [2022-01-12T22:42:09.930Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-12T22:42:09.930Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T22:42:10.275Z] + git log --format=format:%s -1 6d7ca0958d162338d268a750228e9be013412488 [Pipeline] echo [2022-01-12T22:42:10.289Z] [semverPrep] GIT_COMMIT: 6d7ca0958d162338d268a750228e9be013412488, Commit Message: Merge commit '6af4e576f47094812ab8d15923474e64032289f8' into HEAD [Pipeline] echo [2022-01-12T22:42:10.304Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-12T22:42:10.734Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-12T22:42:10.734Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-12T22:42:10.734Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-12T22:42:10.734Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-12T22:42:10.734Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-12T22:42:10.734Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-12T22:42:10.734Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:42:11.177Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T22:42:11.177Z] [2022-01-12T22:42:11.177Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:42:11.495Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T22:42:11.495Z] latest: Pulling from edgex-devops/git-semver [2022-01-12T22:42:11.495Z] a0d0a0d46f8b: Pulling fs layer [2022-01-12T22:42:11.495Z] 3e5f54012d9b: Pulling fs layer [2022-01-12T22:42:11.495Z] 4c7163046ea9: Pulling fs layer [2022-01-12T22:42:11.495Z] 0c2d73faf560: Pulling fs layer [2022-01-12T22:42:11.495Z] 0c2d73faf560: Waiting [2022-01-12T22:42:11.495Z] 3e5f54012d9b: Verifying Checksum [2022-01-12T22:42:11.495Z] 3e5f54012d9b: Download complete [2022-01-12T22:42:11.495Z] a0d0a0d46f8b: Verifying Checksum [2022-01-12T22:42:11.495Z] a0d0a0d46f8b: Download complete [2022-01-12T22:42:11.495Z] 4c7163046ea9: Verifying Checksum [2022-01-12T22:42:11.495Z] 4c7163046ea9: Download complete [2022-01-12T22:42:11.495Z] 0c2d73faf560: Verifying Checksum [2022-01-12T22:42:11.495Z] 0c2d73faf560: Download complete [2022-01-12T22:42:11.763Z] a0d0a0d46f8b: Pull complete [2022-01-12T22:42:11.763Z] 3e5f54012d9b: Pull complete [2022-01-12T22:42:12.025Z] 4c7163046ea9: Pull complete [2022-01-12T22:42:12.290Z] 0c2d73faf560: Pull complete [2022-01-12T22:42:12.290Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-12T22:42:12.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-12T22:42:12.290Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-12T22:42:12.362Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2022-01-12T22:42:12.405Z] $ 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-12T22:42:12.965Z] $ docker top 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-12T22:42:13.059Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T22:42:13.059Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T22:42:13.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T22:42:13.152Z] $ docker exec 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 ssh-agent [2022-01-12T22:42:13.243Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHMdPCc/agent.13 [2022-01-12T22:42:13.243Z] SSH_AGENT_PID=19 [2022-01-12T22:42:13.251Z] Running ssh-add (command line suppressed) [2022-01-12T22:42:13.337Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6623386916624347600.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6623386916624347600.key) [2022-01-12T22:42:13.351Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T22:42:13.641Z] + git tag --points-at HEAD [Pipeline] } [2022-01-12T22:42:13.663Z] $ docker exec --env ******** --env ******** 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 ssh-agent -k [2022-01-12T22:42:13.749Z] unset SSH_AUTH_SOCK; [2022-01-12T22:42:13.750Z] unset SSH_AGENT_PID; [2022-01-12T22:42:13.750Z] echo Agent pid 19 killed; [2022-01-12T22:42:13.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-12T22:42:13.783Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-12T22:42:13.783Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-12T22:42:13.877Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-12T22:42:13.883Z] $ docker exec 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 ssh-agent [2022-01-12T22:42:13.984Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjhPOFN/agent.53 [2022-01-12T22:42:13.984Z] SSH_AGENT_PID=60 [2022-01-12T22:42:13.990Z] Running ssh-add (command line suppressed) [2022-01-12T22:42:14.078Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6136302199101678430.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_6136302199101678430.key) [2022-01-12T22:42:14.092Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-12T22:42:14.390Z] + git semver init [2022-01-12T22:42:14.391Z] # -> Open(): unable to determine branch for HEAD [2022-01-12T22:42:14.391Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-12T22:42:14.391Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-12T22:42:14.391Z] # $SEMVER_REMOTE_NAME = origin [2022-01-12T22:42:14.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-12T22:42:14.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-12T22:42:14.391Z] # $SEMVER_BRANCH = PR-1073 [2022-01-12T22:42:14.391Z] # $SEMVER_TEMP = /tmp/semver-957108864 [2022-01-12T22:42:14.391Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-12T22:42:15.327Z] # '/tmp/semver-957108864' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-12T22:42:15.327Z] # -> Force: false [2022-01-12T22:42:15.327Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-12T22:42:15.337Z] $ docker exec --env ******** --env ******** 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 ssh-agent -k [2022-01-12T22:42:15.415Z] unset SSH_AUTH_SOCK; [2022-01-12T22:42:15.416Z] unset SSH_AGENT_PID; [2022-01-12T22:42:15.416Z] echo Agent pid 60 killed; [2022-01-12T22:42:15.424Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-12T22:42:15.725Z] + git semver [Pipeline] } [2022-01-12T22:42:15.738Z] $ docker stop --time=1 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 [2022-01-12T22:42:16.954Z] $ docker rm -f 1929715151aac33cbdf69ebd987e9ad0fece24c4b2f93a1d358707f175d5c788 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-12T22:42:17.297Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-12T22:42:17.541Z] Stashed 1 file(s) [Pipeline] echo [2022-01-12T22:42:17.544Z] [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-12T22:42:17.681Z] provisioning config files... [2022-01-12T22:42:17.692Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config4934622723554143590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:42:17.995Z] ---> docker-login.sh [2022-01-12T22:42:17.995Z] nexus3.edgexfoundry.org:10001 [2022-01-12T22:42:17.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:17.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:17.995Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:17.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:17.995Z] [2022-01-12T22:42:17.995Z] Login Succeeded [2022-01-12T22:42:17.995Z] nexus3.edgexfoundry.org:10002 [2022-01-12T22:42:17.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:17.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:17.995Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:17.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:17.995Z] [2022-01-12T22:42:17.995Z] Login Succeeded [2022-01-12T22:42:17.995Z] nexus3.edgexfoundry.org:10003 [2022-01-12T22:42:18.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:18.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:18.257Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:18.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:18.257Z] [2022-01-12T22:42:18.257Z] Login Succeeded [2022-01-12T22:42:18.257Z] nexus3.edgexfoundry.org:10004 [2022-01-12T22:42:18.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:18.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:18.257Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:18.258Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:18.258Z] [2022-01-12T22:42:18.258Z] Login Succeeded [2022-01-12T22:42:18.258Z] docker.io [2022-01-12T22:42:18.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:42:18.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:42:18.780Z] Configure a credential helper to remove this warning. See [2022-01-12T22:42:18.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:42:18.780Z] [2022-01-12T22:42:18.780Z] Login Succeeded [2022-01-12T22:42:18.780Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T22:42:18.789Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T22:42:18.849Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T22:42:18.863Z] ========================================================= [2022-01-12T22:42:18.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-12T22:42:18.863Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:42:19.180Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-12T22:42:19.180Z] Sending build context to Docker daemon 33.79MB [2022-01-12T22:42:19.180Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T22:42:19.180Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T22:42:19.454Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-12T22:42:19.454Z] a0d0a0d46f8b: Already exists [2022-01-12T22:42:19.454Z] 31adcdaf11c8: Pulling fs layer [2022-01-12T22:42:19.454Z] b8b176561691: Pulling fs layer [2022-01-12T22:42:19.454Z] 4527c011a84f: Pulling fs layer [2022-01-12T22:42:19.454Z] 5d74067f8e1e: Pulling fs layer [2022-01-12T22:42:19.454Z] e0aca202a116: Pulling fs layer [2022-01-12T22:42:19.454Z] 3a43be97a3b4: Pulling fs layer [2022-01-12T22:42:19.454Z] 34cad66bf833: Pulling fs layer [2022-01-12T22:42:19.454Z] b4e3c513aaa6: Pulling fs layer [2022-01-12T22:42:19.454Z] 5d74067f8e1e: Waiting [2022-01-12T22:42:19.454Z] e0aca202a116: Waiting [2022-01-12T22:42:19.454Z] 3a43be97a3b4: Waiting [2022-01-12T22:42:19.454Z] 34cad66bf833: Waiting [2022-01-12T22:42:19.454Z] b4e3c513aaa6: Waiting [2022-01-12T22:42:19.454Z] b8b176561691: Verifying Checksum [2022-01-12T22:42:19.454Z] b8b176561691: Download complete [2022-01-12T22:42:19.454Z] 31adcdaf11c8: Verifying Checksum [2022-01-12T22:42:19.454Z] 31adcdaf11c8: Download complete [2022-01-12T22:42:19.454Z] 5d74067f8e1e: Verifying Checksum [2022-01-12T22:42:19.454Z] 5d74067f8e1e: Download complete [2022-01-12T22:42:19.454Z] e0aca202a116: Verifying Checksum [2022-01-12T22:42:19.454Z] e0aca202a116: Download complete [2022-01-12T22:42:19.454Z] 3a43be97a3b4: Verifying Checksum [2022-01-12T22:42:19.454Z] 3a43be97a3b4: Download complete [2022-01-12T22:42:19.454Z] 31adcdaf11c8: Pull complete [2022-01-12T22:42:19.732Z] b8b176561691: Pull complete [2022-01-12T22:42:19.732Z] 34cad66bf833: Verifying Checksum [2022-01-12T22:42:19.732Z] 34cad66bf833: Download complete [2022-01-12T22:42:20.003Z] 4527c011a84f: Verifying Checksum [2022-01-12T22:42:20.003Z] 4527c011a84f: Download complete [2022-01-12T22:42:20.279Z] b4e3c513aaa6: Verifying Checksum [2022-01-12T22:42:20.279Z] b4e3c513aaa6: Download complete [2022-01-12T22:42:23.646Z] 4527c011a84f: Pull complete [2022-01-12T22:42:23.646Z] 5d74067f8e1e: Pull complete [2022-01-12T22:42:23.646Z] e0aca202a116: Pull complete [2022-01-12T22:42:23.646Z] 3a43be97a3b4: Pull complete [2022-01-12T22:42:23.922Z] 34cad66bf833: Pull complete [2022-01-12T22:42:25.856Z] b4e3c513aaa6: Pull complete [2022-01-12T22:42:25.856Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-12T22:42:25.856Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-12T22:42:25.856Z] ---> 9f6097aaca64 [2022-01-12T22:42:25.856Z] Step 3/10 : ARG MAKE=make build [2022-01-12T22:42:27.767Z] ---> Running in 4eb062d66e98 [2022-01-12T22:42:27.767Z] Removing intermediate container 4eb062d66e98 [2022-01-12T22:42:27.767Z] ---> d9d68fc2d45a [2022-01-12T22:42:27.767Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T22:42:27.767Z] ---> Running in 53d3628e732c [2022-01-12T22:42:27.767Z] Removing intermediate container 53d3628e732c [2022-01-12T22:42:27.767Z] ---> ee5092f1182e [2022-01-12T22:42:27.767Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T22:42:27.767Z] ---> Running in 7a1656b4214a [2022-01-12T22:42:27.767Z] Removing intermediate container 7a1656b4214a [2022-01-12T22:42:27.767Z] ---> a25999cc0d73 [2022-01-12T22:42:27.767Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T22:42:27.767Z] ---> Running in dd0d3bf14661 [2022-01-12T22:42:28.336Z] Removing intermediate container dd0d3bf14661 [2022-01-12T22:42:28.336Z] ---> 4fae7c374978 [2022-01-12T22:42:28.336Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T22:42:28.336Z] ---> Running in e686d356fe11 [2022-01-12T22:42:28.596Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-12T22:42:29.540Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-12T22:42:29.801Z] OK: 220 MiB in 52 packages [2022-01-12T22:42:30.060Z] Removing intermediate container e686d356fe11 [2022-01-12T22:42:30.060Z] ---> c450d7e1bc07 [2022-01-12T22:42:30.060Z] Step 8/10 : COPY . . [2022-01-12T22:42:30.633Z] ---> 93982742a768 [2022-01-12T22:42:30.633Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T22:42:30.633Z] ---> Running in 4e62a38c28a9 [2022-01-12T22:42:32.639Z] Still waiting to schedule task [2022-01-12T22:42:32.639Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-12T22:43:02.841Z] Removing intermediate container 4e62a38c28a9 [2022-01-12T22:43:02.842Z] ---> 7af383c7663a [2022-01-12T22:43:02.842Z] Step 10/10 : RUN ${MAKE} [2022-01-12T22:43:02.842Z] ---> Running in 9ef12837f44e [2022-01-12T22:43:03.104Z] noop [2022-01-12T22:43:03.366Z] Removing intermediate container 9ef12837f44e [2022-01-12T22:43:03.366Z] ---> eba6d6144fb4 [2022-01-12T22:43:03.366Z] Successfully built eba6d6144fb4 [2022-01-12T22:43:03.366Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:43:03.682Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T22:43:03.683Z] . [Pipeline] withDockerContainer [2022-01-12T22:43:03.770Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2022-01-12T22:43:03.807Z] $ 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-12T22:43:04.195Z] $ docker top 6962fd3792ec3ecb1f21a81be6062f362160c8d07d5eaef1256d0c8b08d7aa3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T22:43:04.569Z] + go version [2022-01-12T22:43:04.569Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-12T22:43:04.580Z] $ docker stop --time=1 6962fd3792ec3ecb1f21a81be6062f362160c8d07d5eaef1256d0c8b08d7aa3f [2022-01-12T22:43:05.778Z] $ docker rm -f 6962fd3792ec3ecb1f21a81be6062f362160c8d07d5eaef1256d0c8b08d7aa3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:43:06.196Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-12T22:43:06.196Z] . [Pipeline] withDockerContainer [2022-01-12T22:43:06.270Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2022-01-12T22:43:06.304Z] $ 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-12T22:43:06.686Z] $ docker top 03c8d6d6595bb367b4748b42efe932672dd45c8425ec209d4e2769737be83f29 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T22:43:07.074Z] + make test [2022-01-12T22:43:07.075Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T22:43:07.336Z] 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-12T22:43:07.336Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-12T22:43:07.336Z] 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-12T22:43:07.336Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-12T22:43:07.336Z] 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-12T22:43:07.336Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-12T22:43:07.336Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-12T22:43:07.349Z] $ docker stop --time=1 03c8d6d6595bb367b4748b42efe932672dd45c8425ec209d4e2769737be83f29 [2022-01-12T22:43:08.549Z] $ docker rm -f 03c8d6d6595bb367b4748b42efe932672dd45c8425ec209d4e2769737be83f29 [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-12T22:43:09.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T22:43:09.013Z] [2022-01-12T22:43:09.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:43:09.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T22:43:09.321Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-12T22:43:09.321Z] b4d181a07f80: Pulling fs layer [2022-01-12T22:43:09.321Z] a1111a8f2ec3: Pulling fs layer [2022-01-12T22:43:09.321Z] ed53099fbce6: Pulling fs layer [2022-01-12T22:43:09.321Z] dc539afda2c1: Pulling fs layer [2022-01-12T22:43:09.321Z] 77bc0d833cb6: Pulling fs layer [2022-01-12T22:43:09.321Z] 9065ff56babe: Pulling fs layer [2022-01-12T22:43:09.321Z] d287ab97295c: Pulling fs layer [2022-01-12T22:43:09.321Z] dc539afda2c1: Waiting [2022-01-12T22:43:09.321Z] 77bc0d833cb6: Waiting [2022-01-12T22:43:09.321Z] 9065ff56babe: Waiting [2022-01-12T22:43:09.321Z] d287ab97295c: Waiting [2022-01-12T22:43:09.321Z] a1111a8f2ec3: Verifying Checksum [2022-01-12T22:43:09.321Z] a1111a8f2ec3: Download complete [2022-01-12T22:43:09.321Z] dc539afda2c1: Download complete [2022-01-12T22:43:09.583Z] 77bc0d833cb6: Verifying Checksum [2022-01-12T22:43:09.583Z] 77bc0d833cb6: Download complete [2022-01-12T22:43:09.583Z] ed53099fbce6: Verifying Checksum [2022-01-12T22:43:09.583Z] ed53099fbce6: Download complete [2022-01-12T22:43:09.583Z] 9065ff56babe: Verifying Checksum [2022-01-12T22:43:09.583Z] 9065ff56babe: Download complete [2022-01-12T22:43:09.583Z] b4d181a07f80: Verifying Checksum [2022-01-12T22:43:09.583Z] b4d181a07f80: Download complete [2022-01-12T22:43:10.158Z] d287ab97295c: Verifying Checksum [2022-01-12T22:43:10.158Z] d287ab97295c: Download complete [2022-01-12T22:43:11.114Z] b4d181a07f80: Pull complete [2022-01-12T22:43:11.382Z] a1111a8f2ec3: Pull complete [2022-01-12T22:43:11.963Z] ed53099fbce6: Pull complete [2022-01-12T22:43:11.963Z] dc539afda2c1: Pull complete [2022-01-12T22:43:12.226Z] 77bc0d833cb6: Pull complete [2022-01-12T22:43:12.488Z] 9065ff56babe: Pull complete [2022-01-12T22:43:17.838Z] d287ab97295c: Pull complete [2022-01-12T22:43:17.838Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-12T22:43:17.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T22:43:17.838Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-12T22:43:17.916Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2022-01-12T22:43:17.954Z] $ 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-12T22:43:20.868Z] $ docker top b84fc6d91ba82d75ff0f2b2498ff619795c8abfea190f2e7925fbdf7f8b9aab2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:43:21.299Z] ---> job-cost.sh [2022-01-12T22:43:21.299Z] lf-activate-venv: SKIPPING [2022-01-12T22:43:21.299Z] INFO: No Stack... [2022-01-12T22:43:21.558Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T22:43:22.129Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T22:43:22.433Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [2022-01-12T22:43:22.433Z] + cut -d, -f6 [Pipeline] lock [2022-01-12T22:43:22.449Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [2022-01-12T22:43:22.455Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] did not exist. Created. [2022-01-12T22:43:22.455Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T22:43:22.764Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-12T22:43:22.808Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T22:43:22.895Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T22:43:22.915Z] $ docker stop --time=1 b84fc6d91ba82d75ff0f2b2498ff619795c8abfea190f2e7925fbdf7f8b9aab2 [2022-01-12T22:43:24.057Z] $ docker rm -f b84fc6d91ba82d75ff0f2b2498ff619795c8abfea190f2e7925fbdf7f8b9aab2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-12T22:43:24.158Z] Failed in branch amd64 [2022-01-12T22:44:07.761Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1380 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-12T22:44:07.774Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2022-01-12T22:44:07.970Z] The recommended git tool is: git [2022-01-12T22:44:12.922Z] using credential edgex-jenkins-ssh [2022-01-12T22:44:12.939Z] Cloning the remote Git repository [2022-01-12T22:44:13.002Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T22:44:13.084Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2022-01-12T22:44:13.184Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T22:44:13.185Z] > git --version # timeout=10 [2022-01-12T22:44:13.209Z] > git --version # 'git version 2.17.1' [2022-01-12T22:44:13.211Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T22:44:13.297Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T22:44:14.922Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T22:44:14.944Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-12T22:44:14.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-12T22:44:15.074Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-12T22:44:15.075Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T22:44:15.100Z] > 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-12T22:44:18.274Z] Merging remotes/origin/main commit 6af4e576f47094812ab8d15923474e64032289f8 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-12T22:44:18.669Z] Merge succeeded, producing 266fa6a04a81b9f015fc684475527f58e39ffddf [2022-01-12T22:44:18.670Z] Checking out Revision 266fa6a04a81b9f015fc684475527f58e39ffddf (PR-1073) [2022-01-12T22:44:18.299Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T22:44:18.327Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-12T22:44:18.459Z] > git remote # timeout=10 [2022-01-12T22:44:18.484Z] > git config --get remote.origin.url # timeout=10 [2022-01-12T22:44:18.502Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-12T22:44:18.516Z] > git merge 6af4e576f47094812ab8d15923474e64032289f8 # timeout=10 [2022-01-12T22:44:18.647Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-12T22:44:18.679Z] > git config core.sparsecheckout # timeout=10 [2022-01-12T22:44:18.712Z] > git checkout -f 266fa6a04a81b9f015fc684475527f58e39ffddf # timeout=10 [2022-01-12T22:44:23.032Z] Commit message: "Merge commit '6af4e576f47094812ab8d15923474e64032289f8' into HEAD" [2022-01-12T22:44:23.066Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-12T22:44:23.964Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-12T22:44:23.964Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-12T22:44:23.964Z] Dload Upload Total Spent Left Speed [2022-01-12T22:44:23.964Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh [2022-01-12T22:44:24.516Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [2022-01-12T22:44:23.043Z] > git rev-list --no-walk b5e086b431574f8242da2290a7a1177622e961f6 # timeout=10 [Pipeline] sh [2022-01-12T22:44:24.862Z] + + sudo tee /etc/docker/daemon.new [2022-01-12T22:44:24.862Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-12T22:44:24.862Z] { [2022-01-12T22:44:24.862Z] "registry-mirrors": [ [2022-01-12T22:44:24.862Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-12T22:44:24.862Z] ], [2022-01-12T22:44:24.862Z] "bip": "10.250.0.254/24", [2022-01-12T22:44:24.862Z] "hosts": [ [2022-01-12T22:44:24.862Z] "tcp://0.0.0.0:5555", [2022-01-12T22:44:24.862Z] "unix:///var/run/docker.sock" [2022-01-12T22:44:24.862Z] ], [2022-01-12T22:44:24.862Z] "mtu": 1458, [2022-01-12T22:44:24.862Z] "selinux-enabled": true, [2022-01-12T22:44:24.862Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-12T22:44:24.862Z] } [Pipeline] sh [2022-01-12T22:44:25.218Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-12T22:44:25.579Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T22:44:43.983Z] provisioning config files... [2022-01-12T22:44:44.006Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config166624611737805208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:44:44.360Z] ---> docker-login.sh [2022-01-12T22:44:44.360Z] nexus3.edgexfoundry.org:10001 [2022-01-12T22:44:44.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:44:45.227Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:44:45.227Z] Configure a credential helper to remove this warning. See [2022-01-12T22:44:45.227Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:44:45.227Z] [2022-01-12T22:44:45.227Z] Login Succeeded [2022-01-12T22:44:45.227Z] nexus3.edgexfoundry.org:10002 [2022-01-12T22:44:45.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:44:45.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:44:45.499Z] Configure a credential helper to remove this warning. See [2022-01-12T22:44:45.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:44:45.499Z] [2022-01-12T22:44:45.499Z] Login Succeeded [2022-01-12T22:44:45.499Z] nexus3.edgexfoundry.org:10003 [2022-01-12T22:44:45.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:44:46.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:44:46.041Z] Configure a credential helper to remove this warning. See [2022-01-12T22:44:46.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:44:46.041Z] [2022-01-12T22:44:46.041Z] Login Succeeded [2022-01-12T22:44:46.041Z] nexus3.edgexfoundry.org:10004 [2022-01-12T22:44:46.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:44:46.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:44:46.317Z] Configure a credential helper to remove this warning. See [2022-01-12T22:44:46.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:44:46.317Z] [2022-01-12T22:44:46.317Z] Login Succeeded [2022-01-12T22:44:46.317Z] docker.io [2022-01-12T22:44:46.588Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-12T22:44:47.180Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-12T22:44:47.180Z] Configure a credential helper to remove this warning. See [2022-01-12T22:44:47.180Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-12T22:44:47.180Z] [2022-01-12T22:44:47.180Z] Login Succeeded [2022-01-12T22:44:47.180Z] ---> docker-login.sh ends [Pipeline] } [2022-01-12T22:44:47.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-12T22:44:47.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-12T22:44:47.650Z] ========================================================= [2022-01-12T22:44:47.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-12T22:44:47.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:44:48.004Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-12T22:44:48.596Z] Sending build context to Docker daemon 29.49MB [2022-01-12T22:44:48.596Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-12T22:44:48.596Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-12T22:44:48.596Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-12T22:44:48.596Z] 552d1f2373af: Pulling fs layer [2022-01-12T22:44:48.596Z] ea3f2d53f512: Pulling fs layer [2022-01-12T22:44:48.596Z] 9e70ebbbe112: Pulling fs layer [2022-01-12T22:44:48.596Z] 7a9cfe048b4a: Pulling fs layer [2022-01-12T22:44:48.596Z] 72dc09318566: Pulling fs layer [2022-01-12T22:44:48.596Z] f4f7b4309257: Pulling fs layer [2022-01-12T22:44:48.596Z] 0ac9a79272e3: Pulling fs layer [2022-01-12T22:44:48.596Z] b78e95d17946: Pulling fs layer [2022-01-12T22:44:48.596Z] 7a9cfe048b4a: Waiting [2022-01-12T22:44:48.596Z] f4f7b4309257: Waiting [2022-01-12T22:44:48.596Z] 72dc09318566: Waiting [2022-01-12T22:44:48.596Z] 0ac9a79272e3: Waiting [2022-01-12T22:44:48.596Z] b78e95d17946: Waiting [2022-01-12T22:44:48.596Z] 9e70ebbbe112: Verifying Checksum [2022-01-12T22:44:48.596Z] 9e70ebbbe112: Download complete [2022-01-12T22:44:48.868Z] ea3f2d53f512: Verifying Checksum [2022-01-12T22:44:48.868Z] ea3f2d53f512: Download complete [2022-01-12T22:44:48.868Z] 72dc09318566: Verifying Checksum [2022-01-12T22:44:48.868Z] 72dc09318566: Download complete [2022-01-12T22:44:48.868Z] f4f7b4309257: Verifying Checksum [2022-01-12T22:44:48.868Z] f4f7b4309257: Download complete [2022-01-12T22:44:48.868Z] 552d1f2373af: Verifying Checksum [2022-01-12T22:44:48.868Z] 0ac9a79272e3: Verifying Checksum [2022-01-12T22:44:48.868Z] 0ac9a79272e3: Download complete [2022-01-12T22:44:49.467Z] 552d1f2373af: Pull complete [2022-01-12T22:44:50.073Z] ea3f2d53f512: Pull complete [2022-01-12T22:44:50.347Z] 9e70ebbbe112: Pull complete [2022-01-12T22:44:50.621Z] b78e95d17946: Verifying Checksum [2022-01-12T22:44:50.621Z] b78e95d17946: Download complete [2022-01-12T22:44:51.224Z] 7a9cfe048b4a: Verifying Checksum [2022-01-12T22:44:51.224Z] 7a9cfe048b4a: Download complete [2022-01-12T22:45:01.378Z] 7a9cfe048b4a: Pull complete [2022-01-12T22:45:01.657Z] 72dc09318566: Pull complete [2022-01-12T22:45:02.250Z] f4f7b4309257: Pull complete [2022-01-12T22:45:02.250Z] 0ac9a79272e3: Pull complete [2022-01-12T22:45:08.962Z] b78e95d17946: Pull complete [2022-01-12T22:45:08.962Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-12T22:45:08.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-12T22:45:08.962Z] ---> 8b459fc5aaf0 [2022-01-12T22:45:08.962Z] Step 3/10 : ARG MAKE=make build [2022-01-12T22:45:09.557Z] ---> Running in 278ac3cc2e89 [2022-01-12T22:45:10.156Z] Removing intermediate container 278ac3cc2e89 [2022-01-12T22:45:10.156Z] ---> 5c1c5be2ceac [2022-01-12T22:45:10.156Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-12T22:45:10.156Z] ---> Running in e2f314141616 [2022-01-12T22:45:10.428Z] Removing intermediate container e2f314141616 [2022-01-12T22:45:10.428Z] ---> c3867d360294 [2022-01-12T22:45:10.428Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-12T22:45:10.708Z] ---> Running in 6372dbadaaa4 [2022-01-12T22:45:10.980Z] Removing intermediate container 6372dbadaaa4 [2022-01-12T22:45:10.980Z] ---> c1d533c227fe [2022-01-12T22:45:10.980Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-12T22:45:11.250Z] ---> Running in 26d6f3b0e90a [2022-01-12T22:45:12.672Z] Removing intermediate container 26d6f3b0e90a [2022-01-12T22:45:12.672Z] ---> 6de1edf2aeb6 [2022-01-12T22:45:12.672Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-12T22:45:12.944Z] ---> Running in f6f0fe1e2297 [2022-01-12T22:45:13.914Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-12T22:45:14.884Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-12T22:45:15.483Z] OK: 219 MiB in 52 packages [2022-01-12T22:45:16.075Z] Removing intermediate container f6f0fe1e2297 [2022-01-12T22:45:16.075Z] ---> f90c742ba0e1 [2022-01-12T22:45:16.075Z] Step 8/10 : COPY . . [2022-01-12T22:45:18.044Z] ---> 2f898806eddc [2022-01-12T22:45:18.044Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-12T22:45:18.044Z] ---> Running in a78954ab73c4 [2022-01-12T22:46:39.815Z] Removing intermediate container a78954ab73c4 [2022-01-12T22:46:39.815Z] ---> df302bca1c4b [2022-01-12T22:46:39.815Z] Step 10/10 : RUN ${MAKE} [2022-01-12T22:46:39.815Z] ---> Running in c3701c6dbe18 [2022-01-12T22:46:39.815Z] noop [2022-01-12T22:46:39.815Z] Removing intermediate container c3701c6dbe18 [2022-01-12T22:46:39.815Z] ---> aabb40377659 [2022-01-12T22:46:39.815Z] Successfully built aabb40377659 [2022-01-12T22:46:39.815Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:46:40.159Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T22:46:40.159Z] . [Pipeline] withDockerContainer [2022-01-12T22:46:40.418Z] prd-ubuntu18.04-docker-arm64-4c-16g-1380 does not seem to be running inside a container [2022-01-12T22:46:40.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T22:46:41.973Z] $ docker top c489bfef8faf888c791e9088c75df07539001e143fa9889f483d5bab289b371f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T22:46:42.926Z] + go version [2022-01-12T22:46:42.926Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-12T22:46:42.951Z] $ docker stop --time=1 c489bfef8faf888c791e9088c75df07539001e143fa9889f483d5bab289b371f [2022-01-12T22:46:44.634Z] $ docker rm -f c489bfef8faf888c791e9088c75df07539001e143fa9889f483d5bab289b371f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:46:45.252Z] + docker inspect -f . ci-base-image-arm64 [2022-01-12T22:46:45.252Z] . [Pipeline] withDockerContainer [2022-01-12T22:46:45.499Z] prd-ubuntu18.04-docker-arm64-4c-16g-1380 does not seem to be running inside a container [2022-01-12T22:46:45.592Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-12T22:46:47.049Z] $ docker top 6d607d64fb6fc0eb682e7cd933c0639b0bad80d0be9490b34d5155f22a7511a2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-12T22:46:47.970Z] + make test [2022-01-12T22:46:47.970Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-12T22:46:48.955Z] 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-12T22:46:48.955Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-12T22:46:48.955Z] 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-12T22:46:48.955Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-12T22:46:48.955Z] 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-12T22:46:48.955Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-12T22:46:48.955Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-12T22:46:48.980Z] $ docker stop --time=1 6d607d64fb6fc0eb682e7cd933c0639b0bad80d0be9490b34d5155f22a7511a2 [2022-01-12T22:46:50.730Z] $ docker rm -f 6d607d64fb6fc0eb682e7cd933c0639b0bad80d0be9490b34d5155f22a7511a2 [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-12T22:46:51.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T22:46:51.353Z] [2022-01-12T22:46:51.353Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:46:51.704Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T22:46:51.980Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-12T22:46:51.980Z] 448f6bf000e3: Pulling fs layer [2022-01-12T22:46:51.980Z] f757da607395: Pulling fs layer [2022-01-12T22:46:51.980Z] 05883995daec: Pulling fs layer [2022-01-12T22:46:51.980Z] 8603b9c90790: Pulling fs layer [2022-01-12T22:46:51.980Z] 1560dd03e051: Pulling fs layer [2022-01-12T22:46:51.980Z] 27f5ce0e4adf: Pulling fs layer [2022-01-12T22:46:51.980Z] c2d8d7efcc4b: Pulling fs layer [2022-01-12T22:46:51.980Z] 1560dd03e051: Waiting [2022-01-12T22:46:51.980Z] 27f5ce0e4adf: Waiting [2022-01-12T22:46:51.980Z] c2d8d7efcc4b: Waiting [2022-01-12T22:46:51.980Z] 8603b9c90790: Waiting [2022-01-12T22:46:51.980Z] f757da607395: Verifying Checksum [2022-01-12T22:46:51.980Z] f757da607395: Download complete [2022-01-12T22:46:51.980Z] 8603b9c90790: Verifying Checksum [2022-01-12T22:46:51.980Z] 8603b9c90790: Download complete [2022-01-12T22:46:52.255Z] 1560dd03e051: Verifying Checksum [2022-01-12T22:46:52.255Z] 1560dd03e051: Download complete [2022-01-12T22:46:52.255Z] 27f5ce0e4adf: Verifying Checksum [2022-01-12T22:46:52.255Z] 27f5ce0e4adf: Download complete [2022-01-12T22:46:52.255Z] 05883995daec: Verifying Checksum [2022-01-12T22:46:52.255Z] 05883995daec: Download complete [2022-01-12T22:46:52.528Z] 448f6bf000e3: Verifying Checksum [2022-01-12T22:46:52.528Z] 448f6bf000e3: Download complete [2022-01-12T22:46:55.172Z] c2d8d7efcc4b: Verifying Checksum [2022-01-12T22:46:55.172Z] c2d8d7efcc4b: Download complete [2022-01-12T22:46:56.614Z] 448f6bf000e3: Pull complete [2022-01-12T22:46:56.886Z] f757da607395: Pull complete [2022-01-12T22:46:58.319Z] 05883995daec: Pull complete [2022-01-12T22:46:58.593Z] 8603b9c90790: Pull complete [2022-01-12T22:46:59.582Z] 1560dd03e051: Pull complete [2022-01-12T22:46:59.858Z] 27f5ce0e4adf: Pull complete [2022-01-12T22:47:18.194Z] c2d8d7efcc4b: Pull complete [2022-01-12T22:47:18.194Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-12T22:47:18.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-12T22:47:18.194Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-12T22:47:18.434Z] prd-ubuntu18.04-docker-arm64-4c-16g-1380 does not seem to be running inside a container [2022-01-12T22:47:18.523Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-12T22:47:19.886Z] $ docker top 10fa6a5f95badb367280582fb4d0983a5c2787df738fed2391fe6e7cb0389437 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:20.832Z] ---> job-cost.sh [2022-01-12T22:47:20.832Z] lf-activate-venv: SKIPPING [2022-01-12T22:47:20.832Z] INFO: No Stack... [2022-01-12T22:47:21.431Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-12T22:47:21.704Z] INFO: Archiving Costs [Pipeline] sh [2022-01-12T22:47:22.369Z] + + cut -d, -f6cat /w/workspace/device-sdk-go/5/archives/cost.csv [2022-01-12T22:47:22.369Z] [Pipeline] lock [2022-01-12T22:47:22.432Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [2022-01-12T22:47:22.437Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] did not exist. Created. [2022-01-12T22:47:22.437Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-12T22:47:23.122Z] /w/workspace/device-sdk-go/5@tmp/durable-9a27feba/script.sh: 1: /w/workspace/device-sdk-go/5@tmp/durable-9a27feba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-12T22:47:23.799Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-12T22:47:23.824Z] Warning: overwriting stash ‘stack-cost’ [2022-01-12T22:47:24.452Z] Stashed 1 file(s) [Pipeline] } [2022-01-12T22:47:24.463Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-5-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-12T22:47:24.487Z] $ docker stop --time=1 10fa6a5f95badb367280582fb4d0983a5c2787df738fed2391fe6e7cb0389437 [2022-01-12T22:47:26.024Z] $ docker rm -f 10fa6a5f95badb367280582fb4d0983a5c2787df738fed2391fe6e7cb0389437 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-12T22:47:26.388Z] 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-12T22:47:27.046Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-01-12T22:47:27.046Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-12T22:47:27.046Z] total 8 [2022-01-12T22:47:27.046Z] drwxr-xr-x. 3 root root 34 Jan 12 22:43 . [2022-01-12T22:47:27.046Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 22:43 .. [2022-01-12T22:47:27.046Z] drwxr-xr-x. 2 root root 6 Jan 12 22:43 cost [2022-01-12T22:47:27.046Z] -rw-r--r--. 1 root root 85 Jan 12 22:43 cost.csv [2022-01-12T22:47:27.046Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-12T22:47:27.046Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-12T22:47:27.046Z] total 8 [2022-01-12T22:47:27.046Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 12 22:43 . [2022-01-12T22:47:27.046Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 12 22:43 .. [2022-01-12T22:47:27.046Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 12 22:43 cost [2022-01-12T22:47:27.046Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 12 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:27.348Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:27.907Z] ---> package-listing.sh [2022-01-12T22:47:27.908Z] ++ facter osfamily [2022-01-12T22:47:27.908Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-12T22:47:28.168Z] + OS_FAMILY=redhat [2022-01-12T22:47:28.168Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-12T22:47:28.168Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-12T22:47:28.168Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-12T22:47:28.168Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-12T22:47:28.168Z] + PACKAGES=/tmp/packages_start.txt [2022-01-12T22:47:28.168Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-12T22:47:28.168Z] + PACKAGES=/tmp/packages_end.txt [2022-01-12T22:47:28.168Z] + case "${OS_FAMILY}" in [2022-01-12T22:47:28.168Z] + rpm -qa [2022-01-12T22:47:28.168Z] + sort [2022-01-12T22:47:28.742Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-12T22:47:28.742Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-12T22:47:28.742Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-12T22:47:28.742Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-12T22:47:28.742Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-12T22:47:28.742Z] + 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-12T22:47:28.755Z] 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-12T22:47:29.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-12T22:47:29.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-12T22:47:29.600Z] . [Pipeline] withDockerContainer [2022-01-12T22:47:29.668Z] prd-centos7-docker-4c-2g-1379 does not seem to be running inside a container [2022-01-12T22:47:29.700Z] $ 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-12T22:47:29.936Z] $ docker top a1076854b4e9cfa9cf9c54b6b94f1a4a7b1861a50525b546e510337a0571831a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-12T22:47:30.307Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-12T22:47:30.600Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-12T22:47:30.895Z] + ls /var/log/sa-host [2022-01-12T22:47:30.895Z] + sadf -c /var/log/sa-host/sa12 [2022-01-12T22:47:30.895Z] file_magic: OK [2022-01-12T22:47:30.895Z] HZ: Using current value: 100 [2022-01-12T22:47:30.895Z] file_header: OK [2022-01-12T22:47:30.895Z] 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-12T22:47:30.895Z] Statistics: [2022-01-12T22:47:30.895Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T22:47:30.895Z] File successfully converted to sysstat format version 12.0.3 [2022-01-12T22:47:30.895Z] + sadf -c /var/log/sa-host/sa17 [2022-01-12T22:47:30.895Z] file_magic: OK [2022-01-12T22:47:30.895Z] HZ: Using current value: 100 [2022-01-12T22:47:30.895Z] file_header: OK [2022-01-12T22:47:30.895Z] 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-12T22:47:30.895Z] Statistics: [2022-01-12T22:47:30.895Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-12T22:47:30.895Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-12T22:47:31.108Z] provisioning config files... [2022-01-12T22:47:31.117Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config3912263244139870314tmp [Pipeline] { [Pipeline] echo [2022-01-12T22:47:31.133Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:31.418Z] ---> create-netrc.sh [Pipeline] } [2022-01-12T22:47:31.427Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:31.772Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-12T22:47:31.783Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:32.075Z] ---> sudo-logs.sh [2022-01-12T22:47:32.075Z] Archiving 'sudo' log.. [2022-01-12T22:47:32.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1379.novalocal: Name or service not known [2022-01-12T22:47:32.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1379.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-12T22:47:32.099Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:32.395Z] ---> job-cost.sh [2022-01-12T22:47:32.395Z] lf-activate-venv: SKIPPING [2022-01-12T22:47:32.395Z] DEBUG: total: 0.05999999865889549 [2022-01-12T22:47:32.395Z] INFO: Retrieving Stack Cost... [2022-01-12T22:47:32.656Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-12T22:47:32.917Z] INFO: Archiving Costs [Pipeline] echo [2022-01-12T22:47:32.932Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-12T22:47:33.219Z] ---> logs-deploy.sh [2022-01-12T22:47:33.219Z] lf-activate-venv: SKIPPING [2022-01-12T22:47:33.219Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/5 [2022-01-12T22:47:33.219Z] INFO: archiving workspace using pattern(s): [2022-01-12T22:47:33.791Z] Archives upload complete. [2022-01-12T22:47:34.054Z] INFO: archiving logs to Nexus