Pull request #607 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/app-functions-sdk-go Obtained Jenkinsfile from 08a139a27e8ac7517fc6dc12213816def4ca0176+c9ed7d50ea1ae9051570182c8cb685d3221d57d1 (a8786d936d1a3996ddae3441dd5f4160fad3b38a) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-607/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-functions-sdk-go/branches/PR-607/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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:app-functions-sdk-go, semver:true, testScript:make test, buildImage:false, publishSwaggerDocs:true, swaggerApiFolders:[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: app-functions-sdk-go-settings PROJECT: app-functions-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-app-functions-sdk-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: false 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: false SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Running on prd-centos7-docker-4c-2g-16434 in /w/workspace/ndry_app-functions-sdk-go_PR-607 [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/app-functions-sdk-go.git > git init /w/workspace/ndry_app-functions-sdk-go_PR-607 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-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/app-functions-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 08a139a27e8ac7517fc6dc12213816def4ca0176 Merge succeeded, producing 08a139a27e8ac7517fc6dc12213816def4ca0176 Checking out Revision 08a139a27e8ac7517fc6dc12213816def4ca0176 (PR-607) > git config core.sparsecheckout # timeout=10 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # 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 c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # timeout=10 Commit message: "feat: Remove MarkAsPushed feature" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.3' fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:33:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:33:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:33:58 ========================================================= 00:33:58 EdgeX Global Pipelines Version Info 00:33:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:33:59 ------------------- 00:33:59 stable info: 00:33:59 ------------------- 00:33:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:33:59 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:33:59 Message: update stable to v1.0.173 00:34:00 ------------------- 00:34:00 experimental info: 00:34:00 ------------------- 00:34:00 Commited By: **** collab-it+edgex@linuxfoundation.org 00:34:00 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:34:00 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:34:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 00:34:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:34:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:34:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-607 [Pipeline] echo 00:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-607 [Pipeline] echo 00:34:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-607 [Pipeline] echo 00:34:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08a139a27e8ac7517fc6dc12213816def4ca0176 [Pipeline] echo 00:34:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08a139a [Pipeline] echo 00:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:06 + git log --format=format:%s -1 08a139a27e8ac7517fc6dc12213816def4ca0176 [Pipeline] echo 00:34:06 GIT_COMMIT: 08a139a27e8ac7517fc6dc12213816def4ca0176, Commit Message: feat: Remove MarkAsPushed feature [Pipeline] echo 00:34:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:34:07 00:34:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:34:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:34:07 latest: Pulling from edgex-devops/git-semver 00:34:07 31603596830f: Pulling fs layer 00:34:07 2a8b12db71e7: Pulling fs layer 00:34:07 6ca5941a6612: Pulling fs layer 00:34:07 ecc8261a40a4: Pulling fs layer 00:34:07 ecc8261a40a4: Waiting 00:34:07 2a8b12db71e7: Verifying Checksum 00:34:07 2a8b12db71e7: Download complete 00:34:08 31603596830f: Verifying Checksum 00:34:08 31603596830f: Download complete 00:34:08 ecc8261a40a4: Verifying Checksum 00:34:08 ecc8261a40a4: Download complete 00:34:08 6ca5941a6612: Verifying Checksum 00:34:08 6ca5941a6612: Download complete 00:34:08 31603596830f: Pull complete 00:34:08 2a8b12db71e7: Pull complete 00:34:09 6ca5941a6612: Pull complete 00:34:09 ecc8261a40a4: Pull complete 00:34:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:34:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:34:10 prd-centos7-docker-4c-2g-16434 does not seem to be running inside a container 00:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-607 -v /w/workspace/ndry_app-functions-sdk-go_PR-607:/w/workspace/ndry_app-functions-sdk-go_PR-607:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-607@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-607@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:34:12 $ docker top ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:34:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:12 [ssh-agent] Looking for ssh-agent implementation... 00:34:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:13 $ docker exec ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 ssh-agent 00:34:13 SSH_AUTH_SOCK=/tmp/ssh-he8hG0ylR38a/agent.11 00:34:13 SSH_AGENT_PID=17 00:34:13 Running ssh-add (command line suppressed) 00:34:13 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-607@tmp/private_key_5449275665778879379.key (/w/workspace/ndry_app-functions-sdk-go_PR-607@tmp/private_key_5449275665778879379.key) 00:34:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:13 + git tag --points-at HEAD [Pipeline] } 00:34:13 $ docker exec --env ******** --env ******** ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 ssh-agent -k 00:34:14 unset SSH_AUTH_SOCK; 00:34:14 unset SSH_AGENT_PID; 00:34:14 echo Agent pid 17 killed; 00:34:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:34:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:34:14 [ssh-agent] Looking for ssh-agent implementation... 00:34:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:34:14 $ docker exec ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 ssh-agent 00:34:14 SSH_AUTH_SOCK=/tmp/ssh-njlFG6dDLM1i/agent.46 00:34:14 SSH_AGENT_PID=51 00:34:14 Running ssh-add (command line suppressed) 00:34:14 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-607@tmp/private_key_7507059084636666605.key (/w/workspace/ndry_app-functions-sdk-go_PR-607@tmp/private_key_7507059084636666605.key) 00:34:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:34:15 + git semver init 00:34:15 # -> Open(): unable to determine branch for HEAD 00:34:15 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-607/.git 00:34:15 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-607 00:34:15 # $SEMVER_REMOTE_NAME = origin 00:34:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:34:15 # $SEMVER_USER_NAME = edgex-jenkins 00:34:15 # $SEMVER_BRANCH = PR-607 00:34:15 # $SEMVER_TEMP = /tmp/semver-765134589 00:34:15 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 00:34:18 # '/tmp/semver-765134589' -> '/w/workspace/ndry_app-functions-sdk-go_PR-607/.semver' 00:34:18 # -> Force: false 00:34:18 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-607/.semver [Pipeline] } 00:34:18 $ docker exec --env ******** --env ******** ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 ssh-agent -k 00:34:18 unset SSH_AUTH_SOCK; 00:34:18 unset SSH_AGENT_PID; 00:34:18 echo Agent pid 51 killed; 00:34:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:34:19 + git semver [Pipeline] } 00:34:19 $ docker stop --time=1 ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 00:34:21 $ docker rm -f ea283c4a69fc70c6957c45093401d36bcb42fda9745b1f1b3d77a9206e182ee5 [Pipeline] // withDockerContainer [Pipeline] sh 00:34:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:34:22 Stashed 1 file(s) [Pipeline] echo 00:34:22 [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 00:34:38 Still waiting to schedule task 00:34:38 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:34:38 Still waiting to schedule task 00:34:38 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 00:37:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16438 in /w/workspace/ndry_app-functions-sdk-go_PR-607 [Pipeline] { [Pipeline] ws 00:37:27 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:37:32 using credential edgex-jenkins-ssh 00:37:32 Cloning the remote Git repository 00:37:32 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:37:32 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:37:32 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:37:32 > git --version # timeout=10 00:37:32 > git --version # 'git version 2.17.1' 00:37:32 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:37:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:37:35 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:37:35 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:37:35 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:37:36 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 08a139a27e8ac7517fc6dc12213816def4ca0176 00:37:36 Merge succeeded, producing 08a139a27e8ac7517fc6dc12213816def4ca0176 00:37:36 Checking out Revision 08a139a27e8ac7517fc6dc12213816def4ca0176 (PR-607) 00:37:36 > git config core.sparsecheckout # timeout=10 00:37:36 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # timeout=10 00:37:36 > git remote # timeout=10 00:37:36 > git config --get remote.origin.url # timeout=10 00:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 00:37:36 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 00:37:36 > git rev-parse HEAD^{commit} # timeout=10 00:37:36 > git config core.sparsecheckout # timeout=10 00:37:36 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # timeout=10 00:37:41 Commit message: "feat: Remove MarkAsPushed feature" 00:37:41 > git --version # timeout=10 00:37:41 > git --version # 'git version 2.17.1' 00:37:41 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:37:43 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:37:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:37:44 + true 00:37:44 + sudo service docker restart [Pipeline] unstash [Pipeline] echo 00:37:47 ========================================================= 00:37:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:37:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:37:47 + 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 . 00:37:48 Sending build context to Docker daemon 19.21MB 00:37:48 Step 1/8 : ARG BASE=golang:1.15-alpine 00:37:48 Step 2/8 : FROM ${BASE} 00:37:49 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:37:49 5f621e34cdf4: Pulling fs layer 00:37:49 a4357932f1b6: Pulling fs layer 00:37:49 18c013af1878: Pulling fs layer 00:37:49 00ac8860ef70: Pulling fs layer 00:37:49 63d7cb157983: Pulling fs layer 00:37:49 b116817d02f9: Pulling fs layer 00:37:49 745a02a5169b: Pulling fs layer 00:37:49 00ac8860ef70: Waiting 00:37:49 63d7cb157983: Waiting 00:37:49 b116817d02f9: Waiting 00:37:49 745a02a5169b: Waiting 00:37:49 18c013af1878: Verifying Checksum 00:37:49 18c013af1878: Download complete 00:37:49 a4357932f1b6: Verifying Checksum 00:37:49 a4357932f1b6: Download complete 00:37:49 63d7cb157983: Verifying Checksum 00:37:49 63d7cb157983: Download complete 00:37:49 b116817d02f9: Verifying Checksum 00:37:49 b116817d02f9: Download complete 00:37:49 5f621e34cdf4: Verifying Checksum 00:37:49 5f621e34cdf4: Download complete 00:37:49 5f621e34cdf4: Pull complete 00:37:50 a4357932f1b6: Pull complete 00:37:50 18c013af1878: Pull complete 00:37:52 745a02a5169b: Verifying Checksum 00:37:52 745a02a5169b: Download complete 00:37:53 00ac8860ef70: Verifying Checksum 00:37:53 00ac8860ef70: Download complete 00:38:03 00ac8860ef70: Pull complete 00:38:03 63d7cb157983: Pull complete 00:38:03 b116817d02f9: Pull complete 00:38:08 745a02a5169b: Pull complete 00:38:08 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:38:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:38:08 ---> b7e6874047d6 00:38:08 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:38:08 latest: Pulling from library/docker 00:38:08 a3cc7d3b244e: Pulling fs layer 00:38:08 02a3295e0d61: Pulling fs layer 00:38:08 0f4f2e6d8100: Pulling fs layer 00:38:08 065c9533d613: Pulling fs layer 00:38:08 9fce0df16b8b: Pulling fs layer 00:38:08 e3faa53604c1: Pulling fs layer 00:38:08 04b5adaa2053: Pulling fs layer 00:38:08 065c9533d613: Waiting 00:38:08 e3faa53604c1: Waiting 00:38:08 9fce0df16b8b: Waiting 00:38:08 04b5adaa2053: Waiting 00:38:08 0f4f2e6d8100: Verifying Checksum 00:38:08 0f4f2e6d8100: Download complete 00:38:08 a3cc7d3b244e: Verifying Checksum 00:38:08 a3cc7d3b244e: Download complete 00:38:08 02a3295e0d61: Verifying Checksum 00:38:08 02a3295e0d61: Download complete 00:38:08 9fce0df16b8b: Download complete 00:38:08 e3faa53604c1: Download complete 00:38:08 04b5adaa2053: Verifying Checksum 00:38:08 04b5adaa2053: Download complete 00:38:09 a3cc7d3b244e: Pull complete 00:38:09 02a3295e0d61: Pull complete 00:38:09 0f4f2e6d8100: Pull complete 00:38:10 065c9533d613: Verifying Checksum 00:38:10 065c9533d613: Download complete 00:38:14 065c9533d613: Pull complete 00:38:14 9fce0df16b8b: Pull complete 00:38:14 e3faa53604c1: Pull complete 00:38:14 04b5adaa2053: Pull complete 00:38:14 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 00:38:14 Status: Downloaded newer image for docker:latest 00:38:21 ---> 6c912e7535c9 00:38:21 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:38:21 ---> Running in e1b3b391b3bc 00:38:21 Removing intermediate container e1b3b391b3bc 00:38:21 ---> 273f66865de9 00:38:21 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:38:22 ---> Running in e97d8e811d74 00:38:23 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:38:24 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:38:25 (1/5) Installing libsodium (1.0.18-r0) 00:38:26 (2/5) Installing libzmq (4.3.3-r0) 00:38:26 (3/5) Installing pkgconf (1.7.2-r0) 00:38:26 (4/5) Installing libsodium-dev (1.0.18-r0) 00:38:27 (5/5) Installing zeromq-dev (4.3.3-r0) 00:38:27 Executing busybox-1.31.1-r19.trigger 00:38:27 OK: 144 MiB in 44 packages 00:38:28 Removing intermediate container e97d8e811d74 00:38:28 ---> caefd8750faf 00:38:28 Step 6/8 : WORKDIR /build 00:38:28 ---> Running in 697cf58d342f 00:38:29 Removing intermediate container 697cf58d342f 00:38:29 ---> c225d796cc91 00:38:29 Step 7/8 : COPY go.mod . 00:38:29 ---> dfe4362a71d2 00:38:29 Step 8/8 : RUN go mod download 00:38:29 ---> Running in 7271cf8e72ac 00:38:47 Running on prd-centos7-docker-4c-2g-16439 in /w/workspace/ndry_app-functions-sdk-go_PR-607 [Pipeline] { [Pipeline] ws 00:38:47 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:38:50 using credential edgex-jenkins-ssh 00:38:50 Cloning the remote Git repository 00:38:50 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 00:38:50 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 00:38:50 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:38:50 > git --version # timeout=10 00:38:50 > git --version # 'git version 2.24.3' 00:38:50 using GIT_SSH to set credentials SSH Credentials for GitHub 00:38:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:38:52 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:38:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:38:52 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 00:38:52 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 00:38:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:38:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:38:52 Merging remotes/origin/master commit c9ed7d50ea1ae9051570182c8cb685d3221d57d1 into PR head commit 08a139a27e8ac7517fc6dc12213816def4ca0176 00:38:52 Merge succeeded, producing 08a139a27e8ac7517fc6dc12213816def4ca0176 00:38:52 Checking out Revision 08a139a27e8ac7517fc6dc12213816def4ca0176 (PR-607) 00:38:52 > git config core.sparsecheckout # timeout=10 00:38:52 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # timeout=10 00:38:52 > git remote # timeout=10 00:38:52 > git config --get remote.origin.url # timeout=10 00:38:52 using GIT_SSH to set credentials SSH Credentials for GitHub 00:38:52 > git merge c9ed7d50ea1ae9051570182c8cb685d3221d57d1 # timeout=10 00:38:52 > git rev-parse HEAD^{commit} # timeout=10 00:38:52 > git config core.sparsecheckout # timeout=10 00:38:52 > git checkout -f 08a139a27e8ac7517fc6dc12213816def4ca0176 # timeout=10 00:38:56 Commit message: "feat: Remove MarkAsPushed feature" 00:38:56 > git --version # timeout=10 00:38:56 > git --version # 'git version 2.24.3' 00:38:56 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:38:56 Removing intermediate container 7271cf8e72ac 00:38:56 ---> 37e7f5420651 00:38:56 Successfully built 37e7f5420651 00:38:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { 00:38:57 + docker inspect -f . ci-base-image-arm64 00:38:57 . [Pipeline] withDockerContainer 00:38:57 prd-ubuntu18.04-docker-arm64-4c-16g-16438 does not seem to be running inside a container 00:38:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:38:59 $ docker top be5f83dd38f079c03214c9f9cc8d53d53c17181aa1a83641f43aec73c8668949 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:39:00 + go version 00:39:00 go version go1.15.5 linux/arm64 [Pipeline] } 00:39:00 $ docker stop --time=1 be5f83dd38f079c03214c9f9cc8d53d53c17181aa1a83641f43aec73c8668949 00:39:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json 00:39:02 $ docker rm -f be5f83dd38f079c03214c9f9cc8d53d53c17181aa1a83641f43aec73c8668949 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // stage 00:39:03 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix 00:39:03 + sudo service docker restart 00:39:03 + true 00:39:03 Redirecting to /bin/systemctl restart docker.service [Pipeline] sh 00:39:03 + docker inspect -f . ci-base-image-arm64 00:39:03 . [Pipeline] withDockerContainer 00:39:04 prd-ubuntu18.04-docker-arm64-4c-16g-16438 does not seem to be running inside a container 00:39:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:39:05 $ docker top 1b79501d61d3fe66ba26f7183e16aa75b40706695e4fa7e4eb296c80b00a7187 -eo pid,comm [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] echo 00:39:06 ========================================================= 00:39:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:39:06 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:39:06 + 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 . 00:39:06 + make test 00:39:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:39:07 Sending build context to Docker daemon 19.21MB 00:39:07 Step 1/8 : ARG BASE=golang:1.15-alpine 00:39:07 Step 2/8 : FROM ${BASE} 00:39:07 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:39:07 188c0c94c7c5: Pulling fs layer 00:39:07 0ef7d3d256c8: Pulling fs layer 00:39:07 de9db76c5a1d: Pulling fs layer 00:39:07 bca2f99d35d6: Pulling fs layer 00:39:07 93359f2a8cfa: Pulling fs layer 00:39:07 7c6f9722023f: Pulling fs layer 00:39:07 a35cf1a2eb13: Pulling fs layer 00:39:07 93359f2a8cfa: Waiting 00:39:07 7c6f9722023f: Waiting 00:39:07 a35cf1a2eb13: Waiting 00:39:07 bca2f99d35d6: Waiting 00:39:07 de9db76c5a1d: Verifying Checksum 00:39:07 de9db76c5a1d: Download complete 00:39:07 0ef7d3d256c8: Verifying Checksum 00:39:07 0ef7d3d256c8: Download complete 00:39:07 93359f2a8cfa: Verifying Checksum 00:39:07 93359f2a8cfa: Download complete 00:39:07 7c6f9722023f: Verifying Checksum 00:39:07 7c6f9722023f: Download complete 00:39:07 188c0c94c7c5: Verifying Checksum 00:39:07 188c0c94c7c5: Download complete 00:39:07 188c0c94c7c5: Pull complete 00:39:08 0ef7d3d256c8: Pull complete 00:39:08 de9db76c5a1d: Pull complete 00:39:08 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 00:39:10 a35cf1a2eb13: Verifying Checksum 00:39:10 a35cf1a2eb13: Download complete 00:39:11 bca2f99d35d6: Verifying Checksum 00:39:11 bca2f99d35d6: Download complete 00:39:16 bca2f99d35d6: Pull complete 00:39:16 93359f2a8cfa: Pull complete 00:39:16 7c6f9722023f: Pull complete 00:39:23 a35cf1a2eb13: Pull complete 00:39:23 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:39:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:39:23 ---> a62c8e92a672 00:39:23 Step 3/8 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:39:23 latest: Pulling from library/docker 00:39:23 05e7bc50f07f: Pulling fs layer 00:39:23 6db28d0fdbf6: Pulling fs layer 00:39:23 292df0bc6bf3: Pulling fs layer 00:39:23 a3104fdc50d0: Pulling fs layer 00:39:23 a8e67d69e12c: Pulling fs layer 00:39:23 1ede2b221ee4: Pulling fs layer 00:39:23 fc74c0d5b799: Pulling fs layer 00:39:23 a3104fdc50d0: Waiting 00:39:23 a8e67d69e12c: Waiting 00:39:23 1ede2b221ee4: Waiting 00:39:23 fc74c0d5b799: Waiting 00:39:23 292df0bc6bf3: Verifying Checksum 00:39:23 292df0bc6bf3: Download complete 00:39:23 6db28d0fdbf6: Verifying Checksum 00:39:23 6db28d0fdbf6: Download complete 00:39:23 a8e67d69e12c: Verifying Checksum 00:39:23 a8e67d69e12c: Download complete 00:39:23 05e7bc50f07f: Verifying Checksum 00:39:23 05e7bc50f07f: Download complete 00:39:23 1ede2b221ee4: Verifying Checksum 00:39:23 1ede2b221ee4: Download complete 00:39:23 fc74c0d5b799: Verifying Checksum 00:39:23 fc74c0d5b799: Download complete 00:39:24 05e7bc50f07f: Pull complete 00:39:24 6db28d0fdbf6: Pull complete 00:39:24 292df0bc6bf3: Pull complete 00:39:24 a3104fdc50d0: Verifying Checksum 00:39:24 a3104fdc50d0: Download complete 00:39:28 a3104fdc50d0: Pull complete 00:39:28 a8e67d69e12c: Pull complete 00:39:28 1ede2b221ee4: Pull complete 00:39:28 fc74c0d5b799: Pull complete 00:39:28 Digest: sha256:2150209ece9a657dd6d7572b659b2eace81e78d15289a9e69bd26d0f8098dde0 00:39:28 Status: Downloaded newer image for docker:latest 00:39:30 ---> da1a72ba3c39 00:39:30 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 00:39:30 ---> Running in 28cc7fa41aa0 00:39:30 Removing intermediate container 28cc7fa41aa0 00:39:30 ---> 99cbbed9acb8 00:39:30 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 00:39:30 ---> Running in 169a980b6894 00:39:30 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.031s coverage: 81.0% of statements 00:39:31 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:39:32 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:39:33 (1/5) Installing libsodium (1.0.18-r0) 00:39:33 (2/5) Installing libzmq (4.3.3-r0) 00:39:33 (3/5) Installing pkgconf (1.7.2-r0) 00:39:33 (4/5) Installing libsodium-dev (1.0.18-r0) 00:39:33 (5/5) Installing zeromq-dev (4.3.3-r0) 00:39:33 Executing busybox-1.31.1-r19.trigger 00:39:33 OK: 167 MiB in 44 packages 00:39:34 Removing intermediate container 169a980b6894 00:39:34 ---> 1d8a3590912b 00:39:34 Step 6/8 : WORKDIR /build 00:39:34 ---> Running in 41511487929e 00:39:34 Removing intermediate container 41511487929e 00:39:34 ---> 17c7cafc4cb7 00:39:34 Step 7/8 : COPY go.mod . 00:39:34 ---> 00171b9ed0e3 00:39:34 Step 8/8 : RUN go mod download 00:39:34 ---> Running in dea44496db19 00:39:56 Removing intermediate container dea44496db19 00:39:56 ---> e06657c66171 00:39:56 Successfully built e06657c66171 00:39:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:39:57 + docker inspect -f . ci-base-image-x86_64 00:39:57 . [Pipeline] withDockerContainer 00:39:57 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.060s coverage: 50.3% of statements 00:39:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 00:39:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 00:39:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.096s coverage: 54.7% of statements 00:39:57 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 00:39:57 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.057s coverage: 67.7% of statements 00:39:57 prd-centos7-docker-4c-2g-16439 does not seem to be running inside a container 00:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:39:58 $ docker top 6c593fc1927c778d7fd432b5989ea26aa5dd77bcdc18f2454f794e13fe24db4e -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:59 + go version 00:39:59 go version go1.15.5 linux/amd64 [Pipeline] } 00:39:59 $ docker stop --time=1 6c593fc1927c778d7fd432b5989ea26aa5dd77bcdc18f2454f794e13fe24db4e 00:40:00 $ docker rm -f 6c593fc1927c778d7fd432b5989ea26aa5dd77bcdc18f2454f794e13fe24db4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:40:01 + docker inspect -f . ci-base-image-x86_64 00:40:01 . [Pipeline] withDockerContainer 00:40:01 prd-centos7-docker-4c-2g-16439 does not seem to be running inside a container 00:40:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/1 -v /w/workspace/app-functions-sdk-go/1:/w/workspace/app-functions-sdk-go/1:rw,z -v /w/workspace/app-functions-sdk-go/1@tmp:/w/workspace/app-functions-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:40:02 $ docker top 057a764a1064f5d1ba7c1787d7c66d9ae8f48fd68fb47e4d2baf724ce5cccd9e -eo pid,comm [Pipeline] { [Pipeline] sh 00:40:03 + make test 00:40:03 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:40:04 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.451s coverage: 61.6% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.012s coverage: 89.5% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.013s coverage: 100.0% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.034s coverage: 100.0% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.011s coverage: 100.0% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.012s coverage: 100.0% of statements 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 00:40:07 --- FAIL: TestStoredObject_MarshalJSON (0.00s) 00:40:07 --- FAIL: TestStoredObject_MarshalJSON/Successful_marshalling (0.00s) 00:40:07 storedobject_test.go:136: Return value doesn't match expected. 00:40:07 Expected: {"id":"fb49a277-9edf-4489-a89c-235b365107f7","appServiceKey":"apps","payload":"YnJhbmRvbiB3cm90ZSB0aGlz","retryCount":2,"pipelinePosition":1337,"version":"your","correlationID":"test","eventID":"probably","eventChecksum":"failed :("} 00:40:07 Actual: [123 34 105 100 34 58 34 102 98 52 57 97 50 55 55 45 57 101 100 102 45 52 52 56 57 45 97 56 57 99 45 50 51 53 98 51 54 53 49 48 55 102 55 34 44 34 97 112 112 83 101 114 118 105 99 101 75 101 121 34 58 34 97 112 112 115 34 44 34 112 97 121 108 111 97 100 34 58 34 89 110 74 104 98 109 82 118 98 105 66 51 99 109 57 48 90 83 66 48 97 71 108 122 34 44 34 114 101 116 114 121 67 111 117 110 116 34 58 50 44 34 112 105 112 101 108 105 110 101 80 111 115 105 116 105 111 110 34 58 49 51 51 55 44 34 118 101 114 115 105 111 110 34 58 34 121 111 117 114 34 44 34 99 111 114 114 101 108 97 116 105 111 110 73 68 34 58 34 116 101 115 116 34 125] 00:40:07 FAIL 00:40:07 coverage: 97.0% of statements 00:40:07 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.010s 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.025s coverage: 8.8% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.935s coverage: 75.0% of statements 00:40:07 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.036s coverage: 89.7% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.024s coverage: 88.9% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.035s coverage: 80.5% of statements 00:40:07 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.021s coverage: 71.7% of statements 00:40:12 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.020s coverage: 81.0% of statements 00:40:23 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 3.065s coverage: 50.3% of statements 00:40:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 00:40:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 00:40:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.027s coverage: 54.7% of statements 00:40:23 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 00:40:23 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.022s coverage: 67.7% of statements 00:40:34 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.075s coverage: 81.4% of statements 00:40:34 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.012s coverage: 94.4% of statements 00:40:34 FAIL 00:40:34 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:40:34 $ docker stop --time=1 1b79501d61d3fe66ba26f7183e16aa75b40706695e4fa7e4eb296c80b00a7187 00:40:36 $ docker rm -f 1b79501d61d3fe66ba26f7183e16aa75b40706695e4fa7e4eb296c80b00a7187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security 15.428s coverage: 61.6% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader 0.007s coverage: 89.5% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/authtokenloader/mocks 0.006s coverage: 100.0% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/client 7.014s coverage: 100.0% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer 0.005s coverage: 100.0% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/security/fileioperformer/mocks 0.006s coverage: 100.0% of statements 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/security/mock [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 00:40:38 --- FAIL: TestStoredObject_MarshalJSON (0.00s) 00:40:38 --- FAIL: TestStoredObject_MarshalJSON/Successful_marshalling (0.00s) 00:40:38 storedobject_test.go:136: Return value doesn't match expected. 00:40:38 Expected: {"id":"fb49a277-9edf-4489-a89c-235b365107f7","appServiceKey":"apps","payload":"YnJhbmRvbiB3cm90ZSB0aGlz","retryCount":2,"pipelinePosition":1337,"version":"your","correlationID":"test","eventID":"probably","eventChecksum":"failed :("} 00:40:38 Actual: [123 34 105 100 34 58 34 102 98 52 57 97 50 55 55 45 57 101 100 102 45 52 52 56 57 45 97 56 57 99 45 50 51 53 98 51 54 53 49 48 55 102 55 34 44 34 97 112 112 83 101 114 118 105 99 101 75 101 121 34 58 34 97 112 112 115 34 44 34 112 97 121 108 111 97 100 34 58 34 89 110 74 104 98 109 82 118 98 105 66 51 99 109 57 48 90 83 66 48 97 71 108 122 34 44 34 114 101 116 114 121 67 111 117 110 116 34 58 50 44 34 112 105 112 101 108 105 110 101 80 111 115 105 116 105 111 110 34 58 49 51 51 55 44 34 118 101 114 115 105 111 110 34 58 34 121 111 117 114 34 44 34 99 111 114 114 101 108 97 116 105 111 110 73 68 34 58 34 116 101 115 116 34 125] 00:40:38 FAIL 00:40:38 coverage: 97.0% of statements 00:40:38 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.005s 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.010s coverage: 8.8% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.927s coverage: 75.0% of statements 00:40:38 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.013s coverage: 89.7% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/dtos/requests 0.010s coverage: 88.9% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s coverage: 80.5% of statements 00:40:38 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.007s coverage: 71.7% of statements [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:39 Failed in branch arm64 00:40:52 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.036s coverage: 81.4% of statements 00:40:52 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 00:40:52 FAIL 00:40:52 make: *** [Makefile:6: test] Error 1 [Pipeline] } 00:40:53 $ docker stop --time=1 057a764a1064f5d1ba7c1787d7c66d9ae8f48fd68fb47e4d2baf724ce5cccd9e 00:40:54 $ docker rm -f 057a764a1064f5d1ba7c1787d7c66d9ae8f48fd68fb47e4d2baf724ce5cccd9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:40:57 Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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 00:41:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:41:02 ---> package-listing.sh 00:41:02 ++ facter osfamily 00:41:02 ++ tr '[:upper:]' '[:lower:]' 00:41:02 + OS_FAMILY=redhat 00:41:02 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-607 00:41:02 + START_PACKAGES=/tmp/packages_start.txt 00:41:02 + END_PACKAGES=/tmp/packages_end.txt 00:41:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:41:02 + PACKAGES=/tmp/packages_start.txt 00:41:02 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-607 ']' 00:41:02 + PACKAGES=/tmp/packages_end.txt 00:41:02 + case "${OS_FAMILY}" in 00:41:02 + rpm -qa 00:41:02 + sort 00:41:07 + '[' -f /tmp/packages_start.txt ']' 00:41:07 + '[' -f /tmp/packages_end.txt ']' 00:41:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:41:07 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-607 ']' 00:41:07 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-607/archives/ 00:41:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-607/archives/ [Pipeline] echo 00:41:07 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/ndry_app-functions-sdk-go_PR-607/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:41:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:41:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:41:08 00:41:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:41:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:41:08 alpine: Pulling from edgex-lftools-log-publisher 00:41:08 df20fa9351a1: Pulling fs layer 00:41:08 36b3adc4ff6f: Pulling fs layer 00:41:08 8ad3a11d3b57: Pulling fs layer 00:41:08 46f8f816bc3b: Pulling fs layer 00:41:08 93b61091891f: Pulling fs layer 00:41:08 93b9cdb0e59b: Pulling fs layer 00:41:08 5e14af77c1be: Pulling fs layer 00:41:08 01666e4c0597: Pulling fs layer 00:41:08 aa168da1d23b: Pulling fs layer 00:41:08 46f8f816bc3b: Waiting 00:41:08 93b61091891f: Waiting 00:41:08 93b9cdb0e59b: Waiting 00:41:08 5e14af77c1be: Waiting 00:41:08 01666e4c0597: Waiting 00:41:08 aa168da1d23b: Waiting 00:41:08 36b3adc4ff6f: Download complete 00:41:08 46f8f816bc3b: Verifying Checksum 00:41:08 46f8f816bc3b: Download complete 00:41:08 df20fa9351a1: Verifying Checksum 00:41:08 df20fa9351a1: Download complete 00:41:08 93b9cdb0e59b: Verifying Checksum 00:41:08 93b9cdb0e59b: Download complete 00:41:08 5e14af77c1be: Verifying Checksum 00:41:08 5e14af77c1be: Download complete 00:41:08 01666e4c0597: Verifying Checksum 00:41:08 01666e4c0597: Download complete 00:41:08 93b61091891f: Verifying Checksum 00:41:08 93b61091891f: Download complete 00:41:09 8ad3a11d3b57: Verifying Checksum 00:41:09 8ad3a11d3b57: Download complete 00:41:09 df20fa9351a1: Pull complete 00:41:09 36b3adc4ff6f: Pull complete 00:41:09 8ad3a11d3b57: Pull complete 00:41:10 46f8f816bc3b: Pull complete 00:41:10 93b61091891f: Pull complete 00:41:11 93b9cdb0e59b: Pull complete 00:41:11 5e14af77c1be: Pull complete 00:41:11 aa168da1d23b: Verifying Checksum 00:41:11 aa168da1d23b: Download complete 00:41:11 01666e4c0597: Pull complete 00:41:18 aa168da1d23b: Pull complete 00:41:18 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:41:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:41:18 prd-centos7-docker-4c-2g-16434 does not seem to be running inside a container 00:41:18 $ 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/ndry_app-functions-sdk-go_PR-607/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ndry_app-functions-sdk-go_PR-607 -v /w/workspace/ndry_app-functions-sdk-go_PR-607:/w/workspace/ndry_app-functions-sdk-go_PR-607:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-607@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-607@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:41:22 $ docker top c3e626d15c92c0d776e214cf9f039a66f30cbab078bec440cc2a01c1085961ce -eo pid,comm [Pipeline] { [Pipeline] sh 00:41:22 + touch /tmp/pre-build-complete [Pipeline] sh 00:41:23 + mkdir -p /var/log/sa [Pipeline] sh 00:41:23 + ls /var/log/sa-host 00:41:23 + sadf -c /var/log/sa-host/sa17 00:41:23 file_magic: OK 00:41:23 HZ: Using current value: 100 00:41:23 file_header: OK 00:41:23 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 00:41:23 Statistics: 00:41:23 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:41:23 File successfully converted to sysstat format version 12.2.1 00:41:23 + sadf -c /var/log/sa-host/sa23 00:41:23 file_magic: OK 00:41:23 HZ: Using current value: 100 00:41:23 file_header: OK 00:41:23 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 00:41:23 Statistics: 00:41:23 Hnuu...uuuununununu... 00:41:23 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:24 provisioning config files... 00:41:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-607@tmp/config22427973334311526tmp [Pipeline] { [Pipeline] echo 00:41:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:41:25 ---> create-netrc.sh [Pipeline] } 00:41:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:41:25 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:41:25 ---> python-tools-install.sh [Pipeline] echo 00:41:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:41:25 ---> sudo-logs.sh 00:41:25 Archiving 'sudo' log.. [Pipeline] echo 00:41:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:41:26 ---> job-cost.sh 00:41:26 lf-activate-venv: SKIPPING 00:41:26 INFO: No Stack... 00:41:27 INFO: Retrieving Pricing Info for: v1-standard-2 00:41:27 INFO: Archiving Costs [Pipeline] echo 00:41:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:41:28 ---> logs-deploy.sh 00:41:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-607/1 00:41:28 INFO: archiving workspace using pattern(s): 00:41:30 Archives upload complete. 00:41:30 INFO: archiving logs to Nexus