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 a9851280710ea98ed82e1cc903dc2e78d89d66e4 rather than bb5c42cdde93153f32635e6e5637fc162a7abfce Obtained Jenkinsfile from a9851280710ea98ed82e1cc903dc2e78d89d66e4 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-ssh7676700762918254157.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12292870956794651154.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1073/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10773042070159576313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7984011037975152235.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-ssh10326605528130554816.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4086 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-ssh5517899890670230707.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-ssh2484398430259984476.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 a9851280710ea98ed82e1cc903dc2e78d89d66e4 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce Merge succeeded, producing 4e23873556615968847398386f4a855cbe2795ab Checking out Revision 4e23873556615968847398386f4a855cbe2795ab (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-ssh3825169726171618498.key > git merge a9851280710ea98ed82e1cc903dc2e78d89d66e4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4e23873556615968847398386f4a855cbe2795ab # timeout=10 Commit message: "Merge commit 'a9851280710ea98ed82e1cc903dc2e78d89d66e4' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-27T22:41:22.128Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-27T22:41:22.177Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-27T22:41:22.192Z] ========================================================= [2022-01-27T22:41:22.192Z] EdgeX Global Pipelines Version Info [2022-01-27T22:41:22.192Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk cf2c0a2cce4608c8e5ec9c882f7f9bbf6c33c01e # timeout=10 [2022-01-27T22:41:23.309Z] ------------------- [2022-01-27T22:41:23.310Z] stable info: [2022-01-27T22:41:23.310Z] ------------------- [2022-01-27T22:41:23.310Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-27T22:41:23.310Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-27T22:41:23.310Z] Message: update stable to v1.0.219 [2022-01-27T22:41:23.881Z] ------------------- [2022-01-27T22:41:23.881Z] experimental info: [2022-01-27T22:41:23.881Z] ------------------- [2022-01-27T22:41:23.881Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-27T22:41:23.881Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-27T22:41:23.881Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-27T22:41:24.049Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-27T22:41:24.065Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-27T22:41:24.082Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-27T22:41:24.099Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-27T22:41:24.114Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-27T22:41:24.126Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-27T22:41:24.142Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-27T22:41:24.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-27T22:41:24.168Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-27T22:41:24.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-27T22:41:24.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-27T22:41:24.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-27T22:41:24.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-27T22:41:24.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-27T22:41:24.252Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-27T22:41:24.267Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T22:41:24.285Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T22:41:24.300Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-27T22:41:24.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-27T22:41:24.335Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-27T22:41:24.351Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-27T22:41:24.365Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-27T22:41:24.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-27T22:41:24.398Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-27T22:41:24.412Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-27T22:41:24.428Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-27T22:41:24.442Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1073 [Pipeline] echo [2022-01-27T22:41:24.455Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1073 [Pipeline] echo [2022-01-27T22:41:24.471Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1073 [Pipeline] echo [2022-01-27T22:41:24.484Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e23873556615968847398386f4a855cbe2795ab [Pipeline] echo [2022-01-27T22:41:24.499Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e23873 [Pipeline] echo [2022-01-27T22:41:24.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T22:41:24.562Z] provisioning config files... [2022-01-27T22:41:24.580Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config1620875215884908820tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:41:24.964Z] ---> docker-login.sh [2022-01-27T22:41:24.964Z] nexus3.edgexfoundry.org:10001 [2022-01-27T22:41:24.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:25.226Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:25.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:25.226Z] [2022-01-27T22:41:25.226Z] Login Succeeded [2022-01-27T22:41:25.226Z] nexus3.edgexfoundry.org:10002 [2022-01-27T22:41:25.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:25.226Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:25.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:25.227Z] [2022-01-27T22:41:25.227Z] Login Succeeded [2022-01-27T22:41:25.227Z] nexus3.edgexfoundry.org:10003 [2022-01-27T22:41:25.227Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:25.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:25.488Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:25.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:25.488Z] [2022-01-27T22:41:25.488Z] Login Succeeded [2022-01-27T22:41:25.488Z] nexus3.edgexfoundry.org:10004 [2022-01-27T22:41:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:25.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:25.488Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:25.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:25.488Z] [2022-01-27T22:41:25.488Z] Login Succeeded [2022-01-27T22:41:25.488Z] docker.io [2022-01-27T22:41:25.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:25.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:25.755Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:25.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:25.755Z] [2022-01-27T22:41:25.755Z] Login Succeeded [2022-01-27T22:41:25.755Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T22:41:25.765Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-27T22:41:26.144Z] + git rev-list -1 --merges 4e23873556615968847398386f4a855cbe2795ab~1..4e23873556615968847398386f4a855cbe2795ab [Pipeline] echo [2022-01-27T22:41:26.173Z] -----------> git rev-list -1 --merges 4e23873556615968847398386f4a855cbe2795ab~1..4e23873556615968847398386f4a855cbe2795ab 4e23873556615968847398386f4a855cbe2795ab [2022-01-27T22:41:26.173Z] 4e23873556615968847398386f4a855cbe2795ab [false] [Pipeline] sh [2022-01-27T22:41:26.470Z] + git log --format=format:%s -1 4e23873556615968847398386f4a855cbe2795ab [Pipeline] echo [2022-01-27T22:41:26.491Z] ========================================================= [2022-01-27T22:41:26.491Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-27T22:41:26.491Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-27T22:41:26.839Z] + git log --format=format:%s -1 4e23873556615968847398386f4a855cbe2795ab [Pipeline] echo [2022-01-27T22:41:26.849Z] [semverPrep] GIT_COMMIT: 4e23873556615968847398386f4a855cbe2795ab, Commit Message: Merge commit 'a9851280710ea98ed82e1cc903dc2e78d89d66e4' into HEAD [Pipeline] echo [2022-01-27T22:41:26.858Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-27T22:41:27.283Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-27T22:41:27.283Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-27T22:41:27.283Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-27T22:41:27.283Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-27T22:41:27.283Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-27T22:41:27.283Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-27T22:41:27.283Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:41:27.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T22:41:27.709Z] [2022-01-27T22:41:27.709Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:41:28.015Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T22:41:28.015Z] latest: Pulling from edgex-devops/git-semver [2022-01-27T22:41:28.015Z] a0d0a0d46f8b: Pulling fs layer [2022-01-27T22:41:28.015Z] 3e5f54012d9b: Pulling fs layer [2022-01-27T22:41:28.015Z] 4c7163046ea9: Pulling fs layer [2022-01-27T22:41:28.015Z] 0c2d73faf560: Pulling fs layer [2022-01-27T22:41:28.015Z] 0c2d73faf560: Waiting [2022-01-27T22:41:28.015Z] 3e5f54012d9b: Download complete [2022-01-27T22:41:28.015Z] a0d0a0d46f8b: Verifying Checksum [2022-01-27T22:41:28.015Z] a0d0a0d46f8b: Download complete [2022-01-27T22:41:28.015Z] 4c7163046ea9: Verifying Checksum [2022-01-27T22:41:28.015Z] 4c7163046ea9: Download complete [2022-01-27T22:41:28.015Z] 0c2d73faf560: Verifying Checksum [2022-01-27T22:41:28.015Z] 0c2d73faf560: Download complete [2022-01-27T22:41:28.276Z] a0d0a0d46f8b: Pull complete [2022-01-27T22:41:28.276Z] 3e5f54012d9b: Pull complete [2022-01-27T22:41:28.846Z] 4c7163046ea9: Pull complete [2022-01-27T22:41:28.846Z] 0c2d73faf560: Pull complete [2022-01-27T22:41:28.846Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-27T22:41:28.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-27T22:41:28.846Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-27T22:41:28.917Z] prd-centos7-docker-4c-2g-4086 does not seem to be running inside a container [2022-01-27T22:41:28.951Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-27T22:41:29.508Z] $ docker top 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-27T22:41:29.602Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-27T22:41:29.602Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-27T22:41:29.697Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-27T22:41:29.700Z] $ docker exec 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 ssh-agent [2022-01-27T22:41:29.804Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBoOibI/agent.14 [2022-01-27T22:41:29.804Z] SSH_AGENT_PID=20 [2022-01-27T22:41:29.815Z] Running ssh-add (command line suppressed) [2022-01-27T22:41:29.906Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_9223191502951740866.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_9223191502951740866.key) [2022-01-27T22:41:29.922Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-27T22:41:30.219Z] + git tag --points-at HEAD [Pipeline] } [2022-01-27T22:41:30.237Z] $ docker exec --env ******** --env ******** 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 ssh-agent -k [2022-01-27T22:41:30.321Z] unset SSH_AUTH_SOCK; [2022-01-27T22:41:30.321Z] unset SSH_AGENT_PID; [2022-01-27T22:41:30.321Z] echo Agent pid 20 killed; [2022-01-27T22:41:30.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-27T22:41:30.356Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-27T22:41:30.356Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-27T22:41:30.459Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-27T22:41:30.462Z] $ docker exec 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 ssh-agent [2022-01-27T22:41:30.562Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCgfLAn/agent.52 [2022-01-27T22:41:30.562Z] SSH_AGENT_PID=58 [2022-01-27T22:41:30.568Z] Running ssh-add (command line suppressed) [2022-01-27T22:41:30.655Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_5536720345424168033.key (/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/private_key_5536720345424168033.key) [2022-01-27T22:41:30.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-27T22:41:30.964Z] + git semver init [2022-01-27T22:41:30.964Z] # -> Open(): unable to determine branch for HEAD [2022-01-27T22:41:30.964Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.git [2022-01-27T22:41:30.964Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-27T22:41:30.964Z] # $SEMVER_REMOTE_NAME = origin [2022-01-27T22:41:30.964Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-27T22:41:30.964Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-27T22:41:30.964Z] # $SEMVER_BRANCH = PR-1073 [2022-01-27T22:41:30.964Z] # $SEMVER_TEMP = /tmp/semver-811161039 [2022-01-27T22:41:30.964Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-27T22:41:31.911Z] # '/tmp/semver-811161039' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver' [2022-01-27T22:41:31.911Z] # -> Force: false [2022-01-27T22:41:31.911Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1073/.semver [Pipeline] } [2022-01-27T22:41:31.928Z] $ docker exec --env ******** --env ******** 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 ssh-agent -k [2022-01-27T22:41:32.009Z] unset SSH_AUTH_SOCK; [2022-01-27T22:41:32.009Z] unset SSH_AGENT_PID; [2022-01-27T22:41:32.009Z] echo Agent pid 58 killed; [2022-01-27T22:41:32.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-27T22:41:32.331Z] + git semver [Pipeline] } [2022-01-27T22:41:32.343Z] $ docker stop --time=1 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 [2022-01-27T22:41:33.567Z] $ docker rm -f 4a191f9e1877b93ecba90820cedabfecd2b8abf7b79c9cb728a928c67d0576a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-27T22:41:33.908Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-27T22:41:34.113Z] Stashed 1 file(s) [Pipeline] echo [2022-01-27T22:41:34.116Z] [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-27T22:41:34.252Z] provisioning config files... [2022-01-27T22:41:34.261Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config6776789550110301288tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:41:34.566Z] ---> docker-login.sh [2022-01-27T22:41:34.566Z] nexus3.edgexfoundry.org:10001 [2022-01-27T22:41:34.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:34.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:34.566Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:34.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:34.566Z] [2022-01-27T22:41:34.566Z] Login Succeeded [2022-01-27T22:41:34.566Z] nexus3.edgexfoundry.org:10002 [2022-01-27T22:41:34.566Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:34.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:34.566Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:34.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:34.566Z] [2022-01-27T22:41:34.566Z] Login Succeeded [2022-01-27T22:41:34.566Z] nexus3.edgexfoundry.org:10003 [2022-01-27T22:41:34.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:34.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:34.825Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:34.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:34.825Z] [2022-01-27T22:41:34.825Z] Login Succeeded [2022-01-27T22:41:34.825Z] nexus3.edgexfoundry.org:10004 [2022-01-27T22:41:34.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:34.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:34.825Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:34.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:34.825Z] [2022-01-27T22:41:34.825Z] Login Succeeded [2022-01-27T22:41:34.825Z] docker.io [2022-01-27T22:41:34.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:41:35.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:41:35.407Z] Configure a credential helper to remove this warning. See [2022-01-27T22:41:35.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:41:35.407Z] [2022-01-27T22:41:35.407Z] Login Succeeded [2022-01-27T22:41:35.407Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T22:41:35.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-27T22:41:35.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-27T22:41:35.494Z] ========================================================= [2022-01-27T22:41:35.494Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-27T22:41:35.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:41:35.810Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-27T22:41:35.810Z] Sending build context to Docker daemon 33.85MB [2022-01-27T22:41:35.810Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T22:41:35.810Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-27T22:41:36.075Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-27T22:41:36.075Z] 59bf1c3509f3: Pulling fs layer [2022-01-27T22:41:36.075Z] 666ba61612fd: Pulling fs layer [2022-01-27T22:41:36.075Z] 8ed8ca486205: Pulling fs layer [2022-01-27T22:41:36.075Z] 4fe6c5a15a65: Pulling fs layer [2022-01-27T22:41:36.075Z] 22a0e8bec74d: Pulling fs layer [2022-01-27T22:41:36.075Z] f965cba54748: Pulling fs layer [2022-01-27T22:41:36.075Z] 861ffc35075e: Pulling fs layer [2022-01-27T22:41:36.075Z] 4b385c91608e: Pulling fs layer [2022-01-27T22:41:36.075Z] 560528eb2ebb: Pulling fs layer [2022-01-27T22:41:36.075Z] f965cba54748: Waiting [2022-01-27T22:41:36.075Z] 861ffc35075e: Waiting [2022-01-27T22:41:36.075Z] 4b385c91608e: Waiting [2022-01-27T22:41:36.075Z] 560528eb2ebb: Waiting [2022-01-27T22:41:36.075Z] 4fe6c5a15a65: Waiting [2022-01-27T22:41:36.075Z] 22a0e8bec74d: Waiting [2022-01-27T22:41:36.075Z] 8ed8ca486205: Verifying Checksum [2022-01-27T22:41:36.075Z] 8ed8ca486205: Download complete [2022-01-27T22:41:36.075Z] 666ba61612fd: Verifying Checksum [2022-01-27T22:41:36.075Z] 666ba61612fd: Download complete [2022-01-27T22:41:36.075Z] 22a0e8bec74d: Verifying Checksum [2022-01-27T22:41:36.075Z] 22a0e8bec74d: Download complete [2022-01-27T22:41:36.075Z] f965cba54748: Verifying Checksum [2022-01-27T22:41:36.075Z] f965cba54748: Download complete [2022-01-27T22:41:36.075Z] 59bf1c3509f3: Verifying Checksum [2022-01-27T22:41:36.075Z] 59bf1c3509f3: Download complete [2022-01-27T22:41:36.075Z] 861ffc35075e: Verifying Checksum [2022-01-27T22:41:36.075Z] 861ffc35075e: Download complete [2022-01-27T22:41:36.344Z] 4b385c91608e: Verifying Checksum [2022-01-27T22:41:36.344Z] 4b385c91608e: Download complete [2022-01-27T22:41:36.344Z] 59bf1c3509f3: Pull complete [2022-01-27T22:41:36.604Z] 666ba61612fd: Pull complete [2022-01-27T22:41:36.604Z] 4fe6c5a15a65: Verifying Checksum [2022-01-27T22:41:36.604Z] 4fe6c5a15a65: Download complete [2022-01-27T22:41:36.867Z] 8ed8ca486205: Pull complete [2022-01-27T22:41:36.867Z] 560528eb2ebb: Verifying Checksum [2022-01-27T22:41:36.867Z] 560528eb2ebb: Download complete [2022-01-27T22:41:40.209Z] 4fe6c5a15a65: Pull complete [2022-01-27T22:41:40.469Z] 22a0e8bec74d: Pull complete [2022-01-27T22:41:40.469Z] f965cba54748: Pull complete [2022-01-27T22:41:40.469Z] 861ffc35075e: Pull complete [2022-01-27T22:41:40.728Z] 4b385c91608e: Pull complete [2022-01-27T22:41:42.666Z] 560528eb2ebb: Pull complete [2022-01-27T22:41:42.666Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-27T22:41:42.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-27T22:41:42.666Z] ---> dd4a08f94e63 [2022-01-27T22:41:42.666Z] Step 3/11 : ARG MAKE=make build [2022-01-27T22:41:44.585Z] ---> Running in 9b6c3d14a01c [2022-01-27T22:41:44.585Z] Removing intermediate container 9b6c3d14a01c [2022-01-27T22:41:44.585Z] ---> 38b0ac469f61 [2022-01-27T22:41:44.585Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-27T22:41:44.856Z] ---> Running in d093c2019cce [2022-01-27T22:41:44.856Z] Removing intermediate container d093c2019cce [2022-01-27T22:41:44.856Z] ---> c64afd8c4b00 [2022-01-27T22:41:44.856Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T22:41:44.856Z] ---> Running in 2d969a91ed57 [2022-01-27T22:41:44.856Z] Removing intermediate container 2d969a91ed57 [2022-01-27T22:41:44.856Z] ---> 609bcad31984 [2022-01-27T22:41:44.856Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T22:41:44.856Z] ---> Running in 9a35bc14e56f [2022-01-27T22:41:45.435Z] Removing intermediate container 9a35bc14e56f [2022-01-27T22:41:45.435Z] ---> 94d42612c4f8 [2022-01-27T22:41:45.435Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T22:41:45.435Z] ---> Running in c6aaa7abb283 [2022-01-27T22:41:45.697Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-27T22:41:49.203Z] Still waiting to schedule task [2022-01-27T22:41:49.203Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-27T22:41:50.998Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-27T22:41:50.998Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/main: temporary error (try again later) [2022-01-27T22:41:56.281Z] WARNING: Ignoring https://nl.alpinelinux.org/alpine/v3.15/community: temporary error (try again later) [2022-01-27T22:41:56.281Z] OK: 221 MiB in 52 packages [2022-01-27T22:41:56.281Z] Removing intermediate container c6aaa7abb283 [2022-01-27T22:41:56.281Z] ---> 8595d7dc15cb [2022-01-27T22:41:56.281Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-27T22:41:56.281Z] ---> d3f73c0fe218 [2022-01-27T22:41:56.281Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T22:41:56.281Z] ---> Running in 2d4f93e09d70 [2022-01-27T22:42:28.416Z] Removing intermediate container 2d4f93e09d70 [2022-01-27T22:42:28.416Z] ---> 7ab88519c72f [2022-01-27T22:42:28.416Z] Step 10/11 : COPY . . [2022-01-27T22:42:28.416Z] ---> 1d9dc3bfa244 [2022-01-27T22:42:28.416Z] Step 11/11 : RUN ${MAKE} [2022-01-27T22:42:28.416Z] ---> Running in bb085333b4f8 [2022-01-27T22:42:28.416Z] noop [2022-01-27T22:42:28.416Z] Removing intermediate container bb085333b4f8 [2022-01-27T22:42:28.416Z] ---> ba5631a127cc [2022-01-27T22:42:28.416Z] Successfully built ba5631a127cc [2022-01-27T22:42:28.416Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:42:28.719Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-27T22:42:28.719Z] . [Pipeline] withDockerContainer [2022-01-27T22:42:28.789Z] prd-centos7-docker-4c-2g-4086 does not seem to be running inside a container [2022-01-27T22:42:28.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-27T22:42:29.148Z] $ docker top 192cdec5b340b31cc981340d524b674c5badd7c344155c0fcc8a646f1719b326 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T22:42:29.506Z] + go version [2022-01-27T22:42:29.506Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-27T22:42:29.517Z] $ docker stop --time=1 192cdec5b340b31cc981340d524b674c5badd7c344155c0fcc8a646f1719b326 [2022-01-27T22:42:30.680Z] $ docker rm -f 192cdec5b340b31cc981340d524b674c5badd7c344155c0fcc8a646f1719b326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:42:31.097Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-27T22:42:31.097Z] . [Pipeline] withDockerContainer [2022-01-27T22:42:31.160Z] prd-centos7-docker-4c-2g-4086 does not seem to be running inside a container [2022-01-27T22:42:31.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-27T22:42:31.477Z] $ docker top a23fbb427331a59e6e6770f41550820fd33b48a849a4f21f7201c29e1373e65c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-27T22:42:31.831Z] + make test [2022-01-27T22:42:31.831Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-27T22:42:32.093Z] 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-27T22:42:32.093Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-27T22:42:32.093Z] 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-27T22:42:32.093Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-27T22:42:32.093Z] 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-27T22:42:32.093Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-27T22:42:32.093Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-27T22:42:32.106Z] $ docker stop --time=1 a23fbb427331a59e6e6770f41550820fd33b48a849a4f21f7201c29e1373e65c [2022-01-27T22:42:33.277Z] $ docker rm -f a23fbb427331a59e6e6770f41550820fd33b48a849a4f21f7201c29e1373e65c [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-27T22:42:33.765Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T22:42:33.765Z] [2022-01-27T22:42:33.765Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:42:34.071Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T22:42:34.071Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-27T22:42:34.072Z] b4d181a07f80: Pulling fs layer [2022-01-27T22:42:34.072Z] a1111a8f2ec3: Pulling fs layer [2022-01-27T22:42:34.072Z] ed53099fbce6: Pulling fs layer [2022-01-27T22:42:34.072Z] dc539afda2c1: Pulling fs layer [2022-01-27T22:42:34.072Z] 77bc0d833cb6: Pulling fs layer [2022-01-27T22:42:34.072Z] 9065ff56babe: Pulling fs layer [2022-01-27T22:42:34.072Z] d287ab97295c: Pulling fs layer [2022-01-27T22:42:34.072Z] dc539afda2c1: Waiting [2022-01-27T22:42:34.072Z] 77bc0d833cb6: Waiting [2022-01-27T22:42:34.072Z] 9065ff56babe: Waiting [2022-01-27T22:42:34.072Z] d287ab97295c: Waiting [2022-01-27T22:42:34.072Z] a1111a8f2ec3: Verifying Checksum [2022-01-27T22:42:34.072Z] a1111a8f2ec3: Download complete [2022-01-27T22:42:34.072Z] dc539afda2c1: Verifying Checksum [2022-01-27T22:42:34.072Z] dc539afda2c1: Download complete [2022-01-27T22:42:34.072Z] ed53099fbce6: Verifying Checksum [2022-01-27T22:42:34.072Z] ed53099fbce6: Download complete [2022-01-27T22:42:34.072Z] 9065ff56babe: Verifying Checksum [2022-01-27T22:42:34.072Z] 9065ff56babe: Download complete [2022-01-27T22:42:34.072Z] 77bc0d833cb6: Verifying Checksum [2022-01-27T22:42:34.072Z] 77bc0d833cb6: Download complete [2022-01-27T22:42:34.333Z] b4d181a07f80: Verifying Checksum [2022-01-27T22:42:34.333Z] b4d181a07f80: Download complete [2022-01-27T22:42:34.907Z] d287ab97295c: Verifying Checksum [2022-01-27T22:42:34.907Z] d287ab97295c: Download complete [2022-01-27T22:42:35.866Z] b4d181a07f80: Pull complete [2022-01-27T22:42:35.866Z] a1111a8f2ec3: Pull complete [2022-01-27T22:42:36.433Z] ed53099fbce6: Pull complete [2022-01-27T22:42:36.433Z] dc539afda2c1: Pull complete [2022-01-27T22:42:36.695Z] 77bc0d833cb6: Pull complete [2022-01-27T22:42:36.695Z] 9065ff56babe: Pull complete [2022-01-27T22:42:42.028Z] d287ab97295c: Pull complete [2022-01-27T22:42:42.028Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-27T22:42:42.028Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T22:42:42.028Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-27T22:42:42.088Z] prd-centos7-docker-4c-2g-4086 does not seem to be running inside a container [2022-01-27T22:42:42.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-27T22:42:44.912Z] $ docker top 05592c00ce66330dc0ee6297f7e579f3901eda810c3842b90542df48bd55369f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:42:45.357Z] ---> job-cost.sh [2022-01-27T22:42:45.357Z] lf-activate-venv: SKIPPING [2022-01-27T22:42:45.357Z] INFO: No Stack... [2022-01-27T22:42:45.925Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-27T22:42:46.186Z] INFO: Archiving Costs [Pipeline] sh [2022-01-27T22:42:46.486Z] + cut -d, -f6 [2022-01-27T22:42:46.486Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/cost.csv [Pipeline] lock [2022-01-27T22:42:46.501Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [2022-01-27T22:42:46.510Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] did not exist. Created. [2022-01-27T22:42:46.510Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-27T22:42:46.811Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-27T22:42:46.845Z] Stashed 1 file(s) [Pipeline] } [2022-01-27T22:42:46.852Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-27T22:42:46.871Z] $ docker stop --time=1 05592c00ce66330dc0ee6297f7e579f3901eda810c3842b90542df48bd55369f [2022-01-27T22:42:48.012Z] $ docker rm -f 05592c00ce66330dc0ee6297f7e579f3901eda810c3842b90542df48bd55369f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-27T22:42:48.120Z] Failed in branch amd64 [2022-01-27T22:43:16.197Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4087 in /w/workspace/gexfoundry_device-sdk-go_PR-1073 [Pipeline] { [Pipeline] ws [2022-01-27T22:43:16.212Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2022-01-27T22:43:16.446Z] The recommended git tool is: git [2022-01-27T22:43:20.953Z] using credential edgex-jenkins-ssh [2022-01-27T22:43:20.971Z] Cloning the remote Git repository [2022-01-27T22:43:21.035Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T22:43:21.105Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2022-01-27T22:43:21.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T22:43:21.197Z] > git --version # timeout=10 [2022-01-27T22:43:21.219Z] > git --version # 'git version 2.17.1' [2022-01-27T22:43:21.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T22:43:21.331Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-27T22:43:22.891Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-27T22:43:22.910Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-27T22:43:22.946Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-27T22:43:22.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-27T22:43:22.988Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T22:43:23.001Z] > 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-27T22:43:25.839Z] Merging remotes/origin/main commit a9851280710ea98ed82e1cc903dc2e78d89d66e4 into PR head commit bb5c42cdde93153f32635e6e5637fc162a7abfce [2022-01-27T22:43:26.166Z] Merge succeeded, producing 97a810a301a1691c65c7fa6442644f4fb86250c8 [2022-01-27T22:43:26.166Z] Checking out Revision 97a810a301a1691c65c7fa6442644f4fb86250c8 (PR-1073) [2022-01-27T22:43:25.868Z] > git config core.sparsecheckout # timeout=10 [2022-01-27T22:43:25.890Z] > git checkout -f bb5c42cdde93153f32635e6e5637fc162a7abfce # timeout=10 [2022-01-27T22:43:25.997Z] > git remote # timeout=10 [2022-01-27T22:43:26.017Z] > git config --get remote.origin.url # timeout=10 [2022-01-27T22:43:26.033Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-27T22:43:26.045Z] > git merge a9851280710ea98ed82e1cc903dc2e78d89d66e4 # timeout=10 [2022-01-27T22:43:26.153Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-27T22:43:26.184Z] > git config core.sparsecheckout # timeout=10 [2022-01-27T22:43:26.214Z] > git checkout -f 97a810a301a1691c65c7fa6442644f4fb86250c8 # timeout=10 [2022-01-27T22:43:30.366Z] Commit message: "Merge commit 'a9851280710ea98ed82e1cc903dc2e78d89d66e4' into HEAD" [2022-01-27T22:43:30.387Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-27T22:43:30.382Z] > git rev-list --no-walk cf2c0a2cce4608c8e5ec9c882f7f9bbf6c33c01e # timeout=10 [2022-01-27T22:43:31.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-27T22:43:31.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-27T22:43:31.329Z] Dload Upload Total Spent Left Speed [2022-01-27T22:43:31.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 89 11843 89 10502 0 0 67754 0 --:--:-- --:--:-- --:--:-- 67754 100 11843 100 11843 0 0 75916 0 --:--:-- --:--:-- --:--:-- 75433 [Pipeline] sh [2022-01-27T22:43:32.125Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-27T22:43:32.471Z] + sudo tee /etc/docker/daemon.new [2022-01-27T22:43:32.471Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-27T22:43:32.471Z] { [2022-01-27T22:43:32.471Z] "registry-mirrors": [ [2022-01-27T22:43:32.471Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-27T22:43:32.471Z] ], [2022-01-27T22:43:32.471Z] "bip": "10.250.0.254/24", [2022-01-27T22:43:32.471Z] "hosts": [ [2022-01-27T22:43:32.471Z] "tcp://0.0.0.0:5555", [2022-01-27T22:43:32.471Z] "unix:///var/run/docker.sock" [2022-01-27T22:43:32.471Z] ], [2022-01-27T22:43:32.471Z] "mtu": 1458, [2022-01-27T22:43:32.471Z] "selinux-enabled": true, [2022-01-27T22:43:32.472Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-27T22:43:32.472Z] } [Pipeline] sh [2022-01-27T22:43:32.808Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-27T22:43:33.144Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T22:43:51.461Z] provisioning config files... [2022-01-27T22:43:51.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config6674105208683370130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:43:51.833Z] ---> docker-login.sh [2022-01-27T22:43:51.833Z] nexus3.edgexfoundry.org:10001 [2022-01-27T22:43:52.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:43:52.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:43:52.429Z] Configure a credential helper to remove this warning. See [2022-01-27T22:43:52.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:43:52.429Z] [2022-01-27T22:43:52.429Z] Login Succeeded [2022-01-27T22:43:52.702Z] nexus3.edgexfoundry.org:10002 [2022-01-27T22:43:52.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:43:52.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:43:52.975Z] Configure a credential helper to remove this warning. See [2022-01-27T22:43:52.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:43:52.975Z] [2022-01-27T22:43:52.975Z] Login Succeeded [2022-01-27T22:43:52.975Z] nexus3.edgexfoundry.org:10003 [2022-01-27T22:43:53.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:43:53.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:43:53.523Z] Configure a credential helper to remove this warning. See [2022-01-27T22:43:53.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:43:53.523Z] [2022-01-27T22:43:53.523Z] Login Succeeded [2022-01-27T22:43:53.523Z] nexus3.edgexfoundry.org:10004 [2022-01-27T22:43:53.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:43:53.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:43:53.805Z] Configure a credential helper to remove this warning. See [2022-01-27T22:43:53.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:43:53.805Z] [2022-01-27T22:43:53.805Z] Login Succeeded [2022-01-27T22:43:53.805Z] docker.io [2022-01-27T22:43:54.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-27T22:43:54.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-27T22:43:54.675Z] Configure a credential helper to remove this warning. See [2022-01-27T22:43:54.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-27T22:43:54.675Z] [2022-01-27T22:43:54.675Z] Login Succeeded [2022-01-27T22:43:54.675Z] ---> docker-login.sh ends [Pipeline] } [2022-01-27T22:43:54.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-27T22:43:55.204Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-27T22:43:55.221Z] ========================================================= [2022-01-27T22:43:55.221Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-27T22:43:55.221Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:43:55.585Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-27T22:43:56.182Z] Sending build context to Docker daemon 29.52MB [2022-01-27T22:43:56.182Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-27T22:43:56.182Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-27T22:43:56.462Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-27T22:43:56.462Z] 9b3977197b4f: Pulling fs layer [2022-01-27T22:43:56.462Z] 1a89e8eeedd5: Pulling fs layer [2022-01-27T22:43:56.462Z] 94645a83ff95: Pulling fs layer [2022-01-27T22:43:56.462Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-27T22:43:56.462Z] 0c92f367c5e7: Pulling fs layer [2022-01-27T22:43:56.462Z] 4b8299f9d1f4: Pulling fs layer [2022-01-27T22:43:56.462Z] 9a6b49a46696: Pulling fs layer [2022-01-27T22:43:56.462Z] cf05db05a679: Pulling fs layer [2022-01-27T22:43:56.462Z] 3f3a8bcf1eab: Waiting [2022-01-27T22:43:56.462Z] 0c92f367c5e7: Waiting [2022-01-27T22:43:56.462Z] 4b8299f9d1f4: Waiting [2022-01-27T22:43:56.462Z] 9a6b49a46696: Waiting [2022-01-27T22:43:56.462Z] cf05db05a679: Waiting [2022-01-27T22:43:56.462Z] 94645a83ff95: Verifying Checksum [2022-01-27T22:43:56.462Z] 94645a83ff95: Download complete [2022-01-27T22:43:56.462Z] 1a89e8eeedd5: Verifying Checksum [2022-01-27T22:43:56.462Z] 1a89e8eeedd5: Download complete [2022-01-27T22:43:56.462Z] 0c92f367c5e7: Verifying Checksum [2022-01-27T22:43:56.462Z] 0c92f367c5e7: Download complete [2022-01-27T22:43:56.462Z] 4b8299f9d1f4: Verifying Checksum [2022-01-27T22:43:56.462Z] 4b8299f9d1f4: Download complete [2022-01-27T22:43:56.462Z] 9b3977197b4f: Download complete [2022-01-27T22:43:56.462Z] 9a6b49a46696: Download complete [2022-01-27T22:43:57.459Z] 9b3977197b4f: Pull complete [2022-01-27T22:43:57.737Z] 1a89e8eeedd5: Pull complete [2022-01-27T22:43:58.016Z] 94645a83ff95: Pull complete [2022-01-27T22:43:58.290Z] cf05db05a679: Verifying Checksum [2022-01-27T22:43:58.290Z] cf05db05a679: Download complete [2022-01-27T22:43:58.885Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-27T22:43:58.885Z] 3f3a8bcf1eab: Download complete [2022-01-27T22:44:11.279Z] 3f3a8bcf1eab: Pull complete [2022-01-27T22:44:11.279Z] 0c92f367c5e7: Pull complete [2022-01-27T22:44:11.279Z] 4b8299f9d1f4: Pull complete [2022-01-27T22:44:11.279Z] 9a6b49a46696: Pull complete [2022-01-27T22:44:16.671Z] cf05db05a679: Pull complete [2022-01-27T22:44:16.672Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-27T22:44:16.672Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-27T22:44:16.672Z] ---> 0ccda1f7e2ee [2022-01-27T22:44:16.672Z] Step 3/11 : ARG MAKE=make build [2022-01-27T22:44:18.649Z] ---> Running in 38eb887046fd [2022-01-27T22:44:18.649Z] Removing intermediate container 38eb887046fd [2022-01-27T22:44:18.649Z] ---> 36c877a55d4f [2022-01-27T22:44:18.649Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-27T22:44:18.924Z] ---> Running in b5e7f4bc1623 [2022-01-27T22:44:19.196Z] Removing intermediate container b5e7f4bc1623 [2022-01-27T22:44:19.196Z] ---> 11b59ad06d94 [2022-01-27T22:44:19.196Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-27T22:44:19.467Z] ---> Running in cf449ab746ac [2022-01-27T22:44:19.742Z] Removing intermediate container cf449ab746ac [2022-01-27T22:44:19.742Z] ---> fadce63847c7 [2022-01-27T22:44:19.742Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-27T22:44:19.742Z] ---> Running in 786ebd832d2b [2022-01-27T22:44:21.719Z] Removing intermediate container 786ebd832d2b [2022-01-27T22:44:21.719Z] ---> 028168fc441b [2022-01-27T22:44:21.719Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-27T22:44:21.719Z] ---> Running in a5a3ab12ca7a [2022-01-27T22:44:22.701Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-27T22:44:23.671Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-27T22:44:24.644Z] OK: 220 MiB in 52 packages [2022-01-27T22:44:25.238Z] Removing intermediate container a5a3ab12ca7a [2022-01-27T22:44:25.238Z] ---> 217becd856f9 [2022-01-27T22:44:25.238Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-27T22:44:25.839Z] ---> ab7e2c4378a7 [2022-01-27T22:44:25.839Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-27T22:44:25.839Z] ---> Running in 4282e25e4707 [2022-01-27T22:45:33.858Z] Removing intermediate container 4282e25e4707 [2022-01-27T22:45:33.858Z] ---> 9cdd29bf05da [2022-01-27T22:45:33.858Z] Step 10/11 : COPY . . [2022-01-27T22:45:35.292Z] ---> 0934c03b5976 [2022-01-27T22:45:35.292Z] Step 11/11 : RUN ${MAKE} [2022-01-27T22:45:35.292Z] ---> Running in 564544f5a32e [2022-01-27T22:45:36.268Z] noop [2022-01-27T22:45:36.863Z] Removing intermediate container 564544f5a32e [2022-01-27T22:45:36.863Z] ---> a3d3279ce6b1 [2022-01-27T22:45:36.863Z] Successfully built a3d3279ce6b1 [2022-01-27T22:45:36.863Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:45:37.216Z] + docker inspect -f . ci-base-image-arm64 [2022-01-27T22:45:37.216Z] . [Pipeline] withDockerContainer [2022-01-27T22:45:37.416Z] prd-ubuntu18.04-docker-arm64-4c-16g-4087 does not seem to be running inside a container [2022-01-27T22:45:37.504Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-27T22:45:38.743Z] $ docker top 95f180d496df5dd28362f4dbe1f0b3ff21befd30633ab924853252e8b157d41c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T22:45:39.625Z] + go version [2022-01-27T22:45:39.625Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-27T22:45:39.648Z] $ docker stop --time=1 95f180d496df5dd28362f4dbe1f0b3ff21befd30633ab924853252e8b157d41c [2022-01-27T22:45:41.254Z] $ docker rm -f 95f180d496df5dd28362f4dbe1f0b3ff21befd30633ab924853252e8b157d41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:45:41.849Z] + docker inspect -f . ci-base-image-arm64 [2022-01-27T22:45:41.849Z] . [Pipeline] withDockerContainer [2022-01-27T22:45:42.068Z] prd-ubuntu18.04-docker-arm64-4c-16g-4087 does not seem to be running inside a container [2022-01-27T22:45:42.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-27T22:45:43.382Z] $ docker top 4893037be19ba2a49dd8c8644accfda3a8b6c8f43e11ad86d88a681b5ddadae8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-27T22:45:44.280Z] + make test [2022-01-27T22:45:44.280Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-27T22:45:45.260Z] 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-27T22:45:45.260Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-27T22:45:45.260Z] 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-27T22:45:45.260Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [2022-01-27T22:45:45.260Z] 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-27T22:45:45.260Z] go get github.com/edgexfoundry/device-sdk-go/v2/internal/prometheus [2022-01-27T22:45:45.260Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-01-27T22:45:45.289Z] $ docker stop --time=1 4893037be19ba2a49dd8c8644accfda3a8b6c8f43e11ad86d88a681b5ddadae8 [2022-01-27T22:45:46.950Z] $ docker rm -f 4893037be19ba2a49dd8c8644accfda3a8b6c8f43e11ad86d88a681b5ddadae8 [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-27T22:45:47.595Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T22:45:47.595Z] [2022-01-27T22:45:47.595Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:45:47.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T22:45:47.946Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-27T22:45:47.946Z] 448f6bf000e3: Pulling fs layer [2022-01-27T22:45:47.946Z] f757da607395: Pulling fs layer [2022-01-27T22:45:47.946Z] 05883995daec: Pulling fs layer [2022-01-27T22:45:47.946Z] 8603b9c90790: Pulling fs layer [2022-01-27T22:45:47.946Z] 1560dd03e051: Pulling fs layer [2022-01-27T22:45:47.946Z] 27f5ce0e4adf: Pulling fs layer [2022-01-27T22:45:47.946Z] c2d8d7efcc4b: Pulling fs layer [2022-01-27T22:45:47.946Z] 1560dd03e051: Waiting [2022-01-27T22:45:47.946Z] 27f5ce0e4adf: Waiting [2022-01-27T22:45:47.946Z] 8603b9c90790: Waiting [2022-01-27T22:45:47.946Z] c2d8d7efcc4b: Waiting [2022-01-27T22:45:48.223Z] f757da607395: Verifying Checksum [2022-01-27T22:45:48.223Z] f757da607395: Download complete [2022-01-27T22:45:48.223Z] 8603b9c90790: Verifying Checksum [2022-01-27T22:45:48.223Z] 8603b9c90790: Download complete [2022-01-27T22:45:48.223Z] 1560dd03e051: Verifying Checksum [2022-01-27T22:45:48.223Z] 1560dd03e051: Download complete [2022-01-27T22:45:48.223Z] 27f5ce0e4adf: Verifying Checksum [2022-01-27T22:45:48.223Z] 27f5ce0e4adf: Download complete [2022-01-27T22:45:48.223Z] 05883995daec: Verifying Checksum [2022-01-27T22:45:48.223Z] 05883995daec: Download complete [2022-01-27T22:45:48.830Z] 448f6bf000e3: Verifying Checksum [2022-01-27T22:45:48.830Z] 448f6bf000e3: Download complete [2022-01-27T22:45:51.458Z] c2d8d7efcc4b: Verifying Checksum [2022-01-27T22:45:51.458Z] c2d8d7efcc4b: Download complete [2022-01-27T22:45:52.433Z] 448f6bf000e3: Pull complete [2022-01-27T22:45:53.029Z] f757da607395: Pull complete [2022-01-27T22:45:54.465Z] 05883995daec: Pull complete [2022-01-27T22:45:54.737Z] 8603b9c90790: Pull complete [2022-01-27T22:45:55.713Z] 1560dd03e051: Pull complete [2022-01-27T22:45:55.714Z] 27f5ce0e4adf: Pull complete [2022-01-27T22:46:10.800Z] c2d8d7efcc4b: Pull complete [2022-01-27T22:46:10.800Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-27T22:46:10.800Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-27T22:46:10.800Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-27T22:46:11.010Z] prd-ubuntu18.04-docker-arm64-4c-16g-4087 does not seem to be running inside a container [2022-01-27T22:46:11.096Z] $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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-27T22:46:13.676Z] $ docker top 46801fe344f163d9f22f368088a214fec6197af97f5040118fefc92588cdc6f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:14.576Z] ---> job-cost.sh [2022-01-27T22:46:14.576Z] lf-activate-venv: SKIPPING [2022-01-27T22:46:14.576Z] INFO: No Stack... [2022-01-27T22:46:14.846Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-27T22:46:15.117Z] INFO: Archiving Costs [Pipeline] sh [2022-01-27T22:46:15.459Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [2022-01-27T22:46:15.731Z] + cut -d, -f6 [Pipeline] lock [2022-01-27T22:46:15.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [2022-01-27T22:46:15.794Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] did not exist. Created. [2022-01-27T22:46:15.794Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-27T22:46:16.150Z] /w/workspace/device-sdk-go/9@tmp/durable-7a9e45ce/script.sh: 1: /w/workspace/device-sdk-go/9@tmp/durable-7a9e45ce/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-27T22:46:16.814Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-27T22:46:16.843Z] Warning: overwriting stash ‘stack-cost’ [2022-01-27T22:46:17.277Z] Stashed 1 file(s) [Pipeline] } [2022-01-27T22:46:17.288Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1073-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-27T22:46:17.310Z] $ docker stop --time=1 46801fe344f163d9f22f368088a214fec6197af97f5040118fefc92588cdc6f1 [2022-01-27T22:46:18.762Z] $ docker rm -f 46801fe344f163d9f22f368088a214fec6197af97f5040118fefc92588cdc6f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-27T22:46:19.038Z] 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-27T22:46:19.810Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives ']' [2022-01-27T22:46:19.810Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-27T22:46:19.810Z] total 8 [2022-01-27T22:46:19.810Z] drwxr-xr-x. 3 root root 34 Jan 27 22:42 . [2022-01-27T22:46:19.810Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 27 22:42 .. [2022-01-27T22:46:19.810Z] drwxr-xr-x. 2 root root 6 Jan 27 22:42 cost [2022-01-27T22:46:19.810Z] -rw-r--r--. 1 root root 85 Jan 27 22:42 cost.csv [2022-01-27T22:46:19.810Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-27T22:46:19.810Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives [2022-01-27T22:46:19.810Z] total 8 [2022-01-27T22:46:19.810Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 27 22:42 . [2022-01-27T22:46:19.810Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 27 22:42 .. [2022-01-27T22:46:19.810Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 27 22:42 cost [2022-01-27T22:46:19.810Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 27 22:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:20.116Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:20.671Z] ---> package-listing.sh [2022-01-27T22:46:20.671Z] ++ facter osfamily [2022-01-27T22:46:20.671Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-27T22:46:20.932Z] + OS_FAMILY=redhat [2022-01-27T22:46:20.933Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1073 [2022-01-27T22:46:20.933Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-27T22:46:20.933Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-27T22:46:20.933Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-27T22:46:20.933Z] + PACKAGES=/tmp/packages_start.txt [2022-01-27T22:46:20.933Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-27T22:46:20.933Z] + PACKAGES=/tmp/packages_end.txt [2022-01-27T22:46:20.933Z] + case "${OS_FAMILY}" in [2022-01-27T22:46:20.933Z] + sort [2022-01-27T22:46:20.933Z] + rpm -qa [2022-01-27T22:46:21.505Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-27T22:46:21.505Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-27T22:46:21.505Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-27T22:46:21.505Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1073 ']' [2022-01-27T22:46:21.505Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1073/archives/ [2022-01-27T22:46:21.505Z] + 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-27T22:46:21.517Z] 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-27T22:46:21.800Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-27T22:46:22.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-27T22:46:22.356Z] . [Pipeline] withDockerContainer [2022-01-27T22:46:22.419Z] prd-centos7-docker-4c-2g-4086 does not seem to be running inside a container [2022-01-27T22:46:22.449Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1073/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1073 -v /w/workspace/gexfoundry_device-sdk-go_PR-1073:/w/workspace/gexfoundry_device-sdk-go_PR-1073:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-27T22:46:22.630Z] $ docker top f36c412b3fb0ef464fff756a56d2fc018b1e9c7282b4e98a23badba61b770e85 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-27T22:46:22.996Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-27T22:46:23.284Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-27T22:46:23.574Z] + ls /var/log/sa-host [2022-01-27T22:46:23.574Z] + sadf -c /var/log/sa-host/sa17 [2022-01-27T22:46:23.574Z] file_magic: OK [2022-01-27T22:46:23.574Z] HZ: Using current value: 100 [2022-01-27T22:46:23.574Z] file_header: OK [2022-01-27T22:46:23.574Z] 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-27T22:46:23.574Z] Statistics: [2022-01-27T22:46:23.574Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-27T22:46:23.574Z] File successfully converted to sysstat format version 12.0.3 [2022-01-27T22:46:23.574Z] + sadf -c /var/log/sa-host/sa27 [2022-01-27T22:46:23.574Z] file_magic: OK [2022-01-27T22:46:23.574Z] HZ: Using current value: 100 [2022-01-27T22:46:23.574Z] file_header: OK [2022-01-27T22:46:23.574Z] 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-27T22:46:23.574Z] Statistics: [2022-01-27T22:46:23.574Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-27T22:46:23.574Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-27T22:46:23.795Z] provisioning config files... [2022-01-27T22:46:23.803Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1073@tmp/config2137730413917459510tmp [Pipeline] { [Pipeline] echo [2022-01-27T22:46:23.819Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:24.289Z] ---> create-netrc.sh [Pipeline] } [2022-01-27T22:46:24.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:24.778Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-27T22:46:24.786Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:25.075Z] ---> sudo-logs.sh [2022-01-27T22:46:25.075Z] Archiving 'sudo' log.. [2022-01-27T22:46:25.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4086.novalocal: Name or service not known [2022-01-27T22:46:25.075Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4086.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-27T22:46:25.099Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:25.383Z] ---> job-cost.sh [2022-01-27T22:46:25.383Z] lf-activate-venv: SKIPPING [2022-01-27T22:46:25.383Z] DEBUG: total: 0.05999999865889549 [2022-01-27T22:46:25.383Z] INFO: Retrieving Stack Cost... [2022-01-27T22:46:25.643Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-27T22:46:25.904Z] INFO: Archiving Costs [Pipeline] echo [2022-01-27T22:46:25.918Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-27T22:46:26.210Z] ---> logs-deploy.sh [2022-01-27T22:46:26.210Z] lf-activate-venv: SKIPPING [2022-01-27T22:46:26.211Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1073/9 [2022-01-27T22:46:26.211Z] INFO: archiving workspace using pattern(s): [2022-01-27T22:46:26.786Z] Archives upload complete. [2022-01-27T22:46:27.047Z] INFO: archiving logs to Nexus