Pull request #605 updated 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 69423581ce303aa7eea4828ea08ee72d2f21bc0b+abee7d5846637e135dd277469e99a0143c7ff265 (4bada0071f6f9eb12e05faa8318c24db6b9d70b4) 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 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 fc09f7fe5f69055b0e322e50b0bb9debbc716db4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f fc09f7fe5f69055b0e322e50b0bb9debbc716db4 # timeout=10 Commit message: "Merge pull request #271 from ernestojeda/documentation-changes" > 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 ‘prd-centos7-docker-4c-2g-3642’ is offline Running on prd-centos7-docker-4c-2g-5572 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [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-605 # 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 > 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/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 69423581ce303aa7eea4828ea08ee72d2f21bc0b Merge succeeded, producing 69423581ce303aa7eea4828ea08ee72d2f21bc0b Checking out Revision 69423581ce303aa7eea4828ea08ee72d2f21bc0b (PR-605) > git config core.sparsecheckout # timeout=10 > git checkout -f 69423581ce303aa7eea4828ea08ee72d2f21bc0b # 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 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 69423581ce303aa7eea4828ea08ee72d2f21bc0b # timeout=10 Commit message: "feat(sdk): implement v2 callback api" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:04:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:04:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git rev-list --no-walk 95570ab8549e72eba36f8e73f2e278e31097aebf # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:04:23 ========================================================= 08:04:23 EdgeX Global Pipelines Version Info 08:04:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:04:24 ------------------- 08:04:24 stable info: 08:04:24 ------------------- 08:04:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:04:24 Commit SHA: fc09f7fe5f69055b0e322e50b0bb9debbc716db4 08:04:24 Message: update stable to v1.0.142 08:04:25 ------------------- 08:04:25 experimental info: 08:04:25 ------------------- 08:04:25 Commited By: **** collab-it+edgex@linuxfoundation.org 08:04:25 Commit SHA: 2f41ad55dd360c8679175c2f18fa26421540ceb6 08:04:25 Message: update experimental to v1.0.143 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:04:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 08:04:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-605 [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-605 [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-605 [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 69423581ce303aa7eea4828ea08ee72d2f21bc0b [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6942358 [Pipeline] echo 08:04:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:04:29 + git log --format=format:%s -1 69423581ce303aa7eea4828ea08ee72d2f21bc0b [Pipeline] echo 08:04:29 GIT_COMMIT: 69423581ce303aa7eea4828ea08ee72d2f21bc0b, Commit Message: feat(sdk): implement v2 callback api [Pipeline] echo 08:04:29 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 08:04:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:04:30 08:04:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:04:31 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:04:31 latest: Pulling from edgex-devops/git-semver 08:04:31 31603596830f: Pulling fs layer 08:04:31 2a8b12db71e7: Pulling fs layer 08:04:31 6ca5941a6612: Pulling fs layer 08:04:31 ecc8261a40a4: Pulling fs layer 08:04:31 ecc8261a40a4: Waiting 08:04:31 2a8b12db71e7: Verifying Checksum 08:04:31 2a8b12db71e7: Download complete 08:04:31 31603596830f: Verifying Checksum 08:04:31 31603596830f: Download complete 08:04:31 6ca5941a6612: Verifying Checksum 08:04:31 6ca5941a6612: Download complete 08:04:31 31603596830f: Pull complete 08:04:31 ecc8261a40a4: Verifying Checksum 08:04:31 ecc8261a40a4: Download complete 08:04:31 2a8b12db71e7: Pull complete 08:04:32 6ca5941a6612: Pull complete 08:04:32 ecc8261a40a4: Pull complete 08:04:32 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 08:04:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:04:32 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:04:32 prd-centos7-docker-4c-2g-5572 does not seem to be running inside a container 08:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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:10004/edgex-devops/git-semver:latest cat 08:04:34 $ docker top c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:04:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:35 [ssh-agent] Looking for ssh-agent implementation... 08:04:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:35 $ docker exec c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 ssh-agent 08:04:35 SSH_AUTH_SOCK=/tmp/ssh-tAsznHweb5oZ/agent.12 08:04:35 SSH_AGENT_PID=17 08:04:35 Running ssh-add (command line suppressed) 08:04:35 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8381049938512833508.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_8381049938512833508.key) 08:04:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:36 + git tag --points-at HEAD [Pipeline] } 08:04:36 $ docker exec --env ******** --env ******** c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 ssh-agent -k 08:04:36 unset SSH_AUTH_SOCK; 08:04:36 unset SSH_AGENT_PID; 08:04:36 echo Agent pid 17 killed; 08:04:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:04:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:04:36 [ssh-agent] Looking for ssh-agent implementation... 08:04:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:04:36 $ docker exec c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 ssh-agent 08:04:36 SSH_AUTH_SOCK=/tmp/ssh-KBgUpoQMFOCb/agent.46 08:04:36 SSH_AGENT_PID=52 08:04:36 Running ssh-add (command line suppressed) 08:04:36 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2518162942071286991.key (/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/private_key_2518162942071286991.key) 08:04:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:04:37 + git semver init 08:04:37 # -> Open(): unable to determine branch for HEAD 08:04:37 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.git 08:04:37 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-605 08:04:37 # $SEMVER_REMOTE_NAME = origin 08:04:37 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:04:37 # $SEMVER_USER_NAME = edgex-jenkins 08:04:37 # $SEMVER_BRANCH = PR-605 08:04:37 # $SEMVER_TEMP = /tmp/semver-447767150 08:04:37 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 08:04:37 # '/tmp/semver-447767150' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver' 08:04:37 # -> Force: false 08:04:37 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-605/.semver [Pipeline] } 08:04:37 $ docker exec --env ******** --env ******** c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 ssh-agent -k 08:04:37 unset SSH_AUTH_SOCK; 08:04:37 unset SSH_AGENT_PID; 08:04:37 echo Agent pid 52 killed; 08:04:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:04:38 + git semver [Pipeline] } 08:04:38 $ docker stop --time=1 c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 08:04:39 $ docker rm -f c10066f100c17f050fa15bc54407a68d0c0ac9bcc714d468eb95356c449974a9 [Pipeline] // withDockerContainer [Pipeline] writeFile [Pipeline] stash 08:04:40 Stashed 1 file(s) [Pipeline] echo 08:04:40 [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 08:04:56 Still waiting to schedule task 08:04:56 Waiting for next available executor on ‘centos7-docker-4c-2g’ 08:04:56 Still waiting to schedule task 08:04:56 ‘prd-ubuntu18.04-docker-arm64-4c-16g-4350’ is offline 08:06:49 Running on prd-centos7-docker-4c-2g-5576 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 08:06:49 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 08:06:51 using credential edgex-jenkins-ssh 08:06:51 Cloning the remote Git repository 08:06:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:06:51 > git init /w/workspace/device-sdk-go/16 # timeout=10 08:06:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:06:52 > git --version # timeout=10 08:06:52 > git --version # 'git version 2.16.5' 08:06:52 using GIT_SSH to set credentials SSH Credentials for GitHub 08:06:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:06:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:06:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:06:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:06:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:06:52 using GIT_SSH to set credentials SSH Credentials for GitHub 08:06:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:06:53 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 69423581ce303aa7eea4828ea08ee72d2f21bc0b [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:06:53 Failed in branch amd64 08:06:53 > git config core.sparsecheckout # timeout=10 08:06:53 > git checkout -f 69423581ce303aa7eea4828ea08ee72d2f21bc0b # timeout=10 08:06:56 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5575 in /w/workspace/dgexfoundry_device-sdk-go_PR-605 [Pipeline] { [Pipeline] ws 08:06:56 Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout 08:07:01 using credential edgex-jenkins-ssh 08:07:01 Cloning the remote Git repository 08:07:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 08:07:02 > git init /w/workspace/device-sdk-go/16 # timeout=10 08:07:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:07:02 > git --version # timeout=10 08:07:02 > git --version # 'git version 2.17.1' 08:07:02 using GIT_SSH to set credentials SSH Credentials for GitHub 08:07:02 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:07:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:07:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:07:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 08:07:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 08:07:03 using GIT_SSH to set credentials SSH Credentials for GitHub 08:07:04 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/605/head:refs/remotes/origin/PR-605 +refs/heads/master:refs/remotes/origin/master # timeout=10 08:07:04 Merging remotes/origin/master commit abee7d5846637e135dd277469e99a0143c7ff265 into PR head commit 69423581ce303aa7eea4828ea08ee72d2f21bc0b [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 08:07:05 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage 08:07:04 > git config core.sparsecheckout # timeout=10 08:07:04 > git checkout -f 69423581ce303aa7eea4828ea08ee72d2f21bc0b # timeout=10 [Pipeline] stage [Pipeline] { (Clair Scan) Stage "Clair Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 08:07:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:07:08 ---> package-listing.sh 08:07:08 ++ facter osfamily 08:07:08 ++ tr '[:upper:]' '[:lower:]' 08:07:08 + OS_FAMILY=redhat 08:07:08 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-605 08:07:08 + START_PACKAGES=/tmp/packages_start.txt 08:07:08 + END_PACKAGES=/tmp/packages_end.txt 08:07:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:07:08 + PACKAGES=/tmp/packages_start.txt 08:07:08 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 08:07:08 + PACKAGES=/tmp/packages_end.txt 08:07:08 + case "${OS_FAMILY}" in 08:07:08 + rpm -qa 08:07:08 + sort 08:07:12 + '[' -f /tmp/packages_start.txt ']' 08:07:12 + '[' -f /tmp/packages_end.txt ']' 08:07:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:07:12 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-605 ']' 08:07:12 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ 08:07:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-605/archives/ [Pipeline] echo 08:07:12 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-605/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:07:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:07:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:13 08:07:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 08:07:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:13 alpine: Pulling from edgex-lftools-log-publisher 08:07:13 df20fa9351a1: Pulling fs layer 08:07:13 36b3adc4ff6f: Pulling fs layer 08:07:13 8ad3a11d3b57: Pulling fs layer 08:07:13 46f8f816bc3b: Pulling fs layer 08:07:13 93b61091891f: Pulling fs layer 08:07:13 93b9cdb0e59b: Pulling fs layer 08:07:13 5e14af77c1be: Pulling fs layer 08:07:13 01666e4c0597: Pulling fs layer 08:07:13 aa168da1d23b: Pulling fs layer 08:07:13 46f8f816bc3b: Waiting 08:07:13 93b61091891f: Waiting 08:07:13 93b9cdb0e59b: Waiting 08:07:13 5e14af77c1be: Waiting 08:07:13 01666e4c0597: Waiting 08:07:13 aa168da1d23b: Waiting 08:07:13 df20fa9351a1: Verifying Checksum 08:07:13 df20fa9351a1: Download complete 08:07:13 46f8f816bc3b: Verifying Checksum 08:07:13 46f8f816bc3b: Download complete 08:07:13 36b3adc4ff6f: Verifying Checksum 08:07:13 36b3adc4ff6f: Download complete 08:07:13 93b9cdb0e59b: Verifying Checksum 08:07:13 93b9cdb0e59b: Download complete 08:07:13 5e14af77c1be: Download complete 08:07:13 8ad3a11d3b57: Verifying Checksum 08:07:13 8ad3a11d3b57: Download complete 08:07:13 93b61091891f: Verifying Checksum 08:07:13 93b61091891f: Download complete 08:07:13 01666e4c0597: Download complete 08:07:14 df20fa9351a1: Pull complete 08:07:14 36b3adc4ff6f: Pull complete 08:07:14 8ad3a11d3b57: Pull complete 08:07:15 46f8f816bc3b: Pull complete 08:07:15 93b61091891f: Pull complete 08:07:15 93b9cdb0e59b: Pull complete 08:07:15 5e14af77c1be: Pull complete 08:07:16 aa168da1d23b: Verifying Checksum 08:07:16 aa168da1d23b: Download complete 08:07:16 01666e4c0597: Pull complete 08:07:22 aa168da1d23b: Pull complete 08:07:22 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 08:07:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 08:07:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 08:07:22 prd-centos7-docker-4c-2g-5572 does not seem to be running inside a container 08:07:22 $ 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-605/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-605 -v /w/workspace/dgexfoundry_device-sdk-go_PR-605:/w/workspace/dgexfoundry_device-sdk-go_PR-605:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-605@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 08:07:28 $ docker top 3a398d37b2d66ad3b38c24302ad03dc342df86e792d25fc8a3828e974e789dda -eo pid,comm [Pipeline] { [Pipeline] sh 08:07:29 + touch /tmp/pre-build-complete [Pipeline] sh 08:07:29 + mkdir -p /var/log/sa [Pipeline] sh 08:07:29 + ls /var/log/sa-host 08:07:29 + sadf -c /var/log/sa-host/sa05 08:07:29 file_magic: OK 08:07:29 HZ: Using current value: 100 08:07:29 file_header: OK 08:07:29 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 08:07:29 Statistics: 08:07:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 08:07:29 File successfully converted to sysstat format version 12.2.1 08:07:29 + sadf -c /var/log/sa-host/sa15 08:07:29 file_magic: OK 08:07:29 HZ: Using current value: 100 08:07:29 file_header: OK 08:07:29 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 08:07:29 Statistics: 08:07:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 08:07:29 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:07:30 provisioning config files... 08:07:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-605@tmp/config1738217737893960822tmp [Pipeline] { [Pipeline] echo 08:07:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:07:30 ---> create-netrc.sh [Pipeline] } 08:07:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 08:07:30 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 08:07:31 ---> python-tools-install.sh [Pipeline] echo 08:07:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:07:31 ---> sudo-logs.sh 08:07:31 Archiving 'sudo' log.. [Pipeline] echo 08:07:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:07:31 ---> job-cost.sh 08:07:31 lf-activate-venv: SKIPPING 08:07:31 INFO: No Stack... 08:07:33 INFO: Retrieving Pricing Info for: v1-standard-2 08:07:34 INFO: Archiving Costs [Pipeline] echo 08:07:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:07:34 ---> logs-deploy.sh 08:07:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-605/16 08:07:34 INFO: archiving workspace using pattern(s): 08:07:35 Archives upload complete. 08:07:35 INFO: archiving logs to Nexus