Pull request #140 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 6f382c4a568e263803f0323c19e86e56369f5d8b+ab80832e8fa331645ec332aa024eb9f07585cb40 (8573a6a4a58b346f91a5d1bfe8a4a985e9916a5e) 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 > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6184276376997941034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh161725977216646796.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-140/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2043340914608752165.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh125790301089912381.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9149041752253407401.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4889586654924903416.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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 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_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13341 in /w/workspace/gexfoundry_device-rest-go_PR-140 [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-140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4524147288942471543.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh4033979227027658449.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) > git config core.sparsecheckout # timeout=10 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/jenkins-gitclient-ssh1059804715111942435.key > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T23:20:34.499Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T23:20:34.626Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T23:20:34.695Z] ========================================================= [2021-10-28T23:20:34.695Z] EdgeX Global Pipelines Version Info [2021-10-28T23:20:34.695Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:20:35.850Z] ------------------- [2021-10-28T23:20:35.850Z] stable info: [2021-10-28T23:20:35.850Z] ------------------- [2021-10-28T23:20:35.850Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T23:20:35.850Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:20:35.850Z] Message: update stable to v1.0.210 [2021-10-28T23:20:36.420Z] ------------------- [2021-10-28T23:20:36.420Z] experimental info: [2021-10-28T23:20:36.420Z] ------------------- [2021-10-28T23:20:36.420Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T23:20:36.420Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T23:20:36.420Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T23:20:36.572Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-10-28T23:20:36.613Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-10-28T23:20:36.645Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T23:20:36.678Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T23:20:36.713Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T23:20:36.747Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T23:20:36.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T23:20:36.827Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T23:20:36.869Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T23:20:36.907Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T23:20:36.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T23:20:36.977Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-10-28T23:20:37.011Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T23:20:37.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T23:20:37.080Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:20:37.118Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:20:37.153Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:20:37.189Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:20:37.227Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T23:20:37.263Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T23:20:37.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-28T23:20:37.344Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-28T23:20:37.380Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T23:20:37.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T23:20:37.451Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T23:20:37.489Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T23:20:37.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-140 [Pipeline] echo [2021-10-28T23:20:37.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-140 [Pipeline] echo [2021-10-28T23:20:37.595Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-140 [Pipeline] echo [2021-10-28T23:20:37.628Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f382c4a568e263803f0323c19e86e56369f5d8b [Pipeline] echo [2021-10-28T23:20:37.662Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f382c4 [Pipeline] echo [2021-10-28T23:20:37.709Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:20:37.812Z] provisioning config files... [2021-10-28T23:20:37.827Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config2792923265873490692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:20:38.178Z] ---> docker-login.sh [2021-10-28T23:20:38.178Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:20:38.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:20:38.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:20:38.178Z] Configure a credential helper to remove this warning. See [2021-10-28T23:20:38.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:20:38.178Z] [2021-10-28T23:20:38.178Z] Login Succeeded [2021-10-28T23:20:38.178Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:20:38.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:20:38.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:20:38.441Z] Configure a credential helper to remove this warning. See [2021-10-28T23:20:38.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:20:38.441Z] [2021-10-28T23:20:38.441Z] Login Succeeded [2021-10-28T23:20:38.441Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:20:38.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:20:38.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:20:38.441Z] Configure a credential helper to remove this warning. See [2021-10-28T23:20:38.442Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:20:38.442Z] [2021-10-28T23:20:38.442Z] Login Succeeded [2021-10-28T23:20:38.442Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:20:38.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:20:38.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:20:38.707Z] Configure a credential helper to remove this warning. See [2021-10-28T23:20:38.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:20:38.707Z] [2021-10-28T23:20:38.707Z] Login Succeeded [2021-10-28T23:20:38.707Z] docker.io [2021-10-28T23:20:38.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:20:38.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:20:38.971Z] Configure a credential helper to remove this warning. See [2021-10-28T23:20:38.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:20:38.971Z] [2021-10-28T23:20:38.971Z] Login Succeeded [2021-10-28T23:20:38.971Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:20:39.037Z] 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-10-28T23:20:39.646Z] + git log --format=format:%s -1 6f382c4a568e263803f0323c19e86e56369f5d8b [Pipeline] echo [2021-10-28T23:20:39.698Z] GIT_COMMIT: 6f382c4a568e263803f0323c19e86e56369f5d8b, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-28T23:20:39.726Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:20:40.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:20:40.179Z] [2021-10-28T23:20:40.179Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:20:40.514Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:20:40.514Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T23:20:40.514Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:20:40.514Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T23:20:40.514Z] 4c7163046ea9: Pulling fs layer [2021-10-28T23:20:40.514Z] 0c2d73faf560: Pulling fs layer [2021-10-28T23:20:40.514Z] 0c2d73faf560: Waiting [2021-10-28T23:20:40.514Z] 3e5f54012d9b: Download complete [2021-10-28T23:20:40.514Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:20:40.514Z] a0d0a0d46f8b: Download complete [2021-10-28T23:20:40.514Z] 0c2d73faf560: Verifying Checksum [2021-10-28T23:20:40.514Z] 0c2d73faf560: Download complete [2021-10-28T23:20:40.775Z] 4c7163046ea9: Verifying Checksum [2021-10-28T23:20:40.775Z] 4c7163046ea9: Download complete [2021-10-28T23:20:40.775Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:20:40.775Z] 3e5f54012d9b: Pull complete [2021-10-28T23:20:41.040Z] 4c7163046ea9: Pull complete [2021-10-28T23:20:41.301Z] 0c2d73faf560: Pull complete [2021-10-28T23:20:41.301Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T23:20:41.301Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:20:41.301Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T23:20:41.384Z] prd-centos7-docker-4c-2g-13341 does not seem to be running inside a container [2021-10-28T23:20:41.416Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:20:41.967Z] $ docker top 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:20:42.121Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:20:42.121Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:20:42.222Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:20:42.226Z] $ docker exec 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent [2021-10-28T23:20:42.337Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhgFEJI/agent.14 [2021-10-28T23:20:42.337Z] SSH_AGENT_PID=20 [2021-10-28T23:20:42.344Z] Running ssh-add (command line suppressed) [2021-10-28T23:20:42.450Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7299756696335099019.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_7299756696335099019.key) [2021-10-28T23:20:42.467Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:20:42.792Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T23:20:42.811Z] $ docker exec --env ******** --env ******** 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent -k [2021-10-28T23:20:42.929Z] unset SSH_AUTH_SOCK; [2021-10-28T23:20:42.929Z] unset SSH_AGENT_PID; [2021-10-28T23:20:42.929Z] echo Agent pid 20 killed; [2021-10-28T23:20:42.943Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T23:20:43.011Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:20:43.011Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:20:43.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:20:43.134Z] $ docker exec 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent [2021-10-28T23:20:43.256Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlPBake/agent.54 [2021-10-28T23:20:43.256Z] SSH_AGENT_PID=60 [2021-10-28T23:20:43.260Z] Running ssh-add (command line suppressed) [2021-10-28T23:20:43.368Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4203156397203237618.key (/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/private_key_4203156397203237618.key) [2021-10-28T23:20:43.380Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:20:43.696Z] + git semver init [2021-10-28T23:20:43.697Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:20:43.697Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.git [2021-10-28T23:20:43.697Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-28T23:20:43.697Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:20:43.697Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:20:43.697Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:20:43.697Z] # $SEMVER_BRANCH = PR-140 [2021-10-28T23:20:43.697Z] # $SEMVER_TEMP = /tmp/semver-410489035 [2021-10-28T23:20:43.697Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-10-28T23:20:44.643Z] # '/tmp/semver-410489035' -> '/w/workspace/gexfoundry_device-rest-go_PR-140/.semver' [2021-10-28T23:20:44.643Z] # -> Force: false [2021-10-28T23:20:44.643Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-140/.semver [Pipeline] } [2021-10-28T23:20:44.659Z] $ docker exec --env ******** --env ******** 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a ssh-agent -k [2021-10-28T23:20:44.743Z] unset SSH_AUTH_SOCK; [2021-10-28T23:20:44.744Z] unset SSH_AGENT_PID; [2021-10-28T23:20:44.744Z] echo Agent pid 60 killed; [2021-10-28T23:20:44.756Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:20:45.139Z] + git semver [Pipeline] } [2021-10-28T23:20:45.159Z] $ docker stop --time=1 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a [2021-10-28T23:20:46.387Z] $ docker rm -f 99cf3d275de2c4492d2d31935c918934962be3a9e1b4546b3d58f17cc65b707a [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:20:46.775Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T23:20:47.040Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T23:20:47.063Z] [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-10-28T23:20:47.639Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13339 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-28T23:20:47.689Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:20:47.961Z] The recommended git tool is: git [2021-10-28T23:20:53.646Z] using credential edgex-jenkins-ssh [2021-10-28T23:20:53.668Z] Cloning the remote Git repository [2021-10-28T23:20:53.732Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:20:53.851Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-10-28T23:20:53.967Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:20:53.968Z] > git --version # timeout=10 [2021-10-28T23:20:54.003Z] > git --version # 'git version 2.17.1' [2021-10-28T23:20:54.006Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:20:54.120Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:20:56.723Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b [2021-10-28T23:20:55.938Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-28T23:20:55.960Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:20:55.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-28T23:20:56.028Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:20:56.029Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:20:56.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T23:20:56.741Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:20:56.766Z] > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 [2021-10-28T23:20:56.962Z] Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b [2021-10-28T23:20:56.963Z] Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) [2021-10-28T23:20:56.861Z] > git remote # timeout=10 [2021-10-28T23:20:56.883Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:20:56.900Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:20:56.914Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-28T23:20:56.941Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:20:56.966Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:20:56.985Z] > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 [2021-10-28T23:21:01.511Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:21:01.575Z] > git --version # timeout=10 [2021-10-28T23:21:01.588Z] > git --version # 'git version 2.17.1' [2021-10-28T23:21:01.610Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:21:02.424Z] Still waiting to schedule task [2021-10-28T23:21:02.424Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T23:21:02.676Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T23:21:02.676Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:21:02.676Z] Dload Upload Total Spent Left Speed [2021-10-28T23:21:02.676Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 151k 0 --:--:-- --:--:-- --:--:-- 151k [Pipeline] sh [2021-10-28T23:21:03.131Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T23:21:03.507Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T23:21:03.507Z] + sudo tee /etc/docker/daemon.new [2021-10-28T23:21:03.507Z] { [2021-10-28T23:21:03.507Z] "registry-mirrors": [ [2021-10-28T23:21:03.507Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T23:21:03.507Z] ], [2021-10-28T23:21:03.507Z] "bip": "10.250.0.254/24", [2021-10-28T23:21:03.507Z] "hosts": [ [2021-10-28T23:21:03.507Z] "tcp://0.0.0.0:5555", [2021-10-28T23:21:03.507Z] "unix:///var/run/docker.sock" [2021-10-28T23:21:03.507Z] ], [2021-10-28T23:21:03.507Z] "mtu": 1458, [2021-10-28T23:21:03.507Z] "selinux-enabled": true, [2021-10-28T23:21:03.507Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T23:21:03.507Z] } [Pipeline] sh [2021-10-28T23:21:03.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T23:21:04.252Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:21:22.647Z] provisioning config files... [2021-10-28T23:21:22.677Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7215821986660024782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:21:23.087Z] ---> docker-login.sh [2021-10-28T23:21:23.087Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:21:24.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:24.343Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:24.343Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:24.343Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:24.343Z] [2021-10-28T23:21:24.343Z] Login Succeeded [2021-10-28T23:21:24.343Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:21:24.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:24.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:24.944Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:24.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:24.944Z] [2021-10-28T23:21:24.944Z] Login Succeeded [2021-10-28T23:21:24.944Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:21:25.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:25.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:25.552Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:25.552Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:25.552Z] [2021-10-28T23:21:25.552Z] Login Succeeded [2021-10-28T23:21:25.552Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:21:26.154Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:26.154Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:26.154Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:26.154Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:26.154Z] [2021-10-28T23:21:26.154Z] Login Succeeded [2021-10-28T23:21:26.154Z] docker.io [2021-10-28T23:21:26.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:27.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:27.039Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:27.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:27.039Z] [2021-10-28T23:21:27.039Z] Login Succeeded [2021-10-28T23:21:27.039Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:21:27.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:21:27.804Z] ========================================================= [2021-10-28T23:21:27.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T23:21:27.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:28.250Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T23:21:28.250Z] Sending build context to Docker daemon 119.3kB [2021-10-28T23:21:28.855Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:21:28.855Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:21:28.855Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T23:21:28.855Z] 552d1f2373af: Pulling fs layer [2021-10-28T23:21:28.855Z] ea3f2d53f512: Pulling fs layer [2021-10-28T23:21:28.855Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T23:21:28.855Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T23:21:28.855Z] 72dc09318566: Pulling fs layer [2021-10-28T23:21:28.855Z] f4f7b4309257: Pulling fs layer [2021-10-28T23:21:28.855Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T23:21:28.855Z] b78e95d17946: Pulling fs layer [2021-10-28T23:21:28.855Z] 72dc09318566: Waiting [2021-10-28T23:21:28.855Z] 0ac9a79272e3: Waiting [2021-10-28T23:21:28.855Z] b78e95d17946: Waiting [2021-10-28T23:21:28.855Z] f4f7b4309257: Waiting [2021-10-28T23:21:28.856Z] 7a9cfe048b4a: Waiting [2021-10-28T23:21:29.131Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T23:21:29.131Z] 9e70ebbbe112: Download complete [2021-10-28T23:21:29.131Z] ea3f2d53f512: Verifying Checksum [2021-10-28T23:21:29.131Z] ea3f2d53f512: Download complete [2021-10-28T23:21:29.131Z] 72dc09318566: Download complete [2021-10-28T23:21:29.131Z] 552d1f2373af: Verifying Checksum [2021-10-28T23:21:29.131Z] f4f7b4309257: Verifying Checksum [2021-10-28T23:21:29.131Z] f4f7b4309257: Download complete [2021-10-28T23:21:29.131Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T23:21:29.131Z] 0ac9a79272e3: Download complete [2021-10-28T23:21:30.124Z] 552d1f2373af: Pull complete [2021-10-28T23:21:30.729Z] ea3f2d53f512: Pull complete [2021-10-28T23:21:31.010Z] 9e70ebbbe112: Pull complete [2021-10-28T23:21:31.288Z] b78e95d17946: Verifying Checksum [2021-10-28T23:21:31.288Z] b78e95d17946: Download complete [2021-10-28T23:21:31.891Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T23:21:31.891Z] 7a9cfe048b4a: Download complete [2021-10-28T23:21:44.358Z] 7a9cfe048b4a: Pull complete [2021-10-28T23:21:44.358Z] 72dc09318566: Pull complete [2021-10-28T23:21:44.358Z] f4f7b4309257: Pull complete [2021-10-28T23:21:44.358Z] 0ac9a79272e3: Pull complete [2021-10-28T23:21:51.075Z] b78e95d17946: Pull complete [2021-10-28T23:21:51.075Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T23:21:51.075Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T23:21:51.075Z] ---> 8b459fc5aaf0 [2021-10-28T23:21:51.075Z] Step 3/11 : ARG MAKE='make build' [2021-10-28T23:21:53.064Z] ---> Running in c20fd61643dc [2021-10-28T23:21:53.337Z] Removing intermediate container c20fd61643dc [2021-10-28T23:21:53.337Z] ---> ef6896a660ca [2021-10-28T23:21:53.337Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:21:53.612Z] ---> Running in 69afc692181c [2021-10-28T23:21:54.220Z] Removing intermediate container 69afc692181c [2021-10-28T23:21:54.220Z] ---> e7a8f193a6a0 [2021-10-28T23:21:54.220Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:21:54.220Z] ---> Running in be7a9d86e844 [2021-10-28T23:21:54.819Z] Removing intermediate container be7a9d86e844 [2021-10-28T23:21:54.819Z] ---> 7203ad57e505 [2021-10-28T23:21:54.819Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:21:54.819Z] ---> Running in 4f972cae1b11 [2021-10-28T23:21:57.466Z] Removing intermediate container 4f972cae1b11 [2021-10-28T23:21:57.466Z] ---> fc76c925ba0b [2021-10-28T23:21:57.466Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:21:57.466Z] ---> Running in df890f898bf3 [2021-10-28T23:21:58.454Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:21:59.430Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:22:00.408Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:22:00.408Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:22:00.683Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:22:00.961Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:22:00.961Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:22:00.961Z] OK: 223 MiB in 56 packages [2021-10-28T23:22:02.409Z] Removing intermediate container df890f898bf3 [2021-10-28T23:22:02.409Z] ---> 6182e419e9a7 [2021-10-28T23:22:02.409Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-28T23:22:02.409Z] ---> Running in 97b4c0b7c05a [2021-10-28T23:22:03.009Z] Removing intermediate container 97b4c0b7c05a [2021-10-28T23:22:03.009Z] ---> fd98500e2ea7 [2021-10-28T23:22:03.009Z] Step 9/11 : COPY . . [2021-10-28T23:22:03.997Z] ---> 7d350f5ad8fd [2021-10-28T23:22:03.997Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:22:03.997Z] ---> Running in ed63e75b8202 [2021-10-28T23:22:08.328Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone [2021-10-28T23:22:08.328Z] server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 [2021-10-28T23:22:08.328Z] skipping... [2021-10-28T23:22:10.526Z] Running on prd-centos7-docker-4c-2g-13344 in /w/workspace/gexfoundry_device-rest-go_PR-140 [Pipeline] { [Pipeline] ws [2021-10-28T23:22:10.564Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:22:10.691Z] The recommended git tool is: git [2021-10-28T23:22:11.770Z] Removing intermediate container ed63e75b8202 [2021-10-28T23:22:11.770Z] ---> b4ea01512722 [2021-10-28T23:22:11.770Z] Step 11/11 : RUN $MAKE [2021-10-28T23:22:11.770Z] ---> Running in 26bc6ba273f0 [2021-10-28T23:22:12.763Z] using credential edgex-jenkins-ssh [2021-10-28T23:22:12.770Z] noop [2021-10-28T23:22:12.774Z] Cloning the remote Git repository [2021-10-28T23:22:12.390Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:22:12.443Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2021-10-28T23:22:12.479Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:22:12.479Z] > git --version # timeout=10 [2021-10-28T23:22:12.485Z] > git --version # 'git version 2.24.4' [2021-10-28T23:22:12.486Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:22:12.511Z] [INFO] Currently running in a labeled security context [2021-10-28T23:22:12.512Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:22:12.512Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh1898183710099548601.key [2021-10-28T23:22:12.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:22:13.756Z] Removing intermediate container 26bc6ba273f0 [2021-10-28T23:22:13.756Z] ---> 7094e9c72e0d [2021-10-28T23:22:13.756Z] Successfully built 7094e9c72e0d [2021-10-28T23:22:13.756Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:14.135Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:22:14.135Z] . [2021-10-28T23:22:13.357Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-28T23:22:13.366Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:22:13.377Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-10-28T23:22:13.391Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-10-28T23:22:13.391Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:22:13.392Z] [INFO] Currently running in a labeled security context [2021-10-28T23:22:13.392Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:22:13.392Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh2894242065343588796.key [2021-10-28T23:22:13.403Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/140/head:refs/remotes/origin/PR-140 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] withDockerContainer [2021-10-28T23:22:14.295Z] Merging remotes/origin/main commit ab80832e8fa331645ec332aa024eb9f07585cb40 into PR head commit 6f382c4a568e263803f0323c19e86e56369f5d8b [2021-10-28T23:22:14.381Z] Merge succeeded, producing 6f382c4a568e263803f0323c19e86e56369f5d8b [2021-10-28T23:22:14.381Z] Checking out Revision 6f382c4a568e263803f0323c19e86e56369f5d8b (PR-140) [2021-10-28T23:22:14.420Z] prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container [2021-10-28T23:22:14.511Z] $ 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-10-28T23:22:13.891Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:22:13.897Z] > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 [2021-10-28T23:22:13.920Z] > git remote # timeout=10 [2021-10-28T23:22:13.937Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:22:13.943Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:22:13.943Z] [INFO] Currently running in a labeled security context [2021-10-28T23:22:13.944Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:22:13.944Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/1@tmp/jenkins-gitclient-ssh7612141822624627702.key [2021-10-28T23:22:13.951Z] > git merge ab80832e8fa331645ec332aa024eb9f07585cb40 # timeout=10 [2021-10-28T23:22:13.959Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:22:13.972Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:22:13.982Z] > git checkout -f 6f382c4a568e263803f0323c19e86e56369f5d8b # timeout=10 [2021-10-28T23:22:16.264Z] $ docker top ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:22:17.296Z] + go version [2021-10-28T23:22:17.296Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T23:22:17.331Z] $ docker stop --time=1 ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 [2021-10-28T23:22:17.834Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:22:17.598Z] > git --version # timeout=10 [2021-10-28T23:22:17.610Z] > git --version # 'git version 2.24.4' [2021-10-28T23:22:17.623Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:22:19.184Z] $ docker rm -f ad4380e32e43505231886ab2ce2102ff75e2e1dcfee7b69632f851ca47b900f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:22:19.904Z] provisioning config files... [2021-10-28T23:22:19.917Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config410863541876340865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:22:20.093Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:22:20.093Z] . [Pipeline] withDockerContainer [2021-10-28T23:22:20.333Z] ---> docker-login.sh [2021-10-28T23:22:20.333Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:22:20.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:22:20.430Z] prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container [2021-10-28T23:22:20.528Z] $ 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-10-28T23:22:20.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:22:20.599Z] Configure a credential helper to remove this warning. See [2021-10-28T23:22:20.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:22:20.599Z] [2021-10-28T23:22:20.599Z] Login Succeeded [2021-10-28T23:22:20.599Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:22:20.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:22:20.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:22:20.599Z] Configure a credential helper to remove this warning. See [2021-10-28T23:22:20.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:22:20.599Z] [2021-10-28T23:22:20.599Z] Login Succeeded [2021-10-28T23:22:20.599Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:22:20.599Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:22:20.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:22:20.599Z] Configure a credential helper to remove this warning. See [2021-10-28T23:22:20.599Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:22:20.599Z] [2021-10-28T23:22:20.599Z] Login Succeeded [2021-10-28T23:22:20.599Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:22:20.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:22:20.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:22:20.862Z] Configure a credential helper to remove this warning. See [2021-10-28T23:22:20.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:22:20.862Z] [2021-10-28T23:22:20.862Z] Login Succeeded [2021-10-28T23:22:20.862Z] docker.io [2021-10-28T23:22:20.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:22:21.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:22:21.123Z] Configure a credential helper to remove this warning. See [2021-10-28T23:22:21.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:22:21.123Z] [2021-10-28T23:22:21.123Z] Login Succeeded [2021-10-28T23:22:21.123Z] ---> docker-login.sh ends [2021-10-28T23:22:22.292Z] $ docker top dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 -eo pid,comm [Pipeline] { [Pipeline] } [2021-10-28T23:22:22.713Z] Deleting 1 temporary files [Pipeline] fileExists [Pipeline] // configFileProvider [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:22:23.043Z] ========================================================= [2021-10-28T23:22:23.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T23:22:23.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:23.442Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T23:22:23.442Z] Sending build context to Docker daemon 119.3kB [2021-10-28T23:22:23.442Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:22:23.442Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:22:23.442Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T23:22:23.442Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:22:23.442Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T23:22:23.442Z] b8b176561691: Pulling fs layer [2021-10-28T23:22:23.442Z] 4527c011a84f: Pulling fs layer [2021-10-28T23:22:23.442Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T23:22:23.442Z] e0aca202a116: Pulling fs layer [2021-10-28T23:22:23.442Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T23:22:23.443Z] 34cad66bf833: Pulling fs layer [2021-10-28T23:22:23.443Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T23:22:23.443Z] e0aca202a116: Waiting [2021-10-28T23:22:23.443Z] 3a43be97a3b4: Waiting [2021-10-28T23:22:23.443Z] 34cad66bf833: Waiting [2021-10-28T23:22:23.443Z] b4e3c513aaa6: Waiting [2021-10-28T23:22:23.443Z] 4527c011a84f: Waiting [2021-10-28T23:22:23.443Z] b8b176561691: Verifying Checksum [2021-10-28T23:22:23.443Z] b8b176561691: Download complete [2021-10-28T23:22:23.443Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T23:22:23.443Z] 31adcdaf11c8: Download complete [2021-10-28T23:22:23.443Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T23:22:23.443Z] 5d74067f8e1e: Download complete [2021-10-28T23:22:23.443Z] e0aca202a116: Verifying Checksum [2021-10-28T23:22:23.443Z] e0aca202a116: Download complete [2021-10-28T23:22:23.443Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T23:22:23.443Z] 3a43be97a3b4: Download complete [2021-10-28T23:22:23.443Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:22:23.443Z] a0d0a0d46f8b: Download complete [2021-10-28T23:22:23.464Z] + make test [2021-10-28T23:22:23.464Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-28T23:22:23.464Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:22:23.464Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:22:23.464Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-10-28T23:22:23.511Z] $ docker stop --time=1 dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 [2021-10-28T23:22:23.719Z] 34cad66bf833: Verifying Checksum [2021-10-28T23:22:23.719Z] 34cad66bf833: Download complete [2021-10-28T23:22:24.313Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T23:22:24.313Z] b4e3c513aaa6: Download complete [2021-10-28T23:22:24.313Z] 4527c011a84f: Verifying Checksum [2021-10-28T23:22:24.313Z] 4527c011a84f: Download complete [2021-10-28T23:22:24.313Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:22:24.313Z] 31adcdaf11c8: Pull complete [2021-10-28T23:22:24.313Z] b8b176561691: Pull complete [2021-10-28T23:22:25.433Z] $ docker rm -f dbb0d6c15cce9a8b868642a6ecb7edae286703b58cb775eaa58801993eab7d16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:26.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:22:26.905Z] [2021-10-28T23:22:26.905Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:27.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:22:27.584Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T23:22:27.584Z] 448f6bf000e3: Pulling fs layer [2021-10-28T23:22:27.584Z] f757da607395: Pulling fs layer [2021-10-28T23:22:27.584Z] 05883995daec: Pulling fs layer [2021-10-28T23:22:27.584Z] 8603b9c90790: Pulling fs layer [2021-10-28T23:22:27.584Z] 1560dd03e051: Pulling fs layer [2021-10-28T23:22:27.584Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T23:22:27.584Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T23:22:27.584Z] 8603b9c90790: Waiting [2021-10-28T23:22:27.584Z] 1560dd03e051: Waiting [2021-10-28T23:22:27.584Z] 27f5ce0e4adf: Waiting [2021-10-28T23:22:27.584Z] c2d8d7efcc4b: Waiting [2021-10-28T23:22:27.584Z] f757da607395: Verifying Checksum [2021-10-28T23:22:27.584Z] f757da607395: Download complete [2021-10-28T23:22:27.584Z] 8603b9c90790: Verifying Checksum [2021-10-28T23:22:27.584Z] 8603b9c90790: Download complete [2021-10-28T23:22:27.862Z] 1560dd03e051: Verifying Checksum [2021-10-28T23:22:27.862Z] 1560dd03e051: Download complete [2021-10-28T23:22:27.862Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T23:22:27.862Z] 27f5ce0e4adf: Download complete [2021-10-28T23:22:27.862Z] 05883995daec: Verifying Checksum [2021-10-28T23:22:27.862Z] 05883995daec: Download complete [2021-10-28T23:22:28.139Z] 448f6bf000e3: Verifying Checksum [2021-10-28T23:22:28.139Z] 448f6bf000e3: Download complete [2021-10-28T23:22:28.574Z] 4527c011a84f: Pull complete [2021-10-28T23:22:28.574Z] 5d74067f8e1e: Pull complete [2021-10-28T23:22:28.574Z] e0aca202a116: Pull complete [2021-10-28T23:22:28.574Z] 3a43be97a3b4: Pull complete [2021-10-28T23:22:28.574Z] 34cad66bf833: Pull complete [2021-10-28T23:22:31.139Z] b4e3c513aaa6: Pull complete [2021-10-28T23:22:31.139Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T23:22:31.139Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T23:22:31.139Z] ---> 9f6097aaca64 [2021-10-28T23:22:31.139Z] Step 3/11 : ARG MAKE='make build' [2021-10-28T23:22:31.560Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T23:22:31.560Z] c2d8d7efcc4b: Download complete [2021-10-28T23:22:32.158Z] 448f6bf000e3: Pull complete [2021-10-28T23:22:33.071Z] ---> Running in 1849c0c96c88 [2021-10-28T23:22:33.071Z] Removing intermediate container 1849c0c96c88 [2021-10-28T23:22:33.071Z] ---> 5fd50d6451cb [2021-10-28T23:22:33.071Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:22:33.071Z] ---> Running in 62ddd006ce20 [2021-10-28T23:22:33.071Z] Removing intermediate container 62ddd006ce20 [2021-10-28T23:22:33.071Z] ---> a56df47478e2 [2021-10-28T23:22:33.071Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:22:33.071Z] ---> Running in 30a80022b75a [2021-10-28T23:22:33.071Z] Removing intermediate container 30a80022b75a [2021-10-28T23:22:33.071Z] ---> 2ed6961767b4 [2021-10-28T23:22:33.071Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:22:33.071Z] ---> Running in 7b1f2cd47d96 [2021-10-28T23:22:33.147Z] f757da607395: Pull complete [2021-10-28T23:22:33.647Z] Removing intermediate container 7b1f2cd47d96 [2021-10-28T23:22:33.647Z] ---> 5ac07a2e51cf [2021-10-28T23:22:33.647Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:22:33.647Z] ---> Running in 0ab986d9a149 [2021-10-28T23:22:33.911Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:22:34.593Z] 05883995daec: Pull complete [2021-10-28T23:22:34.859Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:22:34.874Z] 8603b9c90790: Pull complete [2021-10-28T23:22:35.122Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:22:35.122Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:22:35.388Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:22:35.388Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:22:35.388Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:22:35.660Z] OK: 224 MiB in 56 packages [2021-10-28T23:22:35.859Z] 1560dd03e051: Pull complete [2021-10-28T23:22:35.927Z] Removing intermediate container 0ab986d9a149 [2021-10-28T23:22:35.927Z] ---> 120ae236d3a1 [2021-10-28T23:22:35.927Z] Step 8/11 : WORKDIR /device-rest-go [2021-10-28T23:22:35.927Z] ---> Running in 2cc08d888846 [2021-10-28T23:22:35.927Z] Removing intermediate container 2cc08d888846 [2021-10-28T23:22:35.927Z] ---> ebb74574afc7 [2021-10-28T23:22:35.927Z] Step 9/11 : COPY . . [2021-10-28T23:22:36.189Z] ---> 409f1e6253d5 [2021-10-28T23:22:36.189Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:22:36.189Z] ---> Running in 41efc5da3146 [2021-10-28T23:22:36.464Z] 27f5ce0e4adf: Pull complete [2021-10-28T23:22:38.115Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone [2021-10-28T23:22:38.115Z] server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 [2021-10-28T23:22:38.115Z] skipping... [2021-10-28T23:22:38.703Z] Removing intermediate container 41efc5da3146 [2021-10-28T23:22:38.703Z] ---> ca95b3993631 [2021-10-28T23:22:38.703Z] Step 11/11 : RUN $MAKE [2021-10-28T23:22:38.703Z] ---> Running in dbde5dba71af [2021-10-28T23:22:38.969Z] noop [2021-10-28T23:22:39.240Z] Removing intermediate container dbde5dba71af [2021-10-28T23:22:39.240Z] ---> fac9b2766182 [2021-10-28T23:22:39.240Z] Successfully built fac9b2766182 [2021-10-28T23:22:39.240Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:39.570Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:22:39.570Z] . [Pipeline] withDockerContainer [2021-10-28T23:22:39.662Z] prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container [2021-10-28T23:22:39.702Z] $ 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-10-28T23:22:40.092Z] $ docker top a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:22:40.502Z] + go version [2021-10-28T23:22:40.502Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T23:22:40.530Z] $ docker stop --time=1 a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 [2021-10-28T23:22:41.715Z] $ docker rm -f a431c67a5201bb7443aa1c9b721efdc6bfdf7d78928fc489b9f4ed5073f49009 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:42.396Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:22:42.396Z] . [Pipeline] withDockerContainer [2021-10-28T23:22:42.483Z] prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container [2021-10-28T23:22:42.521Z] $ 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-10-28T23:22:42.912Z] $ docker top ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:22:43.352Z] + make test [2021-10-28T23:22:43.352Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-10-28T23:22:43.352Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:22:43.352Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:22:43.352Z] make: *** [Makefile:27: test] Error 1 [Pipeline] } [2021-10-28T23:22:43.389Z] $ docker stop --time=1 ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 [2021-10-28T23:22:44.589Z] $ docker rm -f ea0769e0fb3dc322d3b5a2ba6c86b9178054acdf2595ff15b30079c8816c4f30 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:45.740Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:22:45.740Z] [2021-10-28T23:22:45.740Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:46.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:22:46.084Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:22:46.084Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:22:46.084Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:22:46.084Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:22:46.084Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:22:46.084Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:22:46.084Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:22:46.084Z] d287ab97295c: Pulling fs layer [2021-10-28T23:22:46.084Z] 77bc0d833cb6: Waiting [2021-10-28T23:22:46.084Z] dc539afda2c1: Waiting [2021-10-28T23:22:46.084Z] 9065ff56babe: Waiting [2021-10-28T23:22:46.084Z] d287ab97295c: Waiting [2021-10-28T23:22:46.084Z] a1111a8f2ec3: Download complete [2021-10-28T23:22:46.084Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:22:46.084Z] dc539afda2c1: Download complete [2021-10-28T23:22:46.345Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:22:46.345Z] ed53099fbce6: Download complete [2021-10-28T23:22:46.345Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:22:46.345Z] 77bc0d833cb6: Download complete [2021-10-28T23:22:46.345Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:22:46.345Z] 9065ff56babe: Download complete [2021-10-28T23:22:46.345Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:22:46.345Z] b4d181a07f80: Download complete [2021-10-28T23:22:46.943Z] d287ab97295c: Verifying Checksum [2021-10-28T23:22:46.943Z] d287ab97295c: Download complete [2021-10-28T23:22:47.897Z] b4d181a07f80: Pull complete [2021-10-28T23:22:47.897Z] a1111a8f2ec3: Pull complete [2021-10-28T23:22:48.848Z] ed53099fbce6: Pull complete [2021-10-28T23:22:48.848Z] dc539afda2c1: Pull complete [2021-10-28T23:22:49.124Z] 77bc0d833cb6: Pull complete [2021-10-28T23:22:49.124Z] 9065ff56babe: Pull complete [2021-10-28T23:22:51.574Z] c2d8d7efcc4b: Pull complete [2021-10-28T23:22:51.574Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T23:22:51.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:22:51.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T23:22:51.842Z] prd-ubuntu18.04-docker-arm64-4c-16g-13339 does not seem to be running inside a container [2021-10-28T23:22:51.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T23:22:54.461Z] d287ab97295c: Pull complete [2021-10-28T23:22:54.461Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:22:54.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:22:54.461Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:22:55.413Z] $ docker top bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer [2021-10-28T23:22:55.852Z] prd-centos7-docker-4c-2g-13344 does not seem to be running inside a container [2021-10-28T23:22:55.888Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:22:58.254Z] $ docker top 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:22:58.782Z] ---> job-cost.sh [2021-10-28T23:22:58.782Z] lf-activate-venv: SKIPPING [2021-10-28T23:22:58.782Z] INFO: No Stack... [2021-10-28T23:22:59.044Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:22:59.073Z] ---> job-cost.sh [2021-10-28T23:22:59.073Z] lf-activate-venv: SKIPPING [2021-10-28T23:22:59.073Z] INFO: No Stack... [2021-10-28T23:22:59.304Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:22:59.349Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T23:22:59.618Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-10-28T23:22:59.618Z] cut -d, -f6 [Pipeline] lock [2021-10-28T23:22:59.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [2021-10-28T23:22:59.664Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] did not exist. Created. [2021-10-28T23:22:59.664Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:22:59.952Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:23:00.029Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T23:23:00.235Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:23:00.250Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:23:00.306Z] $ docker stop --time=1 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 [2021-10-28T23:23:00.615Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2021-10-28T23:23:00.615Z] + cut -d, -f6 [2021-10-28T23:23:01.443Z] $ docker rm -f 5619112693ec293f70b201623c240f36d51d13b62eef5c333d8e4df26b429e88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] lock [2021-10-28T23:23:01.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [2021-10-28T23:23:01.565Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] did not exist. Created. [2021-10-28T23:23:01.565Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] { [Pipeline] // script [Pipeline] unstash [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T23:23:02.128Z] Failed in branch amd64 [2021-10-28T23:23:02.314Z] /w/workspace/device-rest-go/1@tmp/durable-e9de2fc3/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-e9de2fc3/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T23:23:03.001Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T23:23:03.036Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T23:23:03.547Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:23:03.562Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-140-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:23:03.617Z] $ docker stop --time=1 bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 [2021-10-28T23:23:05.255Z] $ docker rm -f bc548ad6bc271010e9f4bd2086a529ee336a35b4ac4f968b991869ebae9c59c9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T23:23:05.955Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-28T23:23:08.130Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-140/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:08.468Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:09.054Z] ---> package-listing.sh [2021-10-28T23:23:09.054Z] ++ facter osfamily [2021-10-28T23:23:09.054Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T23:23:09.314Z] + OS_FAMILY=redhat [2021-10-28T23:23:09.314Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-140 [2021-10-28T23:23:09.314Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T23:23:09.314Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T23:23:09.314Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T23:23:09.314Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T23:23:09.314Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-28T23:23:09.314Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T23:23:09.314Z] + case "${OS_FAMILY}" in [2021-10-28T23:23:09.314Z] + sort [2021-10-28T23:23:09.314Z] + rpm -qa [2021-10-28T23:23:09.883Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T23:23:09.883Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T23:23:09.883Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T23:23:09.883Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-140 ']' [2021-10-28T23:23:09.883Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [2021-10-28T23:23:09.883Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-140/archives/ [Pipeline] echo [2021-10-28T23:23:09.910Z] 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-140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T23:23:10.213Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:10.803Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:10.803Z] [2021-10-28T23:23:10.803Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:11.145Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:11.145Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:23:11.145Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:23:11.145Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:23:11.145Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:23:11.145Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:23:11.145Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:23:11.145Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:23:11.145Z] d287ab97295c: Pulling fs layer [2021-10-28T23:23:11.145Z] dc539afda2c1: Waiting [2021-10-28T23:23:11.145Z] 9065ff56babe: Waiting [2021-10-28T23:23:11.145Z] 77bc0d833cb6: Waiting [2021-10-28T23:23:11.145Z] d287ab97295c: Waiting [2021-10-28T23:23:11.145Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:23:11.145Z] a1111a8f2ec3: Download complete [2021-10-28T23:23:11.145Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:23:11.145Z] dc539afda2c1: Download complete [2021-10-28T23:23:11.145Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:23:11.145Z] ed53099fbce6: Download complete [2021-10-28T23:23:11.408Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:23:11.408Z] 9065ff56babe: Download complete [2021-10-28T23:23:11.408Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:23:11.408Z] 77bc0d833cb6: Download complete [2021-10-28T23:23:11.408Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:23:11.408Z] b4d181a07f80: Download complete [2021-10-28T23:23:11.981Z] d287ab97295c: Verifying Checksum [2021-10-28T23:23:11.981Z] d287ab97295c: Download complete [2021-10-28T23:23:12.919Z] b4d181a07f80: Pull complete [2021-10-28T23:23:12.919Z] a1111a8f2ec3: Pull complete [2021-10-28T23:23:13.488Z] ed53099fbce6: Pull complete [2021-10-28T23:23:13.749Z] dc539afda2c1: Pull complete [2021-10-28T23:23:14.012Z] 77bc0d833cb6: Pull complete [2021-10-28T23:23:14.012Z] 9065ff56babe: Pull complete [2021-10-28T23:23:19.326Z] d287ab97295c: Pull complete [2021-10-28T23:23:19.326Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:23:19.326Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:19.326Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:23:19.406Z] prd-centos7-docker-4c-2g-13341 does not seem to be running inside a container [2021-10-28T23:23:19.440Z] $ 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-140/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-140 -v /w/workspace/gexfoundry_device-rest-go_PR-140:/w/workspace/gexfoundry_device-rest-go_PR-140:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-140@tmp:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:23:21.446Z] $ docker top fc225fb043f0bfe938b9e36cdc32d0aaa37bd6c00d644909b4729ed488a51e6a -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:23:21.866Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T23:23:22.173Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T23:23:22.481Z] + ls /var/log/sa-host [2021-10-28T23:23:22.481Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T23:23:22.481Z] file_magic: OK [2021-10-28T23:23:22.481Z] HZ: Using current value: 100 [2021-10-28T23:23:22.481Z] file_header: OK [2021-10-28T23:23:22.481Z] 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-10-28T23:23:22.481Z] Statistics: [2021-10-28T23:23:22.481Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:23:22.481Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T23:23:22.481Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T23:23:22.481Z] file_magic: OK [2021-10-28T23:23:22.481Z] HZ: Using current value: 100 [2021-10-28T23:23:22.481Z] file_header: OK [2021-10-28T23:23:22.481Z] 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-10-28T23:23:22.481Z] Statistics: [2021-10-28T23:23:22.481Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:23:22.481Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:23:22.606Z] provisioning config files... [2021-10-28T23:23:22.615Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-140@tmp/config5854832845746032152tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:23:22.653Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:22.967Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T23:23:22.990Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:23.366Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T23:23:23.392Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:23.709Z] ---> sudo-logs.sh [2021-10-28T23:23:23.709Z] Archiving 'sudo' log.. [2021-10-28T23:23:23.709Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13341.novalocal: Name or service not known [2021-10-28T23:23:23.709Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13341.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T23:23:23.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:24.092Z] ---> job-cost.sh [2021-10-28T23:23:24.092Z] lf-activate-venv: SKIPPING [2021-10-28T23:23:24.092Z] DEBUG: total: 0.10999999940395355 [2021-10-28T23:23:24.092Z] INFO: Retrieving Stack Cost... [2021-10-28T23:23:24.354Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:23:24.614Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T23:23:24.648Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:24.971Z] ---> logs-deploy.sh [2021-10-28T23:23:24.971Z] lf-activate-venv: SKIPPING [2021-10-28T23:23:24.971Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-140/1 [2021-10-28T23:23:24.971Z] INFO: archiving workspace using pattern(s): [2021-10-28T23:23:25.544Z] Archives upload complete. [2021-10-28T23:23:25.810Z] INFO: archiving logs to Nexus