Pull request #145 updated 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 96e184b927e04097306fc9a54b999550e4976e4b+09739088bb3ccddf347dd8b212f45a4687ee065f (d6ba9b0cd4bfcc32a23694b0a4b3d43ccf13b633) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh3709090351236519407.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh3319631177052801797.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6116629540936815421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4372108320036326678.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-145/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5828439999240422140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-723 in /w/workspace/gexfoundry_device-rest-go_PR-145 [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-145 # 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-145@tmp/jenkins-gitclient-ssh9212938196280799080.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-145@tmp/jenkins-gitclient-ssh3986614048514837967.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) > git config core.sparsecheckout # timeout=10 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # 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-145@tmp/jenkins-gitclient-ssh7907651879231669464.key > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 Commit message: "feat: Add support for Object ValueType" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-15T23:38:51.683Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-15T23:38:51.738Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-15T23:38:51.757Z] ========================================================= [2021-11-15T23:38:51.757Z] EdgeX Global Pipelines Version Info [2021-11-15T23:38:51.757Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c3fc48eef4e44410167cfefdb5a507862d65592a # timeout=10 [2021-11-15T23:38:52.899Z] ------------------- [2021-11-15T23:38:52.899Z] stable info: [2021-11-15T23:38:52.899Z] ------------------- [2021-11-15T23:38:52.899Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-15T23:38:52.899Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T23:38:52.899Z] Message: update stable to v1.0.215 [2021-11-15T23:38:53.472Z] ------------------- [2021-11-15T23:38:53.472Z] experimental info: [2021-11-15T23:38:53.472Z] ------------------- [2021-11-15T23:38:53.472Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-15T23:38:53.472Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-15T23:38:53.472Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-15T23:38:53.564Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2021-11-15T23:38:53.576Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2021-11-15T23:38:53.588Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-15T23:38:53.599Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-15T23:38:53.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-15T23:38:53.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-15T23:38:53.638Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-15T23:38:53.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-15T23:38:53.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-15T23:38:53.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-15T23:38:53.720Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-15T23:38:53.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2021-11-15T23:38:53.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-15T23:38:53.757Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-15T23:38:53.771Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T23:38:53.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-15T23:38:53.792Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T23:38:53.801Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-15T23:38:53.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-15T23:38:53.821Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-15T23:38:53.831Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-15T23:38:53.842Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-15T23:38:53.854Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-15T23:38:53.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-15T23:38:53.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-15T23:38:53.888Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-15T23:38:53.907Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-145 [Pipeline] echo [2021-11-15T23:38:53.923Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-145 [Pipeline] echo [2021-11-15T23:38:53.939Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-145 [Pipeline] echo [2021-11-15T23:38:53.955Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo [2021-11-15T23:38:53.966Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96e184b [Pipeline] echo [2021-11-15T23:38:53.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:38:54.018Z] provisioning config files... [2021-11-15T23:38:54.030Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config1884202591084320773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:38:54.344Z] ---> docker-login.sh [2021-11-15T23:38:54.344Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:38:54.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:38:54.344Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:38:54.344Z] Configure a credential helper to remove this warning. See [2021-11-15T23:38:54.344Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:38:54.344Z] [2021-11-15T23:38:54.344Z] Login Succeeded [2021-11-15T23:38:54.344Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:38:54.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:38:54.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:38:54.605Z] Configure a credential helper to remove this warning. See [2021-11-15T23:38:54.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:38:54.605Z] [2021-11-15T23:38:54.605Z] Login Succeeded [2021-11-15T23:38:54.605Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:38:54.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:38:54.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:38:54.605Z] Configure a credential helper to remove this warning. See [2021-11-15T23:38:54.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:38:54.605Z] [2021-11-15T23:38:54.605Z] Login Succeeded [2021-11-15T23:38:54.605Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:38:54.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:38:54.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:38:54.868Z] Configure a credential helper to remove this warning. See [2021-11-15T23:38:54.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:38:54.868Z] [2021-11-15T23:38:54.868Z] Login Succeeded [2021-11-15T23:38:54.868Z] docker.io [2021-11-15T23:38:54.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:38:55.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:38:55.130Z] Configure a credential helper to remove this warning. See [2021-11-15T23:38:55.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:38:55.130Z] [2021-11-15T23:38:55.130Z] Login Succeeded [2021-11-15T23:38:55.130Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:38:55.139Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-15T23:38:55.550Z] + git rev-list -1 --merges 96e184b927e04097306fc9a54b999550e4976e4b~1..96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo [2021-11-15T23:38:55.598Z] -----------> git rev-list -1 --merges 96e184b927e04097306fc9a54b999550e4976e4b~1..96e184b927e04097306fc9a54b999550e4976e4b 96e184b927e04097306fc9a54b999550e4976e4b [false] [Pipeline] sh [2021-11-15T23:38:55.900Z] + git log --format=format:%s -1 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo [2021-11-15T23:38:55.918Z] ========================================================= [2021-11-15T23:38:55.918Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-15T23:38:55.918Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T23:38:56.248Z] + git log --format=format:%s -1 96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] echo [2021-11-15T23:38:56.260Z] [semverPrep] GIT_COMMIT: 96e184b927e04097306fc9a54b999550e4976e4b, Commit Message: feat: Add support for Object ValueType [Pipeline] echo [2021-11-15T23:38:56.267Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:38:56.689Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:38:56.689Z] [2021-11-15T23:38:56.689Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:38:57.003Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:38:57.003Z] latest: Pulling from edgex-devops/git-semver [2021-11-15T23:38:57.003Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T23:38:57.003Z] 3e5f54012d9b: Pulling fs layer [2021-11-15T23:38:57.003Z] 4c7163046ea9: Pulling fs layer [2021-11-15T23:38:57.003Z] 0c2d73faf560: Pulling fs layer [2021-11-15T23:38:57.003Z] 0c2d73faf560: Waiting [2021-11-15T23:38:57.003Z] 3e5f54012d9b: Verifying Checksum [2021-11-15T23:38:57.003Z] 3e5f54012d9b: Download complete [2021-11-15T23:38:57.003Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T23:38:57.003Z] a0d0a0d46f8b: Download complete [2021-11-15T23:38:57.003Z] 0c2d73faf560: Verifying Checksum [2021-11-15T23:38:57.003Z] 0c2d73faf560: Download complete [2021-11-15T23:38:57.003Z] 4c7163046ea9: Verifying Checksum [2021-11-15T23:38:57.003Z] 4c7163046ea9: Download complete [2021-11-15T23:38:57.280Z] a0d0a0d46f8b: Pull complete [2021-11-15T23:38:57.280Z] 3e5f54012d9b: Pull complete [2021-11-15T23:38:57.543Z] 4c7163046ea9: Pull complete [2021-11-15T23:38:57.805Z] 0c2d73faf560: Pull complete [2021-11-15T23:38:57.805Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-15T23:38:57.805Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-15T23:38:57.805Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-15T23:38:57.873Z] prd-centos7-docker-4c-2g-723 does not seem to be running inside a container [2021-11-15T23:38:57.907Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-145 -v /w/workspace/gexfoundry_device-rest-go_PR-145:/w/workspace/gexfoundry_device-rest-go_PR-145:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-145@tmp:/w/workspace/gexfoundry_device-rest-go_PR-145@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:10004/edgex-devops/git-semver:latest cat [2021-11-15T23:38:58.459Z] $ docker top f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-15T23:38:58.546Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T23:38:58.546Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T23:38:58.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T23:38:58.653Z] $ docker exec f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent [2021-11-15T23:38:58.755Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLiMNDA/agent.14 [2021-11-15T23:38:58.755Z] SSH_AGENT_PID=20 [2021-11-15T23:38:58.761Z] Running ssh-add (command line suppressed) [2021-11-15T23:38:58.852Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_1954707379254230572.key (/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_1954707379254230572.key) [2021-11-15T23:38:58.868Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T23:38:59.168Z] + git tag --points-at HEAD [Pipeline] } [2021-11-15T23:38:59.178Z] $ docker exec --env ******** --env ******** f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent -k [2021-11-15T23:38:59.256Z] unset SSH_AUTH_SOCK; [2021-11-15T23:38:59.256Z] unset SSH_AGENT_PID; [2021-11-15T23:38:59.256Z] echo Agent pid 20 killed; [2021-11-15T23:38:59.266Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-15T23:38:59.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-15T23:38:59.284Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-15T23:38:59.391Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-15T23:38:59.393Z] $ docker exec f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent [2021-11-15T23:38:59.481Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXogCmIo/agent.55 [2021-11-15T23:38:59.481Z] SSH_AGENT_PID=62 [2021-11-15T23:38:59.489Z] Running ssh-add (command line suppressed) [2021-11-15T23:38:59.582Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_7013534708788173088.key (/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/private_key_7013534708788173088.key) [2021-11-15T23:38:59.597Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-15T23:38:59.895Z] + git semver init [2021-11-15T23:38:59.895Z] # -> Open(): unable to determine branch for HEAD [2021-11-15T23:38:59.895Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-145/.git [2021-11-15T23:38:59.895Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-145 [2021-11-15T23:38:59.895Z] # $SEMVER_REMOTE_NAME = origin [2021-11-15T23:38:59.895Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-15T23:38:59.895Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-15T23:38:59.895Z] # $SEMVER_BRANCH = PR-145 [2021-11-15T23:38:59.895Z] # $SEMVER_TEMP = /tmp/semver-227615328 [2021-11-15T23:38:59.895Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2021-11-15T23:39:00.836Z] # '/tmp/semver-227615328' -> '/w/workspace/gexfoundry_device-rest-go_PR-145/.semver' [2021-11-15T23:39:00.836Z] # -> Force: false [2021-11-15T23:39:00.836Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-145/.semver [Pipeline] } [2021-11-15T23:39:00.845Z] $ docker exec --env ******** --env ******** f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 ssh-agent -k [2021-11-15T23:39:00.937Z] unset SSH_AUTH_SOCK; [2021-11-15T23:39:00.938Z] unset SSH_AGENT_PID; [2021-11-15T23:39:00.938Z] echo Agent pid 62 killed; [2021-11-15T23:39:00.948Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-15T23:39:01.255Z] + git semver [Pipeline] } [2021-11-15T23:39:01.269Z] $ docker stop --time=1 f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 [2021-11-15T23:39:02.512Z] $ docker rm -f f4ef6c8ff41bc3c3fb26b0d3d1685408c412b9ac84b3f92f73b16bc413f7f856 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T23:39:02.868Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-15T23:39:03.107Z] Stashed 1 file(s) [Pipeline] echo [2021-11-15T23:39:03.110Z] [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-11-15T23:39:18.275Z] Still waiting to schedule task [2021-11-15T23:39:18.275Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-15T23:39:18.277Z] Still waiting to schedule task [2021-11-15T23:39:18.277Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-15T23:40:14.144Z] Running on prd-centos7-docker-4c-2g-726 in /w/workspace/gexfoundry_device-rest-go_PR-145 [Pipeline] { [Pipeline] ws [2021-11-15T23:40:14.160Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-11-15T23:40:14.281Z] The recommended git tool is: git [2021-11-15T23:40:16.142Z] using credential edgex-jenkins-ssh [2021-11-15T23:40:16.153Z] Cloning the remote Git repository [2021-11-15T23:40:15.860Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:15.913Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-11-15T23:40:15.959Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:15.960Z] > git --version # timeout=10 [2021-11-15T23:40:15.969Z] > git --version # 'git version 2.24.4' [2021-11-15T23:40:15.969Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:15.993Z] [INFO] Currently running in a labeled security context [2021-11-15T23:40:15.993Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:40:15.993Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5222149155717060303.key [2021-11-15T23:40:16.020Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:40:22.403Z] Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:40:22.497Z] Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:40:22.497Z] Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) [2021-11-15T23:40:21.534Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-15T23:40:21.547Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:40:21.559Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-15T23:40:21.580Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:21.580Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:21.581Z] [INFO] Currently running in a labeled security context [2021-11-15T23:40:21.581Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:40:21.581Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh5684764364831662949.key [2021-11-15T23:40:21.592Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T23:40:22.103Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:40:22.114Z] > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 [2021-11-15T23:40:22.144Z] > git remote # timeout=10 [2021-11-15T23:40:22.157Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T23:40:22.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:22.166Z] [INFO] Currently running in a labeled security context [2021-11-15T23:40:22.166Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-15T23:40:22.166Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-rest-go/2@tmp/jenkins-gitclient-ssh8931908654939160182.key [2021-11-15T23:40:22.170Z] > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [2021-11-15T23:40:22.178Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T23:40:22.188Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:40:22.197Z] > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 [2021-11-15T23:40:26.018Z] Commit message: "feat: Add support for Object ValueType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:40:26.329Z] provisioning config files... [2021-11-15T23:40:26.345Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config5825077278601116206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:40:26.754Z] ---> docker-login.sh [2021-11-15T23:40:26.754Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:40:26.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:40:26.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:40:26.754Z] Configure a credential helper to remove this warning. See [2021-11-15T23:40:26.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:40:26.754Z] [2021-11-15T23:40:26.754Z] Login Succeeded [2021-11-15T23:40:26.754Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:40:27.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:40:27.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:40:27.019Z] Configure a credential helper to remove this warning. See [2021-11-15T23:40:27.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:40:27.019Z] [2021-11-15T23:40:27.019Z] Login Succeeded [2021-11-15T23:40:27.019Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:40:27.019Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:40:27.019Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:40:27.019Z] Configure a credential helper to remove this warning. See [2021-11-15T23:40:27.019Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:40:27.019Z] [2021-11-15T23:40:27.019Z] Login Succeeded [2021-11-15T23:40:27.019Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:40:27.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:40:27.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:40:27.283Z] Configure a credential helper to remove this warning. See [2021-11-15T23:40:27.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:40:27.283Z] [2021-11-15T23:40:27.283Z] Login Succeeded [2021-11-15T23:40:27.283Z] docker.io [2021-11-15T23:40:27.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:40:27.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:40:27.543Z] Configure a credential helper to remove this warning. See [2021-11-15T23:40:27.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:40:27.543Z] [2021-11-15T23:40:27.543Z] Login Succeeded [2021-11-15T23:40:27.543Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:40:27.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T23:40:27.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T23:40:27.710Z] ========================================================= [2021-11-15T23:40:27.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-15T23:40:27.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:40:28.034Z] + 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-11-15T23:40:28.034Z] Sending build context to Docker daemon 121.3kB [2021-11-15T23:40:28.034Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:40:28.034Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T23:40:28.034Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-15T23:40:28.034Z] a0d0a0d46f8b: Pulling fs layer [2021-11-15T23:40:28.034Z] 31adcdaf11c8: Pulling fs layer [2021-11-15T23:40:28.034Z] b8b176561691: Pulling fs layer [2021-11-15T23:40:28.034Z] 4527c011a84f: Pulling fs layer [2021-11-15T23:40:28.034Z] 5d74067f8e1e: Pulling fs layer [2021-11-15T23:40:28.034Z] e0aca202a116: Pulling fs layer [2021-11-15T23:40:28.034Z] 3a43be97a3b4: Pulling fs layer [2021-11-15T23:40:28.034Z] 34cad66bf833: Pulling fs layer [2021-11-15T23:40:28.034Z] b4e3c513aaa6: Pulling fs layer [2021-11-15T23:40:28.034Z] e0aca202a116: Waiting [2021-11-15T23:40:28.034Z] 3a43be97a3b4: Waiting [2021-11-15T23:40:28.034Z] 34cad66bf833: Waiting [2021-11-15T23:40:28.034Z] b4e3c513aaa6: Waiting [2021-11-15T23:40:28.034Z] 4527c011a84f: Waiting [2021-11-15T23:40:28.034Z] 5d74067f8e1e: Waiting [2021-11-15T23:40:28.034Z] b8b176561691: Verifying Checksum [2021-11-15T23:40:28.034Z] b8b176561691: Download complete [2021-11-15T23:40:28.034Z] 31adcdaf11c8: Verifying Checksum [2021-11-15T23:40:28.034Z] 31adcdaf11c8: Download complete [2021-11-15T23:40:28.034Z] 5d74067f8e1e: Verifying Checksum [2021-11-15T23:40:28.034Z] 5d74067f8e1e: Download complete [2021-11-15T23:40:28.034Z] e0aca202a116: Verifying Checksum [2021-11-15T23:40:28.034Z] e0aca202a116: Download complete [2021-11-15T23:40:28.034Z] a0d0a0d46f8b: Verifying Checksum [2021-11-15T23:40:28.034Z] a0d0a0d46f8b: Download complete [2021-11-15T23:40:28.034Z] 3a43be97a3b4: Verifying Checksum [2021-11-15T23:40:28.034Z] 3a43be97a3b4: Download complete [2021-11-15T23:40:28.300Z] 34cad66bf833: Verifying Checksum [2021-11-15T23:40:28.300Z] 34cad66bf833: Download complete [2021-11-15T23:40:28.572Z] a0d0a0d46f8b: Pull complete [2021-11-15T23:40:28.572Z] 4527c011a84f: Verifying Checksum [2021-11-15T23:40:28.572Z] 4527c011a84f: Download complete [2021-11-15T23:40:28.842Z] b4e3c513aaa6: Verifying Checksum [2021-11-15T23:40:28.842Z] b4e3c513aaa6: Download complete [2021-11-15T23:40:28.842Z] 31adcdaf11c8: Pull complete [2021-11-15T23:40:28.842Z] b8b176561691: Pull complete [2021-11-15T23:40:33.104Z] 4527c011a84f: Pull complete [2021-11-15T23:40:33.104Z] 5d74067f8e1e: Pull complete [2021-11-15T23:40:33.104Z] e0aca202a116: Pull complete [2021-11-15T23:40:33.104Z] 3a43be97a3b4: Pull complete [2021-11-15T23:40:33.104Z] 34cad66bf833: Pull complete [2021-11-15T23:40:35.057Z] b4e3c513aaa6: Pull complete [2021-11-15T23:40:35.057Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-15T23:40:35.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-15T23:40:35.057Z] ---> 9f6097aaca64 [2021-11-15T23:40:35.057Z] Step 3/11 : ARG MAKE='make build' [2021-11-15T23:40:38.364Z] ---> Running in 7400be12c97a [2021-11-15T23:40:38.364Z] Removing intermediate container 7400be12c97a [2021-11-15T23:40:38.364Z] ---> 4625c1b9137c [2021-11-15T23:40:38.364Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:40:38.364Z] ---> Running in 832f11cef567 [2021-11-15T23:40:38.364Z] Removing intermediate container 832f11cef567 [2021-11-15T23:40:38.364Z] ---> 613e468849e5 [2021-11-15T23:40:38.364Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:40:38.364Z] ---> Running in e25abc3be5f0 [2021-11-15T23:40:38.364Z] Removing intermediate container e25abc3be5f0 [2021-11-15T23:40:38.364Z] ---> 78dbb1383fad [2021-11-15T23:40:38.364Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:40:38.364Z] ---> Running in 9b5484e44096 [2021-11-15T23:40:38.944Z] Removing intermediate container 9b5484e44096 [2021-11-15T23:40:38.944Z] ---> c7b31bec58b8 [2021-11-15T23:40:38.944Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:40:38.944Z] ---> Running in 946d65f1a352 [2021-11-15T23:40:39.204Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T23:40:40.148Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T23:40:40.148Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T23:40:40.408Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T23:40:40.408Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T23:40:40.668Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T23:40:40.668Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T23:40:40.668Z] OK: 224 MiB in 56 packages [2021-11-15T23:40:40.930Z] Removing intermediate container 946d65f1a352 [2021-11-15T23:40:40.930Z] ---> 3efeedd7d82b [2021-11-15T23:40:40.930Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-15T23:40:40.930Z] ---> Running in 94d62d699c43 [2021-11-15T23:40:41.190Z] Removing intermediate container 94d62d699c43 [2021-11-15T23:40:41.190Z] ---> 131ff03e954f [2021-11-15T23:40:41.190Z] Step 9/11 : COPY . . [2021-11-15T23:40:41.190Z] ---> 4f675511f7e3 [2021-11-15T23:40:41.190Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:40:41.190Z] ---> Running in 929ff007294a [2021-11-15T23:40:44.143Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-725 in /w/workspace/gexfoundry_device-rest-go_PR-145 [Pipeline] { [Pipeline] ws [2021-11-15T23:40:44.155Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2021-11-15T23:40:44.363Z] The recommended git tool is: git [2021-11-15T23:40:49.668Z] using credential edgex-jenkins-ssh [2021-11-15T23:40:49.686Z] Cloning the remote Git repository [2021-11-15T23:40:49.738Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:49.830Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2021-11-15T23:40:49.894Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:49.895Z] > git --version # timeout=10 [2021-11-15T23:40:49.914Z] > git --version # 'git version 2.17.1' [2021-11-15T23:40:49.915Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:49.983Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:40:55.512Z] Merging remotes/origin/main commit 09739088bb3ccddf347dd8b212f45a4687ee065f into PR head commit 96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:40:55.697Z] Merge succeeded, producing 96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:40:55.698Z] Checking out Revision 96e184b927e04097306fc9a54b999550e4976e4b (PR-145) [2021-11-15T23:40:54.802Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-15T23:40:54.817Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-15T23:40:54.839Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2021-11-15T23:40:54.869Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2021-11-15T23:40:54.870Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:54.882Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/145/head:refs/remotes/origin/PR-145 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-15T23:40:55.531Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:40:55.550Z] > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 [2021-11-15T23:40:55.627Z] > git remote # timeout=10 [2021-11-15T23:40:55.644Z] > git config --get remote.origin.url # timeout=10 [2021-11-15T23:40:55.655Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-15T23:40:55.666Z] > git merge 09739088bb3ccddf347dd8b212f45a4687ee065f # timeout=10 [2021-11-15T23:40:55.686Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-15T23:40:55.704Z] > git config core.sparsecheckout # timeout=10 [2021-11-15T23:40:55.714Z] > git checkout -f 96e184b927e04097306fc9a54b999550e4976e4b # timeout=10 [2021-11-15T23:40:59.938Z] Commit message: "feat: Add support for Object ValueType" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T23:41:00.742Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-15T23:41:00.742Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T23:41:00.742Z] Dload Upload Total Spent Left Speed [2021-11-15T23:41:00.742Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83858 0 --:--:-- --:--:-- --:--:-- 83858 [Pipeline] sh [2021-11-15T23:41:01.165Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-15T23:41:01.516Z] + sudo tee /etc/docker/daemon.new [2021-11-15T23:41:01.516Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-15T23:41:01.516Z] { [2021-11-15T23:41:01.516Z] "registry-mirrors": [ [2021-11-15T23:41:01.516Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-15T23:41:01.516Z] ], [2021-11-15T23:41:01.516Z] "bip": "10.250.0.254/24", [2021-11-15T23:41:01.516Z] "hosts": [ [2021-11-15T23:41:01.516Z] "tcp://0.0.0.0:5555", [2021-11-15T23:41:01.516Z] "unix:///var/run/docker.sock" [2021-11-15T23:41:01.516Z] ], [2021-11-15T23:41:01.516Z] "mtu": 1458, [2021-11-15T23:41:01.516Z] "selinux-enabled": true, [2021-11-15T23:41:01.516Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-15T23:41:01.516Z] } [Pipeline] sh [2021-11-15T23:41:01.867Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-15T23:41:02.307Z] + sudo service docker restart [2021-11-15T23:41:13.354Z] Removing intermediate container 929ff007294a [2021-11-15T23:41:13.354Z] ---> f8787627dfb2 [2021-11-15T23:41:13.354Z] Step 11/11 : RUN $MAKE [2021-11-15T23:41:13.354Z] ---> Running in 8ad0cef1cc90 [2021-11-15T23:41:13.354Z] noop [2021-11-15T23:41:13.354Z] Removing intermediate container 8ad0cef1cc90 [2021-11-15T23:41:13.354Z] ---> 6bd175b31e8f [2021-11-15T23:41:13.354Z] Successfully built 6bd175b31e8f [2021-11-15T23:41:13.354Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:41:13.654Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T23:41:13.654Z] . [Pipeline] withDockerContainer [2021-11-15T23:41:13.721Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2021-11-15T23:41:13.757Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-15T23:41:14.067Z] $ docker top 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:41:14.433Z] + go version [2021-11-15T23:41:14.433Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-15T23:41:14.444Z] $ docker stop --time=1 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de [2021-11-15T23:41:15.619Z] $ docker rm -f 323530b45e40e9450011403149b6eb343f37e10224ab0208e2630e171b66e0de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:41:16.145Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-15T23:41:16.145Z] . [Pipeline] withDockerContainer [2021-11-15T23:41:16.212Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2021-11-15T23:41:16.264Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-15T23:41:16.623Z] $ docker top 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T23:41:16.991Z] + make test [2021-11-15T23:41:16.991Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-15T23:41:17.253Z] ? github.com/edgexfoundry/device-rest-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:41:20.642Z] provisioning config files... [2021-11-15T23:41:20.671Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3148390420016401189tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:41:21.049Z] ---> docker-login.sh [2021-11-15T23:41:21.049Z] nexus3.edgexfoundry.org:10001 [2021-11-15T23:41:21.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:41:22.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:41:22.243Z] Configure a credential helper to remove this warning. See [2021-11-15T23:41:22.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:41:22.243Z] [2021-11-15T23:41:22.243Z] Login Succeeded [2021-11-15T23:41:22.243Z] nexus3.edgexfoundry.org:10002 [2021-11-15T23:41:22.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:41:22.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:41:22.519Z] Configure a credential helper to remove this warning. See [2021-11-15T23:41:22.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:41:22.519Z] [2021-11-15T23:41:22.519Z] Login Succeeded [2021-11-15T23:41:22.519Z] nexus3.edgexfoundry.org:10003 [2021-11-15T23:41:23.116Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:41:23.116Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:41:23.116Z] Configure a credential helper to remove this warning. See [2021-11-15T23:41:23.116Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:41:23.116Z] [2021-11-15T23:41:23.116Z] Login Succeeded [2021-11-15T23:41:23.116Z] nexus3.edgexfoundry.org:10004 [2021-11-15T23:41:23.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:41:23.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:41:23.665Z] Configure a credential helper to remove this warning. See [2021-11-15T23:41:23.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:41:23.665Z] [2021-11-15T23:41:23.665Z] Login Succeeded [2021-11-15T23:41:23.665Z] docker.io [2021-11-15T23:41:23.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-15T23:41:24.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-15T23:41:24.539Z] Configure a credential helper to remove this warning. See [2021-11-15T23:41:24.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-15T23:41:24.539Z] [2021-11-15T23:41:24.539Z] Login Succeeded [2021-11-15T23:41:24.539Z] ---> docker-login.sh ends [Pipeline] } [2021-11-15T23:41:24.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-15T23:41:25.009Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-15T23:41:25.023Z] ========================================================= [2021-11-15T23:41:25.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-15T23:41:25.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:41:25.386Z] + 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-11-15T23:41:25.386Z] Sending build context to Docker daemon 121.3kB [2021-11-15T23:41:25.682Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:41:25.682Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-15T23:41:25.957Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-15T23:41:25.957Z] 552d1f2373af: Pulling fs layer [2021-11-15T23:41:25.957Z] ea3f2d53f512: Pulling fs layer [2021-11-15T23:41:25.957Z] 9e70ebbbe112: Pulling fs layer [2021-11-15T23:41:25.957Z] 7a9cfe048b4a: Pulling fs layer [2021-11-15T23:41:25.957Z] 72dc09318566: Pulling fs layer [2021-11-15T23:41:25.957Z] f4f7b4309257: Pulling fs layer [2021-11-15T23:41:25.958Z] 0ac9a79272e3: Pulling fs layer [2021-11-15T23:41:25.958Z] b78e95d17946: Pulling fs layer [2021-11-15T23:41:25.958Z] f4f7b4309257: Waiting [2021-11-15T23:41:25.958Z] 7a9cfe048b4a: Waiting [2021-11-15T23:41:25.958Z] 72dc09318566: Waiting [2021-11-15T23:41:25.958Z] 9e70ebbbe112: Verifying Checksum [2021-11-15T23:41:25.958Z] 9e70ebbbe112: Download complete [2021-11-15T23:41:25.958Z] ea3f2d53f512: Download complete [2021-11-15T23:41:25.958Z] 72dc09318566: Verifying Checksum [2021-11-15T23:41:25.958Z] 72dc09318566: Download complete [2021-11-15T23:41:25.958Z] f4f7b4309257: Verifying Checksum [2021-11-15T23:41:25.958Z] f4f7b4309257: Download complete [2021-11-15T23:41:25.958Z] 552d1f2373af: Verifying Checksum [2021-11-15T23:41:25.958Z] 552d1f2373af: Download complete [2021-11-15T23:41:25.958Z] 0ac9a79272e3: Download complete [2021-11-15T23:41:26.947Z] 552d1f2373af: Pull complete [2021-11-15T23:41:27.555Z] ea3f2d53f512: Pull complete [2021-11-15T23:41:27.835Z] 9e70ebbbe112: Pull complete [2021-11-15T23:41:27.835Z] b78e95d17946: Verifying Checksum [2021-11-15T23:41:27.835Z] b78e95d17946: Download complete [2021-11-15T23:41:28.434Z] 7a9cfe048b4a: Verifying Checksum [2021-11-15T23:41:28.434Z] 7a9cfe048b4a: Download complete [2021-11-15T23:41:32.226Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-15T23:41:32.812Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 56.0% of statements [2021-11-15T23:41:32.812Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-15T23:41:38.598Z] 7a9cfe048b4a: Pull complete [2021-11-15T23:41:38.873Z] 72dc09318566: Pull complete [2021-11-15T23:41:39.146Z] f4f7b4309257: Pull complete [2021-11-15T23:41:39.759Z] 0ac9a79272e3: Pull complete [2021-11-15T23:41:40.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T23:41:40.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T23:41:40.989Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-15T23:41:41.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-15T23:41:41.014Z] $ docker stop --time=1 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 [2021-11-15T23:41:42.528Z] $ docker rm -f 64e760108df6a74a114b5b97a3e53c1bc6918eeff9d8f14949b7863dbce4a581 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T23:41:42.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-15T23:41:43.105Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-15T23:41:44.344Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-15T23:41:44.638Z] + ls -al . [2021-11-15T23:41:44.638Z] total 144 [2021-11-15T23:41:44.638Z] drwxrwxr-x. 8 jenkins jenkins 4096 Nov 15 23:41 . [2021-11-15T23:41:44.638Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 15 23:40 .. [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 7095 Nov 15 23:40 Attribution.txt [2021-11-15T23:41:44.638Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 15 23:40 bin [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 7459 Nov 15 23:40 CHANGELOG.md [2021-11-15T23:41:44.638Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 15 23:40 cmd [2021-11-15T23:41:44.638Z] -rw-r--r--. 1 jenkins jenkins 9215 Nov 15 23:41 coverage.out [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 1649 Nov 15 23:40 Dockerfile [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 151 Nov 15 23:40 .dockerignore [2021-11-15T23:41:44.638Z] drwxrwxr-x. 2 jenkins jenkins 76 Nov 15 23:40 driver [2021-11-15T23:41:44.638Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 15 23:40 .git [2021-11-15T23:41:44.638Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 15 23:40 .github [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 15 23:40 .gitignore [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 271 Nov 15 23:40 go.mod [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 49306 Nov 15 23:40 go.sum [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 15 23:40 GOVERNANCE.md [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 680 Nov 15 23:40 Jenkinsfile [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 15 23:40 LICENSE [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 1078 Nov 15 23:40 Makefile [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 15 23:40 OWNERS.md [2021-11-15T23:41:44.638Z] -rw-rw-r--. 1 jenkins jenkins 7661 Nov 15 23:40 README.md [2021-11-15T23:41:44.639Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 15 23:40 snap [2021-11-15T23:41:44.639Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 15 23:39 VERSION [2021-11-15T23:41:44.639Z] -rw-rw-r--. 1 jenkins jenkins 713 Nov 15 23:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:41:44.936Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=96e184b927e04097306fc9a54b999550e4976e4b --label arch=amd64 --label version=0.0.0 . [2021-11-15T23:41:44.936Z] Sending build context to Docker daemon 131.1kB [2021-11-15T23:41:44.936Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:41:44.936Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-15T23:41:44.936Z] ---> 6bd175b31e8f [2021-11-15T23:41:44.936Z] Step 3/24 : ARG MAKE='make build' [2021-11-15T23:41:44.936Z] ---> Running in 322e37e51535 [2021-11-15T23:41:44.936Z] Removing intermediate container 322e37e51535 [2021-11-15T23:41:44.936Z] ---> 782d51e94e6c [2021-11-15T23:41:44.936Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:41:44.936Z] ---> Running in e615a61b000a [2021-11-15T23:41:45.197Z] Removing intermediate container e615a61b000a [2021-11-15T23:41:45.197Z] ---> 1fe1d5c6c869 [2021-11-15T23:41:45.197Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:41:45.198Z] ---> Running in 0e5ad6a77ce7 [2021-11-15T23:41:45.198Z] Removing intermediate container 0e5ad6a77ce7 [2021-11-15T23:41:45.198Z] ---> 0e10631c7f67 [2021-11-15T23:41:45.198Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:41:45.198Z] ---> Running in 8351eca9d3f1 [2021-11-15T23:41:45.776Z] Removing intermediate container 8351eca9d3f1 [2021-11-15T23:41:45.776Z] ---> 0142ac87df63 [2021-11-15T23:41:45.776Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:41:45.776Z] ---> Running in e8cabb02a33e [2021-11-15T23:41:46.037Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T23:41:46.473Z] b78e95d17946: Pull complete [2021-11-15T23:41:46.473Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-15T23:41:46.473Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-15T23:41:46.473Z] ---> 8b459fc5aaf0 [2021-11-15T23:41:46.473Z] Step 3/11 : ARG MAKE='make build' [2021-11-15T23:41:46.979Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T23:41:46.980Z] OK: 224 MiB in 56 packages [2021-11-15T23:41:47.072Z] ---> Running in 66e52447358b [2021-11-15T23:41:47.250Z] Removing intermediate container e8cabb02a33e [2021-11-15T23:41:47.250Z] ---> c3dbd0240438 [2021-11-15T23:41:47.250Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-15T23:41:47.250Z] ---> Running in 53af964f4f83 [2021-11-15T23:41:47.509Z] Removing intermediate container 53af964f4f83 [2021-11-15T23:41:47.509Z] ---> bb6aa277cea7 [2021-11-15T23:41:47.509Z] Step 9/24 : COPY . . [2021-11-15T23:41:47.509Z] ---> c85efacb85f6 [2021-11-15T23:41:47.509Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:41:47.509Z] ---> Running in 75858b98d56e [2021-11-15T23:41:47.668Z] Removing intermediate container 66e52447358b [2021-11-15T23:41:47.668Z] ---> 045ccfd311e1 [2021-11-15T23:41:47.668Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:41:47.668Z] ---> Running in 94478e8bcc0f [2021-11-15T23:41:48.081Z] Removing intermediate container 75858b98d56e [2021-11-15T23:41:48.081Z] ---> 4ef2f5b22215 [2021-11-15T23:41:48.081Z] Step 11/24 : RUN $MAKE [2021-11-15T23:41:48.081Z] ---> Running in 51dfe89eb4b3 [2021-11-15T23:41:48.263Z] Removing intermediate container 94478e8bcc0f [2021-11-15T23:41:48.263Z] ---> eb3e6875c9f8 [2021-11-15T23:41:48.263Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:41:48.263Z] ---> Running in 1c9c92600e07 [2021-11-15T23:41:48.350Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-15T23:41:48.542Z] Removing intermediate container 1c9c92600e07 [2021-11-15T23:41:48.542Z] ---> e69b0de0c46c [2021-11-15T23:41:48.542Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:41:48.814Z] ---> Running in fadf346a5613 [2021-11-15T23:41:50.803Z] Removing intermediate container fadf346a5613 [2021-11-15T23:41:50.803Z] ---> 1e97f999da86 [2021-11-15T23:41:50.803Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:41:50.803Z] ---> Running in 317a79bfe26b [2021-11-15T23:41:52.237Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T23:41:52.830Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T23:41:53.812Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-15T23:41:53.812Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-15T23:41:53.812Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-15T23:41:54.084Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-15T23:41:54.084Z] Executing busybox-1.33.1-r3.trigger [2021-11-15T23:41:54.084Z] OK: 223 MiB in 56 packages [2021-11-15T23:41:55.078Z] Removing intermediate container 317a79bfe26b [2021-11-15T23:41:55.078Z] ---> ccbafc55021a [2021-11-15T23:41:55.078Z] Step 8/11 : WORKDIR /device-rest-go [2021-11-15T23:41:55.351Z] ---> Running in 0d81bb551398 [2021-11-15T23:41:55.625Z] Removing intermediate container 0d81bb551398 [2021-11-15T23:41:55.625Z] ---> 4c8bc067d863 [2021-11-15T23:41:55.625Z] Step 9/11 : COPY . . [2021-11-15T23:41:56.618Z] ---> 105cc8d1f273 [2021-11-15T23:41:56.618Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:41:56.618Z] ---> Running in 884fb50159e6 [2021-11-15T23:42:00.672Z] Removing intermediate container 51dfe89eb4b3 [2021-11-15T23:42:00.672Z] ---> 9750c568bb1a [2021-11-15T23:42:00.672Z] Step 12/24 : FROM alpine:3.14 [2021-11-15T23:42:00.672Z] 3.14: Pulling from library/alpine [2021-11-15T23:42:00.672Z] 97518928ae5f: Pulling fs layer [2021-11-15T23:42:00.672Z] 97518928ae5f: Verifying Checksum [2021-11-15T23:42:00.672Z] 97518928ae5f: Download complete [2021-11-15T23:42:00.672Z] 97518928ae5f: Pull complete [2021-11-15T23:42:00.672Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-15T23:42:00.672Z] Status: Downloaded newer image for alpine:3.14 [2021-11-15T23:42:00.672Z] ---> 0a97eee8041e [2021-11-15T23:42:00.672Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-15T23:42:00.672Z] ---> Running in 32a28838cf98 [2021-11-15T23:42:00.672Z] Removing intermediate container 32a28838cf98 [2021-11-15T23:42:00.672Z] ---> 9d70dc1a912e [2021-11-15T23:42:00.672Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-15T23:42:00.672Z] ---> Running in 08e3aaacec1c [2021-11-15T23:42:00.672Z] Removing intermediate container 08e3aaacec1c [2021-11-15T23:42:00.672Z] ---> 284c91f77130 [2021-11-15T23:42:00.672Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-15T23:42:00.944Z] ---> Running in 67e407a76742 [2021-11-15T23:42:01.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-15T23:42:01.218Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-15T23:42:01.480Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-15T23:42:01.480Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-15T23:42:01.480Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-15T23:42:01.480Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-15T23:42:01.480Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-15T23:42:01.480Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-15T23:42:01.480Z] Executing busybox-1.33.1-r6.trigger [2021-11-15T23:42:01.480Z] OK: 8 MiB in 20 packages [2021-11-15T23:42:01.741Z] Removing intermediate container 67e407a76742 [2021-11-15T23:42:01.741Z] ---> c705ce9d0727 [2021-11-15T23:42:01.741Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-15T23:42:02.002Z] ---> 11523212fc25 [2021-11-15T23:42:02.002Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-15T23:42:02.263Z] ---> 254cbea7cfbb [2021-11-15T23:42:02.263Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-15T23:42:02.263Z] ---> e6bca4a6e896 [2021-11-15T23:42:02.263Z] Step 19/24 : EXPOSE 59986 [2021-11-15T23:42:02.524Z] ---> Running in c59d68ab5364 [2021-11-15T23:42:02.524Z] Removing intermediate container c59d68ab5364 [2021-11-15T23:42:02.524Z] ---> f36f59cd9b04 [2021-11-15T23:42:02.524Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-15T23:42:02.524Z] ---> Running in 9a1c3d25dc8e [2021-11-15T23:42:02.524Z] Removing intermediate container 9a1c3d25dc8e [2021-11-15T23:42:02.524Z] ---> 28f619e148e2 [2021-11-15T23:42:02.524Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-15T23:42:02.524Z] ---> Running in f0ea2e25f30e [2021-11-15T23:42:02.785Z] Removing intermediate container f0ea2e25f30e [2021-11-15T23:42:02.785Z] ---> 787e74501ff3 [2021-11-15T23:42:02.785Z] Step 22/24 : LABEL arch=amd64 [2021-11-15T23:42:02.785Z] ---> Running in e475ff668de5 [2021-11-15T23:42:02.785Z] Removing intermediate container e475ff668de5 [2021-11-15T23:42:02.785Z] ---> ce557c4a4a89 [2021-11-15T23:42:02.785Z] Step 23/24 : LABEL git_sha=96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:42:02.785Z] ---> Running in c15d804d5406 [2021-11-15T23:42:03.048Z] Removing intermediate container c15d804d5406 [2021-11-15T23:42:03.048Z] ---> 54b88e333692 [2021-11-15T23:42:03.048Z] Step 24/24 : LABEL version=0.0.0 [2021-11-15T23:42:03.048Z] ---> Running in b85a661d8484 [2021-11-15T23:42:03.048Z] Removing intermediate container b85a661d8484 [2021-11-15T23:42:03.048Z] ---> f3582438a1bd [2021-11-15T23:42:03.048Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-15T23:42:03.048Z] Successfully built f3582438a1bd [2021-11-15T23:42:03.048Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:42:03.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:42:03.700Z] [2021-11-15T23:42:03.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:42:04.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:42:04.002Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T23:42:04.002Z] b4d181a07f80: Pulling fs layer [2021-11-15T23:42:04.002Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T23:42:04.002Z] ed53099fbce6: Pulling fs layer [2021-11-15T23:42:04.002Z] dc539afda2c1: Pulling fs layer [2021-11-15T23:42:04.002Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T23:42:04.002Z] 9065ff56babe: Pulling fs layer [2021-11-15T23:42:04.002Z] d287ab97295c: Pulling fs layer [2021-11-15T23:42:04.002Z] dc539afda2c1: Waiting [2021-11-15T23:42:04.002Z] 77bc0d833cb6: Waiting [2021-11-15T23:42:04.002Z] 9065ff56babe: Waiting [2021-11-15T23:42:04.002Z] d287ab97295c: Waiting [2021-11-15T23:42:04.002Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T23:42:04.002Z] a1111a8f2ec3: Download complete [2021-11-15T23:42:04.002Z] dc539afda2c1: Verifying Checksum [2021-11-15T23:42:04.002Z] dc539afda2c1: Download complete [2021-11-15T23:42:04.002Z] ed53099fbce6: Verifying Checksum [2021-11-15T23:42:04.002Z] ed53099fbce6: Download complete [2021-11-15T23:42:04.002Z] 9065ff56babe: Verifying Checksum [2021-11-15T23:42:04.002Z] 9065ff56babe: Download complete [2021-11-15T23:42:04.002Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T23:42:04.002Z] 77bc0d833cb6: Download complete [2021-11-15T23:42:04.267Z] b4d181a07f80: Verifying Checksum [2021-11-15T23:42:04.267Z] b4d181a07f80: Download complete [2021-11-15T23:42:04.845Z] d287ab97295c: Verifying Checksum [2021-11-15T23:42:04.845Z] d287ab97295c: Download complete [2021-11-15T23:42:05.801Z] b4d181a07f80: Pull complete [2021-11-15T23:42:05.801Z] a1111a8f2ec3: Pull complete [2021-11-15T23:42:06.373Z] ed53099fbce6: Pull complete [2021-11-15T23:42:06.373Z] dc539afda2c1: Pull complete [2021-11-15T23:42:06.637Z] 77bc0d833cb6: Pull complete [2021-11-15T23:42:06.637Z] 9065ff56babe: Pull complete [2021-11-15T23:42:11.973Z] d287ab97295c: Pull complete [2021-11-15T23:42:11.973Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T23:42:11.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:42:11.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T23:42:12.032Z] prd-centos7-docker-4c-2g-726 does not seem to be running inside a container [2021-11-15T23:42:12.065Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-15T23:42:14.461Z] $ docker top e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:42:14.865Z] ---> job-cost.sh [2021-11-15T23:42:14.865Z] lf-activate-venv: SKIPPING [2021-11-15T23:42:14.865Z] INFO: No Stack... [2021-11-15T23:42:15.126Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T23:42:15.386Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T23:42:15.680Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-11-15T23:42:15.680Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T23:42:15.708Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [2021-11-15T23:42:15.717Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] did not exist. Created. [2021-11-15T23:42:15.717Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T23:42:16.025Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-15T23:42:16.051Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T23:42:16.057Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T23:42:16.070Z] $ docker stop --time=1 e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a [2021-11-15T23:42:17.217Z] $ docker rm -f e7f7a7e3eef2f4ba1c783c254161d3ac3b9f4bda9c3160cc660d888a5c16ec8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-15T23:43:18.429Z] Removing intermediate container 884fb50159e6 [2021-11-15T23:43:18.429Z] ---> d6730e84e6b9 [2021-11-15T23:43:18.429Z] Step 11/11 : RUN $MAKE [2021-11-15T23:43:18.429Z] ---> Running in 3e939764eefc [2021-11-15T23:43:18.429Z] noop [2021-11-15T23:43:18.429Z] Removing intermediate container 3e939764eefc [2021-11-15T23:43:18.429Z] ---> 2bb8dc0ed5e3 [2021-11-15T23:43:18.429Z] Successfully built 2bb8dc0ed5e3 [2021-11-15T23:43:18.429Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:43:18.779Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T23:43:18.779Z] . [Pipeline] withDockerContainer [2021-11-15T23:43:19.076Z] prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container [2021-11-15T23:43:19.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T23:43:20.730Z] $ docker top a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:43:21.687Z] + go version [2021-11-15T23:43:21.687Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-15T23:43:21.715Z] $ docker stop --time=1 a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 [2021-11-15T23:43:23.394Z] $ docker rm -f a14a76aa38827d709e57615681ae6cf52cd2633d28341279df8fd674c650c935 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:43:24.142Z] + docker inspect -f . ci-base-image-arm64 [2021-11-15T23:43:24.142Z] . [Pipeline] withDockerContainer [2021-11-15T23:43:24.412Z] prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container [2021-11-15T23:43:24.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-15T23:43:26.045Z] $ docker top 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-15T23:43:27.037Z] + make test [2021-11-15T23:43:27.037Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2021-11-15T23:43:28.490Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2021-11-15T23:44:25.075Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2021-11-15T23:44:25.347Z] ok github.com/edgexfoundry/device-rest-go/driver 0.057s coverage: 56.0% of statements [2021-11-15T23:44:25.621Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-15T23:44:57.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-15T23:44:57.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-15T23:44:57.978Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-15T23:44:58.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-15T23:44:58.017Z] $ docker stop --time=1 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 [2021-11-15T23:44:59.866Z] $ docker rm -f 6dde4df1d8c7226aabf5aa276d83bfe70bb10350db49b6885313d512441b91d8 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-15T23:45:00.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-15T23:45:00.736Z] Warning: overwriting stash ‘coverage-report’ [2021-11-15T23:45:01.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-15T23:45:01.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-15T23:45:02.077Z] + ls -al . [2021-11-15T23:45:02.077Z] total 172 [2021-11-15T23:45:02.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:44 . [2021-11-15T23:45:02.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 23:40 .. [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 15 23:40 .dockerignore [2021-11-15T23:45:02.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 15 23:40 .git [2021-11-15T23:45:02.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 .github [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 15 23:40 .gitignore [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 7095 Nov 15 23:40 Attribution.txt [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 7459 Nov 15 23:40 CHANGELOG.md [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 1649 Nov 15 23:40 Dockerfile [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 15 23:40 GOVERNANCE.md [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 15 23:40 Jenkinsfile [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 15 23:40 LICENSE [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 1078 Nov 15 23:40 Makefile [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 15 23:40 OWNERS.md [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 7661 Nov 15 23:40 README.md [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 15 23:39 VERSION [2021-11-15T23:45:02.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 bin [2021-11-15T23:45:02.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 15 23:40 cmd [2021-11-15T23:45:02.077Z] -rw-r--r-- 1 jenkins jenkins 9215 Nov 15 23:44 coverage.out [2021-11-15T23:45:02.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 15 23:40 driver [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 271 Nov 15 23:40 go.mod [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 49306 Nov 15 23:40 go.sum [2021-11-15T23:45:02.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 15 23:40 snap [2021-11-15T23:45:02.077Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 15 23:40 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:45:02.459Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=96e184b927e04097306fc9a54b999550e4976e4b --label arch=arm64 --label version=0.0.0 . [2021-11-15T23:45:02.459Z] Sending build context to Docker daemon 131.1kB [2021-11-15T23:45:03.077Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-15T23:45:03.077Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-15T23:45:03.077Z] ---> 2bb8dc0ed5e3 [2021-11-15T23:45:03.077Z] Step 3/24 : ARG MAKE='make build' [2021-11-15T23:45:03.077Z] ---> Running in 437db86ed8c0 [2021-11-15T23:45:03.689Z] Removing intermediate container 437db86ed8c0 [2021-11-15T23:45:03.689Z] ---> 8d8caadf052a [2021-11-15T23:45:03.689Z] Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-15T23:45:03.689Z] ---> Running in a8fd7f1b85f0 [2021-11-15T23:45:04.301Z] Removing intermediate container a8fd7f1b85f0 [2021-11-15T23:45:04.301Z] ---> b4c8b0fc809a [2021-11-15T23:45:04.301Z] Step 5/24 : ARG ALPINE_PKG_EXTRA="" [2021-11-15T23:45:04.301Z] ---> Running in 8a0a66c9cb59 [2021-11-15T23:45:04.601Z] Removing intermediate container 8a0a66c9cb59 [2021-11-15T23:45:04.601Z] ---> 5adf4c0f5ae0 [2021-11-15T23:45:04.601Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-15T23:45:04.883Z] ---> Running in 9e42c7468247 [2021-11-15T23:45:06.856Z] Removing intermediate container 9e42c7468247 [2021-11-15T23:45:06.856Z] ---> 5ea0dc890542 [2021-11-15T23:45:06.856Z] Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-15T23:45:06.856Z] ---> Running in 3e63298b6949 [2021-11-15T23:45:08.291Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T23:45:08.886Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T23:45:09.863Z] OK: 223 MiB in 56 packages [2021-11-15T23:45:10.847Z] Removing intermediate container 3e63298b6949 [2021-11-15T23:45:10.847Z] ---> 75c985872a7f [2021-11-15T23:45:10.847Z] Step 8/24 : WORKDIR /device-rest-go [2021-11-15T23:45:10.847Z] ---> Running in 33fae32963a0 [2021-11-15T23:45:11.448Z] Removing intermediate container 33fae32963a0 [2021-11-15T23:45:11.448Z] ---> 42b0294bfd49 [2021-11-15T23:45:11.448Z] Step 9/24 : COPY . . [2021-11-15T23:45:12.469Z] ---> 1876c72717c2 [2021-11-15T23:45:12.469Z] Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-15T23:45:12.469Z] ---> Running in f09d95c75ac0 [2021-11-15T23:45:15.093Z] Removing intermediate container f09d95c75ac0 [2021-11-15T23:45:15.093Z] ---> 366fde8f087e [2021-11-15T23:45:15.093Z] Step 11/24 : RUN $MAKE [2021-11-15T23:45:15.093Z] ---> Running in 9967e53d4837 [2021-11-15T23:45:16.075Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest ./cmd [2021-11-15T23:45:55.105Z] Removing intermediate container 9967e53d4837 [2021-11-15T23:45:55.105Z] ---> 59e2d959c058 [2021-11-15T23:45:55.105Z] Step 12/24 : FROM alpine:3.14 [2021-11-15T23:45:59.407Z] 3.14: Pulling from library/alpine [2021-11-15T23:45:59.407Z] be307f383ecc: Pulling fs layer [2021-11-15T23:45:59.407Z] be307f383ecc: Verifying Checksum [2021-11-15T23:45:59.407Z] be307f383ecc: Download complete [2021-11-15T23:45:59.703Z] be307f383ecc: Pull complete [2021-11-15T23:45:59.703Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-15T23:45:59.703Z] Status: Downloaded newer image for alpine:3.14 [2021-11-15T23:45:59.703Z] ---> 5b8b7b635229 [2021-11-15T23:45:59.703Z] Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2021-11-15T23:45:59.980Z] ---> Running in d0623a4fe713 [2021-11-15T23:46:00.253Z] Removing intermediate container d0623a4fe713 [2021-11-15T23:46:00.253Z] ---> c0f4031eaa0c [2021-11-15T23:46:00.253Z] Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} [2021-11-15T23:46:00.528Z] ---> Running in f56e770a6d58 [2021-11-15T23:46:00.799Z] Removing intermediate container f56e770a6d58 [2021-11-15T23:46:00.799Z] ---> c5a991e6c6a8 [2021-11-15T23:46:00.799Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-15T23:46:01.075Z] ---> Running in 26cc88796dfe [2021-11-15T23:46:02.513Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-15T23:46:02.514Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-15T23:46:03.489Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-15T23:46:03.489Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-15T23:46:03.489Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-15T23:46:03.489Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-15T23:46:03.489Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-15T23:46:03.489Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-15T23:46:03.489Z] Executing busybox-1.33.1-r6.trigger [2021-11-15T23:46:03.489Z] OK: 8 MiB in 20 packages [2021-11-15T23:46:04.470Z] Removing intermediate container 26cc88796dfe [2021-11-15T23:46:04.470Z] ---> 6369c384dffa [2021-11-15T23:46:04.470Z] Step 16/24 : COPY --from=builder /device-rest-go/cmd / [2021-11-15T23:46:05.898Z] ---> 44649ce478da [2021-11-15T23:46:05.898Z] Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / [2021-11-15T23:46:06.492Z] ---> c1e52e027c78 [2021-11-15T23:46:06.492Z] Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / [2021-11-15T23:46:07.467Z] ---> a5d8fd81ca20 [2021-11-15T23:46:07.467Z] Step 19/24 : EXPOSE 59986 [2021-11-15T23:46:07.467Z] ---> Running in 71dd511206ef [2021-11-15T23:46:07.740Z] Removing intermediate container 71dd511206ef [2021-11-15T23:46:07.740Z] ---> fbacd18eb284 [2021-11-15T23:46:07.740Z] Step 20/24 : ENTRYPOINT ["/device-rest"] [2021-11-15T23:46:08.022Z] ---> Running in 9532a3e1e2f9 [2021-11-15T23:46:08.293Z] Removing intermediate container 9532a3e1e2f9 [2021-11-15T23:46:08.293Z] ---> 8b0e90bc21f2 [2021-11-15T23:46:08.293Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2021-11-15T23:46:08.293Z] ---> Running in fe3b6f228368 [2021-11-15T23:46:08.890Z] Removing intermediate container fe3b6f228368 [2021-11-15T23:46:08.890Z] ---> e2f83e8d3191 [2021-11-15T23:46:08.890Z] Step 22/24 : LABEL arch=arm64 [2021-11-15T23:46:08.890Z] ---> Running in 3d4a2f8d5e52 [2021-11-15T23:46:09.488Z] Removing intermediate container 3d4a2f8d5e52 [2021-11-15T23:46:09.489Z] ---> 85e3f06e452c [2021-11-15T23:46:09.489Z] Step 23/24 : LABEL git_sha=96e184b927e04097306fc9a54b999550e4976e4b [2021-11-15T23:46:09.489Z] ---> Running in 0cbfd608ea81 [2021-11-15T23:46:10.086Z] Removing intermediate container 0cbfd608ea81 [2021-11-15T23:46:10.086Z] ---> 5c6759224662 [2021-11-15T23:46:10.086Z] Step 24/24 : LABEL version=0.0.0 [2021-11-15T23:46:10.086Z] ---> Running in 3cb787613ac5 [2021-11-15T23:46:10.361Z] Removing intermediate container 3cb787613ac5 [2021-11-15T23:46:10.361Z] ---> eeb0315fcf86 [2021-11-15T23:46:10.361Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-15T23:46:10.361Z] Successfully built eeb0315fcf86 [2021-11-15T23:46:10.361Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:46:10.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:46:11.216Z] [2021-11-15T23:46:11.216Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:46:11.565Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:46:11.840Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-15T23:46:11.840Z] 448f6bf000e3: Pulling fs layer [2021-11-15T23:46:11.840Z] f757da607395: Pulling fs layer [2021-11-15T23:46:11.840Z] 05883995daec: Pulling fs layer [2021-11-15T23:46:11.840Z] 8603b9c90790: Pulling fs layer [2021-11-15T23:46:11.840Z] 1560dd03e051: Pulling fs layer [2021-11-15T23:46:11.840Z] 27f5ce0e4adf: Pulling fs layer [2021-11-15T23:46:11.840Z] c2d8d7efcc4b: Pulling fs layer [2021-11-15T23:46:11.840Z] 8603b9c90790: Waiting [2021-11-15T23:46:11.840Z] 1560dd03e051: Waiting [2021-11-15T23:46:11.840Z] 27f5ce0e4adf: Waiting [2021-11-15T23:46:11.840Z] c2d8d7efcc4b: Waiting [2021-11-15T23:46:11.840Z] f757da607395: Verifying Checksum [2021-11-15T23:46:11.840Z] f757da607395: Download complete [2021-11-15T23:46:11.840Z] 8603b9c90790: Verifying Checksum [2021-11-15T23:46:11.840Z] 8603b9c90790: Download complete [2021-11-15T23:46:12.115Z] 1560dd03e051: Verifying Checksum [2021-11-15T23:46:12.115Z] 1560dd03e051: Download complete [2021-11-15T23:46:12.115Z] 27f5ce0e4adf: Verifying Checksum [2021-11-15T23:46:12.115Z] 27f5ce0e4adf: Download complete [2021-11-15T23:46:12.115Z] 05883995daec: Verifying Checksum [2021-11-15T23:46:12.115Z] 05883995daec: Download complete [2021-11-15T23:46:12.388Z] 448f6bf000e3: Verifying Checksum [2021-11-15T23:46:12.388Z] 448f6bf000e3: Download complete [2021-11-15T23:46:15.006Z] c2d8d7efcc4b: Verifying Checksum [2021-11-15T23:46:15.006Z] c2d8d7efcc4b: Download complete [2021-11-15T23:46:15.985Z] 448f6bf000e3: Pull complete [2021-11-15T23:46:16.582Z] f757da607395: Pull complete [2021-11-15T23:46:18.017Z] 05883995daec: Pull complete [2021-11-15T23:46:18.288Z] 8603b9c90790: Pull complete [2021-11-15T23:46:19.268Z] 1560dd03e051: Pull complete [2021-11-15T23:46:19.541Z] 27f5ce0e4adf: Pull complete [2021-11-15T23:46:34.614Z] c2d8d7efcc4b: Pull complete [2021-11-15T23:46:34.614Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-15T23:46:34.614Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-15T23:46:34.614Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-15T23:46:34.888Z] prd-ubuntu18.04-docker-arm64-4c-16g-725 does not seem to be running inside a container [2021-11-15T23:46:34.971Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-15T23:46:38.253Z] $ docker top 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:46:39.295Z] ---> job-cost.sh [2021-11-15T23:46:39.295Z] lf-activate-venv: SKIPPING [2021-11-15T23:46:39.295Z] INFO: No Stack... [2021-11-15T23:46:39.568Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-15T23:46:40.164Z] INFO: Archiving Costs [Pipeline] sh [2021-11-15T23:46:40.832Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2021-11-15T23:46:40.832Z] + cut -d, -f6 [Pipeline] lock [2021-11-15T23:46:40.897Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [2021-11-15T23:46:40.903Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] did not exist. Created. [2021-11-15T23:46:40.903Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-15T23:46:41.600Z] /w/workspace/device-rest-go/2@tmp/durable-e05a2091/script.sh: 1: /w/workspace/device-rest-go/2@tmp/durable-e05a2091/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-15T23:46:42.310Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-15T23:46:42.336Z] Warning: overwriting stash ‘stack-cost’ [2021-11-15T23:46:42.436Z] Stashed 1 file(s) [Pipeline] } [2021-11-15T23:46:42.443Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-145-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-15T23:46:42.457Z] $ docker stop --time=1 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d [2021-11-15T23:46:44.070Z] $ docker rm -f 341f502e85f14a96c082231de270ef1476afa4e23cea28bb5f3ef7edd62f0f0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-15T23:46:44.784Z] provisioning config files... [2021-11-15T23:46:44.792Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config3989942722664703821tmp [Pipeline] { [Pipeline] sh [2021-11-15T23:46:45.088Z] + set +x [2021-11-15T23:46:45.088Z] + curl -s https://codecov.io/bash [2021-11-15T23:46:45.088Z] + bash -s -- [2021-11-15T23:46:45.088Z] [2021-11-15T23:46:45.088Z] _____ _ [2021-11-15T23:46:45.088Z] / ____| | | [2021-11-15T23:46:45.088Z] | | ___ __| | ___ ___ _____ __ [2021-11-15T23:46:45.088Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-15T23:46:45.088Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-15T23:46:45.088Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-15T23:46:45.088Z] Bash-1.0.6 [2021-11-15T23:46:45.088Z] [2021-11-15T23:46:45.088Z] [2021-11-15T23:46:45.088Z] ==> git version 2.24.4 found [2021-11-15T23:46:45.088Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-15T23:46:45.088Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-15T23:46:45.088Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-15T23:46:45.088Z] ==> Jenkins CI detected. [2021-11-15T23:46:45.088Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-145 [2021-11-15T23:46:45.088Z] project root: . [2021-11-15T23:46:45.088Z] --> token set from env [2021-11-15T23:46:45.088Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-15T23:46:45.353Z] ==> Running gcov in . (disable via -X gcov) [2021-11-15T23:46:45.353Z] ==> Python coveragepy not found [2021-11-15T23:46:45.353Z] ==> Searching for coverage reports in: [2021-11-15T23:46:45.353Z] + . [2021-11-15T23:46:45.353Z] -> Found 1 reports [2021-11-15T23:46:45.353Z] ==> Detecting git/mercurial file structure [2021-11-15T23:46:45.353Z] ==> Reading reports [2021-11-15T23:46:45.353Z] + ./coverage.out bytes=9215 [2021-11-15T23:46:45.353Z] ==> Appending adjustments [2021-11-15T23:46:45.353Z] https://docs.codecov.io/docs/fixing-reports [2021-11-15T23:46:45.353Z] + Found adjustments [2021-11-15T23:46:45.353Z] ==> Gzipping contents [2021-11-15T23:46:45.353Z] 4.0K /tmp/codecov.9EXxRn.gz [2021-11-15T23:46:45.353Z] ==> Uploading reports [2021-11-15T23:46:45.353Z] url: https://codecov.io [2021-11-15T23:46:45.353Z] query: branch=PR-145&commit=96e184b927e04097306fc9a54b999550e4976e4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-145%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=145&job=&cmd_args= [2021-11-15T23:46:45.353Z] -> Pinging Codecov [2021-11-15T23:46:45.353Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-145&commit=96e184b927e04097306fc9a54b999550e4976e4b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-145%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=145&job=&cmd_args= [2021-11-15T23:46:45.614Z] -> Uploading to [2021-11-15T23:46:45.614Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-15/4E5D53B4F1F92C436F7061BF334D961C/96e184b927e04097306fc9a54b999550e4976e4b/2df755fb-fa53-425c-a3c6-3900ffc6de32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211115%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211115T234645Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f407f7f8a2c1c49361ae1708c20c15443e0a0bd023a8de153b773d66aa13a079 [2021-11-15T23:46:45.614Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-15T23:46:45.614Z] Dload Upload Total Spent Left Speed [2021-11-15T23:46:45.897Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1821 0 0 100 1821 0 6822 --:--:-- --:--:-- --:--:-- 6845 [2021-11-15T23:46:45.897Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/96e184b927e04097306fc9a54b999550e4976e4b [Pipeline] } [2021-11-15T23:46:45.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-15T23:46:47.163Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-145/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:46:47.467Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:46:48.027Z] ---> package-listing.sh [2021-11-15T23:46:48.027Z] ++ facter osfamily [2021-11-15T23:46:48.027Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-15T23:46:48.293Z] + OS_FAMILY=redhat [2021-11-15T23:46:48.293Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-145 [2021-11-15T23:46:48.293Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-15T23:46:48.293Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-15T23:46:48.293Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-15T23:46:48.293Z] + PACKAGES=/tmp/packages_start.txt [2021-11-15T23:46:48.293Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-145 ']' [2021-11-15T23:46:48.293Z] + PACKAGES=/tmp/packages_end.txt [2021-11-15T23:46:48.293Z] + case "${OS_FAMILY}" in [2021-11-15T23:46:48.293Z] + sort [2021-11-15T23:46:48.293Z] + rpm -qa [2021-11-15T23:46:48.882Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-15T23:46:48.882Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-15T23:46:48.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-15T23:46:48.882Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-145 ']' [2021-11-15T23:46:48.882Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-145/archives/ [2021-11-15T23:46:48.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-145/archives/ [Pipeline] echo [2021-11-15T23:46:48.892Z] 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-145/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-15T23:46:49.171Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:46:49.726Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:46:49.726Z] [2021-11-15T23:46:49.726Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-15T23:46:50.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:46:50.034Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-15T23:46:50.034Z] b4d181a07f80: Pulling fs layer [2021-11-15T23:46:50.034Z] a1111a8f2ec3: Pulling fs layer [2021-11-15T23:46:50.034Z] ed53099fbce6: Pulling fs layer [2021-11-15T23:46:50.034Z] dc539afda2c1: Pulling fs layer [2021-11-15T23:46:50.034Z] 77bc0d833cb6: Pulling fs layer [2021-11-15T23:46:50.034Z] 9065ff56babe: Pulling fs layer [2021-11-15T23:46:50.034Z] d287ab97295c: Pulling fs layer [2021-11-15T23:46:50.034Z] dc539afda2c1: Waiting [2021-11-15T23:46:50.034Z] 77bc0d833cb6: Waiting [2021-11-15T23:46:50.034Z] 9065ff56babe: Waiting [2021-11-15T23:46:50.034Z] d287ab97295c: Waiting [2021-11-15T23:46:50.034Z] a1111a8f2ec3: Verifying Checksum [2021-11-15T23:46:50.034Z] a1111a8f2ec3: Download complete [2021-11-15T23:46:50.034Z] dc539afda2c1: Verifying Checksum [2021-11-15T23:46:50.034Z] dc539afda2c1: Download complete [2021-11-15T23:46:50.034Z] ed53099fbce6: Verifying Checksum [2021-11-15T23:46:50.034Z] ed53099fbce6: Download complete [2021-11-15T23:46:50.034Z] 9065ff56babe: Verifying Checksum [2021-11-15T23:46:50.034Z] 9065ff56babe: Download complete [2021-11-15T23:46:50.296Z] 77bc0d833cb6: Verifying Checksum [2021-11-15T23:46:50.296Z] 77bc0d833cb6: Download complete [2021-11-15T23:46:50.296Z] b4d181a07f80: Verifying Checksum [2021-11-15T23:46:50.296Z] b4d181a07f80: Download complete [2021-11-15T23:46:50.874Z] d287ab97295c: Verifying Checksum [2021-11-15T23:46:50.875Z] d287ab97295c: Download complete [2021-11-15T23:46:51.458Z] b4d181a07f80: Pull complete [2021-11-15T23:46:51.722Z] a1111a8f2ec3: Pull complete [2021-11-15T23:46:52.306Z] ed53099fbce6: Pull complete [2021-11-15T23:46:52.306Z] dc539afda2c1: Pull complete [2021-11-15T23:46:52.571Z] 77bc0d833cb6: Pull complete [2021-11-15T23:46:52.571Z] 9065ff56babe: Pull complete [2021-11-15T23:46:57.912Z] d287ab97295c: Pull complete [2021-11-15T23:46:57.912Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-15T23:46:57.912Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-15T23:46:57.912Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-15T23:46:57.984Z] prd-centos7-docker-4c-2g-723 does not seem to be running inside a container [2021-11-15T23:46:58.017Z] $ 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-145/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-145 -v /w/workspace/gexfoundry_device-rest-go_PR-145:/w/workspace/gexfoundry_device-rest-go_PR-145:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-145@tmp:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-15T23:47:01.267Z] $ docker top 7d8e6ce78b1637483480e67ddb4f4645dedf5fadec1df914a958f886a2f26589 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-15T23:47:01.640Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-15T23:47:01.932Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-15T23:47:02.225Z] + ls /var/log/sa-host [2021-11-15T23:47:02.225Z] + sadf -c /var/log/sa-host/sa15 [2021-11-15T23:47:02.225Z] file_magic: OK [2021-11-15T23:47:02.225Z] HZ: Using current value: 100 [2021-11-15T23:47:02.225Z] file_header: OK [2021-11-15T23:47:02.225Z] 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-11-15T23:47:02.225Z] Statistics: [2021-11-15T23:47:02.225Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T23:47:02.225Z] File successfully converted to sysstat format version 12.0.3 [2021-11-15T23:47:02.225Z] + sadf -c /var/log/sa-host/sa30 [2021-11-15T23:47:02.225Z] file_magic: OK [2021-11-15T23:47:02.225Z] HZ: Using current value: 100 [2021-11-15T23:47:02.225Z] file_header: OK [2021-11-15T23:47:02.225Z] 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-11-15T23:47:02.225Z] Statistics: [2021-11-15T23:47:02.225Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-15T23:47:02.225Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-15T23:47:02.322Z] provisioning config files... [2021-11-15T23:47:02.332Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-145@tmp/config2256701743853173711tmp [Pipeline] { [Pipeline] echo [2021-11-15T23:47:02.354Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:47:02.648Z] ---> create-netrc.sh [Pipeline] } [2021-11-15T23:47:02.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:47:02.982Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-15T23:47:02.992Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:47:03.287Z] ---> sudo-logs.sh [2021-11-15T23:47:03.287Z] Archiving 'sudo' log.. [2021-11-15T23:47:03.548Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-723.novalocal: Name or service not known [2021-11-15T23:47:03.548Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-723.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-15T23:47:03.567Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:47:03.860Z] ---> job-cost.sh [2021-11-15T23:47:03.860Z] lf-activate-venv: SKIPPING [2021-11-15T23:47:03.860Z] DEBUG: total: 0.10999999940395355 [2021-11-15T23:47:03.860Z] INFO: Retrieving Stack Cost... [2021-11-15T23:47:04.122Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-15T23:47:04.693Z] INFO: Archiving Costs [Pipeline] echo [2021-11-15T23:47:04.706Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-15T23:47:05.023Z] ---> logs-deploy.sh [2021-11-15T23:47:05.023Z] lf-activate-venv: SKIPPING [2021-11-15T23:47:05.023Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-145/2 [2021-11-15T23:47:05.023Z] INFO: archiving workspace using pattern(s): [2021-11-15T23:47:05.595Z] Archives upload complete. [2021-11-15T23:47:05.857Z] INFO: archiving logs to Nexus