Pull request #729 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 5e2a32238d99826c9fc88cb864a5c6570bfae1e4+1f15288997641a3d0d3a625c9b3944aa45f594eb (60b4ec38c56a26ed347e96c6b2a5a4e42cdfb989) 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-729/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-729/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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-20162 in /w/workspace/dgexfoundry_device-sdk-go_PR-729 [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-729 # 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 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 Merge succeeded, producing 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 Checking out Revision 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 (PR-729) > 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/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # 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 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 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 06:13:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:13:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:13:29 ========================================================= 06:13:29 EdgeX Global Pipelines Version Info 06:13:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:13:31 ------------------- 06:13:31 stable info: 06:13:31 ------------------- 06:13:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:13:31 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:13:31 Message: update stable to v1.0.177 06:13:32 ------------------- 06:13:32 experimental info: 06:13:32 ------------------- 06:13:32 Commited By: **** collab-it+edgex@linuxfoundation.org 06:13:32 Commit SHA: f82e9360b4159668f7e3e090307a6179e9a8e48d 06:13:32 Message: update experimental to v1.0.177 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:13:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:13:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:13:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:13:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:13:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:13:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-729 [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-729 [Pipeline] echo 06:13:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-729 [Pipeline] echo 06:13:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 [Pipeline] echo 06:13:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e2a322 [Pipeline] echo 06:13:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:13:37 provisioning config files... 06:13:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/config7441493842119790691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:37 ---> docker-login.sh 06:13:37 nexus3.edgexfoundry.org:10001 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10002 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10003 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 nexus3.edgexfoundry.org:10004 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:38 Configure a credential helper to remove this warning. See 06:13:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:38 06:13:38 Login Succeeded 06:13:38 docker.io 06:13:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:13:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:13:39 Configure a credential helper to remove this warning. See 06:13:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:13:39 06:13:39 Login Succeeded 06:13:39 ---> docker-login.sh ends [Pipeline] } 06:13:39 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 06:13:40 + git log --format=format:%s -1 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 [Pipeline] echo 06:13:40 GIT_COMMIT: 5e2a32238d99826c9fc88cb864a5c6570bfae1e4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts [Pipeline] echo 06:13:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:13:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:41 06:13:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:13:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:41 latest: Pulling from edgex-devops/git-semver 06:13:41 31603596830f: Pulling fs layer 06:13:41 2a8b12db71e7: Pulling fs layer 06:13:41 6ca5941a6612: Pulling fs layer 06:13:41 ecc8261a40a4: Pulling fs layer 06:13:41 ecc8261a40a4: Waiting 06:13:41 2a8b12db71e7: Download complete 06:13:41 31603596830f: Verifying Checksum 06:13:41 31603596830f: Download complete 06:13:41 ecc8261a40a4: Verifying Checksum 06:13:41 ecc8261a40a4: Download complete 06:13:41 6ca5941a6612: Verifying Checksum 06:13:41 6ca5941a6612: Download complete 06:13:42 31603596830f: Pull complete 06:13:42 2a8b12db71e7: Pull complete 06:13:42 6ca5941a6612: Pull complete 06:13:43 ecc8261a40a4: Pull complete 06:13:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:13:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:13:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:13:43 prd-centos7-docker-4c-2g-20162 does not seem to be running inside a container 06:13:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-729 -v /w/workspace/dgexfoundry_device-sdk-go_PR-729:/w/workspace/dgexfoundry_device-sdk-go_PR-729:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-729@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 06:13:45 $ docker top 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:13:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:45 [ssh-agent] Looking for ssh-agent implementation... 06:13:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:46 $ docker exec 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 ssh-agent 06:13:46 SSH_AUTH_SOCK=/tmp/ssh-xoVR4UJb3tBb/agent.11 06:13:46 SSH_AGENT_PID=16 06:13:46 Running ssh-add (command line suppressed) 06:13:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/private_key_1198226717142653854.key (/w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/private_key_1198226717142653854.key) 06:13:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:46 + git tag --points-at HEAD [Pipeline] } 06:13:46 $ docker exec --env ******** --env ******** 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 ssh-agent -k 06:13:47 unset SSH_AUTH_SOCK; 06:13:47 unset SSH_AGENT_PID; 06:13:47 echo Agent pid 16 killed; 06:13:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:13:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:47 [ssh-agent] Looking for ssh-agent implementation... 06:13:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:47 $ docker exec 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 ssh-agent 06:13:47 SSH_AUTH_SOCK=/tmp/ssh-o8Xk2NR2uL38/agent.44 06:13:47 SSH_AGENT_PID=50 06:13:47 Running ssh-add (command line suppressed) 06:13:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/private_key_6154624228782514240.key (/w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/private_key_6154624228782514240.key) 06:13:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:48 + git semver init 06:13:48 # -> Open(): unable to determine branch for HEAD 06:13:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-729/.git 06:13:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-729 06:13:48 # $SEMVER_REMOTE_NAME = origin 06:13:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:13:48 # $SEMVER_USER_NAME = edgex-jenkins 06:13:48 # $SEMVER_BRANCH = PR-729 06:13:48 # $SEMVER_TEMP = /tmp/semver-684538572 06:13:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 06:13:48 # '/tmp/semver-684538572' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-729/.semver' 06:13:48 # -> Force: false 06:13:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-729/.semver [Pipeline] } 06:13:48 $ docker exec --env ******** --env ******** 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 ssh-agent -k 06:13:48 unset SSH_AUTH_SOCK; 06:13:48 unset SSH_AGENT_PID; 06:13:48 echo Agent pid 50 killed; 06:13:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:49 + git semver [Pipeline] } 06:13:49 $ docker stop --time=1 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 06:13:51 $ docker rm -f 52cb477ac627b83cf100a7c7b55bac440626cbdfd8ddeb8182bfd8c7a20d1693 [Pipeline] // withDockerContainer [Pipeline] sh 06:13:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:13:52 Stashed 1 file(s) [Pipeline] echo 06:13:52 [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 06:14:07 Still waiting to schedule task 06:14:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 06:14:07 Still waiting to schedule task 06:14:07 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 06:15:59 Running on prd-centos7-docker-4c-2g-20166 in /w/workspace/dgexfoundry_device-sdk-go_PR-729 [Pipeline] { [Pipeline] ws 06:15:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:16:02 using credential edgex-jenkins-ssh 06:16:02 Cloning the remote Git repository 06:16:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:16:01 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:16:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:02 > git --version # timeout=10 06:16:02 > git --version # 'git version 2.24.3' 06:16:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:04 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:16:04 Merge succeeded, producing 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:16:04 Checking out Revision 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 (PR-729) 06:16:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:16:04 > git config core.sparsecheckout # timeout=10 06:16:04 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # timeout=10 06:16:04 > git remote # timeout=10 06:16:04 > git config --get remote.origin.url # timeout=10 06:16:04 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:04 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:16:04 > git rev-parse HEAD^{commit} # timeout=10 06:16:04 > git config core.sparsecheckout # timeout=10 06:16:04 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # timeout=10 06:16:08 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:16:08 > git --version # timeout=10 06:16:08 > git --version # 'git version 2.24.3' 06:16:08 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:09 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:16:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:16:10 + sudo service docker restart 06:16:10 + true 06:16:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:16:11 provisioning config files... 06:16:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8544220480511795244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:12 ---> docker-login.sh 06:16:12 nexus3.edgexfoundry.org:10001 06:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:12 Configure a credential helper to remove this warning. See 06:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:12 06:16:12 Login Succeeded 06:16:12 nexus3.edgexfoundry.org:10002 06:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:12 Configure a credential helper to remove this warning. See 06:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:12 06:16:12 Login Succeeded 06:16:12 nexus3.edgexfoundry.org:10003 06:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:12 Configure a credential helper to remove this warning. See 06:16:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:12 06:16:12 Login Succeeded 06:16:12 nexus3.edgexfoundry.org:10004 06:16:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 docker.io 06:16:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:16:13 Configure a credential helper to remove this warning. See 06:16:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:16:13 06:16:13 Login Succeeded 06:16:13 ---> docker-login.sh ends [Pipeline] } 06:16:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:13 ========================================================= 06:16:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:16:13 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:16:14 + 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 . 06:16:14 Sending build context to Docker daemon 2.474MB 06:16:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:16:14 Step 2/8 : FROM ${BASE} 06:16:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:14 188c0c94c7c5: Pulling fs layer 06:16:14 0ef7d3d256c8: Pulling fs layer 06:16:14 de9db76c5a1d: Pulling fs layer 06:16:14 bca2f99d35d6: Pulling fs layer 06:16:14 93359f2a8cfa: Pulling fs layer 06:16:14 7c6f9722023f: Pulling fs layer 06:16:14 a35cf1a2eb13: Pulling fs layer 06:16:14 93359f2a8cfa: Waiting 06:16:14 7c6f9722023f: Waiting 06:16:14 a35cf1a2eb13: Waiting 06:16:14 bca2f99d35d6: Waiting 06:16:14 de9db76c5a1d: Verifying Checksum 06:16:14 de9db76c5a1d: Download complete 06:16:14 0ef7d3d256c8: Verifying Checksum 06:16:14 0ef7d3d256c8: Download complete 06:16:14 93359f2a8cfa: Verifying Checksum 06:16:14 93359f2a8cfa: Download complete 06:16:14 7c6f9722023f: Verifying Checksum 06:16:14 7c6f9722023f: Download complete 06:16:15 188c0c94c7c5: Verifying Checksum 06:16:15 188c0c94c7c5: Download complete 06:16:15 188c0c94c7c5: Pull complete 06:16:15 0ef7d3d256c8: Pull complete 06:16:15 de9db76c5a1d: Pull complete 06:16:16 a35cf1a2eb13: Verifying Checksum 06:16:16 a35cf1a2eb13: Download complete 06:16:17 bca2f99d35d6: Verifying Checksum 06:16:17 bca2f99d35d6: Download complete 06:16:24 bca2f99d35d6: Pull complete 06:16:24 93359f2a8cfa: Pull complete 06:16:24 7c6f9722023f: Pull complete 06:16:28 a35cf1a2eb13: Pull complete 06:16:28 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:16:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:16:28 ---> a62c8e92a672 06:16:28 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:16:28 ---> Running in 63bdd7b2438b 06:16:28 Removing intermediate container 63bdd7b2438b 06:16:28 ---> 6442247f281b 06:16:28 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:16:28 ---> Running in 697ef5aead92 06:16:29 Removing intermediate container 697ef5aead92 06:16:29 ---> c37e1d929543 06:16:29 Step 5/8 : RUN apk add --update --no-cache make git 06:16:29 ---> Running in e28ad6cb1c49 06:16:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:16:31 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:16:32 OK: 166 MiB in 39 packages 06:16:33 Removing intermediate container e28ad6cb1c49 06:16:33 ---> f620dc68ca92 06:16:33 Step 6/8 : WORKDIR /device-sdk-go 06:16:33 ---> Running in 522f475be317 06:16:33 Removing intermediate container 522f475be317 06:16:33 ---> 0b73d554cc0a 06:16:33 Step 7/8 : COPY . . 06:16:34 ---> b55b4425c8f8 06:16:34 Step 8/8 : RUN go mod download 06:16:34 ---> Running in e3b2943c66e3 06:16:41 Running on prd-ubuntu18.04-docker-arm64-4c-16g-20165 in /w/workspace/dgexfoundry_device-sdk-go_PR-729 [Pipeline] { [Pipeline] ws 06:16:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 06:16:47 using credential edgex-jenkins-ssh 06:16:47 Cloning the remote Git repository 06:16:47 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:16:47 > git init /w/workspace/device-sdk-go/1 # timeout=10 06:16:47 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:47 > git --version # timeout=10 06:16:48 > git --version # 'git version 2.17.1' 06:16:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:16:49 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:16:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:16:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:49 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/729/head:refs/remotes/origin/PR-729 +refs/heads/master:refs/remotes/origin/master # timeout=10 06:16:50 Merging remotes/origin/master commit 1f15288997641a3d0d3a625c9b3944aa45f594eb into PR head commit 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:16:50 Merge succeeded, producing 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:16:50 Checking out Revision 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 (PR-729) 06:16:50 > git config core.sparsecheckout # timeout=10 06:16:50 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # timeout=10 06:16:50 > git remote # timeout=10 06:16:50 > git config --get remote.origin.url # timeout=10 06:16:50 using GIT_SSH to set credentials SSH Credentials for GitHub 06:16:50 > git merge 1f15288997641a3d0d3a625c9b3944aa45f594eb # timeout=10 06:16:50 > git rev-parse HEAD^{commit} # timeout=10 06:16:50 > git config core.sparsecheckout # timeout=10 06:16:50 > git checkout -f 5e2a32238d99826c9fc88cb864a5c6570bfae1e4 # timeout=10 06:16:53 Removing intermediate container e3b2943c66e3 06:16:53 ---> 62e54986f5a1 06:16:53 Successfully built 62e54986f5a1 06:16:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:16:53 + docker inspect -f . ci-base-image-x86_64 06:16:53 . [Pipeline] withDockerContainer 06:16:53 prd-centos7-docker-4c-2g-20166 does not seem to be running inside a container 06:16:53 $ 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 06:16:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts" 06:16:54 $ docker top 2ab706870aa3a5ea155a469b4acb2f4ca7eecb63650535aa97ee2de9ff43d0ca -eo pid,comm 06:16:54 > git --version # timeout=10 06:16:54 > git --version # 'git version 2.17.1' 06:16:54 fatal: bad object f82e9360b4159668f7e3e090307a6179e9a8e48d [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { 06:16:55 + go version 06:16:55 go version go1.15.5 linux/amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] } 06:16:55 $ docker stop --time=1 2ab706870aa3a5ea155a469b4acb2f4ca7eecb63650535aa97ee2de9ff43d0ca 06:16:56 $ docker rm -f 2ab706870aa3a5ea155a469b4acb2f4ca7eecb63650535aa97ee2de9ff43d0ca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Prep) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 06:16:58 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:16:58 + docker inspect -f . ci-base-image-x86_64 06:16:58 . [Pipeline] withDockerContainer 06:16:58 prd-centos7-docker-4c-2g-20166 does not seem to be running inside a container 06:16:58 $ 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 06:16:59 $ docker top 42c2ab7f81cb434ef44cb59a77b88972cf666878084f73ac0f04774ef2013965 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 06:17:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:17:00 + make test 06:17:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:17:00 + sudo service docker+ restart 06:17:00 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:17:03 provisioning config files... 06:17:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2685080625201620686tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:04 ---> docker-login.sh 06:17:04 nexus3.edgexfoundry.org:10001 06:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:05 Configure a credential helper to remove this warning. See 06:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:05 06:17:05 Login Succeeded 06:17:05 nexus3.edgexfoundry.org:10002 06:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:06 Configure a credential helper to remove this warning. See 06:17:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:06 06:17:06 Login Succeeded 06:17:06 nexus3.edgexfoundry.org:10003 06:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:06 Configure a credential helper to remove this warning. See 06:17:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:06 06:17:06 Login Succeeded 06:17:06 nexus3.edgexfoundry.org:10004 06:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:07 Configure a credential helper to remove this warning. See 06:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:07 06:17:07 Login Succeeded 06:17:07 docker.io 06:17:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:08 Configure a credential helper to remove this warning. See 06:17:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:08 06:17:08 Login Succeeded 06:17:08 ---> docker-login.sh ends [Pipeline] } 06:17:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:17:08 ========================================================= 06:17:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:17:08 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:17:08 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:17:09 + 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 . 06:17:09 Sending build context to Docker daemon 2.473MB 06:17:09 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 06:17:09 Step 2/8 : FROM ${BASE} 06:17:09 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:17:09 5f621e34cdf4: Pulling fs layer 06:17:09 a4357932f1b6: Pulling fs layer 06:17:09 18c013af1878: Pulling fs layer 06:17:09 00ac8860ef70: Pulling fs layer 06:17:09 63d7cb157983: Pulling fs layer 06:17:09 b116817d02f9: Pulling fs layer 06:17:09 745a02a5169b: Pulling fs layer 06:17:09 63d7cb157983: Waiting 06:17:09 b116817d02f9: Waiting 06:17:09 745a02a5169b: Waiting 06:17:09 00ac8860ef70: Waiting 06:17:09 18c013af1878: Verifying Checksum 06:17:09 18c013af1878: Download complete 06:17:09 a4357932f1b6: Verifying Checksum 06:17:09 a4357932f1b6: Download complete 06:17:10 63d7cb157983: Verifying Checksum 06:17:10 63d7cb157983: Download complete 06:17:10 5f621e34cdf4: Verifying Checksum 06:17:10 5f621e34cdf4: Download complete 06:17:10 5f621e34cdf4: Pull complete 06:17:11 a4357932f1b6: Pull complete 06:17:12 18c013af1878: Pull complete 06:17:12 745a02a5169b: Verifying Checksum 06:17:12 745a02a5169b: Download complete 06:17:13 00ac8860ef70: Download complete 06:17:23 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:17:23 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:17:23 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:17:23 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.067s coverage: 19.4% of statements 06:17:24 00ac8860ef70: Pull complete 06:17:24 63d7cb157983: Pull complete 06:17:24 b116817d02f9: Pull complete 06:17:25 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.446s coverage: 97.1% of statements 06:17:27 745a02a5169b: Pull complete 06:17:27 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:17:27 ---> b7e6874047d6 06:17:27 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:17:31 ---> Running in 0dff5d465ece 06:17:31 Removing intermediate container 0dff5d465ece 06:17:31 ---> 90eefa17d395 06:17:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:17:31 ---> Running in 547454348dc2 06:17:34 Removing intermediate container 547454348dc2 06:17:34 ---> 76792ee4c436 06:17:34 Step 5/8 : RUN apk add --update --no-cache make git 06:17:34 ---> Running in 8d00675dd95d 06:17:35 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:17:36 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:17:36 OK: 142 MiB in 39 packages 06:17:38 Removing intermediate container 8d00675dd95d 06:17:38 ---> 8b894a757153 06:17:38 Step 6/8 : WORKDIR /device-sdk-go 06:17:38 ---> Running in 18ee07a6478d 06:17:38 Removing intermediate container 18ee07a6478d 06:17:38 ---> a9c4e668ef2b 06:17:38 Step 7/8 : COPY . . 06:17:40 ---> a09c59907e15 06:17:40 Step 8/8 : RUN go mod download 06:17:40 ---> Running in 4c0d7639f2f9 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.073s coverage: 9.4% of statements 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.055s coverage: 21.7% of statements 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.231s coverage: 42.9% of statements 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.288s coverage: 68.9% of statements 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.064s coverage: 53.8% of statements 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:17:58 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:17:58 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.078s coverage: 31.3% of statements 06:17:58 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.398s coverage: 68.9% of statements 06:17:58 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.055s coverage: 4.2% of statements 06:17:58 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:17:58 GO111MODULE=on go vet ./... 06:18:02 Removing intermediate container 4c0d7639f2f9 06:18:02 ---> 0cac94ba989a 06:18:02 Successfully built 0cac94ba989a 06:18:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:18:02 + docker inspect -f . ci-base-image-arm64 06:18:02 . [Pipeline] withDockerContainer 06:18:03 prd-ubuntu18.04-docker-arm64-4c-16g-20165 does not seem to be running inside a container 06:18:03 $ 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 06:18:05 $ docker top ce8e54cb2571c62212439f081c2c2963fbf48b1c95c6d06920f5fe87035de3de -eo pid,comm [Pipeline] { [Pipeline] sh 06:18:06 + go version 06:18:06 go version go1.15.5 linux/arm64 [Pipeline] } 06:18:06 $ docker stop --time=1 ce8e54cb2571c62212439f081c2c2963fbf48b1c95c6d06920f5fe87035de3de 06:18:06 gofmt -l . 06:18:06 [ "`gofmt -l .`" = "" ] 06:18:06 ./bin/test-attribution-txt.sh 06:18:06 ./bin/test-go-mod-tidy.sh 06:18:08 $ docker rm -f ce8e54cb2571c62212439f081c2c2963fbf48b1c95c6d06920f5fe87035de3de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 06:18:08 $ docker stop --time=1 42c2ab7f81cb434ef44cb59a77b88972cf666878084f73ac0f04774ef2013965 06:18:10 $ docker rm -f 42c2ab7f81cb434ef44cb59a77b88972cf666878084f73ac0f04774ef2013965 [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 06:18:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:18:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script 06:18:12 + docker inspect -f . ci-base-image-arm64 06:18:12 . [Pipeline] } [Pipeline] // stage [Pipeline] withDockerContainer 06:18:12 prd-ubuntu18.04-docker-arm64-4c-16g-20165 does not seem to be running inside a container 06:18:12 $ 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 06:18:14 $ docker top b2d3a8a07f65ec649c4aba21b61d442eb4ffb2a3730aaa06e82fcffab106e5d1 -eo pid,comm [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:18:15 + make test 06:18:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] sh 06:18:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:18:16 + ls -al . 06:18:16 total 216 06:18:16 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 14 06:18 . 06:18:16 drwxrwxr-x. 4 jenkins jenkins 28 Jan 14 06:16 .. 06:18:16 drwxrwxr-x. 2 jenkins jenkins 64 Jan 14 06:16 bin 06:18:16 -rw-r--r--. 1 jenkins jenkins 137952 Jan 14 06:17 coverage.out 06:18:16 -rw-rw-r--. 1 jenkins jenkins 949 Jan 14 06:16 Dockerfile.build 06:18:16 -rw-rw-r--. 1 jenkins jenkins 140 Jan 14 06:16 .dockerignore 06:18:16 drwxrwxr-x. 4 jenkins jenkins 48 Jan 14 06:16 example 06:18:16 drwxrwxr-x. 8 jenkins jenkins 179 Jan 14 06:16 .git 06:18:16 drwxrwxr-x. 2 jenkins jenkins 103 Jan 14 06:16 .github 06:18:16 -rw-rw-r--. 1 jenkins jenkins 138 Jan 14 06:16 .gitignore 06:18:16 -rw-r--r--. 1 jenkins jenkins 488 Jan 14 06:18 go.mod 06:18:16 -rw-r--r--. 1 jenkins jenkins 14124 Jan 14 06:18 go.sum 06:18:16 drwxrwxr-x. 15 jenkins jenkins 211 Jan 14 06:16 internal 06:18:16 -rw-rw-r--. 1 jenkins jenkins 901 Jan 14 06:16 Jenkinsfile 06:18:16 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 14 06:16 LICENSE 06:18:16 -rw-rw-r--. 1 jenkins jenkins 1013 Jan 14 06:16 Makefile 06:18:16 drwxrwxr-x. 4 jenkins jenkins 26 Jan 14 06:16 openapi 06:18:16 drwxrwxr-x. 5 jenkins jenkins 50 Jan 14 06:16 pkg 06:18:16 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 14 06:16 README.md 06:18:16 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 14 06:16 RELEASE-NOTES.txt 06:18:16 drwxrwxr-x. 4 jenkins jenkins 54 Jan 14 06:16 snap 06:18:16 -rw-rw-r--. 1 jenkins jenkins 5 Jan 14 06:13 VERSION 06:18:16 -rw-rw-r--. 1 jenkins jenkins 222 Jan 14 06:16 version.go [Pipeline] isUnix [Pipeline] sh 06:18:16 + 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=5e2a32238d99826c9fc88cb864a5c6570bfae1e4 --label arch=amd64 --label version=0.0.0 . 06:18:16 Sending build context to Docker daemon 2.613MB 06:18:16 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:18:16 Step 2/24 : FROM ${BASE} AS builder 06:18:16 ---> 62e54986f5a1 06:18:16 Step 3/24 : ARG MAKE='make build' 06:18:17 ---> Running in 8b0a1baaf6d6 06:18:17 Removing intermediate container 8b0a1baaf6d6 06:18:17 ---> ef226e1345ad 06:18:17 Step 4/24 : WORKDIR /device-sdk-go 06:18:17 ---> Running in 650bf9cc77fa 06:18:17 Removing intermediate container 650bf9cc77fa 06:18:17 ---> 3ccea7e0fde6 06:18:17 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:17 ---> Running in 2802ddf8efec 06:18:18 Removing intermediate container 2802ddf8efec 06:18:18 ---> 20df9abadf81 06:18:18 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:18:18 ---> Running in dba36d90ff0e 06:18:19 Removing intermediate container dba36d90ff0e 06:18:19 ---> 764d9d03883c 06:18:19 Step 7/24 : RUN apk add --update --no-cache make git 06:18:19 ---> Running in 3eed341cab0f 06:18:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:18:20 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:18:21 OK: 166 MiB in 39 packages 06:18:21 Removing intermediate container 3eed341cab0f 06:18:21 ---> 31751c1d9f16 06:18:21 Step 8/24 : COPY . . 06:18:23 ---> 16be3ebc1cb3 06:18:23 Step 9/24 : RUN ${MAKE} 06:18:23 ---> Running in 5c7fb3e6af31 06:18:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:18:32 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:18:35 Removing intermediate container 5c7fb3e6af31 06:18:35 ---> 7ad34e6d1086 06:18:35 Step 10/24 : FROM scratch 06:18:35 ---> 06:18:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:18:35 ---> Running in 6d2ec16bfa04 06:18:35 Removing intermediate container 6d2ec16bfa04 06:18:35 ---> 5677174d8751 06:18:35 Step 12/24 : ENV APP_PORT=49990 06:18:35 ---> Running in d228bca72e1b 06:18:35 Removing intermediate container d228bca72e1b 06:18:35 ---> 522896367522 06:18:35 Step 13/24 : EXPOSE $APP_PORT 06:18:35 ---> Running in 459c7ea17467 06:18:35 Removing intermediate container 459c7ea17467 06:18:35 ---> dcb623cad39f 06:18:35 Step 14/24 : WORKDIR / 06:18:35 ---> Running in a00ea2b5f793 06:18:36 Removing intermediate container a00ea2b5f793 06:18:36 ---> bb5bdd91b63b 06:18:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:18:36 ---> e66cd360220f 06:18:36 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:18:36 ---> e5f5e3c4bf5b 06:18:36 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:18:36 ---> 58c57c0bc3a7 06:18:36 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:18:37 ---> 409b7b32c5cc 06:18:37 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:18:37 ---> b523c6f664fc 06:18:37 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:18:37 ? github.com/edgexfoundry/device-sdk-go [no test files] 06:18:37 ---> Running in f4b55f4bd1f9 06:18:37 Removing intermediate container f4b55f4bd1f9 06:18:37 ---> e09db9e317bb 06:18:37 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:18:37 ---> Running in 387d21595ee0 06:18:37 Removing intermediate container 387d21595ee0 06:18:37 ---> 2e17b2c39eb1 06:18:37 Step 22/24 : LABEL arch=amd64 06:18:37 ---> Running in 1264a660d868 06:18:38 Removing intermediate container 1264a660d868 06:18:38 ---> 889b2adc4a5c 06:18:38 Step 23/24 : LABEL git_sha=5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:18:38 ---> Running in 18d5d221f313 06:18:38 Removing intermediate container 18d5d221f313 06:18:38 ---> 130657f1de84 06:18:38 Step 24/24 : LABEL version=0.0.0 06:18:38 ---> Running in ba26b310060f 06:18:38 Removing intermediate container ba26b310060f 06:18:38 ---> 9d304622a41d 06:18:38 [Warning] One or more build-args [ARCH] were not consumed 06:18:38 Successfully built 9d304622a41d 06:18:38 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] } 06:19:24 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 06:19:24 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 06:19:24 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 06:19:24 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.139s coverage: 19.4% of statements 06:19:25 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.198s coverage: 97.1% of statements 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.138s coverage: 9.4% of statements 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.120s coverage: 21.7% of statements 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.610s coverage: 42.9% of statements 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.731s coverage: 68.9% of statements 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.232s coverage: 53.8% of statements 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 06:19:57 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 06:19:57 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.193s coverage: 31.3% of statements 06:19:57 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.819s coverage: 68.9% of statements 06:19:57 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.149s coverage: 4.2% of statements 06:19:57 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 06:19:57 GO111MODULE=on go vet ./... 06:20:30 gofmt -l . 06:20:30 [ "`gofmt -l .`" = "" ] 06:20:30 ./bin/test-attribution-txt.sh 06:20:30 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:20:30 $ docker stop --time=1 b2d3a8a07f65ec649c4aba21b61d442eb4ffb2a3730aaa06e82fcffab106e5d1 06:20:32 $ docker rm -f b2d3a8a07f65ec649c4aba21b61d442eb4ffb2a3730aaa06e82fcffab106e5d1 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:20:33 Warning: overwriting stash ‘coverage-report’ 06:20:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:20:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:20:35 + ls -al . 06:20:35 total 252 06:20:35 drwxrwxr-x 10 jenkins jenkins 4096 Jan 14 06:20 . 06:20:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:16 .. 06:20:35 -rw-rw-r-- 1 jenkins jenkins 140 Jan 14 06:16 .dockerignore 06:20:35 drwxrwxr-x 8 jenkins jenkins 4096 Jan 14 06:16 .git 06:20:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 06:16 .github 06:20:35 -rw-rw-r-- 1 jenkins jenkins 138 Jan 14 06:16 .gitignore 06:20:35 -rw-rw-r-- 1 jenkins jenkins 949 Jan 14 06:16 Dockerfile.build 06:20:35 -rw-rw-r-- 1 jenkins jenkins 901 Jan 14 06:16 Jenkinsfile 06:20:35 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 14 06:16 LICENSE 06:20:35 -rw-rw-r-- 1 jenkins jenkins 1013 Jan 14 06:16 Makefile 06:20:35 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 14 06:16 README.md 06:20:35 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 14 06:16 RELEASE-NOTES.txt 06:20:35 -rw-rw-r-- 1 jenkins jenkins 5 Jan 14 06:13 VERSION 06:20:35 drwxrwxr-x 2 jenkins jenkins 4096 Jan 14 06:16 bin 06:20:35 -rw-r--r-- 1 jenkins jenkins 137952 Jan 14 06:19 coverage.out 06:20:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:16 example 06:20:35 -rw-r--r-- 1 jenkins jenkins 488 Jan 14 06:20 go.mod 06:20:35 -rw-r--r-- 1 jenkins jenkins 14124 Jan 14 06:20 go.sum 06:20:35 drwxrwxr-x 15 jenkins jenkins 4096 Jan 14 06:16 internal 06:20:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:16 openapi 06:20:35 drwxrwxr-x 5 jenkins jenkins 4096 Jan 14 06:16 pkg 06:20:35 drwxrwxr-x 4 jenkins jenkins 4096 Jan 14 06:16 snap 06:20:35 -rw-rw-r-- 1 jenkins jenkins 222 Jan 14 06:16 version.go [Pipeline] isUnix [Pipeline] sh 06:20:36 + 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=5e2a32238d99826c9fc88cb864a5c6570bfae1e4 --label arch=arm64 --label version=0.0.0 . 06:20:36 Sending build context to Docker daemon 2.612MB 06:20:36 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 06:20:36 Step 2/24 : FROM ${BASE} AS builder 06:20:36 ---> 0cac94ba989a 06:20:36 Step 3/24 : ARG MAKE='make build' 06:20:36 ---> Running in 9858d779043e 06:20:37 Removing intermediate container 9858d779043e 06:20:37 ---> 9fb3aa8d46d2 06:20:37 Step 4/24 : WORKDIR /device-sdk-go 06:20:37 ---> Running in 51d04d557b32 06:20:38 Removing intermediate container 51d04d557b32 06:20:38 ---> f5d8bc68bd70 06:20:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:20:38 ---> Running in 0d68e5490340 06:20:38 Removing intermediate container 0d68e5490340 06:20:38 ---> 9912764fb56e 06:20:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:20:38 ---> Running in 6de145e54945 06:20:40 Removing intermediate container 6de145e54945 06:20:40 ---> a42ef5e1962d 06:20:40 Step 7/24 : RUN apk add --update --no-cache make git 06:20:41 ---> Running in 832fd86e6692 06:20:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:20:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:20:43 OK: 142 MiB in 39 packages 06:20:44 Removing intermediate container 832fd86e6692 06:20:44 ---> 7ba6fd7eb3ad 06:20:44 Step 8/24 : COPY . . 06:20:45 ---> a0800e1f89e8 06:20:45 Step 9/24 : RUN ${MAKE} 06:20:46 ---> Running in d366c775a75a 06:20:47 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:21:14 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 06:21:14 Removing intermediate container d366c775a75a 06:21:14 ---> 3d52ca9370f1 06:21:14 Step 10/24 : FROM scratch 06:21:14 ---> 06:21:14 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 06:21:14 ---> Running in b849ebc1add9 06:21:14 Removing intermediate container b849ebc1add9 06:21:14 ---> cd9d3db9386e 06:21:14 Step 12/24 : ENV APP_PORT=49990 06:21:14 ---> Running in 82fb8e70bf07 06:21:15 Removing intermediate container 82fb8e70bf07 06:21:15 ---> cfc18d728b3d 06:21:15 Step 13/24 : EXPOSE $APP_PORT 06:21:15 ---> Running in d74aa93be4df 06:21:15 Removing intermediate container d74aa93be4df 06:21:15 ---> eb2c73c49d72 06:21:15 Step 14/24 : WORKDIR / 06:21:15 ---> Running in 304db850d429 06:21:16 Removing intermediate container 304db850d429 06:21:16 ---> faacf6678f8d 06:21:16 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 06:21:17 ---> cce3f6dd8761 06:21:17 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 06:21:17 ---> 461f03fc132b 06:21:17 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 06:21:18 ---> a16c3c90189d 06:21:18 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 06:21:19 ---> 0e470e08c5b0 06:21:19 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 06:21:20 ---> 6d0ec14a51a1 06:21:20 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 06:21:20 ---> Running in 9433415b92fe 06:21:20 Removing intermediate container 9433415b92fe 06:21:20 ---> f9a822a0e331 06:21:20 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:21:20 ---> Running in 4334193d00ea 06:21:21 Removing intermediate container 4334193d00ea 06:21:21 ---> 6c81b70c9cc2 06:21:21 Step 22/24 : LABEL arch=arm64 06:21:21 ---> Running in 46aa5fd5792b 06:21:21 Removing intermediate container 46aa5fd5792b 06:21:21 ---> 5d7c2c4c3ead 06:21:21 Step 23/24 : LABEL git_sha=5e2a32238d99826c9fc88cb864a5c6570bfae1e4 06:21:21 ---> Running in 9dd28b9eea82 06:21:22 Removing intermediate container 9dd28b9eea82 06:21:22 ---> 0a12659734e1 06:21:22 Step 24/24 : LABEL version=0.0.0 06:21:22 ---> Running in d40c03b4991a 06:21:23 Removing intermediate container d40c03b4991a 06:21:23 ---> ec8370159d29 06:21:23 [Warning] One or more build-args [ARCH] were not consumed 06:21:23 Successfully built ec8370159d29 06:21:23 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 06:21:26 provisioning config files... 06:21:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/config5022758653961368607tmp [Pipeline] { [Pipeline] sh 06:21:27 + set +x 06:21:27 + curl -s https://codecov.io/bash 06:21:27 + bash -s -- 06:21:27 06:21:27 _____ _ 06:21:27 / ____| | | 06:21:27 | | ___ __| | ___ ___ _____ __ 06:21:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:21:27 | |___| (_) | (_| | __/ (_| (_) \ V / 06:21:27 \_____\___/ \__,_|\___|\___\___/ \_/ 06:21:27 Bash-20201231-23d4836 06:21:27 06:21:27 06:21:27 ==> git version 2.24.3 found 06:21:27 ==> 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 06:21:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:21:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:21:27 ==> Jenkins CI detected. 06:21:27 project root: . 06:21:27 --> token set from env 06:21:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:21:27 ==> Running gcov in . (disable via -X gcov) 06:21:27 ==> Python coveragepy not found 06:21:27 ==> Searching for coverage reports in: 06:21:27 + . 06:21:27 -> Found 1 reports 06:21:27 ==> Detecting git/mercurial file structure 06:21:27 ==> Reading reports 06:21:27 + ./coverage.out bytes=137952 06:21:27 ==> Appending adjustments 06:21:27 https://docs.codecov.io/docs/fixing-reports 06:21:28 + Found adjustments 06:21:28 ==> Gzipping contents 06:21:28 24K /tmp/codecov.FBe2Sc.gz 06:21:28 ==> Uploading reports 06:21:28 url: https://codecov.io 06:21:28 query: branch=PR-729&commit=5e2a32238d99826c9fc88cb864a5c6570bfae1e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-729%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=729&job=&cmd_args= 06:21:28 -> Pinging Codecov 06:21:28 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=PR-729&commit=5e2a32238d99826c9fc88cb864a5c6570bfae1e4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-729%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=729&job=&cmd_args= 06:21:28 -> Uploading to 06:21:28 https://storage.googleapis.com/codecov/v4/raw/2021-01-14/7E55EF52A471D76F132DFD9A03CDDE97/5e2a32238d99826c9fc88cb864a5c6570bfae1e4/10173366-70f3-4654-9e4b-87636f8eede1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210114T062128Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9cfbd3ce4d561cc6ff08c6a5224ee2f66f1a9e7ed93d01b05ad3beb33946a6e 06:21:28 % Total % Received % Xferd Average Speed Time Time Time Current 06:21:28 Dload Upload Total Spent Left Speed 06:21:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22060 0 0 100 22060 0 52919 --:--:-- --:--:-- --:--:-- 52901 100 22060 0 0 100 22060 0 52894 --:--:-- --:--:-- --:--:-- 52901 06:21:29 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5e2a32238d99826c9fc88cb864a5c6570bfae1e4 [Pipeline] } 06:21:29 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 06:21:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:33 ---> package-listing.sh 06:21:33 ++ facter osfamily 06:21:33 ++ tr '[:upper:]' '[:lower:]' 06:21:33 + OS_FAMILY=redhat 06:21:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-729 06:21:33 + START_PACKAGES=/tmp/packages_start.txt 06:21:33 + END_PACKAGES=/tmp/packages_end.txt 06:21:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:33 + PACKAGES=/tmp/packages_start.txt 06:21:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-729 ']' 06:21:33 + PACKAGES=/tmp/packages_end.txt 06:21:33 + case "${OS_FAMILY}" in 06:21:33 + rpm -qa 06:21:33 + sort 06:21:38 + '[' -f /tmp/packages_start.txt ']' 06:21:38 + '[' -f /tmp/packages_end.txt ']' 06:21:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-729 ']' 06:21:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-729/archives/ 06:21:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-729/archives/ [Pipeline] echo 06:21:38 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-729/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:21:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:21:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:39 06:21:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:21:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:39 alpine: Pulling from edgex-lftools-log-publisher 06:21:39 df20fa9351a1: Pulling fs layer 06:21:39 36b3adc4ff6f: Pulling fs layer 06:21:39 8ad3a11d3b57: Pulling fs layer 06:21:39 46f8f816bc3b: Pulling fs layer 06:21:39 93b61091891f: Pulling fs layer 06:21:39 93b9cdb0e59b: Pulling fs layer 06:21:39 5e14af77c1be: Pulling fs layer 06:21:39 01666e4c0597: Pulling fs layer 06:21:39 aa168da1d23b: Pulling fs layer 06:21:39 46f8f816bc3b: Waiting 06:21:39 93b61091891f: Waiting 06:21:39 93b9cdb0e59b: Waiting 06:21:39 5e14af77c1be: Waiting 06:21:39 01666e4c0597: Waiting 06:21:39 aa168da1d23b: Waiting 06:21:39 36b3adc4ff6f: Download complete 06:21:39 46f8f816bc3b: Verifying Checksum 06:21:39 46f8f816bc3b: Download complete 06:21:40 df20fa9351a1: Verifying Checksum 06:21:40 df20fa9351a1: Download complete 06:21:40 93b61091891f: Download complete 06:21:40 93b9cdb0e59b: Verifying Checksum 06:21:40 93b9cdb0e59b: Download complete 06:21:40 5e14af77c1be: Verifying Checksum 06:21:40 5e14af77c1be: Download complete 06:21:40 01666e4c0597: Verifying Checksum 06:21:40 01666e4c0597: Download complete 06:21:40 df20fa9351a1: Pull complete 06:21:40 36b3adc4ff6f: Pull complete 06:21:41 8ad3a11d3b57: Download complete 06:21:41 8ad3a11d3b57: Pull complete 06:21:41 46f8f816bc3b: Pull complete 06:21:42 aa168da1d23b: Verifying Checksum 06:21:42 aa168da1d23b: Download complete 06:21:43 93b61091891f: Pull complete 06:21:43 93b9cdb0e59b: Pull complete 06:21:43 5e14af77c1be: Pull complete 06:21:43 01666e4c0597: Pull complete 06:21:51 aa168da1d23b: Pull complete 06:21:51 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:21:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:21:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:21:52 prd-centos7-docker-4c-2g-20162 does not seem to be running inside a container 06:21:52 $ 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-729/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-729 -v /w/workspace/dgexfoundry_device-sdk-go_PR-729:/w/workspace/dgexfoundry_device-sdk-go_PR-729:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-729@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 06:21:56 $ docker top 686f26151b9e4b0b8db98c0686cdf4200cdf363d7e1ba0ae3217a1afcc386ee3 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:56 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:57 + mkdir -p /var/log/sa [Pipeline] sh 06:21:57 + ls /var/log/sa-host 06:21:57 + sadf -c /var/log/sa-host/sa14 06:21:57 file_magic: OK 06:21:57 HZ: Using current value: 100 06:21:57 file_header: OK 06:21:57 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 06:21:57 Statistics: 06:21:57 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:21:57 File successfully converted to sysstat format version 12.2.1 06:21:57 + sadf -c /var/log/sa-host/sa23 06:21:57 file_magic: OK 06:21:57 HZ: Using current value: 100 06:21:57 file_header: OK 06:21:57 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 06:21:57 Statistics: 06:21:57 Hnuu...uuuununununu... 06:21:57 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:57 provisioning config files... 06:21:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-729@tmp/config2268349685935804685tmp [Pipeline] { [Pipeline] echo 06:21:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:58 ---> create-netrc.sh [Pipeline] } 06:21:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:21:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:21:58 ---> python-tools-install.sh [Pipeline] echo 06:21:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> sudo-logs.sh 06:21:59 Archiving 'sudo' log.. [Pipeline] echo 06:21:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:59 ---> job-cost.sh 06:21:59 lf-activate-venv: SKIPPING 06:21:59 INFO: No Stack... 06:22:00 INFO: Retrieving Pricing Info for: v1-standard-2 06:22:01 INFO: Archiving Costs [Pipeline] echo 06:22:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:22:01 ---> logs-deploy.sh 06:22:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-729/1 06:22:01 INFO: archiving workspace using pattern(s): 06:22:03 Archives upload complete. 06:22:03 INFO: archiving logs to Nexus 06:22:04 ---> uname -a: 06:22:04 Linux prd-centos7-docker-4c-2g-20162.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 06:22:04 06:22:04 06:22:04 ---> lscpu: 06:22:04 Architecture: x86_64 06:22:04 CPU op-mode(s): 32-bit, 64-bit 06:22:04 Byte Order: Little Endian 06:22:04 Address sizes: 40 bits physical, 48 bits virtual 06:22:04 CPU(s): 4 06:22:04 On-line CPU(s) list: 0-3 06:22:04 Thread(s) per core: 1 06:22:04 Core(s) per socket: 1 06:22:04 Socket(s): 4 06:22:04 NUMA node(s): 1 06:22:04 Vendor ID: GenuineIntel 06:22:04 CPU family: 6 06:22:04 Model: 44 06:22:04 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 06:22:04 Stepping: 1 06:22:04 CPU MHz: 2933.442 06:22:04 BogoMIPS: 5866.88 06:22:04 Virtualization: VT-x 06:22:04 Hypervisor vendor: KVM 06:22:04 Virtualization type: full 06:22:04 L1d cache: 128 KiB 06:22:04 L1i cache: 128 KiB 06:22:04 L2 cache: 16 MiB 06:22:04 L3 cache: 64 MiB 06:22:04 NUMA node0 CPU(s): 0-3 06:22:04 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 06:22:04 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 06:22:04 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 06:22:04 Vulnerability Meltdown: Mitigation; PTI 06:22:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 06:22:04 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 06:22:04 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 06:22:04 Vulnerability Srbds: Not affected 06:22:04 Vulnerability Tsx async abort: Not affected 06:22:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 06:22:04 06:22:04