Pull request #741 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 24c286e808a2121fb212f10ca9ebc6d8f0e8e456+81b7f98a259e7befb955434734c5049d14a607c4 (d7be70a590c8ad942a37047bef5d589a594e04c1) 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-741/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 f82e9360b4159668f7e3e090307a6179e9a8e48d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f82e9360b4159668f7e3e090307a6179e9a8e48d # timeout=10 Commit message: "Merge pull request #311 from ernestojeda/fix-data-binary" > 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-741/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 f82e9360b4159668f7e3e090307a6179e9a8e48d 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-21116 in /w/workspace/dgexfoundry_device-sdk-go_PR-741 [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-741 # 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/741/head:refs/remotes/origin/PR-741 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 Merge succeeded, producing 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 Checking out Revision 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 (PR-741) > git config core.sparsecheckout # timeout=10 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # 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 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:57:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:57:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:57:28 ========================================================= 03:57:28 EdgeX Global Pipelines Version Info 03:57:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:57:31 ------------------- 03:57:31 stable info: 03:57:31 ------------------- 03:57:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:57:31 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 03:57:31 Message: update stable to v1.0.177 03:57:32 ------------------- 03:57:32 experimental info: 03:57:32 ------------------- 03:57:32 Commited By: **** collab-it+edgex@linuxfoundation.org 03:57:32 Commit SHA: e10e8b1c2921d3c8fd668fd9f38a05cab6ea93a3 03:57:32 Message: update experimental to v1.0.178 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:57:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:57:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:57:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:57:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:57:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:57:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:57:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 03:57:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-741 [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-741 [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-741 [Pipeline] echo 03:57:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 [Pipeline] echo 03:57:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24c286e [Pipeline] echo 03:57:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 03:57:38 provisioning config files... 03:57:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/config730312820264839472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:57:39 ---> docker-login.sh 03:57:39 nexus3.edgexfoundry.org:10001 03:57:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:40 Configure a credential helper to remove this warning. See 03:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:40 03:57:40 Login Succeeded 03:57:40 nexus3.edgexfoundry.org:10002 03:57:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:40 Configure a credential helper to remove this warning. See 03:57:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:40 03:57:40 Login Succeeded 03:57:40 nexus3.edgexfoundry.org:10003 03:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:41 Configure a credential helper to remove this warning. See 03:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:41 03:57:41 Login Succeeded 03:57:41 nexus3.edgexfoundry.org:10004 03:57:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:41 Configure a credential helper to remove this warning. See 03:57:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:41 03:57:41 Login Succeeded 03:57:41 docker.io 03:57:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:57:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:57:43 Configure a credential helper to remove this warning. See 03:57:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:57:43 03:57:43 Login Succeeded 03:57:43 ---> docker-login.sh ends [Pipeline] } 03:57:43 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 03:57:44 + git log --format=format:%s -1 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 [Pipeline] echo 03:57:44 GIT_COMMIT: 24c286e808a2121fb212f10ca9ebc6d8f0e8e456, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap [Pipeline] echo 03:57:44 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 03:57:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:45 03:57:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:57:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:46 latest: Pulling from edgex-devops/git-semver 03:57:46 31603596830f: Pulling fs layer 03:57:46 2a8b12db71e7: Pulling fs layer 03:57:46 6ca5941a6612: Pulling fs layer 03:57:46 ecc8261a40a4: Pulling fs layer 03:57:46 ecc8261a40a4: Waiting 03:57:46 2a8b12db71e7: Verifying Checksum 03:57:46 2a8b12db71e7: Download complete 03:57:47 31603596830f: Download complete 03:57:47 ecc8261a40a4: Verifying Checksum 03:57:47 ecc8261a40a4: Download complete 03:57:48 31603596830f: Pull complete 03:57:49 2a8b12db71e7: Pull complete 03:57:49 6ca5941a6612: Verifying Checksum 03:57:49 6ca5941a6612: Download complete 03:57:52 6ca5941a6612: Pull complete 03:57:52 ecc8261a40a4: Pull complete 03:57:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 03:57:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:57:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:57:53 prd-centos7-docker-4c-2g-21116 does not seem to be running inside a container 03:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-741 -v /w/workspace/dgexfoundry_device-sdk-go_PR-741:/w/workspace/dgexfoundry_device-sdk-go_PR-741:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-741@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:57:56 $ docker top 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:57:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:57:56 [ssh-agent] Looking for ssh-agent implementation... 03:57:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:57:57 $ docker exec 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 ssh-agent 03:57:58 SSH_AUTH_SOCK=/tmp/ssh-edAWJoEOydW6/agent.11 03:57:58 SSH_AGENT_PID=17 03:57:58 Running ssh-add (command line suppressed) 03:57:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/private_key_7713870564369275093.key (/w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/private_key_7713870564369275093.key) 03:57:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:57:59 + git tag --points-at HEAD [Pipeline] } 03:57:59 $ docker exec --env ******** --env ******** 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 ssh-agent -k 03:58:00 unset SSH_AUTH_SOCK; 03:58:00 unset SSH_AGENT_PID; 03:58:00 echo Agent pid 17 killed; 03:58:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:00 [ssh-agent] Looking for ssh-agent implementation... 03:58:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:01 $ docker exec 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 ssh-agent 03:58:01 SSH_AUTH_SOCK=/tmp/ssh-I43ET7S9frZl/agent.45 03:58:01 SSH_AGENT_PID=50 03:58:01 Running ssh-add (command line suppressed) 03:58:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/private_key_1912371830738590024.key (/w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/private_key_1912371830738590024.key) 03:58:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:03 + git semver init 03:58:04 # -> Open(): unable to determine branch for HEAD 03:58:04 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-741/.git 03:58:04 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-741 03:58:04 # $SEMVER_REMOTE_NAME = origin 03:58:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:58:04 # $SEMVER_USER_NAME = edgex-jenkins 03:58:04 # $SEMVER_BRANCH = PR-741 03:58:04 # $SEMVER_TEMP = /tmp/semver-318397646 03:58:04 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:58:05 # '/tmp/semver-318397646' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-741/.semver' 03:58:05 # -> Force: false 03:58:05 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-741/.semver [Pipeline] } 03:58:05 $ docker exec --env ******** --env ******** 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 ssh-agent -k 03:58:05 unset SSH_AUTH_SOCK; 03:58:05 unset SSH_AGENT_PID; 03:58:05 echo Agent pid 50 killed; 03:58:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:06 + git semver [Pipeline] } 03:58:06 $ docker stop --time=1 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 03:58:08 $ docker rm -f 74bec32d6d56444c6fb3d3227a3263116d327d6d017a4ce89cca51f3065fcff6 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:10 Stashed 1 file(s) [Pipeline] echo 03:58:10 [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 03:58:26 Still waiting to schedule task 03:58:26 Waiting for next available executor on ‘centos7-docker-4c-2g’ 03:58:26 Still waiting to schedule task 03:58:26 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 04:01:27 Running on prd-centos7-docker-4c-2g-21125 in /w/workspace/dgexfoundry_device-sdk-go_PR-741 [Pipeline] { [Pipeline] ws 04:01:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:01:30 using credential edgex-jenkins-ssh 04:01:30 Cloning the remote Git repository 04:01:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:30 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:01:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:30 > git --version # timeout=10 04:01:30 > git --version # 'git version 2.24.3' 04:01:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:31 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/741/head:refs/remotes/origin/PR-741 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:32 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:01:32 Merge succeeded, producing 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:01:32 Checking out Revision 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 (PR-741) 04:01:32 > git config core.sparsecheckout # timeout=10 04:01:32 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # timeout=10 04:01:32 > git remote # timeout=10 04:01:32 > git config --get remote.origin.url # timeout=10 04:01:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:32 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 04:01:32 > git rev-parse HEAD^{commit} # timeout=10 04:01:32 > git config core.sparsecheckout # timeout=10 04:01:32 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # timeout=10 04:01:35 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 04:01:35 > git --version # timeout=10 04:01:35 > git --version # 'git version 2.24.3' 04:01:35 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:37 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 04:01:38 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:38 + sudo service docker restart 04:01:38 + true 04:01:38 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 04:01:39 provisioning config files... 04:01:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1713587454110264613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:40 ---> docker-login.sh 04:01:40 nexus3.edgexfoundry.org:10001 04:01:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:40 Configure a credential helper to remove this warning. See 04:01:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:40 04:01:40 Login Succeeded 04:01:40 nexus3.edgexfoundry.org:10002 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 nexus3.edgexfoundry.org:10003 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 nexus3.edgexfoundry.org:10004 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:41 Configure a credential helper to remove this warning. See 04:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:41 04:01:41 Login Succeeded 04:01:41 docker.io 04:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:42 Configure a credential helper to remove this warning. See 04:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:42 04:01:42 Login Succeeded 04:01:42 ---> docker-login.sh ends [Pipeline] } 04:01:42 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } 04:01:42 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21124 in /w/workspace/dgexfoundry_device-sdk-go_PR-741 [Pipeline] // withEnv [Pipeline] { [Pipeline] unstash [Pipeline] ws 04:01:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] echo 04:01:42 ========================================================= 04:01:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 04:01:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:01:43 + 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 . 04:01:43 Sending build context to Docker daemon 2.515MB 04:01:43 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:01:43 Step 2/8 : FROM ${BASE} 04:01:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 04:01:43 188c0c94c7c5: Pulling fs layer 04:01:43 0ef7d3d256c8: Pulling fs layer 04:01:43 de9db76c5a1d: Pulling fs layer 04:01:43 bca2f99d35d6: Pulling fs layer 04:01:43 93359f2a8cfa: Pulling fs layer 04:01:43 7c6f9722023f: Pulling fs layer 04:01:43 a35cf1a2eb13: Pulling fs layer 04:01:43 93359f2a8cfa: Waiting 04:01:43 7c6f9722023f: Waiting 04:01:43 a35cf1a2eb13: Waiting 04:01:43 bca2f99d35d6: Waiting 04:01:43 de9db76c5a1d: Verifying Checksum 04:01:43 de9db76c5a1d: Download complete 04:01:43 0ef7d3d256c8: Verifying Checksum 04:01:43 0ef7d3d256c8: Download complete 04:01:43 93359f2a8cfa: Verifying Checksum 04:01:43 93359f2a8cfa: Download complete 04:01:43 7c6f9722023f: Verifying Checksum 04:01:43 7c6f9722023f: Download complete 04:01:43 188c0c94c7c5: Verifying Checksum 04:01:43 188c0c94c7c5: Download complete 04:01:44 188c0c94c7c5: Pull complete 04:01:44 0ef7d3d256c8: Pull complete 04:01:44 de9db76c5a1d: Pull complete 04:01:45 a35cf1a2eb13: Verifying Checksum 04:01:45 a35cf1a2eb13: Download complete 04:01:46 bca2f99d35d6: Verifying Checksum 04:01:46 bca2f99d35d6: Download complete 04:01:47 using credential edgex-jenkins-ssh 04:01:47 Cloning the remote Git repository 04:01:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:01:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:47 > git --version # timeout=10 04:01:47 > git --version # 'git version 2.17.1' 04:01:47 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:47 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:49 Merging remotes/origin/master commit 81b7f98a259e7befb955434734c5049d14a607c4 into PR head commit 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:01:50 Merge succeeded, producing 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:01:50 Checking out Revision 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 (PR-741) 04:01:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:01:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:01:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:01:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/741/head:refs/remotes/origin/PR-741 +refs/heads/master:refs/remotes/origin/master # timeout=10 04:01:49 > git config core.sparsecheckout # timeout=10 04:01:49 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # timeout=10 04:01:49 > git remote # timeout=10 04:01:49 > git config --get remote.origin.url # timeout=10 04:01:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:01:50 > git merge 81b7f98a259e7befb955434734c5049d14a607c4 # timeout=10 04:01:50 > git rev-parse HEAD^{commit} # timeout=10 04:01:50 > git config core.sparsecheckout # timeout=10 04:01:50 > git checkout -f 24c286e808a2121fb212f10ca9ebc6d8f0e8e456 # timeout=10 04:01:51 bca2f99d35d6: Pull complete 04:01:51 93359f2a8cfa: Pull complete 04:01:51 7c6f9722023f: Pull complete 04:01:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap" 04:01:54 > git --version # timeout=10 04:01:54 > git --version # 'git version 2.17.1' 04:01:54 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:56 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 04:01:57 a35cf1a2eb13: Pull complete 04:01:57 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 04:01:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 04:01:57 ---> a62c8e92a672 04:01:57 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:01:57 ---> Running in dbec9b9d738c 04:01:57 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 04:01:57 Removing intermediate container dbec9b9d738c 04:01:57 ---> 21674f0f6358 04:01:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:01:57 ---> Running in a0ff3918dee6 04:01:57 + sudo service docker restart 04:01:57 + true 04:01:58 Removing intermediate container a0ff3918dee6 04:01:58 ---> 6ee14a58d630 04:01:58 Step 5/8 : RUN apk add --update --no-cache make git 04:01:58 ---> Running in 155eeaa97f6f 04:01:59 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { 04:02:00 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [Pipeline] wrap 04:02:00 provisioning config files... 04:02:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4204841708355844565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:00 ---> docker-login.sh 04:02:00 nexus3.edgexfoundry.org:10001 04:02:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:02 Configure a credential helper to remove this warning. See 04:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:02 04:02:02 Login Succeeded 04:02:02 nexus3.edgexfoundry.org:10002 04:02:02 OK: 166 MiB in 39 packages 04:02:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:02 Configure a credential helper to remove this warning. See 04:02:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:02 04:02:02 Login Succeeded 04:02:02 nexus3.edgexfoundry.org:10003 04:02:02 Removing intermediate container 155eeaa97f6f 04:02:02 ---> 77cca8d76376 04:02:02 Step 6/8 : WORKDIR /device-sdk-go 04:02:02 ---> Running in ccbba364817f 04:02:03 Removing intermediate container ccbba364817f 04:02:03 ---> 24ea8cc4902a 04:02:03 Step 7/8 : COPY . . 04:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:03 Configure a credential helper to remove this warning. See 04:02:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:03 04:02:03 Login Succeeded 04:02:03 nexus3.edgexfoundry.org:10004 04:02:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:03 Configure a credential helper to remove this warning. See 04:02:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:03 04:02:03 Login Succeeded 04:02:03 docker.io 04:02:04 ---> 45e47b5ad239 04:02:04 Step 8/8 : RUN go mod download 04:02:04 ---> Running in 7963bfd508c3 04:02:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:04 Configure a credential helper to remove this warning. See 04:02:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:04 04:02:04 Login Succeeded 04:02:04 ---> docker-login.sh ends [Pipeline] } 04:02:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:05 ========================================================= 04:02:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 04:02:05 ========================================================= [Pipeline] isUnix [Pipeline] sh 04:02:05 + 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 . 04:02:06 Sending build context to Docker daemon 2.521MB 04:02:06 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 04:02:06 Step 2/8 : FROM ${BASE} 04:02:06 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:02:06 5f621e34cdf4: Pulling fs layer 04:02:06 a4357932f1b6: Pulling fs layer 04:02:06 18c013af1878: Pulling fs layer 04:02:06 00ac8860ef70: Pulling fs layer 04:02:06 63d7cb157983: Pulling fs layer 04:02:06 b116817d02f9: Pulling fs layer 04:02:06 745a02a5169b: Pulling fs layer 04:02:06 00ac8860ef70: Waiting 04:02:06 63d7cb157983: Waiting 04:02:06 b116817d02f9: Waiting 04:02:06 745a02a5169b: Waiting 04:02:06 18c013af1878: Verifying Checksum 04:02:06 18c013af1878: Download complete 04:02:06 a4357932f1b6: Verifying Checksum 04:02:06 a4357932f1b6: Download complete 04:02:06 5f621e34cdf4: Download complete 04:02:06 63d7cb157983: Download complete 04:02:06 b116817d02f9: Verifying Checksum 04:02:06 b116817d02f9: Download complete 04:02:07 5f621e34cdf4: Pull complete 04:02:07 a4357932f1b6: Pull complete 04:02:08 18c013af1878: Pull complete 04:02:09 745a02a5169b: Verifying Checksum 04:02:09 745a02a5169b: Download complete 04:02:10 00ac8860ef70: Verifying Checksum 04:02:10 00ac8860ef70: Download complete 04:02:20 00ac8860ef70: Pull complete 04:02:21 63d7cb157983: Pull complete 04:02:21 b116817d02f9: Pull complete 04:02:25 745a02a5169b: Pull complete 04:02:25 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 04:02:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 04:02:25 ---> b7e6874047d6 04:02:25 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:02:26 Removing intermediate container 7963bfd508c3 04:02:26 ---> c9c96aff51a1 04:02:26 Successfully built c9c96aff51a1 04:02:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:02:26 + docker inspect -f . ci-base-image-x86_64 04:02:26 . [Pipeline] withDockerContainer 04:02:27 prd-centos7-docker-4c-2g-21125 does not seem to be running inside a container 04:02:27 $ 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 ******** ci-base-image-x86_64 cat 04:02:27 $ docker top 7dbdf238d23b26d4fc4c6c96b55c3797c5c8d5224ae333e22a7801209284bb46 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:28 + go version 04:02:28 go version go1.15.5 linux/amd64 [Pipeline] } 04:02:28 $ docker stop --time=1 7dbdf238d23b26d4fc4c6c96b55c3797c5c8d5224ae333e22a7801209284bb46 04:02:28 ---> Running in ff1c060a9a10 04:02:28 Removing intermediate container ff1c060a9a10 04:02:28 ---> 97fee66cc639 04:02:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:28 ---> Running in 9f611e34f959 04:02:29 $ docker rm -f 7dbdf238d23b26d4fc4c6c96b55c3797c5c8d5224ae333e22a7801209284bb46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:02:31 + docker inspect -f . ci-base-image-x86_64 04:02:31 . [Pipeline] withDockerContainer 04:02:31 prd-centos7-docker-4c-2g-21125 does not seem to be running inside a container 04:02:31 $ 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 ******** ci-base-image-x86_64 cat 04:02:31 Removing intermediate container 9f611e34f959 04:02:31 ---> 9e38d43b8e57 04:02:31 Step 5/8 : RUN apk add --update --no-cache make git 04:02:31 ---> Running in 92c0b2bc04d5 04:02:32 $ docker top c6c10169e0d95c2b355f70e886a0968ab5dbe7c672366dfc693f3a90a488370c -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:32 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:02:32 + make test 04:02:32 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:02:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:02:35 OK: 142 MiB in 39 packages 04:02:36 Removing intermediate container 92c0b2bc04d5 04:02:36 ---> 8e80aa3525c2 04:02:36 Step 6/8 : WORKDIR /device-sdk-go 04:02:36 ---> Running in 57f971a51551 04:02:37 Removing intermediate container 57f971a51551 04:02:37 ---> c27592146c5e 04:02:37 Step 7/8 : COPY . . 04:02:38 ---> 11eecd83fe0b 04:02:38 Step 8/8 : RUN go mod download 04:02:38 ---> Running in 7b32937f773f 04:02:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:02:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:02:55 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:02:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:02:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.073s coverage: 19.4% of statements 04:02:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.476s coverage: 97.1% of statements 04:03:00 Removing intermediate container 7b32937f773f 04:03:00 ---> a02a18cf5f92 04:03:00 Successfully built a02a18cf5f92 04:03:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:03:01 + docker inspect -f . ci-base-image-arm64 04:03:01 . [Pipeline] withDockerContainer 04:03:01 prd-ubuntu18.04-docker-arm64-4c-16g-21124 does not seem to be running inside a container 04:03:01 $ 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 ******** ci-base-image-arm64 cat 04:03:03 $ docker top c751e545db33e50c5dc911f875b42e33220e5dd52c423c6699dfb79966e7c1dd -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:04 + go version 04:03:04 go version go1.15.5 linux/arm64 [Pipeline] } 04:03:04 $ docker stop --time=1 c751e545db33e50c5dc911f875b42e33220e5dd52c423c6699dfb79966e7c1dd 04:03:06 $ docker rm -f c751e545db33e50c5dc911f875b42e33220e5dd52c423c6699dfb79966e7c1dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:07 + docker inspect -f . ci-base-image-arm64 04:03:07 . [Pipeline] withDockerContainer 04:03:07 prd-ubuntu18.04-docker-arm64-4c-16g-21124 does not seem to be running inside a container 04:03:07 $ 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 ******** ci-base-image-arm64 cat 04:03:09 $ docker top 6ad048bc2a0f063c171c9555cad7779021ad9b08b82c4f0189bb79028fac49e6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:10 + make test 04:03:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.054s coverage: 9.4% of statements 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.058s coverage: 21.7% of statements 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.223s coverage: 42.9% of statements 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.263s coverage: 68.9% of statements 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 53.8% of statements 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.065s coverage: 25.6% of statements 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.357s coverage: 68.9% of statements 04:03:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.2% of statements 04:03:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:03:26 GO111MODULE=on go vet ./... 04:03:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:03:38 gofmt -l . 04:03:38 [ "`gofmt -l .`" = "" ] 04:03:38 ./bin/test-attribution-txt.sh 04:03:38 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:03:38 $ docker stop --time=1 c6c10169e0d95c2b355f70e886a0968ab5dbe7c672366dfc693f3a90a488370c 04:03:40 $ docker rm -f c6c10169e0d95c2b355f70e886a0968ab5dbe7c672366dfc693f3a90a488370c [Pipeline] // withDockerContainer [Pipeline] sh 04:03:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:43 + ls -al . 04:03:43 total 224 04:03:43 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 04:03 . 04:03:43 drwxrwxr-x. 4 jenkins jenkins 28 Jan 19 04:01 .. 04:03:43 drwxrwxr-x. 2 jenkins jenkins 64 Jan 19 04:01 bin 04:03:43 -rw-r--r--. 1 jenkins jenkins 144063 Jan 19 04:03 coverage.out 04:03:43 -rw-rw-r--. 1 jenkins jenkins 949 Jan 19 04:01 Dockerfile.build 04:03:43 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 04:01 .dockerignore 04:03:43 drwxrwxr-x. 4 jenkins jenkins 48 Jan 19 04:01 example 04:03:43 drwxrwxr-x. 8 jenkins jenkins 179 Jan 19 04:01 .git 04:03:43 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 04:01 .github 04:03:43 -rw-rw-r--. 1 jenkins jenkins 138 Jan 19 04:01 .gitignore 04:03:43 -rw-r--r--. 1 jenkins jenkins 491 Jan 19 04:03 go.mod 04:03:43 -rw-r--r--. 1 jenkins jenkins 14099 Jan 19 04:03 go.sum 04:03:43 drwxrwxr-x. 15 jenkins jenkins 211 Jan 19 04:01 internal 04:03:43 -rw-rw-r--. 1 jenkins jenkins 901 Jan 19 04:01 Jenkinsfile 04:03:43 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 19 04:01 LICENSE 04:03:43 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 19 04:01 Makefile 04:03:43 drwxrwxr-x. 4 jenkins jenkins 26 Jan 19 04:01 openapi 04:03:43 drwxrwxr-x. 5 jenkins jenkins 50 Jan 19 04:01 pkg 04:03:43 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 19 04:01 README.md 04:03:43 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 19 04:01 RELEASE-NOTES.txt 04:03:43 drwxrwxr-x. 4 jenkins jenkins 54 Jan 19 04:01 snap 04:03:43 -rw-rw-r--. 1 jenkins jenkins 5 Jan 19 03:58 VERSION 04:03:43 -rw-rw-r--. 1 jenkins jenkins 222 Jan 19 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:03:43 + docker build -t docker-device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=24c286e808a2121fb212f10ca9ebc6d8f0e8e456 --label arch=amd64 --label version=0.0.0 . 04:03:43 Sending build context to Docker daemon 2.66MB 04:03:43 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:03:43 Step 2/24 : FROM ${BASE} AS builder 04:03:43 ---> c9c96aff51a1 04:03:43 Step 3/24 : ARG MAKE='make build' 04:03:44 ---> Running in 998b9245bf4d 04:03:44 Removing intermediate container 998b9245bf4d 04:03:44 ---> d8900d52f57a 04:03:44 Step 4/24 : WORKDIR /device-sdk-go 04:03:44 ---> Running in 587096c691a1 04:03:44 Removing intermediate container 587096c691a1 04:03:44 ---> c77867d782e2 04:03:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:03:44 ---> Running in 5ac56e029a4c 04:03:44 Removing intermediate container 5ac56e029a4c 04:03:44 ---> 199c4b29a9f4 04:03:44 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:45 ---> Running in 589205c04ac2 04:03:46 Removing intermediate container 589205c04ac2 04:03:46 ---> 590a9302b468 04:03:46 Step 7/24 : RUN apk add --update --no-cache make git 04:03:46 ---> Running in 9c36680ea514 04:03:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 04:03:47 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 04:03:48 OK: 166 MiB in 39 packages 04:03:48 Removing intermediate container 9c36680ea514 04:03:48 ---> 8c0ab19c1c05 04:03:48 Step 8/24 : COPY . . 04:03:50 ---> 2edb26224bad 04:03:50 Step 9/24 : RUN ${MAKE} 04:03:50 ---> Running in 514d318e113b 04:03:50 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:03:59 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:04:01 Removing intermediate container 514d318e113b 04:04:01 ---> 96cf93392e6c 04:04:01 Step 10/24 : FROM scratch 04:04:01 ---> 04:04:01 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:04:01 ---> Running in 5dfdd3318462 04:04:01 Removing intermediate container 5dfdd3318462 04:04:01 ---> 6f8400e05cee 04:04:01 Step 12/24 : ENV APP_PORT=49990 04:04:01 ---> Running in 583ee9f86557 04:04:01 Removing intermediate container 583ee9f86557 04:04:01 ---> d2440684e9b0 04:04:01 Step 13/24 : EXPOSE $APP_PORT 04:04:01 ---> Running in 2ee644636104 04:04:01 Removing intermediate container 2ee644636104 04:04:01 ---> 758d996e1d77 04:04:01 Step 14/24 : WORKDIR / 04:04:01 ---> Running in 1df3ea50889f 04:04:01 Removing intermediate container 1df3ea50889f 04:04:01 ---> b48a72d7a33c 04:04:01 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:04:02 ---> d68082fb7ac8 04:04:02 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:04:02 ---> 5d3a6232678e 04:04:02 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:04:03 ---> 2626d1d3c21b 04:04:03 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:04:03 ---> 5ada320909b0 04:04:03 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:04:03 ---> 42599cb9cc17 04:04:03 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:04:03 ---> Running in d9185fc161ca 04:04:03 Removing intermediate container d9185fc161ca 04:04:03 ---> 9b6fddb2bb63 04:04:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:04:03 ---> Running in b3e3172260cb 04:04:03 Removing intermediate container b3e3172260cb 04:04:03 ---> 30908b935d9c 04:04:03 Step 22/24 : LABEL arch=amd64 04:04:03 ---> Running in d5861d0b5d89 04:04:04 Removing intermediate container d5861d0b5d89 04:04:04 ---> ca0bda684c20 04:04:04 Step 23/24 : LABEL git_sha=24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:04:04 ---> Running in 7c9ce40b5bb1 04:04:04 Removing intermediate container 7c9ce40b5bb1 04:04:04 ---> 99399d3ab9df 04:04:04 Step 24/24 : LABEL version=0.0.0 04:04:04 ---> Running in ec8f07cbeb4d 04:04:04 Removing intermediate container ec8f07cbeb4d 04:04:04 ---> e35c10f5d83b 04:04:04 [Warning] One or more build-args [ARCH] were not consumed 04:04:04 Successfully built e35c10f5d83b 04:04:04 Successfully tagged docker-device-sdk-simple: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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:04:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:04:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.173s coverage: 19.4% of statements 04:04:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.232s coverage: 97.1% of statements 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.131s coverage: 9.4% of statements 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.139s coverage: 21.7% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.575s coverage: 42.9% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.799s coverage: 68.9% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.210s coverage: 53.8% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.180s coverage: 25.6% of statements 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.955s coverage: 68.9% of statements 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.151s coverage: 4.2% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:04:48 GO111MODULE=on go vet ./... 04:05:21 gofmt -l . 04:05:21 [ "`gofmt -l .`" = "" ] 04:05:21 ./bin/test-attribution-txt.sh 04:05:22 ./bin/test-go-mod-tidy.sh [Pipeline] } 04:05:23 $ docker stop --time=1 6ad048bc2a0f063c171c9555cad7779021ad9b08b82c4f0189bb79028fac49e6 04:05:25 $ docker rm -f 6ad048bc2a0f063c171c9555cad7779021ad9b08b82c4f0189bb79028fac49e6 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:26 Warning: overwriting stash ‘coverage-report’ 04:05:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:28 + ls -al . 04:05:28 total 260 04:05:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 19 04:05 . 04:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 .. 04:05:28 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 04:01 .dockerignore 04:05:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 04:01 .git 04:05:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:01 .github 04:05:28 -rw-rw-r-- 1 jenkins jenkins 138 Jan 19 04:01 .gitignore 04:05:28 -rw-rw-r-- 1 jenkins jenkins 949 Jan 19 04:01 Dockerfile.build 04:05:28 -rw-rw-r-- 1 jenkins jenkins 901 Jan 19 04:01 Jenkinsfile 04:05:28 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 19 04:01 LICENSE 04:05:28 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 19 04:01 Makefile 04:05:28 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 19 04:01 README.md 04:05:28 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 19 04:01 RELEASE-NOTES.txt 04:05:28 -rw-rw-r-- 1 jenkins jenkins 5 Jan 19 03:58 VERSION 04:05:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 04:01 bin 04:05:28 -rw-r--r-- 1 jenkins jenkins 144063 Jan 19 04:04 coverage.out 04:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 example 04:05:28 -rw-r--r-- 1 jenkins jenkins 491 Jan 19 04:05 go.mod 04:05:28 -rw-r--r-- 1 jenkins jenkins 14099 Jan 19 04:05 go.sum 04:05:28 drwxrwxr-x 15 jenkins jenkins 4096 Jan 19 04:01 internal 04:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 openapi 04:05:28 drwxrwxr-x 5 jenkins jenkins 4096 Jan 19 04:01 pkg 04:05:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 04:01 snap 04:05:28 -rw-rw-r-- 1 jenkins jenkins 222 Jan 19 04:01 version.go [Pipeline] isUnix [Pipeline] sh 04:05:29 + docker build -t docker-device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=24c286e808a2121fb212f10ca9ebc6d8f0e8e456 --label arch=arm64 --label version=0.0.0 . 04:05:29 Sending build context to Docker daemon 2.666MB 04:05:29 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 04:05:29 Step 2/24 : FROM ${BASE} AS builder 04:05:29 ---> a02a18cf5f92 04:05:29 Step 3/24 : ARG MAKE='make build' 04:05:29 ---> Running in 232e68ad85f2 04:05:30 Removing intermediate container 232e68ad85f2 04:05:30 ---> 9309b786de1c 04:05:30 Step 4/24 : WORKDIR /device-sdk-go 04:05:30 ---> Running in 42c6a76594ae 04:05:31 Removing intermediate container 42c6a76594ae 04:05:31 ---> b3911e27ec4c 04:05:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:31 ---> Running in 651a22a1967f 04:05:31 Removing intermediate container 651a22a1967f 04:05:31 ---> 4241c0c39fc5 04:05:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:31 ---> Running in 9b24503b3abb 04:05:34 Removing intermediate container 9b24503b3abb 04:05:34 ---> 17cab0a9bc88 04:05:34 Step 7/24 : RUN apk add --update --no-cache make git 04:05:34 ---> Running in ea1421c5d2ef 04:05:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 04:05:35 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 04:05:37 OK: 142 MiB in 39 packages 04:05:38 Removing intermediate container ea1421c5d2ef 04:05:38 ---> 085157fb64e2 04:05:38 Step 8/24 : COPY . . 04:05:39 ---> b31905eb8c0a 04:05:39 Step 9/24 : RUN ${MAKE} 04:05:39 ---> Running in a9876c6fd8cd 04:05:40 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:06:07 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 04:06:07 Removing intermediate container a9876c6fd8cd 04:06:07 ---> c45b7f4d66c5 04:06:07 Step 10/24 : FROM scratch 04:06:07 ---> 04:06:07 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:07 ---> Running in 96223c7cd1d5 04:06:08 Removing intermediate container 96223c7cd1d5 04:06:08 ---> 0c3f2ecb1e50 04:06:08 Step 12/24 : ENV APP_PORT=49990 04:06:08 ---> Running in 500848f54fa6 04:06:08 Removing intermediate container 500848f54fa6 04:06:08 ---> b7f218de3271 04:06:08 Step 13/24 : EXPOSE $APP_PORT 04:06:08 ---> Running in 221fe4baead8 04:06:08 Removing intermediate container 221fe4baead8 04:06:08 ---> 4421a2b6e83a 04:06:08 Step 14/24 : WORKDIR / 04:06:09 ---> Running in 37399de139e7 04:06:09 Removing intermediate container 37399de139e7 04:06:09 ---> d6340034e979 04:06:09 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 04:06:10 ---> 873d488e45a9 04:06:10 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 04:06:11 ---> 16d132b45ace 04:06:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 04:06:12 ---> ef442a92e94a 04:06:12 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 04:06:13 ---> 9ed6eab500d9 04:06:13 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 04:06:13 ---> d81356442174 04:06:13 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 04:06:13 ---> Running in 5316a2fe4b4a 04:06:14 Removing intermediate container 5316a2fe4b4a 04:06:14 ---> 2fe8516af749 04:06:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:06:14 ---> Running in bbb208f4a518 04:06:14 Removing intermediate container bbb208f4a518 04:06:14 ---> 23f40b016d72 04:06:14 Step 22/24 : LABEL arch=arm64 04:06:14 ---> Running in e631370b025a 04:06:15 Removing intermediate container e631370b025a 04:06:15 ---> 142566a7010a 04:06:15 Step 23/24 : LABEL git_sha=24c286e808a2121fb212f10ca9ebc6d8f0e8e456 04:06:15 ---> Running in 3e3b14dce449 04:06:15 Removing intermediate container 3e3b14dce449 04:06:15 ---> 3c0df2307547 04:06:15 Step 24/24 : LABEL version=0.0.0 04:06:16 ---> Running in 75fd4217265d 04:06:16 Removing intermediate container 75fd4217265d 04:06:16 ---> 1b9a9801f625 04:06:16 [Warning] One or more build-args [ARCH] were not consumed 04:06:16 Successfully built 1b9a9801f625 04:06:16 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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 04:06:18 provisioning config files... 04:06:18 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/config4692461038849763492tmp [Pipeline] { [Pipeline] sh 04:06:19 + set +x 04:06:19 + curl -s https://codecov.io/bash 04:06:19 + bash -s -- 04:06:19 04:06:19 _____ _ 04:06:19 / ____| | | 04:06:19 | | ___ __| | ___ ___ _____ __ 04:06:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:06:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:06:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:06:19 Bash-20210115-cec3c92 04:06:19 04:06:19 04:06:19 ==> git version 2.24.3 found 04:06:19 ==> 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 04:06:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:06:19 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:06:19 ==> Jenkins CI detected. 04:06:19 project root: . 04:06:19 --> token set from env 04:06:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:06:19 ==> Running gcov in . (disable via -X gcov) 04:06:19 ==> Python coveragepy not found 04:06:19 ==> Searching for coverage reports in: 04:06:19 + . 04:06:19 -> Found 1 reports 04:06:19 ==> Detecting git/mercurial file structure 04:06:19 ==> Reading reports 04:06:19 + ./coverage.out bytes=144063 04:06:19 ==> Appending adjustments 04:06:19 https://docs.codecov.io/docs/fixing-reports 04:06:21 + Found adjustments 04:06:21 ==> Gzipping contents 04:06:21 24K /tmp/codecov.SoPXNK.gz 04:06:21 ==> Uploading reports 04:06:21 url: https://codecov.io 04:06:21 query: branch=PR-741&commit=24c286e808a2121fb212f10ca9ebc6d8f0e8e456&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-741%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=741&job=&cmd_args= 04:06:21 -> Pinging Codecov 04:06:21 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-741&commit=24c286e808a2121fb212f10ca9ebc6d8f0e8e456&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-741%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=741&job=&cmd_args= 04:06:21 -> Uploading to 04:06:21 https://storage.googleapis.com/codecov/v4/raw/2021-01-19/7E55EF52A471D76F132DFD9A03CDDE97/24c286e808a2121fb212f10ca9ebc6d8f0e8e456/a5a20b62-5483-43cc-be8f-441765fbcb29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210119T040621Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e0b6427a560435104476a5215caf885ec9b388a7675e8d36533e8bef417d01a 04:06:21 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:21 Dload Upload Total Spent Left Speed 04:06:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 22329 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22329 0 0 100 22329 0 35708 --:--:-- --:--:-- --:--:-- 35726 04:06:22 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/24c286e808a2121fb212f10ca9ebc6d8f0e8e456 [Pipeline] } 04:06:22 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] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 04:06:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:06:27 ---> package-listing.sh 04:06:27 ++ facter osfamily 04:06:27 ++ tr '[:upper:]' '[:lower:]' 04:06:27 + OS_FAMILY=redhat 04:06:27 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-741 04:06:27 + START_PACKAGES=/tmp/packages_start.txt 04:06:27 + END_PACKAGES=/tmp/packages_end.txt 04:06:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:06:27 + PACKAGES=/tmp/packages_start.txt 04:06:27 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-741 ']' 04:06:27 + PACKAGES=/tmp/packages_end.txt 04:06:27 + case "${OS_FAMILY}" in 04:06:27 + sort 04:06:27 + rpm -qa 04:06:34 + '[' -f /tmp/packages_start.txt ']' 04:06:34 + '[' -f /tmp/packages_end.txt ']' 04:06:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:06:34 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-741 ']' 04:06:34 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-741/archives/ 04:06:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-741/archives/ [Pipeline] echo 04:06:34 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-741/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:06:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:06:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:35 04:06:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 04:06:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:06:36 alpine: Pulling from edgex-lftools-log-publisher 04:06:36 df20fa9351a1: Pulling fs layer 04:06:36 36b3adc4ff6f: Pulling fs layer 04:06:36 8ad3a11d3b57: Pulling fs layer 04:06:36 46f8f816bc3b: Pulling fs layer 04:06:36 93b61091891f: Pulling fs layer 04:06:36 93b9cdb0e59b: Pulling fs layer 04:06:36 5e14af77c1be: Pulling fs layer 04:06:36 01666e4c0597: Pulling fs layer 04:06:36 aa168da1d23b: Pulling fs layer 04:06:36 46f8f816bc3b: Waiting 04:06:36 93b61091891f: Waiting 04:06:36 93b9cdb0e59b: Waiting 04:06:36 5e14af77c1be: Waiting 04:06:36 01666e4c0597: Waiting 04:06:36 aa168da1d23b: Waiting 04:06:36 36b3adc4ff6f: Verifying Checksum 04:06:36 36b3adc4ff6f: Download complete 04:06:36 46f8f816bc3b: Verifying Checksum 04:06:36 46f8f816bc3b: Download complete 04:06:37 df20fa9351a1: Verifying Checksum 04:06:37 df20fa9351a1: Download complete 04:06:37 93b9cdb0e59b: Verifying Checksum 04:06:37 93b9cdb0e59b: Download complete 04:06:37 93b61091891f: Verifying Checksum 04:06:37 93b61091891f: Download complete 04:06:37 5e14af77c1be: Verifying Checksum 04:06:37 5e14af77c1be: Download complete 04:06:37 01666e4c0597: Verifying Checksum 04:06:37 01666e4c0597: Download complete 04:06:37 df20fa9351a1: Pull complete 04:06:37 36b3adc4ff6f: Pull complete 04:06:38 8ad3a11d3b57: Verifying Checksum 04:06:38 8ad3a11d3b57: Download complete 04:06:40 8ad3a11d3b57: Pull complete 04:06:40 46f8f816bc3b: Pull complete 04:06:41 93b61091891f: Pull complete 04:06:41 93b9cdb0e59b: Pull complete 04:06:42 5e14af77c1be: Pull complete 04:06:42 01666e4c0597: Pull complete 04:06:45 aa168da1d23b: Verifying Checksum 04:06:45 aa168da1d23b: Download complete 04:07:00 aa168da1d23b: Pull complete 04:07:00 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 04:07:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 04:07:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 04:07:01 prd-centos7-docker-4c-2g-21116 does not seem to be running inside a container 04:07:01 $ 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-741/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-741 -v /w/workspace/dgexfoundry_device-sdk-go_PR-741:/w/workspace/dgexfoundry_device-sdk-go_PR-741:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-741@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 04:07:04 $ docker top a816b70739b261e9d2064743b43844efef1a134e9acade9c32458fd2b83dae87 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:05 + touch /tmp/pre-build-complete [Pipeline] sh 04:07:06 + mkdir -p /var/log/sa [Pipeline] sh 04:07:06 + ls /var/log/sa-host 04:07:06 + sadf -c /var/log/sa-host/sa19 04:07:06 file_magic: OK 04:07:06 HZ: Using current value: 100 04:07:06 file_header: OK 04:07:06 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 04:07:06 Statistics: 04:07:06 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:07:06 File successfully converted to sysstat format version 12.2.1 04:07:06 + sadf -c /var/log/sa-host/sa23 04:07:06 file_magic: OK 04:07:06 HZ: Using current value: 100 04:07:06 file_header: OK 04:07:06 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 04:07:06 Statistics: 04:07:06 Hnuu...uuuununununu... 04:07:06 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:07 provisioning config files... 04:07:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-741@tmp/config1930213707807331903tmp [Pipeline] { [Pipeline] echo 04:07:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:07:08 ---> create-netrc.sh [Pipeline] } 04:07:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 04:07:08 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 04:07:08 ---> python-tools-install.sh [Pipeline] echo 04:07:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:07:09 ---> sudo-logs.sh 04:07:09 Archiving 'sudo' log.. [Pipeline] echo 04:07:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:07:10 ---> job-cost.sh 04:07:10 lf-activate-venv: SKIPPING 04:07:10 INFO: No Stack... 04:07:11 INFO: Retrieving Pricing Info for: v1-standard-2 04:07:12 INFO: Archiving Costs [Pipeline] echo 04:07:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:07:13 ---> logs-deploy.sh 04:07:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-741/1 04:07:13 INFO: archiving workspace using pattern(s): 04:07:16 Archives upload complete. 04:07:16 INFO: archiving logs to Nexus