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 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc 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-ssh9936679340174654886.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-ssh16101463070806209878.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-ssh12965797233087476053.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-ssh13383842831288526459.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-ssh3484629248333353915.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 ‘prd-centos7-docker-4c-2g-1296’ is offline Running on prd-centos7-docker-4c-2g-1298 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-ssh7441093840208599188.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-ssh7423622582498245842.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 df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 Checking out Revision 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 (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-ssh5377905582161066686.key > git merge df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 # timeout=10 Commit message: "Merge commit 'df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-11T22:41:21.595Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-11T22:41:21.645Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-11T22:41:21.660Z] ========================================================= [2022-01-11T22:41:21.660Z] EdgeX Global Pipelines Version Info [2022-01-11T22:41:21.660Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk b38137a9f503b9d193fd9100d0a4152c592c630a # timeout=10 [2022-01-11T22:41:22.799Z] ------------------- [2022-01-11T22:41:22.799Z] stable info: [2022-01-11T22:41:22.799Z] ------------------- [2022-01-11T22:41:22.799Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-11T22:41:22.799Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T22:41:22.799Z] Message: update stable to v1.0.218 [2022-01-11T22:41:23.371Z] ------------------- [2022-01-11T22:41:23.371Z] experimental info: [2022-01-11T22:41:23.371Z] ------------------- [2022-01-11T22:41:23.371Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-11T22:41:23.371Z] Commit SHA: 7a502be46133bd83b74f613648f1d59e9d9e8641 [2022-01-11T22:41:23.371Z] Message: update experimental to v1.0.218 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-11T22:41:23.519Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-11T22:41:23.532Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-11T22:41:23.548Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-11T22:41:23.560Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-11T22:41:23.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-11T22:41:23.583Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2022-01-11T22:41:23.594Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-11T22:41:23.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-11T22:41:23.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-11T22:41:23.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-11T22:41:23.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-11T22:41:23.652Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-11T22:41:23.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-11T22:41:23.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-11T22:41:23.689Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-11T22:41:23.704Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:41:23.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:41:23.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-11T22:41:23.743Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-11T22:41:23.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-11T22:41:23.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-11T22:41:23.781Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-11T22:41:23.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-11T22:41:23.805Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-11T22:41:23.817Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-11T22:41:23.830Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-11T22:41:23.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-11T22:41:23.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-11T22:41:23.867Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-11T22:41:23.878Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [Pipeline] echo [2022-01-11T22:41:23.890Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cf37ee [Pipeline] echo [2022-01-11T22:41:23.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:41:23.944Z] provisioning config files... [2022-01-11T22:41:23.959Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config3466646874985290655tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:41:24.279Z] ---> docker-login.sh [2022-01-11T22:41:24.279Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:41:24.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:24.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:24.540Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:24.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:24.540Z] [2022-01-11T22:41:24.540Z] Login Succeeded [2022-01-11T22:41:24.540Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:41:24.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:24.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:24.540Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:24.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:24.540Z] [2022-01-11T22:41:24.540Z] Login Succeeded [2022-01-11T22:41:24.540Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:41:24.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:24.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:24.802Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:24.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:24.802Z] [2022-01-11T22:41:24.802Z] Login Succeeded [2022-01-11T22:41:24.802Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:41:24.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:24.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:24.802Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:24.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:24.802Z] [2022-01-11T22:41:24.802Z] Login Succeeded [2022-01-11T22:41:24.802Z] docker.io [2022-01-11T22:41:24.802Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:25.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:25.375Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:25.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:25.375Z] [2022-01-11T22:41:25.375Z] Login Succeeded [2022-01-11T22:41:25.375Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:41:25.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-11T22:41:25.767Z] + git rev-list -1 --merges 3cf37eeaea6cc267b9d629e44ee087e91ca0db13~1..3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [Pipeline] echo [2022-01-11T22:41:25.795Z] -----------> git rev-list -1 --merges 3cf37eeaea6cc267b9d629e44ee087e91ca0db13~1..3cf37eeaea6cc267b9d629e44ee087e91ca0db13 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [2022-01-11T22:41:25.795Z] 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [false] [Pipeline] sh [2022-01-11T22:41:26.089Z] + git log --format=format:%s -1 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [Pipeline] echo [2022-01-11T22:41:26.107Z] ========================================================= [2022-01-11T22:41:26.107Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-11T22:41:26.107Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T22:41:26.447Z] + git log --format=format:%s -1 3cf37eeaea6cc267b9d629e44ee087e91ca0db13 [Pipeline] echo [2022-01-11T22:41:26.459Z] [semverPrep] GIT_COMMIT: 3cf37eeaea6cc267b9d629e44ee087e91ca0db13, Commit Message: Merge commit 'df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc' into HEAD [Pipeline] echo [2022-01-11T22:41:26.470Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-11T22:41:26.896Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-11T22:41:26.896Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-11T22:41:26.896Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-11T22:41:26.896Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-11T22:41:26.896Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-11T22:41:26.896Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-11T22:41:26.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:41:27.318Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:41:27.318Z] [2022-01-11T22:41:27.318Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:41:27.626Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:41:27.626Z] latest: Pulling from edgex-devops/git-semver [2022-01-11T22:41:27.626Z] a0d0a0d46f8b: Pulling fs layer [2022-01-11T22:41:27.626Z] 3e5f54012d9b: Pulling fs layer [2022-01-11T22:41:27.626Z] 4c7163046ea9: Pulling fs layer [2022-01-11T22:41:27.626Z] 0c2d73faf560: Pulling fs layer [2022-01-11T22:41:27.626Z] 0c2d73faf560: Waiting [2022-01-11T22:41:27.626Z] 3e5f54012d9b: Verifying Checksum [2022-01-11T22:41:27.626Z] 3e5f54012d9b: Download complete [2022-01-11T22:41:27.626Z] a0d0a0d46f8b: Verifying Checksum [2022-01-11T22:41:27.626Z] a0d0a0d46f8b: Download complete [2022-01-11T22:41:27.626Z] 0c2d73faf560: Verifying Checksum [2022-01-11T22:41:27.626Z] 0c2d73faf560: Download complete [2022-01-11T22:41:27.626Z] 4c7163046ea9: Verifying Checksum [2022-01-11T22:41:27.626Z] 4c7163046ea9: Download complete [2022-01-11T22:41:27.897Z] a0d0a0d46f8b: Pull complete [2022-01-11T22:41:27.897Z] 3e5f54012d9b: Pull complete [2022-01-11T22:41:28.162Z] 4c7163046ea9: Pull complete [2022-01-11T22:41:28.427Z] 0c2d73faf560: Pull complete [2022-01-11T22:41:28.427Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-11T22:41:28.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-11T22:41:28.427Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-11T22:41:28.494Z] prd-centos7-docker-4c-2g-1298 does not seem to be running inside a container [2022-01-11T22:41:28.530Z] $ 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-11T22:41:29.202Z] $ docker top a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-11T22:41:29.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T22:41:29.299Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T22:41:29.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T22:41:29.405Z] $ docker exec a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 ssh-agent [2022-01-11T22:41:29.508Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiOBDbG/agent.13 [2022-01-11T22:41:29.508Z] SSH_AGENT_PID=19 [2022-01-11T22:41:29.516Z] Running ssh-add (command line suppressed) [2022-01-11T22:41:29.610Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_858009279163018492.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_858009279163018492.key) [2022-01-11T22:41:29.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T22:41:29.916Z] + git tag --points-at HEAD [Pipeline] } [2022-01-11T22:41:29.938Z] $ docker exec --env ******** --env ******** a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 ssh-agent -k [2022-01-11T22:41:30.038Z] unset SSH_AUTH_SOCK; [2022-01-11T22:41:30.039Z] unset SSH_AGENT_PID; [2022-01-11T22:41:30.039Z] echo Agent pid 19 killed; [2022-01-11T22:41:30.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-11T22:41:30.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-11T22:41:30.071Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-11T22:41:30.187Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-11T22:41:30.190Z] $ docker exec a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 ssh-agent [2022-01-11T22:41:30.320Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgkJNiI/agent.53 [2022-01-11T22:41:30.320Z] SSH_AGENT_PID=59 [2022-01-11T22:41:30.334Z] Running ssh-add (command line suppressed) [2022-01-11T22:41:30.428Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_8761212206208711497.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_8761212206208711497.key) [2022-01-11T22:41:30.439Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-11T22:41:30.744Z] + git semver init [2022-01-11T22:41:30.744Z] # -> Open(): unable to determine branch for HEAD [2022-01-11T22:41:30.744Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-11T22:41:30.744Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-11T22:41:30.744Z] # $SEMVER_REMOTE_NAME = origin [2022-01-11T22:41:30.744Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-11T22:41:30.744Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-11T22:41:30.744Z] # $SEMVER_BRANCH = PR-1073 [2022-01-11T22:41:30.744Z] # $SEMVER_TEMP = /tmp/semver-015403482 [2022-01-11T22:41:30.744Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-11T22:41:31.691Z] # '/tmp/semver-015403482' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-11T22:41:31.691Z] # -> Force: false [2022-01-11T22:41:31.691Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-11T22:41:31.706Z] $ docker exec --env ******** --env ******** a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 ssh-agent -k [2022-01-11T22:41:31.793Z] unset SSH_AUTH_SOCK; [2022-01-11T22:41:31.794Z] unset SSH_AGENT_PID; [2022-01-11T22:41:31.794Z] echo Agent pid 59 killed; [2022-01-11T22:41:31.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-11T22:41:32.119Z] + git semver [Pipeline] } [2022-01-11T22:41:32.137Z] $ docker stop --time=1 a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 [2022-01-11T22:41:33.392Z] $ docker rm -f a20d6125099d97ae463284c74c2ac069fb0c7d7f9123a66ae5a9c2fdd3d343d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-11T22:41:33.740Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-11T22:41:33.983Z] Stashed 1 file(s) [Pipeline] echo [2022-01-11T22:41:33.987Z] [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-11T22:41:34.114Z] provisioning config files... [2022-01-11T22:41:34.124Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config709112407277920261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:41:34.440Z] ---> docker-login.sh [2022-01-11T22:41:34.440Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:41:34.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:34.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:34.440Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:34.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:34.440Z] [2022-01-11T22:41:34.440Z] Login Succeeded [2022-01-11T22:41:34.440Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:41:34.440Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:34.440Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:34.440Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:34.440Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:34.440Z] [2022-01-11T22:41:34.440Z] Login Succeeded [2022-01-11T22:41:34.440Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:41:34.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:34.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:34.706Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:34.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:34.706Z] [2022-01-11T22:41:34.706Z] Login Succeeded [2022-01-11T22:41:34.706Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:41:34.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:34.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:34.706Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:34.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:34.706Z] [2022-01-11T22:41:34.706Z] Login Succeeded [2022-01-11T22:41:34.706Z] docker.io [2022-01-11T22:41:34.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:41:35.229Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:41:35.229Z] Configure a credential helper to remove this warning. See [2022-01-11T22:41:35.229Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:41:35.229Z] [2022-01-11T22:41:35.229Z] Login Succeeded [2022-01-11T22:41:35.229Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:41:35.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T22:41:35.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T22:41:35.307Z] ========================================================= [2022-01-11T22:41:35.307Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2022-01-11T22:41:35.307Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:41:35.618Z] + 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-11T22:41:35.618Z] Sending build context to Docker daemon 33.78MB [2022-01-11T22:41:35.618Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:41:35.618Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T22:41:35.880Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-11T22:41:35.880Z] a0d0a0d46f8b: Already exists [2022-01-11T22:41:35.880Z] 31adcdaf11c8: Pulling fs layer [2022-01-11T22:41:35.880Z] b8b176561691: Pulling fs layer [2022-01-11T22:41:35.880Z] 4527c011a84f: Pulling fs layer [2022-01-11T22:41:35.880Z] 5d74067f8e1e: Pulling fs layer [2022-01-11T22:41:35.880Z] e0aca202a116: Pulling fs layer [2022-01-11T22:41:35.880Z] 3a43be97a3b4: Pulling fs layer [2022-01-11T22:41:35.880Z] 34cad66bf833: Pulling fs layer [2022-01-11T22:41:35.880Z] b4e3c513aaa6: Pulling fs layer [2022-01-11T22:41:35.880Z] 5d74067f8e1e: Waiting [2022-01-11T22:41:35.880Z] e0aca202a116: Waiting [2022-01-11T22:41:35.880Z] 3a43be97a3b4: Waiting [2022-01-11T22:41:35.880Z] 34cad66bf833: Waiting [2022-01-11T22:41:35.880Z] b4e3c513aaa6: Waiting [2022-01-11T22:41:35.880Z] b8b176561691: Verifying Checksum [2022-01-11T22:41:35.880Z] b8b176561691: Download complete [2022-01-11T22:41:35.880Z] 31adcdaf11c8: Verifying Checksum [2022-01-11T22:41:35.880Z] 31adcdaf11c8: Download complete [2022-01-11T22:41:35.880Z] 5d74067f8e1e: Verifying Checksum [2022-01-11T22:41:35.880Z] 5d74067f8e1e: Download complete [2022-01-11T22:41:35.880Z] e0aca202a116: Verifying Checksum [2022-01-11T22:41:35.880Z] e0aca202a116: Download complete [2022-01-11T22:41:35.880Z] 3a43be97a3b4: Verifying Checksum [2022-01-11T22:41:35.880Z] 3a43be97a3b4: Download complete [2022-01-11T22:41:35.880Z] 34cad66bf833: Verifying Checksum [2022-01-11T22:41:35.880Z] 34cad66bf833: Download complete [2022-01-11T22:41:35.880Z] 31adcdaf11c8: Pull complete [2022-01-11T22:41:36.142Z] b8b176561691: Pull complete [2022-01-11T22:41:36.408Z] 4527c011a84f: Verifying Checksum [2022-01-11T22:41:36.408Z] 4527c011a84f: Download complete [2022-01-11T22:41:36.408Z] b4e3c513aaa6: Verifying Checksum [2022-01-11T22:41:36.408Z] b4e3c513aaa6: Download complete [2022-01-11T22:41:40.645Z] 4527c011a84f: Pull complete [2022-01-11T22:41:40.645Z] 5d74067f8e1e: Pull complete [2022-01-11T22:41:40.645Z] e0aca202a116: Pull complete [2022-01-11T22:41:40.645Z] 3a43be97a3b4: Pull complete [2022-01-11T22:41:40.645Z] 34cad66bf833: Pull complete [2022-01-11T22:41:43.196Z] b4e3c513aaa6: Pull complete [2022-01-11T22:41:43.196Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2022-01-11T22:41:43.196Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2022-01-11T22:41:43.196Z] ---> 9f6097aaca64 [2022-01-11T22:41:43.196Z] Step 3/10 : ARG MAKE=make build [2022-01-11T22:41:44.586Z] ---> Running in 3ed7b7544fff [2022-01-11T22:41:44.586Z] Removing intermediate container 3ed7b7544fff [2022-01-11T22:41:44.586Z] ---> 199f65585caa [2022-01-11T22:41:44.586Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T22:41:44.845Z] ---> Running in 902ee2ef5313 [2022-01-11T22:41:44.845Z] Removing intermediate container 902ee2ef5313 [2022-01-11T22:41:44.845Z] ---> de51f560eafa [2022-01-11T22:41:44.845Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:41:44.845Z] ---> Running in e15e46c85ce2 [2022-01-11T22:41:44.845Z] Removing intermediate container e15e46c85ce2 [2022-01-11T22:41:44.845Z] ---> 994f66916229 [2022-01-11T22:41:44.845Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:41:44.845Z] ---> Running in 84c5cdf21a5c [2022-01-11T22:41:45.424Z] Removing intermediate container 84c5cdf21a5c [2022-01-11T22:41:45.424Z] ---> 93fd255cad68 [2022-01-11T22:41:45.424Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:41:45.424Z] ---> Running in fb02a07df97f [2022-01-11T22:41:45.684Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-11T22:41:46.628Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-11T22:41:46.889Z] OK: 220 MiB in 52 packages [2022-01-11T22:41:47.147Z] Removing intermediate container fb02a07df97f [2022-01-11T22:41:47.147Z] ---> 4fd1d95ca388 [2022-01-11T22:41:47.147Z] Step 8/10 : COPY . . [2022-01-11T22:41:47.723Z] ---> dbbe6f041432 [2022-01-11T22:41:47.723Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:41:47.723Z] ---> Running in dfbc3415f176 [2022-01-11T22:41:49.084Z] Still waiting to schedule task [2022-01-11T22:41:49.085Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-1297’ is offline [2022-01-11T22:42:19.863Z] Removing intermediate container dfbc3415f176 [2022-01-11T22:42:19.863Z] ---> 51f3b73cbc31 [2022-01-11T22:42:19.863Z] Step 10/10 : RUN ${MAKE} [2022-01-11T22:42:19.863Z] ---> Running in bed0b00102cb [2022-01-11T22:42:19.863Z] noop [2022-01-11T22:42:19.863Z] Removing intermediate container bed0b00102cb [2022-01-11T22:42:19.863Z] ---> 7da58c44e282 [2022-01-11T22:42:19.863Z] Successfully built 7da58c44e282 [2022-01-11T22:42:19.863Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:42:20.173Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T22:42:20.173Z] . [Pipeline] withDockerContainer [2022-01-11T22:42:20.237Z] prd-centos7-docker-4c-2g-1298 does not seem to be running inside a container [2022-01-11T22:42:20.273Z] $ 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-11T22:42:20.638Z] $ docker top f61f20ecd39c31497d216f9d827b86fc3634c4e9331efd023faad48b7c0e2a56 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:42:20.998Z] + go version [2022-01-11T22:42:20.998Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-01-11T22:42:21.008Z] $ docker stop --time=1 f61f20ecd39c31497d216f9d827b86fc3634c4e9331efd023faad48b7c0e2a56 [2022-01-11T22:42:22.179Z] $ docker rm -f f61f20ecd39c31497d216f9d827b86fc3634c4e9331efd023faad48b7c0e2a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:42:22.571Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-11T22:42:22.572Z] . [Pipeline] withDockerContainer [2022-01-11T22:42:22.631Z] prd-centos7-docker-4c-2g-1298 does not seem to be running inside a container [2022-01-11T22:42:22.664Z] $ 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-11T22:42:23.017Z] $ docker top 57cfab6411deabff12a544f67d888d445af2298ccac19f660692de21a0898993 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T22:42:23.378Z] + make test [2022-01-11T22:42:23.378Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T22:42:23.638Z] 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-11T22:42:23.638Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-11T22:42:23.638Z] 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-11T22:42:23.638Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-11T22:42:23.638Z] 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-11T22:42:23.638Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-11T22:42:23.638Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-11T22:42:23.650Z] $ docker stop --time=1 57cfab6411deabff12a544f67d888d445af2298ccac19f660692de21a0898993 [2022-01-11T22:42:24.831Z] $ docker rm -f 57cfab6411deabff12a544f67d888d445af2298ccac19f660692de21a0898993 [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-11T22:42:25.294Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:42:25.294Z] [2022-01-11T22:42:25.294Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:42:25.595Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:42:25.595Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-11T22:42:25.595Z] b4d181a07f80: Pulling fs layer [2022-01-11T22:42:25.595Z] a1111a8f2ec3: Pulling fs layer [2022-01-11T22:42:25.595Z] ed53099fbce6: Pulling fs layer [2022-01-11T22:42:25.595Z] dc539afda2c1: Pulling fs layer [2022-01-11T22:42:25.595Z] 77bc0d833cb6: Pulling fs layer [2022-01-11T22:42:25.595Z] 9065ff56babe: Pulling fs layer [2022-01-11T22:42:25.595Z] d287ab97295c: Pulling fs layer [2022-01-11T22:42:25.595Z] 77bc0d833cb6: Waiting [2022-01-11T22:42:25.595Z] 9065ff56babe: Waiting [2022-01-11T22:42:25.595Z] d287ab97295c: Waiting [2022-01-11T22:42:25.595Z] dc539afda2c1: Waiting [2022-01-11T22:42:25.595Z] a1111a8f2ec3: Verifying Checksum [2022-01-11T22:42:25.595Z] a1111a8f2ec3: Download complete [2022-01-11T22:42:25.595Z] dc539afda2c1: Verifying Checksum [2022-01-11T22:42:25.595Z] dc539afda2c1: Download complete [2022-01-11T22:42:25.595Z] ed53099fbce6: Verifying Checksum [2022-01-11T22:42:25.595Z] ed53099fbce6: Download complete [2022-01-11T22:42:25.595Z] 9065ff56babe: Verifying Checksum [2022-01-11T22:42:25.595Z] 9065ff56babe: Download complete [2022-01-11T22:42:25.856Z] 77bc0d833cb6: Verifying Checksum [2022-01-11T22:42:25.856Z] 77bc0d833cb6: Download complete [2022-01-11T22:42:25.856Z] b4d181a07f80: Verifying Checksum [2022-01-11T22:42:25.856Z] b4d181a07f80: Download complete [2022-01-11T22:42:26.437Z] d287ab97295c: Verifying Checksum [2022-01-11T22:42:26.437Z] d287ab97295c: Download complete [2022-01-11T22:42:27.389Z] b4d181a07f80: Pull complete [2022-01-11T22:42:27.389Z] a1111a8f2ec3: Pull complete [2022-01-11T22:42:27.968Z] ed53099fbce6: Pull complete [2022-01-11T22:42:27.968Z] dc539afda2c1: Pull complete [2022-01-11T22:42:28.230Z] 77bc0d833cb6: Pull complete [2022-01-11T22:42:28.230Z] 9065ff56babe: Pull complete [2022-01-11T22:42:33.565Z] d287ab97295c: Pull complete [2022-01-11T22:42:33.565Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-11T22:42:33.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:42:33.565Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-11T22:42:33.630Z] prd-centos7-docker-4c-2g-1298 does not seem to be running inside a container [2022-01-11T22:42:33.665Z] $ 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-11T22:42:36.079Z] $ docker top ee584433a972ea60b6f5780ce43ea70cd602914190103e72d27797b008a3e3e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:42:36.498Z] ---> job-cost.sh [2022-01-11T22:42:36.498Z] lf-activate-venv: SKIPPING [2022-01-11T22:42:36.498Z] INFO: No Stack... [2022-01-11T22:42:36.758Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T22:42:37.329Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T22:42:37.626Z] + cut -d, -f6 [2022-01-11T22:42:37.626Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [Pipeline] lock [2022-01-11T22:42:37.642Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [2022-01-11T22:42:37.647Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] did not exist. Created. [2022-01-11T22:42:37.648Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T22:42:37.965Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-11T22:42:38.001Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T22:42:38.010Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T22:42:38.031Z] $ docker stop --time=1 ee584433a972ea60b6f5780ce43ea70cd602914190103e72d27797b008a3e3e3 [2022-01-11T22:42:39.163Z] $ docker rm -f ee584433a972ea60b6f5780ce43ea70cd602914190103e72d27797b008a3e3e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T22:42:39.265Z] Failed in branch amd64 [2022-01-11T22:43:15.883Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1299 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-11T22:43:15.895Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2022-01-11T22:43:16.125Z] The recommended git tool is: git [2022-01-11T22:43:20.604Z] using credential edgex-jenkins-ssh [2022-01-11T22:43:20.621Z] Cloning the remote Git repository [2022-01-11T22:43:20.639Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T22:43:20.716Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2022-01-11T22:43:20.818Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T22:43:20.819Z] > git --version # timeout=10 [2022-01-11T22:43:20.842Z] > git --version # 'git version 2.17.1' [2022-01-11T22:43:20.844Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T22:43:20.928Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T22:43:22.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T22:43:22.570Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-11T22:43:22.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-11T22:43:22.649Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-11T22:43:22.650Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T22:43:22.662Z] > 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-11T22:43:25.478Z] Merging remotes/origin/main commit df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-11T22:43:25.799Z] Merge succeeded, producing b5e086b431574f8242da2290a7a1177622e961f6 [2022-01-11T22:43:25.800Z] Checking out Revision b5e086b431574f8242da2290a7a1177622e961f6 (PR-1073) [2022-01-11T22:43:25.480Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T22:43:25.494Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-11T22:43:25.610Z] > git remote # timeout=10 [2022-01-11T22:43:25.630Z] > git config --get remote.origin.url # timeout=10 [2022-01-11T22:43:25.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-11T22:43:25.665Z] > git merge df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc # timeout=10 [2022-01-11T22:43:25.773Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-11T22:43:25.794Z] > git config core.sparsecheckout # timeout=10 [2022-01-11T22:43:25.815Z] > git checkout -f b5e086b431574f8242da2290a7a1177622e961f6 # timeout=10 [2022-01-11T22:43:29.894Z] Commit message: "Merge commit 'df5f27d7d67d705bfe594b5b71f0f5db1fd10fcc' into HEAD" [2022-01-11T22:43:29.916Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-11T22:43:30.823Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-11T22:43:30.823Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-11T22:43:30.823Z] Dload Upload Total Spent Left Speed [2022-01-11T22:43:30.823Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 69257 0 --:--:-- --:--:-- --:--:-- 69257 [2022-01-11T22:43:29.899Z] > git rev-list --no-walk b38137a9f503b9d193fd9100d0a4152c592c630a # timeout=10 [Pipeline] sh [2022-01-11T22:43:31.427Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-11T22:43:31.759Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-11T22:43:31.759Z] + sudo tee /etc/docker/daemon.new [2022-01-11T22:43:31.759Z] { [2022-01-11T22:43:31.759Z] "registry-mirrors": [ [2022-01-11T22:43:31.759Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-11T22:43:31.759Z] ], [2022-01-11T22:43:31.759Z] "bip": "10.250.0.254/24", [2022-01-11T22:43:31.759Z] "hosts": [ [2022-01-11T22:43:31.759Z] "tcp://0.0.0.0:5555", [2022-01-11T22:43:31.759Z] "unix:///var/run/docker.sock" [2022-01-11T22:43:31.759Z] ], [2022-01-11T22:43:31.759Z] "mtu": 1458, [2022-01-11T22:43:31.759Z] "selinux-enabled": true, [2022-01-11T22:43:31.759Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-11T22:43:31.759Z] } [Pipeline] sh [2022-01-11T22:43:32.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-11T22:43:32.450Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:43:50.764Z] provisioning config files... [2022-01-11T22:43:50.790Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7047140637957738540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:43:51.143Z] ---> docker-login.sh [2022-01-11T22:43:51.143Z] nexus3.edgexfoundry.org:10001 [2022-01-11T22:43:51.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:43:52.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:43:52.008Z] Configure a credential helper to remove this warning. See [2022-01-11T22:43:52.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:43:52.008Z] [2022-01-11T22:43:52.008Z] Login Succeeded [2022-01-11T22:43:52.008Z] nexus3.edgexfoundry.org:10002 [2022-01-11T22:43:52.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:43:52.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:43:52.280Z] Configure a credential helper to remove this warning. See [2022-01-11T22:43:52.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:43:52.281Z] [2022-01-11T22:43:52.281Z] Login Succeeded [2022-01-11T22:43:52.281Z] nexus3.edgexfoundry.org:10003 [2022-01-11T22:43:52.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:43:52.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:43:52.551Z] Configure a credential helper to remove this warning. See [2022-01-11T22:43:52.551Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:43:52.551Z] [2022-01-11T22:43:52.551Z] Login Succeeded [2022-01-11T22:43:52.822Z] nexus3.edgexfoundry.org:10004 [2022-01-11T22:43:53.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:43:53.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:43:53.096Z] Configure a credential helper to remove this warning. See [2022-01-11T22:43:53.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:43:53.096Z] [2022-01-11T22:43:53.096Z] Login Succeeded [2022-01-11T22:43:53.096Z] docker.io [2022-01-11T22:43:53.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-11T22:43:53.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-11T22:43:53.973Z] Configure a credential helper to remove this warning. See [2022-01-11T22:43:53.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-11T22:43:53.973Z] [2022-01-11T22:43:53.973Z] Login Succeeded [2022-01-11T22:43:53.973Z] ---> docker-login.sh ends [Pipeline] } [2022-01-11T22:43:53.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-11T22:43:54.544Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-11T22:43:54.560Z] ========================================================= [2022-01-11T22:43:54.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2022-01-11T22:43:54.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:43:54.920Z] + 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-11T22:43:55.514Z] Sending build context to Docker daemon 29.48MB [2022-01-11T22:43:55.514Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2022-01-11T22:43:55.514Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-11T22:43:55.789Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-11T22:43:55.789Z] 552d1f2373af: Pulling fs layer [2022-01-11T22:43:55.789Z] ea3f2d53f512: Pulling fs layer [2022-01-11T22:43:55.789Z] 9e70ebbbe112: Pulling fs layer [2022-01-11T22:43:55.789Z] 7a9cfe048b4a: Pulling fs layer [2022-01-11T22:43:55.789Z] 72dc09318566: Pulling fs layer [2022-01-11T22:43:55.789Z] f4f7b4309257: Pulling fs layer [2022-01-11T22:43:55.789Z] 0ac9a79272e3: Pulling fs layer [2022-01-11T22:43:55.789Z] b78e95d17946: Pulling fs layer [2022-01-11T22:43:55.789Z] 7a9cfe048b4a: Waiting [2022-01-11T22:43:55.789Z] 72dc09318566: Waiting [2022-01-11T22:43:55.789Z] f4f7b4309257: Waiting [2022-01-11T22:43:55.789Z] 0ac9a79272e3: Waiting [2022-01-11T22:43:55.789Z] b78e95d17946: Waiting [2022-01-11T22:43:55.789Z] 9e70ebbbe112: Verifying Checksum [2022-01-11T22:43:55.789Z] 9e70ebbbe112: Download complete [2022-01-11T22:43:55.789Z] ea3f2d53f512: Verifying Checksum [2022-01-11T22:43:55.789Z] ea3f2d53f512: Download complete [2022-01-11T22:43:55.789Z] 72dc09318566: Download complete [2022-01-11T22:43:55.789Z] f4f7b4309257: Verifying Checksum [2022-01-11T22:43:55.789Z] f4f7b4309257: Download complete [2022-01-11T22:43:55.789Z] 0ac9a79272e3: Download complete [2022-01-11T22:43:55.789Z] 552d1f2373af: Verifying Checksum [2022-01-11T22:43:55.789Z] 552d1f2373af: Download complete [2022-01-11T22:43:56.390Z] 552d1f2373af: Pull complete [2022-01-11T22:43:57.378Z] ea3f2d53f512: Pull complete [2022-01-11T22:43:57.652Z] 9e70ebbbe112: Pull complete [2022-01-11T22:43:57.652Z] b78e95d17946: Download complete [2022-01-11T22:43:58.246Z] 7a9cfe048b4a: Verifying Checksum [2022-01-11T22:43:58.246Z] 7a9cfe048b4a: Download complete [2022-01-11T22:44:10.641Z] 7a9cfe048b4a: Pull complete [2022-01-11T22:44:10.641Z] 72dc09318566: Pull complete [2022-01-11T22:44:10.641Z] f4f7b4309257: Pull complete [2022-01-11T22:44:10.641Z] 0ac9a79272e3: Pull complete [2022-01-11T22:44:16.039Z] b78e95d17946: Pull complete [2022-01-11T22:44:16.039Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2022-01-11T22:44:16.039Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2022-01-11T22:44:16.039Z] ---> 8b459fc5aaf0 [2022-01-11T22:44:16.039Z] Step 3/10 : ARG MAKE=make build [2022-01-11T22:44:17.032Z] ---> Running in 334997c0f021 [2022-01-11T22:44:17.032Z] Removing intermediate container 334997c0f021 [2022-01-11T22:44:17.032Z] ---> 2010a3f608e7 [2022-01-11T22:44:17.032Z] Step 4/10 : WORKDIR /device-sdk-go [2022-01-11T22:44:17.308Z] ---> Running in 44309fef3655 [2022-01-11T22:44:17.579Z] Removing intermediate container 44309fef3655 [2022-01-11T22:44:17.579Z] ---> 3205213c1d26 [2022-01-11T22:44:17.579Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-11T22:44:17.853Z] ---> Running in 4ae67ff1d1ac [2022-01-11T22:44:18.128Z] Removing intermediate container 4ae67ff1d1ac [2022-01-11T22:44:18.128Z] ---> 2ace1377283c [2022-01-11T22:44:18.128Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-11T22:44:18.128Z] ---> Running in e3a647fcfd43 [2022-01-11T22:44:20.121Z] Removing intermediate container e3a647fcfd43 [2022-01-11T22:44:20.121Z] ---> 40ecfd50637b [2022-01-11T22:44:20.121Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-11T22:44:20.121Z] ---> Running in 0d905a0a36ee [2022-01-11T22:44:21.097Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-11T22:44:22.067Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-11T22:44:22.663Z] OK: 219 MiB in 52 packages [2022-01-11T22:44:23.256Z] Removing intermediate container 0d905a0a36ee [2022-01-11T22:44:23.256Z] ---> 818280a56805 [2022-01-11T22:44:23.256Z] Step 8/10 : COPY . . [2022-01-11T22:44:25.232Z] ---> de8c18f2684b [2022-01-11T22:44:25.232Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-11T22:44:25.232Z] ---> Running in 190bc4ce4b50 [2022-01-11T22:45:47.036Z] Removing intermediate container 190bc4ce4b50 [2022-01-11T22:45:47.036Z] ---> 5ef286b3dcbc [2022-01-11T22:45:47.036Z] Step 10/10 : RUN ${MAKE} [2022-01-11T22:45:47.036Z] ---> Running in 51e0cd1690e5 [2022-01-11T22:45:47.036Z] noop [2022-01-11T22:45:47.036Z] Removing intermediate container 51e0cd1690e5 [2022-01-11T22:45:47.036Z] ---> b063bb1a3ebc [2022-01-11T22:45:47.036Z] Successfully built b063bb1a3ebc [2022-01-11T22:45:47.036Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:45:47.378Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T22:45:47.378Z] . [Pipeline] withDockerContainer [2022-01-11T22:45:47.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-1299 does not seem to be running inside a container [2022-01-11T22:45:47.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T22:45:49.040Z] $ docker top cedbc4398cf4c14a1e2be7ff66aa207b6aab72e8e74d2aa296ea501a854f71df -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:45:49.888Z] + go version [2022-01-11T22:45:49.889Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-01-11T22:45:49.953Z] $ docker stop --time=1 cedbc4398cf4c14a1e2be7ff66aa207b6aab72e8e74d2aa296ea501a854f71df [2022-01-11T22:45:51.553Z] $ docker rm -f cedbc4398cf4c14a1e2be7ff66aa207b6aab72e8e74d2aa296ea501a854f71df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:45:52.078Z] + docker inspect -f . ci-base-image-arm64 [2022-01-11T22:45:52.078Z] . [Pipeline] withDockerContainer [2022-01-11T22:45:52.292Z] prd-ubuntu18.04-docker-arm64-4c-16g-1299 does not seem to be running inside a container [2022-01-11T22:45:52.410Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-11T22:45:53.732Z] $ docker top 8061e990365d62fd14594171ec1667c515d18d41ce3034ee0c43e01681b7efa1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-11T22:45:54.587Z] + make test [2022-01-11T22:45:54.587Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-01-11T22:45:55.564Z] 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-11T22:45:55.564Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-11T22:45:55.564Z] 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-11T22:45:55.564Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-11T22:45:55.564Z] 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-11T22:45:55.564Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-11T22:45:55.564Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-11T22:45:55.632Z] $ docker stop --time=1 8061e990365d62fd14594171ec1667c515d18d41ce3034ee0c43e01681b7efa1 [2022-01-11T22:45:57.288Z] $ docker rm -f 8061e990365d62fd14594171ec1667c515d18d41ce3034ee0c43e01681b7efa1 [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-11T22:45:57.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:45:57.837Z] [2022-01-11T22:45:57.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:45:58.181Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:45:58.181Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-11T22:45:58.181Z] 448f6bf000e3: Pulling fs layer [2022-01-11T22:45:58.181Z] f757da607395: Pulling fs layer [2022-01-11T22:45:58.181Z] 05883995daec: Pulling fs layer [2022-01-11T22:45:58.181Z] 8603b9c90790: Pulling fs layer [2022-01-11T22:45:58.181Z] 1560dd03e051: Pulling fs layer [2022-01-11T22:45:58.181Z] 27f5ce0e4adf: Pulling fs layer [2022-01-11T22:45:58.181Z] c2d8d7efcc4b: Pulling fs layer [2022-01-11T22:45:58.181Z] 1560dd03e051: Waiting [2022-01-11T22:45:58.181Z] 27f5ce0e4adf: Waiting [2022-01-11T22:45:58.181Z] c2d8d7efcc4b: Waiting [2022-01-11T22:45:58.456Z] f757da607395: Download complete [2022-01-11T22:45:58.456Z] 8603b9c90790: Verifying Checksum [2022-01-11T22:45:58.456Z] 8603b9c90790: Download complete [2022-01-11T22:45:58.456Z] 1560dd03e051: Verifying Checksum [2022-01-11T22:45:58.456Z] 1560dd03e051: Download complete [2022-01-11T22:45:58.456Z] 27f5ce0e4adf: Verifying Checksum [2022-01-11T22:45:58.456Z] 27f5ce0e4adf: Download complete [2022-01-11T22:45:58.456Z] 05883995daec: Verifying Checksum [2022-01-11T22:45:58.456Z] 05883995daec: Download complete [2022-01-11T22:45:59.054Z] 448f6bf000e3: Verifying Checksum [2022-01-11T22:45:59.054Z] 448f6bf000e3: Download complete [2022-01-11T22:46:01.681Z] c2d8d7efcc4b: Verifying Checksum [2022-01-11T22:46:01.681Z] c2d8d7efcc4b: Download complete [2022-01-11T22:46:02.658Z] 448f6bf000e3: Pull complete [2022-01-11T22:46:03.266Z] f757da607395: Pull complete [2022-01-11T22:46:04.702Z] 05883995daec: Pull complete [2022-01-11T22:46:04.976Z] 8603b9c90790: Pull complete [2022-01-11T22:46:05.574Z] 1560dd03e051: Pull complete [2022-01-11T22:46:05.846Z] 27f5ce0e4adf: Pull complete [2022-01-11T22:46:20.919Z] c2d8d7efcc4b: Pull complete [2022-01-11T22:46:20.919Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-11T22:46:20.919Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-11T22:46:20.919Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-11T22:46:21.114Z] prd-ubuntu18.04-docker-arm64-4c-16g-1299 does not seem to be running inside a container [2022-01-11T22:46:21.241Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-11T22:46:23.655Z] $ docker top 784c46069868642b5370daa2bec23a6363dde9352c0c872d0126902bc143d948 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:24.497Z] ---> job-cost.sh [2022-01-11T22:46:24.497Z] lf-activate-venv: SKIPPING [2022-01-11T22:46:24.497Z] INFO: No Stack... [2022-01-11T22:46:24.767Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-11T22:46:25.041Z] INFO: Archiving Costs [Pipeline] sh [2022-01-11T22:46:25.714Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2022-01-11T22:46:25.714Z] + cut -d, -f6 [Pipeline] lock [2022-01-11T22:46:25.776Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [2022-01-11T22:46:25.782Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] did not exist. Created. [2022-01-11T22:46:25.782Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-11T22:46:26.454Z] /w/workspace/device-sdk-go/4@tmp/durable-1883441a/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-1883441a/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-11T22:46:27.127Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-11T22:46:27.154Z] Warning: overwriting stash ‘stack-cost’ [2022-01-11T22:46:27.588Z] Stashed 1 file(s) [Pipeline] } [2022-01-11T22:46:27.599Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-4-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-11T22:46:27.671Z] $ docker stop --time=1 784c46069868642b5370daa2bec23a6363dde9352c0c872d0126902bc143d948 [2022-01-11T22:46:29.140Z] $ docker rm -f 784c46069868642b5370daa2bec23a6363dde9352c0c872d0126902bc143d948 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-11T22:46:29.389Z] 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-11T22:46:30.123Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-01-11T22:46:30.123Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-11T22:46:30.123Z] total 8 [2022-01-11T22:46:30.123Z] drwxr-xr-x. 3 root root 34 Jan 11 22:42 . [2022-01-11T22:46:30.123Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:42 .. [2022-01-11T22:46:30.123Z] drwxr-xr-x. 2 root root 6 Jan 11 22:42 cost [2022-01-11T22:46:30.123Z] -rw-r--r--. 1 root root 85 Jan 11 22:42 cost.csv [2022-01-11T22:46:30.123Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-11T22:46:30.123Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-11T22:46:30.123Z] total 8 [2022-01-11T22:46:30.123Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 11 22:42 . [2022-01-11T22:46:30.123Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 11 22:42 .. [2022-01-11T22:46:30.123Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 11 22:42 cost [2022-01-11T22:46:30.123Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 11 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:30.424Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:30.988Z] ---> package-listing.sh [2022-01-11T22:46:30.988Z] ++ facter osfamily [2022-01-11T22:46:30.988Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-11T22:46:31.249Z] + OS_FAMILY=redhat [2022-01-11T22:46:31.249Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-11T22:46:31.249Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-11T22:46:31.249Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-11T22:46:31.249Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-11T22:46:31.249Z] + PACKAGES=/tmp/packages_start.txt [2022-01-11T22:46:31.249Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-11T22:46:31.249Z] + PACKAGES=/tmp/packages_end.txt [2022-01-11T22:46:31.249Z] + case "${OS_FAMILY}" in [2022-01-11T22:46:31.249Z] + rpm -qa [2022-01-11T22:46:31.249Z] + sort [2022-01-11T22:46:31.821Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-11T22:46:31.821Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-11T22:46:31.821Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-11T22:46:31.821Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-11T22:46:31.821Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-11T22:46:31.821Z] + 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-11T22:46:31.833Z] 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-11T22:46:32.113Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-11T22:46:32.676Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-11T22:46:32.676Z] . [Pipeline] withDockerContainer [2022-01-11T22:46:32.742Z] prd-centos7-docker-4c-2g-1298 does not seem to be running inside a container [2022-01-11T22:46:32.775Z] $ 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-11T22:46:32.965Z] $ docker top ad78cd7ded52e57ab06c4d4ccf3d31ce4d3fe429308e8e96c9aa765a0baf5993 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-11T22:46:33.319Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-11T22:46:33.611Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-11T22:46:33.903Z] + ls /var/log/sa-host [2022-01-11T22:46:33.903Z] + sadf -c /var/log/sa-host/sa11 [2022-01-11T22:46:33.903Z] file_magic: OK [2022-01-11T22:46:33.903Z] HZ: Using current value: 100 [2022-01-11T22:46:33.903Z] file_header: OK [2022-01-11T22:46:33.903Z] 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-11T22:46:33.903Z] Statistics: [2022-01-11T22:46:33.903Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T22:46:33.903Z] File successfully converted to sysstat format version 12.0.3 [2022-01-11T22:46:33.903Z] + sadf -c /var/log/sa-host/sa17 [2022-01-11T22:46:33.903Z] file_magic: OK [2022-01-11T22:46:33.903Z] HZ: Using current value: 100 [2022-01-11T22:46:33.903Z] file_header: OK [2022-01-11T22:46:33.903Z] 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-11T22:46:33.903Z] Statistics: [2022-01-11T22:46:33.903Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-11T22:46:33.903Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-11T22:46:34.127Z] provisioning config files... [2022-01-11T22:46:34.136Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config5569011533425320085tmp [Pipeline] { [Pipeline] echo [2022-01-11T22:46:34.152Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:34.436Z] ---> create-netrc.sh [Pipeline] } [2022-01-11T22:46:34.443Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:34.786Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-11T22:46:34.795Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:35.092Z] ---> sudo-logs.sh [2022-01-11T22:46:35.092Z] Archiving 'sudo' log.. [2022-01-11T22:46:35.092Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1298.novalocal: Name or service not known [2022-01-11T22:46:35.092Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1298.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-11T22:46:35.120Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:35.409Z] ---> job-cost.sh [2022-01-11T22:46:35.409Z] lf-activate-venv: SKIPPING [2022-01-11T22:46:35.409Z] DEBUG: total: 0.05999999865889549 [2022-01-11T22:46:35.409Z] INFO: Retrieving Stack Cost... [2022-01-11T22:46:35.669Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-11T22:46:35.930Z] INFO: Archiving Costs [Pipeline] echo [2022-01-11T22:46:35.947Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-11T22:46:36.229Z] ---> logs-deploy.sh [2022-01-11T22:46:36.229Z] lf-activate-venv: SKIPPING [2022-01-11T22:46:36.229Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/4 [2022-01-11T22:46:36.229Z] INFO: archiving workspace using pattern(s): [2022-01-11T22:46:36.798Z] Archives upload complete. [2022-01-11T22:46:37.058Z] INFO: archiving logs to Nexus