Pull request #154 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc+f3318b721e0f943881393329fd3e7443e525a415 (0e248a7d1719c2746e7585fe74b22c39bbdbc160) 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-ssh18368149872243460125.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-ssh11241425905125076365.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-154/workspace@libs/edgex-global-pipelines # timeout=10 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-rest-go/branches/PR-154/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5095413966354871182.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-rest-go/branches/PR-154/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17681432342942202352.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16011659194148198264.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-154/workspace@libs/lf-pipelines # timeout=10 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-rest-go/branches/PR-154/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2813248109367181268.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-4328 in /w/workspace/gexfoundry_device-rest-go_PR-154 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-154 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-154@tmp/jenkins-gitclient-ssh4648861854754826889.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go_PR-154@tmp/jenkins-gitclient-ssh4146418335446973137.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc Merge succeeded, producing 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc Checking out Revision 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc (PR-154) > git config core.sparsecheckout # timeout=10 > git checkout -f 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc # 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-rest-go_PR-154@tmp/jenkins-gitclient-ssh9155661183395169152.key > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-31T20:03:53.455Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-31T20:03:53.634Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-31T20:03:53.737Z] ========================================================= [2022-01-31T20:03:53.737Z] EdgeX Global Pipelines Version Info [2022-01-31T20:03:53.737Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:03:54.870Z] ------------------- [2022-01-31T20:03:54.870Z] stable info: [2022-01-31T20:03:54.870Z] ------------------- [2022-01-31T20:03:54.870Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-31T20:03:54.870Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T20:03:54.870Z] Message: update stable to v1.0.219 [2022-01-31T20:03:55.441Z] ------------------- [2022-01-31T20:03:55.441Z] experimental info: [2022-01-31T20:03:55.441Z] ------------------- [2022-01-31T20:03:55.441Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-31T20:03:55.441Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T20:03:55.441Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-31T20:03:55.710Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-01-31T20:03:55.755Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-01-31T20:03:55.791Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-31T20:03:55.834Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-31T20:03:55.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-31T20:03:55.914Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-31T20:03:55.947Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-31T20:03:55.991Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-31T20:03:56.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-31T20:03:56.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-31T20:03:56.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-31T20:03:56.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-01-31T20:03:56.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-31T20:03:56.247Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-31T20:03:56.288Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T20:03:56.327Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-31T20:03:56.375Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T20:03:56.421Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-31T20:03:56.466Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-31T20:03:56.511Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-31T20:03:56.556Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-31T20:03:56.597Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-31T20:03:56.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-31T20:03:56.689Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-31T20:03:56.737Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-31T20:03:56.778Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-31T20:03:56.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-154 [Pipeline] echo [2022-01-31T20:03:56.865Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-154 [Pipeline] echo [2022-01-31T20:03:56.906Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-154 [Pipeline] echo [2022-01-31T20:03:56.952Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [Pipeline] echo [2022-01-31T20:03:56.992Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c3e86d [Pipeline] echo [2022-01-31T20:03:57.024Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T20:03:57.128Z] provisioning config files... [2022-01-31T20:03:57.146Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-154@tmp/config4481689306036751507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:03:57.484Z] ---> docker-login.sh [2022-01-31T20:03:57.484Z] nexus3.edgexfoundry.org:10001 [2022-01-31T20:03:57.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:03:57.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:03:57.752Z] Configure a credential helper to remove this warning. See [2022-01-31T20:03:57.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:03:57.752Z] [2022-01-31T20:03:57.752Z] Login Succeeded [2022-01-31T20:03:57.752Z] nexus3.edgexfoundry.org:10002 [2022-01-31T20:03:57.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:03:57.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:03:57.752Z] Configure a credential helper to remove this warning. See [2022-01-31T20:03:57.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:03:57.752Z] [2022-01-31T20:03:57.752Z] Login Succeeded [2022-01-31T20:03:57.752Z] nexus3.edgexfoundry.org:10003 [2022-01-31T20:03:58.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:03:58.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:03:58.012Z] Configure a credential helper to remove this warning. See [2022-01-31T20:03:58.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:03:58.012Z] [2022-01-31T20:03:58.012Z] Login Succeeded [2022-01-31T20:03:58.012Z] nexus3.edgexfoundry.org:10004 [2022-01-31T20:03:58.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:03:58.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:03:58.012Z] Configure a credential helper to remove this warning. See [2022-01-31T20:03:58.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:03:58.012Z] [2022-01-31T20:03:58.012Z] Login Succeeded [2022-01-31T20:03:58.012Z] docker.io [2022-01-31T20:03:58.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:03:58.587Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:03:58.587Z] Configure a credential helper to remove this warning. See [2022-01-31T20:03:58.587Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:03:58.587Z] [2022-01-31T20:03:58.587Z] Login Succeeded [2022-01-31T20:03:58.587Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T20:03:58.613Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-31T20:03:59.243Z] + git rev-list -1 --merges 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc~1..3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [Pipeline] echo [2022-01-31T20:03:59.295Z] -----------> git rev-list -1 --merges 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc~1..3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [false] [Pipeline] sh [2022-01-31T20:03:59.617Z] + git log --format=format:%s -1 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [Pipeline] echo [2022-01-31T20:03:59.661Z] ========================================================= [2022-01-31T20:03:59.662Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-31T20:03:59.662Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T20:04:00.106Z] + git log --format=format:%s -1 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [Pipeline] echo [2022-01-31T20:04:00.137Z] [semverPrep] GIT_COMMIT: 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-01-31T20:04:00.168Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-31T20:04:00.689Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-31T20:04:00.689Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-31T20:04:00.689Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-31T20:04:00.689Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-31T20:04:00.689Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-31T20:04:00.689Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-31T20:04:00.689Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:04:01.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T20:04:01.136Z] [2022-01-31T20:04:01.136Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:04:01.531Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T20:04:01.531Z] latest: Pulling from edgex-devops/git-semver [2022-01-31T20:04:01.531Z] a0d0a0d46f8b: Pulling fs layer [2022-01-31T20:04:01.531Z] 3e5f54012d9b: Pulling fs layer [2022-01-31T20:04:01.531Z] 4c7163046ea9: Pulling fs layer [2022-01-31T20:04:01.531Z] 0c2d73faf560: Pulling fs layer [2022-01-31T20:04:01.531Z] 0c2d73faf560: Waiting [2022-01-31T20:04:01.531Z] 3e5f54012d9b: Verifying Checksum [2022-01-31T20:04:01.531Z] 3e5f54012d9b: Download complete [2022-01-31T20:04:01.531Z] a0d0a0d46f8b: Verifying Checksum [2022-01-31T20:04:01.531Z] a0d0a0d46f8b: Download complete [2022-01-31T20:04:01.799Z] 4c7163046ea9: Verifying Checksum [2022-01-31T20:04:01.799Z] 0c2d73faf560: Verifying Checksum [2022-01-31T20:04:01.799Z] 0c2d73faf560: Download complete [2022-01-31T20:04:01.799Z] a0d0a0d46f8b: Pull complete [2022-01-31T20:04:02.074Z] 3e5f54012d9b: Pull complete [2022-01-31T20:04:02.342Z] 4c7163046ea9: Pull complete [2022-01-31T20:04:02.603Z] 0c2d73faf560: Pull complete [2022-01-31T20:04:02.603Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-31T20:04:02.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-31T20:04:02.603Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-31T20:04:02.703Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2022-01-31T20:04:02.741Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-154 -v /w/workspace/gexfoundry_device-rest-go_PR-154:/w/workspace/gexfoundry_device-rest-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-154@tmp:/w/workspace/gexfoundry_device-rest-go_PR-154@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-31T20:04:03.888Z] $ docker top 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-31T20:04:04.074Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T20:04:04.075Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T20:04:04.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T20:04:04.178Z] $ docker exec 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 ssh-agent [2022-01-31T20:04:04.285Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOkBOnA/agent.14 [2022-01-31T20:04:04.285Z] SSH_AGENT_PID=21 [2022-01-31T20:04:04.293Z] Running ssh-add (command line suppressed) [2022-01-31T20:04:04.390Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-154@tmp/private_key_8608164404263653380.key (/w/workspace/gexfoundry_device-rest-go_PR-154@tmp/private_key_8608164404263653380.key) [2022-01-31T20:04:04.406Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T20:04:04.745Z] + git tag --points-at HEAD [Pipeline] } [2022-01-31T20:04:04.772Z] $ docker exec --env ******** --env ******** 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 ssh-agent -k [2022-01-31T20:04:04.855Z] unset SSH_AUTH_SOCK; [2022-01-31T20:04:04.855Z] unset SSH_AGENT_PID; [2022-01-31T20:04:04.855Z] echo Agent pid 21 killed; [2022-01-31T20:04:04.866Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-31T20:04:04.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-31T20:04:04.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-31T20:04:05.058Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-31T20:04:05.059Z] $ docker exec 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 ssh-agent [2022-01-31T20:04:05.164Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJNBGhl/agent.54 [2022-01-31T20:04:05.164Z] SSH_AGENT_PID=61 [2022-01-31T20:04:05.170Z] Running ssh-add (command line suppressed) [2022-01-31T20:04:05.251Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-154@tmp/private_key_454350290657227358.key (/w/workspace/gexfoundry_device-rest-go_PR-154@tmp/private_key_454350290657227358.key) [2022-01-31T20:04:05.264Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-31T20:04:05.598Z] + git semver init [2022-01-31T20:04:05.598Z] # -> Open(): unable to determine branch for HEAD [2022-01-31T20:04:05.598Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-154/.git [2022-01-31T20:04:05.598Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-154 [2022-01-31T20:04:05.598Z] # $SEMVER_REMOTE_NAME = origin [2022-01-31T20:04:05.598Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-31T20:04:05.598Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-31T20:04:05.598Z] # $SEMVER_BRANCH = PR-154 [2022-01-31T20:04:05.598Z] # $SEMVER_TEMP = /tmp/semver-272141487 [2022-01-31T20:04:05.598Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-01-31T20:04:06.987Z] # '/tmp/semver-272141487' -> '/w/workspace/gexfoundry_device-rest-go_PR-154/.semver' [2022-01-31T20:04:06.987Z] # -> Force: false [2022-01-31T20:04:06.987Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-154/.semver [Pipeline] } [2022-01-31T20:04:07.008Z] $ docker exec --env ******** --env ******** 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 ssh-agent -k [2022-01-31T20:04:07.091Z] unset SSH_AUTH_SOCK; [2022-01-31T20:04:07.092Z] unset SSH_AGENT_PID; [2022-01-31T20:04:07.092Z] echo Agent pid 61 killed; [2022-01-31T20:04:07.103Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-31T20:04:07.534Z] + git semver [Pipeline] } [2022-01-31T20:04:07.564Z] $ docker stop --time=1 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 [2022-01-31T20:04:08.867Z] $ docker rm -f 187ad4d7d946044e238bfcbea196a80c6114a39b20638a10d73784307d1a6827 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-31T20:04:09.277Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-31T20:04:09.545Z] Stashed 1 file(s) [Pipeline] echo [2022-01-31T20:04:09.563Z] [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-31T20:04:10.152Z] provisioning config files... [2022-01-31T20:04:10.163Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-154@tmp/config4728722399472493165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:04:10.509Z] ---> docker-login.sh [2022-01-31T20:04:10.510Z] nexus3.edgexfoundry.org:10001 [2022-01-31T20:04:10.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:04:10.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:04:10.510Z] Configure a credential helper to remove this warning. See [2022-01-31T20:04:10.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:04:10.510Z] [2022-01-31T20:04:10.510Z] Login Succeeded [2022-01-31T20:04:10.510Z] nexus3.edgexfoundry.org:10002 [2022-01-31T20:04:10.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:04:10.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:04:10.510Z] Configure a credential helper to remove this warning. See [2022-01-31T20:04:10.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:04:10.510Z] [2022-01-31T20:04:10.510Z] Login Succeeded [2022-01-31T20:04:10.510Z] nexus3.edgexfoundry.org:10003 [2022-01-31T20:04:10.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:04:10.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:04:10.770Z] Configure a credential helper to remove this warning. See [2022-01-31T20:04:10.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:04:10.770Z] [2022-01-31T20:04:10.770Z] Login Succeeded [2022-01-31T20:04:10.770Z] nexus3.edgexfoundry.org:10004 [2022-01-31T20:04:10.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:04:10.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:04:10.770Z] Configure a credential helper to remove this warning. See [2022-01-31T20:04:10.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:04:10.770Z] [2022-01-31T20:04:10.770Z] Login Succeeded [2022-01-31T20:04:10.770Z] docker.io [2022-01-31T20:04:11.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:04:11.294Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:04:11.294Z] Configure a credential helper to remove this warning. See [2022-01-31T20:04:11.294Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:04:11.294Z] [2022-01-31T20:04:11.294Z] Login Succeeded [2022-01-31T20:04:11.294Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T20:04:11.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T20:04:11.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T20:04:11.548Z] ========================================================= [2022-01-31T20:04:11.548Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-31T20:04:11.548Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:04:11.959Z] + docker build -t ci-base-image-x86_64 -f 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-31T20:04:11.960Z] Sending build context to Docker daemon 10.55MB [2022-01-31T20:04:11.960Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T20:04:11.960Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T20:04:11.960Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-31T20:04:11.960Z] 59bf1c3509f3: Pulling fs layer [2022-01-31T20:04:11.960Z] 666ba61612fd: Pulling fs layer [2022-01-31T20:04:11.960Z] 8ed8ca486205: Pulling fs layer [2022-01-31T20:04:11.960Z] 4fe6c5a15a65: Pulling fs layer [2022-01-31T20:04:11.960Z] 22a0e8bec74d: Pulling fs layer [2022-01-31T20:04:11.960Z] f965cba54748: Pulling fs layer [2022-01-31T20:04:11.960Z] 861ffc35075e: Pulling fs layer [2022-01-31T20:04:11.960Z] 4b385c91608e: Pulling fs layer [2022-01-31T20:04:11.960Z] 560528eb2ebb: Pulling fs layer [2022-01-31T20:04:11.960Z] 4fe6c5a15a65: Waiting [2022-01-31T20:04:11.960Z] 22a0e8bec74d: Waiting [2022-01-31T20:04:11.960Z] f965cba54748: Waiting [2022-01-31T20:04:11.960Z] 861ffc35075e: Waiting [2022-01-31T20:04:11.960Z] 4b385c91608e: Waiting [2022-01-31T20:04:11.960Z] 560528eb2ebb: Waiting [2022-01-31T20:04:11.960Z] 8ed8ca486205: Verifying Checksum [2022-01-31T20:04:11.960Z] 8ed8ca486205: Download complete [2022-01-31T20:04:12.225Z] 666ba61612fd: Verifying Checksum [2022-01-31T20:04:12.225Z] 666ba61612fd: Download complete [2022-01-31T20:04:12.225Z] 22a0e8bec74d: Verifying Checksum [2022-01-31T20:04:12.225Z] 22a0e8bec74d: Download complete [2022-01-31T20:04:12.225Z] f965cba54748: Verifying Checksum [2022-01-31T20:04:12.225Z] f965cba54748: Download complete [2022-01-31T20:04:12.225Z] 59bf1c3509f3: Verifying Checksum [2022-01-31T20:04:12.225Z] 59bf1c3509f3: Download complete [2022-01-31T20:04:12.225Z] 861ffc35075e: Verifying Checksum [2022-01-31T20:04:12.225Z] 861ffc35075e: Download complete [2022-01-31T20:04:12.225Z] 4b385c91608e: Verifying Checksum [2022-01-31T20:04:12.225Z] 4b385c91608e: Download complete [2022-01-31T20:04:12.491Z] 59bf1c3509f3: Pull complete [2022-01-31T20:04:12.756Z] 4fe6c5a15a65: Verifying Checksum [2022-01-31T20:04:12.756Z] 4fe6c5a15a65: Download complete [2022-01-31T20:04:12.756Z] 666ba61612fd: Pull complete [2022-01-31T20:04:12.756Z] 560528eb2ebb: Verifying Checksum [2022-01-31T20:04:12.756Z] 560528eb2ebb: Download complete [2022-01-31T20:04:12.756Z] 8ed8ca486205: Pull complete [2022-01-31T20:04:16.990Z] 4fe6c5a15a65: Pull complete [2022-01-31T20:04:16.990Z] 22a0e8bec74d: Pull complete [2022-01-31T20:04:16.990Z] f965cba54748: Pull complete [2022-01-31T20:04:16.990Z] 861ffc35075e: Pull complete [2022-01-31T20:04:17.253Z] 4b385c91608e: Pull complete [2022-01-31T20:04:19.815Z] 560528eb2ebb: Pull complete [2022-01-31T20:04:19.815Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-31T20:04:19.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-31T20:04:19.815Z] ---> dd4a08f94e63 [2022-01-31T20:04:19.815Z] Step 3/12 : ARG MAKE='make build' [2022-01-31T20:04:24.981Z] Still waiting to schedule task [2022-01-31T20:04:24.981Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-01-31T20:04:25.119Z] ---> Running in 345b5b202343 [2022-01-31T20:04:25.119Z] Removing intermediate container 345b5b202343 [2022-01-31T20:04:25.119Z] ---> b8debc7d4f5a [2022-01-31T20:04:25.119Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T20:04:25.119Z] ---> Running in c6031b5dc4cd [2022-01-31T20:04:25.119Z] Removing intermediate container c6031b5dc4cd [2022-01-31T20:04:25.119Z] ---> 886b10f2764e [2022-01-31T20:04:25.119Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T20:04:25.119Z] ---> Running in 69c60f5bd499 [2022-01-31T20:04:25.382Z] Removing intermediate container 69c60f5bd499 [2022-01-31T20:04:25.382Z] ---> 426bcb5985fc [2022-01-31T20:04:25.382Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T20:04:25.382Z] ---> Running in 474f9c6c5c51 [2022-01-31T20:04:25.954Z] Removing intermediate container 474f9c6c5c51 [2022-01-31T20:04:25.954Z] ---> 9497837944dc [2022-01-31T20:04:25.954Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T20:04:26.216Z] ---> Running in 2208d7de12b0 [2022-01-31T20:04:26.478Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-31T20:04:27.423Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-31T20:04:27.685Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T20:04:27.685Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T20:04:27.949Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T20:04:27.949Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T20:04:27.949Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T20:04:28.209Z] OK: 224 MiB in 56 packages [2022-01-31T20:04:28.470Z] Removing intermediate container 2208d7de12b0 [2022-01-31T20:04:28.470Z] ---> c652f2d1e443 [2022-01-31T20:04:28.470Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-31T20:04:28.734Z] ---> Running in b3aa614a8c78 [2022-01-31T20:04:28.734Z] Removing intermediate container b3aa614a8c78 [2022-01-31T20:04:28.734Z] ---> c56ed9bc9ca8 [2022-01-31T20:04:28.734Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-31T20:04:28.995Z] ---> 24c4400f64c9 [2022-01-31T20:04:28.995Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T20:04:29.263Z] ---> Running in 1fe3a8633360 [2022-01-31T20:05:16.011Z] Removing intermediate container 1fe3a8633360 [2022-01-31T20:05:16.011Z] ---> c7d20585b5b6 [2022-01-31T20:05:16.011Z] Step 11/12 : COPY . . [2022-01-31T20:05:16.011Z] ---> 916f43aba1c0 [2022-01-31T20:05:16.011Z] Step 12/12 : RUN $MAKE [2022-01-31T20:05:16.011Z] ---> Running in 8f003a754ad2 [2022-01-31T20:05:16.011Z] noop [2022-01-31T20:05:16.011Z] Removing intermediate container 8f003a754ad2 [2022-01-31T20:05:16.011Z] ---> 73f6fce3c915 [2022-01-31T20:05:16.011Z] Successfully built 73f6fce3c915 [2022-01-31T20:05:16.011Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:05:16.342Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T20:05:16.342Z] . [Pipeline] withDockerContainer [2022-01-31T20:05:16.429Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2022-01-31T20:05:16.461Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-154 -v /w/workspace/gexfoundry_device-rest-go_PR-154:/w/workspace/gexfoundry_device-rest-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-154@tmp:/w/workspace/gexfoundry_device-rest-go_PR-154@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 ******** ci-base-image-x86_64 cat [2022-01-31T20:05:16.773Z] $ docker top 7bfb66c55a2cb720b7f52b77e0a7725da477f39637bd9a27ccec23906f5e7499 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T20:05:17.183Z] + go version [2022-01-31T20:05:17.183Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-31T20:05:17.208Z] $ docker stop --time=1 7bfb66c55a2cb720b7f52b77e0a7725da477f39637bd9a27ccec23906f5e7499 [2022-01-31T20:05:18.376Z] $ docker rm -f 7bfb66c55a2cb720b7f52b77e0a7725da477f39637bd9a27ccec23906f5e7499 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:05:19.047Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-31T20:05:19.048Z] . [Pipeline] withDockerContainer [2022-01-31T20:05:19.141Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2022-01-31T20:05:19.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-154 -v /w/workspace/gexfoundry_device-rest-go_PR-154:/w/workspace/gexfoundry_device-rest-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-154@tmp:/w/workspace/gexfoundry_device-rest-go_PR-154@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 ******** ci-base-image-x86_64 cat [2022-01-31T20:05:19.522Z] $ docker top b13c8d47945513252faf3f86687bc49bc1e5b429424af88912e507319571bae5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T20:05:19.983Z] + make test [2022-01-31T20:05:19.983Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-31T20:05:20.249Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-31T20:05:35.264Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-31T20:05:35.264Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-01-31T20:05:35.264Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T20:05:39.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T20:05:39.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T20:05:39.473Z] ./bin/test-attribution-txt.sh [2022-01-31T20:05:39.732Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T20:05:39.996Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-01-31T20:05:40.032Z] $ docker stop --time=1 b13c8d47945513252faf3f86687bc49bc1e5b429424af88912e507319571bae5 [2022-01-31T20:05:41.500Z] $ docker rm -f b13c8d47945513252faf3f86687bc49bc1e5b429424af88912e507319571bae5 [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-31T20:05:42.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T20:05:42.594Z] [2022-01-31T20:05:42.594Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:05:42.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T20:05:42.940Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-31T20:05:42.940Z] b4d181a07f80: Pulling fs layer [2022-01-31T20:05:42.940Z] a1111a8f2ec3: Pulling fs layer [2022-01-31T20:05:42.940Z] ed53099fbce6: Pulling fs layer [2022-01-31T20:05:42.940Z] dc539afda2c1: Pulling fs layer [2022-01-31T20:05:42.940Z] 77bc0d833cb6: Pulling fs layer [2022-01-31T20:05:42.940Z] 9065ff56babe: Pulling fs layer [2022-01-31T20:05:42.940Z] d287ab97295c: Pulling fs layer [2022-01-31T20:05:42.940Z] 77bc0d833cb6: Waiting [2022-01-31T20:05:42.940Z] 9065ff56babe: Waiting [2022-01-31T20:05:42.940Z] d287ab97295c: Waiting [2022-01-31T20:05:42.940Z] dc539afda2c1: Waiting [2022-01-31T20:05:42.940Z] a1111a8f2ec3: Verifying Checksum [2022-01-31T20:05:42.940Z] a1111a8f2ec3: Download complete [2022-01-31T20:05:42.940Z] dc539afda2c1: Verifying Checksum [2022-01-31T20:05:42.940Z] dc539afda2c1: Download complete [2022-01-31T20:05:43.203Z] ed53099fbce6: Verifying Checksum [2022-01-31T20:05:43.204Z] ed53099fbce6: Download complete [2022-01-31T20:05:43.204Z] 9065ff56babe: Verifying Checksum [2022-01-31T20:05:43.204Z] 9065ff56babe: Download complete [2022-01-31T20:05:43.204Z] 77bc0d833cb6: Verifying Checksum [2022-01-31T20:05:43.204Z] 77bc0d833cb6: Download complete [2022-01-31T20:05:43.204Z] b4d181a07f80: Verifying Checksum [2022-01-31T20:05:43.204Z] b4d181a07f80: Download complete [2022-01-31T20:05:43.771Z] d287ab97295c: Verifying Checksum [2022-01-31T20:05:43.771Z] d287ab97295c: Download complete [2022-01-31T20:05:44.135Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4329 in /w/workspace/gexfoundry_device-rest-go_PR-154 [Pipeline] { [Pipeline] ws [2022-01-31T20:05:44.176Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-01-31T20:05:44.392Z] The recommended git tool is: git [2022-01-31T20:05:44.724Z] b4d181a07f80: Pull complete [2022-01-31T20:05:44.724Z] a1111a8f2ec3: Pull complete [2022-01-31T20:05:45.300Z] ed53099fbce6: Pull complete [2022-01-31T20:05:45.300Z] dc539afda2c1: Pull complete [2022-01-31T20:05:45.570Z] 77bc0d833cb6: Pull complete [2022-01-31T20:05:45.570Z] 9065ff56babe: Pull complete [2022-01-31T20:05:48.809Z] using credential edgex-jenkins-ssh [2022-01-31T20:05:48.828Z] Cloning the remote Git repository [2022-01-31T20:05:48.889Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-01-31T20:05:48.959Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-01-31T20:05:49.055Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-31T20:05:49.056Z] > git --version # timeout=10 [2022-01-31T20:05:49.073Z] > git --version # 'git version 2.17.1' [2022-01-31T20:05:49.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T20:05:49.200Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T20:05:50.912Z] d287ab97295c: Pull complete [2022-01-31T20:05:50.912Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-31T20:05:50.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T20:05:50.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-31T20:05:51.003Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2022-01-31T20:05:51.033Z] $ 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-rest-go_PR-154 -v /w/workspace/gexfoundry_device-rest-go_PR-154:/w/workspace/gexfoundry_device-rest-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-154@tmp:/w/workspace/gexfoundry_device-rest-go_PR-154@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:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T20:05:51.783Z] Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [2022-01-31T20:05:51.101Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-31T20:05:51.123Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-31T20:05:51.159Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-01-31T20:05:51.197Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-01-31T20:05:51.198Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T20:05:51.211Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/154/head:refs/remotes/origin/PR-154 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-31T20:05:52.087Z] Merge succeeded, producing 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc [2022-01-31T20:05:52.088Z] Checking out Revision 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc (PR-154) [2022-01-31T20:05:51.908Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T20:05:51.927Z] > git checkout -f 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc # timeout=10 [2022-01-31T20:05:52.010Z] > git remote # timeout=10 [2022-01-31T20:05:52.030Z] > git config --get remote.origin.url # timeout=10 [2022-01-31T20:05:52.046Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-31T20:05:52.057Z] > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [2022-01-31T20:05:52.079Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-31T20:05:52.101Z] > git config core.sparsecheckout # timeout=10 [2022-01-31T20:05:52.112Z] > git checkout -f 3c3e86d16ef59e48b63e775ec1beadbddc9ac3cc # timeout=10 [2022-01-31T20:05:53.898Z] $ docker top 5e3761950b669c7e04ab231497aff90af9d726faa76166a2dd3ab75c6e56ec0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:05:54.390Z] ---> job-cost.sh [2022-01-31T20:05:54.390Z] lf-activate-venv: SKIPPING [2022-01-31T20:05:54.390Z] INFO: No Stack... [2022-01-31T20:05:54.652Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T20:05:54.914Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T20:05:55.232Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-154/archives/cost.csv [2022-01-31T20:05:55.232Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T20:05:55.273Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [2022-01-31T20:05:55.278Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] did not exist. Created. [2022-01-31T20:05:55.278Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T20:05:55.676Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-31T20:05:55.731Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T20:05:55.754Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T20:05:55.830Z] $ docker stop --time=1 5e3761950b669c7e04ab231497aff90af9d726faa76166a2dd3ab75c6e56ec0b [2022-01-31T20:05:56.290Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-01-31T20:05:56.349Z] > git --version # timeout=10 [2022-01-31T20:05:56.364Z] > git --version # 'git version 2.17.1' [2022-01-31T20:05:56.376Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-31T20:05:56.732Z] [2022-01-31T20:05:56.732Z] GitHub has been notified of this commit’s build result [2022-01-31T20:05:56.732Z] [2022-01-31T20:05:56.963Z] $ docker rm -f 5e3761950b669c7e04ab231497aff90af9d726faa76166a2dd3ab75c6e56ec0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T20:05:57.277Z] Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-31T20:05:57.918Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-31T20:05:57.918Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-31T20:05:57.918Z] Dload Upload Total Spent Left Speed [2022-01-31T20:05:57.918Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh [2022-01-31T20:05:58.589Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-31T20:05:58.937Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-01-31T20:05:58.937Z] /etc/docker/daemon.new [2022-01-31T20:05:58.937Z] { [2022-01-31T20:05:58.937Z] "registry-mirrors": [ [2022-01-31T20:05:58.937Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-31T20:05:58.937Z] ], [2022-01-31T20:05:58.937Z] "bip": "10.250.0.254/24", [2022-01-31T20:05:58.937Z] "hosts": [ [2022-01-31T20:05:58.937Z] "tcp://0.0.0.0:5555", [2022-01-31T20:05:58.937Z] "unix:///var/run/docker.sock" [2022-01-31T20:05:58.937Z] ], [2022-01-31T20:05:58.937Z] "mtu": 1458, [2022-01-31T20:05:58.937Z] "selinux-enabled": true, [2022-01-31T20:05:58.937Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-31T20:05:58.937Z] } [Pipeline] sh [2022-01-31T20:05:59.287Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-31T20:05:59.632Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T20:06:18.013Z] provisioning config files... [2022-01-31T20:06:18.041Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config6513602379950792911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:06:18.626Z] ---> docker-login.sh [2022-01-31T20:06:18.626Z] nexus3.edgexfoundry.org:10001 [2022-01-31T20:06:19.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:06:19.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:06:19.495Z] Configure a credential helper to remove this warning. See [2022-01-31T20:06:19.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:06:19.495Z] [2022-01-31T20:06:19.495Z] Login Succeeded [2022-01-31T20:06:19.495Z] nexus3.edgexfoundry.org:10002 [2022-01-31T20:06:19.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:06:19.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:06:19.770Z] Configure a credential helper to remove this warning. See [2022-01-31T20:06:19.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:06:19.770Z] [2022-01-31T20:06:19.770Z] Login Succeeded [2022-01-31T20:06:19.770Z] nexus3.edgexfoundry.org:10003 [2022-01-31T20:06:20.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:06:20.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:06:20.383Z] Configure a credential helper to remove this warning. See [2022-01-31T20:06:20.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:06:20.383Z] [2022-01-31T20:06:20.383Z] Login Succeeded [2022-01-31T20:06:20.383Z] nexus3.edgexfoundry.org:10004 [2022-01-31T20:06:20.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:06:20.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:06:20.654Z] Configure a credential helper to remove this warning. See [2022-01-31T20:06:20.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:06:20.654Z] [2022-01-31T20:06:20.654Z] Login Succeeded [2022-01-31T20:06:20.654Z] docker.io [2022-01-31T20:06:21.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-31T20:06:21.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-31T20:06:21.526Z] Configure a credential helper to remove this warning. See [2022-01-31T20:06:21.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-31T20:06:21.526Z] [2022-01-31T20:06:21.526Z] Login Succeeded [2022-01-31T20:06:21.526Z] ---> docker-login.sh ends [Pipeline] } [2022-01-31T20:06:21.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-31T20:06:21.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-31T20:06:21.953Z] ========================================================= [2022-01-31T20:06:21.953Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-31T20:06:21.953Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:06:22.385Z] + docker build -t ci-base-image-arm64 -f 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-31T20:06:22.385Z] Sending build context to Docker daemon 124.4kB [2022-01-31T20:06:22.663Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-31T20:06:22.663Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-31T20:06:22.938Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-31T20:06:22.938Z] 9b3977197b4f: Pulling fs layer [2022-01-31T20:06:22.938Z] 1a89e8eeedd5: Pulling fs layer [2022-01-31T20:06:22.938Z] 94645a83ff95: Pulling fs layer [2022-01-31T20:06:22.938Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-31T20:06:22.938Z] 0c92f367c5e7: Pulling fs layer [2022-01-31T20:06:22.938Z] 4b8299f9d1f4: Pulling fs layer [2022-01-31T20:06:22.938Z] 9a6b49a46696: Pulling fs layer [2022-01-31T20:06:22.938Z] cf05db05a679: Pulling fs layer [2022-01-31T20:06:22.938Z] 4b8299f9d1f4: Waiting [2022-01-31T20:06:22.938Z] 9a6b49a46696: Waiting [2022-01-31T20:06:22.938Z] cf05db05a679: Waiting [2022-01-31T20:06:22.938Z] 3f3a8bcf1eab: Waiting [2022-01-31T20:06:22.938Z] 0c92f367c5e7: Waiting [2022-01-31T20:06:22.938Z] 94645a83ff95: Verifying Checksum [2022-01-31T20:06:22.938Z] 94645a83ff95: Download complete [2022-01-31T20:06:22.938Z] 1a89e8eeedd5: Verifying Checksum [2022-01-31T20:06:22.938Z] 1a89e8eeedd5: Download complete [2022-01-31T20:06:22.938Z] 0c92f367c5e7: Verifying Checksum [2022-01-31T20:06:22.938Z] 0c92f367c5e7: Download complete [2022-01-31T20:06:22.938Z] 4b8299f9d1f4: Verifying Checksum [2022-01-31T20:06:22.938Z] 4b8299f9d1f4: Download complete [2022-01-31T20:06:22.938Z] 9b3977197b4f: Download complete [2022-01-31T20:06:22.938Z] 9a6b49a46696: Verifying Checksum [2022-01-31T20:06:22.938Z] 9a6b49a46696: Download complete [2022-01-31T20:06:23.550Z] 9b3977197b4f: Pull complete [2022-01-31T20:06:24.167Z] 1a89e8eeedd5: Pull complete [2022-01-31T20:06:24.767Z] 94645a83ff95: Pull complete [2022-01-31T20:06:24.767Z] cf05db05a679: Verifying Checksum [2022-01-31T20:06:24.767Z] cf05db05a679: Download complete [2022-01-31T20:06:25.359Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-31T20:06:25.359Z] 3f3a8bcf1eab: Download complete [2022-01-31T20:06:37.755Z] 3f3a8bcf1eab: Pull complete [2022-01-31T20:06:37.755Z] 0c92f367c5e7: Pull complete [2022-01-31T20:06:37.755Z] 4b8299f9d1f4: Pull complete [2022-01-31T20:06:37.755Z] 9a6b49a46696: Pull complete [2022-01-31T20:06:43.158Z] cf05db05a679: Pull complete [2022-01-31T20:06:43.158Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-31T20:06:43.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-31T20:06:43.158Z] ---> 0ccda1f7e2ee [2022-01-31T20:06:43.158Z] Step 3/12 : ARG MAKE='make build' [2022-01-31T20:06:44.597Z] ---> Running in 24cb67d20e87 [2022-01-31T20:06:44.868Z] Removing intermediate container 24cb67d20e87 [2022-01-31T20:06:44.868Z] ---> ae94b39bc868 [2022-01-31T20:06:44.868Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-31T20:06:45.146Z] ---> Running in a4c8d2ba2b5b [2022-01-31T20:06:45.418Z] Removing intermediate container a4c8d2ba2b5b [2022-01-31T20:06:45.418Z] ---> 57b2f1f59d51 [2022-01-31T20:06:45.418Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-31T20:06:45.418Z] ---> Running in 57dbfc6c1aa9 [2022-01-31T20:06:46.017Z] Removing intermediate container 57dbfc6c1aa9 [2022-01-31T20:06:46.017Z] ---> b4efd6c62a94 [2022-01-31T20:06:46.017Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-31T20:06:46.017Z] ---> Running in 30532e966452 [2022-01-31T20:06:47.990Z] Removing intermediate container 30532e966452 [2022-01-31T20:06:47.990Z] ---> 5b6495cda78e [2022-01-31T20:06:47.990Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-31T20:06:47.990Z] ---> Running in fd40cd2582ed [2022-01-31T20:06:48.968Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-31T20:06:49.940Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-31T20:06:50.535Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-31T20:06:50.535Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-31T20:06:50.807Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-31T20:06:50.807Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-31T20:06:51.079Z] Executing busybox-1.34.1-r3.trigger [2022-01-31T20:06:51.079Z] OK: 224 MiB in 56 packages [2022-01-31T20:06:52.061Z] Removing intermediate container fd40cd2582ed [2022-01-31T20:06:52.061Z] ---> 8e2508f2f6db [2022-01-31T20:06:52.061Z] Step 8/12 : WORKDIR /device-rest-go [2022-01-31T20:06:52.061Z] ---> Running in 4215ae1022b3 [2022-01-31T20:06:52.336Z] Removing intermediate container 4215ae1022b3 [2022-01-31T20:06:52.336Z] ---> b1b84894c497 [2022-01-31T20:06:52.336Z] Step 9/12 : COPY go.mod vendor* ./ [2022-01-31T20:06:52.934Z] ---> e7e29f65b458 [2022-01-31T20:06:52.934Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-31T20:06:53.208Z] ---> Running in 9ff9cdcadf29 [2022-01-31T20:08:01.224Z] Removing intermediate container 9ff9cdcadf29 [2022-01-31T20:08:01.224Z] ---> a169562794d1 [2022-01-31T20:08:01.224Z] Step 11/12 : COPY . . [2022-01-31T20:08:01.821Z] ---> e8997d6f1a4d [2022-01-31T20:08:01.821Z] Step 12/12 : RUN $MAKE [2022-01-31T20:08:01.821Z] ---> Running in 438f6bf305b1 [2022-01-31T20:08:02.798Z] noop [2022-01-31T20:08:03.401Z] Removing intermediate container 438f6bf305b1 [2022-01-31T20:08:03.401Z] ---> 5a54341a4711 [2022-01-31T20:08:03.401Z] Successfully built 5a54341a4711 [2022-01-31T20:08:03.401Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:08:03.781Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T20:08:03.781Z] . [Pipeline] withDockerContainer [2022-01-31T20:08:04.018Z] prd-ubuntu18.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2022-01-31T20:08:04.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-01-31T20:08:05.424Z] $ docker top d2582ebc5b7b7a49cbf416c896431c6997acd36f7222fe5b2bf8e14958c05686 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T20:08:06.373Z] + go version [2022-01-31T20:08:06.373Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-31T20:08:06.407Z] $ docker stop --time=1 d2582ebc5b7b7a49cbf416c896431c6997acd36f7222fe5b2bf8e14958c05686 [2022-01-31T20:08:08.021Z] $ docker rm -f d2582ebc5b7b7a49cbf416c896431c6997acd36f7222fe5b2bf8e14958c05686 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:08:08.906Z] + docker inspect -f . ci-base-image-arm64 [2022-01-31T20:08:08.906Z] . [Pipeline] withDockerContainer [2022-01-31T20:08:09.145Z] prd-ubuntu18.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2022-01-31T20:08:09.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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 ******** ci-base-image-arm64 cat [2022-01-31T20:08:10.536Z] $ docker top 1121f525eeb19cb4a68a621a0e8eedbdbb95508ce183d99d5e915fb0ad4820ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-31T20:08:11.548Z] + make test [2022-01-31T20:08:11.548Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-31T20:08:12.538Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-01-31T20:08:59.517Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-01-31T20:08:59.517Z] ok github.com/edgexfoundry/device-rest-go/driver 0.055s coverage: 56.0% of statements [2022-01-31T20:08:59.517Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-31T20:09:17.837Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-31T20:09:17.837Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-31T20:09:17.837Z] ./bin/test-attribution-txt.sh [2022-01-31T20:09:18.813Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-01-31T20:09:19.084Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-01-31T20:09:19.128Z] $ docker stop --time=1 1121f525eeb19cb4a68a621a0e8eedbdbb95508ce183d99d5e915fb0ad4820ec [2022-01-31T20:09:20.856Z] $ docker rm -f 1121f525eeb19cb4a68a621a0e8eedbdbb95508ce183d99d5e915fb0ad4820ec [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-31T20:09:22.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T20:09:22.185Z] [2022-01-31T20:09:22.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:09:22.561Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T20:09:22.833Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-31T20:09:22.833Z] 448f6bf000e3: Pulling fs layer [2022-01-31T20:09:22.833Z] f757da607395: Pulling fs layer [2022-01-31T20:09:22.833Z] 05883995daec: Pulling fs layer [2022-01-31T20:09:22.833Z] 8603b9c90790: Pulling fs layer [2022-01-31T20:09:22.833Z] 1560dd03e051: Pulling fs layer [2022-01-31T20:09:22.833Z] 27f5ce0e4adf: Pulling fs layer [2022-01-31T20:09:22.833Z] c2d8d7efcc4b: Pulling fs layer [2022-01-31T20:09:22.833Z] 1560dd03e051: Waiting [2022-01-31T20:09:22.833Z] 27f5ce0e4adf: Waiting [2022-01-31T20:09:22.833Z] 8603b9c90790: Waiting [2022-01-31T20:09:22.833Z] c2d8d7efcc4b: Waiting [2022-01-31T20:09:22.833Z] f757da607395: Verifying Checksum [2022-01-31T20:09:22.833Z] f757da607395: Download complete [2022-01-31T20:09:22.833Z] 8603b9c90790: Verifying Checksum [2022-01-31T20:09:22.833Z] 8603b9c90790: Download complete [2022-01-31T20:09:22.833Z] 1560dd03e051: Verifying Checksum [2022-01-31T20:09:22.833Z] 1560dd03e051: Download complete [2022-01-31T20:09:23.107Z] 27f5ce0e4adf: Verifying Checksum [2022-01-31T20:09:23.107Z] 27f5ce0e4adf: Download complete [2022-01-31T20:09:23.107Z] 05883995daec: Verifying Checksum [2022-01-31T20:09:23.107Z] 05883995daec: Download complete [2022-01-31T20:09:23.383Z] 448f6bf000e3: Verifying Checksum [2022-01-31T20:09:23.383Z] 448f6bf000e3: Download complete [2022-01-31T20:09:25.998Z] c2d8d7efcc4b: Verifying Checksum [2022-01-31T20:09:25.998Z] c2d8d7efcc4b: Download complete [2022-01-31T20:09:26.981Z] 448f6bf000e3: Pull complete [2022-01-31T20:09:27.582Z] f757da607395: Pull complete [2022-01-31T20:09:29.017Z] 05883995daec: Pull complete [2022-01-31T20:09:29.290Z] 8603b9c90790: Pull complete [2022-01-31T20:09:30.266Z] 1560dd03e051: Pull complete [2022-01-31T20:09:30.266Z] 27f5ce0e4adf: Pull complete [2022-01-31T20:09:45.335Z] c2d8d7efcc4b: Pull complete [2022-01-31T20:09:45.335Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-31T20:09:45.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-31T20:09:45.335Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-31T20:09:45.583Z] prd-ubuntu18.04-docker-arm64-4c-16g-4329 does not seem to be running inside a container [2022-01-31T20:09:45.667Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@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:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-31T20:09:48.159Z] $ docker top 06b5d72a75b527ef30c4e21c5d309400ea8d566ded6258ca74339b102ec35257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:09:49.114Z] ---> job-cost.sh [2022-01-31T20:09:49.114Z] lf-activate-venv: SKIPPING [2022-01-31T20:09:49.114Z] INFO: No Stack... [2022-01-31T20:09:49.385Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-31T20:09:49.977Z] INFO: Archiving Costs [Pipeline] sh [2022-01-31T20:09:50.655Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-01-31T20:09:50.655Z] + cut -d, -f6 [Pipeline] lock [2022-01-31T20:09:50.737Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [2022-01-31T20:09:50.742Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] did not exist. Created. [2022-01-31T20:09:50.742Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-31T20:09:51.486Z] /w/workspace/device-rest-go/1@tmp/durable-1955f777/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-1955f777/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-31T20:09:52.189Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-31T20:09:52.225Z] Warning: overwriting stash ‘stack-cost’ [2022-01-31T20:09:52.655Z] Stashed 1 file(s) [Pipeline] } [2022-01-31T20:09:52.675Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-154-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-31T20:09:52.762Z] $ docker stop --time=1 06b5d72a75b527ef30c4e21c5d309400ea8d566ded6258ca74339b102ec35257 [2022-01-31T20:09:54.224Z] $ docker rm -f 06b5d72a75b527ef30c4e21c5d309400ea8d566ded6258ca74339b102ec35257 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-31T20:09:54.956Z] 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-31T20:09:56.997Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-154/archives ']' [2022-01-31T20:09:56.997Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-154/archives [2022-01-31T20:09:56.997Z] total 8 [2022-01-31T20:09:56.997Z] drwxr-xr-x. 3 root root 34 Jan 31 20:05 . [2022-01-31T20:09:56.997Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 20:05 .. [2022-01-31T20:09:56.997Z] drwxr-xr-x. 2 root root 6 Jan 31 20:05 cost [2022-01-31T20:09:56.997Z] -rw-r--r--. 1 root root 85 Jan 31 20:05 cost.csv [2022-01-31T20:09:56.997Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-154/archives [2022-01-31T20:09:56.997Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-154/archives [2022-01-31T20:09:56.997Z] total 8 [2022-01-31T20:09:56.997Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 31 20:05 . [2022-01-31T20:09:56.997Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 31 20:05 .. [2022-01-31T20:09:56.997Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 31 20:05 cost [2022-01-31T20:09:56.997Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 31 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:09:57.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:09:57.928Z] ---> package-listing.sh [2022-01-31T20:09:57.928Z] ++ facter osfamily [2022-01-31T20:09:57.928Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-31T20:09:58.191Z] + OS_FAMILY=redhat [2022-01-31T20:09:58.191Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-154 [2022-01-31T20:09:58.191Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-31T20:09:58.191Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-31T20:09:58.191Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-31T20:09:58.191Z] + PACKAGES=/tmp/packages_start.txt [2022-01-31T20:09:58.191Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-154 ']' [2022-01-31T20:09:58.191Z] + PACKAGES=/tmp/packages_end.txt [2022-01-31T20:09:58.191Z] + case "${OS_FAMILY}" in [2022-01-31T20:09:58.191Z] + sort [2022-01-31T20:09:58.191Z] + rpm -qa [2022-01-31T20:09:58.782Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-31T20:09:58.782Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-31T20:09:58.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-31T20:09:58.782Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-154 ']' [2022-01-31T20:09:58.782Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-154/archives/ [2022-01-31T20:09:58.782Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-154/archives/ [Pipeline] echo [2022-01-31T20:09:58.817Z] 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-rest-go_PR-154/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-31T20:09:59.132Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-31T20:09:59.720Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-31T20:09:59.720Z] . [Pipeline] withDockerContainer [2022-01-31T20:09:59.814Z] prd-centos7-docker-4c-2g-4328 does not seem to be running inside a container [2022-01-31T20:09:59.844Z] $ 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-rest-go_PR-154/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-rest-go_PR-154 -v /w/workspace/gexfoundry_device-rest-go_PR-154:/w/workspace/gexfoundry_device-rest-go_PR-154:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-154@tmp:/w/workspace/gexfoundry_device-rest-go_PR-154@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:10003/edgex-lftools-log-publisher:latest cat [2022-01-31T20:10:00.046Z] $ docker top b591a6bec01af70d7ab0ad4887156aa13656771a4abf95cff2b7eb2910fe67de -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-31T20:10:00.618Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-31T20:10:00.971Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-31T20:10:01.304Z] + ls /var/log/sa-host [2022-01-31T20:10:01.304Z] + sadf -c /var/log/sa-host/sa17 [2022-01-31T20:10:01.304Z] file_magic: OK [2022-01-31T20:10:01.304Z] HZ: Using current value: 100 [2022-01-31T20:10:01.304Z] file_header: OK [2022-01-31T20:10:01.304Z] 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-31T20:10:01.304Z] Statistics: [2022-01-31T20:10:01.304Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T20:10:01.304Z] File successfully converted to sysstat format version 12.0.3 [2022-01-31T20:10:01.304Z] + sadf -c /var/log/sa-host/sa31 [2022-01-31T20:10:01.304Z] file_magic: OK [2022-01-31T20:10:01.304Z] HZ: Using current value: 100 [2022-01-31T20:10:01.304Z] file_header: OK [2022-01-31T20:10:01.304Z] 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-31T20:10:01.304Z] Statistics: [2022-01-31T20:10:01.304Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-31T20:10:01.304Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-31T20:10:01.596Z] provisioning config files... [2022-01-31T20:10:01.607Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-154@tmp/config6327833621140548224tmp [Pipeline] { [Pipeline] echo [2022-01-31T20:10:01.658Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:10:01.976Z] ---> create-netrc.sh [Pipeline] } [2022-01-31T20:10:02.006Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:10:02.424Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-31T20:10:02.459Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:10:02.777Z] ---> sudo-logs.sh [2022-01-31T20:10:02.777Z] Archiving 'sudo' log.. [2022-01-31T20:10:02.777Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4328.novalocal: Name or service not known [2022-01-31T20:10:02.777Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4328.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-31T20:10:02.869Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:10:03.184Z] ---> job-cost.sh [2022-01-31T20:10:03.184Z] lf-activate-venv: SKIPPING [2022-01-31T20:10:03.184Z] DEBUG: total: 0.05999999865889549 [2022-01-31T20:10:03.184Z] INFO: Retrieving Stack Cost... [2022-01-31T20:10:03.444Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-31T20:10:03.707Z] INFO: Archiving Costs [Pipeline] echo [2022-01-31T20:10:03.745Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-31T20:10:04.063Z] ---> logs-deploy.sh [2022-01-31T20:10:04.063Z] lf-activate-venv: SKIPPING [2022-01-31T20:10:04.063Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-154/1 [2022-01-31T20:10:04.063Z] INFO: archiving workspace using pattern(s): [2022-01-31T20:10:04.630Z] Archives upload complete. [2022-01-31T20:10:04.890Z] INFO: archiving logs to Nexus