Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from b548679428654ee0dca8f5b5dc3d7fcaeb119b73+abee7d5846637e135dd277469e99a0143c7ff265 (23016be88cf84d2693230b0796d94a84102c9318) Running in Durability level: PERFORMANCE_OPTIMIZED 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 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 a2cbe11917bfb8801b6bc99aaa80229564ed4294 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 Checking out Revision a2cbe11917bfb8801b6bc99aaa80229564ed4294 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a2cbe11917bfb8801b6bc99aaa80229564ed4294 # timeout=10 Commit message: "Merge pull request #273 from ernestojeda/fix-semver-dir-permissions" > 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 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5745 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [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-582 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 > 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 --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # 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 abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 Merge succeeded, producing 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 Checking out Revision 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 (PR-582) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 # timeout=10 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:43:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:43:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:43:33 ========================================================= 02:43:33 EdgeX Global Pipelines Version Info 02:43:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:43:35 ------------------- 02:43:35 stable info: 02:43:35 ------------------- 02:43:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:35 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:43:35 Message: update stable to v1.0.144 02:43:36 ------------------- 02:43:36 experimental info: 02:43:36 ------------------- 02:43:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:43:36 Commit SHA: a2cbe11917bfb8801b6bc99aaa80229564ed4294 02:43:36 Message: update experimental to v1.0.144 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 02:43:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:43:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:43:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:43:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:43:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:43:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-582 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-582 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-582 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3a27b84 [Pipeline] echo 02:43:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:43:40 + git log --format=format:%s -1 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 [Pipeline] echo 02:43:40 GIT_COMMIT: 3a27b84ade197c4d5a4a25e8bb72f8662eff6c21, Commit Message: Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD [Pipeline] echo 02:43:40 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:43:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:41 02:43:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:43:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:41 latest: Pulling from edgex-devops/git-semver 02:43:41 31603596830f: Pulling fs layer 02:43:41 2a8b12db71e7: Pulling fs layer 02:43:41 6ca5941a6612: Pulling fs layer 02:43:41 ecc8261a40a4: Pulling fs layer 02:43:41 ecc8261a40a4: Waiting 02:43:41 2a8b12db71e7: Verifying Checksum 02:43:41 2a8b12db71e7: Download complete 02:43:42 31603596830f: Verifying Checksum 02:43:42 31603596830f: Download complete 02:43:42 ecc8261a40a4: Verifying Checksum 02:43:42 ecc8261a40a4: Download complete 02:43:42 6ca5941a6612: Verifying Checksum 02:43:42 6ca5941a6612: Download complete 02:43:42 31603596830f: Pull complete 02:43:42 2a8b12db71e7: Pull complete 02:43:43 6ca5941a6612: Pull complete 02:43:43 ecc8261a40a4: Pull complete 02:43:43 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:43:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:43:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:43:43 prd-centos7-docker-4c-2g-5745 does not seem to be running inside a container 02:43:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:43:45 $ docker top cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:43:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:46 [ssh-agent] Looking for ssh-agent implementation... 02:43:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:46 $ docker exec cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent 02:43:46 SSH_AUTH_SOCK=/tmp/ssh-zJRsTY5CIELQ/agent.11 02:43:46 SSH_AGENT_PID=16 02:43:46 Running ssh-add (command line suppressed) 02:43:46 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5130288601212259181.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_5130288601212259181.key) 02:43:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:46 + git tag --points-at HEAD [Pipeline] } 02:43:46 $ docker exec --env ******** --env ******** cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent -k 02:43:47 unset SSH_AUTH_SOCK; 02:43:47 unset SSH_AGENT_PID; 02:43:47 echo Agent pid 16 killed; 02:43:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:43:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:43:47 [ssh-agent] Looking for ssh-agent implementation... 02:43:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:43:47 $ docker exec cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent 02:43:47 SSH_AUTH_SOCK=/tmp/ssh-cRp3IQVn515c/agent.45 02:43:47 SSH_AGENT_PID=51 02:43:47 Running ssh-add (command line suppressed) 02:43:47 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7190412006825610320.key (/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/private_key_7190412006825610320.key) 02:43:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:43:48 + git semver init 02:43:48 # -> Open(): unable to determine branch for HEAD 02:43:48 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.git 02:43:48 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-582 02:43:48 # $SEMVER_REMOTE_NAME = origin 02:43:48 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:43:48 # $SEMVER_USER_NAME = edgex-jenkins 02:43:48 # $SEMVER_BRANCH = PR-582 02:43:48 # $SEMVER_TEMP = /tmp/semver-186073845 02:43:48 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:43:48 # '/tmp/semver-186073845' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver' 02:43:48 # -> Force: false 02:43:48 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-582/.semver [Pipeline] } 02:43:48 $ docker exec --env ******** --env ******** cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 ssh-agent -k 02:43:48 unset SSH_AUTH_SOCK; 02:43:48 unset SSH_AGENT_PID; 02:43:48 echo Agent pid 51 killed; 02:43:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:43:49 + git semver [Pipeline] } 02:43:49 $ docker stop --time=1 cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 02:43:50 $ docker rm -f cf6aef18c40896da94f47c2a4bfd92b6557f758d928fea1e50eab8d14f827cc3 [Pipeline] // withDockerContainer [Pipeline] sh 02:43:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:43:51 Stashed 1 file(s) [Pipeline] echo 02:43:51 [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 02:44:07 Still waiting to schedule task 02:44:07 Waiting for next available executor on ‘centos7-docker-4c-2g’ 02:44:07 Still waiting to schedule task 02:44:07 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 02:45:52 Running on prd-centos7-docker-4c-2g-5754 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:45:52 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 02:45:55 using credential edgex-jenkins-ssh 02:45:55 Cloning the remote Git repository 02:45:55 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 > git init /w/workspace/device-sdk-go/21 # timeout=10 02:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 > git --version # timeout=10 02:45:56 > git --version # 'git version 2.16.5' 02:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:57 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 02:45:57 Merge succeeded, producing 73dbff209aad179cc6dc93ce45f7906c0be42404 02:45:57 Checking out Revision 73dbff209aad179cc6dc93ce45f7906c0be42404 (PR-582) 02:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:45:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:45:56 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:45:57 > git config core.sparsecheckout # timeout=10 02:45:57 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 02:45:57 > git remote # timeout=10 02:45:57 > git config --get remote.origin.url # timeout=10 02:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 02:45:57 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:45:57 > git rev-parse HEAD^{commit} # timeout=10 02:45:57 > git config core.sparsecheckout # timeout=10 02:45:57 > git checkout -f 73dbff209aad179cc6dc93ce45f7906c0be42404 # timeout=10 02:46:00 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:46:00 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash 02:46:00 > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 [Pipeline] echo 02:46:01 ========================================================= 02:46:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:46:01 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:46:02 + 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 . 02:46:03 Sending build context to Docker daemon 2.296MB 02:46:03 Step 1/8 : ARG BASE=golang:1.15-alpine 02:46:03 Step 2/8 : FROM ${BASE} 02:46:03 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:46:03 df20fa9351a1: Pulling fs layer 02:46:03 ed8968b2872e: Pulling fs layer 02:46:03 a92cc7c5fd73: Pulling fs layer 02:46:03 e871e8e8d7a9: Pulling fs layer 02:46:03 e73272ec9a57: Pulling fs layer 02:46:03 1e910a182e73: Pulling fs layer 02:46:03 4e634b169226: Pulling fs layer 02:46:03 e73272ec9a57: Waiting 02:46:03 1e910a182e73: Waiting 02:46:03 4e634b169226: Waiting 02:46:03 e871e8e8d7a9: Waiting 02:46:03 a92cc7c5fd73: Download complete 02:46:03 ed8968b2872e: Download complete 02:46:03 e73272ec9a57: Verifying Checksum 02:46:03 e73272ec9a57: Download complete 02:46:03 1e910a182e73: Download complete 02:46:04 df20fa9351a1: Verifying Checksum 02:46:04 df20fa9351a1: Download complete 02:46:04 df20fa9351a1: Pull complete 02:46:04 ed8968b2872e: Pull complete 02:46:04 a92cc7c5fd73: Pull complete 02:46:06 4e634b169226: Verifying Checksum 02:46:06 4e634b169226: Download complete 02:46:07 e871e8e8d7a9: Verifying Checksum 02:46:07 e871e8e8d7a9: Download complete 02:46:12 e871e8e8d7a9: Pull complete 02:46:12 e73272ec9a57: Pull complete 02:46:12 1e910a182e73: Pull complete 02:46:16 4e634b169226: Pull complete 02:46:16 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 02:46:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:46:16 ---> f7629b54cfaa 02:46:16 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:16 ---> Running in 1f440b597f19 02:46:16 Removing intermediate container 1f440b597f19 02:46:16 ---> 8500d13d931a 02:46:16 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:16 ---> Running in 23ec860e05f4 02:46:17 Removing intermediate container 23ec860e05f4 02:46:17 ---> c071165e183b 02:46:17 Step 5/8 : RUN apk add --no-cache make git 02:46:17 ---> Running in 8e7615cc67a6 02:46:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:19 OK: 166 MiB in 39 packages 02:46:20 Removing intermediate container 8e7615cc67a6 02:46:20 ---> 9eee4e950ba8 02:46:20 Step 6/8 : WORKDIR /device-sdk-go 02:46:20 ---> Running in bb9d173a595d 02:46:20 Removing intermediate container bb9d173a595d 02:46:20 ---> 3a8f6a289a56 02:46:20 Step 7/8 : COPY . . 02:46:21 ---> 6a5cd8be3c5a 02:46:21 Step 8/8 : RUN go mod download 02:46:21 ---> Running in 8fd31248b9fd 02:46:39 Removing intermediate container 8fd31248b9fd 02:46:39 ---> 7d29de63cb4a 02:46:39 Successfully built 7d29de63cb4a 02:46:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:46:40 + docker inspect -f . ci-base-image-x86_64 02:46:40 . [Pipeline] withDockerContainer 02:46:40 prd-centos7-docker-4c-2g-5754 does not seem to be running inside a container 02:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 02:46:40 $ docker top e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:41 + go version 02:46:41 go version go1.15.2 linux/amd64 [Pipeline] } 02:46:41 $ docker stop --time=1 e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e 02:46:43 $ docker rm -f e2c0005067259e43dccc60c35464f62d569ccbf74fc513de0d7d25d5ba09b81e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:44 + docker inspect -f . ci-base-image-x86_64 02:46:44 . [Pipeline] withDockerContainer 02:46:44 prd-centos7-docker-4c-2g-5754 does not seem to be running inside a container 02:46:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 02:46:44 $ docker top 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:45 + make test 02:46:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:46:52 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:47:04 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:47:04 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:47:04 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:47:04 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.050s coverage: 21.6% of statements 02:47:06 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.420s coverage: 97.1% of statements 02:47:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5756 in /w/workspace/dgexfoundry_device-sdk-go_PR-582 [Pipeline] { [Pipeline] ws 02:47:18 Running in /w/workspace/device-sdk-go/21 [Pipeline] { [Pipeline] checkout 02:47:23 using credential edgex-jenkins-ssh 02:47:23 Cloning the remote Git repository 02:47:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:47:24 > git init /w/workspace/device-sdk-go/21 # timeout=10 02:47:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:24 > git --version # timeout=10 02:47:24 > git --version # 'git version 2.17.1' 02:47:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:25 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit b548679428654ee0dca8f5b5dc3d7fcaeb119b73 02:47:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:47:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:47:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:47:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/582/head:refs/remotes/origin/PR-582 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:47:25 > git config core.sparsecheckout # timeout=10 02:47:26 > git checkout -f b548679428654ee0dca8f5b5dc3d7fcaeb119b73 # timeout=10 02:47:26 > git remote # timeout=10 02:47:26 > git config --get remote.origin.url # timeout=10 02:47:26 using GIT_SSH to set credentials SSH Credentials for GitHub 02:47:26 > git merge abee7d5846637e135dd277469e99a0143c7ff265 # timeout=10 02:47:26 Merge succeeded, producing 6bdfe868ec2b938bbc23eb80937403d0959393f6 02:47:26 Checking out Revision 6bdfe868ec2b938bbc23eb80937403d0959393f6 (PR-582) 02:47:26 > git rev-parse HEAD^{commit} # timeout=10 02:47:26 > git config core.sparsecheckout # timeout=10 02:47:26 > git checkout -f 6bdfe868ec2b938bbc23eb80937403d0959393f6 # timeout=10 02:47:31 Commit message: "Merge commit 'abee7d5846637e135dd277469e99a0143c7ff265' into HEAD" 02:47:31 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] echo 02:47:31 ========================================================= 02:47:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:47:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:47:31 > git rev-list --no-walk 426d968bf27e5cf411a4989117a5992c1c08a42e # timeout=10 02:47:33 + 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 . 02:47:34 Sending build context to Docker daemon 2.296MB 02:47:34 Step 1/8 : ARG BASE=golang:1.15-alpine 02:47:34 Step 2/8 : FROM ${BASE} 02:47:34 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:47:34 b538f80385f9: Pulling fs layer 02:47:34 74f711af9a0d: Pulling fs layer 02:47:34 99f96fe45779: Pulling fs layer 02:47:34 8529a6b9a6be: Pulling fs layer 02:47:34 45590311c82a: Pulling fs layer 02:47:34 69ca0ff8b7b3: Pulling fs layer 02:47:34 209524e5b208: Pulling fs layer 02:47:34 8529a6b9a6be: Waiting 02:47:34 45590311c82a: Waiting 02:47:34 69ca0ff8b7b3: Waiting 02:47:34 209524e5b208: Waiting 02:47:34 99f96fe45779: Verifying Checksum 02:47:34 99f96fe45779: Download complete 02:47:34 74f711af9a0d: Verifying Checksum 02:47:34 74f711af9a0d: Download complete 02:47:34 45590311c82a: Verifying Checksum 02:47:34 45590311c82a: Download complete 02:47:34 69ca0ff8b7b3: Verifying Checksum 02:47:34 69ca0ff8b7b3: Download complete 02:47:34 b538f80385f9: Verifying Checksum 02:47:34 b538f80385f9: Download complete 02:47:35 b538f80385f9: Pull complete 02:47:35 74f711af9a0d: Pull complete 02:47:36 99f96fe45779: Pull complete 02:47:37 209524e5b208: Verifying Checksum 02:47:37 209524e5b208: Download complete 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.059s coverage: 9.4% of statements 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.045s coverage: 21.9% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.222s coverage: 40.8% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.273s coverage: 68.9% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.063s coverage: 52.6% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:47:38 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.287s coverage: 68.9% of statements 02:47:38 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:47:38 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:47:38 GO111MODULE=on go vet ./... 02:47:39 8529a6b9a6be: Download complete 02:47:45 gofmt -l . 02:47:45 [ "`gofmt -l .`" = "" ] 02:47:45 ./bin/test-attribution-txt.sh 02:47:45 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:47:45 Stashed 1 file(s) [Pipeline] } 02:47:45 $ docker stop --time=1 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 02:47:47 $ docker rm -f 53d66b29be2c439b584e311c41783621628b5e7e3f146c73c92f75fc270cc096 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 02:47:49 8529a6b9a6be: Pull complete 02:47:49 45590311c82a: Pull complete 02:47:50 69ca0ff8b7b3: Pull complete [Pipeline] sh 02:47:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:50 + ls -al . 02:47:50 total 188 02:47:50 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 16 02:47 . 02:47:50 drwxrwxr-x. 4 jenkins jenkins 30 Oct 16 02:45 .. 02:47:50 drwxrwxr-x. 2 jenkins jenkins 64 Oct 16 02:45 bin 02:47:50 -rw-r--r--. 1 jenkins jenkins 110396 Oct 16 02:47 coverage.out 02:47:50 -rw-rw-r--. 1 jenkins jenkins 936 Oct 16 02:45 Dockerfile.build 02:47:50 -rw-rw-r--. 1 jenkins jenkins 140 Oct 16 02:45 .dockerignore 02:47:50 drwxrwxr-x. 4 jenkins jenkins 48 Oct 16 02:45 example 02:47:50 drwxrwxr-x. 8 jenkins jenkins 179 Oct 16 02:46 .git 02:47:50 drwxrwxr-x. 2 jenkins jenkins 60 Oct 16 02:45 .github 02:47:50 -rw-rw-r--. 1 jenkins jenkins 138 Oct 16 02:45 .gitignore 02:47:50 -rw-r--r--. 1 jenkins jenkins 517 Oct 16 02:47 go.mod 02:47:50 -rw-r--r--. 1 jenkins jenkins 13731 Oct 16 02:47 go.sum 02:47:50 drwxrwxr-x. 15 jenkins jenkins 211 Oct 16 02:45 internal 02:47:50 -rw-rw-r--. 1 jenkins jenkins 901 Oct 16 02:45 Jenkinsfile 02:47:50 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 16 02:45 LICENSE 02:47:50 -rw-rw-r--. 1 jenkins jenkins 1013 Oct 16 02:45 Makefile 02:47:50 drwxrwxr-x. 4 jenkins jenkins 26 Oct 16 02:45 openapi 02:47:50 drwxrwxr-x. 5 jenkins jenkins 50 Oct 16 02:45 pkg 02:47:50 -rw-rw-r--. 1 jenkins jenkins 5897 Oct 16 02:45 README.md 02:47:50 -rw-rw-r--. 1 jenkins jenkins 4291 Oct 16 02:45 RELEASE-NOTES.txt 02:47:50 drwxrwxr-x. 4 jenkins jenkins 54 Oct 16 02:45 snap 02:47:50 -rw-rw-r--. 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:47:50 -rw-rw-r--. 1 jenkins jenkins 222 Oct 16 02:45 version.go [Pipeline] isUnix [Pipeline] sh 02:47:51 + 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=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 --label arch=amd64 --label version=0.0.0 . 02:47:51 Sending build context to Docker daemon 2.407MB 02:47:51 Step 1/24 : ARG BASE=golang:1.15-alpine 02:47:51 Step 2/24 : FROM ${BASE} AS builder 02:47:51 ---> 7d29de63cb4a 02:47:51 Step 3/24 : ARG MAKE='make build' 02:47:51 ---> Running in e8089298de23 02:47:51 Removing intermediate container e8089298de23 02:47:51 ---> bb444bdae366 02:47:51 Step 4/24 : WORKDIR /device-sdk-go 02:47:51 ---> Running in 0f172ae05f14 02:47:52 Removing intermediate container 0f172ae05f14 02:47:52 ---> 2654424275a9 02:47:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:52 ---> Running in ceddc002ffaa 02:47:52 Removing intermediate container ceddc002ffaa 02:47:52 ---> d3fa5a755b97 02:47:52 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:52 ---> Running in f6d2d9937d83 02:47:53 Removing intermediate container f6d2d9937d83 02:47:53 ---> 3d7744b2f4fa 02:47:53 Step 7/24 : RUN apk add --update --no-cache make git 02:47:53 ---> Running in 6495932ec228 02:47:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:47:53 209524e5b208: Pull complete 02:47:53 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 02:47:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:47:53 ---> 5bddaf1c2fca 02:47:53 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:47:55 OK: 166 MiB in 39 packages 02:47:55 Removing intermediate container 6495932ec228 02:47:55 ---> dc486799cf7d 02:47:55 Step 8/24 : COPY . . 02:47:56 ---> 347230e8a574 02:47:56 Step 9/24 : RUN ${MAKE} 02:47:56 ---> Running in dcc1ea7c3d44 02:47:56 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 02:47:57 ---> Running in 3e2219d9c85c 02:47:57 Removing intermediate container 3e2219d9c85c 02:47:57 ---> 038bdc6a5f2f 02:47:57 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:57 ---> Running in 844dcf2c2afb 02:48:01 Removing intermediate container 844dcf2c2afb 02:48:01 ---> 0400fde059f7 02:48:01 Step 5/8 : RUN apk add --no-cache make git 02:48:01 ---> Running in 9a252f605a46 02:48:02 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:48:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:48:04 OK: 142 MiB in 39 packages 02:48:05 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:05 Removing intermediate container 9a252f605a46 02:48:05 ---> 79d9d0b18526 02:48:05 Step 6/8 : WORKDIR /device-sdk-go 02:48:05 ---> Running in 2a42a753619e 02:48:06 Removing intermediate container dcc1ea7c3d44 02:48:06 ---> e65f17fe7073 02:48:06 Step 10/24 : FROM scratch 02:48:06 ---> 02:48:06 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:06 ---> Running in 0c79466f1bb7 02:48:06 Removing intermediate container 0c79466f1bb7 02:48:06 ---> a5f0d96dc599 02:48:06 Step 12/24 : ENV APP_PORT=49990 02:48:06 ---> Running in 55132c547e98 02:48:06 Removing intermediate container 2a42a753619e 02:48:06 ---> 5d7470a3f235 02:48:06 Step 7/8 : COPY . . 02:48:06 Removing intermediate container 55132c547e98 02:48:06 ---> 886797d2c56c 02:48:06 Step 13/24 : EXPOSE $APP_PORT 02:48:06 ---> Running in 1167d031d72e 02:48:06 Removing intermediate container 1167d031d72e 02:48:06 ---> 6e8f63d21a3c 02:48:06 Step 14/24 : WORKDIR / 02:48:06 ---> Running in a1982a047b5f 02:48:06 Removing intermediate container a1982a047b5f 02:48:06 ---> bb001506caad 02:48:06 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:07 ---> b4591fd99910 02:48:07 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:07 ---> f314d97e2f48 02:48:07 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:07 ---> 1413e1db6464 02:48:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:07 ---> f98add207cb0 02:48:07 Step 8/8 : RUN go mod download 02:48:07 ---> Running in 7a0084f3470c 02:48:07 ---> 130cf2d1e121 02:48:07 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:07 ---> e91609a046dc 02:48:07 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:07 ---> Running in 0bd3add48a45 02:48:08 Removing intermediate container 0bd3add48a45 02:48:08 ---> 92ddfbffd8f1 02:48:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:08 ---> Running in afb38dc5c794 02:48:08 Removing intermediate container afb38dc5c794 02:48:08 ---> a0e9c4b66563 02:48:08 Step 22/24 : LABEL arch=amd64 02:48:08 ---> Running in 524d78c1ff9b 02:48:08 Removing intermediate container 524d78c1ff9b 02:48:08 ---> 48de0cdae6ec 02:48:08 Step 23/24 : LABEL git_sha=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 02:48:08 ---> Running in 4fc80085ed73 02:48:08 Removing intermediate container 4fc80085ed73 02:48:08 ---> 31a5cdb617e6 02:48:08 Step 24/24 : LABEL version=0.0.0 02:48:09 ---> Running in 315b26b2cebd 02:48:09 Removing intermediate container 315b26b2cebd 02:48:09 ---> 0735a2bfd0c0 02:48:09 [Warning] One or more build-args [ARCH] were not consumed 02:48:09 Successfully built 0735a2bfd0c0 02:48:09 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] } 02:48:29 Removing intermediate container 7a0084f3470c 02:48:29 ---> ebbce0cad029 02:48:29 Successfully built ebbce0cad029 02:48:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:48:30 + docker inspect -f . ci-base-image-arm64 02:48:30 . [Pipeline] withDockerContainer 02:48:30 prd-ubuntu18.04-docker-arm64-4c-16g-5756 does not seem to be running inside a container 02:48:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 02:48:32 $ docker top ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:33 + go version 02:48:33 go version go1.15.2 linux/arm64 [Pipeline] } 02:48:33 $ docker stop --time=1 ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 02:48:36 $ docker rm -f ab434e04e3b19d13b504284e115e18d6a4acb6fe1829b32a9b85bea9da52f6b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:48:37 + docker inspect -f . ci-base-image-arm64 02:48:37 . [Pipeline] withDockerContainer 02:48:37 prd-ubuntu18.04-docker-arm64-4c-16g-5756 does not seem to be running inside a container 02:48:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/21 -v /w/workspace/device-sdk-go/21:/w/workspace/device-sdk-go/21:rw,z -v /w/workspace/device-sdk-go/21@tmp:/w/workspace/device-sdk-go/21@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 02:48:39 $ docker top 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:40 + make test 02:48:40 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:49:02 ? github.com/edgexfoundry/device-sdk-go [no test files] 02:49:49 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 02:49:49 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 02:49:49 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 02:49:49 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.157s coverage: 21.6% of statements 02:49:51 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.226s coverage: 97.1% of statements 02:50:24 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.144s coverage: 9.4% of statements 02:50:24 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.141s coverage: 21.9% of statements 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 02:50:24 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.541s coverage: 40.8% of statements 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 02:50:24 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.814s coverage: 68.9% of statements 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 02:50:24 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.187s coverage: 52.6% of statements 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 02:50:24 ok github.com/edgexfoundry/device-sdk-go/pkg/models 6.078s coverage: 68.9% of statements 02:50:24 ? github.com/edgexfoundry/device-sdk-go/pkg/service [no test files] 02:50:24 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 02:50:24 GO111MODULE=on go vet ./... 02:50:51 gofmt -l . 02:50:51 [ "`gofmt -l .`" = "" ] 02:50:51 ./bin/test-attribution-txt.sh 02:50:51 ./bin/test-go-mod-tidy.sh [Pipeline] stash 02:50:51 Warning: overwriting stash ‘coverage-report’ 02:50:52 Stashed 1 file(s) [Pipeline] } 02:50:52 $ docker stop --time=1 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa 02:50:54 $ docker rm -f 11953a89e30222c198de5a38f25ec8037b6b080e9c3fecfaf1f1ee27a99853fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:50:56 + ls -al . 02:50:56 total 224 02:50:56 drwxrwxr-x 10 jenkins jenkins 4096 Oct 16 02:50 . 02:50:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 .. 02:50:56 -rw-rw-r-- 1 jenkins jenkins 140 Oct 16 02:47 .dockerignore 02:50:56 drwxrwxr-x 8 jenkins jenkins 4096 Oct 16 02:47 .git 02:50:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:47 .github 02:50:56 -rw-rw-r-- 1 jenkins jenkins 138 Oct 16 02:47 .gitignore 02:50:56 -rw-rw-r-- 1 jenkins jenkins 936 Oct 16 02:47 Dockerfile.build 02:50:56 -rw-rw-r-- 1 jenkins jenkins 901 Oct 16 02:47 Jenkinsfile 02:50:56 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 16 02:47 LICENSE 02:50:56 -rw-rw-r-- 1 jenkins jenkins 1013 Oct 16 02:47 Makefile 02:50:56 -rw-rw-r-- 1 jenkins jenkins 5897 Oct 16 02:47 README.md 02:50:56 -rw-rw-r-- 1 jenkins jenkins 4291 Oct 16 02:47 RELEASE-NOTES.txt 02:50:56 -rw-rw-r-- 1 jenkins jenkins 5 Oct 16 02:43 VERSION 02:50:56 drwxrwxr-x 2 jenkins jenkins 4096 Oct 16 02:47 bin 02:50:56 -rw-r--r-- 1 jenkins jenkins 110396 Oct 16 02:50 coverage.out 02:50:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 example 02:50:56 -rw-r--r-- 1 jenkins jenkins 517 Oct 16 02:50 go.mod 02:50:56 -rw-r--r-- 1 jenkins jenkins 13731 Oct 16 02:50 go.sum 02:50:56 drwxrwxr-x 15 jenkins jenkins 4096 Oct 16 02:47 internal 02:50:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 openapi 02:50:56 drwxrwxr-x 5 jenkins jenkins 4096 Oct 16 02:47 pkg 02:50:56 drwxrwxr-x 4 jenkins jenkins 4096 Oct 16 02:47 snap 02:50:56 -rw-rw-r-- 1 jenkins jenkins 222 Oct 16 02:47 version.go [Pipeline] isUnix [Pipeline] sh 02:50:56 + 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=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 --label arch=arm64 --label version=0.0.0 . 02:50:57 Sending build context to Docker daemon 2.407MB 02:50:57 Step 1/24 : ARG BASE=golang:1.15-alpine 02:50:57 Step 2/24 : FROM ${BASE} AS builder 02:50:57 ---> ebbce0cad029 02:50:57 Step 3/24 : ARG MAKE='make build' 02:50:57 ---> Running in 63016f9cda45 02:50:58 Removing intermediate container 63016f9cda45 02:50:58 ---> 424ab8d449c6 02:50:58 Step 4/24 : WORKDIR /device-sdk-go 02:50:58 ---> Running in 621a610949be 02:50:58 Removing intermediate container 621a610949be 02:50:58 ---> d6735afc6975 02:50:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:50:58 ---> Running in 69e48d35a158 02:50:59 Removing intermediate container 69e48d35a158 02:50:59 ---> 02888dd55976 02:50:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:50:59 ---> Running in 096d71b15241 02:51:01 Removing intermediate container 096d71b15241 02:51:01 ---> d581d61faa27 02:51:01 Step 7/24 : RUN apk add --update --no-cache make git 02:51:01 ---> Running in 2a3e10471e4c 02:51:03 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:51:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:51:04 OK: 142 MiB in 39 packages 02:51:05 Removing intermediate container 2a3e10471e4c 02:51:05 ---> 4114c3c41d42 02:51:05 Step 8/24 : COPY . . 02:51:07 ---> dd100bce9051 02:51:07 Step 9/24 : RUN ${MAKE} 02:51:07 ---> Running in d89772c7701b 02:51:08 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 02:51:35 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:51:35 Removing intermediate container d89772c7701b 02:51:35 ---> c04862b935fc 02:51:35 Step 10/24 : FROM scratch 02:51:35 ---> 02:51:35 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:51:35 ---> Running in 106bd565144c 02:51:35 Removing intermediate container 106bd565144c 02:51:35 ---> 7c4c0c0c44cd 02:51:35 Step 12/24 : ENV APP_PORT=49990 02:51:35 ---> Running in c1f2bb11d1a3 02:51:35 Removing intermediate container c1f2bb11d1a3 02:51:35 ---> df94b9863bcb 02:51:35 Step 13/24 : EXPOSE $APP_PORT 02:51:36 ---> Running in ea3c346d998a 02:51:36 Removing intermediate container ea3c346d998a 02:51:36 ---> 28a9b987a200 02:51:36 Step 14/24 : WORKDIR / 02:51:36 ---> Running in 51fe56769054 02:51:36 Removing intermediate container 51fe56769054 02:51:36 ---> a60c21ca860d 02:51:36 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:51:38 ---> eb3de285b763 02:51:38 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:51:39 ---> 5f8d35124265 02:51:39 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:51:39 ---> f2d357a4d2c3 02:51:39 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:51:40 ---> 12b2db382b32 02:51:40 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:51:41 ---> 3a246f17974a 02:51:41 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:51:41 ---> Running in 94e180ec790b 02:51:41 Removing intermediate container 94e180ec790b 02:51:41 ---> 0b97b4119fd5 02:51:41 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:51:42 ---> Running in e03e4e1aafc7 02:51:42 Removing intermediate container e03e4e1aafc7 02:51:42 ---> 2e30e66dde4a 02:51:42 Step 22/24 : LABEL arch=arm64 02:51:42 ---> Running in ae136367ced5 02:51:42 Removing intermediate container ae136367ced5 02:51:42 ---> 8e8df636e9d3 02:51:42 Step 23/24 : LABEL git_sha=3a27b84ade197c4d5a4a25e8bb72f8662eff6c21 02:51:43 ---> Running in e0f1bbe30f53 02:51:43 Removing intermediate container e0f1bbe30f53 02:51:43 ---> cb2ee3519531 02:51:43 Step 24/24 : LABEL version=0.0.0 02:51:43 ---> Running in f01884ea266b 02:51:44 Removing intermediate container f01884ea266b 02:51:44 ---> d766dc77aa20 02:51:44 [Warning] One or more build-args [ARCH] were not consumed 02:51:44 Successfully built d766dc77aa20 02:51:44 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] 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] wrap 02:51:46 provisioning config files... 02:51:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config5518957993672312073tmp [Pipeline] { [Pipeline] sh 02:51:46 + set +x 02:51:46 + curl -s https://codecov.io/bash 02:51:46 + bash -s -- 02:51:46 02:51:46 _____ _ 02:51:46 / ____| | | 02:51:46 | | ___ __| | ___ ___ _____ __ 02:51:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:46 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:46 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:46 Bash-20201009-048fee3 02:51:46 02:51:46 02:51:46 ==> Jenkins CI detected. 02:51:46 project root: . 02:51:46 Fixing merge commit SHA 02:51:46 --> token set from env 02:51:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:46 ==> Running gcov in . (disable via -X gcov) 02:51:46 ==> Python coveragepy not found 02:51:46 ==> Searching for coverage reports in: 02:51:46 + . 02:51:46 -> Found 1 reports 02:51:46 ==> Detecting git/mercurial file structure 02:51:46 ==> Reading reports 02:51:46 + ./coverage.out bytes=110396 02:51:46 ==> Appending adjustments 02:51:46 https://docs.codecov.io/docs/fixing-reports 02:51:47 + Found adjustments 02:51:47 ==> Gzipping contents 02:51:47 ==> Uploading reports 02:51:47 url: https://codecov.io 02:51:47 query: branch=PR-582&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:51:47 -> Pinging Codecov 02:51:47 https://codecov.io/upload/v4?package=bash-20201009-048fee3&token=secret&branch=PR-582&commit=abee7d5846637e135dd277469e99a0143c7ff265&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-582%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=582&job=&cmd_args= 02:51:47 -> Uploading to 02:51:47 02:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:47 Dload Upload Total Spent Left Speed 02:51:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: ; Unknown error 02:51:47 X> Failed to upload 02:51:47 ==> Uploading to Codecov 02:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:47 Dload Upload Total Spent Left Speed 02:51:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 99 18990 0 0 100 18880 0 34907 --:--:-- --:--:-- --:--:-- 34898 100 18990 100 110 100 18880 203 34893 --:--:-- --:--:-- --:--:-- 34898 02:51:48 View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abee7d5846637e135dd277469e99a0143c7ff265 [Pipeline] } 02:51:48 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair 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 02:51:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> package-listing.sh 02:51:51 ++ facter osfamily 02:51:51 ++ tr '[:upper:]' '[:lower:]' 02:51:51 + OS_FAMILY=redhat 02:51:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-582 02:51:51 + START_PACKAGES=/tmp/packages_start.txt 02:51:51 + END_PACKAGES=/tmp/packages_end.txt 02:51:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:51:51 + PACKAGES=/tmp/packages_start.txt 02:51:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:51:51 + PACKAGES=/tmp/packages_end.txt 02:51:51 + case "${OS_FAMILY}" in 02:51:51 + rpm -qa 02:51:51 + sort 02:51:55 + '[' -f /tmp/packages_start.txt ']' 02:51:55 + '[' -f /tmp/packages_end.txt ']' 02:51:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:51:55 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-582 ']' 02:51:55 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ 02:51:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-582/archives/ [Pipeline] echo 02:51:55 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-582/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:51:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:51:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:55 02:51:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:51:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:51:56 alpine: Pulling from edgex-lftools-log-publisher 02:51:56 df20fa9351a1: Pulling fs layer 02:51:56 36b3adc4ff6f: Pulling fs layer 02:51:56 8ad3a11d3b57: Pulling fs layer 02:51:56 46f8f816bc3b: Pulling fs layer 02:51:56 93b61091891f: Pulling fs layer 02:51:56 93b9cdb0e59b: Pulling fs layer 02:51:56 5e14af77c1be: Pulling fs layer 02:51:56 01666e4c0597: Pulling fs layer 02:51:56 aa168da1d23b: Pulling fs layer 02:51:56 46f8f816bc3b: Waiting 02:51:56 93b61091891f: Waiting 02:51:56 93b9cdb0e59b: Waiting 02:51:56 5e14af77c1be: Waiting 02:51:56 01666e4c0597: Waiting 02:51:56 aa168da1d23b: Waiting 02:51:56 36b3adc4ff6f: Verifying Checksum 02:51:56 36b3adc4ff6f: Download complete 02:51:56 46f8f816bc3b: Download complete 02:51:56 df20fa9351a1: Download complete 02:51:56 93b9cdb0e59b: Download complete 02:51:56 5e14af77c1be: Verifying Checksum 02:51:56 5e14af77c1be: Download complete 02:51:56 93b61091891f: Download complete 02:51:56 01666e4c0597: Verifying Checksum 02:51:56 01666e4c0597: Download complete 02:51:56 8ad3a11d3b57: Verifying Checksum 02:51:56 8ad3a11d3b57: Download complete 02:51:56 df20fa9351a1: Pull complete 02:51:57 36b3adc4ff6f: Pull complete 02:51:58 8ad3a11d3b57: Pull complete 02:51:58 46f8f816bc3b: Pull complete 02:51:58 93b61091891f: Pull complete 02:51:58 93b9cdb0e59b: Pull complete 02:51:58 aa168da1d23b: Verifying Checksum 02:51:58 aa168da1d23b: Download complete 02:51:58 5e14af77c1be: Pull complete 02:51:58 01666e4c0597: Pull complete 02:52:05 aa168da1d23b: Pull complete 02:52:05 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:52:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:52:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:52:05 prd-centos7-docker-4c-2g-5745 does not seem to be running inside a container 02:52:05 $ 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-582/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-582 -v /w/workspace/dgexfoundry_device-sdk-go_PR-582:/w/workspace/dgexfoundry_device-sdk-go_PR-582:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:52:12 $ docker top ea0416505a232478c7535ecc10b6843f1b2672659550c24bcbb4be238363c657 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:12 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:13 + mkdir -p /var/log/sa [Pipeline] sh 02:52:13 + ls /var/log/sa-host 02:52:13 + sadf -c /var/log/sa-host/sa05 02:52:13 file_magic: OK 02:52:13 HZ: Using current value: 100 02:52:13 file_header: OK 02:52:13 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 02:52:13 Statistics: 02:52:13 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:13 File successfully converted to sysstat format version 12.2.1 02:52:13 + sadf -c /var/log/sa-host/sa16 02:52:13 file_magic: OK 02:52:13 HZ: Using current value: 100 02:52:13 file_header: OK 02:52:13 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 02:52:13 Statistics: 02:52:13 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:52:13 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:13 provisioning config files... 02:52:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-582@tmp/config7731179673356902129tmp [Pipeline] { [Pipeline] echo 02:52:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:14 ---> create-netrc.sh [Pipeline] } 02:52:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:52:14 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:52:14 ---> python-tools-install.sh [Pipeline] echo 02:52:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:15 ---> sudo-logs.sh 02:52:15 Archiving 'sudo' log.. [Pipeline] echo 02:52:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:15 ---> job-cost.sh 02:52:15 lf-activate-venv: SKIPPING 02:52:15 INFO: No Stack... 02:52:16 INFO: Retrieving Pricing Info for: v1-standard-2 02:52:16 INFO: Archiving Costs [Pipeline] echo 02:52:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:17 ---> logs-deploy.sh 02:52:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-582/21 02:52:17 INFO: archiving workspace using pattern(s): 02:52:19 Archives upload complete. 02:52:19 INFO: archiving logs to Nexus