Branch indexing Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from ae2a2465305723e8696464121b21bd18cf1ff31a+ebc40acbf299067f604c49d7e3628fc69e80ce80 (cd5168d952b21f5c733f0a0322848225ef453c47) 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 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > 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 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 46d8313d362d7075c0f562900eedc504c24ea18a 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 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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: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 Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-26345 in /w/workspace/ndry_app-functions-sdk-go_PR-687 [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-687 # 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/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit ebc40acbf299067f604c49d7e3628fc69e80ce80 into PR head commit ae2a2465305723e8696464121b21bd18cf1ff31a Merge succeeded, producing d6baefca07d2bf3dd09f367f81419c958c436c30 Checking out Revision d6baefca07d2bf3dd09f367f81419c958c436c30 (PR-687) > git config core.sparsecheckout # timeout=10 > git checkout -f ae2a2465305723e8696464121b21bd18cf1ff31a # 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 ebc40acbf299067f604c49d7e3628fc69e80ce80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d6baefca07d2bf3dd09f367f81419c958c436c30 # timeout=10 Commit message: "Merge commit 'ebc40acbf299067f604c49d7e3628fc69e80ce80' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:45:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:45:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:45:55 ========================================================= 23:45:55 EdgeX Global Pipelines Version Info 23:45:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dbbae455a7fb3cfc1fb2034a62e6a439b48d6d29 # timeout=10 23:45:56 ------------------- 23:45:56 stable info: 23:45:56 ------------------- 23:45:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:45:56 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:45:56 Message: update stable to v1.0.179 23:45:57 ------------------- 23:45:57 experimental info: 23:45:57 ------------------- 23:45:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:45:57 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 23:45:57 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:45:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 23:45:57 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 23:45:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:45:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:45:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-687 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-687 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-687 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d6baefca07d2bf3dd09f367f81419c958c436c30 [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d6baefc [Pipeline] echo 23:46:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:01 + git log --format=format:%s -1 d6baefca07d2bf3dd09f367f81419c958c436c30 [Pipeline] echo 23:46:01 GIT_COMMIT: d6baefca07d2bf3dd09f367f81419c958c436c30, Commit Message: Merge commit 'ebc40acbf299067f604c49d7e3628fc69e80ce80' into HEAD [Pipeline] echo 23:46:01 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:46:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:04 23:46:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:46:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:04 latest: Pulling from edgex-devops/git-semver 23:46:04 31603596830f: Pulling fs layer 23:46:04 2a8b12db71e7: Pulling fs layer 23:46:04 6ca5941a6612: Pulling fs layer 23:46:04 ecc8261a40a4: Pulling fs layer 23:46:04 ecc8261a40a4: Waiting 23:46:05 2a8b12db71e7: Download complete 23:46:05 31603596830f: Verifying Checksum 23:46:05 31603596830f: Download complete 23:46:05 ecc8261a40a4: Verifying Checksum 23:46:05 ecc8261a40a4: Download complete 23:46:05 6ca5941a6612: Verifying Checksum 23:46:05 6ca5941a6612: Download complete 23:46:05 31603596830f: Pull complete 23:46:05 2a8b12db71e7: Pull complete 23:46:06 6ca5941a6612: Pull complete 23:46:07 ecc8261a40a4: Pull complete 23:46:07 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 23:46:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:46:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:46:07 prd-centos7-docker-4c-2g-26345 does not seem to be running inside a container 23:46:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-687 -v /w/workspace/ndry_app-functions-sdk-go_PR-687:/w/workspace/ndry_app-functions-sdk-go_PR-687:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-687@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-687@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 23:46:09 $ docker top 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:46:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:09 [ssh-agent] Looking for ssh-agent implementation... 23:46:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:09 $ docker exec 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 ssh-agent 23:46:09 SSH_AUTH_SOCK=/tmp/ssh-gS9Mek5hz4Zd/agent.13 23:46:09 SSH_AGENT_PID=18 23:46:09 Running ssh-add (command line suppressed) 23:46:09 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-687@tmp/private_key_3105742317629919436.key (/w/workspace/ndry_app-functions-sdk-go_PR-687@tmp/private_key_3105742317629919436.key) 23:46:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:10 + git tag --points-at HEAD [Pipeline] } 23:46:10 $ docker exec --env ******** --env ******** 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 ssh-agent -k 23:46:10 unset SSH_AUTH_SOCK; 23:46:10 unset SSH_AGENT_PID; 23:46:10 echo Agent pid 18 killed; 23:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:46:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:46:10 [ssh-agent] Looking for ssh-agent implementation... 23:46:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:46:10 $ docker exec 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 ssh-agent 23:46:11 SSH_AUTH_SOCK=/tmp/ssh-JqI4rfVtGZQu/agent.46 23:46:11 SSH_AGENT_PID=51 23:46:11 Running ssh-add (command line suppressed) 23:46:11 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-687@tmp/private_key_8724944908383969343.key (/w/workspace/ndry_app-functions-sdk-go_PR-687@tmp/private_key_8724944908383969343.key) 23:46:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:46:11 + git semver init 23:46:11 # -> Open(): unable to determine branch for HEAD 23:46:11 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-687/.git 23:46:11 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-687 23:46:11 # $SEMVER_REMOTE_NAME = origin 23:46:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:46:11 # $SEMVER_USER_NAME = edgex-jenkins 23:46:11 # $SEMVER_BRANCH = PR-687 23:46:11 # $SEMVER_TEMP = /tmp/semver-172310424 23:46:11 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 23:46:14 # '/tmp/semver-172310424' -> '/w/workspace/ndry_app-functions-sdk-go_PR-687/.semver' 23:46:14 # -> Force: false 23:46:14 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-687/.semver [Pipeline] } 23:46:14 $ docker exec --env ******** --env ******** 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 ssh-agent -k 23:46:14 unset SSH_AUTH_SOCK; 23:46:14 unset SSH_AGENT_PID; 23:46:14 echo Agent pid 51 killed; 23:46:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:46:15 + git semver [Pipeline] } 23:46:15 $ docker stop --time=1 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 23:46:16 $ docker rm -f 888194403a3dfc110534ed2c0201625ef1b7e3242df45345f83366d346f8def2 [Pipeline] // withDockerContainer [Pipeline] sh 23:46:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:46:17 Stashed 1 file(s) [Pipeline] echo 23:46:17 [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 23:46:33 Still waiting to schedule task 23:46:33 ‘prd-centos7-blackbox-4c-2g-25321’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-26347’ is offline; ‘prd-centos7-docker-4c-2g-26348’ is offline 23:46:33 Still waiting to schedule task 23:46:33 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-26343’ 23:47:33 Running on prd-centos7-docker-4c-2g-26350 in /w/workspace/ndry_app-functions-sdk-go_PR-687 [Pipeline] { [Pipeline] ws 23:47:33 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:47:36 using credential edgex-jenkins-ssh 23:47:36 Cloning the remote Git repository 23:47:36 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:47:37 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 23:47:37 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:47:37 > git --version # timeout=10 23:47:37 > git --version # 'git version 2.24.3' 23:47:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:47:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:38 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:47:38 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:47:38 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:47:39 Merging remotes/origin/master commit ebc40acbf299067f604c49d7e3628fc69e80ce80 into PR head commit ae2a2465305723e8696464121b21bd18cf1ff31a 23:47:39 Merge succeeded, producing f451e283d43540697cb7da357efef71e47634a0c 23:47:39 Checking out Revision f451e283d43540697cb7da357efef71e47634a0c (PR-687) 23:47:39 > git config core.sparsecheckout # timeout=10 23:47:39 > git checkout -f ae2a2465305723e8696464121b21bd18cf1ff31a # timeout=10 23:47:39 > git remote # timeout=10 23:47:39 > git config --get remote.origin.url # timeout=10 23:47:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:39 > git merge ebc40acbf299067f604c49d7e3628fc69e80ce80 # timeout=10 23:47:39 > git rev-parse HEAD^{commit} # timeout=10 23:47:39 > git config core.sparsecheckout # timeout=10 23:47:39 > git checkout -f f451e283d43540697cb7da357efef71e47634a0c # timeout=10 23:47:43 Commit message: "Merge commit 'ebc40acbf299067f604c49d7e3628fc69e80ce80' into HEAD" 23:47:43 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:43 > git rev-list --no-walk dbbae455a7fb3cfc1fb2034a62e6a439b48d6d29 # timeout=10 23:47:44 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 23:47:45 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:47:45 + true 23:47:45 + sudo service docker restart 23:47:45 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash [Pipeline] echo 23:47:47 ========================================================= 23:47:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 23:47:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 23:47:47 + 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 . 23:47:48 Sending build context to Docker daemon 19.15MB 23:47:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:47:48 Step 2/8 : FROM ${BASE} 23:47:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 23:47:48 188c0c94c7c5: Pulling fs layer 23:47:48 0ef7d3d256c8: Pulling fs layer 23:47:48 de9db76c5a1d: Pulling fs layer 23:47:48 bca2f99d35d6: Pulling fs layer 23:47:48 93359f2a8cfa: Pulling fs layer 23:47:48 7c6f9722023f: Pulling fs layer 23:47:48 a35cf1a2eb13: Pulling fs layer 23:47:48 93359f2a8cfa: Waiting 23:47:48 a35cf1a2eb13: Waiting 23:47:48 7c6f9722023f: Waiting 23:47:48 bca2f99d35d6: Waiting 23:47:48 de9db76c5a1d: Verifying Checksum 23:47:48 de9db76c5a1d: Download complete 23:47:48 0ef7d3d256c8: Verifying Checksum 23:47:48 0ef7d3d256c8: Download complete 23:47:48 93359f2a8cfa: Verifying Checksum 23:47:48 93359f2a8cfa: Download complete 23:47:48 7c6f9722023f: Verifying Checksum 23:47:48 7c6f9722023f: Download complete 23:47:48 188c0c94c7c5: Verifying Checksum 23:47:48 188c0c94c7c5: Download complete 23:47:48 188c0c94c7c5: Pull complete 23:47:48 0ef7d3d256c8: Pull complete 23:47:49 de9db76c5a1d: Pull complete 23:47:51 a35cf1a2eb13: Verifying Checksum 23:47:51 a35cf1a2eb13: Download complete 23:47:52 bca2f99d35d6: Verifying Checksum 23:47:52 bca2f99d35d6: Download complete 23:47:58 bca2f99d35d6: Pull complete 23:47:58 93359f2a8cfa: Pull complete 23:47:58 7c6f9722023f: Pull complete 23:48:06 a35cf1a2eb13: Pull complete 23:48:06 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 23:48:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 23:48:06 ---> a62c8e92a672 23:48:06 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:48:06 20.10.0: Pulling from library/docker 23:48:06 05e7bc50f07f: Pulling fs layer 23:48:06 6db28d0fdbf6: Pulling fs layer 23:48:06 292df0bc6bf3: Pulling fs layer 23:48:06 2e060f4bd70b: Pulling fs layer 23:48:06 80e8d568a223: Pulling fs layer 23:48:06 8dc6ef1a942a: Pulling fs layer 23:48:06 2312dd95470a: Pulling fs layer 23:48:06 2e060f4bd70b: Waiting 23:48:06 80e8d568a223: Waiting 23:48:06 8dc6ef1a942a: Waiting 23:48:06 2312dd95470a: Waiting 23:48:06 292df0bc6bf3: Verifying Checksum 23:48:06 292df0bc6bf3: Download complete 23:48:06 6db28d0fdbf6: Verifying Checksum 23:48:06 6db28d0fdbf6: Download complete 23:48:06 05e7bc50f07f: Verifying Checksum 23:48:06 05e7bc50f07f: Download complete 23:48:06 80e8d568a223: Verifying Checksum 23:48:06 80e8d568a223: Download complete 23:48:06 8dc6ef1a942a: Verifying Checksum 23:48:06 8dc6ef1a942a: Download complete 23:48:06 2312dd95470a: Verifying Checksum 23:48:06 2312dd95470a: Download complete 23:48:06 05e7bc50f07f: Pull complete 23:48:06 6db28d0fdbf6: Pull complete 23:48:06 292df0bc6bf3: Pull complete 23:48:07 2e060f4bd70b: Download complete 23:48:10 2e060f4bd70b: Pull complete 23:48:10 80e8d568a223: Pull complete 23:48:10 8dc6ef1a942a: Pull complete 23:48:10 2312dd95470a: Pull complete 23:48:10 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:48:10 Status: Downloaded newer image for docker:20.10.0 23:48:12 ---> a7ad5207693e 23:48:12 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:48:12 ---> Running in 80d2ea22048a 23:48:13 Removing intermediate container 80d2ea22048a 23:48:13 ---> 32d2cc3b69c2 23:48:13 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:48:13 ---> Running in ea116539b085 23:48:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 23:48:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 23:48:14 (1/5) Installing libsodium (1.0.18-r0) 23:48:15 (2/5) Installing libzmq (4.3.3-r0) 23:48:15 (3/5) Installing pkgconf (1.7.2-r0) 23:48:15 (4/5) Installing libsodium-dev (1.0.18-r0) 23:48:15 (5/5) Installing zeromq-dev (4.3.3-r0) 23:48:15 Executing busybox-1.31.1-r19.trigger 23:48:15 OK: 167 MiB in 44 packages 23:48:16 Removing intermediate container ea116539b085 23:48:16 ---> 298923d942b3 23:48:16 Step 6/8 : WORKDIR /build 23:48:16 ---> Running in 252a667a2d60 23:48:16 Removing intermediate container 252a667a2d60 23:48:16 ---> c719f28c4de4 23:48:16 Step 7/8 : COPY go.mod . 23:48:17 ---> de3f87851596 23:48:17 Step 8/8 : RUN go mod download 23:48:17 ---> Running in a06095e337cd 23:48:44 Removing intermediate container a06095e337cd 23:48:44 ---> 872d863e77f4 23:48:44 Successfully built 872d863e77f4 23:48:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:48:44 + docker inspect -f . ci-base-image-x86_64 23:48:44 . [Pipeline] withDockerContainer 23:48:45 prd-centos7-docker-4c-2g-26350 does not seem to be running inside a container 23:48:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 23:48:46 $ docker top 9030657b8a553d73379f492a97a13ce64e03df163dd7be41517e760ff7b52322 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:46 + go version 23:48:46 go version go1.15.5 linux/amd64 [Pipeline] } 23:48:46 $ docker stop --time=1 9030657b8a553d73379f492a97a13ce64e03df163dd7be41517e760ff7b52322 23:48:48 $ docker rm -f 9030657b8a553d73379f492a97a13ce64e03df163dd7be41517e760ff7b52322 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:48:49 + docker inspect -f . ci-base-image-x86_64 23:48:49 . [Pipeline] withDockerContainer 23:48:49 prd-centos7-docker-4c-2g-26350 does not seem to be running inside a container 23:48:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 23:48:49 $ docker top ae720fcd02340a52022f77ec864ec05c8999f7ea823800ef99ca3531f57a8d50 -eo pid,comm [Pipeline] { [Pipeline] sh 23:48:50 + make test 23:48:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:48:51 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:49:01 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.019s coverage: 82.6% of statements 23:49:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.039s coverage: 50.1% of statements 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:49:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.040s coverage: 61.5% of statements 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:49:10 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime.test] 23:49:10 internal/runtime/runtime_test.go:52:13: undefined: requests.NewAddRequest 23:49:10 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [build failed] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:49:10 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 23:49:10 internal/trigger/messagebus/messaging_test.go:48:13: undefined: requests.NewAddRequest 23:49:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.009s coverage: 97.0% of statements 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:49:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.028s coverage: 8.8% of statements 23:49:10 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 23:49:10 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:49:10 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.044s coverage: 87.9% of statements 23:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.049s coverage: 80.5% of statements 23:49:11 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.031s coverage: 71.7% of statements 23:49:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26353 in /w/workspace/ndry_app-functions-sdk-go_PR-687 [Pipeline] { [Pipeline] ws 23:49:18 Running in /w/workspace/app-functions-sdk-go/3 [Pipeline] { [Pipeline] checkout 23:49:24 using credential edgex-jenkins-ssh 23:49:24 Cloning the remote Git repository 23:49:24 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:24 > git init /w/workspace/app-functions-sdk-go/3 # timeout=10 23:49:24 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:24 > git --version # timeout=10 23:49:24 > git --version # 'git version 2.17.1' 23:49:24 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:49:27 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 23:49:27 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 23:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:27 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/687/head:refs/remotes/origin/PR-687 +refs/heads/master:refs/remotes/origin/master # timeout=10 23:49:28 Merging remotes/origin/master commit ebc40acbf299067f604c49d7e3628fc69e80ce80 into PR head commit ae2a2465305723e8696464121b21bd18cf1ff31a 23:49:28 Merge succeeded, producing 817ccb88920ea3f4a7406427565cfe8bc78966b7 23:49:28 Checking out Revision 817ccb88920ea3f4a7406427565cfe8bc78966b7 (PR-687) 23:49:28 > git config core.sparsecheckout # timeout=10 23:49:28 > git checkout -f ae2a2465305723e8696464121b21bd18cf1ff31a # timeout=10 23:49:28 > git remote # timeout=10 23:49:28 > git config --get remote.origin.url # timeout=10 23:49:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:49:28 > git merge ebc40acbf299067f604c49d7e3628fc69e80ce80 # timeout=10 23:49:28 > git rev-parse HEAD^{commit} # timeout=10 23:49:28 > git config core.sparsecheckout # timeout=10 23:49:28 > git checkout -f 817ccb88920ea3f4a7406427565cfe8bc78966b7 # timeout=10 23:49:33 Commit message: "Merge commit 'ebc40acbf299067f604c49d7e3628fc69e80ce80' into HEAD" 23:49:33 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:49:33 > git rev-list --no-walk dbbae455a7fb3cfc1fb2034a62e6a439b48d6d29 # timeout=10 23:49:34 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 23:49:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 23:49:35 + + true 23:49:35 sudo service docker restart [Pipeline] unstash 23:49:37 --- FAIL: TestTransformToJSON (0.00s) 23:49:37 conversion_test.go:124: 23:49:37 Error Trace: conversion_test.go:124 23:49:37 Error: Not equal: 23:49:37 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:49:37 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:49:37 23:49:37 Diff: 23:49:37 --- Expected 23:49:37 +++ Actual 23:49:37 @@ -1 +1 @@ 23:49:37 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:49:37 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:49:37 Test: TestTransformToJSON 23:49:37 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 23:49:37 conversion_test.go:151: 23:49:37 Error Trace: conversion_test.go:151 23:49:37 Error: Not equal: 23:49:37 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:49:37 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:49:37 23:49:37 Diff: 23:49:37 --- Expected 23:49:37 +++ Actual 23:49:37 @@ -1 +1 @@ 23:49:37 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:49:37 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:49:37 Test: TestTransformToJSONMultipleParametersValid 23:49:37 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 23:49:37 conversion_test.go:169: 23:49:37 Error Trace: conversion_test.go:169 23:49:37 Error: Not equal: 23:49:37 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:49:37 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:49:37 23:49:37 Diff: 23:49:37 --- Expected 23:49:37 +++ Actual 23:49:37 @@ -1 +1 @@ 23:49:37 -{"apiVersion":"","id":"","deviceName":"device2","profileName":"","created":0,"origin":0,"readings":null} 23:49:37 +{"apiVersion":"","id":"","deviceName":"device2","profileName":"","origin":0,"readings":null} 23:49:37 Test: TestTransformToJSONMultipleParametersTwoEvents 23:49:37 FAIL 23:49:37 coverage: 82.9% of statements 23:49:37 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.062s 23:49:37 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.016s coverage: 94.4% of statements 23:49:37 FAIL 23:49:37 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:49:37 $ docker stop --time=1 ae720fcd02340a52022f77ec864ec05c8999f7ea823800ef99ca3531f57a8d50 23:49:39 $ docker rm -f ae720fcd02340a52022f77ec864ec05c8999f7ea823800ef99ca3531f57a8d50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] echo 23:49:40 ========================================================= 23:49:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 23:49:40 ========================================================= [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] isUnix [Pipeline] sh 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] } 23:49:40 + 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 . [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 23:49:41 Sending build context to Docker daemon 19.15MB 23:49:41 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 23:49:41 Step 2/8 : FROM ${BASE} [Pipeline] } 23:49:41 Failed in branch amd64 23:49:42 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:49:42 5f621e34cdf4: Pulling fs layer 23:49:42 a4357932f1b6: Pulling fs layer 23:49:42 18c013af1878: Pulling fs layer 23:49:42 00ac8860ef70: Pulling fs layer 23:49:42 63d7cb157983: Pulling fs layer 23:49:42 b116817d02f9: Pulling fs layer 23:49:42 745a02a5169b: Pulling fs layer 23:49:42 63d7cb157983: Waiting 23:49:42 b116817d02f9: Waiting 23:49:42 745a02a5169b: Waiting 23:49:42 00ac8860ef70: Waiting 23:49:42 18c013af1878: Verifying Checksum 23:49:42 18c013af1878: Download complete 23:49:42 a4357932f1b6: Verifying Checksum 23:49:42 a4357932f1b6: Download complete 23:49:42 63d7cb157983: Verifying Checksum 23:49:42 63d7cb157983: Download complete 23:49:42 b116817d02f9: Download complete 23:49:42 5f621e34cdf4: Download complete 23:49:43 5f621e34cdf4: Pull complete 23:49:43 a4357932f1b6: Pull complete 23:49:43 18c013af1878: Pull complete 23:49:44 745a02a5169b: Verifying Checksum 23:49:44 745a02a5169b: Download complete 23:49:45 00ac8860ef70: Verifying Checksum 23:49:45 00ac8860ef70: Download complete 23:49:55 00ac8860ef70: Pull complete 23:49:55 63d7cb157983: Pull complete 23:49:55 b116817d02f9: Pull complete 23:49:59 745a02a5169b: Pull complete 23:49:59 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 23:49:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 23:49:59 ---> b7e6874047d6 23:49:59 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 23:49:59 20.10.0: Pulling from library/docker 23:49:59 a3cc7d3b244e: Pulling fs layer 23:49:59 02a3295e0d61: Pulling fs layer 23:49:59 0f4f2e6d8100: Pulling fs layer 23:49:59 330b718f631f: Pulling fs layer 23:49:59 a93816041522: Pulling fs layer 23:49:59 bdb6da89ff94: Pulling fs layer 23:49:59 2a70c0c122f4: Pulling fs layer 23:49:59 330b718f631f: Waiting 23:49:59 bdb6da89ff94: Waiting 23:49:59 a93816041522: Waiting 23:49:59 2a70c0c122f4: Waiting 23:49:59 0f4f2e6d8100: Verifying Checksum 23:49:59 0f4f2e6d8100: Download complete 23:49:59 a3cc7d3b244e: Download complete 23:49:59 a93816041522: Verifying Checksum 23:49:59 a93816041522: Download complete 23:50:00 bdb6da89ff94: Verifying Checksum 23:50:00 bdb6da89ff94: Download complete 23:50:00 02a3295e0d61: Verifying Checksum 23:50:00 02a3295e0d61: Download complete 23:50:00 2a70c0c122f4: Verifying Checksum 23:50:00 2a70c0c122f4: Download complete 23:50:00 a3cc7d3b244e: Pull complete 23:50:01 02a3295e0d61: Pull complete 23:50:01 0f4f2e6d8100: Pull complete 23:50:01 330b718f631f: Verifying Checksum 23:50:01 330b718f631f: Download complete 23:50:06 330b718f631f: Pull complete 23:50:06 a93816041522: Pull complete 23:50:06 bdb6da89ff94: Pull complete 23:50:06 2a70c0c122f4: Pull complete 23:50:06 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 23:50:06 Status: Downloaded newer image for docker:20.10.0 23:50:13 ---> 660db977ab15 23:50:13 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 23:50:13 ---> Running in 63a523b3334a 23:50:13 Removing intermediate container 63a523b3334a 23:50:13 ---> 877be4b81c23 23:50:13 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 23:50:13 ---> Running in 67f2c64ade64 23:50:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 23:50:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 23:50:16 (1/5) Installing libsodium (1.0.18-r0) 23:50:16 (2/5) Installing libzmq (4.3.3-r0) 23:50:16 (3/5) Installing pkgconf (1.7.2-r0) 23:50:16 (4/5) Installing libsodium-dev (1.0.18-r0) 23:50:16 (5/5) Installing zeromq-dev (4.3.3-r0) 23:50:16 Executing busybox-1.31.1-r19.trigger 23:50:16 OK: 144 MiB in 44 packages 23:50:18 Removing intermediate container 67f2c64ade64 23:50:18 ---> 85925b7359a4 23:50:18 Step 6/8 : WORKDIR /build 23:50:18 ---> Running in e707f7b3fdba 23:50:18 Removing intermediate container e707f7b3fdba 23:50:18 ---> b09eb89ae308 23:50:18 Step 7/8 : COPY go.mod . 23:50:19 ---> e579d07264df 23:50:19 Step 8/8 : RUN go mod download 23:50:19 ---> Running in 6c4eec64f566 23:50:46 Removing intermediate container 6c4eec64f566 23:50:46 ---> 771565b12755 23:50:46 Successfully built 771565b12755 23:50:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:50:47 + docker inspect -f . ci-base-image-arm64 23:50:47 . [Pipeline] withDockerContainer 23:50:47 prd-ubuntu18.04-docker-arm64-4c-16g-26353 does not seem to be running inside a container 23:50:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat 23:50:48 $ docker top ba85137e05afb392e82a9ddb94ebcf61110f279eefc9f3b23bf17d1e141de1e3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:49 + go version 23:50:49 go version go1.15.5 linux/arm64 [Pipeline] } 23:50:49 $ docker stop --time=1 ba85137e05afb392e82a9ddb94ebcf61110f279eefc9f3b23bf17d1e141de1e3 23:50:51 $ docker rm -f ba85137e05afb392e82a9ddb94ebcf61110f279eefc9f3b23bf17d1e141de1e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:50:52 + docker inspect -f . ci-base-image-arm64 23:50:52 . [Pipeline] withDockerContainer 23:50:53 prd-ubuntu18.04-docker-arm64-4c-16g-26353 does not seem to be running inside a container 23:50:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-functions-sdk-go/3 -v /w/workspace/app-functions-sdk-go/3:/w/workspace/app-functions-sdk-go/3:rw,z -v /w/workspace/app-functions-sdk-go/3@tmp:/w/workspace/app-functions-sdk-go/3@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 ******** ci-base-image-arm64 cat 23:50:54 $ docker top 7db4c316212b61983fe08cdbe3f655e3a5ebd3a6d32d5a8cef9003a268b29b70 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:55 + make test 23:50:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:50:57 ? github.com/edgexfoundry/app-functions-sdk-go/v2 [no test files] 23:51:23 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appcontext 0.051s coverage: 82.6% of statements 23:51:39 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime.test] 23:51:39 internal/runtime/runtime_test.go:52:13: undefined: requests.NewAddRequest 23:51:39 # github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus.test] 23:51:39 internal/trigger/messagebus/messaging_test.go:48:13: undefined: requests.NewAddRequest 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/appsdk 0.070s coverage: 50.1% of statements 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/container [no test files] 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/bootstrap/handlers 0.104s coverage: 61.5% of statements 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/common [no test files] 23:51:46 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/runtime [build failed] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/contracts [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/interfaces/mocks [no test files] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis [no test files] 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/store/db/redis/models 0.027s coverage: 97.0% of statements 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/telemetry [no test files] 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/http 0.031s coverage: 8.8% of statements 23:51:46 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/messagebus [build failed] 23:51:46 ? github.com/edgexfoundry/app-functions-sdk-go/v2/internal/trigger/mqtt [no test files] 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/v2/controller/http 0.051s coverage: 87.9% of statements 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/internal/webserver 0.076s coverage: 80.5% of statements 23:51:46 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/secure 0.063s coverage: 71.7% of statements 23:52:13 --- FAIL: TestTransformToJSON (0.00s) 23:52:13 conversion_test.go:124: 23:52:13 Error Trace: conversion_test.go:124 23:52:13 Error: Not equal: 23:52:13 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:52:13 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:52:13 23:52:13 Diff: 23:52:13 --- Expected 23:52:13 +++ Actual 23:52:13 @@ -1 +1 @@ 23:52:13 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:52:13 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:52:13 Test: TestTransformToJSON 23:52:13 --- FAIL: TestTransformToJSONMultipleParametersValid (0.00s) 23:52:13 conversion_test.go:151: 23:52:13 Error Trace: conversion_test.go:151 23:52:13 Error: Not equal: 23:52:13 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:52:13 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device1\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:52:13 23:52:13 Diff: 23:52:13 --- Expected 23:52:13 +++ Actual 23:52:13 @@ -1 +1 @@ 23:52:13 -{"apiVersion":"","id":"","deviceName":"device1","profileName":"","created":0,"origin":0,"readings":null} 23:52:13 +{"apiVersion":"","id":"","deviceName":"device1","profileName":"","origin":0,"readings":null} 23:52:13 Test: TestTransformToJSONMultipleParametersValid 23:52:13 --- FAIL: TestTransformToJSONMultipleParametersTwoEvents (0.00s) 23:52:13 conversion_test.go:169: 23:52:13 Error Trace: conversion_test.go:169 23:52:13 Error: Not equal: 23:52:13 expected: "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"created\":0,\"origin\":0,\"readings\":null}" 23:52:13 actual : "{\"apiVersion\":\"\",\"id\":\"\",\"deviceName\":\"device2\",\"profileName\":\"\",\"origin\":0,\"readings\":null}" 23:52:13 23:52:13 Diff: 23:52:13 --- Expected 23:52:13 +++ Actual 23:52:13 @@ -1 +1 @@ 23:52:13 -{"apiVersion":"","id":"","deviceName":"device2","profileName":"","created":0,"origin":0,"readings":null} 23:52:13 +{"apiVersion":"","id":"","deviceName":"device2","profileName":"","origin":0,"readings":null} 23:52:13 Test: TestTransformToJSONMultipleParametersTwoEvents 23:52:13 FAIL 23:52:13 coverage: 82.9% of statements 23:52:13 FAIL github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/transforms 25.082s 23:52:13 ok github.com/edgexfoundry/app-functions-sdk-go/v2/pkg/util 0.040s coverage: 94.4% of statements 23:52:13 FAIL 23:52:13 make: *** [Makefile:6: test] Error 2 [Pipeline] } 23:52:13 $ docker stop --time=1 7db4c316212b61983fe08cdbe3f655e3a5ebd3a6d32d5a8cef9003a268b29b70 23:52:15 $ docker rm -f 7db4c316212b61983fe08cdbe3f655e3a5ebd3a6d32d5a8cef9003a268b29b70 [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] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:52:17 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 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 23:52:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:20 ---> package-listing.sh 23:52:20 ++ facter osfamily 23:52:20 ++ tr '[:upper:]' '[:lower:]' 23:52:20 + OS_FAMILY=redhat 23:52:20 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-687 23:52:20 + START_PACKAGES=/tmp/packages_start.txt 23:52:20 + END_PACKAGES=/tmp/packages_end.txt 23:52:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:20 + PACKAGES=/tmp/packages_start.txt 23:52:20 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-687 ']' 23:52:20 + PACKAGES=/tmp/packages_end.txt 23:52:20 + case "${OS_FAMILY}" in 23:52:20 + rpm -qa 23:52:20 + sort 23:52:25 + '[' -f /tmp/packages_start.txt ']' 23:52:25 + '[' -f /tmp/packages_end.txt ']' 23:52:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:25 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-687 ']' 23:52:25 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-687/archives/ 23:52:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-687/archives/ [Pipeline] echo 23:52:25 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-687/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:52:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:26 23:52:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 23:52:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:26 alpine: Pulling from edgex-lftools-log-publisher 23:52:26 df20fa9351a1: Pulling fs layer 23:52:26 36b3adc4ff6f: Pulling fs layer 23:52:26 8ad3a11d3b57: Pulling fs layer 23:52:26 46f8f816bc3b: Pulling fs layer 23:52:26 93b61091891f: Pulling fs layer 23:52:26 93b9cdb0e59b: Pulling fs layer 23:52:26 5e14af77c1be: Pulling fs layer 23:52:26 01666e4c0597: Pulling fs layer 23:52:26 aa168da1d23b: Pulling fs layer 23:52:26 46f8f816bc3b: Waiting 23:52:26 93b61091891f: Waiting 23:52:26 93b9cdb0e59b: Waiting 23:52:26 5e14af77c1be: Waiting 23:52:26 01666e4c0597: Waiting 23:52:26 aa168da1d23b: Waiting 23:52:26 36b3adc4ff6f: Download complete 23:52:26 46f8f816bc3b: Verifying Checksum 23:52:26 46f8f816bc3b: Download complete 23:52:26 df20fa9351a1: Verifying Checksum 23:52:26 df20fa9351a1: Download complete 23:52:26 93b9cdb0e59b: Verifying Checksum 23:52:26 93b9cdb0e59b: Download complete 23:52:26 5e14af77c1be: Verifying Checksum 23:52:26 5e14af77c1be: Download complete 23:52:26 93b61091891f: Download complete 23:52:26 01666e4c0597: Verifying Checksum 23:52:26 01666e4c0597: Download complete 23:52:27 8ad3a11d3b57: Verifying Checksum 23:52:27 8ad3a11d3b57: Download complete 23:52:27 df20fa9351a1: Pull complete 23:52:27 36b3adc4ff6f: Pull complete 23:52:28 8ad3a11d3b57: Pull complete 23:52:28 46f8f816bc3b: Pull complete 23:52:29 93b61091891f: Pull complete 23:52:29 aa168da1d23b: Verifying Checksum 23:52:29 aa168da1d23b: Download complete 23:52:29 93b9cdb0e59b: Pull complete 23:52:29 5e14af77c1be: Pull complete 23:52:29 01666e4c0597: Pull complete 23:52:36 aa168da1d23b: Pull complete 23:52:36 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 23:52:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 23:52:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 23:52:36 prd-centos7-docker-4c-2g-26345 does not seem to be running inside a container 23:52:36 $ 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-687/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-687 -v /w/workspace/ndry_app-functions-sdk-go_PR-687:/w/workspace/ndry_app-functions-sdk-go_PR-687:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-687@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-687@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 23:52:40 $ docker top 2af2dbb539ba3e2889af0aad051a680d6ac68a0ceb11273d05a5b2c346bdcfad -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:41 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:41 + mkdir -p /var/log/sa [Pipeline] sh 23:52:41 + ls /var/log/sa-host 23:52:41 + sadf -c /var/log/sa-host/sa12 23:52:41 file_magic: OK 23:52:41 HZ: Using current value: 100 23:52:41 file_header: OK 23:52:41 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 23:52:41 Statistics: 23:52:41 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:52:41 File successfully converted to sysstat format version 12.2.1 23:52:41 + sadf -c /var/log/sa-host/sa23 23:52:41 file_magic: OK 23:52:41 HZ: Using current value: 100 23:52:41 file_header: OK 23:52:41 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 23:52:41 Statistics: 23:52:41 Hnuu...uuuununununu... 23:52:41 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:42 provisioning config files... 23:52:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-687@tmp/config1524755849880599480tmp [Pipeline] { [Pipeline] echo 23:52:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> create-netrc.sh [Pipeline] } 23:52:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 23:52:43 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> python-tools-install.sh [Pipeline] echo 23:52:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:43 ---> sudo-logs.sh 23:52:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:52:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:44 ---> job-cost.sh 23:52:44 lf-activate-venv: SKIPPING 23:52:44 INFO: No Stack... 23:52:45 INFO: Retrieving Pricing Info for: v1-standard-2 23:52:45 INFO: Archiving Costs [Pipeline] echo 23:52:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:46 ---> logs-deploy.sh 23:52:46 lf-activate-venv: SKIPPING 23:52:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-687/3 23:52:46 INFO: archiving workspace using pattern(s): 23:52:47 Archives upload complete. 23:52:47 INFO: archiving logs to Nexus