Pull request #155 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f35f3710a941bf6fccda04940022191222e860f3+f3318b721e0f943881393329fd3e7443e525a415 (4c9dc898b4fa804ca6ea4e55ac58bc48bc15f954) 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-ssh2803253027527317318.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7395844414320742836.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh 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-155/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-155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh56569014024060947.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-155/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10967407419705134013.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh241006897372618615.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-155/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-155/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11177902029733828569.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-4790 in /w/workspace/gexfoundry_device-rest-go_PR-155 [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-155 # 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-155@tmp/jenkins-gitclient-ssh6644693830336281799.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit f35f3710a941bf6fccda04940022191222e860f3 Merge succeeded, producing f35f3710a941bf6fccda04940022191222e860f3 Checking out Revision f35f3710a941bf6fccda04940022191222e860f3 (PR-155) > 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-155@tmp/jenkins-gitclient-ssh488132170558102407.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35f3710a941bf6fccda04940022191222e860f3 # 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-155@tmp/jenkins-gitclient-ssh2704465377613092220.key > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f35f3710a941bf6fccda04940022191222e860f3 # 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-07T20:05:26.047Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-07T20:05:26.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-07T20:05:26.337Z] ========================================================= [2022-02-07T20:05:26.337Z] EdgeX Global Pipelines Version Info [2022-02-07T20:05:26.337Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:05:27.503Z] ------------------- [2022-02-07T20:05:27.503Z] stable info: [2022-02-07T20:05:27.503Z] ------------------- [2022-02-07T20:05:27.503Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T20:05:27.503Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T20:05:27.503Z] Message: update stable to v1.0.220 [2022-02-07T20:05:28.075Z] ------------------- [2022-02-07T20:05:28.075Z] experimental info: [2022-02-07T20:05:28.075Z] ------------------- [2022-02-07T20:05:28.075Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T20:05:28.075Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T20:05:28.075Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-07T20:05:28.352Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-02-07T20:05:28.396Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-02-07T20:05:28.439Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-07T20:05:28.479Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-07T20:05:28.524Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-07T20:05:28.564Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-07T20:05:28.601Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-07T20:05:28.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-07T20:05:28.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-07T20:05:28.719Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-07T20:05:28.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-07T20:05:28.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-02-07T20:05:28.836Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-07T20:05:28.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-07T20:05:28.912Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T20:05:28.951Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T20:05:28.989Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T20:05:29.028Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T20:05:29.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-07T20:05:29.113Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-07T20:05:29.156Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-07T20:05:29.198Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-07T20:05:29.240Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-07T20:05:29.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-07T20:05:29.318Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-07T20:05:29.357Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-07T20:05:29.396Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-155 [Pipeline] echo [2022-02-07T20:05:29.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-155 [Pipeline] echo [2022-02-07T20:05:29.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-155 [Pipeline] echo [2022-02-07T20:05:29.519Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f35f3710a941bf6fccda04940022191222e860f3 [Pipeline] echo [2022-02-07T20:05:29.561Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f35f371 [Pipeline] echo [2022-02-07T20:05:29.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T20:05:29.711Z] provisioning config files... [2022-02-07T20:05:29.724Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-155@tmp/config8283895472284191419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:05:30.078Z] ---> docker-login.sh [2022-02-07T20:05:30.078Z] nexus3.edgexfoundry.org:10001 [2022-02-07T20:05:30.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:30.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:30.339Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:30.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:30.339Z] [2022-02-07T20:05:30.339Z] Login Succeeded [2022-02-07T20:05:30.339Z] nexus3.edgexfoundry.org:10002 [2022-02-07T20:05:30.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:30.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:30.339Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:30.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:30.339Z] [2022-02-07T20:05:30.339Z] Login Succeeded [2022-02-07T20:05:30.339Z] nexus3.edgexfoundry.org:10003 [2022-02-07T20:05:30.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:30.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:30.606Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:30.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:30.606Z] [2022-02-07T20:05:30.606Z] Login Succeeded [2022-02-07T20:05:30.606Z] nexus3.edgexfoundry.org:10004 [2022-02-07T20:05:30.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:30.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:30.606Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:30.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:30.606Z] [2022-02-07T20:05:30.606Z] Login Succeeded [2022-02-07T20:05:30.606Z] docker.io [2022-02-07T20:05:30.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:31.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:31.186Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:31.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:31.186Z] [2022-02-07T20:05:31.186Z] Login Succeeded [2022-02-07T20:05:31.186Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T20:05:31.215Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-07T20:05:31.875Z] + git rev-list -1 --merges f35f3710a941bf6fccda04940022191222e860f3~1..f35f3710a941bf6fccda04940022191222e860f3 [Pipeline] echo [2022-02-07T20:05:31.922Z] -----------> git rev-list -1 --merges f35f3710a941bf6fccda04940022191222e860f3~1..f35f3710a941bf6fccda04940022191222e860f3 f35f3710a941bf6fccda04940022191222e860f3 [false] [Pipeline] sh [2022-02-07T20:05:32.244Z] + git log --format=format:%s -1 f35f3710a941bf6fccda04940022191222e860f3 [Pipeline] echo [2022-02-07T20:05:32.281Z] ========================================================= [2022-02-07T20:05:32.281Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-07T20:05:32.281Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T20:05:32.717Z] + git log --format=format:%s -1 f35f3710a941bf6fccda04940022191222e860f3 [Pipeline] echo [2022-02-07T20:05:32.750Z] [semverPrep] GIT_COMMIT: f35f3710a941bf6fccda04940022191222e860f3, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-07T20:05:32.782Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-07T20:05:33.248Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-07T20:05:33.248Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-07T20:05:33.248Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-07T20:05:33.248Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-07T20:05:33.248Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-07T20:05:33.248Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-07T20:05:33.248Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:05:33.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T20:05:33.716Z] [2022-02-07T20:05:33.716Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:05:34.073Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T20:05:34.073Z] latest: Pulling from edgex-devops/git-semver [2022-02-07T20:05:34.073Z] a0d0a0d46f8b: Pulling fs layer [2022-02-07T20:05:34.073Z] 3e5f54012d9b: Pulling fs layer [2022-02-07T20:05:34.073Z] 4c7163046ea9: Pulling fs layer [2022-02-07T20:05:34.073Z] 0c2d73faf560: Pulling fs layer [2022-02-07T20:05:34.073Z] 0c2d73faf560: Waiting [2022-02-07T20:05:34.073Z] 3e5f54012d9b: Verifying Checksum [2022-02-07T20:05:34.073Z] 3e5f54012d9b: Download complete [2022-02-07T20:05:34.073Z] a0d0a0d46f8b: Verifying Checksum [2022-02-07T20:05:34.073Z] a0d0a0d46f8b: Download complete [2022-02-07T20:05:34.073Z] 4c7163046ea9: Verifying Checksum [2022-02-07T20:05:34.073Z] 4c7163046ea9: Download complete [2022-02-07T20:05:34.073Z] 0c2d73faf560: Verifying Checksum [2022-02-07T20:05:34.073Z] 0c2d73faf560: Download complete [2022-02-07T20:05:34.346Z] a0d0a0d46f8b: Pull complete [2022-02-07T20:05:34.346Z] 3e5f54012d9b: Pull complete [2022-02-07T20:05:34.624Z] 4c7163046ea9: Pull complete [2022-02-07T20:05:34.891Z] 0c2d73faf560: Pull complete [2022-02-07T20:05:34.891Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-07T20:05:34.891Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T20:05:34.891Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-07T20:05:34.996Z] prd-centos7-docker-4c-2g-4790 does not seem to be running inside a container [2022-02-07T20:05:35.029Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-155 -v /w/workspace/gexfoundry_device-rest-go_PR-155:/w/workspace/gexfoundry_device-rest-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-155@tmp:/w/workspace/gexfoundry_device-rest-go_PR-155@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-02-07T20:05:35.631Z] $ docker top b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-07T20:05:35.853Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T20:05:35.853Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T20:05:35.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T20:05:35.961Z] $ docker exec b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 ssh-agent [2022-02-07T20:05:36.072Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlcmJjE/agent.15 [2022-02-07T20:05:36.072Z] SSH_AGENT_PID=21 [2022-02-07T20:05:36.080Z] Running ssh-add (command line suppressed) [2022-02-07T20:05:36.174Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-155@tmp/private_key_4041486322522492065.key (/w/workspace/gexfoundry_device-rest-go_PR-155@tmp/private_key_4041486322522492065.key) [2022-02-07T20:05:36.189Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T20:05:36.540Z] + git tag --points-at HEAD [Pipeline] } [2022-02-07T20:05:36.567Z] $ docker exec --env ******** --env ******** b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 ssh-agent -k [2022-02-07T20:05:36.662Z] unset SSH_AUTH_SOCK; [2022-02-07T20:05:36.663Z] unset SSH_AGENT_PID; [2022-02-07T20:05:36.663Z] echo Agent pid 21 killed; [2022-02-07T20:05:36.671Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-07T20:05:36.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T20:05:36.761Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T20:05:36.865Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T20:05:36.868Z] $ docker exec b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 ssh-agent [2022-02-07T20:05:36.963Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFPBHFD/agent.53 [2022-02-07T20:05:36.963Z] SSH_AGENT_PID=59 [2022-02-07T20:05:36.968Z] Running ssh-add (command line suppressed) [2022-02-07T20:05:37.049Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-155@tmp/private_key_5517059735008385131.key (/w/workspace/gexfoundry_device-rest-go_PR-155@tmp/private_key_5517059735008385131.key) [2022-02-07T20:05:37.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T20:05:37.401Z] + git semver init [2022-02-07T20:05:37.402Z] # -> Open(): unable to determine branch for HEAD [2022-02-07T20:05:37.402Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-155/.git [2022-02-07T20:05:37.402Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-155 [2022-02-07T20:05:37.402Z] # $SEMVER_REMOTE_NAME = origin [2022-02-07T20:05:37.402Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-07T20:05:37.402Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-07T20:05:37.402Z] # $SEMVER_BRANCH = PR-155 [2022-02-07T20:05:37.402Z] # $SEMVER_TEMP = /tmp/semver-422797590 [2022-02-07T20:05:37.402Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-02-07T20:05:38.792Z] # '/tmp/semver-422797590' -> '/w/workspace/gexfoundry_device-rest-go_PR-155/.semver' [2022-02-07T20:05:38.792Z] # -> Force: false [2022-02-07T20:05:38.792Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-155/.semver [Pipeline] } [2022-02-07T20:05:38.818Z] $ docker exec --env ******** --env ******** b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 ssh-agent -k [2022-02-07T20:05:38.901Z] unset SSH_AUTH_SOCK; [2022-02-07T20:05:38.901Z] unset SSH_AGENT_PID; [2022-02-07T20:05:38.901Z] echo Agent pid 59 killed; [2022-02-07T20:05:38.910Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-07T20:05:39.350Z] + git semver [Pipeline] } [2022-02-07T20:05:39.384Z] $ docker stop --time=1 b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 [2022-02-07T20:05:40.608Z] $ docker rm -f b0af16df5b8a8efd2707d38e31ef9105af7ba756c875d04756f928eb279af3d0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-07T20:05:41.043Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-07T20:05:41.347Z] Stashed 1 file(s) [Pipeline] echo [2022-02-07T20:05:41.364Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T20:05:42.150Z] provisioning config files... [2022-02-07T20:05:42.162Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-155@tmp/config1771336178722829488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:05:42.531Z] ---> docker-login.sh [2022-02-07T20:05:42.531Z] nexus3.edgexfoundry.org:10001 [2022-02-07T20:05:42.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:42.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:42.531Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:42.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:42.531Z] [2022-02-07T20:05:42.531Z] Login Succeeded [2022-02-07T20:05:42.531Z] nexus3.edgexfoundry.org:10002 [2022-02-07T20:05:42.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:42.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:42.531Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:42.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:42.531Z] [2022-02-07T20:05:42.531Z] Login Succeeded [2022-02-07T20:05:42.531Z] nexus3.edgexfoundry.org:10003 [2022-02-07T20:05:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:42.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:42.794Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:42.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:42.794Z] [2022-02-07T20:05:42.794Z] Login Succeeded [2022-02-07T20:05:42.794Z] nexus3.edgexfoundry.org:10004 [2022-02-07T20:05:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:42.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:42.794Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:42.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:42.794Z] [2022-02-07T20:05:42.794Z] Login Succeeded [2022-02-07T20:05:42.794Z] docker.io [2022-02-07T20:05:42.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:05:43.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:05:43.366Z] Configure a credential helper to remove this warning. See [2022-02-07T20:05:43.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:05:43.366Z] [2022-02-07T20:05:43.366Z] Login Succeeded [2022-02-07T20:05:43.366Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T20:05:43.392Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T20:05:43.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T20:05:43.648Z] ========================================================= [2022-02-07T20:05:43.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-07T20:05:43.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:05:44.081Z] + 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-02-07T20:05:44.081Z] Sending build context to Docker daemon 10.55MB [2022-02-07T20:05:44.081Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T20:05:44.081Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-07T20:05:44.081Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-07T20:05:44.081Z] 59bf1c3509f3: Pulling fs layer [2022-02-07T20:05:44.081Z] 666ba61612fd: Pulling fs layer [2022-02-07T20:05:44.081Z] 8ed8ca486205: Pulling fs layer [2022-02-07T20:05:44.081Z] 4fe6c5a15a65: Pulling fs layer [2022-02-07T20:05:44.081Z] 22a0e8bec74d: Pulling fs layer [2022-02-07T20:05:44.081Z] 640e595b4fbd: Pulling fs layer [2022-02-07T20:05:44.081Z] 763cafe07f6e: Pulling fs layer [2022-02-07T20:05:44.082Z] 0c0b528cf693: Pulling fs layer [2022-02-07T20:05:44.082Z] 10935f4eaf8b: Pulling fs layer [2022-02-07T20:05:44.082Z] 4fe6c5a15a65: Waiting [2022-02-07T20:05:44.082Z] 22a0e8bec74d: Waiting [2022-02-07T20:05:44.082Z] 640e595b4fbd: Waiting [2022-02-07T20:05:44.082Z] 763cafe07f6e: Waiting [2022-02-07T20:05:44.082Z] 0c0b528cf693: Waiting [2022-02-07T20:05:44.082Z] 10935f4eaf8b: Waiting [2022-02-07T20:05:44.082Z] 8ed8ca486205: Verifying Checksum [2022-02-07T20:05:44.082Z] 8ed8ca486205: Download complete [2022-02-07T20:05:44.082Z] 666ba61612fd: Verifying Checksum [2022-02-07T20:05:44.082Z] 666ba61612fd: Download complete [2022-02-07T20:05:44.082Z] 22a0e8bec74d: Verifying Checksum [2022-02-07T20:05:44.082Z] 22a0e8bec74d: Download complete [2022-02-07T20:05:44.359Z] 640e595b4fbd: Verifying Checksum [2022-02-07T20:05:44.359Z] 640e595b4fbd: Download complete [2022-02-07T20:05:44.359Z] 59bf1c3509f3: Verifying Checksum [2022-02-07T20:05:44.359Z] 59bf1c3509f3: Download complete [2022-02-07T20:05:44.359Z] 763cafe07f6e: Verifying Checksum [2022-02-07T20:05:44.359Z] 763cafe07f6e: Download complete [2022-02-07T20:05:44.359Z] 0c0b528cf693: Verifying Checksum [2022-02-07T20:05:44.359Z] 0c0b528cf693: Download complete [2022-02-07T20:05:44.359Z] 59bf1c3509f3: Pull complete [2022-02-07T20:05:44.633Z] 666ba61612fd: Pull complete [2022-02-07T20:05:44.633Z] 8ed8ca486205: Pull complete [2022-02-07T20:05:44.911Z] 4fe6c5a15a65: Verifying Checksum [2022-02-07T20:05:44.911Z] 4fe6c5a15a65: Download complete [2022-02-07T20:05:45.186Z] 10935f4eaf8b: Verifying Checksum [2022-02-07T20:05:45.186Z] 10935f4eaf8b: Download complete [2022-02-07T20:05:49.434Z] 4fe6c5a15a65: Pull complete [2022-02-07T20:05:49.434Z] 22a0e8bec74d: Pull complete [2022-02-07T20:05:49.434Z] 640e595b4fbd: Pull complete [2022-02-07T20:05:49.434Z] 763cafe07f6e: Pull complete [2022-02-07T20:05:49.434Z] 0c0b528cf693: Pull complete [2022-02-07T20:05:52.000Z] 10935f4eaf8b: Pull complete [2022-02-07T20:05:52.000Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-07T20:05:52.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-07T20:05:52.000Z] ---> 99d49a6021b9 [2022-02-07T20:05:52.000Z] Step 3/12 : ARG MAKE='make build' [2022-02-07T20:05:53.913Z] ---> Running in a5a5fa434a7d [2022-02-07T20:05:53.913Z] Removing intermediate container a5a5fa434a7d [2022-02-07T20:05:53.913Z] ---> 6d895b648873 [2022-02-07T20:05:53.913Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-07T20:05:53.913Z] ---> Running in 94c9a2a9c497 [2022-02-07T20:05:54.178Z] Removing intermediate container 94c9a2a9c497 [2022-02-07T20:05:54.178Z] ---> 689345c6925a [2022-02-07T20:05:54.178Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-07T20:05:54.179Z] ---> Running in 559a63b5737b [2022-02-07T20:05:54.179Z] Removing intermediate container 559a63b5737b [2022-02-07T20:05:54.179Z] ---> e64640faf2d7 [2022-02-07T20:05:54.179Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T20:05:54.179Z] ---> Running in d534f464cd29 [2022-02-07T20:05:54.438Z] Removing intermediate container d534f464cd29 [2022-02-07T20:05:54.438Z] ---> ccc635699f92 [2022-02-07T20:05:54.438Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-07T20:05:54.709Z] ---> Running in 706fcb1438ee [2022-02-07T20:05:54.709Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-07T20:05:55.647Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-07T20:05:56.222Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T20:05:56.222Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-07T20:05:56.222Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T20:05:56.484Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T20:05:56.484Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T20:05:56.484Z] OK: 224 MiB in 56 packages [2022-02-07T20:05:56.750Z] Removing intermediate container 706fcb1438ee [2022-02-07T20:05:56.750Z] ---> cd2e50efc77a [2022-02-07T20:05:56.750Z] Step 8/12 : WORKDIR /device-rest-go [2022-02-07T20:05:56.750Z] ---> Running in 7e269e968a63 [2022-02-07T20:05:56.750Z] Removing intermediate container 7e269e968a63 [2022-02-07T20:05:56.750Z] ---> 62bdcb97bba2 [2022-02-07T20:05:56.750Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-07T20:05:56.918Z] Still waiting to schedule task [2022-02-07T20:05:56.918Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-07T20:05:57.010Z] ---> 200882207500 [2022-02-07T20:05:57.010Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T20:05:57.010Z] ---> Running in 0dea4d03bb40 [2022-02-07T20:06:35.789Z] Removing intermediate container 0dea4d03bb40 [2022-02-07T20:06:35.789Z] ---> bfa72478b9d7 [2022-02-07T20:06:35.789Z] Step 11/12 : COPY . . [2022-02-07T20:06:35.789Z] ---> ed12fe2921ca [2022-02-07T20:06:35.789Z] Step 12/12 : RUN $MAKE [2022-02-07T20:06:35.789Z] ---> Running in f60dcba603f7 [2022-02-07T20:06:35.789Z] noop [2022-02-07T20:06:35.789Z] Removing intermediate container f60dcba603f7 [2022-02-07T20:06:35.789Z] ---> df7f446f6463 [2022-02-07T20:06:35.789Z] Successfully built df7f446f6463 [2022-02-07T20:06:35.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:06:36.132Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T20:06:36.132Z] . [Pipeline] withDockerContainer [2022-02-07T20:06:36.227Z] prd-centos7-docker-4c-2g-4790 does not seem to be running inside a container [2022-02-07T20:06:36.263Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-155 -v /w/workspace/gexfoundry_device-rest-go_PR-155:/w/workspace/gexfoundry_device-rest-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-155@tmp:/w/workspace/gexfoundry_device-rest-go_PR-155@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-02-07T20:06:36.594Z] $ docker top e6503db39a99a32e823345760529c03f86c71e346cf890183b74a1e3ccc0ba45 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T20:06:37.003Z] + go version [2022-02-07T20:06:37.003Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-07T20:06:37.035Z] $ docker stop --time=1 e6503db39a99a32e823345760529c03f86c71e346cf890183b74a1e3ccc0ba45 [2022-02-07T20:06:38.213Z] $ docker rm -f e6503db39a99a32e823345760529c03f86c71e346cf890183b74a1e3ccc0ba45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:06:38.882Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T20:06:38.882Z] . [Pipeline] withDockerContainer [2022-02-07T20:06:38.970Z] prd-centos7-docker-4c-2g-4790 does not seem to be running inside a container [2022-02-07T20:06:39.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-155 -v /w/workspace/gexfoundry_device-rest-go_PR-155:/w/workspace/gexfoundry_device-rest-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-155@tmp:/w/workspace/gexfoundry_device-rest-go_PR-155@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-02-07T20:06:39.341Z] $ docker top 66973d15cc6672df104603c64884a0b043695e205df591cf42419a4f8c9230da -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T20:06:39.793Z] + make test [2022-02-07T20:06:39.793Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-07T20:06:40.066Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-02-07T20:06:55.024Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-02-07T20:06:55.024Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2022-02-07T20:06:55.024Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T20:06:59.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T20:06:59.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T20:06:59.260Z] ./bin/test-attribution-txt.sh [2022-02-07T20:06:59.260Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T20:06:59.521Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-02-07T20:06:59.568Z] $ docker stop --time=1 66973d15cc6672df104603c64884a0b043695e205df591cf42419a4f8c9230da [2022-02-07T20:07:01.024Z] $ docker rm -f 66973d15cc6672df104603c64884a0b043695e205df591cf42419a4f8c9230da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:07:02.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T20:07:02.110Z] [2022-02-07T20:07:02.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:07:02.458Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T20:07:02.458Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-07T20:07:02.458Z] b4d181a07f80: Pulling fs layer [2022-02-07T20:07:02.458Z] a1111a8f2ec3: Pulling fs layer [2022-02-07T20:07:02.458Z] ed53099fbce6: Pulling fs layer [2022-02-07T20:07:02.458Z] dc539afda2c1: Pulling fs layer [2022-02-07T20:07:02.458Z] 77bc0d833cb6: Pulling fs layer [2022-02-07T20:07:02.458Z] 9065ff56babe: Pulling fs layer [2022-02-07T20:07:02.458Z] d287ab97295c: Pulling fs layer [2022-02-07T20:07:02.458Z] dc539afda2c1: Waiting [2022-02-07T20:07:02.458Z] 77bc0d833cb6: Waiting [2022-02-07T20:07:02.458Z] 9065ff56babe: Waiting [2022-02-07T20:07:02.458Z] d287ab97295c: Waiting [2022-02-07T20:07:02.458Z] a1111a8f2ec3: Verifying Checksum [2022-02-07T20:07:02.458Z] a1111a8f2ec3: Download complete [2022-02-07T20:07:02.458Z] dc539afda2c1: Verifying Checksum [2022-02-07T20:07:02.458Z] dc539afda2c1: Download complete [2022-02-07T20:07:02.723Z] ed53099fbce6: Verifying Checksum [2022-02-07T20:07:02.723Z] ed53099fbce6: Download complete [2022-02-07T20:07:02.723Z] 9065ff56babe: Verifying Checksum [2022-02-07T20:07:02.723Z] 9065ff56babe: Download complete [2022-02-07T20:07:02.723Z] 77bc0d833cb6: Verifying Checksum [2022-02-07T20:07:02.723Z] 77bc0d833cb6: Download complete [2022-02-07T20:07:02.723Z] b4d181a07f80: Verifying Checksum [2022-02-07T20:07:02.723Z] b4d181a07f80: Download complete [2022-02-07T20:07:03.312Z] d287ab97295c: Verifying Checksum [2022-02-07T20:07:03.312Z] d287ab97295c: Download complete [2022-02-07T20:07:04.256Z] b4d181a07f80: Pull complete [2022-02-07T20:07:04.256Z] a1111a8f2ec3: Pull complete [2022-02-07T20:07:04.830Z] ed53099fbce6: Pull complete [2022-02-07T20:07:04.830Z] dc539afda2c1: Pull complete [2022-02-07T20:07:05.092Z] 77bc0d833cb6: Pull complete [2022-02-07T20:07:05.359Z] 9065ff56babe: Pull complete [2022-02-07T20:07:10.689Z] d287ab97295c: Pull complete [2022-02-07T20:07:10.689Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-07T20:07:10.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T20:07:10.689Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-07T20:07:10.779Z] prd-centos7-docker-4c-2g-4790 does not seem to be running inside a container [2022-02-07T20:07:10.812Z] $ 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-155 -v /w/workspace/gexfoundry_device-rest-go_PR-155:/w/workspace/gexfoundry_device-rest-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-155@tmp:/w/workspace/gexfoundry_device-rest-go_PR-155@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-02-07T20:07:14.258Z] $ docker top 8d422aa97611e2efcaa8d54336b98e1923f415a6efe5e445cb042ddc02fd0c75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:07:14.761Z] ---> job-cost.sh [2022-02-07T20:07:14.761Z] lf-activate-venv: SKIPPING [2022-02-07T20:07:14.761Z] INFO: No Stack... [2022-02-07T20:07:15.020Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T20:07:15.348Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T20:07:15.658Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-155/archives/cost.csv [2022-02-07T20:07:15.658Z] + cut -d, -f6 [Pipeline] lock [2022-02-07T20:07:15.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [2022-02-07T20:07:15.701Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] did not exist. Created. [2022-02-07T20:07:15.701Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T20:07:16.088Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-07T20:07:16.141Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T20:07:16.164Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T20:07:16.244Z] $ docker stop --time=1 8d422aa97611e2efcaa8d54336b98e1923f415a6efe5e445cb042ddc02fd0c75 [2022-02-07T20:07:17.372Z] $ docker rm -f 8d422aa97611e2efcaa8d54336b98e1923f415a6efe5e445cb042ddc02fd0c75 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T20:07:17.760Z] Failed in branch amd64 [2022-02-07T20:07:28.732Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4791 in /w/workspace/gexfoundry_device-rest-go_PR-155 [Pipeline] { [Pipeline] ws [2022-02-07T20:07:28.779Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-02-07T20:07:29.120Z] The recommended git tool is: git [2022-02-07T20:07:33.557Z] using credential edgex-jenkins-ssh [2022-02-07T20:07:33.575Z] Cloning the remote Git repository [2022-02-07T20:07:33.632Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-02-07T20:07:33.707Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-02-07T20:07:33.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-02-07T20:07:33.791Z] > git --version # timeout=10 [2022-02-07T20:07:33.807Z] > git --version # 'git version 2.17.1' [2022-02-07T20:07:33.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T20:07:33.912Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T20:07:36.472Z] Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit f35f3710a941bf6fccda04940022191222e860f3 [2022-02-07T20:07:35.751Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-02-07T20:07:35.785Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T20:07:35.812Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-02-07T20:07:35.841Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-02-07T20:07:35.842Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T20:07:35.855Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/155/head:refs/remotes/origin/PR-155 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-07T20:07:36.487Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T20:07:36.498Z] > git checkout -f f35f3710a941bf6fccda04940022191222e860f3 # timeout=10 [2022-02-07T20:07:36.659Z] Merge succeeded, producing f35f3710a941bf6fccda04940022191222e860f3 [2022-02-07T20:07:36.660Z] Checking out Revision f35f3710a941bf6fccda04940022191222e860f3 (PR-155) [2022-02-07T20:07:36.577Z] > git remote # timeout=10 [2022-02-07T20:07:36.593Z] > git config --get remote.origin.url # timeout=10 [2022-02-07T20:07:36.606Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T20:07:36.617Z] > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [2022-02-07T20:07:36.643Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-07T20:07:36.664Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T20:07:36.684Z] > git checkout -f f35f3710a941bf6fccda04940022191222e860f3 # timeout=10 [2022-02-07T20:07:40.781Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-07T20:07:40.835Z] > git --version # timeout=10 [2022-02-07T20:07:40.846Z] > git --version # 'git version 2.17.1' [2022-02-07T20:07:40.855Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T20:07:42.714Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-07T20:07:42.714Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-07T20:07:42.714Z] Dload Upload Total Spent Left Speed [2022-02-07T20:07:42.714Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 88380 [Pipeline] sh [2022-02-07T20:07:43.376Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-07T20:07:43.729Z] + sudo tee /etc/docker/daemon.new [2022-02-07T20:07:43.729Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-07T20:07:43.729Z] { [2022-02-07T20:07:43.729Z] "registry-mirrors": [ [2022-02-07T20:07:43.729Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-07T20:07:43.729Z] ], [2022-02-07T20:07:43.729Z] "bip": "10.250.0.254/24", [2022-02-07T20:07:43.729Z] "hosts": [ [2022-02-07T20:07:43.729Z] "tcp://0.0.0.0:5555", [2022-02-07T20:07:43.729Z] "unix:///var/run/docker.sock" [2022-02-07T20:07:43.729Z] ], [2022-02-07T20:07:43.729Z] "mtu": 1458, [2022-02-07T20:07:43.729Z] "selinux-enabled": true, [2022-02-07T20:07:43.729Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-07T20:07:43.729Z] } [Pipeline] sh [2022-02-07T20:07:44.083Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-07T20:07:44.447Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T20:08:02.827Z] provisioning config files... [2022-02-07T20:08:02.850Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4618327426867890001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:08:03.243Z] ---> docker-login.sh [2022-02-07T20:08:03.243Z] nexus3.edgexfoundry.org:10001 [2022-02-07T20:08:03.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:08:04.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:08:04.108Z] Configure a credential helper to remove this warning. See [2022-02-07T20:08:04.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:08:04.108Z] [2022-02-07T20:08:04.108Z] Login Succeeded [2022-02-07T20:08:04.108Z] nexus3.edgexfoundry.org:10002 [2022-02-07T20:08:04.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:08:04.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:08:04.382Z] Configure a credential helper to remove this warning. See [2022-02-07T20:08:04.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:08:04.382Z] [2022-02-07T20:08:04.382Z] Login Succeeded [2022-02-07T20:08:04.382Z] nexus3.edgexfoundry.org:10003 [2022-02-07T20:08:04.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:08:04.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:08:04.927Z] Configure a credential helper to remove this warning. See [2022-02-07T20:08:04.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:08:04.927Z] [2022-02-07T20:08:04.927Z] Login Succeeded [2022-02-07T20:08:04.927Z] nexus3.edgexfoundry.org:10004 [2022-02-07T20:08:05.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:08:05.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:08:05.200Z] Configure a credential helper to remove this warning. See [2022-02-07T20:08:05.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:08:05.200Z] [2022-02-07T20:08:05.200Z] Login Succeeded [2022-02-07T20:08:05.200Z] docker.io [2022-02-07T20:08:05.477Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T20:08:05.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T20:08:05.749Z] Configure a credential helper to remove this warning. See [2022-02-07T20:08:05.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T20:08:05.749Z] [2022-02-07T20:08:05.749Z] Login Succeeded [2022-02-07T20:08:06.022Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T20:08:06.055Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T20:08:06.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T20:08:06.636Z] ========================================================= [2022-02-07T20:08:06.636Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-07T20:08:06.636Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:08:07.095Z] + 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-02-07T20:08:07.095Z] Sending build context to Docker daemon 124.4kB [2022-02-07T20:08:07.368Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T20:08:07.368Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-07T20:08:07.644Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-07T20:08:07.644Z] 9b3977197b4f: Pulling fs layer [2022-02-07T20:08:07.644Z] 1a89e8eeedd5: Pulling fs layer [2022-02-07T20:08:07.644Z] 94645a83ff95: Pulling fs layer [2022-02-07T20:08:07.644Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-07T20:08:07.644Z] 0c92f367c5e7: Pulling fs layer [2022-02-07T20:08:07.644Z] f7c0051592d6: Pulling fs layer [2022-02-07T20:08:07.644Z] a227ed2f7395: Pulling fs layer [2022-02-07T20:08:07.644Z] 7b1c46037f91: Pulling fs layer [2022-02-07T20:08:07.644Z] f7c0051592d6: Waiting [2022-02-07T20:08:07.644Z] a227ed2f7395: Waiting [2022-02-07T20:08:07.644Z] 7b1c46037f91: Waiting [2022-02-07T20:08:07.644Z] 3f3a8bcf1eab: Waiting [2022-02-07T20:08:07.644Z] 0c92f367c5e7: Waiting [2022-02-07T20:08:07.644Z] 94645a83ff95: Verifying Checksum [2022-02-07T20:08:07.644Z] 94645a83ff95: Download complete [2022-02-07T20:08:07.644Z] 1a89e8eeedd5: Verifying Checksum [2022-02-07T20:08:07.644Z] 1a89e8eeedd5: Download complete [2022-02-07T20:08:07.644Z] 0c92f367c5e7: Verifying Checksum [2022-02-07T20:08:07.644Z] 0c92f367c5e7: Download complete [2022-02-07T20:08:07.644Z] f7c0051592d6: Download complete [2022-02-07T20:08:07.644Z] 9b3977197b4f: Verifying Checksum [2022-02-07T20:08:07.644Z] 9b3977197b4f: Download complete [2022-02-07T20:08:07.644Z] a227ed2f7395: Verifying Checksum [2022-02-07T20:08:07.644Z] a227ed2f7395: Download complete [2022-02-07T20:08:08.247Z] 9b3977197b4f: Pull complete [2022-02-07T20:08:08.849Z] 1a89e8eeedd5: Pull complete [2022-02-07T20:08:09.123Z] 94645a83ff95: Pull complete [2022-02-07T20:08:09.397Z] 7b1c46037f91: Verifying Checksum [2022-02-07T20:08:09.397Z] 7b1c46037f91: Download complete [2022-02-07T20:08:09.994Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-07T20:08:09.994Z] 3f3a8bcf1eab: Download complete [2022-02-07T20:08:22.398Z] 3f3a8bcf1eab: Pull complete [2022-02-07T20:08:22.398Z] 0c92f367c5e7: Pull complete [2022-02-07T20:08:22.398Z] f7c0051592d6: Pull complete [2022-02-07T20:08:22.398Z] a227ed2f7395: Pull complete [2022-02-07T20:08:27.806Z] 7b1c46037f91: Pull complete [2022-02-07T20:08:27.806Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-07T20:08:27.807Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-07T20:08:27.807Z] ---> f79e39bc4007 [2022-02-07T20:08:27.807Z] Step 3/12 : ARG MAKE='make build' [2022-02-07T20:08:29.778Z] ---> Running in d0c98c76dbee [2022-02-07T20:08:29.778Z] Removing intermediate container d0c98c76dbee [2022-02-07T20:08:29.778Z] ---> d7256e7a7566 [2022-02-07T20:08:29.778Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-07T20:08:29.778Z] ---> Running in 209dd8f08157 [2022-02-07T20:08:30.375Z] Removing intermediate container 209dd8f08157 [2022-02-07T20:08:30.375Z] ---> 378da2f8c116 [2022-02-07T20:08:30.375Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-07T20:08:30.375Z] ---> Running in 9a799a10423e [2022-02-07T20:08:30.649Z] Removing intermediate container 9a799a10423e [2022-02-07T20:08:30.649Z] ---> 08d721ad9a1c [2022-02-07T20:08:30.649Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T20:08:30.925Z] ---> Running in 15183f538e82 [2022-02-07T20:08:32.893Z] Removing intermediate container 15183f538e82 [2022-02-07T20:08:32.893Z] ---> 9fbe2f705a08 [2022-02-07T20:08:32.893Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-07T20:08:32.893Z] ---> Running in d1af8bcd77d0 [2022-02-07T20:08:33.868Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-07T20:08:34.461Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-07T20:08:35.435Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T20:08:35.435Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-07T20:08:35.435Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T20:08:35.710Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T20:08:35.710Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T20:08:35.710Z] OK: 224 MiB in 56 packages [2022-02-07T20:08:36.689Z] Removing intermediate container d1af8bcd77d0 [2022-02-07T20:08:36.689Z] ---> f5f655fcae88 [2022-02-07T20:08:36.689Z] Step 8/12 : WORKDIR /device-rest-go [2022-02-07T20:08:36.689Z] ---> Running in 5cf60d02f192 [2022-02-07T20:08:37.282Z] Removing intermediate container 5cf60d02f192 [2022-02-07T20:08:37.282Z] ---> b91d15ada3c5 [2022-02-07T20:08:37.282Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-07T20:08:37.876Z] ---> b0b9161ed653 [2022-02-07T20:08:37.876Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T20:08:37.876Z] ---> Running in b133c4c960a0 [2022-02-07T20:09:45.875Z] Removing intermediate container b133c4c960a0 [2022-02-07T20:09:45.875Z] ---> 2e617554b967 [2022-02-07T20:09:45.875Z] Step 11/12 : COPY . . [2022-02-07T20:09:46.158Z] ---> c3a34a2dbe69 [2022-02-07T20:09:46.158Z] Step 12/12 : RUN $MAKE [2022-02-07T20:09:46.158Z] ---> Running in 0f6c8eb40154 [2022-02-07T20:09:47.140Z] noop [2022-02-07T20:09:47.742Z] Removing intermediate container 0f6c8eb40154 [2022-02-07T20:09:47.742Z] ---> 130f3015dd31 [2022-02-07T20:09:48.019Z] Successfully built 130f3015dd31 [2022-02-07T20:09:48.019Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:09:48.391Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T20:09:48.391Z] . [Pipeline] withDockerContainer [2022-02-07T20:09:48.641Z] prd-ubuntu18.04-docker-arm64-4c-16g-4791 does not seem to be running inside a container [2022-02-07T20:09:48.714Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-02-07T20:09:49.988Z] $ docker top 70c9b60cbbc4fd35e9ee05e673da58b3e8445e7433c09d5c19cef1e5dad4f33b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T20:09:50.938Z] + go version [2022-02-07T20:09:50.938Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-07T20:09:50.975Z] $ docker stop --time=1 70c9b60cbbc4fd35e9ee05e673da58b3e8445e7433c09d5c19cef1e5dad4f33b [2022-02-07T20:09:52.620Z] $ docker rm -f 70c9b60cbbc4fd35e9ee05e673da58b3e8445e7433c09d5c19cef1e5dad4f33b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:09:53.512Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T20:09:53.512Z] . [Pipeline] withDockerContainer [2022-02-07T20:09:53.747Z] prd-ubuntu18.04-docker-arm64-4c-16g-4791 does not seem to be running inside a container [2022-02-07T20:09:53.818Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-02-07T20:09:55.111Z] $ docker top 65fee463312b83be74fb61ffac1697cec1ac37e25b15cb408c202255c05f4a7e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T20:09:56.125Z] + make test [2022-02-07T20:09:56.125Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-07T20:09:57.103Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-02-07T20:10:44.118Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-02-07T20:10:44.118Z] ok github.com/edgexfoundry/device-rest-go/driver 0.052s coverage: 56.0% of statements [2022-02-07T20:10:44.118Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T20:11:02.412Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T20:11:02.412Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T20:11:02.412Z] ./bin/test-attribution-txt.sh [2022-02-07T20:11:03.396Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T20:11:03.667Z] make: *** [Makefile:31: test] Error 1 [Pipeline] } [2022-02-07T20:11:03.715Z] $ docker stop --time=1 65fee463312b83be74fb61ffac1697cec1ac37e25b15cb408c202255c05f4a7e [2022-02-07T20:11:05.455Z] $ docker rm -f 65fee463312b83be74fb61ffac1697cec1ac37e25b15cb408c202255c05f4a7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:11:06.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T20:11:06.797Z] [2022-02-07T20:11:06.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:11:07.182Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T20:11:07.456Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-07T20:11:07.456Z] 448f6bf000e3: Pulling fs layer [2022-02-07T20:11:07.456Z] f757da607395: Pulling fs layer [2022-02-07T20:11:07.456Z] 05883995daec: Pulling fs layer [2022-02-07T20:11:07.456Z] 8603b9c90790: Pulling fs layer [2022-02-07T20:11:07.456Z] 1560dd03e051: Pulling fs layer [2022-02-07T20:11:07.456Z] 27f5ce0e4adf: Pulling fs layer [2022-02-07T20:11:07.456Z] c2d8d7efcc4b: Pulling fs layer [2022-02-07T20:11:07.456Z] 1560dd03e051: Waiting [2022-02-07T20:11:07.456Z] 27f5ce0e4adf: Waiting [2022-02-07T20:11:07.456Z] 8603b9c90790: Waiting [2022-02-07T20:11:07.456Z] c2d8d7efcc4b: Waiting [2022-02-07T20:11:07.456Z] f757da607395: Verifying Checksum [2022-02-07T20:11:07.456Z] f757da607395: Download complete [2022-02-07T20:11:07.456Z] 8603b9c90790: Verifying Checksum [2022-02-07T20:11:07.456Z] 8603b9c90790: Download complete [2022-02-07T20:11:07.456Z] 1560dd03e051: Verifying Checksum [2022-02-07T20:11:07.456Z] 1560dd03e051: Download complete [2022-02-07T20:11:07.730Z] 27f5ce0e4adf: Verifying Checksum [2022-02-07T20:11:07.730Z] 27f5ce0e4adf: Download complete [2022-02-07T20:11:07.730Z] 05883995daec: Verifying Checksum [2022-02-07T20:11:07.730Z] 05883995daec: Download complete [2022-02-07T20:11:08.003Z] 448f6bf000e3: Verifying Checksum [2022-02-07T20:11:08.003Z] 448f6bf000e3: Download complete [2022-02-07T20:11:10.618Z] c2d8d7efcc4b: Verifying Checksum [2022-02-07T20:11:10.618Z] c2d8d7efcc4b: Download complete [2022-02-07T20:11:11.593Z] 448f6bf000e3: Pull complete [2022-02-07T20:11:12.187Z] f757da607395: Pull complete [2022-02-07T20:11:13.615Z] 05883995daec: Pull complete [2022-02-07T20:11:13.615Z] 8603b9c90790: Pull complete [2022-02-07T20:11:14.588Z] 1560dd03e051: Pull complete [2022-02-07T20:11:14.859Z] 27f5ce0e4adf: Pull complete [2022-02-07T20:11:29.928Z] c2d8d7efcc4b: Pull complete [2022-02-07T20:11:29.928Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-07T20:11:29.928Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T20:11:29.928Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-07T20:11:30.200Z] prd-ubuntu18.04-docker-arm64-4c-16g-4791 does not seem to be running inside a container [2022-02-07T20:11:30.344Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-07T20:11:32.948Z] $ docker top ffda64506579d0b4b6fe0e1a38e032f61a98199a7016632aba90b2f69f3de4b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:33.972Z] ---> job-cost.sh [2022-02-07T20:11:33.972Z] lf-activate-venv: SKIPPING [2022-02-07T20:11:33.972Z] INFO: No Stack... [2022-02-07T20:11:34.258Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-07T20:11:34.866Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T20:11:35.539Z] + cut -d, -f6 [2022-02-07T20:11:35.539Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-02-07T20:11:35.619Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [2022-02-07T20:11:35.624Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] did not exist. Created. [2022-02-07T20:11:35.624Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T20:11:36.361Z] /w/workspace/device-rest-go/1@tmp/durable-421f7ea6/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-421f7ea6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-07T20:11:37.044Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-07T20:11:37.085Z] Warning: overwriting stash ‘stack-cost’ [2022-02-07T20:11:37.492Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T20:11:37.508Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-155-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T20:11:37.591Z] $ docker stop --time=1 ffda64506579d0b4b6fe0e1a38e032f61a98199a7016632aba90b2f69f3de4b3 [2022-02-07T20:11:39.087Z] $ docker rm -f ffda64506579d0b4b6fe0e1a38e032f61a98199a7016632aba90b2f69f3de4b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T20:11:39.842Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-07T20:11:41.698Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-155/archives ']' [2022-02-07T20:11:41.699Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-155/archives [2022-02-07T20:11:41.699Z] total 8 [2022-02-07T20:11:41.699Z] drwxr-xr-x. 3 root root 34 Feb 7 20:07 . [2022-02-07T20:11:41.699Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 7 20:07 .. [2022-02-07T20:11:41.699Z] drwxr-xr-x. 2 root root 6 Feb 7 20:07 cost [2022-02-07T20:11:41.699Z] -rw-r--r--. 1 root root 85 Feb 7 20:07 cost.csv [2022-02-07T20:11:41.699Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-155/archives [2022-02-07T20:11:41.699Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-155/archives [2022-02-07T20:11:41.699Z] total 8 [2022-02-07T20:11:41.699Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 7 20:07 . [2022-02-07T20:11:41.699Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 7 20:07 .. [2022-02-07T20:11:41.699Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 7 20:07 cost [2022-02-07T20:11:41.699Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 7 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:42.045Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:42.642Z] ---> package-listing.sh [2022-02-07T20:11:42.642Z] ++ facter osfamily [2022-02-07T20:11:42.642Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-07T20:11:42.903Z] + OS_FAMILY=redhat [2022-02-07T20:11:42.903Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-155 [2022-02-07T20:11:42.903Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-07T20:11:42.903Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-07T20:11:42.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-07T20:11:42.903Z] + PACKAGES=/tmp/packages_start.txt [2022-02-07T20:11:42.903Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-155 ']' [2022-02-07T20:11:42.903Z] + PACKAGES=/tmp/packages_end.txt [2022-02-07T20:11:42.903Z] + case "${OS_FAMILY}" in [2022-02-07T20:11:42.903Z] + sort [2022-02-07T20:11:42.903Z] + rpm -qa [2022-02-07T20:11:43.475Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-07T20:11:43.475Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-07T20:11:43.475Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-07T20:11:43.475Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-155 ']' [2022-02-07T20:11:43.475Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-155/archives/ [2022-02-07T20:11:43.475Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-155/archives/ [Pipeline] echo [2022-02-07T20:11:43.509Z] 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-155/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-07T20:11:43.808Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-07T20:11:44.405Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T20:11:44.405Z] . [Pipeline] withDockerContainer [2022-02-07T20:11:44.499Z] prd-centos7-docker-4c-2g-4790 does not seem to be running inside a container [2022-02-07T20:11:44.533Z] $ 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-155/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-155 -v /w/workspace/gexfoundry_device-rest-go_PR-155:/w/workspace/gexfoundry_device-rest-go_PR-155:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-155@tmp:/w/workspace/gexfoundry_device-rest-go_PR-155@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-02-07T20:11:44.720Z] $ docker top 8cf66b39e683bffd53a9d77bf13c5a872a2d6a929f29c076dbf3c6b92f187f4a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T20:11:45.132Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-07T20:11:45.654Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-07T20:11:46.032Z] + ls /var/log/sa-host [2022-02-07T20:11:46.032Z] + sadf -c /var/log/sa-host/sa07 [2022-02-07T20:11:46.032Z] file_magic: OK [2022-02-07T20:11:46.032Z] HZ: Using current value: 100 [2022-02-07T20:11:46.032Z] file_header: OK [2022-02-07T20:11:46.032Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-07T20:11:46.032Z] Statistics: [2022-02-07T20:11:46.032Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T20:11:46.032Z] File successfully converted to sysstat format version 12.0.3 [2022-02-07T20:11:46.032Z] + sadf -c /var/log/sa-host/sa17 [2022-02-07T20:11:46.032Z] file_magic: OK [2022-02-07T20:11:46.032Z] HZ: Using current value: 100 [2022-02-07T20:11:46.032Z] file_header: OK [2022-02-07T20:11:46.032Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2022-02-07T20:11:46.032Z] Statistics: [2022-02-07T20:11:46.032Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T20:11:46.032Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T20:11:46.321Z] provisioning config files... [2022-02-07T20:11:46.330Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-155@tmp/config2922512626170907843tmp [Pipeline] { [Pipeline] echo [2022-02-07T20:11:46.384Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:46.701Z] ---> create-netrc.sh [Pipeline] } [2022-02-07T20:11:46.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:47.134Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-07T20:11:47.167Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:47.487Z] ---> sudo-logs.sh [2022-02-07T20:11:47.487Z] Archiving 'sudo' log.. [2022-02-07T20:11:47.487Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4790.novalocal: Name or service not known [2022-02-07T20:11:47.487Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4790.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-07T20:11:47.573Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:47.894Z] ---> job-cost.sh [2022-02-07T20:11:47.894Z] lf-activate-venv: SKIPPING [2022-02-07T20:11:47.894Z] DEBUG: total: 0.05999999865889549 [2022-02-07T20:11:47.894Z] INFO: Retrieving Stack Cost... [2022-02-07T20:11:48.465Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T20:11:48.725Z] INFO: Archiving Costs [Pipeline] echo [2022-02-07T20:11:48.759Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T20:11:49.088Z] ---> logs-deploy.sh [2022-02-07T20:11:49.088Z] lf-activate-venv: SKIPPING [2022-02-07T20:11:49.088Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-155/1 [2022-02-07T20:11:49.088Z] INFO: archiving workspace using pattern(s): [2022-02-07T20:11:49.661Z] Archives upload complete. [2022-02-07T20:11:49.921Z] INFO: archiving logs to Nexus