Pull request #750 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of vijay-hcl-epl for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d+1c2f003b09666c9aca7d142d934c7ec3af9c247b (ec691950d9660b3462867cd8c9b88d47dcb3e647) 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 69a7e166112f335804d9fea76440e5140e47f034 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 69a7e166112f335804d9fea76440e5140e47f034 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-sdk-go/branches/PR-750/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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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-sdk-go/branches/PR-750/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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 69a7e166112f335804d9fea76440e5140e47f034 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-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-21975 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [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-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-750 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d Merge succeeded, producing 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d Checking out Revision 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d (PR-750) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # 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 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 Commit message: "fix (device-sdk-go): Optimize Error Log" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:07:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:07:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:07:47 ========================================================= 16:07:47 EdgeX Global Pipelines Version Info 16:07:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:07:48 ------------------- 16:07:48 stable info: 16:07:48 ------------------- 16:07:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:07:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:07:48 Message: update stable to v1.0.179 16:07:49 ------------------- 16:07:49 experimental info: 16:07:49 ------------------- 16:07:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:07:49 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 16:07:49 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:07:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 16:07:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:07:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:07:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 16:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:07:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:07:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:07:53 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-750 [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-750 [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-750 [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3f6367e [Pipeline] echo 16:07:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:07:55 provisioning config files... 16:07:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config4578895715501419540tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:55 ---> docker-login.sh 16:07:55 nexus3.edgexfoundry.org:10001 16:07:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:55 Configure a credential helper to remove this warning. See 16:07:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:55 16:07:55 Login Succeeded 16:07:55 nexus3.edgexfoundry.org:10002 16:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:56 Configure a credential helper to remove this warning. See 16:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:56 16:07:56 Login Succeeded 16:07:56 nexus3.edgexfoundry.org:10003 16:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:56 Configure a credential helper to remove this warning. See 16:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:56 16:07:56 Login Succeeded 16:07:56 nexus3.edgexfoundry.org:10004 16:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:56 Configure a credential helper to remove this warning. See 16:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:56 16:07:56 Login Succeeded 16:07:56 docker.io 16:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:56 Configure a credential helper to remove this warning. See 16:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:56 16:07:56 Login Succeeded 16:07:56 ---> docker-login.sh ends [Pipeline] } 16:07:56 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 16:07:57 + git log --format=format:%s -1 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d [Pipeline] echo 16:07:58 GIT_COMMIT: 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d, Commit Message: fix (device-sdk-go): Optimize Error Log [Pipeline] echo 16:07:58 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 16:07:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:07:59 16:07:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:07:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:07:59 latest: Pulling from edgex-devops/git-semver 16:07:59 31603596830f: Pulling fs layer 16:07:59 2a8b12db71e7: Pulling fs layer 16:07:59 6ca5941a6612: Pulling fs layer 16:07:59 ecc8261a40a4: Pulling fs layer 16:07:59 ecc8261a40a4: Waiting 16:07:59 2a8b12db71e7: Verifying Checksum 16:07:59 2a8b12db71e7: Download complete 16:07:59 31603596830f: Verifying Checksum 16:07:59 31603596830f: Download complete 16:07:59 ecc8261a40a4: Verifying Checksum 16:07:59 ecc8261a40a4: Download complete 16:07:59 6ca5941a6612: Verifying Checksum 16:08:00 31603596830f: Pull complete 16:08:00 2a8b12db71e7: Pull complete 16:08:01 6ca5941a6612: Pull complete 16:08:01 ecc8261a40a4: Pull complete 16:08:01 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 16:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:08:01 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:08:01 prd-centos7-docker-4c-2g-21975 does not seem to be running inside a container 16:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@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:10004/edgex-devops/git-semver:latest cat 16:08:03 $ docker top 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:03 [ssh-agent] Looking for ssh-agent implementation... 16:08:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:03 $ docker exec 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 ssh-agent 16:08:03 SSH_AUTH_SOCK=/tmp/ssh-5kzGr89gD7zU/agent.12 16:08:03 SSH_AGENT_PID=17 16:08:03 Running ssh-add (command line suppressed) 16:08:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2257122742897681036.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_2257122742897681036.key) 16:08:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:04 + git tag --points-at HEAD [Pipeline] } 16:08:04 $ docker exec --env ******** --env ******** 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 ssh-agent -k 16:08:04 unset SSH_AUTH_SOCK; 16:08:04 unset SSH_AGENT_PID; 16:08:04 echo Agent pid 17 killed; 16:08:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:08:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:04 [ssh-agent] Looking for ssh-agent implementation... 16:08:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:04 $ docker exec 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 ssh-agent 16:08:05 SSH_AUTH_SOCK=/tmp/ssh-EqLmEFoXV3KP/agent.47 16:08:05 SSH_AGENT_PID=52 16:08:05 Running ssh-add (command line suppressed) 16:08:05 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7454062368885159659.key (/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/private_key_7454062368885159659.key) 16:08:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:05 + git semver init 16:08:05 # -> Open(): unable to determine branch for HEAD 16:08:05 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.git 16:08:05 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-750 16:08:05 # $SEMVER_REMOTE_NAME = origin 16:08:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:08:05 # $SEMVER_USER_NAME = edgex-jenkins 16:08:05 # $SEMVER_BRANCH = PR-750 16:08:05 # $SEMVER_TEMP = /tmp/semver-325832682 16:08:05 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:08:06 # '/tmp/semver-325832682' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver' 16:08:06 # -> Force: false 16:08:06 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-750/.semver [Pipeline] } 16:08:06 $ docker exec --env ******** --env ******** 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 ssh-agent -k 16:08:06 unset SSH_AUTH_SOCK; 16:08:06 unset SSH_AGENT_PID; 16:08:06 echo Agent pid 52 killed; 16:08:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:07 + git semver [Pipeline] } 16:08:07 $ docker stop --time=1 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 16:08:08 $ docker rm -f 02e1cadcc2ee1ed47b819094957a274a8966061f8996993bfc1a7ab20ac7e9f3 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:08:09 Stashed 1 file(s) [Pipeline] echo 16:08:09 [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 16:08:25 Still waiting to schedule task 16:08:25 Waiting for next available executor on ‘centos7-docker-4c-2g’ 16:08:25 Still waiting to schedule task 16:08:25 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 16:11:25 Running on prd-centos7-docker-4c-2g-21977 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 16:11:25 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 16:11:27 using credential edgex-jenkins-ssh 16:11:27 Cloning the remote Git repository 16:11:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:11:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 16:11:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:11:27 > git --version # timeout=10 16:11:27 > git --version # 'git version 2.24.3' 16:11:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:11:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:11:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:11:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:11:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:11:29 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d 16:11:29 Merge succeeded, producing 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d 16:11:29 Checking out Revision 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d (PR-750) 16:11:28 > git config core.sparsecheckout # timeout=10 16:11:28 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 16:11:28 > git remote # timeout=10 16:11:28 > git config --get remote.origin.url # timeout=10 16:11:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:11:28 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 16:11:28 > git rev-parse HEAD^{commit} # timeout=10 16:11:28 > git config core.sparsecheckout # timeout=10 16:11:28 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 16:11:32 Commit message: "fix (device-sdk-go): Optimize Error Log" 16:11:32 > git --version # timeout=10 16:11:32 > git --version # 'git version 2.24.3' 16:11:32 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 16:11:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:11:35 + sudo service docker restart 16:11:35 + true 16:11:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:11:36 provisioning config files... 16:11:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config27540085438363436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:36 ---> docker-login.sh 16:11:36 nexus3.edgexfoundry.org:10001 16:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:36 Configure a credential helper to remove this warning. See 16:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:36 16:11:36 Login Succeeded 16:11:36 nexus3.edgexfoundry.org:10002 16:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 nexus3.edgexfoundry.org:10003 16:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 nexus3.edgexfoundry.org:10004 16:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 docker.io 16:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:37 Configure a credential helper to remove this warning. See 16:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:37 16:11:37 Login Succeeded 16:11:37 ---> docker-login.sh ends [Pipeline] } 16:11:37 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:38 ========================================================= 16:11:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 16:11:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:11:38 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 16:11:38 Sending build context to Docker daemon 2.472MB 16:11:38 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:11:38 Step 2/8 : FROM ${BASE} 16:11:38 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:38 188c0c94c7c5: Pulling fs layer 16:11:38 0ef7d3d256c8: Pulling fs layer 16:11:38 de9db76c5a1d: Pulling fs layer 16:11:38 bca2f99d35d6: Pulling fs layer 16:11:38 93359f2a8cfa: Pulling fs layer 16:11:38 7c6f9722023f: Pulling fs layer 16:11:38 a35cf1a2eb13: Pulling fs layer 16:11:38 93359f2a8cfa: Waiting 16:11:38 7c6f9722023f: Waiting 16:11:38 a35cf1a2eb13: Waiting 16:11:38 bca2f99d35d6: Waiting 16:11:39 de9db76c5a1d: Download complete 16:11:39 0ef7d3d256c8: Download complete 16:11:39 93359f2a8cfa: Verifying Checksum 16:11:39 93359f2a8cfa: Download complete 16:11:39 188c0c94c7c5: Verifying Checksum 16:11:39 188c0c94c7c5: Download complete 16:11:39 7c6f9722023f: Verifying Checksum 16:11:39 7c6f9722023f: Download complete 16:11:39 188c0c94c7c5: Pull complete 16:11:39 0ef7d3d256c8: Pull complete 16:11:39 de9db76c5a1d: Pull complete 16:11:41 a35cf1a2eb13: Verifying Checksum 16:11:41 a35cf1a2eb13: Download complete 16:11:42 bca2f99d35d6: Verifying Checksum 16:11:42 bca2f99d35d6: Download complete 16:11:47 bca2f99d35d6: Pull complete 16:11:47 93359f2a8cfa: Pull complete 16:11:47 7c6f9722023f: Pull complete 16:11:55 a35cf1a2eb13: Pull complete 16:11:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 16:11:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 16:11:55 ---> a62c8e92a672 16:11:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:11:55 ---> Running in c23d8665b404 16:11:55 Removing intermediate container c23d8665b404 16:11:55 ---> 5cdc742a326d 16:11:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:11:55 ---> Running in 7b00c7ea7270 16:11:56 Removing intermediate container 7b00c7ea7270 16:11:56 ---> 367ca5a56331 16:11:56 Step 5/8 : RUN apk add --update --no-cache make git 16:11:56 ---> Running in b4ef8795b4be 16:11:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 16:11:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 16:11:59 OK: 166 MiB in 39 packages 16:11:59 Removing intermediate container b4ef8795b4be 16:11:59 ---> 0f7ab64c8d86 16:11:59 Step 6/8 : WORKDIR /device-sdk-go 16:11:59 ---> Running in 8db661fd47a6 16:11:59 Removing intermediate container 8db661fd47a6 16:11:59 ---> 773d39f5c41a 16:11:59 Step 7/8 : COPY . . 16:12:01 ---> 979939aa7a3a 16:12:01 Step 8/8 : RUN go mod download 16:12:01 ---> Running in 05d9e3c74b56 16:12:07 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21976 in /w/workspace/dgexfoundry_device-sdk-go_PR-750 [Pipeline] { [Pipeline] ws 16:12:08 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 16:12:13 using credential edgex-jenkins-ssh 16:12:13 Cloning the remote Git repository 16:12:13 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:12:13 > git init /w/workspace/device-sdk-go/1 # timeout=10 16:12:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:12:13 > git --version # timeout=10 16:12:13 > git --version # 'git version 2.17.1' 16:12:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:15 Merging remotes/origin/master commit 1c2f003b09666c9aca7d142d934c7ec3af9c247b into PR head commit 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d 16:12:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:12:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:12:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:12:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/750/head:refs/remotes/origin/PR-750 +refs/heads/master:refs/remotes/origin/master # timeout=10 16:12:15 > git config core.sparsecheckout # timeout=10 16:12:15 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 16:12:15 Merge succeeded, producing 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d 16:12:15 Checking out Revision 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d (PR-750) 16:12:15 > git remote # timeout=10 16:12:15 > git config --get remote.origin.url # timeout=10 16:12:15 using GIT_SSH to set credentials SSH Credentials for GitHub 16:12:15 > git merge 1c2f003b09666c9aca7d142d934c7ec3af9c247b # timeout=10 16:12:15 > git rev-parse HEAD^{commit} # timeout=10 16:12:15 > git config core.sparsecheckout # timeout=10 16:12:15 > git checkout -f 3f6367ec7abd0c3eff64e23ec1ea6e54b586c43d # timeout=10 16:12:19 Removing intermediate container 05d9e3c74b56 16:12:19 ---> a586d2b9f091 16:12:19 Successfully built a586d2b9f091 16:12:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:12:19 + docker inspect -f . ci-base-image-x86_64 16:12:19 . [Pipeline] withDockerContainer 16:12:19 prd-centos7-docker-4c-2g-21977 does not seem to be running inside a container 16:12:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:12:20 Commit message: "fix (device-sdk-go): Optimize Error Log" 16:12:20 $ docker top 9367c3fb5de67885e857e8e85168e52dd53d2dc6d4366fe78678617a28c6b5ba -eo pid,comm 16:12:20 > git --version # timeout=10 16:12:20 > git --version # 'git version 2.17.1' 16:12:20 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { 16:12:21 + go version 16:12:21 go version go1.15.5 linux/amd64 [Pipeline] } 16:12:21 $ docker stop --time=1 9367c3fb5de67885e857e8e85168e52dd53d2dc6d4366fe78678617a28c6b5ba 16:12:22 $ docker rm -f 9367c3fb5de67885e857e8e85168e52dd53d2dc6d4366fe78678617a28c6b5ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 16:12:23 + docker inspect -f . ci-base-image-x86_64 16:12:23 . [Pipeline] withDockerContainer 16:12:24 prd-centos7-docker-4c-2g-21977 does not seem to be running inside a container 16:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:12:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 16:12:25 $ docker top 7b5b3ff53825fa5e239e2a95f1e884bca1d7a11e67f6282bfd7a22b2ac2e57b1 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 16:12:25 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 16:12:25 + make test 16:12:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:12:26 + true 16:12:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 16:12:28 provisioning config files... 16:12:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config138595672484334030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:12:29 ---> docker-login.sh 16:12:29 nexus3.edgexfoundry.org:10001 16:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:30 Configure a credential helper to remove this warning. See 16:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:30 16:12:30 Login Succeeded 16:12:30 nexus3.edgexfoundry.org:10002 16:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:30 Configure a credential helper to remove this warning. See 16:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:30 16:12:31 Login Succeeded 16:12:31 nexus3.edgexfoundry.org:10003 16:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:31 Configure a credential helper to remove this warning. See 16:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:31 16:12:31 Login Succeeded 16:12:31 nexus3.edgexfoundry.org:10004 16:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:32 Configure a credential helper to remove this warning. See 16:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:32 16:12:32 Login Succeeded 16:12:32 docker.io 16:12:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:12:32 Configure a credential helper to remove this warning. See 16:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:12:32 16:12:32 Login Succeeded 16:12:33 ---> docker-login.sh ends [Pipeline] } 16:12:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:12:33 ========================================================= 16:12:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 16:12:33 ========================================================= [Pipeline] isUnix [Pipeline] sh 16:12:34 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 16:12:34 Sending build context to Docker daemon 2.464MB 16:12:34 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 16:12:34 Step 2/8 : FROM ${BASE} 16:12:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:12:34 5f621e34cdf4: Pulling fs layer 16:12:34 a4357932f1b6: Pulling fs layer 16:12:34 18c013af1878: Pulling fs layer 16:12:34 00ac8860ef70: Pulling fs layer 16:12:34 63d7cb157983: Pulling fs layer 16:12:34 b116817d02f9: Pulling fs layer 16:12:34 745a02a5169b: Pulling fs layer 16:12:34 63d7cb157983: Waiting 16:12:34 b116817d02f9: Waiting 16:12:34 00ac8860ef70: Waiting 16:12:34 745a02a5169b: Waiting 16:12:34 18c013af1878: Verifying Checksum 16:12:34 18c013af1878: Download complete 16:12:34 a4357932f1b6: Verifying Checksum 16:12:34 a4357932f1b6: Download complete 16:12:34 63d7cb157983: Verifying Checksum 16:12:34 63d7cb157983: Download complete 16:12:34 b116817d02f9: Verifying Checksum 16:12:34 b116817d02f9: Download complete 16:12:34 5f621e34cdf4: Verifying Checksum 16:12:34 5f621e34cdf4: Download complete 16:12:35 5f621e34cdf4: Pull complete 16:12:36 a4357932f1b6: Pull complete 16:12:36 18c013af1878: Pull complete 16:12:37 745a02a5169b: Download complete 16:12:38 00ac8860ef70: Verifying Checksum 16:12:38 00ac8860ef70: Download complete 16:12:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:12:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:12:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:12:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.065s coverage: 19.4% of statements 16:12:48 00ac8860ef70: Pull complete 16:12:49 63d7cb157983: Pull complete 16:12:49 b116817d02f9: Pull complete 16:12:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.445s coverage: 97.1% of statements 16:12:53 745a02a5169b: Pull complete 16:12:53 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 16:12:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 16:12:53 ---> b7e6874047d6 16:12:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:12:55 ---> Running in b34bd4282190 16:12:56 Removing intermediate container b34bd4282190 16:12:56 ---> 86856b41b0c1 16:12:56 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:12:56 ---> Running in 65fef94ed898 16:12:58 Removing intermediate container 65fef94ed898 16:12:58 ---> d8bb14d01abf 16:12:58 Step 5/8 : RUN apk add --update --no-cache make git 16:12:58 ---> Running in 13668147f2df 16:12:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 16:13:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 16:13:02 OK: 142 MiB in 39 packages 16:13:03 Removing intermediate container 13668147f2df 16:13:03 ---> 04207daaa4e5 16:13:03 Step 6/8 : WORKDIR /device-sdk-go 16:13:03 ---> Running in 1e7d20c919b7 16:13:04 Removing intermediate container 1e7d20c919b7 16:13:04 ---> d1f7b376245b 16:13:04 Step 7/8 : COPY . . 16:13:05 ---> b9019db8089b 16:13:05 Step 8/8 : RUN go mod download 16:13:05 ---> Running in 317fc372d926 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.052s coverage: 9.4% of statements 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.067s coverage: 21.7% of statements 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:13:21 rr.code = 400 16:13:21 rr.code = 400 16:13:21 rr.code = 400 16:13:21 rr.code = 400 16:13:21 rr.code = 400 16:13:21 --- FAIL: TestCommandNoDevice (0.14s) 16:13:21 restfuncs_test.go:168: No Device: handler returned wrong body: 16:13:21 expected: Device: e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e not found; GET /api/v1/device/e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e/TestCmd 16:13:21 got: Device: e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e not found; GET 16:13:21 FAIL 16:13:21 coverage: 43.2% of statements 16:13:21 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.233s 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.268s coverage: 68.9% of statements 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.063s coverage: 53.8% of statements 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.079s coverage: 26.8% of statements 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.299s coverage: 83.5% of statements 16:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 16:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:13:21 FAIL 16:13:21 make: *** [Makefile:32: test] Error 1 [Pipeline] } 16:13:21 $ docker stop --time=1 7b5b3ff53825fa5e239e2a95f1e884bca1d7a11e67f6282bfd7a22b2ac2e57b1 16:13:23 $ docker rm -f 7b5b3ff53825fa5e239e2a95f1e884bca1d7a11e67f6282bfd7a22b2ac2e57b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:26 Failed in branch amd64 16:13:28 Removing intermediate container 317fc372d926 16:13:28 ---> fd43624ca5d1 16:13:28 Successfully built fd43624ca5d1 16:13:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:13:28 + docker inspect -f . ci-base-image-arm64 16:13:28 . [Pipeline] withDockerContainer 16:13:28 prd-ubuntu18.04-docker-arm64-4c-16g-21976 does not seem to be running inside a container 16:13:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:30 $ docker top 13591ce402c1d48c91da49177c1e8bcffabdaeab83e2f00ebbcad44187186df5 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:31 + go version 16:13:31 go version go1.15.5 linux/arm64 [Pipeline] } 16:13:31 $ docker stop --time=1 13591ce402c1d48c91da49177c1e8bcffabdaeab83e2f00ebbcad44187186df5 16:13:33 $ docker rm -f 13591ce402c1d48c91da49177c1e8bcffabdaeab83e2f00ebbcad44187186df5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:13:34 + docker inspect -f . ci-base-image-arm64 16:13:34 . [Pipeline] withDockerContainer 16:13:35 prd-ubuntu18.04-docker-arm64-4c-16g-21976 does not seem to be running inside a container 16:13:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:13:36 $ docker top 0a160de53b5d53921468323c095bb5aa5bb3695407063675b5fa66a029b90dbe -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:37 + make test 16:13:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:13:59 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:14:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:14:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:14:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:14:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.118s coverage: 19.4% of statements 16:14:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.171s coverage: 97.1% of statements 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.120s coverage: 9.4% of statements 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.133s coverage: 21.7% of statements 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:15:16 rr.code = 400 16:15:16 rr.code = 400 16:15:16 rr.code = 400 16:15:16 rr.code = 400 16:15:16 rr.code = 400 16:15:16 --- FAIL: TestCommandNoDevice (0.39s) 16:15:16 restfuncs_test.go:168: No Device: handler returned wrong body: 16:15:16 expected: Device: e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e not found; GET /api/v1/device/e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e/TestCmd 16:15:16 got: Device: e0fe7ac0-f7f3-4b76-b1b0-4b9bf4788d3e not found; GET 16:15:16 FAIL 16:15:16 coverage: 43.2% of statements 16:15:16 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.631s 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.724s coverage: 68.9% of statements 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 53.8% of statements 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.174s coverage: 26.8% of statements 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.727s coverage: 83.5% of statements 16:15:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.141s coverage: 4.2% of statements 16:15:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:15:16 FAIL 16:15:16 make: *** [Makefile:32: test] Error 1 [Pipeline] } 16:15:16 $ docker stop --time=1 0a160de53b5d53921468323c095bb5aa5bb3695407063675b5fa66a029b90dbe 16:15:18 $ docker rm -f 0a160de53b5d53921468323c095bb5aa5bb3695407063675b5fa66a029b90dbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:15:21 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 16:15:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:15:26 ---> package-listing.sh 16:15:26 ++ facter osfamily 16:15:26 ++ tr '[:upper:]' '[:lower:]' 16:15:26 + OS_FAMILY=redhat 16:15:26 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-750 16:15:26 + START_PACKAGES=/tmp/packages_start.txt 16:15:26 + END_PACKAGES=/tmp/packages_end.txt 16:15:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:15:26 + PACKAGES=/tmp/packages_start.txt 16:15:26 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 16:15:26 + PACKAGES=/tmp/packages_end.txt 16:15:26 + case "${OS_FAMILY}" in 16:15:26 + rpm -qa 16:15:26 + sort 16:15:32 + '[' -f /tmp/packages_start.txt ']' 16:15:32 + '[' -f /tmp/packages_end.txt ']' 16:15:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:15:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-750 ']' 16:15:32 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ 16:15:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-750/archives/ [Pipeline] echo 16:15:32 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-sdk-go_PR-750/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:15:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:15:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:15:32 16:15:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 16:15:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:15:33 alpine: Pulling from edgex-lftools-log-publisher 16:15:33 df20fa9351a1: Pulling fs layer 16:15:33 36b3adc4ff6f: Pulling fs layer 16:15:33 8ad3a11d3b57: Pulling fs layer 16:15:33 46f8f816bc3b: Pulling fs layer 16:15:33 93b61091891f: Pulling fs layer 16:15:33 93b9cdb0e59b: Pulling fs layer 16:15:33 5e14af77c1be: Pulling fs layer 16:15:33 01666e4c0597: Pulling fs layer 16:15:33 aa168da1d23b: Pulling fs layer 16:15:33 93b9cdb0e59b: Waiting 16:15:33 5e14af77c1be: Waiting 16:15:33 01666e4c0597: Waiting 16:15:33 aa168da1d23b: Waiting 16:15:33 46f8f816bc3b: Waiting 16:15:33 93b61091891f: Waiting 16:15:33 36b3adc4ff6f: Download complete 16:15:33 46f8f816bc3b: Download complete 16:15:33 df20fa9351a1: Verifying Checksum 16:15:33 df20fa9351a1: Download complete 16:15:33 93b9cdb0e59b: Verifying Checksum 16:15:33 93b9cdb0e59b: Download complete 16:15:33 5e14af77c1be: Verifying Checksum 16:15:33 5e14af77c1be: Download complete 16:15:33 01666e4c0597: Verifying Checksum 16:15:33 01666e4c0597: Download complete 16:15:33 93b61091891f: Download complete 16:15:33 df20fa9351a1: Pull complete 16:15:33 36b3adc4ff6f: Pull complete 16:15:34 8ad3a11d3b57: Verifying Checksum 16:15:34 8ad3a11d3b57: Download complete 16:15:34 8ad3a11d3b57: Pull complete 16:15:34 46f8f816bc3b: Pull complete 16:15:35 93b61091891f: Pull complete 16:15:35 93b9cdb0e59b: Pull complete 16:15:35 aa168da1d23b: Verifying Checksum 16:15:35 aa168da1d23b: Download complete 16:15:36 5e14af77c1be: Pull complete 16:15:36 01666e4c0597: Pull complete 16:15:42 aa168da1d23b: Pull complete 16:15:42 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 16:15:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 16:15:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 16:15:43 prd-centos7-docker-4c-2g-21975 does not seem to be running inside a container 16:15:43 $ 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-sdk-go_PR-750/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-sdk-go_PR-750 -v /w/workspace/dgexfoundry_device-sdk-go_PR-750:/w/workspace/dgexfoundry_device-sdk-go_PR-750:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 16:15:47 $ docker top 0772889b6595a53e14b278a6a8355d5d700fdd5d1d39ad2d41b1082f0ba04423 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:47 + touch /tmp/pre-build-complete [Pipeline] sh 16:15:47 + mkdir -p /var/log/sa [Pipeline] sh 16:15:48 + ls /var/log/sa-host 16:15:48 + sadf -c /var/log/sa-host/sa21 16:15:48 file_magic: OK 16:15:48 HZ: Using current value: 100 16:15:48 file_header: OK 16:15:48 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 16:15:48 Statistics: 16:15:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 16:15:48 File successfully converted to sysstat format version 12.2.1 16:15:48 + sadf -c /var/log/sa-host/sa23 16:15:48 file_magic: OK 16:15:48 HZ: Using current value: 100 16:15:48 file_header: OK 16:15:48 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 16:15:48 Statistics: 16:15:48 Hnuu...uuuununununu... 16:15:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:15:48 provisioning config files... 16:15:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-750@tmp/config7313777827638483489tmp [Pipeline] { [Pipeline] echo 16:15:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:15:48 ---> create-netrc.sh [Pipeline] } 16:15:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 16:15:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 16:15:49 ---> python-tools-install.sh [Pipeline] echo 16:15:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:15:49 ---> sudo-logs.sh 16:15:49 Archiving 'sudo' log.. [Pipeline] echo 16:15:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:15:50 ---> job-cost.sh 16:15:50 lf-activate-venv: SKIPPING 16:15:50 INFO: No Stack... 16:15:51 INFO: Retrieving Pricing Info for: v1-standard-2 16:15:51 INFO: Archiving Costs [Pipeline] echo 16:15:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:15:52 ---> logs-deploy.sh 16:15:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-750/1 16:15:52 INFO: archiving workspace using pattern(s): 16:15:53 Archives upload complete. 16:15:53 INFO: archiving logs to Nexus