Pull request #625 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 e151f3badf4548a7dcdfe226f489907c8c8299ec+64c59fdf6547fcf47d5506b3c4fc6694315e7d80 (8c6450260108a894389310e2994e02dce82fbed2) 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-625/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-625/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 Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-18305 in /w/workspace/ndry_app-functions-sdk-go_PR-625 [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-625 # 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/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 into PR head commit e151f3badf4548a7dcdfe226f489907c8c8299ec Merge succeeded, producing e151f3badf4548a7dcdfe226f489907c8c8299ec Checking out Revision e151f3badf4548a7dcdfe226f489907c8c8299ec (PR-625) > git config core.sparsecheckout # timeout=10 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # 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 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # timeout=10 Commit message: "feat: Allow for multiple MessageBus subscriptions" 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 22:40:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:40:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:40:16 ========================================================= 22:40:16 EdgeX Global Pipelines Version Info 22:40:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:40:18 ------------------- 22:40:18 stable info: 22:40:18 ------------------- 22:40:18 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:40:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:40:18 Message: update stable to v1.0.173 22:40:19 ------------------- 22:40:19 experimental info: 22:40:19 ------------------- 22:40:19 Commited By: **** collab-it+edgex@linuxfoundation.org 22:40:19 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:40:19 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-functions-sdk-go-settings [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar PROJECT = app-functions-sdk-go [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:40:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-app-functions-sdk-go [Pipeline] echo 22:40:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = false [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:40:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = false [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 22:40:23 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-625 [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-625 [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-625 [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e151f3badf4548a7dcdfe226f489907c8c8299ec [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e151f3b [Pipeline] echo 22:40:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:25 + git log --format=format:%s -1 e151f3badf4548a7dcdfe226f489907c8c8299ec [Pipeline] echo 22:40:26 GIT_COMMIT: e151f3badf4548a7dcdfe226f489907c8c8299ec, Commit Message: feat: Allow for multiple MessageBus subscriptions [Pipeline] echo 22:40:26 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:27 22:40:27 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:40:27 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:27 latest: Pulling from edgex-devops/git-semver 22:40:27 31603596830f: Pulling fs layer 22:40:27 2a8b12db71e7: Pulling fs layer 22:40:27 6ca5941a6612: Pulling fs layer 22:40:27 ecc8261a40a4: Pulling fs layer 22:40:27 ecc8261a40a4: Waiting 22:40:28 2a8b12db71e7: Verifying Checksum 22:40:28 2a8b12db71e7: Download complete 22:40:28 31603596830f: Verifying Checksum 22:40:28 31603596830f: Download complete 22:40:28 6ca5941a6612: Verifying Checksum 22:40:28 6ca5941a6612: Download complete 22:40:28 ecc8261a40a4: Verifying Checksum 22:40:28 ecc8261a40a4: Download complete 22:40:28 31603596830f: Pull complete 22:40:29 2a8b12db71e7: Pull complete 22:40:30 6ca5941a6612: Pull complete 22:40:31 ecc8261a40a4: Pull complete 22:40:31 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 22:40:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:40:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:40:31 prd-centos7-docker-4c-2g-18305 does not seem to be running inside a container 22:40:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ndry_app-functions-sdk-go_PR-625 -v /w/workspace/ndry_app-functions-sdk-go_PR-625:/w/workspace/ndry_app-functions-sdk-go_PR-625:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-625@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-625@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:40:34 $ docker top b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:35 [ssh-agent] Looking for ssh-agent implementation... 22:40:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:35 $ docker exec b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da ssh-agent 22:40:36 SSH_AUTH_SOCK=/tmp/ssh-RUdOC9GOdh2s/agent.12 22:40:36 SSH_AGENT_PID=18 22:40:36 Running ssh-add (command line suppressed) 22:40:36 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-625@tmp/private_key_24567518608123742.key (/w/workspace/ndry_app-functions-sdk-go_PR-625@tmp/private_key_24567518608123742.key) 22:40:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:36 + git tag --points-at HEAD [Pipeline] } 22:40:36 $ docker exec --env ******** --env ******** b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da ssh-agent -k 22:40:37 unset SSH_AUTH_SOCK; 22:40:37 unset SSH_AGENT_PID; 22:40:37 echo Agent pid 18 killed; 22:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:40:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:40:37 [ssh-agent] Looking for ssh-agent implementation... 22:40:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:40:38 $ docker exec b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da ssh-agent 22:40:38 SSH_AUTH_SOCK=/tmp/ssh-MIjtFJNlrN91/agent.46 22:40:38 SSH_AGENT_PID=52 22:40:38 Running ssh-add (command line suppressed) 22:40:38 Identity added: /w/workspace/ndry_app-functions-sdk-go_PR-625@tmp/private_key_1940320988228390660.key (/w/workspace/ndry_app-functions-sdk-go_PR-625@tmp/private_key_1940320988228390660.key) 22:40:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:40:39 + git semver init 22:40:39 # -> Open(): unable to determine branch for HEAD 22:40:39 # $GIT_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-625/.git 22:40:39 # $GIT_WORK_TREE = /w/workspace/ndry_app-functions-sdk-go_PR-625 22:40:39 # $SEMVER_REMOTE_NAME = origin 22:40:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:40:39 # $SEMVER_USER_NAME = edgex-jenkins 22:40:39 # $SEMVER_BRANCH = PR-625 22:40:39 # $SEMVER_TEMP = /tmp/semver-393162067 22:40:39 # git clone --branch semver git@github.com:edgexfoundry/app-functions-sdk-go.git $SEMVER_TEMP 22:40:42 # '/tmp/semver-393162067' -> '/w/workspace/ndry_app-functions-sdk-go_PR-625/.semver' 22:40:42 # -> Force: false 22:40:42 # $SEMVER_DIR = /w/workspace/ndry_app-functions-sdk-go_PR-625/.semver [Pipeline] } 22:40:42 $ docker exec --env ******** --env ******** b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da ssh-agent -k 22:40:43 unset SSH_AUTH_SOCK; 22:40:43 unset SSH_AGENT_PID; 22:40:43 echo Agent pid 52 killed; 22:40:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:40:43 + git semver [Pipeline] } 22:40:43 $ docker stop --time=1 b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da 22:40:45 $ docker rm -f b44d8be2b2c32e3a39ee347efb58878c19bd603896d2026e67455e425b1009da [Pipeline] // withDockerContainer [Pipeline] sh 22:40:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:40:47 Stashed 1 file(s) [Pipeline] echo 22:40:47 [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 22:41:02 Still waiting to schedule task 22:41:02 Waiting for next available executor on ‘centos7-docker-4c-2g’ 22:41:02 Still waiting to schedule task 22:41:02 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 22:42:51 Running on prd-ubuntu18.04-docker-arm64-4c-16g-18306 in /w/workspace/ndry_app-functions-sdk-go_PR-625 [Pipeline] { [Pipeline] ws 22:42:51 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:42:55 using credential edgex-jenkins-ssh 22:42:56 Cloning the remote Git repository 22:42:56 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:42:56 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:42:56 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:42:56 > git --version # timeout=10 22:42:56 > git --version # 'git version 2.17.1' 22:42:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:42:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:42:59 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:42:59 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:42:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:42:59 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:00 Merging remotes/origin/master commit 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 into PR head commit e151f3badf4548a7dcdfe226f489907c8c8299ec 22:43:00 Merge succeeded, producing e151f3badf4548a7dcdfe226f489907c8c8299ec 22:43:00 Checking out Revision e151f3badf4548a7dcdfe226f489907c8c8299ec (PR-625) 22:43:00 > git config core.sparsecheckout # timeout=10 22:43:00 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # timeout=10 22:43:00 > git remote # timeout=10 22:43:00 > git config --get remote.origin.url # timeout=10 22:43:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:00 > git merge 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 # timeout=10 22:43:00 > git rev-parse HEAD^{commit} # timeout=10 22:43:00 > git config core.sparsecheckout # timeout=10 22:43:00 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # timeout=10 22:43:04 Commit message: "feat: Allow for multiple MessageBus subscriptions" 22:43:04 > git --version # timeout=10 22:43:04 > git --version # 'git version 2.17.1' 22:43:04 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:06 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:43:06 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:43:07 + + truesudo 22:43:07 service docker restart [Pipeline] unstash [Pipeline] echo 22:43:10 ========================================================= 22:43:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 22:43:10 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:43:10 + 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 . 22:43:12 Sending build context to Docker daemon 19.11MB 22:43:12 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:43:12 Step 2/8 : FROM ${BASE} 22:43:12 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:43:12 5f621e34cdf4: Pulling fs layer 22:43:12 a4357932f1b6: Pulling fs layer 22:43:12 18c013af1878: Pulling fs layer 22:43:12 00ac8860ef70: Pulling fs layer 22:43:12 63d7cb157983: Pulling fs layer 22:43:12 b116817d02f9: Pulling fs layer 22:43:12 745a02a5169b: Pulling fs layer 22:43:12 63d7cb157983: Waiting 22:43:12 b116817d02f9: Waiting 22:43:12 00ac8860ef70: Waiting 22:43:12 745a02a5169b: Waiting 22:43:12 18c013af1878: Download complete 22:43:12 a4357932f1b6: Verifying Checksum 22:43:12 a4357932f1b6: Download complete 22:43:12 63d7cb157983: Verifying Checksum 22:43:12 63d7cb157983: Download complete 22:43:12 b116817d02f9: Verifying Checksum 22:43:12 b116817d02f9: Download complete 22:43:12 5f621e34cdf4: Verifying Checksum 22:43:12 5f621e34cdf4: Download complete 22:43:13 5f621e34cdf4: Pull complete 22:43:13 a4357932f1b6: Pull complete 22:43:13 18c013af1878: Pull complete 22:43:14 745a02a5169b: Verifying Checksum 22:43:14 745a02a5169b: Download complete 22:43:15 00ac8860ef70: Verifying Checksum 22:43:15 00ac8860ef70: Download complete 22:43:18 Running on prd-centos7-docker-4c-2g-18308 in /w/workspace/ndry_app-functions-sdk-go_PR-625 [Pipeline] { [Pipeline] ws 22:43:18 Running in /w/workspace/app-functions-sdk-go/1 [Pipeline] { [Pipeline] checkout 22:43:20 using credential edgex-jenkins-ssh 22:43:20 Cloning the remote Git repository 22:43:20 Cloning repository git@github.com:edgexfoundry/app-functions-sdk-go.git 22:43:20 > git init /w/workspace/app-functions-sdk-go/1 # timeout=10 22:43:20 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:43:20 > git --version # timeout=10 22:43:20 > git --version # 'git version 2.24.3' 22:43:20 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:43:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:43:22 > git config remote.origin.url git@github.com:edgexfoundry/app-functions-sdk-go.git # timeout=10 22:43:22 Fetching upstream changes from git@github.com:edgexfoundry/app-functions-sdk-go.git 22:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-functions-sdk-go.git +refs/pull/625/head:refs/remotes/origin/PR-625 +refs/heads/master:refs/remotes/origin/master # timeout=10 22:43:22 Merging remotes/origin/master commit 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 into PR head commit e151f3badf4548a7dcdfe226f489907c8c8299ec 22:43:23 Merge succeeded, producing e151f3badf4548a7dcdfe226f489907c8c8299ec 22:43:23 Checking out Revision e151f3badf4548a7dcdfe226f489907c8c8299ec (PR-625) 22:43:22 > git config core.sparsecheckout # timeout=10 22:43:22 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # timeout=10 22:43:22 > git remote # timeout=10 22:43:22 > git config --get remote.origin.url # timeout=10 22:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 22:43:22 > git merge 64c59fdf6547fcf47d5506b3c4fc6694315e7d80 # timeout=10 22:43:23 > git rev-parse HEAD^{commit} # timeout=10 22:43:23 > git config core.sparsecheckout # timeout=10 22:43:23 > git checkout -f e151f3badf4548a7dcdfe226f489907c8c8299ec # timeout=10 22:43:26 00ac8860ef70: Pull complete 22:43:26 63d7cb157983: Pull complete 22:43:26 Commit message: "feat: Allow for multiple MessageBus subscriptions" 22:43:26 > git --version # timeout=10 22:43:26 > git --version # 'git version 2.24.3' 22:43:26 fatal: bad object 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 22:43:26 b116817d02f9: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:28 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:43:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:43:28 + true 22:43:28 + sudo service docker restart 22:43:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] unstash 22:43:30 745a02a5169b: Pull complete 22:43:30 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [Pipeline] echo 22:43:30 ========================================================= 22:43:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 22:43:30 ========================================================= [Pipeline] isUnix 22:43:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 22:43:30 ---> b7e6874047d6 22:43:30 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:43:30 20.10.0: Pulling from library/docker 22:43:30 a3cc7d3b244e: Pulling fs layer 22:43:30 02a3295e0d61: Pulling fs layer 22:43:30 0f4f2e6d8100: Pulling fs layer 22:43:30 330b718f631f: Pulling fs layer 22:43:30 a93816041522: Pulling fs layer 22:43:30 bdb6da89ff94: Pulling fs layer 22:43:30 2a70c0c122f4: Pulling fs layer 22:43:30 330b718f631f: Waiting 22:43:30 a93816041522: Waiting 22:43:30 bdb6da89ff94: Waiting 22:43:30 2a70c0c122f4: Waiting 22:43:30 0f4f2e6d8100: Verifying Checksum 22:43:30 0f4f2e6d8100: Download complete 22:43:30 a3cc7d3b244e: Verifying Checksum 22:43:30 02a3295e0d61: Download complete 22:43:30 bdb6da89ff94: Verifying Checksum 22:43:30 bdb6da89ff94: Download complete 22:43:30 a93816041522: Download complete [Pipeline] sh 22:43:30 2a70c0c122f4: Verifying Checksum 22:43:30 2a70c0c122f4: Download complete 22:43:30 + 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 . 22:43:31 a3cc7d3b244e: Pull complete 22:43:31 Sending build context to Docker daemon 19.11MB 22:43:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 22:43:31 Step 2/8 : FROM ${BASE} 22:43:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 22:43:31 188c0c94c7c5: Pulling fs layer 22:43:31 0ef7d3d256c8: Pulling fs layer 22:43:31 de9db76c5a1d: Pulling fs layer 22:43:31 bca2f99d35d6: Pulling fs layer 22:43:31 93359f2a8cfa: Pulling fs layer 22:43:31 7c6f9722023f: Pulling fs layer 22:43:31 a35cf1a2eb13: Pulling fs layer 22:43:31 93359f2a8cfa: Waiting 22:43:31 bca2f99d35d6: Waiting 22:43:31 7c6f9722023f: Waiting 22:43:31 a35cf1a2eb13: Waiting 22:43:31 de9db76c5a1d: Download complete 22:43:31 0ef7d3d256c8: Verifying Checksum 22:43:31 0ef7d3d256c8: Download complete 22:43:31 93359f2a8cfa: Verifying Checksum 22:43:31 93359f2a8cfa: Download complete 22:43:31 188c0c94c7c5: Verifying Checksum 22:43:31 188c0c94c7c5: Download complete 22:43:31 7c6f9722023f: Download complete 22:43:32 188c0c94c7c5: Pull complete 22:43:32 0ef7d3d256c8: Pull complete 22:43:32 de9db76c5a1d: Pull complete 22:43:32 02a3295e0d61: Pull complete 22:43:32 0f4f2e6d8100: Pull complete 22:43:33 330b718f631f: Verifying Checksum 22:43:33 330b718f631f: Download complete 22:43:34 a35cf1a2eb13: Verifying Checksum 22:43:34 a35cf1a2eb13: Download complete 22:43:34 bca2f99d35d6: Verifying Checksum 22:43:34 bca2f99d35d6: Download complete 22:43:37 330b718f631f: Pull complete 22:43:37 a93816041522: Pull complete 22:43:37 bdb6da89ff94: Pull complete 22:43:37 2a70c0c122f4: Pull complete 22:43:37 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:43:37 Status: Downloaded newer image for docker:20.10.0 22:43:39 bca2f99d35d6: Pull complete 22:43:39 93359f2a8cfa: Pull complete 22:43:39 7c6f9722023f: Pull complete 22:43:43 a35cf1a2eb13: Pull complete 22:43:44 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 22:43:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 22:43:44 ---> a62c8e92a672 22:43:44 Step 3/8 : COPY --from=docker:20.10.0 /usr/local/bin/docker /usr/local/bin/docker 22:43:44 20.10.0: Pulling from library/docker 22:43:44 05e7bc50f07f: Pulling fs layer 22:43:44 6db28d0fdbf6: Pulling fs layer 22:43:44 292df0bc6bf3: Pulling fs layer 22:43:44 2e060f4bd70b: Pulling fs layer 22:43:44 80e8d568a223: Pulling fs layer 22:43:44 8dc6ef1a942a: Pulling fs layer 22:43:44 2312dd95470a: Pulling fs layer 22:43:44 2e060f4bd70b: Waiting 22:43:44 292df0bc6bf3: Verifying Checksum 22:43:44 292df0bc6bf3: Download complete 22:43:44 6db28d0fdbf6: Verifying Checksum 22:43:44 6db28d0fdbf6: Download complete 22:43:44 05e7bc50f07f: Verifying Checksum 22:43:44 05e7bc50f07f: Download complete 22:43:44 80e8d568a223: Verifying Checksum 22:43:44 80e8d568a223: Download complete 22:43:44 2312dd95470a: Verifying Checksum 22:43:44 2312dd95470a: Download complete 22:43:44 8dc6ef1a942a: Verifying Checksum 22:43:44 8dc6ef1a942a: Download complete 22:43:44 ---> 2b5051c5ff98 22:43:44 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:43:44 ---> Running in 602e813e28be 22:43:44 Removing intermediate container 602e813e28be 22:43:44 ---> 0ff08980d85f 22:43:44 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:43:44 ---> Running in 62d20cdc2768 22:43:44 05e7bc50f07f: Pull complete 22:43:45 6db28d0fdbf6: Pull complete 22:43:45 292df0bc6bf3: Pull complete 22:43:45 2e060f4bd70b: Verifying Checksum 22:43:45 2e060f4bd70b: Download complete 22:43:46 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:43:46 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:43:47 (1/5) Installing libsodium (1.0.18-r0) 22:43:47 (2/5) Installing libzmq (4.3.3-r0) 22:43:47 (3/5) Installing pkgconf (1.7.2-r0) 22:43:47 (4/5) Installing libsodium-dev (1.0.18-r0) 22:43:47 (5/5) Installing zeromq-dev (4.3.3-r0) 22:43:47 Executing busybox-1.31.1-r19.trigger 22:43:47 OK: 144 MiB in 44 packages 22:43:47 2e060f4bd70b: Pull complete 22:43:48 80e8d568a223: Pull complete 22:43:48 8dc6ef1a942a: Pull complete 22:43:48 2312dd95470a: Pull complete 22:43:48 Digest: sha256:fefd2a66e0543621b3e022b34b504cb41c2e72e6098fb6239f1e3d6fd1edefd9 22:43:48 Status: Downloaded newer image for docker:20.10.0 22:43:49 Removing intermediate container 62d20cdc2768 22:43:49 ---> 75d30e21e74f 22:43:49 Step 6/8 : WORKDIR /build 22:43:49 ---> Running in a0eaf992adbc 22:43:49 ---> 3113c3095e90 22:43:49 Step 4/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 22:43:49 ---> Running in 23f8767084b6 22:43:49 Removing intermediate container a0eaf992adbc 22:43:49 ---> e662aaeb205d 22:43:49 Step 7/8 : COPY go.mod . 22:43:50 Removing intermediate container 23f8767084b6 22:43:50 ---> b0ac215e579f 22:43:50 Step 5/8 : RUN apk add --update --no-cache zeromq-dev bash 22:43:50 ---> Running in eaae26bb5145 22:43:50 ---> f1e87c0ee561 22:43:50 Step 8/8 : RUN go mod download 22:43:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:43:50 ---> Running in dc089d0df104 22:43:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:43:51 (1/5) Installing libsodium (1.0.18-r0) 22:43:51 (2/5) Installing libzmq (4.3.3-r0) 22:43:52 (3/5) Installing pkgconf (1.7.2-r0) 22:43:52 (4/5) Installing libsodium-dev (1.0.18-r0) 22:43:52 (5/5) Installing zeromq-dev (4.3.3-r0) 22:43:52 Executing busybox-1.31.1-r19.trigger 22:43:52 OK: 167 MiB in 44 packages 22:43:52 Removing intermediate container eaae26bb5145 22:43:52 ---> f98a82768be4 22:43:52 Step 6/8 : WORKDIR /build 22:43:52 ---> Running in e688f1b609cd 22:43:53 Removing intermediate container e688f1b609cd 22:43:53 ---> afc8eee8331a 22:43:53 Step 7/8 : COPY go.mod . 22:43:53 ---> e89011590b2b 22:43:53 Step 8/8 : RUN go mod download 22:43:53 ---> Running in 30d94f572787 22:44:16 Removing intermediate container 30d94f572787 22:44:16 ---> a9006f460cd4 22:44:16 Successfully built a9006f460cd4 22:44:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:44:16 + docker inspect -f . ci-base-image-x86_64 22:44:16 . [Pipeline] withDockerContainer 22:44:16 prd-centos7-docker-4c-2g-18308 does not seem to be running inside a container 22:44:16 $ 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 22:44:17 $ docker top 189e2bf9247febf4cbbeca6b182b32a82544077a99fbbedf3ac11ed82d117471 -eo pid,comm 22:44:17 Removing intermediate container dc089d0df104 22:44:17 ---> 05de80720b00 22:44:17 Successfully built 05de80720b00 22:44:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 22:44:18 + go version 22:44:18 go version go1.15.5 linux/amd64 [Pipeline] } 22:44:18 $ docker stop --time=1 189e2bf9247febf4cbbeca6b182b32a82544077a99fbbedf3ac11ed82d117471 22:44:18 + docker inspect -f . ci-base-image-arm64 22:44:18 . 22:44:19 $ docker rm -f 189e2bf9247febf4cbbeca6b182b32a82544077a99fbbedf3ac11ed82d117471 [Pipeline] // withDockerContainer [Pipeline] withDockerContainer 22:44:19 prd-ubuntu18.04-docker-arm64-4c-16g-18306 does not seem to be running inside a container 22:44:19 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:44:21 $ docker top 87ffc1e76b95b593b5103a10c6214c6252147c147ee690af88ad2de0ce2d2b9b -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:44:22 + go version 22:44:22 go version go1.15.5 linux/arm64 [Pipeline] } 22:44:22 $ docker stop --time=1 87ffc1e76b95b593b5103a10c6214c6252147c147ee690af88ad2de0ce2d2b9b 22:44:22 + docker inspect -f . ci-base-image-x86_64 22:44:22 . 22:44:24 $ docker rm -f 87ffc1e76b95b593b5103a10c6214c6252147c147ee690af88ad2de0ce2d2b9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 22:44:25 prd-centos7-docker-4c-2g-18308 does not seem to be running inside a container 22:44:25 $ 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 22:44:25 $ docker top a7fc2ee5534bb84bb063153d2d3887e161d14197d2e49e321c35dbd6cea19e3c -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 22:44:26 + make test 22:44:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:44:26 + docker inspect -f . ci-base-image-arm64 22:44:26 . [Pipeline] withDockerContainer 22:44:27 prd-ubuntu18.04-docker-arm64-4c-16g-18306 does not seem to be running inside a container 22:44:27 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:44:27 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:44:28 $ docker top 1c94043690383437b23662dc761e025fc2738f4ab1b4dc562cd253207e6bcbe2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:29 + make test 22:44:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:44:31 ? github.com/edgexfoundry/app-functions-sdk-go [no test files] 22:44:34 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.026s coverage: 86.2% of statements 22:44:44 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.040s coverage: 47.9% of statements 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:44:44 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.024s coverage: 61.5% of statements 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:44:44 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.029s coverage: 69.1% of statements 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:44:44 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.011s coverage: 97.7% of statements 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:44:44 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:44:44 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.025s coverage: 8.8% of statements 22:44:51 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.30s) 22:44:51 messaging_test.go:175: 22:44:51 Error Trace: messaging_test.go:175 22:44:51 Error: Should be true 22:44:51 Test: TestInitializeAndProcessEventWithNoOutput 22:44:51 Messages: Transform never called 22:44:51 FAIL 22:44:51 coverage: 76.6% of statements 22:44:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.919s 22:44:51 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 22:44:51 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.028s coverage: 87.9% of statements 22:44:51 --- FAIL: TestConfigureAndConfigRoute (0.00s) 22:44:51 server_test.go:116: 22:44:51 Error Trace: server_test.go:116 22:44:51 Error: Not equal: 22:44:51 expected: "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopic\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" 22:44:51 actual : "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" 22:44:51 22:44:51 Diff: 22:44:51 --- Expected 22:44:51 +++ Actual 22:44:51 @@ -1,2 +1,2 @@ 22:44:51 -{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopic":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} 22:44:51 +{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} 22:44:51 22:44:51 Test: TestConfigureAndConfigRoute 22:44:51 FAIL 22:44:51 coverage: 80.5% of statements 22:44:51 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.012s 22:44:51 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.020s coverage: 71.7% of statements 22:44:53 ok github.com/edgexfoundry/app-functions-sdk-go/appcontext 0.031s coverage: 86.2% of statements 22:45:13 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.027s coverage: 81.6% of statements 22:45:13 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.006s coverage: 94.4% of statements 22:45:13 FAIL 22:45:13 make: *** [Makefile:6: test] Error 1 [Pipeline] } 22:45:13 $ docker stop --time=1 a7fc2ee5534bb84bb063153d2d3887e161d14197d2e49e321c35dbd6cea19e3c 22:45:15 ok github.com/edgexfoundry/app-functions-sdk-go/appsdk 0.064s coverage: 47.9% of statements 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/container [no test files] 22:45:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/bootstrap/handlers 0.093s coverage: 61.5% of statements 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/common [no test files] 22:45:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/runtime 0.069s coverage: 69.1% of statements 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/contracts [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/interfaces/mocks [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis [no test files] 22:45:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/store/db/redis/models 0.014s coverage: 97.7% of statements 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/telemetry [no test files] 22:45:15 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger [no test files] 22:45:15 ok github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/http 0.035s coverage: 8.8% of statements 22:45:15 $ docker rm -f a7fc2ee5534bb84bb063153d2d3887e161d14197d2e49e321c35dbd6cea19e3c [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] } 22:45:18 Failed in branch amd64 22:45:25 --- FAIL: TestInitializeAndProcessEventWithNoOutput (3.31s) 22:45:25 messaging_test.go:175: 22:45:25 Error Trace: messaging_test.go:175 22:45:25 Error: Should be true 22:45:25 Test: TestInitializeAndProcessEventWithNoOutput 22:45:25 Messages: Transform never called 22:45:25 FAIL 22:45:25 coverage: 76.6% of statements 22:45:25 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/messagebus 6.946s 22:45:25 ? github.com/edgexfoundry/app-functions-sdk-go/internal/trigger/mqtt [no test files] 22:45:25 ok github.com/edgexfoundry/app-functions-sdk-go/internal/v2/controller/http 0.072s coverage: 87.9% of statements 22:45:25 --- FAIL: TestConfigureAndConfigRoute (0.00s) 22:45:25 server_test.go:116: 22:45:25 Error Trace: server_test.go:116 22:45:25 Error: Not equal: 22:45:25 expected: "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopic\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" 22:45:25 actual : "{\"Writable\":{\"LogLevel\":\"\",\"Pipeline\":{\"ExecutionOrder\":\"\",\"UseTargetTypeOfByteArray\":false,\"Functions\":null},\"StoreAndForward\":{\"Enabled\":false,\"RetryInterval\":\"\",\"MaxRetryCount\":0},\"InsecureSecrets\":null},\"Registry\":{\"Host\":\"\",\"Port\":0,\"Type\":\"\"},\"Service\":{\"BootTimeout\":\"\",\"CheckInterval\":\"\",\"Host\":\"\",\"HTTPSCert\":\"\",\"HTTPSKey\":\"\",\"ServerBindAddr\":\"\",\"Port\":0,\"Protocol\":\"\",\"StartupMsg\":\"\",\"ReadMaxLimit\":0,\"Timeout\":\"\"},\"MessageBus\":{\"PublishHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"SubscribeHost\":{\"Host\":\"\",\"Port\":0,\"Protocol\":\"\"},\"Type\":\"\",\"Optional\":null},\"MqttBroker\":{\"Url\":\"\",\"ClientId\":\"\",\"ConnectTimeout\":\"\",\"AutoReconnect\":false,\"KeepAlive\":0,\"QoS\":0,\"Retain\":false,\"SkipCertVerify\":false,\"SecretPath\":\"\",\"AuthMode\":\"\"},\"Binding\":{\"Type\":\"\",\"SubscribeTopics\":\"\",\"PublishTopic\":\"\"},\"ApplicationSettings\":null,\"Clients\":null,\"Database\":{\"Type\":\"\",\"Host\":\"\",\"Port\":0,\"Timeout\":\"\",\"MaxIdle\":0,\"BatchSize\":0},\"SecretStore\":{\"Host\":\"\",\"Port\":0,\"Path\":\"\",\"Protocol\":\"\",\"Namespace\":\"\",\"RootCaCertPath\":\"\",\"ServerName\":\"\",\"Authentication\":{\"AuthType\":\"\",\"AuthToken\":\"\"},\"AdditionalRetryAttempts\":0,\"RetryWaitPeriod\":\"\",\"TokenFile\":\"\"}}\n" 22:45:25 22:45:25 Diff: 22:45:25 --- Expected 22:45:25 +++ Actual 22:45:25 @@ -1,2 +1,2 @@ 22:45:25 -{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopic":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} 22:45:25 +{"Writable":{"LogLevel":"","Pipeline":{"ExecutionOrder":"","UseTargetTypeOfByteArray":false,"Functions":null},"StoreAndForward":{"Enabled":false,"RetryInterval":"","MaxRetryCount":0},"InsecureSecrets":null},"Registry":{"Host":"","Port":0,"Type":""},"Service":{"BootTimeout":"","CheckInterval":"","Host":"","HTTPSCert":"","HTTPSKey":"","ServerBindAddr":"","Port":0,"Protocol":"","StartupMsg":"","ReadMaxLimit":0,"Timeout":""},"MessageBus":{"PublishHost":{"Host":"","Port":0,"Protocol":""},"SubscribeHost":{"Host":"","Port":0,"Protocol":""},"Type":"","Optional":null},"MqttBroker":{"Url":"","ClientId":"","ConnectTimeout":"","AutoReconnect":false,"KeepAlive":0,"QoS":0,"Retain":false,"SkipCertVerify":false,"SecretPath":"","AuthMode":""},"Binding":{"Type":"","SubscribeTopics":"","PublishTopic":""},"ApplicationSettings":null,"Clients":null,"Database":{"Type":"","Host":"","Port":0,"Timeout":"","MaxIdle":0,"BatchSize":0},"SecretStore":{"Host":"","Port":0,"Path":"","Protocol":"","Namespace":"","RootCaCertPath":"","ServerName":"","Authentication":{"AuthType":"","AuthToken":""},"AdditionalRetryAttempts":0,"RetryWaitPeriod":"","TokenFile":""}} 22:45:25 22:45:25 Test: TestConfigureAndConfigRoute 22:45:25 FAIL 22:45:25 coverage: 80.5% of statements 22:45:25 FAIL github.com/edgexfoundry/app-functions-sdk-go/internal/webserver 0.073s 22:45:25 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/secure 0.017s coverage: 71.7% of statements 22:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/transforms 25.058s coverage: 81.6% of statements 22:45:47 ok github.com/edgexfoundry/app-functions-sdk-go/pkg/util 0.018s coverage: 94.4% of statements 22:45:47 FAIL 22:45:47 make: *** [Makefile:6: test] Error 1 [Pipeline] } 22:45:47 $ docker stop --time=1 1c94043690383437b23662dc761e025fc2738f4ab1b4dc562cd253207e6bcbe2 22:45:49 $ docker rm -f 1c94043690383437b23662dc761e025fc2738f4ab1b4dc562cd253207e6bcbe2 [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] } 22:45:52 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 22:45:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:45:57 ---> package-listing.sh 22:45:57 ++ facter osfamily 22:45:57 ++ tr '[:upper:]' '[:lower:]' 22:45:57 + OS_FAMILY=redhat 22:45:57 + workspace=/w/workspace/ndry_app-functions-sdk-go_PR-625 22:45:57 + START_PACKAGES=/tmp/packages_start.txt 22:45:57 + END_PACKAGES=/tmp/packages_end.txt 22:45:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:45:57 + PACKAGES=/tmp/packages_start.txt 22:45:57 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-625 ']' 22:45:57 + PACKAGES=/tmp/packages_end.txt 22:45:57 + case "${OS_FAMILY}" in 22:45:57 + rpm -qa 22:45:57 + sort 22:46:06 + '[' -f /tmp/packages_start.txt ']' 22:46:06 + '[' -f /tmp/packages_end.txt ']' 22:46:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:46:06 + '[' /w/workspace/ndry_app-functions-sdk-go_PR-625 ']' 22:46:06 + mkdir -p /w/workspace/ndry_app-functions-sdk-go_PR-625/archives/ 22:46:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ndry_app-functions-sdk-go_PR-625/archives/ [Pipeline] echo 22:46:06 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-625/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:46:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:46:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:46:07 22:46:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:46:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:46:08 alpine: Pulling from edgex-lftools-log-publisher 22:46:08 df20fa9351a1: Pulling fs layer 22:46:08 36b3adc4ff6f: Pulling fs layer 22:46:08 8ad3a11d3b57: Pulling fs layer 22:46:08 46f8f816bc3b: Pulling fs layer 22:46:08 93b61091891f: Pulling fs layer 22:46:08 93b9cdb0e59b: Pulling fs layer 22:46:08 5e14af77c1be: Pulling fs layer 22:46:08 01666e4c0597: Pulling fs layer 22:46:08 aa168da1d23b: Pulling fs layer 22:46:08 46f8f816bc3b: Waiting 22:46:08 93b61091891f: Waiting 22:46:08 93b9cdb0e59b: Waiting 22:46:08 5e14af77c1be: Waiting 22:46:08 01666e4c0597: Waiting 22:46:08 aa168da1d23b: Waiting 22:46:08 36b3adc4ff6f: Download complete 22:46:08 46f8f816bc3b: Verifying Checksum 22:46:08 46f8f816bc3b: Download complete 22:46:08 93b61091891f: Verifying Checksum 22:46:08 93b61091891f: Download complete 22:46:08 93b9cdb0e59b: Verifying Checksum 22:46:08 93b9cdb0e59b: Download complete 22:46:08 df20fa9351a1: Verifying Checksum 22:46:08 df20fa9351a1: Download complete 22:46:08 5e14af77c1be: Verifying Checksum 22:46:08 5e14af77c1be: Download complete 22:46:08 01666e4c0597: Verifying Checksum 22:46:08 01666e4c0597: Download complete 22:46:09 8ad3a11d3b57: Verifying Checksum 22:46:09 8ad3a11d3b57: Download complete 22:46:09 df20fa9351a1: Pull complete 22:46:09 36b3adc4ff6f: Pull complete 22:46:11 8ad3a11d3b57: Pull complete 22:46:12 46f8f816bc3b: Pull complete 22:46:12 93b61091891f: Pull complete 22:46:13 93b9cdb0e59b: Pull complete 22:46:13 5e14af77c1be: Pull complete 22:46:13 01666e4c0597: Pull complete 22:46:14 aa168da1d23b: Verifying Checksum 22:46:14 aa168da1d23b: Download complete 22:46:29 aa168da1d23b: Pull complete 22:46:29 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:46:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:46:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:46:29 prd-centos7-docker-4c-2g-18305 does not seem to be running inside a container 22:46:30 $ 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-625/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-625 -v /w/workspace/ndry_app-functions-sdk-go_PR-625:/w/workspace/ndry_app-functions-sdk-go_PR-625:rw,z -v /w/workspace/ndry_app-functions-sdk-go_PR-625@tmp:/w/workspace/ndry_app-functions-sdk-go_PR-625@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:46:33 $ docker top 7c40c8187dcaf6878cd213bdbb694f779bcaa45e9bb3a5d1c408b9917e0e2cc8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:34 + touch /tmp/pre-build-complete [Pipeline] sh 22:46:35 + mkdir -p /var/log/sa [Pipeline] sh 22:46:35 + ls /var/log/sa-host 22:46:35 + sadf -c /var/log/sa-host/sa04 22:46:35 file_magic: OK 22:46:35 HZ: Using current value: 100 22:46:35 file_header: OK 22:46:35 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 22:46:35 Statistics: 22:46:35 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:46:35 File successfully converted to sysstat format version 12.2.1 22:46:35 + sadf -c /var/log/sa-host/sa23 22:46:35 file_magic: OK 22:46:35 HZ: Using current value: 100 22:46:35 file_header: OK 22:46:35 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 22:46:35 Statistics: 22:46:35 Hnuu...uuuununununu... 22:46:35 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:36 provisioning config files... 22:46:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ndry_app-functions-sdk-go_PR-625@tmp/config7606012953267946042tmp [Pipeline] { [Pipeline] echo 22:46:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:46:37 ---> create-netrc.sh [Pipeline] } 22:46:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 22:46:37 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 22:46:38 ---> python-tools-install.sh [Pipeline] echo 22:46:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:46:39 ---> sudo-logs.sh 22:46:39 Archiving 'sudo' log.. [Pipeline] echo 22:46:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:46:39 ---> job-cost.sh 22:46:39 lf-activate-venv: SKIPPING 22:46:39 INFO: No Stack... 22:46:40 INFO: Retrieving Pricing Info for: v1-standard-2 22:46:41 INFO: Archiving Costs [Pipeline] echo 22:46:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:46:42 ---> logs-deploy.sh 22:46:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-functions-sdk-go/PR-625/1 22:46:42 INFO: archiving workspace using pattern(s): 22:46:45 Archives upload complete. 22:46:45 INFO: archiving logs to Nexus