Pull request #91 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from af7dcf46a7e5916290a457f743edfe7524697b53+4f98354a1324b6971af40554b83b1d8fb938970d (349278e7449d03a18bf20dd108b77234ae8f565b) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 aa25fb65c2461e649b1a162fbf19ec71f4863fbd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-91/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision aa25fb65c2461e649b1a162fbf19ec71f4863fbd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f aa25fb65c2461e649b1a162fbf19ec71f4863fbd # timeout=10 Commit message: "Merge pull request #336 from ernestojeda/golang-1.16" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-91/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go 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 ‘prd-centos7-blackbox-4c-2g-3715’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-builder-2c-1g-4467’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-4447’ is offline; ‘prd-centos7-docker-4c-2g-4450’ is offline; ‘prd-centos7-docker-4c-2g-4454’ is offline; ‘prd-centos7-docker-4c-2g-4460’ is offline; ‘prd-centos7-docker-4c-2g-4472’ is offline; ‘prd-ubuntu18.04-docker-8c-8g-4465’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-8c-8g-4470’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-3702’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-4463’ doesn’t have label ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-4475 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/dgexfoundry_device-rest-go_PR-91 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:15:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:15:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:15:55 ========================================================= 15:15:55 EdgeX Global Pipelines Version Info 15:15:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:15:59 ------------------- 15:15:59 stable info: 15:15:59 ------------------- 15:15:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:15:59 Commit SHA: aa25fb65c2461e649b1a162fbf19ec71f4863fbd 15:15:59 Message: update stable to v1.0.191 15:16:00 ------------------- 15:16:00 experimental info: 15:16:00 ------------------- 15:16:00 Commited By: **** collab-it+edgex@linuxfoundation.org 15:16:00 Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 15:16:00 Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:16:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo 15:16:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo 15:16:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo 15:16:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] echo 15:16:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af7dcf4 [Pipeline] echo 15:16:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:16:02 provisioning config files... 15:16:02 copy managed file [device-rest-go-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config4930315393479852027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:02 ---> docker-login.sh 15:16:02 nexus3.edgexfoundry.org:10001 15:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:03 Configure a credential helper to remove this warning. See 15:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:03 15:16:03 Login Succeeded 15:16:03 nexus3.edgexfoundry.org:10002 15:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:03 Configure a credential helper to remove this warning. See 15:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:03 15:16:03 Login Succeeded 15:16:03 nexus3.edgexfoundry.org:10003 15:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:03 Configure a credential helper to remove this warning. See 15:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:03 15:16:03 Login Succeeded 15:16:03 nexus3.edgexfoundry.org:10004 15:16:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:03 Configure a credential helper to remove this warning. See 15:16:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:03 15:16:03 Login Succeeded 15:16:04 docker.io 15:16:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:04 Configure a credential helper to remove this warning. See 15:16:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:04 15:16:04 Login Succeeded 15:16:04 ---> docker-login.sh ends [Pipeline] } 15:16:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:16:05 + git log --format=format:%s -1 af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] echo 15:16:05 GIT_COMMIT: af7dcf46a7e5916290a457f743edfe7524697b53, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 15:16:05 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 15:16:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:16:06 15:16:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:16:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:16:06 latest: Pulling from edgex-devops/git-semver 15:16:06 31603596830f: Pulling fs layer 15:16:06 54011a49482f: Pulling fs layer 15:16:06 a6820b24f6d8: Pulling fs layer 15:16:06 f581987b2513: Pulling fs layer 15:16:06 f581987b2513: Waiting 15:16:06 54011a49482f: Verifying Checksum 15:16:06 54011a49482f: Download complete 15:16:06 31603596830f: Verifying Checksum 15:16:06 31603596830f: Download complete 15:16:06 f581987b2513: Verifying Checksum 15:16:06 f581987b2513: Download complete 15:16:06 a6820b24f6d8: Verifying Checksum 15:16:06 a6820b24f6d8: Download complete 15:16:06 31603596830f: Pull complete 15:16:07 54011a49482f: Pull complete 15:16:08 a6820b24f6d8: Pull complete 15:16:08 f581987b2513: Pull complete 15:16:08 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 15:16:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:16:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:16:08 prd-centos7-docker-4c-2g-4475 does not seem to be running inside a container 15:16:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-rest-go_PR-91 -v /w/workspace/dgexfoundry_device-rest-go_PR-91:/w/workspace/dgexfoundry_device-rest-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-91@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 15:16:11 $ docker top 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:16:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:16:11 [ssh-agent] Looking for ssh-agent implementation... 15:16:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:16:11 $ docker exec 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent 15:16:12 SSH_AUTH_SOCK=/tmp/ssh-UOyg9d4qpiH2/agent.12 15:16:12 SSH_AGENT_PID=18 15:16:12 Running ssh-add (command line suppressed) 15:16:12 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_921032140671157609.key (/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_921032140671157609.key) 15:16:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:16:12 + git tag --points-at HEAD [Pipeline] } 15:16:13 $ docker exec --env ******** --env ******** 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent -k 15:16:13 unset SSH_AUTH_SOCK; 15:16:13 unset SSH_AGENT_PID; 15:16:13 echo Agent pid 18 killed; 15:16:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:16:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:16:13 [ssh-agent] Looking for ssh-agent implementation... 15:16:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:16:13 $ docker exec 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent 15:16:14 SSH_AUTH_SOCK=/tmp/ssh-12dBNinKqhj2/agent.48 15:16:14 SSH_AGENT_PID=54 15:16:14 Running ssh-add (command line suppressed) 15:16:14 Identity added: /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_8229607446794397585.key (/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/private_key_8229607446794397585.key) 15:16:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:16:14 + git semver init 15:16:14 # -> Open(): unable to determine branch for HEAD 15:16:14 # $GIT_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-91/.git 15:16:14 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-rest-go_PR-91 15:16:14 # $SEMVER_REMOTE_NAME = origin 15:16:14 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:16:14 # $SEMVER_USER_NAME = edgex-jenkins 15:16:14 # $SEMVER_BRANCH = PR-91 15:16:14 # $SEMVER_TEMP = /tmp/semver-151396229 15:16:14 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 15:16:17 # '/tmp/semver-151396229' -> '/w/workspace/dgexfoundry_device-rest-go_PR-91/.semver' 15:16:17 # -> Force: false 15:16:17 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-rest-go_PR-91/.semver [Pipeline] } 15:16:17 $ docker exec --env ******** --env ******** 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 ssh-agent -k 15:16:17 unset SSH_AUTH_SOCK; 15:16:17 unset SSH_AGENT_PID; 15:16:17 echo Agent pid 54 killed; 15:16:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:16:18 + git semver [Pipeline] } 15:16:18 $ docker stop --time=1 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 15:16:19 $ docker rm -f 589387fcea23fddcab98db92fc25affba40b7612a5ce3ac029e92f83a2e33ef8 [Pipeline] // withDockerContainer [Pipeline] sh 15:16:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:16:20 Stashed 1 file(s) [Pipeline] echo 15:16:20 [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 15:16:36 Still waiting to schedule task 15:16:36 Waiting for next available executor on ‘centos7-docker-4c-2g’ 15:16:36 Still waiting to schedule task 15:16:36 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 15:18:15 Running on prd-centos7-docker-4c-2g-4480 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [Pipeline] { [Pipeline] ws 15:18:15 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 15:18:18 using credential edgex-jenkins-ssh 15:18:18 Cloning the remote Git repository 15:18:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:18:18 > git init /w/workspace/device-rest-go/1 # timeout=10 15:18:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:18:18 > git --version # timeout=10 15:18:18 > git --version # 'git version 2.24.3' 15:18:18 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:18:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:18:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:18:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:18:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:18:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:18:20 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 15:18:20 Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 15:18:20 Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) 15:18:20 > git config core.sparsecheckout # timeout=10 15:18:20 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 15:18:20 > git remote # timeout=10 15:18:20 > git config --get remote.origin.url # timeout=10 15:18:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:18:20 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 15:18:20 > git rev-parse HEAD^{commit} # timeout=10 15:18:20 > git config core.sparsecheckout # timeout=10 15:18:20 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 15:18:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 15:18:23 > git --version # timeout=10 15:18:23 > git --version # 'git version 2.24.3' 15:18:23 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:18:25 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 15:18:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:18:25 + sudo service docker restart 15:18:25 + true 15:18:25 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:18:27 provisioning config files... 15:18:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config531006508458239985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:18:27 ---> docker-login.sh 15:18:27 nexus3.edgexfoundry.org:10001 15:18:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:28 Configure a credential helper to remove this warning. See 15:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:28 15:18:28 Login Succeeded 15:18:28 nexus3.edgexfoundry.org:10002 15:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:28 Configure a credential helper to remove this warning. See 15:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:28 15:18:28 Login Succeeded 15:18:28 nexus3.edgexfoundry.org:10003 15:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:28 Configure a credential helper to remove this warning. See 15:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:28 15:18:28 Login Succeeded 15:18:28 nexus3.edgexfoundry.org:10004 15:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:28 Configure a credential helper to remove this warning. See 15:18:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:28 15:18:28 Login Succeeded 15:18:28 docker.io 15:18:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:18:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:18:29 Configure a credential helper to remove this warning. See 15:18:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:18:29 15:18:29 Login Succeeded 15:18:29 ---> docker-login.sh ends [Pipeline] } 15:18:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:18:29 ========================================================= 15:18:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 15:18:29 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:18:29 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 15:18:29 Sending build context to Docker daemon 93.18kB 15:18:29 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 15:18:29 Step 2/10 : FROM ${BASE} 15:18:29 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 15:18:29 540db60ca938: Pulling fs layer 15:18:29 adcc1eea9eea: Pulling fs layer 15:18:29 4c4ab2625f07: Pulling fs layer 15:18:29 0510c868ecb4: Pulling fs layer 15:18:29 afea3b2eda06: Pulling fs layer 15:18:29 7809a108b3ef: Pulling fs layer 15:18:29 f706445af74f: Pulling fs layer 15:18:29 afea3b2eda06: Waiting 15:18:29 7809a108b3ef: Waiting 15:18:29 f706445af74f: Waiting 15:18:29 0510c868ecb4: Waiting 15:18:29 4c4ab2625f07: Verifying Checksum 15:18:29 4c4ab2625f07: Download complete 15:18:29 adcc1eea9eea: Download complete 15:18:30 afea3b2eda06: Verifying Checksum 15:18:30 afea3b2eda06: Download complete 15:18:30 540db60ca938: Verifying Checksum 15:18:30 540db60ca938: Download complete 15:18:30 7809a108b3ef: Verifying Checksum 15:18:30 7809a108b3ef: Download complete 15:18:30 540db60ca938: Pull complete 15:18:30 adcc1eea9eea: Pull complete 15:18:30 4c4ab2625f07: Pull complete 15:18:32 f706445af74f: Verifying Checksum 15:18:32 f706445af74f: Download complete 15:18:33 0510c868ecb4: Download complete 15:18:39 0510c868ecb4: Pull complete 15:18:39 afea3b2eda06: Pull complete 15:18:39 7809a108b3ef: Pull complete 15:18:46 f706445af74f: Pull complete 15:18:46 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 15:18:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 15:18:46 ---> b068be0155e3 15:18:46 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:18:46 ---> Running in 46be288215eb 15:18:46 Removing intermediate container 46be288215eb 15:18:46 ---> 47b31965706d 15:18:46 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:18:46 ---> Running in 5c4619d33d3f 15:18:47 Removing intermediate container 5c4619d33d3f 15:18:47 ---> 0880138ff57d 15:18:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:18:47 ---> Running in 1b5f5cf5890b 15:18:47 Removing intermediate container 1b5f5cf5890b 15:18:47 ---> 456f8811333d 15:18:47 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:18:47 ---> Running in 665e6387dba9 15:18:48 Removing intermediate container 665e6387dba9 15:18:48 ---> 722ba5220022 15:18:48 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:18:48 ---> Running in da87cbdffb60 15:18:49 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:18:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:18:52 (1/9) Installing libc-dev (0.7.2-r3) 15:18:52 (2/9) Installing libsodium (1.0.18-r0) 15:18:53 (3/9) Installing pkgconf (1.7.3-r0) 15:18:53 (4/9) Installing libsodium-dev (1.0.18-r0) 15:18:53 (5/9) Installing openssh-keygen (8.4_p1-r3) 15:18:53 (6/9) Installing libedit (20191231.3.1-r1) 15:18:53 (7/9) Installing openssh-client (8.4_p1-r3) 15:18:55 (8/9) Installing libzmq (4.3.3-r1) 15:18:55 (9/9) Installing zeromq-dev (4.3.3-r1) 15:18:55 Executing busybox-1.32.1-r6.trigger 15:18:55 OK: 154 MiB in 49 packages 15:18:56 Removing intermediate container da87cbdffb60 15:18:56 ---> 1a6ad50caaa2 15:18:56 Step 8/10 : WORKDIR /device-rest-go 15:18:56 ---> Running in 7e378f372bca 15:18:57 Removing intermediate container 7e378f372bca 15:18:57 ---> 2aae8ae717b6 15:18:57 Step 9/10 : COPY . . 15:18:57 ---> 8e63a1b2a507 15:18:57 Step 10/10 : RUN go mod download 15:18:57 ---> Running in 7011c01e0693 15:19:19 Removing intermediate container 7011c01e0693 15:19:19 ---> 1c5f21abdef4 15:19:19 Successfully built 1c5f21abdef4 15:19:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:19:20 + docker inspect -f . ci-base-image-x86_64 15:19:20 . [Pipeline] withDockerContainer 15:19:20 prd-centos7-docker-4c-2g-4480 does not seem to be running inside a container 15:19:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:19:21 $ docker top 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:21 + go version 15:19:21 go version go1.16.3 linux/amd64 [Pipeline] } 15:19:21 $ docker stop --time=1 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b 15:19:23 $ docker rm -f 1131e7a48d129e2a792672634ed9e1d57d828afd95d28f5372ea0e408084175b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:19:24 + docker inspect -f . ci-base-image-x86_64 15:19:24 . [Pipeline] withDockerContainer 15:19:24 prd-centos7-docker-4c-2g-4480 does not seem to be running inside a container 15:19:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:19:24 $ docker top 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b -eo pid,comm [Pipeline] { [Pipeline] sh 15:19:25 + go mod tidy [Pipeline] sh 15:19:26 + make test 15:19:26 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:19:27 ? github.com/edgexfoundry/device-rest-go [no test files] 15:19:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:19:50 ok github.com/edgexfoundry/device-rest-go/driver 0.024s coverage: 54.0% of statements 15:19:50 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:19:58 gofmt -l . 15:19:58 [ "`gofmt -l .`" = "" ] 15:19:58 ./bin/test-go-mod-tidy.sh 15:19:59 ./bin/test-attribution-txt.sh [Pipeline] } 15:20:00 $ docker stop --time=1 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b 15:20:02 $ docker rm -f 6ce95860a013ddc9d519330f7aa1d02f1fc12f8a9a599bfad06dcb238f0dc59b [Pipeline] // withDockerContainer [Pipeline] sh 15:20:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:20:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:20:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:20:04 + ls -al . 15:20:04 total 104 15:20:04 drwxrwxr-x. 8 jenkins jenkins 4096 May 11 15:19 . 15:20:04 drwxrwxr-x. 4 jenkins jenkins 28 May 11 15:18 .. 15:20:04 -rw-rw-r--. 1 jenkins jenkins 6792 May 11 15:18 Attribution.txt 15:20:04 drwxrwxr-x. 2 jenkins jenkins 64 May 11 15:18 bin 15:20:04 drwxrwxr-x. 3 jenkins jenkins 32 May 11 15:18 cmd 15:20:04 -rw-r--r--. 1 jenkins jenkins 8513 May 11 15:19 coverage.out 15:20:04 -rw-rw-r--. 1 jenkins jenkins 1602 May 11 15:18 Dockerfile 15:20:04 -rw-rw-r--. 1 jenkins jenkins 1087 May 11 15:18 Dockerfile.build 15:20:04 -rw-rw-r--. 1 jenkins jenkins 151 May 11 15:18 .dockerignore 15:20:04 drwxrwxr-x. 2 jenkins jenkins 76 May 11 15:18 driver 15:20:04 drwxrwxr-x. 8 jenkins jenkins 179 May 11 15:18 .git 15:20:04 drwxrwxr-x. 2 jenkins jenkins 103 May 11 15:18 .github 15:20:04 -rw-rw-r--. 1 jenkins jenkins 339 May 11 15:18 .gitignore 15:20:04 -rw-r--r--. 1 jenkins jenkins 285 May 11 15:19 go.mod 15:20:04 -rw-r--r--. 1 jenkins jenkins 21489 May 11 15:19 go.sum 15:20:04 -rw-rw-r--. 1 jenkins jenkins 680 May 11 15:18 Jenkinsfile 15:20:04 -rw-rw-r--. 1 jenkins jenkins 11340 May 11 15:18 LICENSE 15:20:04 -rw-rw-r--. 1 jenkins jenkins 976 May 11 15:18 Makefile 15:20:04 -rw-rw-r--. 1 jenkins jenkins 7667 May 11 15:18 README.md 15:20:04 drwxrwxr-x. 4 jenkins jenkins 71 May 11 15:18 snap 15:20:04 -rw-rw-r--. 1 jenkins jenkins 5 May 11 15:16 VERSION 15:20:04 -rw-rw-r--. 1 jenkins jenkins 713 May 11 15:18 version.go [Pipeline] isUnix [Pipeline] sh 15:20:04 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 --label arch=amd64 --label version=0.0.0 . 15:20:04 Sending build context to Docker daemon 102.9kB 15:20:04 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 15:20:04 Step 2/24 : FROM ${BASE} AS builder 15:20:04 ---> 1c5f21abdef4 15:20:04 Step 3/24 : ARG MAKE='make build' 15:20:05 ---> Running in 9bdd123c4b3f 15:20:05 Removing intermediate container 9bdd123c4b3f 15:20:05 ---> 3cb5f1b61cc5 15:20:05 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:20:05 ---> Running in 4a7580f9bc18 15:20:05 Removing intermediate container 4a7580f9bc18 15:20:05 ---> de6961c6f1f4 15:20:05 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:20:05 ---> Running in aaf1035d1dd5 15:20:05 Removing intermediate container aaf1035d1dd5 15:20:05 ---> d5de082b84ae 15:20:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:20:05 ---> Running in 1a2b8e461232 15:20:06 Removing intermediate container 1a2b8e461232 15:20:06 ---> d22b1b3e1b07 15:20:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:20:06 ---> Running in 991afac12eb5 15:20:07 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 15:20:09 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 15:20:12 OK: 154 MiB in 49 packages 15:20:12 Removing intermediate container 991afac12eb5 15:20:12 ---> e4eaf9c9e46a 15:20:12 Step 8/24 : WORKDIR /device-rest-go 15:20:12 ---> Running in 235150c47e8a 15:20:12 Removing intermediate container 235150c47e8a 15:20:12 ---> fbc86c6f2f3a 15:20:12 Step 9/24 : COPY . . 15:20:12 ---> de0a9941b863 15:20:12 Step 10/24 : RUN make update 15:20:12 ---> Running in ca593fd5f9ee 15:20:13 CGO_ENABLED=0 GO111MODULE=on go mod download 15:20:13 Removing intermediate container ca593fd5f9ee 15:20:13 ---> f7eb022ad36c 15:20:13 Step 11/24 : RUN $MAKE 15:20:13 ---> Running in 2fbd08b3d768 15:20:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 15:20:29 Removing intermediate container 2fbd08b3d768 15:20:29 ---> da2bb3c1346d 15:20:29 Step 12/24 : FROM alpine:3.12 15:20:29 3.12: Pulling from library/alpine 15:20:29 339de151aab4: Pulling fs layer 15:20:29 339de151aab4: Verifying Checksum 15:20:29 339de151aab4: Download complete 15:20:29 339de151aab4: Pull complete 15:20:29 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:20:29 Status: Downloaded newer image for alpine:3.12 15:20:29 ---> 13621d1b12d4 15:20:29 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:20:29 ---> Running in 74a32cc8ff58 15:20:29 Removing intermediate container 74a32cc8ff58 15:20:29 ---> c0a255802a59 15:20:29 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 15:20:29 ---> Running in 46550355cbb0 15:20:29 Removing intermediate container 46550355cbb0 15:20:29 ---> fb60daed7844 15:20:29 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:20:29 ---> Running in 37c42cb69a8a 15:20:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 15:20:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 15:20:29 (1/6) Installing dumb-init (1.2.2-r1) 15:20:29 (2/6) Installing libgcc (9.3.0-r2) 15:20:29 (3/6) Installing libsodium (1.0.18-r0) 15:20:29 (4/6) Installing libstdc++ (9.3.0-r2) 15:20:29 (5/6) Installing libzmq (4.3.3-r0) 15:20:29 (6/6) Installing zeromq (4.3.3-r0) 15:20:29 Executing busybox-1.31.1-r20.trigger 15:20:29 OK: 8 MiB in 20 packages 15:20:30 Removing intermediate container 37c42cb69a8a 15:20:30 ---> 9dcd6157c889 15:20:30 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 15:20:31 ---> 0258919c428b 15:20:31 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 15:20:31 ---> 64c9c0688cf9 15:20:31 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 15:20:31 ---> a1720737302e 15:20:31 Step 19/24 : EXPOSE 49986 15:20:31 ---> Running in 430b7ff18180 15:20:31 Removing intermediate container 430b7ff18180 15:20:31 ---> f69fd32a2b73 15:20:31 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 15:20:31 ---> Running in 5e8b4ab9fd15 15:20:32 Removing intermediate container 5e8b4ab9fd15 15:20:32 ---> cceb81e8ac40 15:20:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:20:32 ---> Running in 233d42569e94 15:20:32 Removing intermediate container 233d42569e94 15:20:32 ---> 925e213bd467 15:20:32 Step 22/24 : LABEL arch=amd64 15:20:32 ---> Running in 8ae9af10889d 15:20:32 Removing intermediate container 8ae9af10889d 15:20:32 ---> febde4292708 15:20:32 Step 23/24 : LABEL git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 15:20:32 ---> Running in cecc40a9ae04 15:20:32 Removing intermediate container cecc40a9ae04 15:20:32 ---> 014875ed7245 15:20:32 Step 24/24 : LABEL version=0.0.0 15:20:32 ---> Running in 0b519f3c645d 15:20:32 Removing intermediate container 0b519f3c645d 15:20:32 ---> 416a71bc875c 15:20:32 [Warning] One or more build-args [ARCH] were not consumed 15:20:32 Successfully built 416a71bc875c 15:20:32 Successfully tagged docker-device-rest-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:20:33 ---> job-cost.sh 15:20:33 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-X0IR 15:20:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4483 in /w/workspace/dgexfoundry_device-rest-go_PR-91 [Pipeline] { [Pipeline] ws 15:20:39 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 15:20:46 using credential edgex-jenkins-ssh 15:20:46 Cloning the remote Git repository 15:20:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 15:20:46 > git init /w/workspace/device-rest-go/1 # timeout=10 15:20:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:20:46 > git --version # timeout=10 15:20:46 > git --version # 'git version 2.17.1' 15:20:46 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:20:51 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:20:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:20:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:20:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 15:20:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 15:20:57 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:57 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/master:refs/remotes/origin/master # timeout=10 15:20:58 Merging remotes/origin/master commit 4f98354a1324b6971af40554b83b1d8fb938970d into PR head commit af7dcf46a7e5916290a457f743edfe7524697b53 15:20:58 Merge succeeded, producing af7dcf46a7e5916290a457f743edfe7524697b53 15:20:58 Checking out Revision af7dcf46a7e5916290a457f743edfe7524697b53 (PR-91) 15:20:58 > git config core.sparsecheckout # timeout=10 15:20:58 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 15:20:58 > git remote # timeout=10 15:20:58 > git config --get remote.origin.url # timeout=10 15:20:58 using GIT_SSH to set credentials SSH Credentials for GitHub 15:20:58 > git merge 4f98354a1324b6971af40554b83b1d8fb938970d # timeout=10 15:20:58 > git rev-parse HEAD^{commit} # timeout=10 15:20:58 > git config core.sparsecheckout # timeout=10 15:20:58 > git checkout -f af7dcf46a7e5916290a457f743edfe7524697b53 # timeout=10 15:21:02 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 15:21:03 > git --version # timeout=10 15:21:03 > git --version # 'git version 2.17.1' 15:21:03 fatal: bad object aa25fb65c2461e649b1a162fbf19ec71f4863fbd 15:21:03 15:21:03 GitHub has been notified of this commit’s build result 15:21:03 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:21:04 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 15:21:05 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 15:21:05 + true 15:21:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 15:21:08 provisioning config files... 15:21:08 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5291675555468226888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:21:08 ---> docker-login.sh 15:21:08 nexus3.edgexfoundry.org:10001 15:21:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:10 Configure a credential helper to remove this warning. See 15:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:10 15:21:10 Login Succeeded 15:21:10 nexus3.edgexfoundry.org:10002 15:21:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:10 Configure a credential helper to remove this warning. See 15:21:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:10 15:21:10 Login Succeeded 15:21:10 nexus3.edgexfoundry.org:10003 15:21:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:11 Configure a credential helper to remove this warning. See 15:21:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:11 15:21:11 Login Succeeded 15:21:11 nexus3.edgexfoundry.org:10004 15:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:12 Configure a credential helper to remove this warning. See 15:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:12 15:21:12 Login Succeeded 15:21:12 docker.io 15:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:21:12 Configure a credential helper to remove this warning. See 15:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:21:12 15:21:12 Login Succeeded 15:21:12 ---> docker-login.sh ends [Pipeline] } 15:21:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:21:13 ========================================================= 15:21:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 15:21:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 15:21:13 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 15:21:13 Sending build context to Docker daemon 93.18kB 15:21:14 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 15:21:14 Step 2/10 : FROM ${BASE} 15:21:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:21:14 595b0fe564bb: Pulling fs layer 15:21:14 7186ed65a4f7: Pulling fs layer 15:21:14 316046926c0a: Pulling fs layer 15:21:14 4ebd0625c992: Pulling fs layer 15:21:14 207e8628e3a3: Pulling fs layer 15:21:14 4ebd0625c992: Waiting 15:21:14 c791037a9be2: Pulling fs layer 15:21:14 ffd874e62e21: Pulling fs layer 15:21:14 207e8628e3a3: Waiting 15:21:14 c791037a9be2: Waiting 15:21:14 ffd874e62e21: Waiting 15:21:14 316046926c0a: Download complete 15:21:14 7186ed65a4f7: Verifying Checksum 15:21:14 7186ed65a4f7: Download complete 15:21:14 207e8628e3a3: Download complete 15:21:14 c791037a9be2: Verifying Checksum 15:21:14 c791037a9be2: Download complete 15:21:14 595b0fe564bb: Download complete 15:21:15 595b0fe564bb: Pull complete 15:21:15 7186ed65a4f7: Pull complete 15:21:16 316046926c0a: Pull complete 15:21:16 ffd874e62e21: Verifying Checksum 15:21:16 ffd874e62e21: Download complete 15:21:17 4ebd0625c992: Verifying Checksum 15:21:17 4ebd0625c992: Download complete 15:21:18 lf-activate-venv(): INFO: Adding /tmp/venv-X0IR/bin to PATH 15:21:18 INFO: No Stack... 15:21:18 INFO: Retrieving Pricing Info for: v1-standard-2 15:21:19 INFO: Archiving Costs [Pipeline] sh 15:21:19 + cat /w/workspace/device-rest-go/1/archives/cost.csv 15:21:19 + cut -d, -f6 [Pipeline] lock 15:21:19 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] 15:21:19 Resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] did not exist. Created. 15:21:19 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:21:20 + echo total: 0.029999999329447746 [Pipeline] stash 15:21:20 Stashed 1 file(s) [Pipeline] } 15:21:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 15:21:28 4ebd0625c992: Pull complete 15:21:28 207e8628e3a3: Pull complete 15:21:28 c791037a9be2: Pull complete 15:21:32 ffd874e62e21: Pull complete 15:21:32 Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 15:21:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 15:21:32 ---> cfc18b08335c 15:21:32 Step 3/10 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:21:36 ---> Running in 4ce94180f478 15:21:36 Removing intermediate container 4ce94180f478 15:21:36 ---> 65fa7f033e0e 15:21:36 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 15:21:36 ---> Running in 8c5b159b43cd 15:21:37 Removing intermediate container 8c5b159b43cd 15:21:37 ---> 0f9ec548c31d 15:21:37 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:21:37 ---> Running in ac378c643005 15:21:37 Removing intermediate container ac378c643005 15:21:37 ---> 5a59a66bfd95 15:21:37 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:21:37 ---> Running in 6763c68b6775 15:21:41 Removing intermediate container 6763c68b6775 15:21:41 ---> d3a565773341 15:21:41 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:21:41 ---> Running in 5d1751c92823 15:21:42 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:21:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:21:46 (1/9) Installing libc-dev (0.7.2-r3) 15:21:46 (2/9) Installing libsodium (1.0.18-r0) 15:21:46 (3/9) Installing pkgconf (1.7.3-r0) 15:21:47 (4/9) Installing libsodium-dev (1.0.18-r0) 15:21:47 (5/9) Installing openssh-keygen (8.4_p1-r3) 15:21:47 (6/9) Installing libedit (20191231.3.1-r1) 15:21:47 (7/9) Installing openssh-client (8.4_p1-r3) 15:21:49 (8/9) Installing libzmq (4.3.3-r1) 15:21:49 (9/9) Installing zeromq-dev (4.3.3-r1) 15:21:49 Executing busybox-1.32.1-r6.trigger 15:21:49 OK: 144 MiB in 49 packages 15:21:51 Removing intermediate container 5d1751c92823 15:21:51 ---> efcb8ffe7911 15:21:51 Step 8/10 : WORKDIR /device-rest-go 15:21:51 ---> Running in 985d53a48f9f 15:21:51 Removing intermediate container 985d53a48f9f 15:21:51 ---> b34463d88c1f 15:21:51 Step 9/10 : COPY . . 15:21:52 ---> 15ff8aa5f7c1 15:21:52 Step 10/10 : RUN go mod download 15:21:53 ---> Running in f37fe6eaaa90 15:22:25 Removing intermediate container f37fe6eaaa90 15:22:25 ---> 1957d4917ed2 15:22:25 Successfully built 1957d4917ed2 15:22:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:22:25 + docker inspect -f . ci-base-image-arm64 15:22:25 . [Pipeline] withDockerContainer 15:22:26 prd-ubuntu18.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container 15:22:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:22:28 $ docker top 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:29 + go version 15:22:29 go version go1.16.3 linux/arm64 [Pipeline] } 15:22:29 $ docker stop --time=1 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f 15:22:31 $ docker rm -f 450f3c6ce5ce7e660ce3455e82f036667d7fbe974ffdeb666d3861be0758c59f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:22:32 + docker inspect -f . ci-base-image-arm64 15:22:32 . [Pipeline] withDockerContainer 15:22:32 prd-ubuntu18.04-docker-arm64-4c-16g-4483 does not seem to be running inside a container 15:22:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:22:34 $ docker top e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:22:35 + go mod tidy [Pipeline] sh 15:22:37 + make test 15:22:37 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:22:38 ? github.com/edgexfoundry/device-rest-go [no test files] 15:23:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:23:46 ok github.com/edgexfoundry/device-rest-go/driver 0.040s coverage: 54.0% of statements 15:23:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:24:13 gofmt -l . 15:24:13 [ "`gofmt -l .`" = "" ] 15:24:13 ./bin/test-go-mod-tidy.sh 15:24:13 ./bin/test-attribution-txt.sh [Pipeline] } 15:24:13 $ docker stop --time=1 e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 15:24:15 $ docker rm -f e20634d40d3c1fc2cc8ba76ecae825a7ecad1db5a05a53c8e9beb9ba31c6b1c9 [Pipeline] // withDockerContainer [Pipeline] sh 15:24:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:24:16 Warning: overwriting stash ‘coverage-report’ 15:24:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:24:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:24:18 + ls -al . 15:24:18 total 132 15:24:18 drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:24 . 15:24:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:20 .. 15:24:18 -rw-rw-r-- 1 jenkins jenkins 151 May 11 15:20 .dockerignore 15:24:18 drwxrwxr-x 8 jenkins jenkins 4096 May 11 15:21 .git 15:24:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 .github 15:24:18 -rw-rw-r-- 1 jenkins jenkins 339 May 11 15:20 .gitignore 15:24:18 -rw-rw-r-- 1 jenkins jenkins 6792 May 11 15:20 Attribution.txt 15:24:18 -rw-rw-r-- 1 jenkins jenkins 1602 May 11 15:20 Dockerfile 15:24:18 -rw-rw-r-- 1 jenkins jenkins 1087 May 11 15:20 Dockerfile.build 15:24:18 -rw-rw-r-- 1 jenkins jenkins 680 May 11 15:20 Jenkinsfile 15:24:18 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 15:20 LICENSE 15:24:18 -rw-rw-r-- 1 jenkins jenkins 976 May 11 15:20 Makefile 15:24:18 -rw-rw-r-- 1 jenkins jenkins 7667 May 11 15:20 README.md 15:24:18 -rw-rw-r-- 1 jenkins jenkins 5 May 11 15:16 VERSION 15:24:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 bin 15:24:18 drwxrwxr-x 3 jenkins jenkins 4096 May 11 15:20 cmd 15:24:18 -rw-r--r-- 1 jenkins jenkins 8513 May 11 15:23 coverage.out 15:24:18 drwxrwxr-x 2 jenkins jenkins 4096 May 11 15:20 driver 15:24:18 -rw-r--r-- 1 jenkins jenkins 285 May 11 15:24 go.mod 15:24:18 -rw-r--r-- 1 jenkins jenkins 21489 May 11 15:22 go.sum 15:24:18 drwxrwxr-x 4 jenkins jenkins 4096 May 11 15:20 snap 15:24:18 -rw-rw-r-- 1 jenkins jenkins 713 May 11 15:20 version.go [Pipeline] isUnix [Pipeline] sh 15:24:18 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 --label arch=arm64 --label version=0.0.0 . 15:24:18 Sending build context to Docker daemon 102.9kB 15:24:19 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 15:24:19 Step 2/24 : FROM ${BASE} AS builder 15:24:19 ---> 1957d4917ed2 15:24:19 Step 3/24 : ARG MAKE='make build' 15:24:19 ---> Running in 32f1861a8ad0 15:24:20 Removing intermediate container 32f1861a8ad0 15:24:20 ---> 342af5a386d6 15:24:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:24:20 ---> Running in 422994afa91c 15:24:20 Removing intermediate container 422994afa91c 15:24:20 ---> a8a31919c6f6 15:24:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:24:20 ---> Running in 251ef3a76da3 15:24:21 Removing intermediate container 251ef3a76da3 15:24:21 ---> 0d3b909dcb99 15:24:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:24:21 ---> Running in 8826703909a5 15:24:23 Removing intermediate container 8826703909a5 15:24:23 ---> 2b87eda35113 15:24:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:24:23 ---> Running in 17ac942131b7 15:24:24 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 15:24:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 15:24:30 OK: 144 MiB in 49 packages 15:24:31 Removing intermediate container 17ac942131b7 15:24:31 ---> a01bccb94da7 15:24:31 Step 8/24 : WORKDIR /device-rest-go 15:24:31 ---> Running in e0d7c5ce4ce8 15:24:31 Removing intermediate container e0d7c5ce4ce8 15:24:31 ---> 1f747010a758 15:24:31 Step 9/24 : COPY . . 15:24:32 ---> 57235eab4e6d 15:24:32 Step 10/24 : RUN make update 15:24:32 ---> Running in 4f9c3047efe7 15:24:34 CGO_ENABLED=0 GO111MODULE=on go mod download 15:24:35 Removing intermediate container 4f9c3047efe7 15:24:35 ---> d0cc5e766e1d 15:24:35 Step 11/24 : RUN $MAKE 15:24:35 ---> Running in b47020be9ea9 15:24:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -o cmd/device-rest-go ./cmd 15:25:15 Removing intermediate container b47020be9ea9 15:25:15 ---> 9c9d1cab0db4 15:25:15 Step 12/24 : FROM alpine:3.12 15:25:15 3.12: Pulling from library/alpine 15:25:15 d2f70382dc9a: Pulling fs layer 15:25:15 d2f70382dc9a: Verifying Checksum 15:25:15 d2f70382dc9a: Download complete 15:25:16 d2f70382dc9a: Pull complete 15:25:16 Digest: sha256:36553b10a4947067b9fbb7d532951066293a68eae893beba1d9235f7d11a20ad 15:25:16 Status: Downloaded newer image for alpine:3.12 15:25:16 ---> 9852663dfa18 15:25:16 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 15:25:16 ---> Running in 50f2909b0186 15:25:16 Removing intermediate container 50f2909b0186 15:25:16 ---> 44b26331a412 15:25:16 Step 14/24 : LABEL Name=device-rest-go Version=${VERSION} 15:25:16 ---> Running in 7d3b3a6c7b4f 15:25:17 Removing intermediate container 7d3b3a6c7b4f 15:25:17 ---> 1bc43f35996f 15:25:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:25:17 ---> Running in cec65ece466f 15:25:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 15:25:18 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 15:25:19 (1/6) Installing dumb-init (1.2.2-r1) 15:25:19 (2/6) Installing libgcc (9.3.0-r2) 15:25:19 (3/6) Installing libsodium (1.0.18-r0) 15:25:19 (4/6) Installing libstdc++ (9.3.0-r2) 15:25:19 (5/6) Installing libzmq (4.3.3-r0) 15:25:19 (6/6) Installing zeromq (4.3.3-r0) 15:25:19 Executing busybox-1.31.1-r20.trigger 15:25:19 OK: 8 MiB in 20 packages 15:25:20 Removing intermediate container cec65ece466f 15:25:20 ---> f4aa7380c249 15:25:20 Step 16/24 : COPY --from=builder /device-rest-go/cmd / 15:25:21 ---> 0f7fbacb978f 15:25:21 Step 17/24 : COPY --from=builder /device-rest-go/LICENSE / 15:25:22 ---> af50b50526a1 15:25:22 Step 18/24 : COPY --from=builder /device-rest-go/Attribution.txt / 15:25:23 ---> ed9f4fb9ffa5 15:25:23 Step 19/24 : EXPOSE 49986 15:25:23 ---> Running in 48a04ff5940a 15:25:23 Removing intermediate container 48a04ff5940a 15:25:23 ---> b5c6d374a5ae 15:25:23 Step 20/24 : ENTRYPOINT ["/device-rest-go"] 15:25:23 ---> Running in d2d112449ddb 15:25:24 Removing intermediate container d2d112449ddb 15:25:24 ---> 6338c8c308fc 15:25:24 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:25:24 ---> Running in 4282dfb89fc3 15:25:25 Removing intermediate container 4282dfb89fc3 15:25:25 ---> 1f89db55468f 15:25:25 Step 22/24 : LABEL arch=arm64 15:25:25 ---> Running in 4a5d2b65632d 15:25:25 Removing intermediate container 4a5d2b65632d 15:25:25 ---> 9899fac221b7 15:25:25 Step 23/24 : LABEL git_sha=af7dcf46a7e5916290a457f743edfe7524697b53 15:25:25 ---> Running in 5b64ef97c9dc 15:25:25 Removing intermediate container 5b64ef97c9dc 15:25:25 ---> 71be9d49b8b8 15:25:25 Step 24/24 : LABEL version=0.0.0 15:25:26 ---> Running in 9b4c201ea712 15:25:26 Removing intermediate container 9b4c201ea712 15:25:26 ---> d17014815882 15:25:26 [Warning] One or more build-args [ARCH] were not consumed 15:25:26 Successfully built d17014815882 15:25:26 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 15:25:27 ---> job-cost.sh 15:25:27 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-uUMa 15:26:14 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 15:27:36 lf-activate-venv(): INFO: Adding /tmp/venv-uUMa/bin to PATH 15:27:36 INFO: No Stack... 15:27:36 INFO: Retrieving Pricing Info for: lf-standard-4 15:27:37 INFO: Archiving Costs [Pipeline] sh 15:27:37 + cat /w/workspace/device-rest-go/1/archives/cost.csv 15:27:37 + cut -d, -f6 [Pipeline] lock 15:27:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] 15:27:37 Resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] did not exist. Created. 15:27:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:27:38 /w/workspace/device-rest-go/1@tmp/durable-89aee7a6/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-89aee7a6/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 15:27:38 + echo total: 0.20999999344348907 [Pipeline] stash 15:27:38 Warning: overwriting stash ‘stack-cost’ 15:27:38 Stashed 1 file(s) [Pipeline] } 15:27:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-91-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 15:27:39 provisioning config files... 15:27:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config5982549493445149600tmp [Pipeline] { [Pipeline] sh 15:27:40 + set +x 15:27:40 + bash -s -- 15:27:40 + curl -s https://codecov.io/bash 15:27:40 15:27:40 _____ _ 15:27:40 / ____| | | 15:27:40 | | ___ __| | ___ ___ _____ __ 15:27:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:27:40 | |___| (_) | (_| | __/ (_| (_) \ V / 15:27:40 \_____\___/ \__,_|\___|\___\___/ \_/ 15:27:40 Bash-1.0.2 15:27:40 15:27:40 15:27:40 ==> git version 2.24.3 found 15:27:40 ==> 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 15:27:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 15:27:40 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 15:27:40 ==> Jenkins CI detected. 15:27:40 project root: . 15:27:40 --> token set from env 15:27:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:27:40 ==> Running gcov in . (disable via -X gcov) 15:27:40 ==> Python coveragepy not found 15:27:40 ==> Searching for coverage reports in: 15:27:40 + . 15:27:40 -> Found 1 reports 15:27:40 ==> Detecting git/mercurial file structure 15:27:40 ==> Reading reports 15:27:40 + ./coverage.out bytes=8513 15:27:40 ==> Appending adjustments 15:27:40 https://docs.codecov.io/docs/fixing-reports 15:27:41 + Found adjustments 15:27:41 ==> Gzipping contents 15:27:41 4.0K /tmp/codecov.ZXuIul.gz 15:27:41 ==> Uploading reports 15:27:41 url: https://codecov.io 15:27:41 query: branch=PR-91&commit=af7dcf46a7e5916290a457f743edfe7524697b53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=91&job=&cmd_args= 15:27:41 -> Pinging Codecov 15:27:41 https://codecov.io/upload/v4?package=bash-1.0.2&token=secret&branch=PR-91&commit=af7dcf46a7e5916290a457f743edfe7524697b53&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-91%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=91&job=&cmd_args= 15:27:41 -> Uploading to 15:27:41 https://storage.googleapis.com/codecov/v4/raw/2021-05-11/4E5D53B4F1F92C436F7061BF334D961C/af7dcf46a7e5916290a457f743edfe7524697b53/48b1fe25-18b9-43cc-b5ea-b48a11466e12.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQM3VGPYSAFECJRMNAFIPCV2R3P2BOORCJC7NM537NPJQSFLHUDNIDWA%2F20210511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210511T152741Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d02ad03e4dd20a8518c83ccd79f71e433084052e92e5420de536874caa498eb 15:27:41 % Total % Received % Xferd Average Speed Time Time Time Current 15:27:41 Dload Upload Total Spent Left Speed 15:27:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1611 0 0 100 1611 0 4082 --:--:-- --:--:-- --:--:-- 4088 15:27:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/af7dcf46a7e5916290a457f743edfe7524697b53 [Pipeline] } 15:27:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 15:27:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:27:44 ---> package-listing.sh 15:27:44 ++ tr '[:upper:]' '[:lower:]' 15:27:44 ++ facter osfamily 15:27:44 + OS_FAMILY=redhat 15:27:44 + workspace=/w/workspace/dgexfoundry_device-rest-go_PR-91 15:27:44 + START_PACKAGES=/tmp/packages_start.txt 15:27:44 + END_PACKAGES=/tmp/packages_end.txt 15:27:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:27:44 + PACKAGES=/tmp/packages_start.txt 15:27:44 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-91 ']' 15:27:44 + PACKAGES=/tmp/packages_end.txt 15:27:44 + case "${OS_FAMILY}" in 15:27:44 + rpm -qa 15:27:44 + sort 15:27:51 + '[' -f /tmp/packages_start.txt ']' 15:27:51 + '[' -f /tmp/packages_end.txt ']' 15:27:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:27:51 + '[' /w/workspace/dgexfoundry_device-rest-go_PR-91 ']' 15:27:51 + mkdir -p /w/workspace/dgexfoundry_device-rest-go_PR-91/archives/ 15:27:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-rest-go_PR-91/archives/ [Pipeline] echo 15:27:51 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/dgexfoundry_device-rest-go_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:27:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:27:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:52 15:27:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 15:27:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:27:53 alpine: Pulling from edgex-lftools-log-publisher 15:27:53 df20fa9351a1: Pulling fs layer 15:27:53 36b3adc4ff6f: Pulling fs layer 15:27:53 8ad3a11d3b57: Pulling fs layer 15:27:53 46f8f816bc3b: Pulling fs layer 15:27:53 93b61091891f: Pulling fs layer 15:27:53 93b9cdb0e59b: Pulling fs layer 15:27:53 5e14af77c1be: Pulling fs layer 15:27:53 01666e4c0597: Pulling fs layer 15:27:53 aa168da1d23b: Pulling fs layer 15:27:53 93b9cdb0e59b: Waiting 15:27:53 5e14af77c1be: Waiting 15:27:53 01666e4c0597: Waiting 15:27:53 aa168da1d23b: Waiting 15:27:53 93b61091891f: Waiting 15:27:53 46f8f816bc3b: Waiting 15:27:53 36b3adc4ff6f: Download complete 15:27:53 46f8f816bc3b: Verifying Checksum 15:27:53 46f8f816bc3b: Download complete 15:27:53 df20fa9351a1: Download complete 15:27:53 93b9cdb0e59b: Verifying Checksum 15:27:53 93b9cdb0e59b: Download complete 15:27:53 5e14af77c1be: Verifying Checksum 15:27:53 5e14af77c1be: Download complete 15:27:53 01666e4c0597: Verifying Checksum 15:27:53 01666e4c0597: Download complete 15:27:53 93b61091891f: Verifying Checksum 15:27:53 93b61091891f: Download complete 15:27:53 8ad3a11d3b57: Verifying Checksum 15:27:53 8ad3a11d3b57: Download complete 15:27:54 df20fa9351a1: Pull complete 15:27:54 36b3adc4ff6f: Pull complete 15:27:56 8ad3a11d3b57: Pull complete 15:27:56 46f8f816bc3b: Pull complete 15:27:57 93b61091891f: Pull complete 15:27:57 93b9cdb0e59b: Pull complete 15:27:57 5e14af77c1be: Pull complete 15:27:57 01666e4c0597: Pull complete 15:27:58 aa168da1d23b: Verifying Checksum 15:27:58 aa168da1d23b: Download complete 15:28:08 aa168da1d23b: Pull complete 15:28:08 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 15:28:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 15:28:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 15:28:08 prd-centos7-docker-4c-2g-4475 does not seem to be running inside a container 15:28:08 $ 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/dgexfoundry_device-rest-go_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-rest-go_PR-91 -v /w/workspace/dgexfoundry_device-rest-go_PR-91:/w/workspace/dgexfoundry_device-rest-go_PR-91:rw,z -v /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp:/w/workspace/dgexfoundry_device-rest-go_PR-91@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 15:28:11 $ docker top b4f52f6003d4483324aa1ee7f74cfbc342bf03af188093a2a8784c78e441212e -eo pid,comm [Pipeline] { [Pipeline] sh 15:28:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:28:12 + mkdir -p /var/log/sa [Pipeline] sh 15:28:12 + ls /var/log/sa-host 15:28:12 + sadf -c /var/log/sa-host/sa11 15:28:12 file_magic: OK 15:28:12 HZ: Using current value: 100 15:28:12 file_header: OK 15:28:12 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 15:28:12 Statistics: 15:28:12 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:28:12 File successfully converted to sysstat format version 12.2.1 15:28:12 + sadf -c /var/log/sa-host/sa23 15:28:12 file_magic: OK 15:28:12 HZ: Using current value: 100 15:28:12 file_header: OK 15:28:12 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 15:28:12 Statistics: 15:28:12 Hnuu...uuuununununu... 15:28:12 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:28:13 provisioning config files... 15:28:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-rest-go_PR-91@tmp/config6526060963125426992tmp [Pipeline] { [Pipeline] echo 15:28:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:28:14 ---> create-netrc.sh [Pipeline] } 15:28:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 15:28:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 15:28:14 ---> python-tools-install.sh [Pipeline] echo 15:28:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:28:14 ---> sudo-logs.sh 15:28:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:28:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:28:15 ---> job-cost.sh 15:28:15 lf-activate-venv: SKIPPING 15:28:15 DEBUG: total: 0.20999999344348907 15:28:15 INFO: Retrieving Stack Cost... 15:28:15 INFO: Retrieving Pricing Info for: v1-standard-2 15:28:16 INFO: Archiving Costs [Pipeline] echo 15:28:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:28:16 ---> logs-deploy.sh 15:28:16 lf-activate-venv: SKIPPING 15:28:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-91/1 15:28:16 INFO: archiving workspace using pattern(s): 15:28:18 Archives upload complete. 15:28:18 INFO: archiving logs to Nexus 15:28:20 ---> uname -a: 15:28:20 Linux prd-centos7-docker-4c-2g-4475.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 15:28:20 15:28:20 15:28:20 ---> lscpu: 15:28:20 Architecture: x86_64 15:28:20 CPU op-mode(s): 32-bit, 64-bit 15:28:20 Byte Order: Little Endian 15:28:20 Address sizes: 40 bits physical, 48 bits virtual 15:28:20 CPU(s): 4 15:28:20 On-line CPU(s) list: 0-3 15:28:20 Thread(s) per core: 1 15:28:20 Core(s) per socket: 1 15:28:20 Socket(s): 4 15:28:20 NUMA node(s): 1 15:28:20 Vendor ID: GenuineIntel 15:28:20 CPU family: 6 15:28:20 Model: 44 15:28:20 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 15:28:20 Stepping: 1 15:28:20 CPU MHz: 2933.436 15:28:20 BogoMIPS: 5866.87 15:28:20 Virtualization: VT-x 15:28:20 Hypervisor vendor: KVM 15:28:20 Virtualization type: full 15:28:20 L1d cache: 128 KiB 15:28:20 L1i cache: 128 KiB 15:28:20 L2 cache: 16 MiB 15:28:20 L3 cache: 64 MiB 15:28:20 NUMA node0 CPU(s): 0-3 15:28:20 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 15:28:20 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 15:28:20 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 15:28:20 Vulnerability Meltdown: Mitigation; PTI 15:28:20 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:28:20 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 15:28:20 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 15:28:20 Vulnerability Srbds: Not affected 15:28:20 Vulnerability Tsx async abort: Not affected 15:28:20 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 15:28:20 15:28:20 15:28:20 ---> nproc: 15:28:20 4 15:28:20 15:28:20 15:28:20 ---> df -h: 15:28:20 Filesystem Size Used Available Use% Mounted on 15:28:20 overlay 50.0G 7.3G 42.7G 15% / 15:28:20 tmpfs 64.0M 0 64.0M 0% /dev 15:28:20 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 15:28:20 shm 64.0M 0 64.0M 0% /dev/shm 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-91 15:28:20 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-rest-go_PR-91@tmp 15:28:20 15:28:20 15:28:20 ---> free -m: 15:28:20 total used free shared buff/cache available 15:28:20 Mem: 1837 738 111 0 987 993 15:28:20 Swap: 1023 1 1022 15:28:20 15:28:20 15:28:20 ---> ip addr: 15:28:20 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 15:28:20 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 15:28:20 inet 127.0.0.1/8 scope host lo 15:28:20 valid_lft forever preferred_lft forever 15:28:20 inet6 ::1/128 scope host 15:28:20 valid_lft forever preferred_lft forever 15:28:20 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 15:28:20 link/ether fa:16:3e:9e:7d:10 brd ff:ff:ff:ff:ff:ff 15:28:20 inet 10.30.123.104/23 brd 10.30.123.255 scope global dynamic eth0 15:28:20 valid_lft 85607sec preferred_lft 85607sec 15:28:20 inet6 fe80::f816:3eff:fe9e:7d10/64 scope link 15:28:20 valid_lft forever preferred_lft forever 15:28:20 3: docker0: mtu 1500 qdisc noqueue state DOWN 15:28:20 link/ether 02:42:e7:44:9e:89 brd ff:ff:ff:ff:ff:ff 15:28:20 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 15:28:20 valid_lft forever preferred_lft forever 15:28:20 inet6 fe80::42:e7ff:fe44:9e89/64 scope link 15:28:20 valid_lft forever preferred_lft forever 15:28:20 15:28:20