Pull request #753 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of judehung for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 2e0b14878cfb4a574be8745ab7c226ce26d53775 rather than d186eaa159911561d189635e8b28a4ab65e6ac0e Obtained Jenkinsfile from 2e0b14878cfb4a574be8745ab7c226ce26d53775 Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-753/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-753/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-22276 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [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-753 # 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/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) > git config core.sparsecheckout # timeout=10 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # 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 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 Commit message: "[V2 API] Update swagger doc with updated Device Command API" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:05:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:05:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:05:28 ========================================================= 12:05:28 EdgeX Global Pipelines Version Info 12:05:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:05:30 ------------------- 12:05:30 stable info: 12:05:30 ------------------- 12:05:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:30 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 12:05:30 Message: update stable to v1.0.179 12:05:31 ------------------- 12:05:31 experimental info: 12:05:31 ------------------- 12:05:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:05:31 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 12:05:31 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:05:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 12:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:05:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 12:05:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-753 [Pipeline] echo 12:05:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-753 [Pipeline] echo 12:05:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-753 [Pipeline] echo 12:05:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] echo 12:05:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d186eaa [Pipeline] echo 12:05:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:05:36 provisioning config files... 12:05:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config6695300684628344469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:37 ---> docker-login.sh 12:05:37 nexus3.edgexfoundry.org:10001 12:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:38 Configure a credential helper to remove this warning. See 12:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:38 12:05:38 Login Succeeded 12:05:38 nexus3.edgexfoundry.org:10002 12:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:39 Configure a credential helper to remove this warning. See 12:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:39 12:05:39 Login Succeeded 12:05:39 nexus3.edgexfoundry.org:10003 12:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:40 Configure a credential helper to remove this warning. See 12:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:40 12:05:40 Login Succeeded 12:05:40 nexus3.edgexfoundry.org:10004 12:05:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:40 Configure a credential helper to remove this warning. See 12:05:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:40 12:05:40 Login Succeeded 12:05:40 docker.io 12:05:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:05:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:05:41 Configure a credential helper to remove this warning. See 12:05:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:05:41 12:05:41 Login Succeeded 12:05:41 ---> docker-login.sh ends [Pipeline] } 12:05:41 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 12:05:42 + git log --format=format:%s -1 d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] echo 12:05:42 GIT_COMMIT: d186eaa159911561d189635e8b28a4ab65e6ac0e, Commit Message: [V2 API] Update swagger doc with updated Device Command API [Pipeline] echo 12:05:42 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 12:05:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:43 12:05:43 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:05:44 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:44 latest: Pulling from edgex-devops/git-semver 12:05:44 31603596830f: Pulling fs layer 12:05:44 2a8b12db71e7: Pulling fs layer 12:05:44 6ca5941a6612: Pulling fs layer 12:05:44 ecc8261a40a4: Pulling fs layer 12:05:44 ecc8261a40a4: Waiting 12:05:44 2a8b12db71e7: Verifying Checksum 12:05:44 2a8b12db71e7: Download complete 12:05:45 31603596830f: Verifying Checksum 12:05:45 31603596830f: Download complete 12:05:45 ecc8261a40a4: Verifying Checksum 12:05:45 ecc8261a40a4: Download complete 12:05:45 6ca5941a6612: Verifying Checksum 12:05:45 6ca5941a6612: Download complete 12:05:46 31603596830f: Pull complete 12:05:47 2a8b12db71e7: Pull complete 12:05:49 6ca5941a6612: Pull complete 12:05:49 ecc8261a40a4: Pull complete 12:05:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 12:05:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:05:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:05:50 prd-centos7-docker-4c-2g-22276 does not seem to be running inside a container 12:05:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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:10004/edgex-devops/git-semver:latest cat 12:05:52 $ docker top 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:05:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:53 [ssh-agent] Looking for ssh-agent implementation... 12:05:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:53 $ docker exec 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent 12:05:54 SSH_AUTH_SOCK=/tmp/ssh-2L5RhtnJzhrv/agent.11 12:05:54 SSH_AGENT_PID=16 12:05:54 Running ssh-add (command line suppressed) 12:05:54 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8259130821715401491.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_8259130821715401491.key) 12:05:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:55 + git tag --points-at HEAD [Pipeline] } 12:05:55 $ docker exec --env ******** --env ******** 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent -k 12:05:56 unset SSH_AUTH_SOCK; 12:05:56 unset SSH_AGENT_PID; 12:05:56 echo Agent pid 16 killed; 12:05:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:05:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:05:56 [ssh-agent] Looking for ssh-agent implementation... 12:05:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:05:57 $ docker exec 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent 12:05:57 SSH_AUTH_SOCK=/tmp/ssh-WWjTsEcwxB6V/agent.45 12:05:57 SSH_AGENT_PID=50 12:05:57 Running ssh-add (command line suppressed) 12:05:58 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_6530199440754696906.key (/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/private_key_6530199440754696906.key) 12:05:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:05:58 + git semver init 12:05:58 # -> Open(): unable to determine branch for HEAD 12:05:58 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.git 12:05:58 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-753 12:05:58 # $SEMVER_REMOTE_NAME = origin 12:05:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:05:58 # $SEMVER_USER_NAME = edgex-jenkins 12:05:58 # $SEMVER_BRANCH = PR-753 12:05:58 # $SEMVER_TEMP = /tmp/semver-793418071 12:05:58 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 12:06:00 # '/tmp/semver-793418071' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver' 12:06:00 # -> Force: false 12:06:00 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-753/.semver [Pipeline] } 12:06:00 $ docker exec --env ******** --env ******** 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 ssh-agent -k 12:06:00 unset SSH_AUTH_SOCK; 12:06:00 unset SSH_AGENT_PID; 12:06:00 echo Agent pid 50 killed; 12:06:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:06:02 + git semver [Pipeline] } 12:06:02 $ docker stop --time=1 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 12:06:04 $ docker rm -f 2e6a90217cad4df6f88cc0102ae632c0b9eaeed2aac4ba970fb94d2535947625 [Pipeline] // withDockerContainer [Pipeline] sh 12:06:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:06:06 Stashed 1 file(s) [Pipeline] echo 12:06:06 [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 12:06:22 Still waiting to schedule task 12:06:22 Waiting for next available executor on ‘centos7-docker-4c-2g’ 12:06:22 Still waiting to schedule task 12:06:22 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 12:08:25 Running on prd-centos7-docker-4c-2g-22278 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 12:08:25 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 12:08:27 using credential edgex-jenkins-ssh 12:08:27 Cloning the remote Git repository 12:08:27 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:08:27 > git init /w/workspace/device-sdk-go/1 # timeout=10 12:08:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:08:27 > git --version # timeout=10 12:08:27 > git --version # 'git version 2.24.3' 12:08:27 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:08:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:08:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:08:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:08:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:08:28 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:08:29 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e 12:08:29 Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e 12:08:29 Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) 12:08:29 > git config core.sparsecheckout # timeout=10 12:08:29 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 12:08:29 > git remote # timeout=10 12:08:29 > git config --get remote.origin.url # timeout=10 12:08:29 using GIT_SSH to set credentials SSH Credentials for GitHub 12:08:29 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 12:08:29 > git rev-parse HEAD^{commit} # timeout=10 12:08:29 > git config core.sparsecheckout # timeout=10 12:08:29 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 12:08:32 Commit message: "[V2 API] Update swagger doc with updated Device Command API" 12:08:32 > git --version # timeout=10 12:08:32 > git --version # 'git version 2.24.3' 12:08:33 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:08:34 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 12:08:34 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:08:35 + sudo service docker restart 12:08:35 + true 12:08:35 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:08:36 provisioning config files... 12:08:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9180053510503622848tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:36 ---> docker-login.sh 12:08:36 nexus3.edgexfoundry.org:10001 12:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:37 Configure a credential helper to remove this warning. See 12:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:37 12:08:37 Login Succeeded 12:08:37 nexus3.edgexfoundry.org:10002 12:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:37 Configure a credential helper to remove this warning. See 12:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:37 12:08:37 Login Succeeded 12:08:37 nexus3.edgexfoundry.org:10003 12:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:37 Configure a credential helper to remove this warning. See 12:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:37 12:08:37 Login Succeeded 12:08:37 nexus3.edgexfoundry.org:10004 12:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:37 Configure a credential helper to remove this warning. See 12:08:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:37 12:08:37 Login Succeeded 12:08:37 docker.io 12:08:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:08:38 Configure a credential helper to remove this warning. See 12:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:08:38 12:08:38 Login Succeeded 12:08:38 ---> docker-login.sh ends [Pipeline] } 12:08:38 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:08:38 ========================================================= 12:08:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 12:08:38 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:08:39 + 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 . 12:08:39 Sending build context to Docker daemon 2.577MB 12:08:39 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:08:39 Step 2/8 : FROM ${BASE} 12:08:39 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 12:08:39 188c0c94c7c5: Pulling fs layer 12:08:39 0ef7d3d256c8: Pulling fs layer 12:08:39 de9db76c5a1d: Pulling fs layer 12:08:39 bca2f99d35d6: Pulling fs layer 12:08:39 93359f2a8cfa: Pulling fs layer 12:08:39 7c6f9722023f: Pulling fs layer 12:08:39 a35cf1a2eb13: Pulling fs layer 12:08:39 93359f2a8cfa: Waiting 12:08:39 7c6f9722023f: Waiting 12:08:39 a35cf1a2eb13: Waiting 12:08:39 bca2f99d35d6: Waiting 12:08:39 de9db76c5a1d: Download complete 12:08:39 0ef7d3d256c8: Verifying Checksum 12:08:39 0ef7d3d256c8: Download complete 12:08:39 93359f2a8cfa: Verifying Checksum 12:08:39 93359f2a8cfa: Download complete 12:08:39 188c0c94c7c5: Verifying Checksum 12:08:39 7c6f9722023f: Verifying Checksum 12:08:39 7c6f9722023f: Download complete 12:08:39 188c0c94c7c5: Pull complete 12:08:39 0ef7d3d256c8: Pull complete 12:08:40 de9db76c5a1d: Pull complete 12:08:41 a35cf1a2eb13: Verifying Checksum 12:08:41 a35cf1a2eb13: Download complete 12:08:42 bca2f99d35d6: Verifying Checksum 12:08:42 bca2f99d35d6: Download complete 12:08:48 bca2f99d35d6: Pull complete 12:08:48 93359f2a8cfa: Pull complete 12:08:48 7c6f9722023f: Pull complete 12:08:55 a35cf1a2eb13: Pull complete 12:08:55 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 12:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 12:08:55 ---> a62c8e92a672 12:08:55 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:08:55 ---> Running in 173541f74662 12:08:55 Removing intermediate container 173541f74662 12:08:55 ---> ab0145181b01 12:08:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:08:55 ---> Running in 0aeea07dff2c 12:08:56 Removing intermediate container 0aeea07dff2c 12:08:56 ---> 8b5796bd4313 12:08:56 Step 5/8 : RUN apk add --update --no-cache make git 12:08:56 ---> Running in 5743e5f9c4aa 12:08:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:08:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:08:59 OK: 166 MiB in 39 packages 12:08:59 Removing intermediate container 5743e5f9c4aa 12:08:59 ---> e5f7409b6f02 12:08:59 Step 6/8 : WORKDIR /device-sdk-go 12:08:59 ---> Running in 6463c4bac973 12:08:59 Removing intermediate container 6463c4bac973 12:08:59 ---> 21a200c01266 12:08:59 Step 7/8 : COPY . . 12:09:01 ---> ebff77514d47 12:09:01 Step 8/8 : RUN go mod download 12:09:01 ---> Running in fbbe9e863ac7 12:09:23 Removing intermediate container fbbe9e863ac7 12:09:23 ---> 7c1e98a4ddbb 12:09:23 Successfully built 7c1e98a4ddbb 12:09:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:09:23 + docker inspect -f . ci-base-image-x86_64 12:09:23 . [Pipeline] withDockerContainer 12:09:23 prd-centos7-docker-4c-2g-22278 does not seem to be running inside a container 12:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:09:24 $ docker top 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:25 + go version 12:09:25 go version go1.15.5 linux/amd64 [Pipeline] } 12:09:25 $ docker stop --time=1 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 12:09:26 $ docker rm -f 8e3b9841e68d8eb252fbcd7e1137daa9db431f7263963120721dca50daf18041 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:09:27 + docker inspect -f . ci-base-image-x86_64 12:09:27 . [Pipeline] withDockerContainer 12:09:28 prd-centos7-docker-4c-2g-22278 does not seem to be running inside a container 12:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:09:28 $ docker top dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d -eo pid,comm [Pipeline] { [Pipeline] sh 12:09:29 + make test 12:09:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 12:09:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:09:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-22279 in /w/workspace/dgexfoundry_device-sdk-go_PR-753 [Pipeline] { [Pipeline] ws 12:09:37 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 12:09:43 using credential edgex-jenkins-ssh 12:09:43 Cloning the remote Git repository 12:09:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 12:09:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 12:09:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:09:43 > git --version # timeout=10 12:09:43 > git --version # 'git version 2.17.1' 12:09:43 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:09:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:09:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:09:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 12:09:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 12:09:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:44 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/753/head:refs/remotes/origin/PR-753 +refs/heads/master:refs/remotes/origin/master # timeout=10 12:09:45 Merging remotes/origin/master commit 2e0b14878cfb4a574be8745ab7c226ce26d53775 into PR head commit d186eaa159911561d189635e8b28a4ab65e6ac0e 12:09:45 Merge succeeded, producing d186eaa159911561d189635e8b28a4ab65e6ac0e 12:09:45 Checking out Revision d186eaa159911561d189635e8b28a4ab65e6ac0e (PR-753) 12:09:45 > git config core.sparsecheckout # timeout=10 12:09:45 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 12:09:45 > git remote # timeout=10 12:09:45 > git config --get remote.origin.url # timeout=10 12:09:45 using GIT_SSH to set credentials SSH Credentials for GitHub 12:09:45 > git merge 2e0b14878cfb4a574be8745ab7c226ce26d53775 # timeout=10 12:09:45 > git rev-parse HEAD^{commit} # timeout=10 12:09:45 > git config core.sparsecheckout # timeout=10 12:09:45 > git checkout -f d186eaa159911561d189635e8b28a4ab65e6ac0e # timeout=10 12:09:49 Commit message: "[V2 API] Update swagger doc with updated Device Command API" 12:09:49 > git --version # timeout=10 12:09:49 > git --version # 'git version 2.17.1' 12:09:50 fatal: bad object 69a7e166112f335804d9fea76440e5140e47f034 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:09:52 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 12:09:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:09:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:09:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:09:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 19.4% of statements 12:09:52 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 12:09:52 + sudo service docker restart 12:09:52 + true 12:09:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.445s coverage: 97.1% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 12:09:54 provisioning config files... 12:09:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7134494126823778344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:09:55 ---> docker-login.sh 12:09:55 nexus3.edgexfoundry.org:10001 12:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:56 Configure a credential helper to remove this warning. See 12:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:56 12:09:56 Login Succeeded 12:09:56 nexus3.edgexfoundry.org:10002 12:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:56 Configure a credential helper to remove this warning. See 12:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:56 12:09:56 Login Succeeded 12:09:56 nexus3.edgexfoundry.org:10003 12:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:57 Configure a credential helper to remove this warning. See 12:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:57 12:09:57 Login Succeeded 12:09:57 nexus3.edgexfoundry.org:10004 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:58 Configure a credential helper to remove this warning. See 12:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:58 12:09:58 Login Succeeded 12:09:58 docker.io 12:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:09:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:09:59 Configure a credential helper to remove this warning. See 12:09:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:09:59 12:09:59 Login Succeeded 12:09:59 ---> docker-login.sh ends [Pipeline] } 12:09:59 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:09:59 ========================================================= 12:09:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 12:09:59 ========================================================= [Pipeline] isUnix [Pipeline] sh 12:10:00 + 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 . 12:10:00 Sending build context to Docker daemon 2.569MB 12:10:00 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 12:10:00 Step 2/8 : FROM ${BASE} 12:10:00 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:10:00 5f621e34cdf4: Pulling fs layer 12:10:00 a4357932f1b6: Pulling fs layer 12:10:00 18c013af1878: Pulling fs layer 12:10:00 00ac8860ef70: Pulling fs layer 12:10:00 63d7cb157983: Pulling fs layer 12:10:00 b116817d02f9: Pulling fs layer 12:10:00 745a02a5169b: Pulling fs layer 12:10:00 00ac8860ef70: Waiting 12:10:00 63d7cb157983: Waiting 12:10:00 b116817d02f9: Waiting 12:10:00 745a02a5169b: Waiting 12:10:00 18c013af1878: Verifying Checksum 12:10:00 18c013af1878: Download complete 12:10:00 a4357932f1b6: Verifying Checksum 12:10:00 a4357932f1b6: Download complete 12:10:00 63d7cb157983: Verifying Checksum 12:10:00 63d7cb157983: Download complete 12:10:00 b116817d02f9: Verifying Checksum 12:10:00 b116817d02f9: Download complete 12:10:00 5f621e34cdf4: Verifying Checksum 12:10:00 5f621e34cdf4: Download complete 12:10:01 5f621e34cdf4: Pull complete 12:10:02 a4357932f1b6: Pull complete 12:10:02 18c013af1878: Pull complete 12:10:03 745a02a5169b: Verifying Checksum 12:10:03 745a02a5169b: Download complete 12:10:04 00ac8860ef70: Verifying Checksum 12:10:04 00ac8860ef70: Download complete 12:10:15 00ac8860ef70: Pull complete 12:10:15 63d7cb157983: Pull complete 12:10:15 b116817d02f9: Pull complete 12:10:19 745a02a5169b: Pull complete 12:10:19 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 12:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 12:10:19 ---> b7e6874047d6 12:10:19 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:10:22 ---> Running in c68f5f43bcf3 12:10:22 Removing intermediate container c68f5f43bcf3 12:10:22 ---> 69ff205ee721 12:10:22 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:22 ---> Running in 78398341109a 12:10:24 Removing intermediate container 78398341109a 12:10:24 ---> 1ce6c0f4f6c5 12:10:24 Step 5/8 : RUN apk add --update --no-cache make git 12:10:25 ---> Running in 663bd92462ae 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.053s coverage: 9.4% of statements 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.051s coverage: 21.7% of statements 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.226s coverage: 43.2% of statements 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.278s coverage: 68.9% of statements 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.067s coverage: 53.8% of statements 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.086s coverage: 26.8% of statements 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.689s coverage: 83.5% of statements 12:10:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.2% of statements 12:10:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:10:25 GO111MODULE=on go vet ./... 12:10:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:10:26 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:10:27 OK: 142 MiB in 39 packages 12:10:28 Removing intermediate container 663bd92462ae 12:10:28 ---> 631c524a966e 12:10:28 Step 6/8 : WORKDIR /device-sdk-go 12:10:28 ---> Running in 22d3d86e9466 12:10:29 Removing intermediate container 22d3d86e9466 12:10:29 ---> 057b82592523 12:10:29 Step 7/8 : COPY . . 12:10:30 ---> 22c8e680b44a 12:10:30 Step 8/8 : RUN go mod download 12:10:30 ---> Running in 01d0bfe04966 12:10:32 gofmt -l . 12:10:32 [ "`gofmt -l .`" = "" ] 12:10:32 ./bin/test-attribution-txt.sh 12:10:33 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:10:33 $ docker stop --time=1 dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d 12:10:35 $ docker rm -f dead214a835de1e7bfdd51bedcbb2a4c2754c5009082d186169acbd627e5d73d [Pipeline] // withDockerContainer [Pipeline] sh 12:10:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:10:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:10:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:10:38 + ls -al . 12:10:38 total 216 12:10:38 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 22 12:10 . 12:10:38 drwxrwxr-x. 4 jenkins jenkins 28 Jan 22 12:08 .. 12:10:38 drwxrwxr-x. 2 jenkins jenkins 64 Jan 22 12:08 bin 12:10:38 -rw-r--r--. 1 jenkins jenkins 136843 Jan 22 12:10 coverage.out 12:10:38 -rw-rw-r--. 1 jenkins jenkins 949 Jan 22 12:08 Dockerfile.build 12:10:38 -rw-rw-r--. 1 jenkins jenkins 140 Jan 22 12:08 .dockerignore 12:10:38 drwxrwxr-x. 4 jenkins jenkins 48 Jan 22 12:08 example 12:10:38 drwxrwxr-x. 8 jenkins jenkins 179 Jan 22 12:08 .git 12:10:38 drwxrwxr-x. 2 jenkins jenkins 103 Jan 22 12:08 .github 12:10:38 -rw-rw-r--. 1 jenkins jenkins 138 Jan 22 12:08 .gitignore 12:10:38 -rw-r--r--. 1 jenkins jenkins 514 Jan 22 12:10 go.mod 12:10:38 -rw-r--r--. 1 jenkins jenkins 14016 Jan 22 12:10 go.sum 12:10:38 drwxrwxr-x. 15 jenkins jenkins 211 Jan 22 12:08 internal 12:10:38 -rw-rw-r--. 1 jenkins jenkins 901 Jan 22 12:08 Jenkinsfile 12:10:38 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 22 12:08 LICENSE 12:10:38 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 22 12:08 Makefile 12:10:38 drwxrwxr-x. 4 jenkins jenkins 26 Jan 22 12:08 openapi 12:10:38 drwxrwxr-x. 5 jenkins jenkins 50 Jan 22 12:08 pkg 12:10:38 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 22 12:08 README.md 12:10:38 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 22 12:08 RELEASE-NOTES.txt 12:10:38 drwxrwxr-x. 4 jenkins jenkins 54 Jan 22 12:08 snap 12:10:38 -rw-rw-r--. 1 jenkins jenkins 5 Jan 22 12:06 VERSION 12:10:38 -rw-rw-r--. 1 jenkins jenkins 222 Jan 22 12:08 version.go [Pipeline] isUnix [Pipeline] sh 12:10:38 + 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=d186eaa159911561d189635e8b28a4ab65e6ac0e --label arch=amd64 --label version=0.0.0 . 12:10:39 Sending build context to Docker daemon 2.715MB 12:10:39 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 12:10:39 Step 2/24 : FROM ${BASE} AS builder 12:10:39 ---> 7c1e98a4ddbb 12:10:39 Step 3/24 : ARG MAKE='make build' 12:10:39 ---> Running in eb1d9ca5f46d 12:10:39 Removing intermediate container eb1d9ca5f46d 12:10:39 ---> 8fd52e714a15 12:10:39 Step 4/24 : WORKDIR /device-sdk-go 12:10:39 ---> Running in 84750d2c88ed 12:10:40 Removing intermediate container 84750d2c88ed 12:10:40 ---> 8289b276e0e0 12:10:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:10:40 ---> Running in 73d9e485cc8d 12:10:40 Removing intermediate container 73d9e485cc8d 12:10:40 ---> 182febdd2fda 12:10:40 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:40 ---> Running in 07219c6ad56e 12:10:41 Removing intermediate container 07219c6ad56e 12:10:41 ---> 258228d15eb5 12:10:41 Step 7/24 : RUN apk add --update --no-cache make git 12:10:41 ---> Running in 33b5ae1f4efa 12:10:41 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 12:10:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 12:10:43 OK: 166 MiB in 39 packages 12:10:43 Removing intermediate container 33b5ae1f4efa 12:10:43 ---> a2d1706a6b53 12:10:43 Step 8/24 : COPY . . 12:10:44 ---> 0fe969b9beab 12:10:44 Step 9/24 : RUN ${MAKE} 12:10:44 ---> Running in 4d4723f1a16e 12:10:45 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 12:10:52 Removing intermediate container 01d0bfe04966 12:10:52 ---> f6623928dcc1 12:10:52 Successfully built f6623928dcc1 12:10:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:10:53 + docker inspect -f . ci-base-image-arm64 12:10:53 . [Pipeline] withDockerContainer 12:10:53 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:10:53 prd-ubuntu18.04-docker-arm64-4c-16g-22279 does not seem to be running inside a container 12:10: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 ******** -e ******** ci-base-image-arm64 cat 12:10:55 $ docker top 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb -eo pid,comm [Pipeline] { 12:10:55 Removing intermediate container 4d4723f1a16e 12:10:55 ---> 139e58ed06ae 12:10:55 Step 10/24 : FROM scratch 12:10:55 ---> 12:10:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:10:55 ---> Running in 399a4f6901ae [Pipeline] sh 12:10:55 Removing intermediate container 399a4f6901ae 12:10:55 ---> a66c0088f7f7 12:10:55 Step 12/24 : ENV APP_PORT=49990 12:10:55 ---> Running in 79f89e7442cd 12:10:55 Removing intermediate container 79f89e7442cd 12:10:55 ---> 33d00668bf9e 12:10:55 Step 13/24 : EXPOSE $APP_PORT 12:10:55 ---> Running in 84952f6891d0 12:10:56 + go version 12:10:56 go version go1.15.5 linux/arm64 [Pipeline] } 12:10:56 $ docker stop --time=1 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb 12:10:56 Removing intermediate container 84952f6891d0 12:10:56 ---> fb35d5353388 12:10:56 Step 14/24 : WORKDIR / 12:10:56 ---> Running in 164229aedc9d 12:10:56 Removing intermediate container 164229aedc9d 12:10:56 ---> 60fec8ac5b41 12:10:56 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:10:56 ---> 70c1ac4fd839 12:10:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:10:57 ---> fd184a926b10 12:10:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:10:57 ---> bf50e7d8a390 12:10:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:10:57 ---> c05be1233065 12:10:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:10:57 ---> bf054f918d4b 12:10:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:10:57 ---> Running in 9c4902d5d604 12:10:58 Removing intermediate container 9c4902d5d604 12:10:58 ---> f345a3d842e0 12:10:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:10:58 ---> Running in 91368958248a 12:10:58 $ docker rm -f 12ade0a6c6eaa9456090e09acc280044b9f54496062ea6dd474df730d895e6bb 12:10:58 Removing intermediate container 91368958248a 12:10:58 ---> 5b07e02b2246 12:10:58 Step 22/24 : LABEL arch=amd64 12:10:58 ---> Running in 83ad1b88f7a2 [Pipeline] // withDockerContainer [Pipeline] } 12:10:58 Removing intermediate container 83ad1b88f7a2 12:10:58 ---> 9bc345296b60 12:10:58 Step 23/24 : LABEL git_sha=d186eaa159911561d189635e8b28a4ab65e6ac0e 12:10:58 ---> Running in 95b07fe77a77 [Pipeline] // script [Pipeline] } [Pipeline] // stage 12:10:58 Removing intermediate container 95b07fe77a77 12:10:58 ---> 04eb424bcf35 12:10:58 Step 24/24 : LABEL version=0.0.0 12:10:58 ---> Running in d42291a7e5ab 12:10:58 Removing intermediate container d42291a7e5ab 12:10:58 ---> a823579a2349 12:10:58 [Warning] One or more build-args [ARCH] were not consumed [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 12:10:59 Successfully built a823579a2349 12:10:59 Successfully tagged docker-device-sdk-simple:latest [Pipeline] sh [Pipeline] } [Pipeline] // stage 12:10:59 + docker inspect -f . ci-base-image-arm64 12:10:59 . [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] withDockerContainer 12:10:59 prd-ubuntu18.04-docker-arm64-4c-16g-22279 does not seem to be running inside a container 12:10:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:11:01 $ docker top 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a -eo pid,comm [Pipeline] { [Pipeline] sh 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 12:11:02 + make test 12:11:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:11:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 12:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 12:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 12:12:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 12:12:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.130s coverage: 19.4% of statements 12:12:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.228s coverage: 97.1% of statements 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.119s coverage: 9.4% of statements 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.112s coverage: 21.7% of statements 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.641s coverage: 43.2% of statements 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.801s coverage: 68.9% of statements 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.193s coverage: 53.8% of statements 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.157s coverage: 26.8% of statements 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.985s coverage: 83.5% of statements 12:12:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.142s coverage: 4.2% of statements 12:12:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 12:12:37 GO111MODULE=on go vet ./... 12:13:10 gofmt -l . 12:13:10 [ "`gofmt -l .`" = "" ] 12:13:10 ./bin/test-attribution-txt.sh 12:13:10 ./bin/test-go-mod-tidy.sh [Pipeline] } 12:13:11 $ docker stop --time=1 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a 12:13:13 $ docker rm -f 58de6f4b8c18a2ac244a71df1e27e62e85c6bd75996af98f0dd62e4bb415998a [Pipeline] // withDockerContainer [Pipeline] sh 12:13:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:13:14 Warning: overwriting stash ‘coverage-report’ 12:13:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:13:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:13:17 + ls -al . 12:13:17 total 252 12:13:17 drwxrwxr-x 10 jenkins jenkins 4096 Jan 22 12:13 . 12:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 .. 12:13:17 -rw-rw-r-- 1 jenkins jenkins 140 Jan 22 12:09 .dockerignore 12:13:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 22 12:09 .git 12:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:09 .github 12:13:17 -rw-rw-r-- 1 jenkins jenkins 138 Jan 22 12:09 .gitignore 12:13:17 -rw-rw-r-- 1 jenkins jenkins 949 Jan 22 12:09 Dockerfile.build 12:13:17 -rw-rw-r-- 1 jenkins jenkins 901 Jan 22 12:09 Jenkinsfile 12:13:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 22 12:09 LICENSE 12:13:17 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 22 12:09 Makefile 12:13:17 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 22 12:09 README.md 12:13:17 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 22 12:09 RELEASE-NOTES.txt 12:13:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 22 12:06 VERSION 12:13:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 22 12:09 bin 12:13:17 -rw-r--r-- 1 jenkins jenkins 136842 Jan 22 12:12 coverage.out 12:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 example 12:13:17 -rw-r--r-- 1 jenkins jenkins 514 Jan 22 12:13 go.mod 12:13:17 -rw-r--r-- 1 jenkins jenkins 14016 Jan 22 12:13 go.sum 12:13:17 drwxrwxr-x 15 jenkins jenkins 4096 Jan 22 12:09 internal 12:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 openapi 12:13:17 drwxrwxr-x 5 jenkins jenkins 4096 Jan 22 12:09 pkg 12:13:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 22 12:09 snap 12:13:17 -rw-rw-r-- 1 jenkins jenkins 222 Jan 22 12:09 version.go [Pipeline] isUnix [Pipeline] sh 12:13:17 + 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=d186eaa159911561d189635e8b28a4ab65e6ac0e --label arch=arm64 --label version=0.0.0 . 12:13:18 Sending build context to Docker daemon 2.707MB 12:13:18 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 12:13:18 Step 2/24 : FROM ${BASE} AS builder 12:13:18 ---> f6623928dcc1 12:13:18 Step 3/24 : ARG MAKE='make build' 12:13:18 ---> Running in 752d1ecbcf9c 12:13:18 Removing intermediate container 752d1ecbcf9c 12:13:18 ---> b773ade8d0e5 12:13:18 Step 4/24 : WORKDIR /device-sdk-go 12:13:19 ---> Running in 2ef1eb391433 12:13:19 Removing intermediate container 2ef1eb391433 12:13:19 ---> 09806f6132b9 12:13:19 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:13:19 ---> Running in 6c985b9fd63c 12:13:19 Removing intermediate container 6c985b9fd63c 12:13:19 ---> 78f5e20f1f76 12:13:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:13:20 ---> Running in 1b0fd9e9431d 12:13:22 Removing intermediate container 1b0fd9e9431d 12:13:22 ---> 9dddfe0fa5e6 12:13:22 Step 7/24 : RUN apk add --update --no-cache make git 12:13:22 ---> Running in f3a4899fe497 12:13:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 12:13:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 12:13:25 OK: 142 MiB in 39 packages 12:13:26 Removing intermediate container f3a4899fe497 12:13:26 ---> d2c12b09b82d 12:13:26 Step 8/24 : COPY . . 12:13:27 ---> 88a45cc86f89 12:13:27 Step 9/24 : RUN ${MAKE} 12:13:28 ---> Running in d0b6a8d323f1 12:13:29 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 12:13:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 12:13:56 Removing intermediate container d0b6a8d323f1 12:13:56 ---> 2a156565f0be 12:13:56 Step 10/24 : FROM scratch 12:13:56 ---> 12:13:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 12:13:56 ---> Running in 86ce98742bd3 12:13:56 Removing intermediate container 86ce98742bd3 12:13:56 ---> 8605c37d519d 12:13:56 Step 12/24 : ENV APP_PORT=49990 12:13:56 ---> Running in f43b83e30d4e 12:13:56 Removing intermediate container f43b83e30d4e 12:13:56 ---> 9d2929e9b127 12:13:56 Step 13/24 : EXPOSE $APP_PORT 12:13:57 ---> Running in d74939331b33 12:13:57 Removing intermediate container d74939331b33 12:13:57 ---> 2fa6b4c6a350 12:13:57 Step 14/24 : WORKDIR / 12:13:57 ---> Running in 341ff51fd9cc 12:13:57 Removing intermediate container 341ff51fd9cc 12:13:57 ---> 1f7bf35c20dd 12:13:57 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 12:13:58 ---> b4458f108b5c 12:13:58 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 12:13:59 ---> 135c84a4eda5 12:13:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 12:14:00 ---> 1fb82b3aa66f 12:14:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 12:14:01 ---> 2dfcec97d22c 12:14:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 12:14:02 ---> a06b444b70ae 12:14:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 12:14:02 ---> Running in 4dc119098820 12:14:02 Removing intermediate container 4dc119098820 12:14:02 ---> 949724062c20 12:14:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:14:02 ---> Running in a96c695ff248 12:14:03 Removing intermediate container a96c695ff248 12:14:03 ---> 6107c1e353e9 12:14:03 Step 22/24 : LABEL arch=arm64 12:14:03 ---> Running in 7c1e090ae8d5 12:14:03 Removing intermediate container 7c1e090ae8d5 12:14:03 ---> 3ca960ecaf40 12:14:03 Step 23/24 : LABEL git_sha=d186eaa159911561d189635e8b28a4ab65e6ac0e 12:14:03 ---> Running in 08cdb2d70ac0 12:14:04 Removing intermediate container 08cdb2d70ac0 12:14:04 ---> 5b937823441f 12:14:04 Step 24/24 : LABEL version=0.0.0 12:14:04 ---> Running in a8a450520fe4 12:14:04 Removing intermediate container a8a450520fe4 12:14:04 ---> 9deac422fd1c 12:14:04 [Warning] One or more build-args [ARCH] were not consumed 12:14:04 Successfully built 9deac422fd1c 12:14:04 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 12:14:07 provisioning config files... 12:14:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config3715868281977822049tmp [Pipeline] { [Pipeline] sh 12:14:08 + set +x 12:14:08 + curl -s https://codecov.io/bash 12:14:08 + bash -s -- 12:14:08 12:14:08 _____ _ 12:14:08 / ____| | | 12:14:08 | | ___ __| | ___ ___ _____ __ 12:14:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:14:08 | |___| (_) | (_| | __/ (_| (_) \ V / 12:14:08 \_____\___/ \__,_|\___|\___\___/ \_/ 12:14:08 Bash-20210115-cec3c92 12:14:08 12:14:08 12:14:08 ==> git version 2.24.3 found 12:14:08 ==> 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 12:14:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:14:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:14:08 ==> Jenkins CI detected. 12:14:08 project root: . 12:14:08 --> token set from env 12:14:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:14:08 ==> Running gcov in . (disable via -X gcov) 12:14:08 ==> Python coveragepy not found 12:14:08 ==> Searching for coverage reports in: 12:14:08 + . 12:14:08 -> Found 1 reports 12:14:08 ==> Detecting git/mercurial file structure 12:14:08 ==> Reading reports 12:14:08 + ./coverage.out bytes=136842 12:14:08 ==> Appending adjustments 12:14:08 https://docs.codecov.io/docs/fixing-reports 12:14:10 + Found adjustments 12:14:10 ==> Gzipping contents 12:14:10 24K /tmp/codecov.7Dla4I.gz 12:14:10 ==> Uploading reports 12:14:10 url: https://codecov.io 12:14:10 query: branch=PR-753&commit=d186eaa159911561d189635e8b28a4ab65e6ac0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 12:14:10 -> Pinging Codecov 12:14:10 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-753&commit=d186eaa159911561d189635e8b28a4ab65e6ac0e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-753%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=753&job=&cmd_args= 12:14:10 -> Uploading to 12:14:10 https://storage.googleapis.com/codecov/v4/raw/2021-01-22/7E55EF52A471D76F132DFD9A03CDDE97/d186eaa159911561d189635e8b28a4ab65e6ac0e/82aa2fa5-636a-4e80-bf49-a41b4d8d5c9c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210122%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210122T121410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e89e9abcab499505726e7ba7d3f63c971146707050c169482f3b72ff6565ecbc 12:14:10 % Total % Received % Xferd Average Speed Time Time Time Current 12:14:10 Dload Upload Total Spent Left Speed 12:14:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21548 0 0 100 21548 0 36292 --:--:-- --:--:-- --:--:-- 36276 12:14:11 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d186eaa159911561d189635e8b28a4ab65e6ac0e [Pipeline] } 12:14:11 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 12:14:14 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:14:15 ---> package-listing.sh 12:14:15 ++ facter osfamily 12:14:15 ++ tr '[:upper:]' '[:lower:]' 12:14:15 + OS_FAMILY=redhat 12:14:15 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-753 12:14:15 + START_PACKAGES=/tmp/packages_start.txt 12:14:15 + END_PACKAGES=/tmp/packages_end.txt 12:14:15 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:14:15 + PACKAGES=/tmp/packages_start.txt 12:14:15 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 12:14:15 + PACKAGES=/tmp/packages_end.txt 12:14:15 + case "${OS_FAMILY}" in 12:14:15 + rpm -qa 12:14:15 + sort 12:14:24 + '[' -f /tmp/packages_start.txt ']' 12:14:24 + '[' -f /tmp/packages_end.txt ']' 12:14:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:14:24 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-753 ']' 12:14:24 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ 12:14:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-753/archives/ [Pipeline] echo 12:14:24 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-753/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:14:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:14:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:14:25 12:14:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 12:14:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:14:26 alpine: Pulling from edgex-lftools-log-publisher 12:14:26 df20fa9351a1: Pulling fs layer 12:14:26 36b3adc4ff6f: Pulling fs layer 12:14:26 8ad3a11d3b57: Pulling fs layer 12:14:26 46f8f816bc3b: Pulling fs layer 12:14:26 93b61091891f: Pulling fs layer 12:14:26 93b9cdb0e59b: Pulling fs layer 12:14:26 5e14af77c1be: Pulling fs layer 12:14:26 01666e4c0597: Pulling fs layer 12:14:26 aa168da1d23b: Pulling fs layer 12:14:26 5e14af77c1be: Waiting 12:14:26 01666e4c0597: Waiting 12:14:26 aa168da1d23b: Waiting 12:14:26 46f8f816bc3b: Waiting 12:14:26 93b61091891f: Waiting 12:14:26 93b9cdb0e59b: Waiting 12:14:26 36b3adc4ff6f: Verifying Checksum 12:14:26 36b3adc4ff6f: Download complete 12:14:26 46f8f816bc3b: Download complete 12:14:26 df20fa9351a1: Download complete 12:14:26 93b9cdb0e59b: Verifying Checksum 12:14:26 93b9cdb0e59b: Download complete 12:14:26 93b61091891f: Download complete 12:14:26 5e14af77c1be: Verifying Checksum 12:14:26 5e14af77c1be: Download complete 12:14:26 01666e4c0597: Verifying Checksum 12:14:26 01666e4c0597: Download complete 12:14:27 df20fa9351a1: Pull complete 12:14:28 36b3adc4ff6f: Pull complete 12:14:28 8ad3a11d3b57: Verifying Checksum 12:14:28 8ad3a11d3b57: Download complete 12:14:31 8ad3a11d3b57: Pull complete 12:14:31 46f8f816bc3b: Pull complete 12:14:32 93b61091891f: Pull complete 12:14:33 93b9cdb0e59b: Pull complete 12:14:33 5e14af77c1be: Pull complete 12:14:33 01666e4c0597: Pull complete 12:14:33 aa168da1d23b: Verifying Checksum 12:14:33 aa168da1d23b: Download complete 12:14:49 aa168da1d23b: Pull complete 12:14:49 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 12:14:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 12:14:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 12:14:49 prd-centos7-docker-4c-2g-22276 does not seem to be running inside a container 12:14:49 $ 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-753/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-753 -v /w/workspace/dgexfoundry_device-sdk-go_PR-753:/w/workspace/dgexfoundry_device-sdk-go_PR-753:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-753@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 12:14:54 $ docker top 087e4b5fdd3f99dcbdc6e31e05fce5f28a01ac201ce9b2def4a93011b085d744 -eo pid,comm [Pipeline] { [Pipeline] sh 12:14:55 + touch /tmp/pre-build-complete [Pipeline] sh 12:14:56 + mkdir -p /var/log/sa [Pipeline] sh 12:14:56 + ls /var/log/sa-host 12:14:56 + sadf -c /var/log/sa-host/sa22 12:14:56 file_magic: OK 12:14:56 HZ: Using current value: 100 12:14:56 file_header: OK 12:14:56 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 12:14:56 Statistics: 12:14:56 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:14:56 File successfully converted to sysstat format version 12.2.1 12:14:56 + sadf -c /var/log/sa-host/sa23 12:14:56 file_magic: OK 12:14:56 HZ: Using current value: 100 12:14:56 file_header: OK 12:14:56 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 12:14:56 Statistics: 12:14:56 Hnuu...uuuununununu... 12:14:56 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:14:57 provisioning config files... 12:14:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-753@tmp/config5342842934125325664tmp [Pipeline] { [Pipeline] echo 12:14:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:14:57 ---> create-netrc.sh [Pipeline] } 12:14:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 12:14:58 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 12:14:58 ---> python-tools-install.sh [Pipeline] echo 12:14:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:14:58 ---> sudo-logs.sh 12:14:58 Archiving 'sudo' log.. [Pipeline] echo 12:14:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:14:59 ---> job-cost.sh 12:14:59 lf-activate-venv: SKIPPING 12:14:59 INFO: No Stack... 12:15:00 INFO: Retrieving Pricing Info for: v1-standard-2 12:15:01 INFO: Archiving Costs [Pipeline] echo 12:15:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:15:01 ---> logs-deploy.sh 12:15:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-753/1 12:15:01 INFO: archiving workspace using pattern(s): 12:15:05 Archives upload complete. 12:15:05 INFO: archiving logs to Nexus