Pull request #120 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 01c2e7385cbb549675eaef41ea1d8b5213c80131+597d67ccc6e047abbec756f631c33e19ce59cb1b (aeecb4c77394a42e356cd8263a151a0e65852b9a) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh856757668598288979.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6a41506d72e8e131afc862d141935157bee59f41 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1812626149917442379.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 6a41506d72e8e131afc862d141935157bee59f41 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-120/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-120/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5571806141456163951.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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-120/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6569734416099801214.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6a41506d72e8e131afc862d141935157bee59f41 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a41506d72e8e131afc862d141935157bee59f41 # timeout=10 Commit message: "Merge pull request #340 from ernestojeda/enable-snap-stage" > 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2024135620999372729.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision d1a99147b03c6cd90561f8e70b7af78166bcd4cd 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-120/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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-120/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh270522691566614334.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 d1a99147b03c6cd90561f8e70b7af78166bcd4cd (master) > git config core.sparsecheckout # timeout=10 > git checkout -f d1a99147b03c6cd90561f8e70b7af78166bcd4cd # timeout=10 Commit message: "Feat: Add initial Java pipeline functionality" > 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 6a41506d72e8e131afc862d141935157bee59f41 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . 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 Running on prd-centos7-docker-4c-2g-4 in /w/workspace/gexfoundry_device-rest-go_PR-120 [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-120 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-120@tmp/jenkins-gitclient-ssh7647478081867906805.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 597d67ccc6e047abbec756f631c33e19ce59cb1b into PR head commit 01c2e7385cbb549675eaef41ea1d8b5213c80131 Merge succeeded, producing 01c2e7385cbb549675eaef41ea1d8b5213c80131 Checking out Revision 01c2e7385cbb549675eaef41ea1d8b5213c80131 (PR-120) > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-120@tmp/jenkins-gitclient-ssh6952919530472891962.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-120@tmp/jenkins-gitclient-ssh3594048365735838181.key > git merge 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # timeout=10 Commit message: "feat: Enable using MessageBus as the default" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-06-17T17:24:44.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-06-17T17:24:45.072Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-06-17T17:24:45.238Z] ========================================================= [2021-06-17T17:24:45.238Z] EdgeX Global Pipelines Version Info [2021-06-17T17:24:45.238Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:24:46.786Z] ------------------- [2021-06-17T17:24:46.786Z] stable info: [2021-06-17T17:24:46.786Z] ------------------- [2021-06-17T17:24:46.786Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-06-17T17:24:46.786Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T17:24:46.786Z] Message: update stable to v1.0.195 [2021-06-17T17:24:47.362Z] ------------------- [2021-06-17T17:24:47.362Z] experimental info: [2021-06-17T17:24:47.362Z] ------------------- [2021-06-17T17:24:47.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-06-17T17:24:47.362Z] Commit SHA: 6a41506d72e8e131afc862d141935157bee59f41 [2021-06-17T17:24:47.362Z] Message: update experimental to v1.0.195 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-06-17T17:24:47.753Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-06-17T17:24:47.820Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-06-17T17:24:47.906Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-06-17T17:24:47.983Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-06-17T17:24:48.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-06-17T17:24:48.117Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-06-17T17:24:48.206Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-06-17T17:24:48.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-06-17T17:24:48.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-06-17T17:24:48.432Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-06-17T17:24:48.505Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-06-17T17:24:48.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-06-17T17:24:48.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-06-17T17:24:48.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-06-17T17:24:48.857Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T17:24:48.956Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-06-17T17:24:49.026Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T17:24:49.135Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-06-17T17:24:49.199Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-06-17T17:24:49.313Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-06-17T17:24:49.382Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-06-17T17:24:49.450Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-06-17T17:24:49.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-06-17T17:24:49.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-06-17T17:24:49.627Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-06-17T17:24:49.705Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-06-17T17:24:49.761Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-120 [Pipeline] echo [2021-06-17T17:24:49.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-120 [Pipeline] echo [2021-06-17T17:24:49.888Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-120 [Pipeline] echo [2021-06-17T17:24:49.944Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 01c2e7385cbb549675eaef41ea1d8b5213c80131 [Pipeline] echo [2021-06-17T17:24:50.008Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 01c2e73 [Pipeline] echo [2021-06-17T17:24:50.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T17:24:50.290Z] provisioning config files... [2021-06-17T17:24:50.311Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-120@tmp/config6657954069204389003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:24:50.732Z] ---> docker-login.sh [2021-06-17T17:24:50.732Z] nexus3.edgexfoundry.org:10001 [2021-06-17T17:24:50.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:24:50.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:24:50.997Z] Configure a credential helper to remove this warning. See [2021-06-17T17:24:50.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:24:50.997Z] [2021-06-17T17:24:50.997Z] Login Succeeded [2021-06-17T17:24:50.997Z] nexus3.edgexfoundry.org:10002 [2021-06-17T17:24:50.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:24:50.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:24:50.997Z] Configure a credential helper to remove this warning. See [2021-06-17T17:24:50.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:24:50.997Z] [2021-06-17T17:24:50.997Z] Login Succeeded [2021-06-17T17:24:51.260Z] nexus3.edgexfoundry.org:10003 [2021-06-17T17:24:51.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:24:51.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:24:51.260Z] Configure a credential helper to remove this warning. See [2021-06-17T17:24:51.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:24:51.260Z] [2021-06-17T17:24:51.260Z] Login Succeeded [2021-06-17T17:24:51.260Z] nexus3.edgexfoundry.org:10004 [2021-06-17T17:24:51.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:24:51.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:24:51.523Z] Configure a credential helper to remove this warning. See [2021-06-17T17:24:51.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:24:51.523Z] [2021-06-17T17:24:51.523Z] Login Succeeded [2021-06-17T17:24:51.523Z] docker.io [2021-06-17T17:24:51.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:24:51.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:24:51.786Z] Configure a credential helper to remove this warning. See [2021-06-17T17:24:51.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:24:51.786Z] [2021-06-17T17:24:51.786Z] Login Succeeded [2021-06-17T17:24:51.786Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T17:24:51.809Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T17:24:52.704Z] + git log --format=format:%s -1 01c2e7385cbb549675eaef41ea1d8b5213c80131 [Pipeline] echo [2021-06-17T17:24:52.767Z] GIT_COMMIT: 01c2e7385cbb549675eaef41ea1d8b5213c80131, Commit Message: feat: Enable using MessageBus as the default [Pipeline] echo [2021-06-17T17:24:52.807Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:24:53.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T17:24:53.594Z] [2021-06-17T17:24:53.594Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:24:53.961Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T17:24:53.962Z] latest: Pulling from edgex-devops/git-semver [2021-06-17T17:24:53.962Z] 31603596830f: Pulling fs layer [2021-06-17T17:24:53.962Z] 54011a49482f: Pulling fs layer [2021-06-17T17:24:53.962Z] a6820b24f6d8: Pulling fs layer [2021-06-17T17:24:53.962Z] f581987b2513: Pulling fs layer [2021-06-17T17:24:53.962Z] f581987b2513: Waiting [2021-06-17T17:24:53.962Z] 54011a49482f: Verifying Checksum [2021-06-17T17:24:53.962Z] 54011a49482f: Download complete [2021-06-17T17:24:54.228Z] 31603596830f: Verifying Checksum [2021-06-17T17:24:54.228Z] 31603596830f: Download complete [2021-06-17T17:24:54.228Z] f581987b2513: Verifying Checksum [2021-06-17T17:24:54.228Z] f581987b2513: Download complete [2021-06-17T17:24:54.228Z] a6820b24f6d8: Verifying Checksum [2021-06-17T17:24:54.228Z] a6820b24f6d8: Download complete [2021-06-17T17:24:54.228Z] 31603596830f: Pull complete [2021-06-17T17:24:54.495Z] 54011a49482f: Pull complete [2021-06-17T17:24:55.076Z] a6820b24f6d8: Pull complete [2021-06-17T17:24:55.076Z] f581987b2513: Pull complete [2021-06-17T17:24:55.076Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-06-17T17:24:55.076Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-06-17T17:24:55.076Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-06-17T17:24:55.203Z] prd-centos7-docker-4c-2g-4 does not seem to be running inside a container [2021-06-17T17:24:55.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-120 -v /w/workspace/gexfoundry_device-rest-go_PR-120:/w/workspace/gexfoundry_device-rest-go_PR-120:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-120@tmp:/w/workspace/gexfoundry_device-rest-go_PR-120@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-06-17T17:24:56.125Z] $ docker top 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-06-17T17:24:56.388Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T17:24:56.388Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T17:24:56.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T17:24:56.504Z] $ docker exec 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c ssh-agent [2021-06-17T17:24:56.613Z] SSH_AUTH_SOCK=/tmp/ssh-2xDsoMsvw7Ss/agent.13 [2021-06-17T17:24:56.613Z] SSH_AGENT_PID=20 [2021-06-17T17:24:56.623Z] Running ssh-add (command line suppressed) [2021-06-17T17:24:56.734Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-120@tmp/private_key_903991638331637810.key (/w/workspace/gexfoundry_device-rest-go_PR-120@tmp/private_key_903991638331637810.key) [2021-06-17T17:24:56.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T17:24:57.113Z] + git tag --points-at HEAD [Pipeline] } [2021-06-17T17:24:57.164Z] $ docker exec --env ******** --env ******** 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c ssh-agent -k [2021-06-17T17:24:57.268Z] unset SSH_AUTH_SOCK; [2021-06-17T17:24:57.268Z] unset SSH_AGENT_PID; [2021-06-17T17:24:57.268Z] echo Agent pid 20 killed; [2021-06-17T17:24:57.283Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-06-17T17:24:57.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-06-17T17:24:57.377Z] [ssh-agent] Looking for ssh-agent implementation... [2021-06-17T17:24:57.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-06-17T17:24:57.491Z] $ docker exec 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c ssh-agent [2021-06-17T17:24:57.607Z] SSH_AUTH_SOCK=/tmp/ssh-XnfsK1csx9QA/agent.53 [2021-06-17T17:24:57.607Z] SSH_AGENT_PID=59 [2021-06-17T17:24:57.613Z] Running ssh-add (command line suppressed) [2021-06-17T17:24:57.710Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-120@tmp/private_key_3714551796567844334.key (/w/workspace/gexfoundry_device-rest-go_PR-120@tmp/private_key_3714551796567844334.key) [2021-06-17T17:24:57.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-06-17T17:24:58.093Z] + git semver init [2021-06-17T17:24:58.094Z] # -> Open(): unable to determine branch for HEAD [2021-06-17T17:24:58.094Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-120/.git [2021-06-17T17:24:58.094Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-120 [2021-06-17T17:24:58.094Z] # $SEMVER_REMOTE_NAME = origin [2021-06-17T17:24:58.094Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-06-17T17:24:58.094Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-06-17T17:24:58.094Z] # $SEMVER_BRANCH = PR-120 [2021-06-17T17:24:58.094Z] # $SEMVER_TEMP = /tmp/semver-813593748 [2021-06-17T17:24:58.094Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-06-17T17:24:59.053Z] # '/tmp/semver-813593748' -> '/w/workspace/gexfoundry_device-rest-go_PR-120/.semver' [2021-06-17T17:24:59.053Z] # -> Force: false [2021-06-17T17:24:59.053Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-120/.semver [Pipeline] } [2021-06-17T17:24:59.072Z] $ docker exec --env ******** --env ******** 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c ssh-agent -k [2021-06-17T17:24:59.179Z] unset SSH_AUTH_SOCK; [2021-06-17T17:24:59.180Z] unset SSH_AGENT_PID; [2021-06-17T17:24:59.180Z] echo Agent pid 59 killed; [2021-06-17T17:24:59.191Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-06-17T17:24:59.656Z] + git semver [Pipeline] } [2021-06-17T17:24:59.687Z] $ docker stop --time=1 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c [2021-06-17T17:25:01.000Z] $ docker rm -f 0106156eb76c23e2338a86bf3616d2f3731af3504ae0acfc63a657ec8899139c [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T17:25:01.479Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-06-17T17:25:01.839Z] Stashed 1 file(s) [Pipeline] echo [2021-06-17T17:25:01.864Z] [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] node [Pipeline] node [2021-06-17T17:25:17.583Z] Still waiting to schedule task [2021-06-17T17:25:17.583Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-06-17T17:25:17.611Z] Still waiting to schedule task [2021-06-17T17:25:17.611Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-06-17T17:27:23.151Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5 in /w/workspace/gexfoundry_device-rest-go_PR-120 [Pipeline] { [Pipeline] ws [2021-06-17T17:27:23.216Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T17:27:23.591Z] The recommended git tool is: git [2021-06-17T17:27:28.689Z] using credential edgex-jenkins-ssh [2021-06-17T17:27:28.708Z] Cloning the remote Git repository [2021-06-17T17:27:28.752Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:27:28.952Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-17T17:27:29.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:27:29.123Z] > git --version # timeout=10 [2021-06-17T17:27:29.161Z] > git --version # 'git version 2.17.1' [2021-06-17T17:27:29.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:27:29.265Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T17:27:30.760Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T17:27:30.780Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T17:27:30.815Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T17:27:30.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:27:30.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:27:30.880Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T17:27:31.467Z] Merging remotes/origin/master commit 597d67ccc6e047abbec756f631c33e19ce59cb1b into PR head commit 01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:27:31.686Z] Merge succeeded, producing 01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:27:31.688Z] Checking out Revision 01c2e7385cbb549675eaef41ea1d8b5213c80131 (PR-120) [2021-06-17T17:27:31.482Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T17:27:31.498Z] > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # timeout=10 [2021-06-17T17:27:31.576Z] > git remote # timeout=10 [2021-06-17T17:27:31.593Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T17:27:31.608Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:27:31.620Z] > git merge 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 [2021-06-17T17:27:31.642Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T17:27:31.692Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T17:27:31.710Z] > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # timeout=10 [2021-06-17T17:27:36.174Z] Commit message: "feat: Enable using MessageBus as the default" [2021-06-17T17:27:36.235Z] > git --version # timeout=10 [2021-06-17T17:27:36.245Z] > git --version # 'git version 2.17.1' [2021-06-17T17:27:36.256Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T17:27:38.008Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-06-17T17:27:38.431Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T17:27:38.794Z] + + sudotrue service [2021-06-17T17:27:38.794Z] docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T17:27:57.248Z] provisioning config files... [2021-06-17T17:27:57.280Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3858875024336238691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:27:57.713Z] ---> docker-login.sh [2021-06-17T17:27:57.713Z] nexus3.edgexfoundry.org:10001 [2021-06-17T17:27:58.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:27:58.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:27:58.973Z] Configure a credential helper to remove this warning. See [2021-06-17T17:27:58.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:27:58.973Z] [2021-06-17T17:27:58.973Z] Login Succeeded [2021-06-17T17:27:58.973Z] nexus3.edgexfoundry.org:10002 [2021-06-17T17:27:59.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:27:59.528Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:27:59.528Z] Configure a credential helper to remove this warning. See [2021-06-17T17:27:59.528Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:27:59.528Z] [2021-06-17T17:27:59.528Z] Login Succeeded [2021-06-17T17:27:59.528Z] nexus3.edgexfoundry.org:10003 [2021-06-17T17:27:59.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:28:00.072Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:28:00.073Z] Configure a credential helper to remove this warning. See [2021-06-17T17:28:00.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:28:00.073Z] [2021-06-17T17:28:00.073Z] Login Succeeded [2021-06-17T17:28:00.073Z] nexus3.edgexfoundry.org:10004 [2021-06-17T17:28:00.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:28:00.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:28:00.346Z] Configure a credential helper to remove this warning. See [2021-06-17T17:28:00.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:28:00.346Z] [2021-06-17T17:28:00.346Z] Login Succeeded [2021-06-17T17:28:00.346Z] docker.io [2021-06-17T17:28:00.618Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:28:01.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:28:01.216Z] Configure a credential helper to remove this warning. See [2021-06-17T17:28:01.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:28:01.216Z] [2021-06-17T17:28:01.216Z] Login Succeeded [2021-06-17T17:28:01.216Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T17:28:01.253Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T17:28:01.900Z] ========================================================= [2021-06-17T17:28:01.900Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-06-17T17:28:01.900Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:28:02.334Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-06-17T17:28:02.334Z] Sending build context to Docker daemon 92.16kB [2021-06-17T17:28:02.609Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T17:28:02.609Z] Step 2/10 : FROM ${BASE} [2021-06-17T17:28:02.882Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-06-17T17:28:02.882Z] 595b0fe564bb: Pulling fs layer [2021-06-17T17:28:02.882Z] 3088b5b3c5c0: Pulling fs layer [2021-06-17T17:28:02.882Z] 5b7225fbf94c: Pulling fs layer [2021-06-17T17:28:02.882Z] ba82ee9f976e: Pulling fs layer [2021-06-17T17:28:02.882Z] 506bd15cee9f: Pulling fs layer [2021-06-17T17:28:02.882Z] 75a0a4a0db45: Pulling fs layer [2021-06-17T17:28:02.882Z] 618dc40b7e24: Pulling fs layer [2021-06-17T17:28:02.882Z] 506bd15cee9f: Waiting [2021-06-17T17:28:02.882Z] 75a0a4a0db45: Waiting [2021-06-17T17:28:02.882Z] 618dc40b7e24: Waiting [2021-06-17T17:28:02.882Z] ba82ee9f976e: Waiting [2021-06-17T17:28:02.882Z] 5b7225fbf94c: Verifying Checksum [2021-06-17T17:28:02.882Z] 5b7225fbf94c: Download complete [2021-06-17T17:28:03.157Z] 3088b5b3c5c0: Download complete [2021-06-17T17:28:03.157Z] 506bd15cee9f: Download complete [2021-06-17T17:28:03.157Z] 75a0a4a0db45: Verifying Checksum [2021-06-17T17:28:03.157Z] 75a0a4a0db45: Download complete [2021-06-17T17:28:03.157Z] 595b0fe564bb: Verifying Checksum [2021-06-17T17:28:03.157Z] 595b0fe564bb: Download complete [2021-06-17T17:28:04.149Z] 595b0fe564bb: Pull complete [2021-06-17T17:28:04.426Z] 3088b5b3c5c0: Pull complete [2021-06-17T17:28:05.030Z] 5b7225fbf94c: Pull complete [2021-06-17T17:28:06.014Z] 618dc40b7e24: Verifying Checksum [2021-06-17T17:28:06.014Z] 618dc40b7e24: Download complete [2021-06-17T17:28:06.611Z] ba82ee9f976e: Verifying Checksum [2021-06-17T17:28:06.611Z] ba82ee9f976e: Download complete [2021-06-17T17:28:16.788Z] ba82ee9f976e: Pull complete [2021-06-17T17:28:17.061Z] 506bd15cee9f: Pull complete [2021-06-17T17:28:18.494Z] 75a0a4a0db45: Pull complete [2021-06-17T17:28:21.910Z] 618dc40b7e24: Pull complete [2021-06-17T17:28:21.910Z] Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 [2021-06-17T17:28:21.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-06-17T17:28:21.910Z] ---> a36622ca3599 [2021-06-17T17:28:21.910Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T17:28:22.510Z] ---> Running in 82e31f4ceeac [2021-06-17T17:28:23.109Z] Removing intermediate container 82e31f4ceeac [2021-06-17T17:28:23.109Z] ---> 6d8e8ace130f [2021-06-17T17:28:23.109Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T17:28:23.386Z] ---> Running in e881fdb06397 [2021-06-17T17:28:23.662Z] Removing intermediate container e881fdb06397 [2021-06-17T17:28:23.662Z] ---> 30a970407647 [2021-06-17T17:28:23.662Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T17:28:23.938Z] ---> Running in 784d85d44f33 [2021-06-17T17:28:24.213Z] Removing intermediate container 784d85d44f33 [2021-06-17T17:28:24.213Z] ---> 433e0ff0698f [2021-06-17T17:28:24.213Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T17:28:24.485Z] ---> Running in b520616f4c53 [2021-06-17T17:28:27.117Z] Removing intermediate container b520616f4c53 [2021-06-17T17:28:27.117Z] ---> 7f152f79a638 [2021-06-17T17:28:27.117Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T17:28:27.117Z] ---> Running in e079749b1e62 [2021-06-17T17:28:28.094Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T17:28:29.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T17:28:30.046Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-17T17:28:30.046Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-17T17:28:30.046Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-17T17:28:30.046Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-17T17:28:30.322Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T17:28:30.322Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-17T17:28:30.322Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-17T17:28:30.919Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-17T17:28:30.919Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-17T17:28:30.919Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T17:28:30.919Z] OK: 144 MiB in 49 packages [2021-06-17T17:28:32.369Z] Removing intermediate container e079749b1e62 [2021-06-17T17:28:32.369Z] ---> 009e2247f2c7 [2021-06-17T17:28:32.369Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-17T17:28:32.644Z] ---> Running in 1b399e7999d9 [2021-06-17T17:28:32.963Z] Removing intermediate container 1b399e7999d9 [2021-06-17T17:28:32.963Z] ---> 429c6caf3837 [2021-06-17T17:28:32.963Z] Step 9/10 : COPY . . [2021-06-17T17:28:33.941Z] ---> b61cfc793402 [2021-06-17T17:28:33.941Z] Step 10/10 : RUN go mod download [2021-06-17T17:28:33.941Z] ---> Running in 2b93777c1c9f [2021-06-17T17:29:00.762Z] Removing intermediate container 2b93777c1c9f [2021-06-17T17:29:00.762Z] ---> 72711f560811 [2021-06-17T17:29:00.762Z] Successfully built 72711f560811 [2021-06-17T17:29:00.762Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:29:01.173Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T17:29:01.173Z] . [Pipeline] withDockerContainer [2021-06-17T17:29:01.437Z] prd-ubuntu18.04-docker-arm64-4c-16g-5 does not seem to be running inside a container [2021-06-17T17:29:01.538Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T17:29:03.048Z] $ docker top e555644b2c41369d737edb5c262ea91f083075ab7183d29af441903a8da46c7f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T17:29:04.033Z] + go version [2021-06-17T17:29:04.034Z] go version go1.16.5 linux/arm64 [Pipeline] } [2021-06-17T17:29:04.080Z] $ docker stop --time=1 e555644b2c41369d737edb5c262ea91f083075ab7183d29af441903a8da46c7f [2021-06-17T17:29:05.842Z] $ docker rm -f e555644b2c41369d737edb5c262ea91f083075ab7183d29af441903a8da46c7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:29:06.908Z] + docker inspect -f . ci-base-image-arm64 [2021-06-17T17:29:06.908Z] . [Pipeline] withDockerContainer [2021-06-17T17:29:07.152Z] prd-ubuntu18.04-docker-arm64-4c-16g-5 does not seem to be running inside a container [2021-06-17T17:29:07.240Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-06-17T17:29:08.656Z] $ docker top 6ca3a4208223aa596b88028140192e7e354a82d523ab8acb5825c427861fa946 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T17:29:09.639Z] + go mod tidy [Pipeline] sh [2021-06-17T17:29:10.935Z] + make test [2021-06-17T17:29:10.935Z] go mod tidy [2021-06-17T17:29:11.209Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-17T17:29:12.193Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-17T17:29:12.857Z] Running on prd-centos7-docker-4c-2g-6 in /w/workspace/gexfoundry_device-rest-go_PR-120 [Pipeline] { [Pipeline] ws [2021-06-17T17:29:12.916Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-06-17T17:29:13.083Z] The recommended git tool is: git [2021-06-17T17:29:15.684Z] using credential edgex-jenkins-ssh [2021-06-17T17:29:15.700Z] Cloning the remote Git repository [2021-06-17T17:29:15.450Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:29:15.567Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-06-17T17:29:15.606Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:29:15.606Z] > git --version # timeout=10 [2021-06-17T17:29:15.613Z] > git --version # 'git version 2.24.4' [2021-06-17T17:29:15.614Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:29:15.638Z] [INFO] Currently running in a labeled security context [2021-06-17T17:29:15.638Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T17:29:15.638Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1580608603772782986.key [2021-06-17T17:29:15.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T17:29:17.230Z] Merging remotes/origin/master commit 597d67ccc6e047abbec756f631c33e19ce59cb1b into PR head commit 01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:29:17.320Z] Merge succeeded, producing 01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:29:17.321Z] Checking out Revision 01c2e7385cbb549675eaef41ea1d8b5213c80131 (PR-120) [2021-06-17T17:29:16.548Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T17:29:16.559Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-06-17T17:29:16.571Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-06-17T17:29:16.584Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-06-17T17:29:16.584Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:29:16.586Z] [INFO] Currently running in a labeled security context [2021-06-17T17:29:16.586Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T17:29:16.586Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh577267451684453481.key [2021-06-17T17:29:16.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/120/head:refs/remotes/origin/PR-120 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-06-17T17:29:17.092Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T17:29:17.102Z] > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # timeout=10 [2021-06-17T17:29:17.134Z] > git remote # timeout=10 [2021-06-17T17:29:17.139Z] > git config --get remote.origin.url # timeout=10 [2021-06-17T17:29:17.149Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-06-17T17:29:17.150Z] [INFO] Currently running in a labeled security context [2021-06-17T17:29:17.150Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-06-17T17:29:17.150Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh288813281640214611.key [2021-06-17T17:29:17.157Z] > git merge 597d67ccc6e047abbec756f631c33e19ce59cb1b # timeout=10 [2021-06-17T17:29:17.167Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-06-17T17:29:17.182Z] > git config core.sparsecheckout # timeout=10 [2021-06-17T17:29:17.187Z] > git checkout -f 01c2e7385cbb549675eaef41ea1d8b5213c80131 # timeout=10 [2021-06-17T17:29:20.854Z] Commit message: "feat: Enable using MessageBus as the default" [2021-06-17T17:29:20.885Z] > git --version # timeout=10 [2021-06-17T17:29:20.891Z] > git --version # 'git version 2.24.4' [2021-06-17T17:29:20.963Z] fatal: bad object 6a41506d72e8e131afc862d141935157bee59f41 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-06-17T17:29:22.346Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-06-17T17:29:22.715Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-06-17T17:29:23.049Z] + sudo service docker restart [2021-06-17T17:29:23.049Z] + true [2021-06-17T17:29:23.049Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T17:29:41.330Z] provisioning config files... [2021-06-17T17:29:41.357Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1738450248054791130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:29:41.788Z] ---> docker-login.sh [2021-06-17T17:29:41.788Z] nexus3.edgexfoundry.org:10001 [2021-06-17T17:29:41.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:29:42.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:29:42.054Z] Configure a credential helper to remove this warning. See [2021-06-17T17:29:42.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:29:42.054Z] [2021-06-17T17:29:42.054Z] Login Succeeded [2021-06-17T17:29:42.054Z] nexus3.edgexfoundry.org:10002 [2021-06-17T17:29:42.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:29:42.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:29:42.054Z] Configure a credential helper to remove this warning. See [2021-06-17T17:29:42.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:29:42.054Z] [2021-06-17T17:29:42.054Z] Login Succeeded [2021-06-17T17:29:42.054Z] nexus3.edgexfoundry.org:10003 [2021-06-17T17:29:42.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:29:42.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:29:42.318Z] Configure a credential helper to remove this warning. See [2021-06-17T17:29:42.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:29:42.318Z] [2021-06-17T17:29:42.318Z] Login Succeeded [2021-06-17T17:29:42.318Z] nexus3.edgexfoundry.org:10004 [2021-06-17T17:29:42.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:29:42.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:29:42.318Z] Configure a credential helper to remove this warning. See [2021-06-17T17:29:42.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:29:42.318Z] [2021-06-17T17:29:42.318Z] Login Succeeded [2021-06-17T17:29:42.318Z] docker.io [2021-06-17T17:29:42.579Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-06-17T17:29:42.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-06-17T17:29:42.845Z] Configure a credential helper to remove this warning. See [2021-06-17T17:29:42.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-06-17T17:29:42.845Z] [2021-06-17T17:29:42.845Z] Login Succeeded [2021-06-17T17:29:42.845Z] ---> docker-login.sh ends [Pipeline] } [2021-06-17T17:29:42.875Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-06-17T17:29:43.197Z] ========================================================= [2021-06-17T17:29:43.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-06-17T17:29:43.197Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:29:43.564Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-06-17T17:29:43.564Z] Sending build context to Docker daemon 92.16kB [2021-06-17T17:29:43.564Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T17:29:43.564Z] Step 2/10 : FROM ${BASE} [2021-06-17T17:29:43.564Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-06-17T17:29:43.564Z] 540db60ca938: Pulling fs layer [2021-06-17T17:29:43.564Z] adcc1eea9eea: Pulling fs layer [2021-06-17T17:29:43.564Z] 4c4ab2625f07: Pulling fs layer [2021-06-17T17:29:43.564Z] 0510c868ecb4: Pulling fs layer [2021-06-17T17:29:43.564Z] afea3b2eda06: Pulling fs layer [2021-06-17T17:29:43.564Z] 7809a108b3ef: Pulling fs layer [2021-06-17T17:29:43.564Z] f706445af74f: Pulling fs layer [2021-06-17T17:29:43.564Z] 0510c868ecb4: Waiting [2021-06-17T17:29:43.564Z] afea3b2eda06: Waiting [2021-06-17T17:29:43.564Z] 7809a108b3ef: Waiting [2021-06-17T17:29:43.564Z] f706445af74f: Waiting [2021-06-17T17:29:43.564Z] 4c4ab2625f07: Verifying Checksum [2021-06-17T17:29:43.564Z] 4c4ab2625f07: Download complete [2021-06-17T17:29:43.564Z] adcc1eea9eea: Verifying Checksum [2021-06-17T17:29:43.564Z] adcc1eea9eea: Download complete [2021-06-17T17:29:43.564Z] afea3b2eda06: Verifying Checksum [2021-06-17T17:29:43.564Z] afea3b2eda06: Download complete [2021-06-17T17:29:43.835Z] 540db60ca938: Verifying Checksum [2021-06-17T17:29:43.835Z] 540db60ca938: Download complete [2021-06-17T17:29:43.835Z] 7809a108b3ef: Verifying Checksum [2021-06-17T17:29:43.835Z] 7809a108b3ef: Download complete [2021-06-17T17:29:43.835Z] 540db60ca938: Pull complete [2021-06-17T17:29:44.097Z] adcc1eea9eea: Pull complete [2021-06-17T17:29:44.097Z] 4c4ab2625f07: Pull complete [2021-06-17T17:29:46.020Z] f706445af74f: Verifying Checksum [2021-06-17T17:29:46.020Z] f706445af74f: Download complete [2021-06-17T17:29:46.282Z] 0510c868ecb4: Verifying Checksum [2021-06-17T17:29:46.282Z] 0510c868ecb4: Download complete [2021-06-17T17:29:49.634Z] 0510c868ecb4: Pull complete [2021-06-17T17:29:49.903Z] afea3b2eda06: Pull complete [2021-06-17T17:29:49.903Z] 7809a108b3ef: Pull complete [2021-06-17T17:29:51.309Z] f706445af74f: Pull complete [2021-06-17T17:29:51.309Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-06-17T17:29:51.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-06-17T17:29:51.309Z] ---> b068be0155e3 [2021-06-17T17:29:51.309Z] Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T17:29:55.527Z] ---> Running in 4afc6e8e3095 [2021-06-17T17:29:55.527Z] Removing intermediate container 4afc6e8e3095 [2021-06-17T17:29:55.528Z] ---> 0cfe85c5f59b [2021-06-17T17:29:55.528Z] Step 4/10 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T17:29:55.528Z] ---> Running in 63ea4a1f562f [2021-06-17T17:29:55.528Z] Removing intermediate container 63ea4a1f562f [2021-06-17T17:29:55.528Z] ---> f4bb437d8672 [2021-06-17T17:29:55.528Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T17:29:55.528Z] ---> Running in 270421a05eb8 [2021-06-17T17:29:55.528Z] Removing intermediate container 270421a05eb8 [2021-06-17T17:29:55.528Z] ---> e0f195024f20 [2021-06-17T17:29:55.528Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T17:29:55.528Z] ---> Running in d32fe4bfa7d3 [2021-06-17T17:29:56.108Z] Removing intermediate container d32fe4bfa7d3 [2021-06-17T17:29:56.108Z] ---> de4ec807175f [2021-06-17T17:29:56.108Z] Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T17:29:56.108Z] ---> Running in 82242bb0d5ca [2021-06-17T17:29:56.372Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T17:29:57.325Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T17:29:57.586Z] (1/9) Installing libc-dev (0.7.2-r3) [2021-06-17T17:29:57.847Z] (2/9) Installing libsodium (1.0.18-r0) [2021-06-17T17:29:57.847Z] (3/9) Installing pkgconf (1.7.3-r0) [2021-06-17T17:29:57.847Z] (4/9) Installing libsodium-dev (1.0.18-r0) [2021-06-17T17:29:58.121Z] (5/9) Installing openssh-keygen (8.4_p1-r3) [2021-06-17T17:29:58.121Z] (6/9) Installing libedit (20191231.3.1-r1) [2021-06-17T17:29:58.121Z] (7/9) Installing openssh-client (8.4_p1-r3) [2021-06-17T17:29:58.694Z] (8/9) Installing libzmq (4.3.3-r1) [2021-06-17T17:29:58.694Z] (9/9) Installing zeromq-dev (4.3.3-r1) [2021-06-17T17:29:58.694Z] Executing busybox-1.32.1-r6.trigger [2021-06-17T17:29:58.694Z] OK: 154 MiB in 49 packages [2021-06-17T17:29:59.269Z] Removing intermediate container 82242bb0d5ca [2021-06-17T17:29:59.269Z] ---> 95cf5507716b [2021-06-17T17:29:59.269Z] Step 8/10 : WORKDIR /device-rest-go [2021-06-17T17:29:59.269Z] ---> Running in b7e0b1f37c2e [2021-06-17T17:29:59.269Z] Removing intermediate container b7e0b1f37c2e [2021-06-17T17:29:59.269Z] ---> 8e0490e0c7b9 [2021-06-17T17:29:59.269Z] Step 9/10 : COPY . . [2021-06-17T17:29:59.533Z] ---> 939b3b885aa2 [2021-06-17T17:29:59.534Z] Step 10/10 : RUN go mod download [2021-06-17T17:29:59.534Z] ---> Running in ed8a461998b3 [2021-06-17T17:30:08.815Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-17T17:30:08.816Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 54.0% of statements [2021-06-17T17:30:08.816Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T17:30:11.813Z] Removing intermediate container ed8a461998b3 [2021-06-17T17:30:11.813Z] ---> 4115fd31df9c [2021-06-17T17:30:11.813Z] Successfully built 4115fd31df9c [2021-06-17T17:30:11.813Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:30:12.176Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T17:30:12.177Z] . [Pipeline] withDockerContainer [2021-06-17T17:30:12.302Z] prd-centos7-docker-4c-2g-6 does not seem to be running inside a container [2021-06-17T17:30:12.343Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T17:30:12.721Z] $ docker top 9af9cb69e02c47d12a8fefe4431ac629748d63425baca28bee8d2fcae9e71670 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T17:30:13.168Z] + go version [2021-06-17T17:30:13.169Z] go version go1.16.3 linux/amd64 [Pipeline] } [2021-06-17T17:30:13.201Z] $ docker stop --time=1 9af9cb69e02c47d12a8fefe4431ac629748d63425baca28bee8d2fcae9e71670 [2021-06-17T17:30:14.387Z] $ docker rm -f 9af9cb69e02c47d12a8fefe4431ac629748d63425baca28bee8d2fcae9e71670 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:30:15.271Z] + docker inspect -f . ci-base-image-x86_64 [2021-06-17T17:30:15.271Z] . [Pipeline] withDockerContainer [2021-06-17T17:30:15.373Z] prd-centos7-docker-4c-2g-6 does not seem to be running inside a container [2021-06-17T17:30:15.422Z] $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-06-17T17:30:15.776Z] $ docker top 8a0c4de50d732b367d90170f36e4859752730b2ce2a9bbb7af2d875bf90dca20 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T17:30:16.249Z] + go mod tidy [Pipeline] sh [2021-06-17T17:30:16.852Z] + make test [2021-06-17T17:30:16.852Z] go mod tidy [2021-06-17T17:30:16.852Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-06-17T17:30:17.432Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-06-17T17:30:35.622Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-06-17T17:30:35.622Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 54.0% of statements [2021-06-17T17:30:35.622Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-06-17T17:30:35.645Z] gofmt -l . [2021-06-17T17:30:35.645Z] [ "`gofmt -l .`" = "" ] [2021-06-17T17:30:35.645Z] ./bin/test-go-mod-tidy.sh [2021-06-17T17:30:35.645Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T17:30:35.690Z] $ docker stop --time=1 6ca3a4208223aa596b88028140192e7e354a82d523ab8acb5825c427861fa946 [2021-06-17T17:30:37.624Z] $ docker rm -f 6ca3a4208223aa596b88028140192e7e354a82d523ab8acb5825c427861fa946 [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T17:30:38.582Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T17:30:39.142Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [2021-06-17T17:30:42.334Z] gofmt -l . [2021-06-17T17:30:42.334Z] [ "`gofmt -l .`" = "" ] [2021-06-17T17:30:42.334Z] ./bin/test-go-mod-tidy.sh [2021-06-17T17:30:42.334Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-06-17T17:30:51.587Z] $ docker stop --time=1 8a0c4de50d732b367d90170f36e4859752730b2ce2a9bbb7af2d875bf90dca20 [2021-06-17T17:30:52.956Z] $ docker rm -f 8a0c4de50d732b367d90170f36e4859752730b2ce2a9bbb7af2d875bf90dca20 [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] sh [2021-06-17T17:30:53.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T17:30:53.556Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-06-17T17:30:53.650Z] Warning: overwriting stash ‘coverage-report’ [2021-06-17T17:30:53.843Z] Stashed 1 file(s) [2021-06-17T17:30:53.845Z] + ls -al . [2021-06-17T17:30:53.845Z] total 132 [2021-06-17T17:30:53.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 17:30 . [2021-06-17T17:30:53.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 17:27 .. [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 17:27 .dockerignore [2021-06-17T17:30:53.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 17:27 .git [2021-06-17T17:30:53.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 17:27 .github [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 336 Jun 17 17:27 .gitignore [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 6792 Jun 17 17:27 Attribution.txt [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 1615 Jun 17 17:27 Dockerfile [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 1087 Jun 17 17:27 Dockerfile.build [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 17:27 Jenkinsfile [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 17:27 LICENSE [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 996 Jun 17 17:27 Makefile [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 7667 Jun 17 17:27 README.md [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 17:25 VERSION [2021-06-17T17:30:53.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 17:27 bin [2021-06-17T17:30:53.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 17:27 cmd [2021-06-17T17:30:53.845Z] -rw-r--r-- 1 jenkins jenkins 8513 Jun 17 17:30 coverage.out [2021-06-17T17:30:53.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 17:27 driver [2021-06-17T17:30:53.845Z] -rw-r--r-- 1 jenkins jenkins 286 Jun 17 17:30 go.mod [2021-06-17T17:30:53.845Z] -rw-r--r-- 1 jenkins jenkins 20777 Jun 17 17:29 go.sum [2021-06-17T17:30:53.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 17:27 snap [2021-06-17T17:30:53.845Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 17:27 version.go [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh [Pipeline] sh [2021-06-17T17:30:54.518Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=01c2e7385cbb549675eaef41ea1d8b5213c80131 --label arch=arm64 --label version=0.0.0 . [2021-06-17T17:30:54.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-06-17T17:30:54.796Z] Sending build context to Docker daemon 101.9kB [2021-06-17T17:30:54.964Z] + ls -al . [2021-06-17T17:30:54.964Z] total 104 [2021-06-17T17:30:54.964Z] drwxrwxr-x. 8 jenkins jenkins 4096 Jun 17 17:30 . [2021-06-17T17:30:54.964Z] drwxrwxr-x. 4 jenkins jenkins 28 Jun 17 17:29 .. [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 6792 Jun 17 17:29 Attribution.txt [2021-06-17T17:30:54.964Z] drwxrwxr-x. 2 jenkins jenkins 64 Jun 17 17:29 bin [2021-06-17T17:30:54.964Z] drwxrwxr-x. 3 jenkins jenkins 32 Jun 17 17:29 cmd [2021-06-17T17:30:54.964Z] -rw-r--r--. 1 jenkins jenkins 8513 Jun 17 17:30 coverage.out [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 1615 Jun 17 17:29 Dockerfile [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 1087 Jun 17 17:29 Dockerfile.build [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 151 Jun 17 17:29 .dockerignore [2021-06-17T17:30:54.964Z] drwxrwxr-x. 2 jenkins jenkins 76 Jun 17 17:29 driver [2021-06-17T17:30:54.964Z] drwxrwxr-x. 8 jenkins jenkins 179 Jun 17 17:29 .git [2021-06-17T17:30:54.964Z] drwxrwxr-x. 2 jenkins jenkins 103 Jun 17 17:29 .github [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 336 Jun 17 17:29 .gitignore [2021-06-17T17:30:54.964Z] -rw-r--r--. 1 jenkins jenkins 286 Jun 17 17:30 go.mod [2021-06-17T17:30:54.964Z] -rw-r--r--. 1 jenkins jenkins 20777 Jun 17 17:30 go.sum [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 680 Jun 17 17:29 Jenkinsfile [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jun 17 17:29 LICENSE [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 996 Jun 17 17:29 Makefile [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 7667 Jun 17 17:29 README.md [2021-06-17T17:30:54.964Z] drwxrwxr-x. 4 jenkins jenkins 71 Jun 17 17:29 snap [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 5 Jun 17 17:25 VERSION [2021-06-17T17:30:54.964Z] -rw-rw-r--. 1 jenkins jenkins 713 Jun 17 17:29 version.go [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:30:55.075Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T17:30:55.075Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-17T17:30:55.075Z] ---> 72711f560811 [2021-06-17T17:30:55.075Z] Step 3/25 : ARG MAKE='make build' [2021-06-17T17:30:55.313Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=01c2e7385cbb549675eaef41ea1d8b5213c80131 --label arch=amd64 --label version=0.0.0 . [2021-06-17T17:30:55.313Z] Sending build context to Docker daemon 101.9kB [2021-06-17T17:30:55.313Z] Step 1/25 : ARG BASE=golang:1.16-alpine3.12 [2021-06-17T17:30:55.313Z] Step 2/25 : FROM ${BASE} AS builder [2021-06-17T17:30:55.313Z] ---> 4115fd31df9c [2021-06-17T17:30:55.313Z] Step 3/25 : ARG MAKE='make build' [2021-06-17T17:30:55.313Z] ---> Running in 5c7747891441 [2021-06-17T17:30:55.361Z] ---> Running in db23368a55df [2021-06-17T17:30:55.580Z] Removing intermediate container 5c7747891441 [2021-06-17T17:30:55.580Z] ---> 3b8f8fe7ea20 [2021-06-17T17:30:55.580Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T17:30:55.580Z] ---> Running in 83deebdad5fe [2021-06-17T17:30:55.580Z] Removing intermediate container 83deebdad5fe [2021-06-17T17:30:55.580Z] ---> 8b93fc1c8f84 [2021-06-17T17:30:55.580Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T17:30:55.580Z] ---> Running in cbd1e4e3cc5f [2021-06-17T17:30:55.580Z] Removing intermediate container cbd1e4e3cc5f [2021-06-17T17:30:55.580Z] ---> f79411586817 [2021-06-17T17:30:55.580Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T17:30:55.580Z] ---> Running in 0096b97b67c0 [2021-06-17T17:30:55.633Z] Removing intermediate container db23368a55df [2021-06-17T17:30:55.633Z] ---> 3ee487c4612b [2021-06-17T17:30:55.633Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-06-17T17:30:55.908Z] ---> Running in a4013010cdc8 [2021-06-17T17:30:56.156Z] Removing intermediate container 0096b97b67c0 [2021-06-17T17:30:56.156Z] ---> 0bc4ebfade3d [2021-06-17T17:30:56.156Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T17:30:56.156Z] ---> Running in b878b1991744 [2021-06-17T17:30:56.421Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-06-17T17:30:56.516Z] Removing intermediate container a4013010cdc8 [2021-06-17T17:30:56.516Z] ---> ca272af84012 [2021-06-17T17:30:56.516Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2021-06-17T17:30:56.516Z] ---> Running in 41ae4ef6a41b [2021-06-17T17:30:57.113Z] Removing intermediate container 41ae4ef6a41b [2021-06-17T17:30:57.113Z] ---> a2292ea2b441 [2021-06-17T17:30:57.113Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-06-17T17:30:57.113Z] ---> Running in f0e373c082d3 [2021-06-17T17:30:57.369Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-06-17T17:30:58.317Z] OK: 154 MiB in 49 packages [2021-06-17T17:30:58.317Z] Removing intermediate container b878b1991744 [2021-06-17T17:30:58.317Z] ---> dca2ee875649 [2021-06-17T17:30:58.317Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-17T17:30:58.317Z] ---> Running in 8c5237b57343 [2021-06-17T17:30:58.579Z] Removing intermediate container 8c5237b57343 [2021-06-17T17:30:58.579Z] ---> 4a481fa2bd97 [2021-06-17T17:30:58.579Z] Step 9/25 : COPY . . [2021-06-17T17:30:58.579Z] ---> f0188672de90 [2021-06-17T17:30:58.579Z] Step 10/25 : RUN go mod tidy [2021-06-17T17:30:58.850Z] ---> Running in 55e198c61318 [2021-06-17T17:30:59.088Z] Removing intermediate container f0e373c082d3 [2021-06-17T17:30:59.088Z] ---> e105cf5d5641 [2021-06-17T17:30:59.088Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-06-17T17:30:59.359Z] ---> Running in 988debfda80b [2021-06-17T17:30:59.427Z] Removing intermediate container 55e198c61318 [2021-06-17T17:30:59.427Z] ---> 90e63d4d05f3 [2021-06-17T17:30:59.427Z] Step 11/25 : RUN make update [2021-06-17T17:30:59.427Z] ---> Running in e577534b9485 [2021-06-17T17:30:59.692Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T17:30:59.955Z] Removing intermediate container e577534b9485 [2021-06-17T17:30:59.955Z] ---> a9cb6b1be6cf [2021-06-17T17:30:59.955Z] Step 12/25 : RUN $MAKE [2021-06-17T17:30:59.955Z] ---> Running in 083cb0d56b77 [2021-06-17T17:31:00.227Z] go mod tidy [2021-06-17T17:31:00.344Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-06-17T17:31:00.504Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-17T17:31:01.314Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-06-17T17:31:02.291Z] OK: 144 MiB in 49 packages [2021-06-17T17:31:03.273Z] Removing intermediate container 988debfda80b [2021-06-17T17:31:03.273Z] ---> 56cd62fda472 [2021-06-17T17:31:03.273Z] Step 8/25 : WORKDIR /device-rest-go [2021-06-17T17:31:03.273Z] ---> Running in b7cad4b2569d [2021-06-17T17:31:03.874Z] Removing intermediate container b7cad4b2569d [2021-06-17T17:31:03.874Z] ---> 810b8c71676c [2021-06-17T17:31:03.875Z] Step 9/25 : COPY . . [2021-06-17T17:31:04.868Z] ---> e85d17fc5ed4 [2021-06-17T17:31:04.868Z] Step 10/25 : RUN go mod tidy [2021-06-17T17:31:04.868Z] ---> Running in 27597450c6b7 [2021-06-17T17:31:08.254Z] Removing intermediate container 27597450c6b7 [2021-06-17T17:31:08.254Z] ---> 5b93eefb17eb [2021-06-17T17:31:08.254Z] Step 11/25 : RUN make update [2021-06-17T17:31:08.254Z] ---> Running in 52349620220c [2021-06-17T17:31:09.234Z] CGO_ENABLED=0 GO111MODULE=on go mod download [2021-06-17T17:31:10.211Z] Removing intermediate container 52349620220c [2021-06-17T17:31:10.211Z] ---> 1256d0efa681 [2021-06-17T17:31:10.211Z] Step 12/25 : RUN $MAKE [2021-06-17T17:31:10.211Z] ---> Running in 4daf1328401b [2021-06-17T17:31:11.645Z] go mod tidy [2021-06-17T17:31:11.920Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-06-17T17:31:12.885Z] Removing intermediate container 083cb0d56b77 [2021-06-17T17:31:12.885Z] ---> 7501e18945ff [2021-06-17T17:31:12.885Z] Step 13/25 : FROM alpine:3.12 [2021-06-17T17:31:12.885Z] 3.12: Pulling from library/alpine [2021-06-17T17:31:12.885Z] 339de151aab4: Pulling fs layer [2021-06-17T17:31:13.147Z] 339de151aab4: Verifying Checksum [2021-06-17T17:31:13.147Z] 339de151aab4: Download complete [2021-06-17T17:31:13.147Z] 339de151aab4: Pull complete [2021-06-17T17:31:13.147Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T17:31:13.147Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T17:31:13.147Z] ---> 13621d1b12d4 [2021-06-17T17:31:13.147Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T17:31:13.147Z] ---> Running in 01b21e2dcef8 [2021-06-17T17:31:13.411Z] Removing intermediate container 01b21e2dcef8 [2021-06-17T17:31:13.411Z] ---> fe154434ac91 [2021-06-17T17:31:13.411Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-17T17:31:13.411Z] ---> Running in 914d5d3e9f3a [2021-06-17T17:31:13.411Z] Removing intermediate container 914d5d3e9f3a [2021-06-17T17:31:13.411Z] ---> d5a691267a3e [2021-06-17T17:31:13.411Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T17:31:13.411Z] ---> Running in aa9bf1db5096 [2021-06-17T17:31:13.674Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2021-06-17T17:31:13.674Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2021-06-17T17:31:13.937Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T17:31:13.937Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T17:31:13.937Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T17:31:13.937Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T17:31:13.937Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T17:31:13.937Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T17:31:13.937Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T17:31:13.937Z] OK: 8 MiB in 20 packages [2021-06-17T17:31:14.201Z] Removing intermediate container aa9bf1db5096 [2021-06-17T17:31:14.201Z] ---> e08290b06dd5 [2021-06-17T17:31:14.201Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-17T17:31:14.464Z] ---> 40a997f5cfde [2021-06-17T17:31:14.464Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-17T17:31:14.727Z] ---> 683f74314061 [2021-06-17T17:31:14.727Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-17T17:31:14.727Z] ---> cc7aa0ec581e [2021-06-17T17:31:14.727Z] Step 20/25 : EXPOSE 59986 [2021-06-17T17:31:14.991Z] ---> Running in 30399730c041 [2021-06-17T17:31:14.991Z] Removing intermediate container 30399730c041 [2021-06-17T17:31:14.991Z] ---> 850577849191 [2021-06-17T17:31:14.991Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-17T17:31:14.991Z] ---> Running in f01240474031 [2021-06-17T17:31:14.991Z] Removing intermediate container f01240474031 [2021-06-17T17:31:14.991Z] ---> d74089c085a8 [2021-06-17T17:31:14.991Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T17:31:14.991Z] ---> Running in a36d56c3374c [2021-06-17T17:31:15.254Z] Removing intermediate container a36d56c3374c [2021-06-17T17:31:15.254Z] ---> b2f117c746ec [2021-06-17T17:31:15.254Z] Step 23/25 : LABEL arch=amd64 [2021-06-17T17:31:15.254Z] ---> Running in 618b4051c166 [2021-06-17T17:31:15.254Z] Removing intermediate container 618b4051c166 [2021-06-17T17:31:15.254Z] ---> f0ffbd65dd92 [2021-06-17T17:31:15.254Z] Step 24/25 : LABEL git_sha=01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:31:15.254Z] ---> Running in 91fdd41faee0 [2021-06-17T17:31:15.519Z] Removing intermediate container 91fdd41faee0 [2021-06-17T17:31:15.519Z] ---> 7322f8e2e8a1 [2021-06-17T17:31:15.519Z] Step 25/25 : LABEL version=0.0.0 [2021-06-17T17:31:15.519Z] ---> Running in db46a0e8313d [2021-06-17T17:31:15.519Z] Removing intermediate container db46a0e8313d [2021-06-17T17:31:15.519Z] ---> 0a284a27c629 [2021-06-17T17:31:15.519Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T17:31:15.519Z] Successfully built 0a284a27c629 [2021-06-17T17:31:15.519Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:31:16.885Z] ---> job-cost.sh [2021-06-17T17:31:16.885Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-UxzS [2021-06-17T17:31:26.925Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T17:31:39.219Z] lf-activate-venv(): INFO: Adding /tmp/venv-UxzS/bin to PATH [2021-06-17T17:31:39.219Z] INFO: No Stack... [2021-06-17T17:31:40.164Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T17:31:40.739Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T17:31:41.073Z] + cut -d, -f6 [2021-06-17T17:31:41.073Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2021-06-17T17:31:41.150Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [2021-06-17T17:31:41.158Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] did not exist. Created. [2021-06-17T17:31:41.158Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T17:31:41.601Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-06-17T17:31:41.709Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T17:31:41.733Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-06-17T17:31:50.962Z] Removing intermediate container 4daf1328401b [2021-06-17T17:31:50.962Z] ---> b8fb8cc3a698 [2021-06-17T17:31:50.962Z] Step 13/25 : FROM alpine:3.12 [2021-06-17T17:31:50.962Z] 3.12: Pulling from library/alpine [2021-06-17T17:31:50.962Z] d2f70382dc9a: Pulling fs layer [2021-06-17T17:31:50.962Z] d2f70382dc9a: Verifying Checksum [2021-06-17T17:31:50.962Z] d2f70382dc9a: Download complete [2021-06-17T17:31:50.962Z] d2f70382dc9a: Pull complete [2021-06-17T17:31:50.962Z] Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e [2021-06-17T17:31:50.962Z] Status: Downloaded newer image for alpine:3.12 [2021-06-17T17:31:50.962Z] ---> c4fd0aeabfcf [2021-06-17T17:31:50.962Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-06-17T17:31:50.962Z] ---> Running in b2e9a8a541ea [2021-06-17T17:31:50.962Z] Removing intermediate container b2e9a8a541ea [2021-06-17T17:31:50.962Z] ---> 86aaccd43483 [2021-06-17T17:31:50.962Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2021-06-17T17:31:50.962Z] ---> Running in 0ee3e2967b14 [2021-06-17T17:31:50.962Z] Removing intermediate container 0ee3e2967b14 [2021-06-17T17:31:50.962Z] ---> fcd6aba89e72 [2021-06-17T17:31:50.962Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2021-06-17T17:31:50.962Z] ---> Running in ed58128aa737 [2021-06-17T17:31:50.962Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2021-06-17T17:31:50.962Z] fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2021-06-17T17:31:50.962Z] (1/6) Installing dumb-init (1.2.2-r1) [2021-06-17T17:31:50.962Z] (2/6) Installing libgcc (9.3.0-r2) [2021-06-17T17:31:50.962Z] (3/6) Installing libsodium (1.0.18-r0) [2021-06-17T17:31:50.962Z] (4/6) Installing libstdc++ (9.3.0-r2) [2021-06-17T17:31:51.243Z] (5/6) Installing libzmq (4.3.3-r0) [2021-06-17T17:31:51.243Z] (6/6) Installing zeromq (4.3.3-r0) [2021-06-17T17:31:51.243Z] Executing busybox-1.31.1-r20.trigger [2021-06-17T17:31:51.243Z] OK: 8 MiB in 20 packages [2021-06-17T17:31:52.227Z] Removing intermediate container ed58128aa737 [2021-06-17T17:31:52.227Z] ---> 96581fd40f87 [2021-06-17T17:31:52.227Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2021-06-17T17:31:53.751Z] ---> 25f771dda7a8 [2021-06-17T17:31:53.751Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2021-06-17T17:31:54.345Z] ---> 7998410826a2 [2021-06-17T17:31:54.345Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-06-17T17:31:54.945Z] ---> 107d618a4d4a [2021-06-17T17:31:54.945Z] Step 20/25 : EXPOSE 59986 [2021-06-17T17:31:55.221Z] ---> Running in 873f4b04e944 [2021-06-17T17:31:55.496Z] Removing intermediate container 873f4b04e944 [2021-06-17T17:31:55.496Z] ---> 5a8651c94bb5 [2021-06-17T17:31:55.496Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2021-06-17T17:31:55.767Z] ---> Running in 71c346aceadb [2021-06-17T17:31:56.360Z] Removing intermediate container 71c346aceadb [2021-06-17T17:31:56.360Z] ---> 2be700b8f76b [2021-06-17T17:31:56.360Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-06-17T17:31:56.360Z] ---> Running in 215ceb5fb944 [2021-06-17T17:31:56.952Z] Removing intermediate container 215ceb5fb944 [2021-06-17T17:31:56.952Z] ---> c7d51e9662e3 [2021-06-17T17:31:56.952Z] Step 23/25 : LABEL arch=arm64 [2021-06-17T17:31:56.952Z] ---> Running in d04895b4ab5b [2021-06-17T17:31:57.547Z] Removing intermediate container d04895b4ab5b [2021-06-17T17:31:57.547Z] ---> 40d41cfe910c [2021-06-17T17:31:57.547Z] Step 24/25 : LABEL git_sha=01c2e7385cbb549675eaef41ea1d8b5213c80131 [2021-06-17T17:31:57.547Z] ---> Running in 5dc5ecf88947 [2021-06-17T17:31:58.144Z] Removing intermediate container 5dc5ecf88947 [2021-06-17T17:31:58.144Z] ---> 0c28a89b6f6e [2021-06-17T17:31:58.144Z] Step 25/25 : LABEL version=0.0.0 [2021-06-17T17:31:58.144Z] ---> Running in 45cab7afca4a [2021-06-17T17:31:58.738Z] Removing intermediate container 45cab7afca4a [2021-06-17T17:31:58.738Z] ---> bbce0ff6af41 [2021-06-17T17:31:58.738Z] [Warning] One or more build-args [ARCH] were not consumed [2021-06-17T17:31:58.738Z] Successfully built bbce0ff6af41 [2021-06-17T17:31:58.738Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:31:59.714Z] ---> job-cost.sh [2021-06-17T17:31:59.714Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-1JQ2 [2021-06-17T17:32:38.679Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-06-17T17:34:00.432Z] lf-activate-venv(): INFO: Adding /tmp/venv-1JQ2/bin to PATH [2021-06-17T17:34:00.432Z] INFO: No Stack... [2021-06-17T17:34:00.432Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-06-17T17:34:00.704Z] INFO: Archiving Costs [Pipeline] sh [2021-06-17T17:34:01.123Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-06-17T17:34:01.123Z] + cut -d, -f6 [Pipeline] lock [2021-06-17T17:34:01.231Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [2021-06-17T17:34:01.242Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] did not exist. Created. [2021-06-17T17:34:01.242Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-06-17T17:34:01.738Z] /w/workspace/device-rest-go/1@tmp/durable-6a0c3175/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-6a0c3175/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-06-17T17:34:02.133Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-06-17T17:34:02.174Z] Warning: overwriting stash ‘stack-cost’ [2021-06-17T17:34:02.324Z] Stashed 1 file(s) [Pipeline] } [2021-06-17T17:34:02.348Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-120-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-06-17T17:34:04.688Z] provisioning config files... [2021-06-17T17:34:04.702Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-120@tmp/config30639060452882823tmp [Pipeline] { [Pipeline] sh [2021-06-17T17:34:05.091Z] + set +x [2021-06-17T17:34:05.091Z] + curl -s https://codecov.io/bash [2021-06-17T17:34:05.091Z] + bash -s -- [2021-06-17T17:34:05.091Z] [2021-06-17T17:34:05.091Z] _____ _ [2021-06-17T17:34:05.091Z] / ____| | | [2021-06-17T17:34:05.091Z] | | ___ __| | ___ ___ _____ __ [2021-06-17T17:34:05.091Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-06-17T17:34:05.091Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-06-17T17:34:05.091Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-06-17T17:34:05.091Z] Bash-1.0.3 [2021-06-17T17:34:05.091Z] [2021-06-17T17:34:05.091Z] [2021-06-17T17:34:05.091Z] ==> git version 2.24.4 found [2021-06-17T17:34:05.091Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-06-17T17:34:05.091Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-06-17T17:34:05.091Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-06-17T17:34:05.091Z] ==> Jenkins CI detected. [2021-06-17T17:34:05.091Z] project root: . [2021-06-17T17:34:05.091Z] --> token set from env [2021-06-17T17:34:05.356Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-06-17T17:34:05.356Z] ==> Running gcov in . (disable via -X gcov) [2021-06-17T17:34:05.356Z] ==> Python coveragepy not found [2021-06-17T17:34:05.356Z] ==> Searching for coverage reports in: [2021-06-17T17:34:05.356Z] + . [2021-06-17T17:34:05.356Z] -> Found 1 reports [2021-06-17T17:34:05.356Z] ==> Detecting git/mercurial file structure [2021-06-17T17:34:05.356Z] ==> Reading reports [2021-06-17T17:34:05.356Z] + ./coverage.out bytes=8513 [2021-06-17T17:34:05.356Z] ==> Appending adjustments [2021-06-17T17:34:05.356Z] https://docs.codecov.io/docs/fixing-reports [2021-06-17T17:34:05.356Z] + Found adjustments [2021-06-17T17:34:05.356Z] ==> Gzipping contents [2021-06-17T17:34:05.356Z] 4.0K /tmp/codecov.pg31bA.gz [2021-06-17T17:34:05.356Z] ==> Uploading reports [2021-06-17T17:34:05.356Z] url: https://codecov.io [2021-06-17T17:34:05.356Z] query: branch=PR-120&commit=01c2e7385cbb549675eaef41ea1d8b5213c80131&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-120%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=120&job=&cmd_args= [2021-06-17T17:34:05.356Z] -> Pinging Codecov [2021-06-17T17:34:05.356Z] https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=PR-120&commit=01c2e7385cbb549675eaef41ea1d8b5213c80131&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-120%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=120&job=&cmd_args= [2021-06-17T17:34:05.928Z] -> Uploading to [2021-06-17T17:34:05.928Z] https://storage.googleapis.com/codecov/v4/raw/2021-06-17/4E5D53B4F1F92C436F7061BF334D961C/01c2e7385cbb549675eaef41ea1d8b5213c80131/df0c8292-dd30-4bcc-b480-50421c7ae768.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210617T173405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=25fd90490feb5f22412f974dea4a95ca24d04dd369e93b31fbb7e8edf8d64c70 [2021-06-17T17:34:05.928Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-06-17T17:34:05.928Z] Dload Upload Total Spent Left Speed [2021-06-17T17:34:06.190Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1608 0 0 100 1608 0 4599 --:--:-- --:--:-- --:--:-- 4607 [2021-06-17T17:34:06.190Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/01c2e7385cbb549675eaef41ea1d8b5213c80131 [Pipeline] } [2021-06-17T17:34:06.216Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:09.046Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:09.673Z] ---> package-listing.sh [2021-06-17T17:34:09.673Z] ++ facter osfamily [2021-06-17T17:34:09.673Z] ++ tr '[:upper:]' '[:lower:]' [2021-06-17T17:34:09.943Z] + OS_FAMILY=redhat [2021-06-17T17:34:09.943Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-120 [2021-06-17T17:34:09.943Z] + START_PACKAGES=/tmp/packages_start.txt [2021-06-17T17:34:09.943Z] + END_PACKAGES=/tmp/packages_end.txt [2021-06-17T17:34:09.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-06-17T17:34:09.943Z] + PACKAGES=/tmp/packages_start.txt [2021-06-17T17:34:09.943Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-120 ']' [2021-06-17T17:34:09.943Z] + PACKAGES=/tmp/packages_end.txt [2021-06-17T17:34:09.943Z] + case "${OS_FAMILY}" in [2021-06-17T17:34:09.943Z] + rpm -qa [2021-06-17T17:34:09.943Z] + sort [2021-06-17T17:34:10.908Z] + '[' -f /tmp/packages_start.txt ']' [2021-06-17T17:34:10.908Z] + '[' -f /tmp/packages_end.txt ']' [2021-06-17T17:34:10.908Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-06-17T17:34:10.908Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-120 ']' [2021-06-17T17:34:10.908Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-120/archives/ [2021-06-17T17:34:10.908Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-120/archives/ [Pipeline] echo [2021-06-17T17:34:10.941Z] 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-120/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-06-17T17:34:11.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:34:11.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T17:34:11.862Z] [2021-06-17T17:34:11.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-06-17T17:34:12.233Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T17:34:12.234Z] alpine: Pulling from edgex-lftools-log-publisher [2021-06-17T17:34:12.234Z] df20fa9351a1: Pulling fs layer [2021-06-17T17:34:12.234Z] 36b3adc4ff6f: Pulling fs layer [2021-06-17T17:34:12.234Z] 8ad3a11d3b57: Pulling fs layer [2021-06-17T17:34:12.234Z] 46f8f816bc3b: Pulling fs layer [2021-06-17T17:34:12.234Z] 93b61091891f: Pulling fs layer [2021-06-17T17:34:12.234Z] 93b9cdb0e59b: Pulling fs layer [2021-06-17T17:34:12.234Z] 5e14af77c1be: Pulling fs layer [2021-06-17T17:34:12.234Z] 01666e4c0597: Pulling fs layer [2021-06-17T17:34:12.234Z] aa168da1d23b: Pulling fs layer [2021-06-17T17:34:12.234Z] 46f8f816bc3b: Waiting [2021-06-17T17:34:12.234Z] 93b61091891f: Waiting [2021-06-17T17:34:12.234Z] 93b9cdb0e59b: Waiting [2021-06-17T17:34:12.234Z] 5e14af77c1be: Waiting [2021-06-17T17:34:12.234Z] 01666e4c0597: Waiting [2021-06-17T17:34:12.234Z] aa168da1d23b: Waiting [2021-06-17T17:34:12.234Z] 36b3adc4ff6f: Verifying Checksum [2021-06-17T17:34:12.234Z] 36b3adc4ff6f: Download complete [2021-06-17T17:34:12.501Z] df20fa9351a1: Verifying Checksum [2021-06-17T17:34:12.501Z] df20fa9351a1: Download complete [2021-06-17T17:34:12.501Z] 93b61091891f: Verifying Checksum [2021-06-17T17:34:12.501Z] 93b61091891f: Download complete [2021-06-17T17:34:12.501Z] 93b9cdb0e59b: Verifying Checksum [2021-06-17T17:34:12.501Z] 93b9cdb0e59b: Download complete [2021-06-17T17:34:12.501Z] 5e14af77c1be: Verifying Checksum [2021-06-17T17:34:12.501Z] 5e14af77c1be: Download complete [2021-06-17T17:34:12.501Z] 01666e4c0597: Verifying Checksum [2021-06-17T17:34:12.501Z] 01666e4c0597: Download complete [2021-06-17T17:34:12.501Z] 8ad3a11d3b57: Verifying Checksum [2021-06-17T17:34:12.501Z] 8ad3a11d3b57: Download complete [2021-06-17T17:34:12.501Z] df20fa9351a1: Pull complete [2021-06-17T17:34:12.766Z] 36b3adc4ff6f: Pull complete [2021-06-17T17:34:13.349Z] 46f8f816bc3b: Verifying Checksum [2021-06-17T17:34:13.349Z] 46f8f816bc3b: Download complete [2021-06-17T17:34:13.615Z] 8ad3a11d3b57: Pull complete [2021-06-17T17:34:13.615Z] 46f8f816bc3b: Pull complete [2021-06-17T17:34:13.877Z] 93b61091891f: Pull complete [2021-06-17T17:34:14.139Z] 93b9cdb0e59b: Pull complete [2021-06-17T17:34:14.139Z] 5e14af77c1be: Pull complete [2021-06-17T17:34:14.139Z] 01666e4c0597: Pull complete [2021-06-17T17:34:14.713Z] aa168da1d23b: Verifying Checksum [2021-06-17T17:34:14.713Z] aa168da1d23b: Download complete [2021-06-17T17:34:18.963Z] aa168da1d23b: Pull complete [2021-06-17T17:34:18.963Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-06-17T17:34:18.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-06-17T17:34:18.963Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-06-17T17:34:19.086Z] prd-centos7-docker-4c-2g-4 does not seem to be running inside a container [2021-06-17T17:34:19.123Z] $ 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-120/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-120 -v /w/workspace/gexfoundry_device-rest-go_PR-120:/w/workspace/gexfoundry_device-rest-go_PR-120:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-120@tmp:/w/workspace/gexfoundry_device-rest-go_PR-120@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:alpine cat [2021-06-17T17:34:20.918Z] $ docker top 76b610c8a3670704323940113bb645f2c53d48d45013a6dd48982c37f87bad55 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-06-17T17:34:21.347Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-06-17T17:34:21.671Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-06-17T17:34:21.992Z] + ls /var/log/sa-host [2021-06-17T17:34:21.992Z] + sadf -c /var/log/sa-host/sa05 [2021-06-17T17:34:21.992Z] file_magic: OK [2021-06-17T17:34:21.992Z] HZ: Using current value: 100 [2021-06-17T17:34:21.992Z] file_header: OK [2021-06-17T17:34:21.992Z] 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 [2021-06-17T17:34:21.992Z] Statistics: [2021-06-17T17:34:21.992Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T17:34:21.992Z] File successfully converted to sysstat format version 12.2.1 [2021-06-17T17:34:21.992Z] + sadf -c /var/log/sa-host/sa17 [2021-06-17T17:34:21.992Z] file_magic: OK [2021-06-17T17:34:21.992Z] HZ: Using current value: 100 [2021-06-17T17:34:21.992Z] file_header: OK [2021-06-17T17:34:21.992Z] 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 [2021-06-17T17:34:21.992Z] Statistics: [2021-06-17T17:34:21.992Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-06-17T17:34:21.992Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-06-17T17:34:22.859Z] provisioning config files... [2021-06-17T17:34:22.878Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-120@tmp/config4205902464115862554tmp [Pipeline] { [Pipeline] echo [2021-06-17T17:34:22.930Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:23.280Z] ---> create-netrc.sh [Pipeline] } [2021-06-17T17:34:23.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:23.809Z] ---> python-tools-install.sh [Pipeline] echo [2021-06-17T17:34:23.842Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:24.187Z] ---> sudo-logs.sh [2021-06-17T17:34:24.187Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-06-17T17:34:24.262Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:24.597Z] ---> job-cost.sh [2021-06-17T17:34:24.597Z] lf-activate-venv: SKIPPING [2021-06-17T17:34:24.597Z] DEBUG: total: 0.18000000715255737 [2021-06-17T17:34:24.597Z] INFO: Retrieving Stack Cost... [2021-06-17T17:34:25.539Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-06-17T17:34:25.801Z] INFO: Archiving Costs [Pipeline] echo [2021-06-17T17:34:25.851Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-06-17T17:34:26.199Z] ---> logs-deploy.sh [2021-06-17T17:34:26.199Z] lf-activate-venv: SKIPPING [2021-06-17T17:34:26.199Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-120/1 [2021-06-17T17:34:26.199Z] INFO: archiving workspace using pattern(s): [2021-06-17T17:34:27.147Z] Archives upload complete. [2021-06-17T17:34:27.147Z] INFO: archiving logs to Nexus