Pull request #1097 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from da94e137d7cee9468dadf98dfd2596d4a5e70a31+ff2bdc244935d5b40da6f20198b29dfc476efd7a (a14fa64a136d3b0411a89c0c1e2f85a83c94a590) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3967584295148230738.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17832126158061112964.key > 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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1097/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1097/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10118834187410648977.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10688741767831175966.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1097/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1097/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11788378986345535164.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage: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: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-6146’ Running on prd-centos7-docker-4c-2g-6152 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1097 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/jenkins-gitclient-ssh5908309152277317492.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit da94e137d7cee9468dadf98dfd2596d4a5e70a31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/jenkins-gitclient-ssh1377407849170794610.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da94e137d7cee9468dadf98dfd2596d4a5e70a31 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/jenkins-gitclient-ssh6757995681211021319.key > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 Merge succeeded, producing da94e137d7cee9468dadf98dfd2596d4a5e70a31 Checking out Revision da94e137d7cee9468dadf98dfd2596d4a5e70a31 (PR-1097) > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f da94e137d7cee9468dadf98dfd2596d4a5e70a31 # timeout=10 Commit message: "feat: implement ProtocolProperties validation mechanism" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-01T01:24:23.190Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-01T01:24:23.262Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-01T01:24:23.284Z] ========================================================= [2022-03-01T01:24:23.284Z] EdgeX Global Pipelines Version Info [2022-03-01T01:24:23.284Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 40d1c897eaa9b8b12c574efe2df53de1b20fd829 # timeout=10 [2022-03-01T01:24:24.459Z] ------------------- [2022-03-01T01:24:24.459Z] stable info: [2022-03-01T01:24:24.459Z] ------------------- [2022-03-01T01:24:24.459Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-01T01:24:24.459Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-01T01:24:24.459Z] Message: update stable to v1.0.220 [2022-03-01T01:24:25.033Z] ------------------- [2022-03-01T01:24:25.033Z] experimental info: [2022-03-01T01:24:25.033Z] ------------------- [2022-03-01T01:24:25.033Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-01T01:24:25.033Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-01T01:24:25.033Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-01T01:24:25.186Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-01T01:24:25.197Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-01T01:24:25.210Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-01T01:24:25.222Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-01T01:24:25.234Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-01T01:24:25.247Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-01T01:24:25.259Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-01T01:24:25.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-01T01:24:25.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-01T01:24:25.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-01T01:24:25.321Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-01T01:24:25.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-01T01:24:25.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-01T01:24:25.366Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-01T01:24:25.378Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-01T01:24:25.391Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-01T01:24:25.403Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-01T01:24:25.418Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-01T01:24:25.431Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-01T01:24:25.443Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-01T01:24:25.455Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-01T01:24:25.469Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-01T01:24:25.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-01T01:24:25.494Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-01T01:24:25.506Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-01T01:24:25.521Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-01T01:24:25.532Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1097 [Pipeline] echo [2022-03-01T01:24:25.541Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1097 [Pipeline] echo [2022-03-01T01:24:25.550Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1097 [Pipeline] echo [2022-03-01T01:24:25.565Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = da94e137d7cee9468dadf98dfd2596d4a5e70a31 [Pipeline] echo [2022-03-01T01:24:25.581Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = da94e13 [Pipeline] echo [2022-03-01T01:24:25.598Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-01T01:24:25.649Z] provisioning config files... [2022-03-01T01:24:25.664Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config3600253910314492457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:24:25.980Z] ---> docker-login.sh [2022-03-01T01:24:25.980Z] nexus3.edgexfoundry.org:10001 [2022-03-01T01:24:25.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:26.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:26.255Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:26.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:26.255Z] [2022-03-01T01:24:26.255Z] Login Succeeded [2022-03-01T01:24:26.255Z] nexus3.edgexfoundry.org:10002 [2022-03-01T01:24:26.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:26.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:26.255Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:26.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:26.255Z] [2022-03-01T01:24:26.255Z] Login Succeeded [2022-03-01T01:24:26.255Z] nexus3.edgexfoundry.org:10003 [2022-03-01T01:24:26.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:26.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:26.520Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:26.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:26.520Z] [2022-03-01T01:24:26.520Z] Login Succeeded [2022-03-01T01:24:26.520Z] nexus3.edgexfoundry.org:10004 [2022-03-01T01:24:26.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:26.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:26.520Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:26.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:26.520Z] [2022-03-01T01:24:26.520Z] Login Succeeded [2022-03-01T01:24:26.520Z] docker.io [2022-03-01T01:24:26.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:27.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:27.043Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:27.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:27.043Z] [2022-03-01T01:24:27.043Z] Login Succeeded [2022-03-01T01:24:27.043Z] ---> docker-login.sh ends [Pipeline] } [2022-03-01T01:24:27.054Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-01T01:24:27.428Z] + git rev-list -1 --merges da94e137d7cee9468dadf98dfd2596d4a5e70a31~1..da94e137d7cee9468dadf98dfd2596d4a5e70a31 [Pipeline] echo [2022-03-01T01:24:27.461Z] -----------> git rev-list -1 --merges da94e137d7cee9468dadf98dfd2596d4a5e70a31~1..da94e137d7cee9468dadf98dfd2596d4a5e70a31 da94e137d7cee9468dadf98dfd2596d4a5e70a31 [false] [Pipeline] sh [2022-03-01T01:24:27.756Z] + git log --format=format:%s -1 da94e137d7cee9468dadf98dfd2596d4a5e70a31 [Pipeline] echo [2022-03-01T01:24:27.774Z] ========================================================= [2022-03-01T01:24:27.774Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-01T01:24:27.774Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-01T01:24:28.124Z] + git log --format=format:%s -1 da94e137d7cee9468dadf98dfd2596d4a5e70a31 [Pipeline] echo [2022-03-01T01:24:28.141Z] [semverPrep] GIT_COMMIT: da94e137d7cee9468dadf98dfd2596d4a5e70a31, Commit Message: feat: implement ProtocolProperties validation mechanism [Pipeline] echo [2022-03-01T01:24:28.151Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-01T01:24:28.620Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-01T01:24:28.620Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-01T01:24:28.620Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-01T01:24:28.620Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-01T01:24:28.620Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-01T01:24:28.620Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-01T01:24:28.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:24:29.050Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-01T01:24:29.050Z] [2022-03-01T01:24:29.050Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:24:29.354Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-01T01:24:29.354Z] latest: Pulling from edgex-devops/git-semver [2022-03-01T01:24:29.354Z] a0d0a0d46f8b: Pulling fs layer [2022-03-01T01:24:29.354Z] 3e5f54012d9b: Pulling fs layer [2022-03-01T01:24:29.354Z] 4c7163046ea9: Pulling fs layer [2022-03-01T01:24:29.354Z] 0c2d73faf560: Pulling fs layer [2022-03-01T01:24:29.354Z] 0c2d73faf560: Waiting [2022-03-01T01:24:29.354Z] 3e5f54012d9b: Verifying Checksum [2022-03-01T01:24:29.354Z] 3e5f54012d9b: Download complete [2022-03-01T01:24:29.354Z] a0d0a0d46f8b: Verifying Checksum [2022-03-01T01:24:29.354Z] a0d0a0d46f8b: Download complete [2022-03-01T01:24:29.354Z] 4c7163046ea9: Verifying Checksum [2022-03-01T01:24:29.354Z] 4c7163046ea9: Download complete [2022-03-01T01:24:29.354Z] 0c2d73faf560: Verifying Checksum [2022-03-01T01:24:29.354Z] 0c2d73faf560: Download complete [2022-03-01T01:24:29.616Z] a0d0a0d46f8b: Pull complete [2022-03-01T01:24:29.616Z] 3e5f54012d9b: Pull complete [2022-03-01T01:24:30.193Z] 4c7163046ea9: Pull complete [2022-03-01T01:24:30.193Z] 0c2d73faf560: Pull complete [2022-03-01T01:24:30.193Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-01T01:24:30.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-01T01:24:30.193Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-01T01:24:30.275Z] prd-centos7-docker-4c-2g-6152 does not seem to be running inside a container [2022-03-01T01:24:30.326Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-01T01:24:30.944Z] $ docker top 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-01T01:24:31.052Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-01T01:24:31.052Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-01T01:24:31.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-01T01:24:31.176Z] $ docker exec 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 ssh-agent [2022-03-01T01:24:31.298Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjLKaEG/agent.15 [2022-03-01T01:24:31.298Z] SSH_AGENT_PID=21 [2022-03-01T01:24:31.308Z] Running ssh-add (command line suppressed) [2022-03-01T01:24:31.413Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_7638682618684040621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_7638682618684040621.key) [2022-03-01T01:24:31.430Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-01T01:24:31.745Z] + git tag --points-at HEAD [Pipeline] } [2022-03-01T01:24:31.763Z] $ docker exec --env ******** --env ******** 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 ssh-agent -k [2022-03-01T01:24:31.871Z] unset SSH_AUTH_SOCK; [2022-03-01T01:24:31.872Z] unset SSH_AGENT_PID; [2022-03-01T01:24:31.872Z] echo Agent pid 21 killed; [2022-03-01T01:24:31.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-01T01:24:31.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-01T01:24:31.911Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-01T01:24:32.028Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-01T01:24:32.029Z] $ docker exec 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 ssh-agent [2022-03-01T01:24:32.146Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeNaMkC/agent.55 [2022-03-01T01:24:32.146Z] SSH_AGENT_PID=61 [2022-03-01T01:24:32.152Z] Running ssh-add (command line suppressed) [2022-03-01T01:24:32.256Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_2831999940886173697.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_2831999940886173697.key) [2022-03-01T01:24:32.272Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-01T01:24:32.568Z] + git semver init [2022-03-01T01:24:32.569Z] # -> Open(): unable to determine branch for HEAD [2022-03-01T01:24:32.569Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.git [2022-03-01T01:24:32.569Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-03-01T01:24:32.569Z] # $SEMVER_REMOTE_NAME = origin [2022-03-01T01:24:32.569Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-01T01:24:32.569Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-01T01:24:32.569Z] # $SEMVER_BRANCH = PR-1097 [2022-03-01T01:24:32.569Z] # $SEMVER_TEMP = /tmp/semver-703005959 [2022-03-01T01:24:32.569Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-01T01:24:33.514Z] # '/tmp/semver-703005959' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver' [2022-03-01T01:24:33.514Z] # -> Force: false [2022-03-01T01:24:33.514Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver [Pipeline] } [2022-03-01T01:24:33.524Z] $ docker exec --env ******** --env ******** 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 ssh-agent -k [2022-03-01T01:24:33.631Z] unset SSH_AUTH_SOCK; [2022-03-01T01:24:33.631Z] unset SSH_AGENT_PID; [2022-03-01T01:24:33.631Z] echo Agent pid 61 killed; [2022-03-01T01:24:33.647Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-01T01:24:33.979Z] + git semver [Pipeline] } [2022-03-01T01:24:33.991Z] $ docker stop --time=1 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 [2022-03-01T01:24:35.256Z] $ docker rm -f 02cc3bd83a61c6ae64c09760ed7d7f9ae474db1f8ada3e4e167a604a106befe2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-01T01:24:35.613Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-01T01:24:35.876Z] Stashed 1 file(s) [Pipeline] echo [2022-03-01T01:24:35.880Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-01T01:24:36.009Z] provisioning config files... [2022-03-01T01:24:36.022Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config5733538303129859932tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:24:36.331Z] ---> docker-login.sh [2022-03-01T01:24:36.331Z] nexus3.edgexfoundry.org:10001 [2022-03-01T01:24:36.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:36.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:36.331Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:36.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:36.331Z] [2022-03-01T01:24:36.331Z] Login Succeeded [2022-03-01T01:24:36.331Z] nexus3.edgexfoundry.org:10002 [2022-03-01T01:24:36.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:36.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:36.594Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:36.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:36.594Z] [2022-03-01T01:24:36.594Z] Login Succeeded [2022-03-01T01:24:36.594Z] nexus3.edgexfoundry.org:10003 [2022-03-01T01:24:36.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:36.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:36.594Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:36.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:36.594Z] [2022-03-01T01:24:36.594Z] Login Succeeded [2022-03-01T01:24:36.594Z] nexus3.edgexfoundry.org:10004 [2022-03-01T01:24:36.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:36.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:36.855Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:36.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:36.855Z] [2022-03-01T01:24:36.855Z] Login Succeeded [2022-03-01T01:24:36.855Z] docker.io [2022-03-01T01:24:36.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:24:37.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:24:37.118Z] Configure a credential helper to remove this warning. See [2022-03-01T01:24:37.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:24:37.118Z] [2022-03-01T01:24:37.118Z] Login Succeeded [2022-03-01T01:24:37.118Z] ---> docker-login.sh ends [Pipeline] } [2022-03-01T01:24:37.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-01T01:24:37.202Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-01T01:24:37.210Z] ========================================================= [2022-03-01T01:24:37.210Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-01T01:24:37.210Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:24:37.529Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-03-01T01:24:37.529Z] Sending build context to Docker daemon 9.548MB [2022-03-01T01:24:37.529Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-01T01:24:37.529Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-01T01:24:37.792Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-01T01:24:37.792Z] 59bf1c3509f3: Pulling fs layer [2022-03-01T01:24:37.792Z] 666ba61612fd: Pulling fs layer [2022-03-01T01:24:37.792Z] 8ed8ca486205: Pulling fs layer [2022-03-01T01:24:37.792Z] 4fe6c5a15a65: Pulling fs layer [2022-03-01T01:24:37.792Z] 22a0e8bec74d: Pulling fs layer [2022-03-01T01:24:37.792Z] 640e595b4fbd: Pulling fs layer [2022-03-01T01:24:37.792Z] 763cafe07f6e: Pulling fs layer [2022-03-01T01:24:37.792Z] 0c0b528cf693: Pulling fs layer [2022-03-01T01:24:37.792Z] 10935f4eaf8b: Pulling fs layer [2022-03-01T01:24:37.792Z] 4fe6c5a15a65: Waiting [2022-03-01T01:24:37.792Z] 22a0e8bec74d: Waiting [2022-03-01T01:24:37.792Z] 640e595b4fbd: Waiting [2022-03-01T01:24:37.792Z] 763cafe07f6e: Waiting [2022-03-01T01:24:37.792Z] 0c0b528cf693: Waiting [2022-03-01T01:24:37.792Z] 10935f4eaf8b: Waiting [2022-03-01T01:24:37.792Z] 8ed8ca486205: Verifying Checksum [2022-03-01T01:24:37.792Z] 8ed8ca486205: Download complete [2022-03-01T01:24:37.793Z] 666ba61612fd: Download complete [2022-03-01T01:24:37.793Z] 22a0e8bec74d: Verifying Checksum [2022-03-01T01:24:37.793Z] 22a0e8bec74d: Download complete [2022-03-01T01:24:37.793Z] 640e595b4fbd: Verifying Checksum [2022-03-01T01:24:37.793Z] 640e595b4fbd: Download complete [2022-03-01T01:24:37.793Z] 59bf1c3509f3: Verifying Checksum [2022-03-01T01:24:37.793Z] 59bf1c3509f3: Download complete [2022-03-01T01:24:37.793Z] 763cafe07f6e: Verifying Checksum [2022-03-01T01:24:37.793Z] 763cafe07f6e: Download complete [2022-03-01T01:24:37.793Z] 0c0b528cf693: Verifying Checksum [2022-03-01T01:24:37.793Z] 0c0b528cf693: Download complete [2022-03-01T01:24:38.067Z] 59bf1c3509f3: Pull complete [2022-03-01T01:24:38.067Z] 666ba61612fd: Pull complete [2022-03-01T01:24:38.338Z] 8ed8ca486205: Pull complete [2022-03-01T01:24:38.338Z] 4fe6c5a15a65: Verifying Checksum [2022-03-01T01:24:38.338Z] 4fe6c5a15a65: Download complete [2022-03-01T01:24:38.601Z] 10935f4eaf8b: Verifying Checksum [2022-03-01T01:24:38.601Z] 10935f4eaf8b: Download complete [2022-03-01T01:24:42.847Z] 4fe6c5a15a65: Pull complete [2022-03-01T01:24:42.847Z] 22a0e8bec74d: Pull complete [2022-03-01T01:24:42.847Z] 640e595b4fbd: Pull complete [2022-03-01T01:24:43.118Z] 763cafe07f6e: Pull complete [2022-03-01T01:24:43.118Z] 0c0b528cf693: Pull complete [2022-03-01T01:24:46.490Z] 10935f4eaf8b: Pull complete [2022-03-01T01:24:46.490Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-01T01:24:46.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-01T01:24:46.490Z] ---> 99d49a6021b9 [2022-03-01T01:24:46.490Z] Step 3/11 : ARG MAKE=make build [2022-03-01T01:24:47.883Z] ---> Running in 94081ed659a3 [2022-03-01T01:24:47.883Z] Removing intermediate container 94081ed659a3 [2022-03-01T01:24:47.883Z] ---> a87485548605 [2022-03-01T01:24:47.883Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-01T01:24:47.883Z] ---> Running in 5141cc8193ed [2022-03-01T01:24:47.883Z] Removing intermediate container 5141cc8193ed [2022-03-01T01:24:47.883Z] ---> 38d748c30d46 [2022-03-01T01:24:47.883Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-01T01:24:47.883Z] ---> Running in 6ff3e0babd87 [2022-03-01T01:24:48.144Z] Removing intermediate container 6ff3e0babd87 [2022-03-01T01:24:48.144Z] ---> 4bfdd9cdada4 [2022-03-01T01:24:48.144Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-01T01:24:48.144Z] ---> Running in c92c2af09397 [2022-03-01T01:24:48.731Z] Removing intermediate container c92c2af09397 [2022-03-01T01:24:48.731Z] ---> a5697f42cd9a [2022-03-01T01:24:48.731Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-01T01:24:48.731Z] ---> Running in 71378d81a856 [2022-03-01T01:24:48.995Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-01T01:24:49.944Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-01T01:24:50.224Z] OK: 221 MiB in 52 packages [2022-03-01T01:24:50.485Z] Removing intermediate container 71378d81a856 [2022-03-01T01:24:50.485Z] ---> 76ba54e37e9c [2022-03-01T01:24:50.485Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-01T01:24:50.746Z] ---> 2bb6d02d2d00 [2022-03-01T01:24:50.746Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-01T01:24:50.746Z] ---> Running in 34015aa1d02d [2022-03-01T01:24:50.978Z] Still waiting to schedule task [2022-03-01T01:24:50.979Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-6150’ [2022-03-01T01:25:29.540Z] Removing intermediate container 34015aa1d02d [2022-03-01T01:25:29.541Z] ---> 8555b1086e47 [2022-03-01T01:25:29.541Z] Step 10/11 : COPY . . [2022-03-01T01:25:29.541Z] ---> a154917a2ef2 [2022-03-01T01:25:29.541Z] Step 11/11 : RUN ${MAKE} [2022-03-01T01:25:29.541Z] ---> Running in c9f79aec191a [2022-03-01T01:25:29.541Z] noop [2022-03-01T01:25:29.541Z] Removing intermediate container c9f79aec191a [2022-03-01T01:25:29.541Z] ---> 8dcb73ab0416 [2022-03-01T01:25:29.541Z] Successfully built 8dcb73ab0416 [2022-03-01T01:25:29.541Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:25:29.840Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-01T01:25:29.840Z] . [Pipeline] withDockerContainer [2022-03-01T01:25:29.917Z] prd-centos7-docker-4c-2g-6152 does not seem to be running inside a container [2022-03-01T01:25:29.955Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-01T01:25:30.346Z] $ docker top b9185d29f8e5f7e423f7f1bf0ce9a37f8c105753908ce266cba4a730cf35e8a3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-01T01:25:30.725Z] + go version [2022-03-01T01:25:30.725Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-01T01:25:30.735Z] $ docker stop --time=1 b9185d29f8e5f7e423f7f1bf0ce9a37f8c105753908ce266cba4a730cf35e8a3 [2022-03-01T01:25:31.967Z] $ docker rm -f b9185d29f8e5f7e423f7f1bf0ce9a37f8c105753908ce266cba4a730cf35e8a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:25:32.417Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-01T01:25:32.418Z] . [Pipeline] withDockerContainer [2022-03-01T01:25:32.486Z] prd-centos7-docker-4c-2g-6152 does not seem to be running inside a container [2022-03-01T01:25:32.517Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-01T01:25:32.910Z] $ docker top 3409426817ba4d5ec09aab20b4001a06561583fd270e60643e7e5e5265bb4b89 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-01T01:25:33.288Z] + make test [2022-03-01T01:25:33.288Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-01T01:25:33.873Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-01T01:25:52.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.011s coverage: 23.3% of statements [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-01T01:25:52.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements [2022-03-01T01:25:52.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-03-01T01:25:52.087Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.013s coverage: 10.8% of statements [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-01T01:25:52.087Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-01T01:25:52.364Z] --- FAIL: TestRestController_Validate (0.00s) [2022-03-01T01:25:52.364Z] --- FAIL: TestRestController_Validate/Valid_-_validation_succeed (0.00s) [2022-03-01T01:25:52.364Z] panic: [2022-03-01T01:25:52.364Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-01T01:25:52.364Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-01T01:25:52.364Z] This method was unexpected: [2022-03-01T01:25:52.364Z] ValidateDevice(models.Device) [2022-03-01T01:25:52.364Z] 0: models.Device{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"", Name:"test-device", Description:"", AdminState:"UNLOCKED", OperatingState:"UP", Protocols:map[string]models.ProtocolProperties{"valid":models.ProtocolProperties{}}, LastConnected:0, LastReported:0, Labels:[]string(nil), Location:interface {}(nil), ServiceName:"test-service", ProfileName:"test-profile", AutoEvents:[]models.AutoEvent{}, Notify:false} [2022-03-01T01:25:52.364Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [recovered] [2022-03-01T01:25:52.364Z] panic: [2022-03-01T01:25:52.364Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-01T01:25:52.364Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-01T01:25:52.364Z] This method was unexpected: [2022-03-01T01:25:52.364Z] ValidateDevice(models.Device) [2022-03-01T01:25:52.364Z] 0: models.Device{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"", Name:"test-device", Description:"", AdminState:"UNLOCKED", OperatingState:"UP", Protocols:map[string]models.ProtocolProperties{"valid":models.ProtocolProperties{}}, LastConnected:0, LastReported:0, Labels:[]string(nil), Location:interface {}(nil), ServiceName:"test-service", ProfileName:"test-profile", AutoEvents:[]models.AutoEvent{}, Notify:false} [2022-03-01T01:25:52.364Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [2022-03-01T01:25:52.364Z] [2022-03-01T01:25:52.364Z] goroutine 25 [running]: [2022-03-01T01:25:52.364Z] testing.tRunner.func1.2({0x67c7a0, 0xc000446400}) [2022-03-01T01:25:52.364Z] /usr/local/go/src/testing/testing.go:1209 +0x24e [2022-03-01T01:25:52.364Z] testing.tRunner.func1() [2022-03-01T01:25:52.364Z] /usr/local/go/src/testing/testing.go:1212 +0x218 [2022-03-01T01:25:52.364Z] panic({0x67c7a0, 0xc000446400}) [2022-03-01T01:25:52.364Z] /usr/local/go/src/runtime/panic.go:1038 +0x215 [2022-03-01T01:25:52.364Z] github.com/stretchr/testify/mock.(*Mock).fail(0xc0003fd090, {0x6f872e, 0x4}, {0xc0003bbe80, 0x1, 0x1}) [2022-03-01T01:25:52.364Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x145 [2022-03-01T01:25:52.364Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0xc0003fd090, {0x7a55e4, 0xe}, {0xc000446280, 0x1, 0x1}) [2022-03-01T01:25:52.364Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:418 +0x705 [2022-03-01T01:25:52.364Z] github.com/stretchr/testify/mock.(*Mock).Called(0x6d1d20, {0xc000446280, 0x1, 0x1}) [2022-03-01T01:25:52.364Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x149 [2022-03-01T01:25:52.364Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks.(*DeviceValidator).ValidateDevice(0xc0003fd090, {{0x0, 0x0}, {0x0, 0x0}, {0xc000419e10, 0xb}, {0x0, 0x0}, {0xc000419e20, ...}, ...}) [2022-03-01T01:25:52.364Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/pkg/models/mocks/DeviceValidator.go:17 +0xc5 [2022-03-01T01:25:52.364Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).ValidateDevice(0xc0003bb700, {0x749288, 0xc0003bb740}, 0xc0003ca500) [2022-03-01T01:25:52.364Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/internal/controller/http/validation.go:32 +0x2a2 [2022-03-01T01:25:52.364Z] net/http.HandlerFunc.ServeHTTP(...) [2022-03-01T01:25:52.364Z] /usr/local/go/src/net/http/server.go:2047 [2022-03-01T01:25:52.364Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestRestController_Validate.func3(0xc0003c6b60) [2022-03-01T01:25:52.364Z] /w/workspace/gexfoundry_device-sdk-go_PR-1097/internal/controller/http/validation_test.go:89 +0x27e [2022-03-01T01:25:52.364Z] testing.tRunner(0xc0003c6d00, 0xc00000f5a8) [2022-03-01T01:25:52.364Z] /usr/local/go/src/testing/testing.go:1259 +0x102 [2022-03-01T01:25:52.364Z] created by testing.(*T).Run [2022-03-01T01:25:52.364Z] /usr/local/go/src/testing/testing.go:1306 +0x35a [2022-03-01T01:25:52.364Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s [2022-03-01T01:25:52.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-01T01:25:53.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.015s coverage: 86.1% of statements [2022-03-01T01:25:53.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-01T01:25:53.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-01T01:25:53.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.014s coverage: 57.4% of statements [2022-03-01T01:25:53.906Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.041s coverage: 89.2% of statements [2022-03-01T01:25:53.907Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-01T01:25:54.169Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.009s coverage: 4.8% of statements [2022-03-01T01:25:54.169Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-01T01:25:54.169Z] FAIL [2022-03-01T01:25:54.169Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-03-01T01:25:54.179Z] $ docker stop --time=1 3409426817ba4d5ec09aab20b4001a06561583fd270e60643e7e5e5265bb4b89 [2022-03-01T01:25:55.613Z] $ docker rm -f 3409426817ba4d5ec09aab20b4001a06561583fd270e60643e7e5e5265bb4b89 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:25:56.144Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-01T01:25:56.145Z] [2022-03-01T01:25:56.145Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:25:56.474Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-01T01:25:56.474Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-01T01:25:56.474Z] 5eb5b503b376: Pulling fs layer [2022-03-01T01:25:56.474Z] 5c69ac0246d0: Pulling fs layer [2022-03-01T01:25:56.474Z] ec43610c2a17: Pulling fs layer [2022-03-01T01:25:56.474Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-01T01:25:56.474Z] 33b1e0a273af: Pulling fs layer [2022-03-01T01:25:56.474Z] 5d3b04190fa2: Pulling fs layer [2022-03-01T01:25:56.474Z] 2f39f015ded8: Pulling fs layer [2022-03-01T01:25:56.474Z] 3a2ae6a8a46f: Waiting [2022-03-01T01:25:56.474Z] 33b1e0a273af: Waiting [2022-03-01T01:25:56.474Z] 5d3b04190fa2: Waiting [2022-03-01T01:25:56.474Z] 2f39f015ded8: Waiting [2022-03-01T01:25:56.474Z] 5c69ac0246d0: Verifying Checksum [2022-03-01T01:25:56.474Z] 5c69ac0246d0: Download complete [2022-03-01T01:25:56.474Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-01T01:25:56.474Z] 3a2ae6a8a46f: Download complete [2022-03-01T01:25:56.740Z] 33b1e0a273af: Verifying Checksum [2022-03-01T01:25:56.740Z] 33b1e0a273af: Download complete [2022-03-01T01:25:56.740Z] ec43610c2a17: Verifying Checksum [2022-03-01T01:25:56.740Z] ec43610c2a17: Download complete [2022-03-01T01:25:56.740Z] 5d3b04190fa2: Verifying Checksum [2022-03-01T01:25:56.740Z] 5d3b04190fa2: Download complete [2022-03-01T01:25:56.740Z] 5eb5b503b376: Verifying Checksum [2022-03-01T01:25:56.740Z] 5eb5b503b376: Download complete [2022-03-01T01:25:57.316Z] 2f39f015ded8: Verifying Checksum [2022-03-01T01:25:57.316Z] 2f39f015ded8: Download complete [2022-03-01T01:25:58.713Z] 5eb5b503b376: Pull complete [2022-03-01T01:25:58.713Z] 5c69ac0246d0: Pull complete [2022-03-01T01:25:59.290Z] ec43610c2a17: Pull complete [2022-03-01T01:25:59.290Z] 3a2ae6a8a46f: Pull complete [2022-03-01T01:25:59.562Z] 33b1e0a273af: Pull complete [2022-03-01T01:25:59.562Z] 5d3b04190fa2: Pull complete [2022-03-01T01:26:04.872Z] 2f39f015ded8: Pull complete [2022-03-01T01:26:04.872Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-01T01:26:04.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-01T01:26:04.872Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-01T01:26:04.942Z] prd-centos7-docker-4c-2g-6152 does not seem to be running inside a container [2022-03-01T01:26:04.975Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-01T01:26:07.316Z] $ docker top 69d97f6a8ba0301c83be6a377a106c03a946b9750ba2e7de652a0d51f11a15a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:26:07.758Z] ---> job-cost.sh [2022-03-01T01:26:07.758Z] lf-activate-venv: SKIPPING [2022-03-01T01:26:07.758Z] INFO: No Stack... [2022-03-01T01:26:08.020Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-01T01:26:08.608Z] INFO: Archiving Costs [Pipeline] sh [2022-03-01T01:26:08.909Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/cost.csv [2022-03-01T01:26:08.909Z] + cut -d, -f6 [Pipeline] lock [2022-03-01T01:26:08.923Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [2022-03-01T01:26:08.928Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] did not exist. Created. [2022-03-01T01:26:08.928Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-01T01:26:09.238Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-01T01:26:09.275Z] Stashed 1 file(s) [Pipeline] } [2022-03-01T01:26:09.281Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-01T01:26:09.301Z] $ docker stop --time=1 69d97f6a8ba0301c83be6a377a106c03a946b9750ba2e7de652a0d51f11a15a1 [2022-03-01T01:26:10.449Z] $ docker rm -f 69d97f6a8ba0301c83be6a377a106c03a946b9750ba2e7de652a0d51f11a15a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-01T01:26:10.563Z] Failed in branch amd64 [2022-03-01T01:28:27.197Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6153 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] ws [2022-03-01T01:28:27.210Z] Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout [2022-03-01T01:28:27.384Z] The recommended git tool is: git [2022-03-01T01:28:31.683Z] using credential edgex-jenkins-ssh [2022-03-01T01:28:31.701Z] Cloning the remote Git repository [2022-03-01T01:28:31.763Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-01T01:28:31.836Z] > git init /w/workspace/device-sdk-go/9 # timeout=10 [2022-03-01T01:28:31.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-01T01:28:31.917Z] > git --version # timeout=10 [2022-03-01T01:28:31.939Z] > git --version # 'git version 2.17.1' [2022-03-01T01:28:31.941Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-01T01:28:32.047Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-01T01:28:33.638Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-01T01:28:34.434Z] Merging remotes/origin/main commit ff2bdc244935d5b40da6f20198b29dfc476efd7a into PR head commit da94e137d7cee9468dadf98dfd2596d4a5e70a31 [2022-03-01T01:28:34.645Z] Merge succeeded, producing da94e137d7cee9468dadf98dfd2596d4a5e70a31 [2022-03-01T01:28:34.645Z] Checking out Revision da94e137d7cee9468dadf98dfd2596d4a5e70a31 (PR-1097) [2022-03-01T01:28:33.658Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-01T01:28:33.683Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-01T01:28:33.716Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-01T01:28:33.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-01T01:28:33.728Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-01T01:28:34.453Z] > git config core.sparsecheckout # timeout=10 [2022-03-01T01:28:34.476Z] > git checkout -f da94e137d7cee9468dadf98dfd2596d4a5e70a31 # timeout=10 [2022-03-01T01:28:34.574Z] > git remote # timeout=10 [2022-03-01T01:28:34.590Z] > git config --get remote.origin.url # timeout=10 [2022-03-01T01:28:34.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-01T01:28:34.612Z] > git merge ff2bdc244935d5b40da6f20198b29dfc476efd7a # timeout=10 [2022-03-01T01:28:34.632Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-01T01:28:34.654Z] > git config core.sparsecheckout # timeout=10 [2022-03-01T01:28:34.668Z] > git checkout -f da94e137d7cee9468dadf98dfd2596d4a5e70a31 # timeout=10 [2022-03-01T01:28:38.751Z] Commit message: "feat: implement ProtocolProperties validation mechanism" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-01T01:28:39.581Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-01T01:28:39.581Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-01T01:28:39.581Z] Dload Upload Total Spent Left Speed [2022-03-01T01:28:39.855Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 28537 0 --:--:-- --:--:-- --:--:-- 28537 [Pipeline] sh [2022-03-01T01:28:40.347Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-01T01:28:40.688Z] + sudo tee /etc/docker/daemon.new [2022-03-01T01:28:40.688Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-01T01:28:40.688Z] { [2022-03-01T01:28:40.688Z] "registry-mirrors": [ [2022-03-01T01:28:40.688Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-01T01:28:40.688Z] ], [2022-03-01T01:28:40.688Z] "bip": "10.250.0.254/24", [2022-03-01T01:28:40.688Z] "hosts": [ [2022-03-01T01:28:40.688Z] "tcp://0.0.0.0:5555", [2022-03-01T01:28:40.688Z] "unix:///var/run/docker.sock" [2022-03-01T01:28:40.688Z] ], [2022-03-01T01:28:40.688Z] "mtu": 1458, [2022-03-01T01:28:40.688Z] "selinux-enabled": true, [2022-03-01T01:28:40.688Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-01T01:28:40.688Z] } [Pipeline] sh [2022-03-01T01:28:41.103Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-01T01:28:41.448Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-01T01:28:59.749Z] provisioning config files... [2022-03-01T01:28:59.772Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config2727602933618194262tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:29:00.133Z] ---> docker-login.sh [2022-03-01T01:29:00.133Z] nexus3.edgexfoundry.org:10001 [2022-03-01T01:29:00.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:29:01.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:29:01.007Z] Configure a credential helper to remove this warning. See [2022-03-01T01:29:01.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:29:01.007Z] [2022-03-01T01:29:01.007Z] Login Succeeded [2022-03-01T01:29:01.007Z] nexus3.edgexfoundry.org:10002 [2022-03-01T01:29:01.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:29:01.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:29:01.284Z] Configure a credential helper to remove this warning. See [2022-03-01T01:29:01.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:29:01.284Z] [2022-03-01T01:29:01.284Z] Login Succeeded [2022-03-01T01:29:01.284Z] nexus3.edgexfoundry.org:10003 [2022-03-01T01:29:01.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:29:01.884Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:29:01.884Z] Configure a credential helper to remove this warning. See [2022-03-01T01:29:01.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:29:01.884Z] [2022-03-01T01:29:01.884Z] Login Succeeded [2022-03-01T01:29:01.884Z] nexus3.edgexfoundry.org:10004 [2022-03-01T01:29:02.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:29:02.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:29:02.158Z] Configure a credential helper to remove this warning. See [2022-03-01T01:29:02.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:29:02.158Z] [2022-03-01T01:29:02.158Z] Login Succeeded [2022-03-01T01:29:02.158Z] docker.io [2022-03-01T01:29:02.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-01T01:29:03.021Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-01T01:29:03.021Z] Configure a credential helper to remove this warning. See [2022-03-01T01:29:03.021Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-01T01:29:03.021Z] [2022-03-01T01:29:03.021Z] Login Succeeded [2022-03-01T01:29:03.021Z] ---> docker-login.sh ends [Pipeline] } [2022-03-01T01:29:03.039Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-01T01:29:03.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-01T01:29:03.759Z] ========================================================= [2022-03-01T01:29:03.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-01T01:29:03.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:29:04.102Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-01T01:29:04.703Z] Sending build context to Docker daemon 5.183MB [2022-03-01T01:29:04.703Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-01T01:29:04.703Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-01T01:29:04.703Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-01T01:29:04.703Z] 9b3977197b4f: Pulling fs layer [2022-03-01T01:29:04.703Z] 1a89e8eeedd5: Pulling fs layer [2022-03-01T01:29:04.703Z] 94645a83ff95: Pulling fs layer [2022-03-01T01:29:04.703Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-01T01:29:04.703Z] 0c92f367c5e7: Pulling fs layer [2022-03-01T01:29:04.703Z] f7c0051592d6: Pulling fs layer [2022-03-01T01:29:04.703Z] a227ed2f7395: Pulling fs layer [2022-03-01T01:29:04.703Z] 7b1c46037f91: Pulling fs layer [2022-03-01T01:29:04.704Z] 3f3a8bcf1eab: Waiting [2022-03-01T01:29:04.704Z] a227ed2f7395: Waiting [2022-03-01T01:29:04.704Z] 0c92f367c5e7: Waiting [2022-03-01T01:29:04.704Z] 7b1c46037f91: Waiting [2022-03-01T01:29:04.704Z] f7c0051592d6: Waiting [2022-03-01T01:29:04.704Z] 94645a83ff95: Download complete [2022-03-01T01:29:04.704Z] 1a89e8eeedd5: Verifying Checksum [2022-03-01T01:29:04.704Z] 1a89e8eeedd5: Download complete [2022-03-01T01:29:04.704Z] 0c92f367c5e7: Verifying Checksum [2022-03-01T01:29:04.704Z] 0c92f367c5e7: Download complete [2022-03-01T01:29:04.704Z] f7c0051592d6: Download complete [2022-03-01T01:29:04.704Z] 9b3977197b4f: Download complete [2022-03-01T01:29:04.704Z] a227ed2f7395: Verifying Checksum [2022-03-01T01:29:04.704Z] a227ed2f7395: Download complete [2022-03-01T01:29:05.692Z] 9b3977197b4f: Pull complete [2022-03-01T01:29:06.297Z] 1a89e8eeedd5: Pull complete [2022-03-01T01:29:06.571Z] 94645a83ff95: Pull complete [2022-03-01T01:29:06.571Z] 7b1c46037f91: Verifying Checksum [2022-03-01T01:29:06.571Z] 7b1c46037f91: Download complete [2022-03-01T01:29:07.168Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-01T01:29:07.168Z] 3f3a8bcf1eab: Download complete [2022-03-01T01:29:19.587Z] 3f3a8bcf1eab: Pull complete [2022-03-01T01:29:19.587Z] 0c92f367c5e7: Pull complete [2022-03-01T01:29:19.587Z] f7c0051592d6: Pull complete [2022-03-01T01:29:19.587Z] a227ed2f7395: Pull complete [2022-03-01T01:29:24.993Z] 7b1c46037f91: Pull complete [2022-03-01T01:29:24.993Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-01T01:29:24.993Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-01T01:29:24.993Z] ---> f79e39bc4007 [2022-03-01T01:29:24.993Z] Step 3/11 : ARG MAKE=make build [2022-03-01T01:29:25.970Z] ---> Running in 9b618b7aa508 [2022-03-01T01:29:26.246Z] Removing intermediate container 9b618b7aa508 [2022-03-01T01:29:26.246Z] ---> 66341c39b58c [2022-03-01T01:29:26.246Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-01T01:29:26.519Z] ---> Running in 20fa13890529 [2022-03-01T01:29:26.793Z] Removing intermediate container 20fa13890529 [2022-03-01T01:29:26.793Z] ---> 6bd4d69bc8db [2022-03-01T01:29:26.793Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-01T01:29:27.065Z] ---> Running in f206c89aabed [2022-03-01T01:29:27.339Z] Removing intermediate container f206c89aabed [2022-03-01T01:29:27.339Z] ---> cae199c35553 [2022-03-01T01:29:27.339Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-01T01:29:27.616Z] ---> Running in 9f1e88fd0cf6 [2022-03-01T01:29:29.602Z] Removing intermediate container 9f1e88fd0cf6 [2022-03-01T01:29:29.602Z] ---> f8927c4d45d7 [2022-03-01T01:29:29.602Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-01T01:29:29.602Z] ---> Running in 425003a0d03d [2022-03-01T01:29:30.584Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-01T01:29:31.562Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-01T01:29:32.546Z] OK: 220 MiB in 52 packages [2022-03-01T01:29:33.155Z] Removing intermediate container 425003a0d03d [2022-03-01T01:29:33.155Z] ---> 5540b228e210 [2022-03-01T01:29:33.155Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-01T01:29:34.140Z] ---> 96f0da3878fd [2022-03-01T01:29:34.140Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-01T01:29:34.140Z] ---> Running in 234b9e724ce5 [2022-03-01T01:30:55.934Z] Removing intermediate container 234b9e724ce5 [2022-03-01T01:30:55.934Z] ---> 7e5475a80e8c [2022-03-01T01:30:55.934Z] Step 10/11 : COPY . . [2022-03-01T01:30:55.934Z] ---> 8232a23248f5 [2022-03-01T01:30:55.934Z] Step 11/11 : RUN ${MAKE} [2022-03-01T01:30:55.934Z] ---> Running in 1aa4d65e317e [2022-03-01T01:30:55.934Z] noop [2022-03-01T01:30:55.934Z] Removing intermediate container 1aa4d65e317e [2022-03-01T01:30:55.934Z] ---> 8c375067d97c [2022-03-01T01:30:55.934Z] Successfully built 8c375067d97c [2022-03-01T01:30:55.934Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:30:56.279Z] + docker inspect -f . ci-base-image-arm64 [2022-03-01T01:30:56.279Z] . [Pipeline] withDockerContainer [2022-03-01T01:30:56.520Z] prd-ubuntu18.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2022-03-01T01:30:56.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-01T01:30:57.970Z] $ docker top 563532da3f35b805ea186e7fa4b07234fa78640a8d15439c12398b2a32e3f511 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-01T01:30:58.859Z] + go version [2022-03-01T01:30:58.859Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-01T01:30:58.886Z] $ docker stop --time=1 563532da3f35b805ea186e7fa4b07234fa78640a8d15439c12398b2a32e3f511 [2022-03-01T01:31:00.570Z] $ docker rm -f 563532da3f35b805ea186e7fa4b07234fa78640a8d15439c12398b2a32e3f511 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:31:01.179Z] + docker inspect -f . ci-base-image-arm64 [2022-03-01T01:31:01.179Z] . [Pipeline] withDockerContainer [2022-03-01T01:31:01.405Z] prd-ubuntu18.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2022-03-01T01:31:01.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-01T01:31:02.869Z] $ docker top 77010b245021b81b7aae3db32ec7922fb43faa4e7dcf13316c41b7c66de5d7d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-01T01:31:03.789Z] + make test [2022-03-01T01:31:03.789Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-01T01:31:05.232Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-01T01:31:52.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-03-01T01:31:52.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-03-01T01:31:52.312Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-03-01T01:32:02.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.110s coverage: 23.3% of statements [2022-03-01T01:32:02.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-03-01T01:32:02.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.103s coverage: 27.6% of statements [2022-03-01T01:32:02.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.124s coverage: 78.9% of statements [2022-03-01T01:32:02.521Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.053s coverage: 10.8% of statements [2022-03-01T01:32:02.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-03-01T01:32:02.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-03-01T01:32:02.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-03-01T01:32:02.521Z] --- FAIL: TestRestController_Validate (0.00s) [2022-03-01T01:32:02.521Z] --- FAIL: TestRestController_Validate/Valid_-_validation_succeed (0.00s) [2022-03-01T01:32:02.521Z] panic: [2022-03-01T01:32:02.521Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-01T01:32:02.521Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-01T01:32:02.521Z] This method was unexpected: [2022-03-01T01:32:02.521Z] ValidateDevice(models.Device) [2022-03-01T01:32:02.521Z] 0: models.Device{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"", Name:"test-device", Description:"", AdminState:"UNLOCKED", OperatingState:"UP", Protocols:map[string]models.ProtocolProperties{"valid":models.ProtocolProperties{}}, LastConnected:0, LastReported:0, Labels:[]string(nil), Location:interface {}(nil), ServiceName:"test-service", ProfileName:"test-profile", AutoEvents:[]models.AutoEvent{}, Notify:false} [2022-03-01T01:32:02.521Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [recovered] [2022-03-01T01:32:02.521Z] panic: [2022-03-01T01:32:02.521Z] assert: mock: I don't know what to return because the method call was unexpected. [2022-03-01T01:32:02.521Z] Either do Mock.On("ValidateDevice").Return(...) first, or remove the ValidateDevice() call. [2022-03-01T01:32:02.521Z] This method was unexpected: [2022-03-01T01:32:02.521Z] ValidateDevice(models.Device) [2022-03-01T01:32:02.521Z] 0: models.Device{DBTimestamp:models.DBTimestamp{Created:0, Modified:0}, Id:"", Name:"test-device", Description:"", AdminState:"UNLOCKED", OperatingState:"UP", Protocols:map[string]models.ProtocolProperties{"valid":models.ProtocolProperties{}}, LastConnected:0, LastReported:0, Labels:[]string(nil), Location:interface {}(nil), ServiceName:"test-service", ProfileName:"test-profile", AutoEvents:[]models.AutoEvent{}, Notify:false} [2022-03-01T01:32:02.521Z] at: [DeviceValidator.go:17 validation.go:32 server.go:2047 validation_test.go:89] [2022-03-01T01:32:02.521Z] [2022-03-01T01:32:02.521Z] goroutine 25 [running]: [2022-03-01T01:32:02.521Z] testing.tRunner.func1.2({0x673080, 0x40004523e0}) [2022-03-01T01:32:02.521Z] /usr/local/go/src/testing/testing.go:1209 +0x258 [2022-03-01T01:32:02.521Z] testing.tRunner.func1(0x40003d2d00) [2022-03-01T01:32:02.521Z] /usr/local/go/src/testing/testing.go:1212 +0x278 [2022-03-01T01:32:02.521Z] panic({0x673080, 0x40004523e0}) [2022-03-01T01:32:02.521Z] /usr/local/go/src/runtime/panic.go:1038 +0x224 [2022-03-01T01:32:02.521Z] github.com/stretchr/testify/mock.(*Mock).fail(0x400008b090, {0x6ed5a4, 0xc1}, {0x40003c5e80, 0x4, 0x4}) [2022-03-01T01:32:02.521Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:254 +0x184 [2022-03-01T01:32:02.521Z] github.com/stretchr/testify/mock.(*Mock).MethodCalled(0x400008b090, {0x79710f, 0xe}, {0x4000452260, 0x1, 0x1}) [2022-03-01T01:32:02.521Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:418 +0x7f4 [2022-03-01T01:32:02.521Z] github.com/stretchr/testify/mock.(*Mock).Called(0x400008b090, {0x4000452260, 0x1, 0x1}) [2022-03-01T01:32:02.521Z] /go/pkg/mod/github.com/stretchr/testify@v1.7.0/mock/mock.go:383 +0x178 [2022-03-01T01:32:02.521Z] github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks.(*DeviceValidator).ValidateDevice(0x400008b090, {{0x0, 0x0}, {0x0, 0x0}, {0x4000423df0, 0xb}, {0x0, 0x0}, {0x4000423e00, ...}, ...}) [2022-03-01T01:32:02.521Z] /w/workspace/device-sdk-go/9/pkg/models/mocks/DeviceValidator.go:17 +0xc0 [2022-03-01T01:32:02.521Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.(*RestController).ValidateDevice(0x40003c5700, {0x73df30, 0x40003c5740}, 0x4000454000) [2022-03-01T01:32:02.521Z] /w/workspace/device-sdk-go/9/internal/controller/http/validation.go:32 +0x240 [2022-03-01T01:32:02.521Z] net/http.HandlerFunc.ServeHTTP(...) [2022-03-01T01:32:02.521Z] /usr/local/go/src/net/http/server.go:2047 [2022-03-01T01:32:02.521Z] github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http.TestRestController_Validate.func3(0x40003d2d00) [2022-03-01T01:32:02.521Z] /w/workspace/device-sdk-go/9/internal/controller/http/validation_test.go:89 +0x2d0 [2022-03-01T01:32:02.521Z] testing.tRunner(0x40003d2d00, 0x400000f3e0) [2022-03-01T01:32:02.521Z] /usr/local/go/src/testing/testing.go:1259 +0xf8 [2022-03-01T01:32:02.521Z] created by testing.(*T).Run [2022-03-01T01:32:02.521Z] /usr/local/go/src/testing/testing.go:1306 +0x350 [2022-03-01T01:32:02.521Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s [2022-03-01T01:32:02.521Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-03-01T01:32:03.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.112s coverage: 86.1% of statements [2022-03-01T01:32:03.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-03-01T01:32:03.971Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-03-01T01:32:03.971Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.141s coverage: 57.4% of statements [2022-03-01T01:32:04.567Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.203s coverage: 89.2% of statements [2022-03-01T01:32:04.567Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-03-01T01:32:05.546Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.8% of statements [2022-03-01T01:32:05.546Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-03-01T01:32:05.546Z] FAIL [2022-03-01T01:32:05.819Z] make: *** [Makefile:36: unittest] Error 1 [Pipeline] } [2022-03-01T01:32:05.846Z] $ docker stop --time=1 77010b245021b81b7aae3db32ec7922fb43faa4e7dcf13316c41b7c66de5d7d8 [2022-03-01T01:32:07.694Z] $ docker rm -f 77010b245021b81b7aae3db32ec7922fb43faa4e7dcf13316c41b7c66de5d7d8 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:32:08.619Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-01T01:32:08.619Z] [2022-03-01T01:32:08.619Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:32:08.970Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-01T01:32:09.244Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-01T01:32:09.244Z] 8998bd30e6a1: Pulling fs layer [2022-03-01T01:32:09.244Z] 04944245beec: Pulling fs layer [2022-03-01T01:32:09.244Z] 699f458cf7ca: Pulling fs layer [2022-03-01T01:32:09.244Z] 765212b225bb: Pulling fs layer [2022-03-01T01:32:09.244Z] f23df028b6ca: Pulling fs layer [2022-03-01T01:32:09.244Z] d65c8cfc05b1: Pulling fs layer [2022-03-01T01:32:09.244Z] 2437ff75d9bd: Pulling fs layer [2022-03-01T01:32:09.244Z] f23df028b6ca: Waiting [2022-03-01T01:32:09.244Z] d65c8cfc05b1: Waiting [2022-03-01T01:32:09.244Z] 2437ff75d9bd: Waiting [2022-03-01T01:32:09.244Z] 765212b225bb: Waiting [2022-03-01T01:32:09.244Z] 04944245beec: Verifying Checksum [2022-03-01T01:32:09.244Z] 04944245beec: Download complete [2022-03-01T01:32:09.244Z] 765212b225bb: Verifying Checksum [2022-03-01T01:32:09.244Z] 765212b225bb: Download complete [2022-03-01T01:32:09.244Z] f23df028b6ca: Download complete [2022-03-01T01:32:09.244Z] d65c8cfc05b1: Verifying Checksum [2022-03-01T01:32:09.244Z] d65c8cfc05b1: Download complete [2022-03-01T01:32:09.518Z] 699f458cf7ca: Verifying Checksum [2022-03-01T01:32:09.518Z] 699f458cf7ca: Download complete [2022-03-01T01:32:09.793Z] 8998bd30e6a1: Download complete [2022-03-01T01:32:12.412Z] 2437ff75d9bd: Verifying Checksum [2022-03-01T01:32:12.412Z] 2437ff75d9bd: Download complete [2022-03-01T01:32:13.845Z] 8998bd30e6a1: Pull complete [2022-03-01T01:32:14.441Z] 04944245beec: Pull complete [2022-03-01T01:32:15.875Z] 699f458cf7ca: Pull complete [2022-03-01T01:32:16.149Z] 765212b225bb: Pull complete [2022-03-01T01:32:17.133Z] f23df028b6ca: Pull complete [2022-03-01T01:32:17.406Z] d65c8cfc05b1: Pull complete [2022-03-01T01:32:32.492Z] 2437ff75d9bd: Pull complete [2022-03-01T01:32:32.492Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-01T01:32:32.492Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-01T01:32:32.492Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-01T01:32:32.726Z] prd-ubuntu18.04-docker-arm64-4c-16g-6153 does not seem to be running inside a container [2022-03-01T01:32:32.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-01T01:32:35.656Z] $ docker top a7bbd11d74df0d2afdcbda72a1424b58e3b243ce1c82e248a0b83dd933b8be8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:36.600Z] ---> job-cost.sh [2022-03-01T01:32:36.601Z] lf-activate-venv: SKIPPING [2022-03-01T01:32:36.601Z] INFO: No Stack... [2022-03-01T01:32:37.196Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-01T01:32:38.169Z] INFO: Archiving Costs [Pipeline] sh [2022-03-01T01:32:38.831Z] + cut -d, -f6 [2022-03-01T01:32:38.831Z] + cat /w/workspace/device-sdk-go/9/archives/cost.csv [Pipeline] lock [2022-03-01T01:32:38.898Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [2022-03-01T01:32:38.907Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] did not exist. Created. [2022-03-01T01:32:38.907Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-01T01:32:39.584Z] /w/workspace/device-sdk-go/9@tmp/durable-3a008271/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-01T01:32:40.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-01T01:32:40.276Z] Warning: overwriting stash ‘stack-cost’ [2022-03-01T01:32:40.748Z] Stashed 1 file(s) [Pipeline] } [2022-03-01T01:32:40.755Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-9-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-01T01:32:40.780Z] $ docker stop --time=1 a7bbd11d74df0d2afdcbda72a1424b58e3b243ce1c82e248a0b83dd933b8be8a [2022-03-01T01:32:42.293Z] $ docker rm -f a7bbd11d74df0d2afdcbda72a1424b58e3b243ce1c82e248a0b83dd933b8be8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-01T01:32:42.649Z] 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] { (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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-01T01:32:43.379Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives ']' [2022-03-01T01:32:43.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-01T01:32:43.379Z] total 8 [2022-03-01T01:32:43.379Z] drwxr-xr-x. 3 root root 34 Mar 1 01:26 . [2022-03-01T01:32:43.379Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 1 01:26 .. [2022-03-01T01:32:43.379Z] drwxr-xr-x. 2 root root 6 Mar 1 01:26 cost [2022-03-01T01:32:43.379Z] -rw-r--r--. 1 root root 85 Mar 1 01:26 cost.csv [2022-03-01T01:32:43.379Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-01T01:32:43.379Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-03-01T01:32:43.379Z] total 8 [2022-03-01T01:32:43.379Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 1 01:26 . [2022-03-01T01:32:43.379Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 1 01:26 .. [2022-03-01T01:32:43.379Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 1 01:26 cost [2022-03-01T01:32:43.379Z] -rw-r--r--. 1 jenkins jenkins 85 Mar 1 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:43.687Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:44.251Z] ---> package-listing.sh [2022-03-01T01:32:44.251Z] ++ facter osfamily [2022-03-01T01:32:44.251Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-01T01:32:44.514Z] + OS_FAMILY=redhat [2022-03-01T01:32:44.514Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-03-01T01:32:44.514Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-01T01:32:44.514Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-01T01:32:44.514Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-01T01:32:44.514Z] + PACKAGES=/tmp/packages_start.txt [2022-03-01T01:32:44.514Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-03-01T01:32:44.514Z] + PACKAGES=/tmp/packages_end.txt [2022-03-01T01:32:44.514Z] + case "${OS_FAMILY}" in [2022-03-01T01:32:44.514Z] + sort [2022-03-01T01:32:44.514Z] + rpm -qa [2022-03-01T01:32:45.099Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-01T01:32:45.099Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-01T01:32:45.099Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-01T01:32:45.099Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-03-01T01:32:45.099Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [2022-03-01T01:32:45.099Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [Pipeline] echo [2022-03-01T01:32:45.110Z] 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/gexfoundry_device-sdk-go_PR-1097/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-01T01:32:45.410Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-01T01:32:45.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-01T01:32:45.967Z] . [Pipeline] withDockerContainer [2022-03-01T01:32:46.026Z] prd-centos7-docker-4c-2g-6152 does not seem to be running inside a container [2022-03-01T01:32:46.055Z] $ 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/gexfoundry_device-sdk-go_PR-1097/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-01T01:32:46.265Z] $ docker top 927e35f8683cc69cf4a47c66aba5e4cdc3744934e70665a7fa40b75844f557cf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-01T01:32:46.640Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-01T01:32:47.128Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-01T01:32:47.530Z] + ls /var/log/sa-host [2022-03-01T01:32:47.530Z] + sadf -c /var/log/sa-host/sa01 [2022-03-01T01:32:47.530Z] file_magic: OK [2022-03-01T01:32:47.530Z] HZ: Using current value: 100 [2022-03-01T01:32:47.530Z] file_header: OK [2022-03-01T01:32:47.530Z] 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 [2022-03-01T01:32:47.530Z] Statistics: [2022-03-01T01:32:47.530Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-01T01:32:47.530Z] File successfully converted to sysstat format version 12.5.2 [2022-03-01T01:32:47.530Z] + sadf -c /var/log/sa-host/sa17 [2022-03-01T01:32:47.530Z] file_magic: OK [2022-03-01T01:32:47.530Z] HZ: Using current value: 100 [2022-03-01T01:32:47.530Z] file_header: OK [2022-03-01T01:32:47.530Z] 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 [2022-03-01T01:32:47.530Z] Statistics: [2022-03-01T01:32:47.530Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-01T01:32:47.530Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-01T01:32:47.754Z] provisioning config files... [2022-03-01T01:32:47.763Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config8546699478603345909tmp [Pipeline] { [Pipeline] echo [2022-03-01T01:32:47.777Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:48.072Z] ---> create-netrc.sh [Pipeline] } [2022-03-01T01:32:48.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:48.421Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-01T01:32:48.430Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:48.715Z] ---> sudo-logs.sh [2022-03-01T01:32:48.715Z] Archiving 'sudo' log.. [2022-03-01T01:32:48.715Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6152.novalocal: Name or service not known [2022-03-01T01:32:48.715Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6152.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-01T01:32:48.750Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:49.039Z] ---> job-cost.sh [2022-03-01T01:32:49.039Z] lf-activate-venv: SKIPPING [2022-03-01T01:32:49.039Z] DEBUG: total: 0.05999999865889549 [2022-03-01T01:32:49.039Z] INFO: Retrieving Stack Cost... [2022-03-01T01:32:49.299Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-01T01:32:49.873Z] INFO: Archiving Costs [Pipeline] echo [2022-03-01T01:32:49.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-01T01:32:50.179Z] ---> logs-deploy.sh [2022-03-01T01:32:50.179Z] lf-activate-venv: SKIPPING [2022-03-01T01:32:50.179Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1097/9 [2022-03-01T01:32:50.179Z] INFO: archiving workspace using pattern(s): [2022-03-01T01:32:51.124Z] Archives upload complete. [2022-03-01T01:32:51.124Z] INFO: archiving logs to Nexus