Branch indexing 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 judehung for edgexfoundry/edgex-go Obtained Jenkinsfile from ef0800e6795d22901ea6a00f4265e039f4be3480+68a8f910767166238b38b7946bcb5bba3869a893 (0d9e869c75fd366bfaa038a332521329b47d0bc5) 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 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 > 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 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 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoParallel] RAW Config: [project:edgex-go, dockerFileGlobPath:cmd/**/Dockerfile, testScript:make test, buildScript:make build, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2], buildSnap:true] ========================================================= [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 ========================================================= [edgeXBuildGoParallel] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: edgex-go-settings PROJECT: edgex-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.15 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_GLOB: cmd/**/Dockerfile DOCKER_IMAGE_NAME_PREFIX: docker- DOCKER_IMAGE_NAME_SUFFIX: -go DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true SEMVER_BUMP_LEVEL: pre GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v1 openapi/v2 BUILD_SNAP: true 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-17836 in /w/workspace/edgexfoundry_edgex-go_PR-2968 [Pipeline] { [Pipeline] ws Running in /w/workspace/edgex-go/4 [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/edgex-go.git > git init /w/workspace/edgex-go/4 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-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/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/master commit 68a8f910767166238b38b7946bcb5bba3869a893 into PR head commit ef0800e6795d22901ea6a00f4265e039f4be3480 Merge succeeded, producing abe818e46277deb6a4927a77a792318765af1e01 Checking out Revision abe818e46277deb6a4927a77a792318765af1e01 (PR-2968) > git config remote.origin.url git@github.com:edgexfoundry/edgex-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/edgex-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2968/head:refs/remotes/origin/PR-2968 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ef0800e6795d22901ea6a00f4265e039f4be3480 # 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 68a8f910767166238b38b7946bcb5bba3869a893 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f abe818e46277deb6a4927a77a792318765af1e01 # timeout=10 Commit message: "Merge commit '68a8f910767166238b38b7946bcb5bba3869a893' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:30:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:30:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:30:15 ========================================================= 00:30:15 EdgeX Global Pipelines Version Info 00:30:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 59d2884fa08ea6c0633b702c37da70f23f06e363 # timeout=10 00:30:17 ------------------- 00:30:17 stable info: 00:30:17 ------------------- 00:30:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:30:17 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:30:17 Message: update stable to v1.0.173 00:30:18 ------------------- 00:30:18 experimental info: 00:30:18 ------------------- 00:30:18 Commited By: **** collab-it+edgex@linuxfoundation.org 00:30:18 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:30:18 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = edgex-go-settings [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar PROJECT = edgex-go [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:30:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_GLOB = cmd/**/Dockerfile [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_PREFIX = docker- [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME_SUFFIX = -go [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:30:19 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-2968 [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-2968 [Pipeline] echo 00:30:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-2968 [Pipeline] echo 00:30:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abe818e46277deb6a4927a77a792318765af1e01 [Pipeline] echo 00:30:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abe818e [Pipeline] echo 00:30:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:30:21 provisioning config files... 00:30:21 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config6938050850548217700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:30:21 ---> docker-login.sh 00:30:21 nexus3.edgexfoundry.org:10001 00:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:22 Configure a credential helper to remove this warning. See 00:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:22 00:30:22 Login Succeeded 00:30:22 nexus3.edgexfoundry.org:10002 00:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:22 Configure a credential helper to remove this warning. See 00:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:22 00:30:22 Login Succeeded 00:30:22 nexus3.edgexfoundry.org:10003 00:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:22 Configure a credential helper to remove this warning. See 00:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:22 00:30:22 Login Succeeded 00:30:22 nexus3.edgexfoundry.org:10004 00:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:22 Configure a credential helper to remove this warning. See 00:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:22 00:30:22 Login Succeeded 00:30:22 docker.io 00:30:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:30:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:30:23 Configure a credential helper to remove this warning. See 00:30:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:30:23 00:30:23 Login Succeeded 00:30:23 ---> docker-login.sh ends [Pipeline] } 00:30:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:23 ++ ls cmd/core-command/Dockerfile cmd/core-data/Dockerfile cmd/core-metadata/Dockerfile cmd/security-bootstrap-redis/Dockerfile cmd/security-proxy-setup/Dockerfile cmd/security-secretstore-setup/Dockerfile cmd/support-notifications/Dockerfile cmd/support-scheduler/Dockerfile cmd/sys-mgmt-agent/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/core-command/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo core-command,cmd/core-command/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/core-data/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo core-data,cmd/core-data/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/core-metadata/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo core-metadata,cmd/core-metadata/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/security-bootstrap-redis/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo security-bootstrap-redis,cmd/security-bootstrap-redis/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/security-proxy-setup/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo security-proxy-setup,cmd/security-proxy-setup/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/security-secretstore-setup/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo security-secretstore-setup,cmd/security-secretstore-setup/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/support-notifications/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo support-notifications,cmd/support-notifications/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/support-scheduler/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo support-scheduler,cmd/support-scheduler/Dockerfile 00:30:23 + for file in '`ls cmd/**/Dockerfile`' 00:30:23 ++ dirname cmd/sys-mgmt-agent/Dockerfile 00:30:23 ++ cut -d/ -f2 00:30:23 + echo sys-mgmt-agent,cmd/sys-mgmt-agent/Dockerfile [Pipeline] echo 00:30:23 Generate Dockers from filesystem: [[image:docker-core-command-go, dockerfile:cmd/core-command/Dockerfile], [image:docker-core-data-go, dockerfile:cmd/core-data/Dockerfile], [image:docker-core-metadata-go, dockerfile:cmd/core-metadata/Dockerfile], [image:docker-security-bootstrap-redis-go, dockerfile:cmd/security-bootstrap-redis/Dockerfile], [image:docker-security-proxy-setup-go, dockerfile:cmd/security-proxy-setup/Dockerfile], [image:docker-security-secretstore-setup-go, dockerfile:cmd/security-secretstore-setup/Dockerfile], [image:docker-support-notifications-go, dockerfile:cmd/support-notifications/Dockerfile], [image:docker-support-scheduler-go, dockerfile:cmd/support-scheduler/Dockerfile], [image:docker-sys-mgmt-agent-go, dockerfile:cmd/sys-mgmt-agent/Dockerfile]] [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] isUnix [Pipeline] sh 00:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:25 00:30:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:30:25 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:25 latest: Pulling from edgex-devops/git-semver 00:30:25 31603596830f: Pulling fs layer 00:30:25 2a8b12db71e7: Pulling fs layer 00:30:25 6ca5941a6612: Pulling fs layer 00:30:25 ecc8261a40a4: Pulling fs layer 00:30:25 ecc8261a40a4: Waiting 00:30:25 2a8b12db71e7: Verifying Checksum 00:30:25 2a8b12db71e7: Download complete 00:30:25 31603596830f: Verifying Checksum 00:30:25 31603596830f: Download complete 00:30:25 6ca5941a6612: Verifying Checksum 00:30:25 6ca5941a6612: Download complete 00:30:25 ecc8261a40a4: Verifying Checksum 00:30:25 ecc8261a40a4: Download complete 00:30:25 31603596830f: Pull complete 00:30:26 2a8b12db71e7: Pull complete 00:30:27 6ca5941a6612: Pull complete 00:30:27 ecc8261a40a4: Pull complete 00:30:27 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:30:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:30:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:30:27 prd-centos7-docker-4c-2g-17836 does not seem to be running inside a container 00:30:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:30:29 $ docker top bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:30:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:30 [ssh-agent] Looking for ssh-agent implementation... 00:30:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:30 $ docker exec bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c ssh-agent 00:30:30 SSH_AUTH_SOCK=/tmp/ssh-TX0mqxmw2yve/agent.12 00:30:30 SSH_AGENT_PID=17 00:30:30 Running ssh-add (command line suppressed) 00:30:30 Identity added: /w/workspace/edgex-go/4@tmp/private_key_8430271263299920543.key (/w/workspace/edgex-go/4@tmp/private_key_8430271263299920543.key) 00:30:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:31 + git tag --points-at HEAD [Pipeline] } 00:30:31 $ docker exec --env ******** --env ******** bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c ssh-agent -k 00:30:31 unset SSH_AUTH_SOCK; 00:30:31 unset SSH_AGENT_PID; 00:30:31 echo Agent pid 17 killed; 00:30:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:30:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:30:31 [ssh-agent] Looking for ssh-agent implementation... 00:30:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:30:31 $ docker exec bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c ssh-agent 00:30:31 SSH_AUTH_SOCK=/tmp/ssh-ANK9X60hn91F/agent.49 00:30:31 SSH_AGENT_PID=54 00:30:31 Running ssh-add (command line suppressed) 00:30:32 Identity added: /w/workspace/edgex-go/4@tmp/private_key_5875500691792599808.key (/w/workspace/edgex-go/4@tmp/private_key_5875500691792599808.key) 00:30:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:30:32 + git semver init 00:30:32 # -> Open(): unable to determine branch for HEAD 00:30:32 # $GIT_DIR = /w/workspace/edgex-go/4/.git 00:30:32 # $GIT_WORK_TREE = /w/workspace/edgex-go/4 00:30:32 # $SEMVER_REMOTE_NAME = origin 00:30:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:30:32 # $SEMVER_USER_NAME = edgex-jenkins 00:30:32 # $SEMVER_BRANCH = PR-2968 00:30:32 # $SEMVER_TEMP = /tmp/semver-895267507 00:30:32 # git clone --branch semver git@github.com:edgexfoundry/edgex-go.git $SEMVER_TEMP 00:30:50 # '/tmp/semver-895267507' -> '/w/workspace/edgex-go/4/.semver' 00:30:50 # -> Force: false 00:30:50 # $SEMVER_DIR = /w/workspace/edgex-go/4/.semver [Pipeline] } 00:30:50 $ docker exec --env ******** --env ******** bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c ssh-agent -k 00:30:50 unset SSH_AUTH_SOCK; 00:30:50 unset SSH_AGENT_PID; 00:30:50 echo Agent pid 54 killed; 00:30:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:30:51 + git semver [Pipeline] } 00:30:51 $ docker stop --time=1 bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c 00:30:53 $ docker rm -f bc515b8370140e0abfa1801f36a457161669d604bc37cc756b46ebb7739fe45c [Pipeline] // withDockerContainer [Pipeline] sh 00:30:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:30:54 Stashed 1 file(s) [Pipeline] echo 00:30:54 [edgeXSemver]: initialized semver on version 0.0.0 [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] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:30:55 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:30:55 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:30:55 + sudo service docker restart 00:30:55 + true 00:30:55 Redirecting to /bin/systemctl restart docker.service [Pipeline] echo 00:30:56 ========================================================= 00:30:56 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:30:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:30:56 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 00:31:01 Sending build context to Docker daemon 326.3MB 00:31:01 Step 1/7 : ARG BASE=golang:1.15-alpine 00:31:01 Step 2/7 : FROM ${BASE} 00:31:01 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:31:01 188c0c94c7c5: Pulling fs layer 00:31:01 0ef7d3d256c8: Pulling fs layer 00:31:01 de9db76c5a1d: Pulling fs layer 00:31:01 bca2f99d35d6: Pulling fs layer 00:31:01 93359f2a8cfa: Pulling fs layer 00:31:01 7c6f9722023f: Pulling fs layer 00:31:01 a35cf1a2eb13: Pulling fs layer 00:31:01 93359f2a8cfa: Waiting 00:31:01 7c6f9722023f: Waiting 00:31:01 a35cf1a2eb13: Waiting 00:31:01 bca2f99d35d6: Waiting 00:31:01 de9db76c5a1d: Download complete 00:31:01 0ef7d3d256c8: Download complete 00:31:01 93359f2a8cfa: Download complete 00:31:01 7c6f9722023f: Download complete 00:31:01 188c0c94c7c5: Verifying Checksum 00:31:01 188c0c94c7c5: Download complete 00:31:01 188c0c94c7c5: Pull complete 00:31:01 0ef7d3d256c8: Pull complete 00:31:01 de9db76c5a1d: Pull complete 00:31:03 a35cf1a2eb13: Verifying Checksum 00:31:03 a35cf1a2eb13: Download complete 00:31:03 bca2f99d35d6: Verifying Checksum 00:31:03 bca2f99d35d6: Download complete 00:31:09 bca2f99d35d6: Pull complete 00:31:09 93359f2a8cfa: Pull complete 00:31:09 7c6f9722023f: Pull complete 00:31:09 Still waiting to schedule task 00:31:09 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-17833’ 00:31:16 a35cf1a2eb13: Pull complete 00:31:16 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:31:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:31:16 ---> a62c8e92a672 00:31:16 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:31:16 ---> Running in 80066720ff3f 00:31:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:31:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:31:18 (1/12) Installing libmagic (5.38-r0) 00:31:18 (2/12) Installing file (5.38-r0) 00:31:18 (3/12) Installing libc-dev (0.7.2-r3) 00:31:18 (4/12) Installing g++ (9.3.0-r2) 00:31:37 (5/12) Installing fortify-headers (1.1-r0) 00:31:37 (6/12) Installing patch (2.7.6-r6) 00:31:37 (7/12) Installing build-base (0.5-r2) 00:31:37 (8/12) Installing libsodium (1.0.18-r0) 00:31:37 (9/12) Installing pkgconf (1.7.2-r0) 00:31:37 (10/12) Installing libsodium-dev (1.0.18-r0) 00:31:37 (11/12) Installing libzmq (4.3.3-r0) 00:31:38 (12/12) Installing zeromq-dev (4.3.3-r0) 00:31:38 Executing busybox-1.31.1-r19.trigger 00:31:38 OK: 233 MiB in 51 packages 00:31:42 Removing intermediate container 80066720ff3f 00:31:42 ---> de663e52ef18 00:31:42 Step 4/7 : WORKDIR /edgex-go 00:31:42 ---> Running in 9ba36c570e0f 00:31:42 Removing intermediate container 9ba36c570e0f 00:31:42 ---> b4c3b7ca2ea3 00:31:42 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:31:42 latest: Pulling from library/docker 00:31:42 801bfaa63ef2: Pulling fs layer 00:31:42 4f7dc993c79e: Pulling fs layer 00:31:42 d39d95e4997f: Pulling fs layer 00:31:42 1cda4b703d87: Pulling fs layer 00:31:42 54e5375350ea: Pulling fs layer 00:31:42 f08cd1b3bb1b: Pulling fs layer 00:31:42 8e17d04e0c68: Pulling fs layer 00:31:42 1cda4b703d87: Waiting 00:31:42 54e5375350ea: Waiting 00:31:42 f08cd1b3bb1b: Waiting 00:31:42 8e17d04e0c68: Waiting 00:31:42 d39d95e4997f: Verifying Checksum 00:31:42 d39d95e4997f: Download complete 00:31:42 801bfaa63ef2: Verifying Checksum 00:31:42 801bfaa63ef2: Download complete 00:31:42 4f7dc993c79e: Verifying Checksum 00:31:42 4f7dc993c79e: Download complete 00:31:43 f08cd1b3bb1b: Verifying Checksum 00:31:43 f08cd1b3bb1b: Download complete 00:31:43 801bfaa63ef2: Pull complete 00:31:43 8e17d04e0c68: Verifying Checksum 00:31:43 8e17d04e0c68: Download complete 00:31:43 4f7dc993c79e: Pull complete 00:31:43 d39d95e4997f: Pull complete 00:31:43 1cda4b703d87: Download complete 00:31:43 54e5375350ea: Verifying Checksum 00:31:43 54e5375350ea: Download complete 00:31:46 1cda4b703d87: Pull complete 00:31:46 54e5375350ea: Pull complete 00:31:46 f08cd1b3bb1b: Pull complete 00:31:47 8e17d04e0c68: Pull complete 00:31:47 Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 00:31:47 Status: Downloaded newer image for docker:latest 00:31:48 ---> 9a638a5da348 00:31:48 Step 6/7 : COPY go.mod . 00:31:49 ---> c3ca13463c07 00:31:49 Step 7/7 : RUN go mod download 00:31:49 ---> Running in 42f9d6ac7687 00:32:11 Removing intermediate container 42f9d6ac7687 00:32:11 ---> 906779b0ab10 00:32:11 Successfully built 906779b0ab10 00:32:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:32:11 + docker inspect -f . ci-base-image-x86_64 00:32:11 . [Pipeline] withDockerContainer 00:32:11 prd-centos7-docker-4c-2g-17836 does not seem to be running inside a container 00:32:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:12 $ docker top 2940b04c3395e9756c3451d50a6f8b5906f9d94656ce6948142da3a7888054a1 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:12 + go version 00:32:12 go version go1.15.5 linux/amd64 [Pipeline] } 00:32:12 $ docker stop --time=1 2940b04c3395e9756c3451d50a6f8b5906f9d94656ce6948142da3a7888054a1 00:32:14 $ docker rm -f 2940b04c3395e9756c3451d50a6f8b5906f9d94656ce6948142da3a7888054a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:32:15 + docker inspect -f . ci-base-image-x86_64 00:32:15 . [Pipeline] withDockerContainer 00:32:15 prd-centos7-docker-4c-2g-17836 does not seem to be running inside a container 00:32:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:32:16 $ docker top aa249d9dcad27c138acbda594140b5165359a320a9136c063e0202085bbf6d8c -eo pid,comm [Pipeline] { [Pipeline] echo 00:32:16 ========================================================= 00:32:16 [edgeXBuildGoParallel] Running Tests and Build... 00:32:16 ========================================================= [Pipeline] sh 00:32:16 + make test 00:32:16 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:32:26 ? github.com/edgexfoundry/edgex-go [no test files] 00:32:42 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:32:46 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:32:47 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:32:49 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:32:51 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.088s coverage: 46.6% of statements 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:32:51 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:32:52 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 00:32:52 internal/core/data/v2/application/event_test.go:83:18: undefined: dtos 00:32:52 internal/core/data/v2/application/event_test.go:96:18: undefined: dtos 00:32:52 internal/core/data/v2/application/event_test.go:109:18: undefined: dtos 00:32:54 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.175s coverage: 27.0% of statements 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:32:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.045s coverage: 100.0% of statements 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:32:54 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.036s coverage: 100.0% of statements 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:32:54 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:32:54 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:32:55 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.431s coverage: 83.1% of statements 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:32:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 0.357s coverage: 28.6% of statements 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:32:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.062s coverage: 100.0% of statements 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:32:55 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.030s coverage: 100.0% of statements 00:32:55 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:32:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.118s coverage: 86.7% of statements 00:32:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.136s coverage: 97.5% of statements 00:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:32:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.054s coverage: 78.3% of statements 00:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:32:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:32:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 0.362s coverage: 93.8% of statements 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:32:58 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.026s coverage: 58.8% of statements 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:32:58 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.055s coverage: 0.1% of statements 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:32:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.034s coverage: 100.0% of statements 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:32:58 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.041s coverage: 75.5% of statements 00:32:58 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.042s coverage: 80.8% of statements 00:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.084s coverage: 87.2% of statements 00:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.052s coverage: 84.2% of statements 00:32:59 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.120s coverage: 91.4% of statements 00:32:59 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.228s coverage: 63.5% of statements 00:33:00 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:33:00 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.051s coverage: 100.0% of statements 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.052s coverage: 91.3% of statements 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.033s coverage: 100.0% of statements 00:33:00 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.045s coverage: 73.7% of statements 00:33:01 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.036s coverage: 100.0% of statements 00:33:02 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.353s coverage: 55.9% of statements 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:33:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.093s coverage: 37.0% of statements 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:33:02 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:33:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 0.305s coverage: 84.0% of statements 00:33:02 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.049s coverage: 100.0% of statements 00:33:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.130s coverage: 47.1% of statements 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:33:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.081s coverage: 100.0% of statements 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:33:04 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.065s coverage: 100.0% of statements 00:33:04 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 0.696s coverage: 29.1% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.086s coverage: 99.0% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.069s coverage: 100.0% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system 0.023s coverage: 0.0% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.023s coverage: 100.0% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.049s coverage: 87.9% of statements 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:33:06 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.032s coverage: 100.0% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.033s coverage: 32.1% of statements 00:33:06 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.043s coverage: 100.0% of statements 00:33:06 FAIL 00:33:07 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:33:07 $ docker stop --time=1 aa249d9dcad27c138acbda594140b5165359a320a9136c063e0202085bbf6d8c 00:33:09 $ docker rm -f aa249d9dcad27c138acbda594140b5165359a320a9136c063e0202085bbf6d8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] // stage [Pipeline] } 00:33:11 Failed in branch amd64 00:33:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17845 in /w/workspace/edgexfoundry_edgex-go_PR-2968 [Pipeline] { [Pipeline] ws 00:33:37 Running in /w/workspace/edgex-go/4 [Pipeline] { [Pipeline] checkout 00:33:43 using credential edgex-jenkins-ssh 00:33:43 Cloning the remote Git repository 00:33:43 Cloning repository git@github.com:edgexfoundry/edgex-go.git 00:33:43 > git init /w/workspace/edgex-go/4 # timeout=10 00:33:43 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:33:43 > git --version # timeout=10 00:33:43 > git --version # 'git version 2.17.1' 00:33:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:33:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:34:08 > git config remote.origin.url git@github.com:edgexfoundry/edgex-go.git # timeout=10 00:34:08 Fetching upstream changes from git@github.com:edgexfoundry/edgex-go.git 00:34:08 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-go.git +refs/pull/2968/head:refs/remotes/origin/PR-2968 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:34:09 Merging remotes/origin/master commit 68a8f910767166238b38b7946bcb5bba3869a893 into PR head commit ef0800e6795d22901ea6a00f4265e039f4be3480 00:34:09 Merge succeeded, producing ed623035883be3e9fd3fd47d8d93aa3b5b12843f 00:34:09 Checking out Revision ed623035883be3e9fd3fd47d8d93aa3b5b12843f (PR-2968) 00:34:09 > git config core.sparsecheckout # timeout=10 00:34:09 > git checkout -f ef0800e6795d22901ea6a00f4265e039f4be3480 # timeout=10 00:34:09 > git remote # timeout=10 00:34:09 > git config --get remote.origin.url # timeout=10 00:34:09 using GIT_SSH to set credentials SSH Credentials for GitHub 00:34:09 > git merge 68a8f910767166238b38b7946bcb5bba3869a893 # timeout=10 00:34:09 > git rev-parse HEAD^{commit} # timeout=10 00:34:09 > git config core.sparsecheckout # timeout=10 00:34:09 > git checkout -f ed623035883be3e9fd3fd47d8d93aa3b5b12843f # timeout=10 00:34:14 Commit message: "Merge commit '68a8f910767166238b38b7946bcb5bba3869a893' into HEAD" 00:34:14 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:34:15 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:34:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:34:14 > git rev-list --no-walk 59d2884fa08ea6c0633b702c37da70f23f06e363 # timeout=10 00:34:16 + sudo service docker restart 00:34:16 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:34:18 provisioning config files... 00:34:18 copy managed file [edgex-go-settings] to file:/w/workspace/edgex-go/4@tmp/config6168976570482714108tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:34:19 ---> docker-login.sh 00:34:19 nexus3.edgexfoundry.org:10001 00:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:20 Configure a credential helper to remove this warning. See 00:34:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:20 00:34:20 Login Succeeded 00:34:20 nexus3.edgexfoundry.org:10002 00:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:21 Configure a credential helper to remove this warning. See 00:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:21 00:34:21 Login Succeeded 00:34:21 nexus3.edgexfoundry.org:10003 00:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:21 Configure a credential helper to remove this warning. See 00:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:21 00:34:21 Login Succeeded 00:34:21 nexus3.edgexfoundry.org:10004 00:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:22 Configure a credential helper to remove this warning. See 00:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:22 00:34:22 Login Succeeded 00:34:22 docker.io 00:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:34:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:34:23 Configure a credential helper to remove this warning. See 00:34:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:34:23 00:34:23 Login Succeeded 00:34:23 ---> docker-login.sh ends [Pipeline] } 00:34:23 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:34:23 ========================================================= 00:34:23 [edgeXBuildGoParallel] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:34:23 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:34:24 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 00:34:26 Sending build context to Docker daemon 165.4MB 00:34:26 Step 1/7 : ARG BASE=golang:1.15-alpine 00:34:26 Step 2/7 : FROM ${BASE} 00:34:26 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:34:26 5f621e34cdf4: Pulling fs layer 00:34:26 a4357932f1b6: Pulling fs layer 00:34:26 18c013af1878: Pulling fs layer 00:34:26 00ac8860ef70: Pulling fs layer 00:34:26 63d7cb157983: Pulling fs layer 00:34:26 b116817d02f9: Pulling fs layer 00:34:26 745a02a5169b: Pulling fs layer 00:34:26 00ac8860ef70: Waiting 00:34:26 63d7cb157983: Waiting 00:34:26 b116817d02f9: Waiting 00:34:26 745a02a5169b: Waiting 00:34:26 18c013af1878: Verifying Checksum 00:34:26 18c013af1878: Download complete 00:34:26 a4357932f1b6: Verifying Checksum 00:34:26 a4357932f1b6: Download complete 00:34:26 63d7cb157983: Verifying Checksum 00:34:26 63d7cb157983: Download complete 00:34:27 b116817d02f9: Verifying Checksum 00:34:27 b116817d02f9: Download complete 00:34:27 5f621e34cdf4: Verifying Checksum 00:34:27 5f621e34cdf4: Download complete 00:34:28 5f621e34cdf4: Pull complete 00:34:28 a4357932f1b6: Pull complete 00:34:29 18c013af1878: Pull complete 00:34:30 745a02a5169b: Verifying Checksum 00:34:30 745a02a5169b: Download complete 00:34:31 00ac8860ef70: Verifying Checksum 00:34:31 00ac8860ef70: Download complete 00:34:41 00ac8860ef70: Pull complete 00:34:41 63d7cb157983: Pull complete 00:34:42 b116817d02f9: Pull complete 00:34:45 745a02a5169b: Pull complete 00:34:45 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:34:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:34:45 ---> b7e6874047d6 00:34:45 Step 3/7 : RUN apk add --update make git curl bash zeromq-dev libsodium-dev pkgconfig build-base && ln -s /bin/touch /usr/bin/touch 00:34:49 ---> Running in 206f4693b2f3 00:34:50 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:34:51 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:34:53 (1/12) Installing libmagic (5.38-r0) 00:34:54 (2/12) Installing file (5.38-r0) 00:34:54 (3/12) Installing libc-dev (0.7.2-r3) 00:34:54 (4/12) Installing g++ (9.3.0-r2) 00:35:13 (5/12) Installing fortify-headers (1.1-r0) 00:35:13 (6/12) Installing patch (2.7.6-r6) 00:35:13 (7/12) Installing build-base (0.5-r2) 00:35:13 (8/12) Installing libsodium (1.0.18-r0) 00:35:13 (9/12) Installing pkgconf (1.7.2-r0) 00:35:13 (10/12) Installing libsodium-dev (1.0.18-r0) 00:35:13 (11/12) Installing libzmq (4.3.3-r0) 00:35:13 (12/12) Installing zeromq-dev (4.3.3-r0) 00:35:13 Executing busybox-1.31.1-r19.trigger 00:35:13 OK: 217 MiB in 51 packages 00:35:17 Removing intermediate container 206f4693b2f3 00:35:17 ---> 562b9f4f4f6f 00:35:17 Step 4/7 : WORKDIR /edgex-go 00:35:17 ---> Running in 458d21a57fb4 00:35:18 Removing intermediate container 458d21a57fb4 00:35:18 ---> 1dfe3a1070e7 00:35:18 Step 5/7 : COPY --from=docker:latest /usr/local/bin/docker /usr/local/bin/docker 00:35:18 latest: Pulling from library/docker 00:35:19 159e5727ea61: Pulling fs layer 00:35:19 687389c36290: Pulling fs layer 00:35:19 94e28978939c: Pulling fs layer 00:35:19 ea42096754a7: Pulling fs layer 00:35:19 bd61cee6920e: Pulling fs layer 00:35:19 87c4ece4675c: Pulling fs layer 00:35:19 90ca8b2ff088: Pulling fs layer 00:35:19 bd61cee6920e: Waiting 00:35:19 90ca8b2ff088: Waiting 00:35:19 ea42096754a7: Waiting 00:35:19 87c4ece4675c: Waiting 00:35:19 94e28978939c: Download complete 00:35:19 687389c36290: Verifying Checksum 00:35:19 687389c36290: Download complete 00:35:19 159e5727ea61: Download complete 00:35:19 bd61cee6920e: Verifying Checksum 00:35:19 bd61cee6920e: Download complete 00:35:19 87c4ece4675c: Verifying Checksum 00:35:19 87c4ece4675c: Download complete 00:35:19 90ca8b2ff088: Verifying Checksum 00:35:19 90ca8b2ff088: Download complete 00:35:19 159e5727ea61: Pull complete 00:35:20 687389c36290: Pull complete 00:35:20 ea42096754a7: Verifying Checksum 00:35:20 ea42096754a7: Download complete 00:35:21 94e28978939c: Pull complete 00:35:24 ea42096754a7: Pull complete 00:35:25 bd61cee6920e: Pull complete 00:35:25 87c4ece4675c: Pull complete 00:35:25 90ca8b2ff088: Pull complete 00:35:25 Digest: sha256:b1356a9c0d4de04e7009b34940d6969699ba7e71dd9bb495bd04c01ae618c1e3 00:35:25 Status: Downloaded newer image for docker:latest 00:35:29 ---> eb3a8faf16fe 00:35:29 Step 6/7 : COPY go.mod . 00:35:29 ---> 0d2dfaa981d9 00:35:29 Step 7/7 : RUN go mod download 00:35:30 ---> Running in f94c1994f31a 00:35:56 Removing intermediate container f94c1994f31a 00:35:56 ---> 8de7a091ea10 00:35:56 Successfully built 8de7a091ea10 00:35:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:35:57 + docker inspect -f . ci-base-image-arm64 00:35:57 . [Pipeline] withDockerContainer 00:35:57 prd-ubuntu18.04-docker-arm64-4c-16g-17845 does not seem to be running inside a container 00:35:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:35:59 $ docker top 2418e9aa266aac4ffa68cd790033f274b0debff63d15f022b815d875d7f90fb3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:36:00 + go version 00:36:00 go version go1.15.5 linux/arm64 [Pipeline] } 00:36:00 $ docker stop --time=1 2418e9aa266aac4ffa68cd790033f274b0debff63d15f022b815d875d7f90fb3 00:36:02 $ docker rm -f 2418e9aa266aac4ffa68cd790033f274b0debff63d15f022b815d875d7f90fb3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:36:03 + docker inspect -f . ci-base-image-arm64 00:36:03 . [Pipeline] withDockerContainer 00:36:03 prd-ubuntu18.04-docker-arm64-4c-16g-17845 does not seem to be running inside a container 00:36:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /var/run/docker.sock:/var/run/docker.sock --privileged -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:36:05 $ docker top e82535179bcf2c08deed9b2faf383decd2e35665f5a1e7091c82e3d68540172e -eo pid,comm [Pipeline] { [Pipeline] echo 00:36:05 ========================================================= 00:36:05 [edgeXBuildGoParallel] Running Tests and Build... 00:36:05 ========================================================= [Pipeline] sh 00:36:06 + make test 00:36:06 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:36:33 ? github.com/edgexfoundry/edgex-go [no test files] 00:37:12 ? github.com/edgexfoundry/edgex-go/cmd/core-command [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/core-data [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/core-metadata [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/secrets-config [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/security-bootstrap-redis [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/security-file-token-provider [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/security-proxy-setup [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/security-secretstore-setup [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/support-notifications [no test files] 00:37:34 ? github.com/edgexfoundry/edgex-go/cmd/support-scheduler [no test files] 00:37:37 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-agent [no test files] 00:37:37 ? github.com/edgexfoundry/edgex-go/cmd/sys-mgmt-executor [no test files] 00:37:37 ? github.com/edgexfoundry/edgex-go/internal [no test files] 00:37:43 # github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [github.com/edgexfoundry/edgex-go/internal/core/data/v2/application.test] 00:37:43 internal/core/data/v2/application/event_test.go:83:18: undefined: dtos 00:37:43 internal/core/data/v2/application/event_test.go:96:18: undefined: dtos 00:37:43 internal/core/data/v2/application/event_test.go:109:18: undefined: dtos 00:37:44 ok github.com/edgexfoundry/edgex-go/internal/core/command 0.259s coverage: 46.6% of statements 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/config [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/container [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/errors [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces [no test files] 00:37:44 ? github.com/edgexfoundry/edgex-go/internal/core/command/interfaces/mocks [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data 1.468s coverage: 27.0% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/config [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/container [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/errors [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/interfaces/mocks [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/mocks [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading 0.062s coverage: 100.0% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/reading/mocks [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor 0.062s coverage: 100.0% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/operators/value_descriptor/mocks [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2 [no test files] 00:37:50 FAIL github.com/edgexfoundry/edgex-go/internal/core/data/v2/application [build failed] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/application/mocks [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/bootstrap/container [no test files] 00:37:50 ok github.com/edgexfoundry/edgex-go/internal/core/data/v2/controller/http 0.666s coverage: 83.1% of statements 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/infrastructure/interfaces/mocks [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/io [no test files] 00:37:50 ? github.com/edgexfoundry/edgex-go/internal/core/data/v2/mocks [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata 1.290s coverage: 28.6% of statements 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/config [no test files] 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/container [no test files] 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/errors [no test files] 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces [no test files] 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/interfaces/mocks [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable 0.174s coverage: 100.0% of statements 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/addressable/mocks [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command 0.072s coverage: 100.0% of statements 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/command/mocks [no test files] 00:37:56 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device 0.309s coverage: 86.7% of statements 00:37:56 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device/mocks [no test files] 00:37:57 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile 0.340s coverage: 97.5% of statements 00:37:57 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_profile/mocks [no test files] 00:37:58 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service 0.132s coverage: 78.3% of statements 00:37:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/operators/device_service/mocks [no test files] 00:37:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2 [no test files] 00:37:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/application [no test files] 00:37:58 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/bootstrap/container [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/controller/http 1.042s coverage: 93.8% of statements 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/infrastructure/interfaces/mocks [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/core/metadata/v2/io [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/mocks [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/container [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/handlers/database [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/bootstrap/interfaces [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/common [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/container [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/correlation/models [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/db [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/interfaces [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/redis/models [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/db/test [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/errorconcept [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/telemetry 0.053s coverage: 58.8% of statements 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/bootstrap/handlers [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/controller/http [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/pkg/v2/infrastructure/redis 0.159s coverage: 0.1% of statements 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/interfaces [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/pkg/v2/utils [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/security/config [no test files] 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/security/config/command [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/help 0.061s coverage: 100.0% of statements 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/adduser 0.099s coverage: 75.5% of statements 00:38:06 ? github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/common [no test files] 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/deluser 0.069s coverage: 80.8% of statements 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/jwt 0.139s coverage: 87.2% of statements 00:38:06 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/oauth2 0.160s coverage: 84.2% of statements 00:38:09 ok github.com/edgexfoundry/edgex-go/internal/security/config/command/proxy/tls 0.184s coverage: 91.4% of statements 00:38:09 ? github.com/edgexfoundry/edgex-go/internal/security/config/interfaces [no test files] 00:38:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider 0.718s coverage: 63.5% of statements 00:38:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/config [no test files] 00:38:11 ? github.com/edgexfoundry/edgex-go/internal/security/fileprovider/container [no test files] 00:38:11 ok github.com/edgexfoundry/edgex-go/internal/security/fileprovider/mocks 0.082s coverage: 100.0% of statements 00:38:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf 0.097s coverage: 91.3% of statements 00:38:11 ok github.com/edgexfoundry/edgex-go/internal/security/kdf/mocks 0.054s coverage: 100.0% of statements 00:38:11 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader 0.106s coverage: 73.7% of statements 00:38:12 ok github.com/edgexfoundry/edgex-go/internal/security/pipedhexreader/mocks 0.063s coverage: 100.0% of statements 00:38:18 ok github.com/edgexfoundry/edgex-go/internal/security/proxy 0.880s coverage: 55.9% of statements 00:38:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/config [no test files] 00:38:18 ? github.com/edgexfoundry/edgex-go/internal/security/proxy/container [no test files] 00:38:18 ? github.com/edgexfoundry/edgex-go/internal/security/redis [no test files] 00:38:18 ? github.com/edgexfoundry/edgex-go/internal/security/redis/config [no test files] 00:38:18 ? github.com/edgexfoundry/edgex-go/internal/security/redis/container [no test files] 00:38:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstore 0.427s coverage: 37.0% of statements 00:38:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/config [no test files] 00:38:19 ? github.com/edgexfoundry/edgex-go/internal/security/secretstore/container [no test files] 00:38:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient 1.738s coverage: 84.0% of statements 00:38:19 ok github.com/edgexfoundry/edgex-go/internal/security/secretstoreclient/mocks 0.092s coverage: 100.0% of statements 00:38:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications 0.335s coverage: 47.1% of statements 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/config [no test files] 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/container [no test files] 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/errors [no test files] 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces [no test files] 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/interfaces/mocks [no test files] 00:38:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification 0.116s coverage: 100.0% of statements 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/notification/mocks [no test files] 00:38:25 ok github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription 0.100s coverage: 100.0% of statements 00:38:25 ? github.com/edgexfoundry/edgex-go/internal/support/notifications/operators/subscription/mocks [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler 3.353s coverage: 29.1% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/config [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/container [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/errors [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/interfaces/mocks [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval 0.239s coverage: 99.0% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/interval/mocks [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction 0.109s coverage: 100.0% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/support/scheduler/operators/intervalaction/mocks [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system 0.066s coverage: 0.0% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/clients 0.047s coverage: 100.0% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/concurrent [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/config [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/container [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/direct [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/executor 0.112s coverage: 87.9% of statements 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/getconfig [no test files] 00:38:31 ? github.com/edgexfoundry/edgex-go/internal/system/agent/interfaces [no test files] 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/response 0.059s coverage: 100.0% of statements 00:38:31 ok github.com/edgexfoundry/edgex-go/internal/system/agent/setconfig 0.056s coverage: 32.1% of statements 00:38:32 ok github.com/edgexfoundry/edgex-go/internal/system/executor 0.076s coverage: 100.0% of statements 00:38:32 FAIL 00:38:33 make: *** [Makefile:94: test] Error 2 [Pipeline] } 00:38:33 $ docker stop --time=1 e82535179bcf2c08deed9b2faf383decd2e35665f5a1e7091c82e3d68540172e 00:38:35 $ docker rm -f e82535179bcf2c08deed9b2faf383decd2e35665f5a1e7091c82e3d68540172e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Build) Stage "Docker 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] } 00:38:38 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Scan) Stage "Snyk Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 00:38:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:38:41 ---> package-listing.sh 00:38:41 ++ facter osfamily 00:38:41 ++ tr '[:upper:]' '[:lower:]' 00:38:41 + OS_FAMILY=redhat 00:38:41 + workspace=/w/workspace/edgex-go/4 00:38:41 + START_PACKAGES=/tmp/packages_start.txt 00:38:41 + END_PACKAGES=/tmp/packages_end.txt 00:38:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:38:41 + PACKAGES=/tmp/packages_start.txt 00:38:41 + '[' /w/workspace/edgex-go/4 ']' 00:38:41 + PACKAGES=/tmp/packages_end.txt 00:38:41 + case "${OS_FAMILY}" in 00:38:41 + rpm -qa 00:38:41 + sort 00:38:46 + '[' -f /tmp/packages_start.txt ']' 00:38:46 + '[' -f /tmp/packages_end.txt ']' 00:38:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:38:46 + '[' /w/workspace/edgex-go/4 ']' 00:38:46 + mkdir -p /w/workspace/edgex-go/4/archives/ 00:38:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgex-go/4/archives/ [Pipeline] echo 00:38:46 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/edgex-go/4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:38:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:38:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:47 00:38:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:38:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:47 alpine: Pulling from edgex-lftools-log-publisher 00:38:47 df20fa9351a1: Pulling fs layer 00:38:47 36b3adc4ff6f: Pulling fs layer 00:38:47 8ad3a11d3b57: Pulling fs layer 00:38:47 46f8f816bc3b: Pulling fs layer 00:38:47 93b61091891f: Pulling fs layer 00:38:47 93b9cdb0e59b: Pulling fs layer 00:38:47 5e14af77c1be: Pulling fs layer 00:38:47 01666e4c0597: Pulling fs layer 00:38:47 aa168da1d23b: Pulling fs layer 00:38:47 46f8f816bc3b: Waiting 00:38:47 93b61091891f: Waiting 00:38:47 01666e4c0597: Waiting 00:38:47 93b9cdb0e59b: Waiting 00:38:47 5e14af77c1be: Waiting 00:38:47 aa168da1d23b: Waiting 00:38:47 36b3adc4ff6f: Verifying Checksum 00:38:47 36b3adc4ff6f: Download complete 00:38:47 46f8f816bc3b: Verifying Checksum 00:38:47 46f8f816bc3b: Download complete 00:38:47 df20fa9351a1: Verifying Checksum 00:38:47 df20fa9351a1: Download complete 00:38:47 93b9cdb0e59b: Verifying Checksum 00:38:47 93b9cdb0e59b: Download complete 00:38:47 5e14af77c1be: Verifying Checksum 00:38:47 5e14af77c1be: Download complete 00:38:47 8ad3a11d3b57: Verifying Checksum 00:38:47 8ad3a11d3b57: Download complete 00:38:47 01666e4c0597: Verifying Checksum 00:38:47 01666e4c0597: Download complete 00:38:47 93b61091891f: Verifying Checksum 00:38:47 93b61091891f: Download complete 00:38:48 df20fa9351a1: Pull complete 00:38:48 36b3adc4ff6f: Pull complete 00:38:49 8ad3a11d3b57: Pull complete 00:38:49 46f8f816bc3b: Pull complete 00:38:49 aa168da1d23b: Verifying Checksum 00:38:49 93b61091891f: Pull complete 00:38:50 93b9cdb0e59b: Pull complete 00:38:50 5e14af77c1be: Pull complete 00:38:50 01666e4c0597: Pull complete 00:38:57 aa168da1d23b: Pull complete 00:38:57 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:38:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:38:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:38:57 prd-centos7-docker-4c-2g-17836 does not seem to be running inside a container 00:38:57 $ 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/edgex-go/4/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgex-go/4 -v /w/workspace/edgex-go/4:/w/workspace/edgex-go/4:rw,z -v /w/workspace/edgex-go/4@tmp:/w/workspace/edgex-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:39:01 $ docker top 1ba53a2ccb63a6f2978496649023b4bef1a3b591b906b277bb0f7d76b809fdaf -eo pid,comm [Pipeline] { [Pipeline] sh 00:39:02 + touch /tmp/pre-build-complete [Pipeline] sh 00:39:02 + mkdir -p /var/log/sa [Pipeline] sh 00:39:02 + ls /var/log/sa-host 00:39:02 + sadf -c /var/log/sa-host/sa23 00:39:02 file_magic: OK 00:39:02 HZ: Using current value: 100 00:39:02 file_header: OK 00:39:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:39:02 Statistics: 00:39:02 Hnuu...uuuununununu... 00:39:02 File successfully converted to sysstat format version 12.2.1 00:39:02 + sadf -c /var/log/sa-host/sa31 00:39:02 file_magic: OK 00:39:02 HZ: Using current value: 100 00:39:02 file_header: OK 00:39:02 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 00:39:02 Statistics: 00:39:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:39:02 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:39:03 provisioning config files... 00:39:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgex-go/4@tmp/config6580156181084043107tmp [Pipeline] { [Pipeline] echo 00:39:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:39:03 ---> create-netrc.sh [Pipeline] } 00:39:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:39:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:39:04 ---> python-tools-install.sh [Pipeline] echo 00:39:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:39:04 ---> sudo-logs.sh 00:39:04 Archiving 'sudo' log.. [Pipeline] echo 00:39:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:39:04 ---> job-cost.sh 00:39:04 lf-activate-venv: SKIPPING 00:39:04 INFO: No Stack... 00:39:05 INFO: Retrieving Pricing Info for: v1-standard-2 00:39:06 INFO: Archiving Costs [Pipeline] echo 00:39:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:39:06 ---> logs-deploy.sh 00:39:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/edgex-go/PR-2968/4 00:39:06 INFO: archiving workspace using pattern(s): 00:39:08 Archives upload complete. 00:39:08 INFO: archiving logs to Nexus